@trycourier/courier 6.6.1-alpha0 → 6.7.0-alpha2
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/CHANGELOG.md +50 -0
- package/README.md +11 -11
- package/client.d.mts +23 -14
- package/client.d.mts.map +1 -1
- package/client.d.ts +23 -14
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +2 -2
- package/client.mjs.map +1 -1
- package/internal/to-file.d.mts +1 -1
- package/internal/to-file.d.ts +1 -1
- package/internal/to-file.js +1 -1
- package/internal/to-file.mjs +1 -1
- package/internal/tslib.js +6 -6
- package/package.json +1 -1
- package/resources/audiences.d.mts +27 -46
- package/resources/audiences.d.mts.map +1 -1
- package/resources/audiences.d.ts +27 -46
- package/resources/audiences.d.ts.map +1 -1
- package/resources/audit-events.d.mts +3 -7
- package/resources/audit-events.d.mts.map +1 -1
- package/resources/audit-events.d.ts +3 -7
- package/resources/audit-events.d.ts.map +1 -1
- package/resources/auth.d.mts +2 -2
- package/resources/auth.d.mts.map +1 -1
- package/resources/auth.d.ts +2 -2
- package/resources/auth.d.ts.map +1 -1
- package/resources/automations/automations.d.mts +2 -253
- package/resources/automations/automations.d.mts.map +1 -1
- package/resources/automations/automations.d.ts +2 -253
- package/resources/automations/automations.d.ts.map +1 -1
- package/resources/automations/automations.js +0 -42
- package/resources/automations/automations.js.map +1 -1
- package/resources/automations/automations.mjs +0 -42
- package/resources/automations/automations.mjs.map +1 -1
- package/resources/automations/index.d.mts +2 -2
- package/resources/automations/index.d.mts.map +1 -1
- package/resources/automations/index.d.ts +2 -2
- package/resources/automations/index.d.ts.map +1 -1
- package/resources/automations/index.js.map +1 -1
- package/resources/automations/index.mjs +1 -1
- package/resources/automations/index.mjs.map +1 -1
- package/resources/automations/invoke.d.mts +124 -9
- package/resources/automations/invoke.d.mts.map +1 -1
- package/resources/automations/invoke.d.ts +124 -9
- package/resources/automations/invoke.d.ts.map +1 -1
- package/resources/automations/invoke.js +45 -0
- package/resources/automations/invoke.js.map +1 -1
- package/resources/automations/invoke.mjs +45 -0
- package/resources/automations/invoke.mjs.map +1 -1
- package/resources/brands.d.mts +74 -50
- package/resources/brands.d.mts.map +1 -1
- package/resources/brands.d.ts +74 -50
- package/resources/brands.d.ts.map +1 -1
- package/resources/brands.js.map +1 -1
- package/resources/brands.mjs.map +1 -1
- package/resources/bulk.d.mts +38 -89
- package/resources/bulk.d.mts.map +1 -1
- package/resources/bulk.d.ts +38 -89
- package/resources/bulk.d.ts.map +1 -1
- package/resources/inbound.d.mts +1 -1
- package/resources/inbound.d.ts +1 -1
- package/resources/index.d.mts +8 -7
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -7
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +2 -0
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/lists/index.d.mts +2 -2
- package/resources/lists/index.d.mts.map +1 -1
- package/resources/lists/index.d.ts +2 -2
- package/resources/lists/index.d.ts.map +1 -1
- package/resources/lists/index.js.map +1 -1
- package/resources/lists/index.mjs +1 -1
- package/resources/lists/index.mjs.map +1 -1
- package/resources/lists/lists.d.mts +9 -7
- package/resources/lists/lists.d.mts.map +1 -1
- package/resources/lists/lists.d.ts +9 -7
- package/resources/lists/lists.d.ts.map +1 -1
- package/resources/lists/lists.js +7 -2
- package/resources/lists/lists.js.map +1 -1
- package/resources/lists/lists.mjs +7 -2
- package/resources/lists/lists.mjs.map +1 -1
- package/resources/lists/subscriptions.d.mts +9 -34
- package/resources/lists/subscriptions.d.mts.map +1 -1
- package/resources/lists/subscriptions.d.ts +9 -34
- package/resources/lists/subscriptions.d.ts.map +1 -1
- package/resources/messages.d.mts +6 -6
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +6 -6
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +1 -1
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +1 -1
- package/resources/messages.mjs.map +1 -1
- package/resources/notifications/index.d.mts +1 -1
- package/resources/notifications/index.d.mts.map +1 -1
- package/resources/notifications/index.d.ts +1 -1
- package/resources/notifications/index.d.ts.map +1 -1
- package/resources/notifications/index.js.map +1 -1
- package/resources/notifications/index.mjs.map +1 -1
- package/resources/notifications/notifications.d.mts +3 -8
- package/resources/notifications/notifications.d.mts.map +1 -1
- package/resources/notifications/notifications.d.ts +3 -8
- package/resources/notifications/notifications.d.ts.map +1 -1
- package/resources/notifications/notifications.js.map +1 -1
- package/resources/notifications/notifications.mjs.map +1 -1
- package/resources/send.d.mts +245 -701
- package/resources/send.d.mts.map +1 -1
- package/resources/send.d.ts +245 -701
- package/resources/send.d.ts.map +1 -1
- package/resources/send.js +12 -1
- package/resources/send.js.map +1 -1
- package/resources/send.mjs +12 -1
- package/resources/send.mjs.map +1 -1
- package/resources/shared.d.mts +42 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +42 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/tenants/index.d.mts +1 -0
- package/resources/tenants/index.d.mts.map +1 -1
- package/resources/tenants/index.d.ts +1 -0
- package/resources/tenants/index.d.ts.map +1 -1
- package/resources/tenants/index.js +3 -1
- package/resources/tenants/index.js.map +1 -1
- package/resources/tenants/index.mjs +1 -0
- package/resources/tenants/index.mjs.map +1 -1
- package/resources/tenants/templates.d.mts +122 -0
- package/resources/tenants/templates.d.mts.map +1 -0
- package/resources/tenants/templates.d.ts +122 -0
- package/resources/tenants/templates.d.ts.map +1 -0
- package/resources/tenants/templates.js +38 -0
- package/resources/tenants/templates.js.map +1 -0
- package/resources/tenants/templates.mjs +34 -0
- package/resources/tenants/templates.mjs.map +1 -0
- package/resources/tenants/tenants.d.mts +4 -0
- package/resources/tenants/tenants.d.mts.map +1 -1
- package/resources/tenants/tenants.d.ts +4 -0
- package/resources/tenants/tenants.d.ts.map +1 -1
- package/resources/tenants/tenants.js +4 -0
- package/resources/tenants/tenants.js.map +1 -1
- package/resources/tenants/tenants.mjs +4 -0
- package/resources/tenants/tenants.mjs.map +1 -1
- package/resources/users/index.d.mts +1 -1
- package/resources/users/index.d.mts.map +1 -1
- package/resources/users/index.d.ts +1 -1
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/tokens.d.mts +22 -23
- package/resources/users/tokens.d.mts.map +1 -1
- package/resources/users/tokens.d.ts +22 -23
- package/resources/users/tokens.d.ts.map +1 -1
- package/resources/users/tokens.js +14 -15
- package/resources/users/tokens.js.map +1 -1
- package/resources/users/tokens.mjs +14 -15
- package/resources/users/tokens.mjs.map +1 -1
- package/resources/users/users.d.mts +2 -2
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +2 -2
- package/resources/users/users.d.ts.map +1 -1
- package/src/client.ts +48 -38
- package/src/internal/to-file.ts +1 -1
- package/src/resources/audiences.ts +43 -82
- package/src/resources/audit-events.ts +5 -11
- package/src/resources/auth.ts +2 -16
- package/src/resources/automations/automations.ts +4 -340
- package/src/resources/automations/index.ts +3 -8
- package/src/resources/automations/invoke.ts +163 -13
- package/src/resources/brands.ts +117 -51
- package/src/resources/bulk.ts +31 -104
- package/src/resources/inbound.ts +1 -1
- package/src/resources/index.ts +17 -19
- package/src/resources/lists/index.ts +9 -1
- package/src/resources/lists/lists.ts +15 -5
- package/src/resources/lists/subscriptions.ts +12 -45
- package/src/resources/messages.ts +8 -5
- package/src/resources/notifications/index.ts +0 -2
- package/src/resources/notifications/notifications.ts +2 -12
- package/src/resources/send.ts +249 -853
- package/src/resources/shared.ts +61 -0
- package/src/resources/tenants/index.ts +8 -0
- package/src/resources/tenants/templates.ts +165 -0
- package/src/resources/tenants/tenants.ts +21 -0
- package/src/resources/users/index.ts +2 -2
- package/src/resources/users/tokens.ts +33 -34
- package/src/resources/users/users.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/internal/to-file.js
CHANGED
|
@@ -27,7 +27,7 @@ const isResponseLike = (value) => value != null &&
|
|
|
27
27
|
typeof value.blob === 'function';
|
|
28
28
|
/**
|
|
29
29
|
* Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats
|
|
30
|
-
* @param value the raw content of the file.
|
|
30
|
+
* @param value the raw content of the file. Can be an {@link Uploadable}, BlobLikePart, or AsyncIterable of BlobLikeParts
|
|
31
31
|
* @param {string=} name the name of the file. If omitted, toFile will try to determine a file name from bits if possible
|
|
32
32
|
* @param {Object=} options additional properties
|
|
33
33
|
* @param {string=} options.type the MIME type of the content
|
package/internal/to-file.mjs
CHANGED
|
@@ -24,7 +24,7 @@ const isResponseLike = (value) => value != null &&
|
|
|
24
24
|
typeof value.blob === 'function';
|
|
25
25
|
/**
|
|
26
26
|
* Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats
|
|
27
|
-
* @param value the raw content of the file.
|
|
27
|
+
* @param value the raw content of the file. Can be an {@link Uploadable}, BlobLikePart, or AsyncIterable of BlobLikeParts
|
|
28
28
|
* @param {string=} name the name of the file. If omitted, toFile will try to determine a file name from bits if possible
|
|
29
29
|
* @param {Object=} options additional properties
|
|
30
30
|
* @param {string=} options.type the MIME type of the content
|
package/internal/tslib.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.__setModuleDefault = exports.__createBinding = void 0;
|
|
4
4
|
exports.__importStar = __importStar;
|
|
5
|
+
exports.__exportStar = __exportStar;
|
|
5
6
|
exports.__classPrivateFieldSet = __classPrivateFieldSet;
|
|
6
7
|
exports.__classPrivateFieldGet = __classPrivateFieldGet;
|
|
7
|
-
exports.__exportStar = __exportStar;
|
|
8
8
|
var __createBinding = Object.create
|
|
9
9
|
? function (o, m, k, k2) {
|
|
10
10
|
if (k2 === void 0)
|
|
@@ -58,6 +58,11 @@ function __importStar(mod) {
|
|
|
58
58
|
__setModuleDefault(result, mod);
|
|
59
59
|
return result;
|
|
60
60
|
}
|
|
61
|
+
function __exportStar(m, o) {
|
|
62
|
+
for (var p in m)
|
|
63
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
64
|
+
__createBinding(o, m, p);
|
|
65
|
+
}
|
|
61
66
|
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
62
67
|
if (kind === "m")
|
|
63
68
|
throw new TypeError("Private method is not writable");
|
|
@@ -74,8 +79,3 @@ function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
|
74
79
|
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
75
80
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
76
81
|
}
|
|
77
|
-
function __exportStar(m, o) {
|
|
78
|
-
for (var p in m)
|
|
79
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
80
|
-
__createBinding(o, m, p);
|
|
81
|
-
}
|
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ export interface Audience {
|
|
|
34
34
|
*/
|
|
35
35
|
description: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* A single filter to use for filtering
|
|
38
38
|
*/
|
|
39
39
|
filter: Filter;
|
|
40
40
|
/**
|
|
@@ -43,54 +43,35 @@ export interface Audience {
|
|
|
43
43
|
name: string;
|
|
44
44
|
updated_at: string;
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
path: string;
|
|
61
|
-
/**
|
|
62
|
-
* The value to use for filtering
|
|
63
|
-
*/
|
|
64
|
-
value: string;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* The operator to use for filtering
|
|
69
|
-
*/
|
|
70
|
-
export type FilterConfig = FilterConfig.UnionMember0 | NestedFilterConfig;
|
|
71
|
-
export declare namespace FilterConfig {
|
|
72
|
-
interface UnionMember0 {
|
|
73
|
-
/**
|
|
74
|
-
* The operator to use for filtering
|
|
75
|
-
*/
|
|
76
|
-
operator: 'ENDS_WITH' | 'EQ' | 'EXISTS' | 'GT' | 'GTE' | 'INCLUDES' | 'IS_AFTER' | 'IS_BEFORE' | 'LT' | 'LTE' | 'NEQ' | 'OMIT' | 'STARTS_WITH' | 'AND' | 'OR';
|
|
77
|
-
/**
|
|
78
|
-
* The attribe name from profile whose value will be operated against the filter
|
|
79
|
-
* value
|
|
80
|
-
*/
|
|
81
|
-
path: string;
|
|
82
|
-
/**
|
|
83
|
-
* The value to use for filtering
|
|
84
|
-
*/
|
|
85
|
-
value: string;
|
|
86
|
-
}
|
|
46
|
+
export interface Filter {
|
|
47
|
+
/**
|
|
48
|
+
* The operator to use for filtering
|
|
49
|
+
*/
|
|
50
|
+
operator: 'ENDS_WITH' | 'EQ' | 'EXISTS' | 'GT' | 'GTE' | 'INCLUDES' | 'IS_AFTER' | 'IS_BEFORE' | 'LT' | 'LTE' | 'NEQ' | 'OMIT' | 'STARTS_WITH' | 'AND' | 'OR';
|
|
51
|
+
/**
|
|
52
|
+
* The attribe name from profile whose value will be operated against the filter
|
|
53
|
+
* value
|
|
54
|
+
*/
|
|
55
|
+
path: string;
|
|
56
|
+
/**
|
|
57
|
+
* The value to use for filtering
|
|
58
|
+
*/
|
|
59
|
+
value: string;
|
|
87
60
|
}
|
|
88
|
-
export interface
|
|
61
|
+
export interface FilterConfig {
|
|
89
62
|
/**
|
|
90
63
|
* The operator to use for filtering
|
|
91
64
|
*/
|
|
92
65
|
operator: 'ENDS_WITH' | 'EQ' | 'EXISTS' | 'GT' | 'GTE' | 'INCLUDES' | 'IS_AFTER' | 'IS_BEFORE' | 'LT' | 'LTE' | 'NEQ' | 'OMIT' | 'STARTS_WITH' | 'AND' | 'OR';
|
|
93
|
-
|
|
66
|
+
/**
|
|
67
|
+
* The attribe name from profile whose value will be operated against the filter
|
|
68
|
+
* value
|
|
69
|
+
*/
|
|
70
|
+
path: string;
|
|
71
|
+
/**
|
|
72
|
+
* The value to use for filtering
|
|
73
|
+
*/
|
|
74
|
+
value: string;
|
|
94
75
|
}
|
|
95
76
|
export interface Paging {
|
|
96
77
|
more: boolean;
|
|
@@ -122,7 +103,7 @@ export interface AudienceUpdateParams {
|
|
|
122
103
|
*/
|
|
123
104
|
description?: string | null;
|
|
124
105
|
/**
|
|
125
|
-
*
|
|
106
|
+
* A single filter to use for filtering
|
|
126
107
|
*/
|
|
127
108
|
filter?: Filter | null;
|
|
128
109
|
/**
|
|
@@ -143,6 +124,6 @@ export interface AudienceListMembersParams {
|
|
|
143
124
|
cursor?: string | null;
|
|
144
125
|
}
|
|
145
126
|
export declare namespace Audiences {
|
|
146
|
-
export { type Audience as Audience, type Filter as Filter, type FilterConfig as FilterConfig, type
|
|
127
|
+
export { type Audience as Audience, type Filter as Filter, type FilterConfig as FilterConfig, type Paging as Paging, type AudienceUpdateResponse as AudienceUpdateResponse, type AudienceListResponse as AudienceListResponse, type AudienceListMembersResponse as AudienceListMembersResponse, type AudienceUpdateParams as AudienceUpdateParams, type AudienceListParams as AudienceListParams, type AudienceListMembersParams as AudienceListMembersParams, };
|
|
147
128
|
}
|
|
148
129
|
//# sourceMappingURL=audiences.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audiences.d.mts","sourceRoot":"","sources":["../src/resources/audiences.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,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,IAAI,QAAQ,EACzB,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
package/resources/audiences.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface Audience {
|
|
|
34
34
|
*/
|
|
35
35
|
description: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* A single filter to use for filtering
|
|
38
38
|
*/
|
|
39
39
|
filter: Filter;
|
|
40
40
|
/**
|
|
@@ -43,54 +43,35 @@ export interface Audience {
|
|
|
43
43
|
name: string;
|
|
44
44
|
updated_at: string;
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
path: string;
|
|
61
|
-
/**
|
|
62
|
-
* The value to use for filtering
|
|
63
|
-
*/
|
|
64
|
-
value: string;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* The operator to use for filtering
|
|
69
|
-
*/
|
|
70
|
-
export type FilterConfig = FilterConfig.UnionMember0 | NestedFilterConfig;
|
|
71
|
-
export declare namespace FilterConfig {
|
|
72
|
-
interface UnionMember0 {
|
|
73
|
-
/**
|
|
74
|
-
* The operator to use for filtering
|
|
75
|
-
*/
|
|
76
|
-
operator: 'ENDS_WITH' | 'EQ' | 'EXISTS' | 'GT' | 'GTE' | 'INCLUDES' | 'IS_AFTER' | 'IS_BEFORE' | 'LT' | 'LTE' | 'NEQ' | 'OMIT' | 'STARTS_WITH' | 'AND' | 'OR';
|
|
77
|
-
/**
|
|
78
|
-
* The attribe name from profile whose value will be operated against the filter
|
|
79
|
-
* value
|
|
80
|
-
*/
|
|
81
|
-
path: string;
|
|
82
|
-
/**
|
|
83
|
-
* The value to use for filtering
|
|
84
|
-
*/
|
|
85
|
-
value: string;
|
|
86
|
-
}
|
|
46
|
+
export interface Filter {
|
|
47
|
+
/**
|
|
48
|
+
* The operator to use for filtering
|
|
49
|
+
*/
|
|
50
|
+
operator: 'ENDS_WITH' | 'EQ' | 'EXISTS' | 'GT' | 'GTE' | 'INCLUDES' | 'IS_AFTER' | 'IS_BEFORE' | 'LT' | 'LTE' | 'NEQ' | 'OMIT' | 'STARTS_WITH' | 'AND' | 'OR';
|
|
51
|
+
/**
|
|
52
|
+
* The attribe name from profile whose value will be operated against the filter
|
|
53
|
+
* value
|
|
54
|
+
*/
|
|
55
|
+
path: string;
|
|
56
|
+
/**
|
|
57
|
+
* The value to use for filtering
|
|
58
|
+
*/
|
|
59
|
+
value: string;
|
|
87
60
|
}
|
|
88
|
-
export interface
|
|
61
|
+
export interface FilterConfig {
|
|
89
62
|
/**
|
|
90
63
|
* The operator to use for filtering
|
|
91
64
|
*/
|
|
92
65
|
operator: 'ENDS_WITH' | 'EQ' | 'EXISTS' | 'GT' | 'GTE' | 'INCLUDES' | 'IS_AFTER' | 'IS_BEFORE' | 'LT' | 'LTE' | 'NEQ' | 'OMIT' | 'STARTS_WITH' | 'AND' | 'OR';
|
|
93
|
-
|
|
66
|
+
/**
|
|
67
|
+
* The attribe name from profile whose value will be operated against the filter
|
|
68
|
+
* value
|
|
69
|
+
*/
|
|
70
|
+
path: string;
|
|
71
|
+
/**
|
|
72
|
+
* The value to use for filtering
|
|
73
|
+
*/
|
|
74
|
+
value: string;
|
|
94
75
|
}
|
|
95
76
|
export interface Paging {
|
|
96
77
|
more: boolean;
|
|
@@ -122,7 +103,7 @@ export interface AudienceUpdateParams {
|
|
|
122
103
|
*/
|
|
123
104
|
description?: string | null;
|
|
124
105
|
/**
|
|
125
|
-
*
|
|
106
|
+
* A single filter to use for filtering
|
|
126
107
|
*/
|
|
127
108
|
filter?: Filter | null;
|
|
128
109
|
/**
|
|
@@ -143,6 +124,6 @@ export interface AudienceListMembersParams {
|
|
|
143
124
|
cursor?: string | null;
|
|
144
125
|
}
|
|
145
126
|
export declare namespace Audiences {
|
|
146
|
-
export { type Audience as Audience, type Filter as Filter, type FilterConfig as FilterConfig, type
|
|
127
|
+
export { type Audience as Audience, type Filter as Filter, type FilterConfig as FilterConfig, type Paging as Paging, type AudienceUpdateResponse as AudienceUpdateResponse, type AudienceListResponse as AudienceListResponse, type AudienceListMembersResponse as AudienceListMembersResponse, type AudienceUpdateParams as AudienceUpdateParams, type AudienceListParams as AudienceListParams, type AudienceListMembersParams as AudienceListMembersParams, };
|
|
147
128
|
}
|
|
148
129
|
//# sourceMappingURL=audiences.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audiences.d.ts","sourceRoot":"","sources":["../src/resources/audiences.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAI5E;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;OAEG;I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
@@ -13,20 +13,16 @@ export declare class AuditEvents extends APIResource {
|
|
|
13
13
|
list(query?: AuditEventListParams | null | undefined, options?: RequestOptions): APIPromise<AuditEventListResponse>;
|
|
14
14
|
}
|
|
15
15
|
export interface AuditEvent {
|
|
16
|
+
actor: AuditEvent.Actor;
|
|
16
17
|
auditEventId: string;
|
|
17
18
|
source: string;
|
|
19
|
+
target: string;
|
|
18
20
|
timestamp: string;
|
|
19
21
|
type: string;
|
|
20
|
-
actor?: AuditEvent.Actor | null;
|
|
21
|
-
target?: AuditEvent.Target | null;
|
|
22
22
|
}
|
|
23
23
|
export declare namespace AuditEvent {
|
|
24
24
|
interface Actor {
|
|
25
|
-
id
|
|
26
|
-
email?: string | null;
|
|
27
|
-
}
|
|
28
|
-
interface Target {
|
|
29
|
-
id?: string | null;
|
|
25
|
+
id: string;
|
|
30
26
|
email?: string | null;
|
|
31
27
|
}
|
|
32
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-events.d.mts","sourceRoot":"","sources":["../src/resources/audit-events.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAIhF;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,UAAU;IACzB,
|
|
1
|
+
{"version":3,"file":"audit-events.d.mts","sourceRoot":"","sources":["../src/resources/audit-events.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAIhF;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;IAExB,YAAY,EAAE,MAAM,CAAC;IAErB,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,yBAAiB,UAAU,CAAC;IAC1B,UAAiB,KAAK;QACpB,EAAE,EAAE,MAAM,CAAC;QAEX,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC;IAE5B,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC5B;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -13,20 +13,16 @@ export declare class AuditEvents extends APIResource {
|
|
|
13
13
|
list(query?: AuditEventListParams | null | undefined, options?: RequestOptions): APIPromise<AuditEventListResponse>;
|
|
14
14
|
}
|
|
15
15
|
export interface AuditEvent {
|
|
16
|
+
actor: AuditEvent.Actor;
|
|
16
17
|
auditEventId: string;
|
|
17
18
|
source: string;
|
|
19
|
+
target: string;
|
|
18
20
|
timestamp: string;
|
|
19
21
|
type: string;
|
|
20
|
-
actor?: AuditEvent.Actor | null;
|
|
21
|
-
target?: AuditEvent.Target | null;
|
|
22
22
|
}
|
|
23
23
|
export declare namespace AuditEvent {
|
|
24
24
|
interface Actor {
|
|
25
|
-
id
|
|
26
|
-
email?: string | null;
|
|
27
|
-
}
|
|
28
|
-
interface Target {
|
|
29
|
-
id?: string | null;
|
|
25
|
+
id: string;
|
|
30
26
|
email?: string | null;
|
|
31
27
|
}
|
|
32
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-events.d.ts","sourceRoot":"","sources":["../src/resources/audit-events.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAIhF;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,UAAU;IACzB,
|
|
1
|
+
{"version":3,"file":"audit-events.d.ts","sourceRoot":"","sources":["../src/resources/audit-events.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAIhF;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;IAExB,YAAY,EAAE,MAAM,CAAC;IAErB,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,yBAAiB,UAAU,CAAC;IAC1B,UAAiB,KAAK;QACpB,EAAE,EAAE,MAAM,CAAC;QAEX,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC;IAE5B,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC5B;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/auth.d.mts
CHANGED
|
@@ -8,11 +8,11 @@ export declare class Auth extends APIResource {
|
|
|
8
8
|
issueToken(body: AuthIssueTokenParams, options?: RequestOptions): APIPromise<AuthIssueTokenResponse>;
|
|
9
9
|
}
|
|
10
10
|
export interface AuthIssueTokenResponse {
|
|
11
|
-
token
|
|
11
|
+
token: string;
|
|
12
12
|
}
|
|
13
13
|
export interface AuthIssueTokenParams {
|
|
14
14
|
expires_in: string;
|
|
15
|
-
scope:
|
|
15
|
+
scope: string;
|
|
16
16
|
}
|
|
17
17
|
export declare namespace Auth {
|
|
18
18
|
export { type AuthIssueTokenResponse as AuthIssueTokenResponse, type AuthIssueTokenParams as AuthIssueTokenParams, };
|
package/resources/auth.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.mts","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGrG;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,
|
|
1
|
+
{"version":3,"file":"auth.d.mts","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGrG;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IAEnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/auth.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ export declare class Auth extends APIResource {
|
|
|
8
8
|
issueToken(body: AuthIssueTokenParams, options?: RequestOptions): APIPromise<AuthIssueTokenResponse>;
|
|
9
9
|
}
|
|
10
10
|
export interface AuthIssueTokenResponse {
|
|
11
|
-
token
|
|
11
|
+
token: string;
|
|
12
12
|
}
|
|
13
13
|
export interface AuthIssueTokenParams {
|
|
14
14
|
expires_in: string;
|
|
15
|
-
scope:
|
|
15
|
+
scope: string;
|
|
16
16
|
}
|
|
17
17
|
export declare namespace Auth {
|
|
18
18
|
export { type AuthIssueTokenResponse as AuthIssueTokenResponse, type AuthIssueTokenParams as AuthIssueTokenParams, };
|
package/resources/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGrG;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGrG;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IAEnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|