@trycourier/courier 6.1.3 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +22 -17
- package/api/resources/audiences/client/Client.js +5 -5
- package/api/resources/auditEvents/client/Client.js +2 -2
- package/api/resources/authTokens/client/Client.js +1 -1
- package/api/resources/automations/client/Client.js +2 -2
- package/api/resources/brands/client/Client.js +5 -5
- package/api/resources/bulk/client/Client.js +5 -5
- package/api/resources/inbound/client/Client.d.ts +43 -0
- package/api/resources/inbound/client/Client.js +134 -0
- package/api/resources/inbound/client/index.d.ts +1 -0
- package/api/resources/inbound/client/index.js +2 -0
- package/api/resources/inbound/index.d.ts +2 -0
- package/api/resources/inbound/index.js +18 -0
- package/api/resources/inbound/types/InboundTrackEvent.d.ts +13 -0
- package/api/resources/inbound/types/TrackAcceptedResponse.d.ts +7 -0
- package/api/resources/inbound/types/index.d.ts +2 -0
- package/api/resources/inbound/types/index.js +18 -0
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/lists/client/Client.js +10 -10
- package/api/resources/messages/client/Client.js +6 -6
- package/api/resources/notifications/client/Client.d.ts +0 -60
- package/api/resources/notifications/client/Client.js +6 -150
- package/api/resources/notifications/client/requests/index.d.ts +0 -2
- package/api/resources/profiles/client/Client.js +7 -7
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/tenants/client/Client.js +7 -7
- package/api/resources/translations/client/Client.js +2 -2
- package/api/resources/users/resources/preferences/client/Client.js +3 -3
- package/api/resources/users/resources/preferences/types/UserPreferencesListResponse.d.ts +1 -0
- package/api/resources/users/resources/tenants/client/Client.js +5 -5
- package/api/resources/users/resources/tokens/client/Client.js +6 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +22 -17
- package/dist/api/resources/audiences/client/Client.js +5 -5
- package/dist/api/resources/auditEvents/client/Client.js +2 -2
- package/dist/api/resources/authTokens/client/Client.js +1 -1
- package/dist/api/resources/automations/client/Client.js +2 -2
- package/dist/api/resources/brands/client/Client.js +5 -5
- package/dist/api/resources/bulk/client/Client.js +5 -5
- package/dist/api/resources/inbound/client/Client.d.ts +43 -0
- package/dist/api/resources/inbound/client/Client.js +134 -0
- package/dist/api/resources/inbound/client/index.d.ts +1 -0
- package/dist/api/resources/inbound/client/index.js +2 -0
- package/dist/api/resources/inbound/index.d.ts +2 -0
- package/dist/api/resources/inbound/index.js +18 -0
- package/dist/api/resources/inbound/types/InboundTrackEvent.d.ts +13 -0
- package/dist/api/resources/inbound/types/TrackAcceptedResponse.d.ts +7 -0
- package/dist/api/resources/inbound/types/index.d.ts +2 -0
- package/dist/api/resources/inbound/types/index.js +18 -0
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/lists/client/Client.js +10 -10
- package/dist/api/resources/messages/client/Client.js +6 -6
- package/dist/api/resources/notifications/client/Client.d.ts +0 -60
- package/dist/api/resources/notifications/client/Client.js +6 -150
- package/dist/api/resources/notifications/client/requests/index.d.ts +0 -2
- package/dist/api/resources/profiles/client/Client.js +7 -7
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/tenants/client/Client.js +7 -7
- package/dist/api/resources/translations/client/Client.js +2 -2
- package/dist/api/resources/users/resources/preferences/client/Client.js +3 -3
- package/dist/api/resources/users/resources/preferences/types/UserPreferencesListResponse.d.ts +1 -0
- package/dist/api/resources/users/resources/tenants/client/Client.js +5 -5
- package/dist/api/resources/users/resources/tokens/client/Client.js +6 -6
- package/package.json +1 -1
- package/api/resources/notifications/client/requests/NotificationDraftUpdateVariationsParams.d.ts +0 -33
- package/api/resources/notifications/client/requests/NotificationUpdateVariationsParams.d.ts +0 -33
- package/dist/api/resources/notifications/client/requests/NotificationDraftUpdateVariationsParams.d.ts +0 -33
- package/dist/api/resources/notifications/client/requests/NotificationUpdateVariationsParams.d.ts +0 -33
- /package/api/resources/{notifications/client/requests/NotificationDraftUpdateVariationsParams.js → inbound/types/InboundTrackEvent.js} +0 -0
- /package/api/resources/{notifications/client/requests/NotificationUpdateVariationsParams.js → inbound/types/TrackAcceptedResponse.js} +0 -0
- /package/dist/api/resources/{notifications/client/requests/NotificationDraftUpdateVariationsParams.js → inbound/types/InboundTrackEvent.js} +0 -0
- /package/dist/api/resources/{notifications/client/requests/NotificationUpdateVariationsParams.js → inbound/types/TrackAcceptedResponse.js} +0 -0
|
@@ -69,7 +69,7 @@ class Tokens {
|
|
|
69
69
|
Authorization: yield this._getAuthorizationHeader(),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
72
|
-
"X-Fern-SDK-Version": "v6.1
|
|
72
|
+
"X-Fern-SDK-Version": "v6.2.1",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -150,7 +150,7 @@ class Tokens {
|
|
|
150
150
|
Authorization: yield this._getAuthorizationHeader(),
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
153
|
-
"X-Fern-SDK-Version": "v6.1
|
|
153
|
+
"X-Fern-SDK-Version": "v6.2.1",
|
|
154
154
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
155
155
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
156
156
|
},
|
|
@@ -213,7 +213,7 @@ class Tokens {
|
|
|
213
213
|
Authorization: yield this._getAuthorizationHeader(),
|
|
214
214
|
"X-Fern-Language": "JavaScript",
|
|
215
215
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
216
|
-
"X-Fern-SDK-Version": "v6.1
|
|
216
|
+
"X-Fern-SDK-Version": "v6.2.1",
|
|
217
217
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
218
218
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
219
219
|
},
|
|
@@ -273,7 +273,7 @@ class Tokens {
|
|
|
273
273
|
Authorization: yield this._getAuthorizationHeader(),
|
|
274
274
|
"X-Fern-Language": "JavaScript",
|
|
275
275
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
276
|
-
"X-Fern-SDK-Version": "v6.1
|
|
276
|
+
"X-Fern-SDK-Version": "v6.2.1",
|
|
277
277
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
278
278
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
279
279
|
},
|
|
@@ -331,7 +331,7 @@ class Tokens {
|
|
|
331
331
|
Authorization: yield this._getAuthorizationHeader(),
|
|
332
332
|
"X-Fern-Language": "JavaScript",
|
|
333
333
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
334
|
-
"X-Fern-SDK-Version": "v6.1
|
|
334
|
+
"X-Fern-SDK-Version": "v6.2.1",
|
|
335
335
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
336
336
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
337
337
|
},
|
|
@@ -386,7 +386,7 @@ class Tokens {
|
|
|
386
386
|
Authorization: yield this._getAuthorizationHeader(),
|
|
387
387
|
"X-Fern-Language": "JavaScript",
|
|
388
388
|
"X-Fern-SDK-Name": "@trycourier/courier",
|
|
389
|
-
"X-Fern-SDK-Version": "v6.1
|
|
389
|
+
"X-Fern-SDK-Version": "v6.2.1",
|
|
390
390
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
391
391
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
392
392
|
},
|
package/package.json
CHANGED
package/api/resources/notifications/client/requests/NotificationDraftUpdateVariationsParams.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Courier from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* blocks: [{
|
|
9
|
-
* alias: "string",
|
|
10
|
-
* context: "string",
|
|
11
|
-
* id: "string",
|
|
12
|
-
* type: Courier.BlockType.Action,
|
|
13
|
-
* content: "string",
|
|
14
|
-
* locales: {
|
|
15
|
-
* "string": "string"
|
|
16
|
-
* },
|
|
17
|
-
* checksum: "string"
|
|
18
|
-
* }],
|
|
19
|
-
* channels: [{
|
|
20
|
-
* id: "string",
|
|
21
|
-
* type: "string",
|
|
22
|
-
* content: {},
|
|
23
|
-
* locales: {
|
|
24
|
-
* "string": {}
|
|
25
|
-
* },
|
|
26
|
-
* checksum: "string"
|
|
27
|
-
* }]
|
|
28
|
-
* }
|
|
29
|
-
*/
|
|
30
|
-
export interface NotificationDraftUpdateVariationsParams {
|
|
31
|
-
blocks?: Courier.NotificationBlock[];
|
|
32
|
-
channels?: Courier.NotificationChannel[];
|
|
33
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Courier from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* blocks: [{
|
|
9
|
-
* alias: "string",
|
|
10
|
-
* context: "string",
|
|
11
|
-
* id: "string",
|
|
12
|
-
* type: Courier.BlockType.Action,
|
|
13
|
-
* content: "string",
|
|
14
|
-
* locales: {
|
|
15
|
-
* "string": "string"
|
|
16
|
-
* },
|
|
17
|
-
* checksum: "string"
|
|
18
|
-
* }],
|
|
19
|
-
* channels: [{
|
|
20
|
-
* id: "string",
|
|
21
|
-
* type: "string",
|
|
22
|
-
* content: {},
|
|
23
|
-
* locales: {
|
|
24
|
-
* "string": {}
|
|
25
|
-
* },
|
|
26
|
-
* checksum: "string"
|
|
27
|
-
* }]
|
|
28
|
-
* }
|
|
29
|
-
*/
|
|
30
|
-
export interface NotificationUpdateVariationsParams {
|
|
31
|
-
blocks?: Courier.NotificationBlock[];
|
|
32
|
-
channels?: Courier.NotificationChannel[];
|
|
33
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Courier from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* blocks: [{
|
|
9
|
-
* alias: "string",
|
|
10
|
-
* context: "string",
|
|
11
|
-
* id: "string",
|
|
12
|
-
* type: Courier.BlockType.Action,
|
|
13
|
-
* content: "string",
|
|
14
|
-
* locales: {
|
|
15
|
-
* "string": "string"
|
|
16
|
-
* },
|
|
17
|
-
* checksum: "string"
|
|
18
|
-
* }],
|
|
19
|
-
* channels: [{
|
|
20
|
-
* id: "string",
|
|
21
|
-
* type: "string",
|
|
22
|
-
* content: {},
|
|
23
|
-
* locales: {
|
|
24
|
-
* "string": {}
|
|
25
|
-
* },
|
|
26
|
-
* checksum: "string"
|
|
27
|
-
* }]
|
|
28
|
-
* }
|
|
29
|
-
*/
|
|
30
|
-
export interface NotificationDraftUpdateVariationsParams {
|
|
31
|
-
blocks?: Courier.NotificationBlock[];
|
|
32
|
-
channels?: Courier.NotificationChannel[];
|
|
33
|
-
}
|
package/dist/api/resources/notifications/client/requests/NotificationUpdateVariationsParams.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Courier from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* blocks: [{
|
|
9
|
-
* alias: "string",
|
|
10
|
-
* context: "string",
|
|
11
|
-
* id: "string",
|
|
12
|
-
* type: Courier.BlockType.Action,
|
|
13
|
-
* content: "string",
|
|
14
|
-
* locales: {
|
|
15
|
-
* "string": "string"
|
|
16
|
-
* },
|
|
17
|
-
* checksum: "string"
|
|
18
|
-
* }],
|
|
19
|
-
* channels: [{
|
|
20
|
-
* id: "string",
|
|
21
|
-
* type: "string",
|
|
22
|
-
* content: {},
|
|
23
|
-
* locales: {
|
|
24
|
-
* "string": {}
|
|
25
|
-
* },
|
|
26
|
-
* checksum: "string"
|
|
27
|
-
* }]
|
|
28
|
-
* }
|
|
29
|
-
*/
|
|
30
|
-
export interface NotificationUpdateVariationsParams {
|
|
31
|
-
blocks?: Courier.NotificationBlock[];
|
|
32
|
-
channels?: Courier.NotificationChannel[];
|
|
33
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|