Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c31416f

Browse filesBrowse files
author
Duc Nguyen
committed
Use customgrouping3, removed possibility to use query string
1 parent f39cf14 commit c31416f
Copy full SHA for c31416f

File tree

3 files changed

+8
-9
lines changed
Filter options

3 files changed

+8
-9
lines changed

‎CHANGELOG.md

Copy file name to clipboardExpand all lines: CHANGELOG.md
+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
## [2.0.0] - 2023-10-18
22
### Changed
33
- Removed dependencies on `http`, `bluebird`, `request`
4+
- Use customgrouping3 instead of customgrouping for categorization
5+
6+
## Removed
7+
- Possibility to use a query string
48

59
## [1.4.1] - 2022-12-12
610
### Changed

‎lib/MessageApiClient.ts

Copy file name to clipboardExpand all lines: lib/MessageApiClient.ts
+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class Message extends CMTypes.MessageEnvelope {
9090
*/
9191
public setMessage(to: string[], from: string, message: string, reference: string = undefined): Message {
9292
const msg = new CMTypes.Message();
93-
msg.customGrouping = "text-sdk-javascript";
93+
msg.customGrouping3 = "text-sdk-javascript";
9494
msg.from = from;
9595
msg.body = new CMTypes.MessageBody();
9696
msg.body.type = "AUTO";

‎typescript-node-client/api.ts

Copy file name to clipboardExpand all lines: typescript-node-client/api.ts
+3-8
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,7 @@ export class Message {
19201920
/**
19211921
* The custom grouping field is an optional field that can be used to tag messages. These tags will be used by other CM products, like the Transactions API. Despite not being immediately visible to you yet, custom groupings can already be assigned. Applying custom grouping names to messages helps filter your messages.With up to three levels of custom grouping fields that can be set, subsets of messages can be further broken down. The custom grouping name can be up to 100 characters of your choosing. It’s recommended to limit the number of unique custom groupings to 1000. Please contact support in case you would like to exceed this number.
19221922
*/
1923-
'customGrouping'?: string;
1923+
'customGrouping3'?: string;
19241924
/**
19251925
* The allowed channels field forces a message to only use certain routes. In this field you can define a list of which channels you want your message to use. Not defining any channels will be interpreted as allowing all channels.
19261926
*/
@@ -1964,8 +1964,8 @@ export class Message {
19641964
"type": "Array<Recipient>"
19651965
},
19661966
{
1967-
"name": "customGrouping",
1968-
"baseName": "customGrouping",
1967+
"name": "customGrouping3",
1968+
"baseName": "customGrouping3",
19691969
"type": "string"
19701970
},
19711971
{
@@ -2310,7 +2310,6 @@ export enum MessagesApiApiKeys {
23102310
export class MessagesApi {
23112311
protected _basePath = defaultBasePath;
23122312
protected defaultHeaders : any = {};
2313-
protected _useQuerystring : boolean = false;
23142313

23152314
protected authentications = {
23162315
'default': <Authentication>new VoidAuth(),
@@ -2329,10 +2328,6 @@ export class MessagesApi {
23292328
}
23302329
}
23312330

2332-
set useQuerystring(value: boolean) {
2333-
this._useQuerystring = value;
2334-
}
2335-
23362331
set basePath(basePath: string) {
23372332
this._basePath = basePath;
23382333
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.