@knocklabs/node 1.10.3 → 1.11.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/CHANGELOG.md +38 -0
- package/client.d.mts +5 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -3
- package/client.d.ts.map +1 -1
- package/client.js +12 -9
- package/client.js.map +1 -1
- package/client.mjs +12 -9
- package/client.mjs.map +1 -1
- package/index.d.mts +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/internal/request-options.d.mts +42 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +42 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/types.d.mts +8 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +8 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.js +1 -1
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/log.js +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.d.mts.map +1 -1
- package/internal/utils/path.d.ts.map +1 -1
- package/internal/utils/path.js +26 -5
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +26 -5
- package/internal/utils/path.mjs.map +1 -1
- package/package.json +2 -7
- package/resources/audiences.d.mts +3 -3
- package/resources/audiences.d.ts +3 -3
- package/resources/integrations/census.d.mts +6 -2
- package/resources/integrations/census.d.mts.map +1 -1
- package/resources/integrations/census.d.ts +6 -2
- package/resources/integrations/census.d.ts.map +1 -1
- package/resources/integrations/hightouch.d.mts +6 -2
- package/resources/integrations/hightouch.d.mts.map +1 -1
- package/resources/integrations/hightouch.d.ts +6 -2
- package/resources/integrations/hightouch.d.ts.map +1 -1
- package/resources/messages/batch.d.mts +16 -6
- package/resources/messages/batch.d.mts.map +1 -1
- package/resources/messages/batch.d.ts +16 -6
- package/resources/messages/batch.d.ts.map +1 -1
- package/resources/messages/messages.d.mts +44 -14
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +44 -14
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/objects/bulk.d.mts +3 -1
- package/resources/objects/bulk.d.mts.map +1 -1
- package/resources/objects/bulk.d.ts +3 -1
- package/resources/objects/bulk.d.ts.map +1 -1
- package/resources/objects/objects.d.mts +12 -4
- package/resources/objects/objects.d.mts.map +1 -1
- package/resources/objects/objects.d.ts +12 -4
- package/resources/objects/objects.d.ts.map +1 -1
- package/resources/objects/objects.js.map +1 -1
- package/resources/objects/objects.mjs.map +1 -1
- package/resources/providers/slack.d.mts +2 -1
- package/resources/providers/slack.d.mts.map +1 -1
- package/resources/providers/slack.d.ts +2 -1
- package/resources/providers/slack.d.ts.map +1 -1
- package/resources/recipients/channel-data.d.mts +6 -4
- package/resources/recipients/channel-data.d.mts.map +1 -1
- package/resources/recipients/channel-data.d.ts +6 -4
- package/resources/recipients/channel-data.d.ts.map +1 -1
- package/resources/recipients/preferences.d.mts +15 -5
- package/resources/recipients/preferences.d.mts.map +1 -1
- package/resources/recipients/preferences.d.ts +15 -5
- package/resources/recipients/preferences.d.ts.map +1 -1
- package/resources/recipients/subscriptions.d.mts +3 -1
- package/resources/recipients/subscriptions.d.mts.map +1 -1
- package/resources/recipients/subscriptions.d.ts +3 -1
- package/resources/recipients/subscriptions.d.ts.map +1 -1
- package/resources/schedules/bulk.d.mts +7 -5
- package/resources/schedules/bulk.d.mts.map +1 -1
- package/resources/schedules/bulk.d.ts +7 -5
- package/resources/schedules/bulk.d.ts.map +1 -1
- package/resources/schedules/schedules.d.mts +21 -15
- package/resources/schedules/schedules.d.mts.map +1 -1
- package/resources/schedules/schedules.d.ts +21 -15
- package/resources/schedules/schedules.d.ts.map +1 -1
- package/resources/shared.d.mts +1 -1
- package/resources/shared.d.ts +1 -1
- package/resources/users/feeds.d.mts +18 -4
- package/resources/users/feeds.d.mts.map +1 -1
- package/resources/users/feeds.d.ts +18 -4
- package/resources/users/feeds.d.ts.map +1 -1
- package/resources/users/feeds.js +14 -2
- package/resources/users/feeds.js.map +1 -1
- package/resources/users/feeds.mjs +14 -2
- package/resources/users/feeds.mjs.map +1 -1
- package/resources/users/guides.d.mts +30 -10
- package/resources/users/guides.d.mts.map +1 -1
- package/resources/users/guides.d.ts +30 -10
- package/resources/users/guides.d.ts.map +1 -1
- package/resources/users/users.d.mts +15 -11
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +15 -11
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js +3 -3
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs +3 -3
- package/resources/users/users.mjs.map +1 -1
- package/resources/workflows.d.mts +7 -5
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +7 -5
- package/resources/workflows.d.ts.map +1 -1
- package/src/client.ts +16 -11
- package/src/index.ts +3 -0
- package/src/internal/request-options.ts +53 -0
- package/src/internal/types.ts +9 -6
- package/src/internal/uploads.ts +1 -1
- package/src/internal/utils/log.ts +1 -1
- package/src/internal/utils/path.ts +32 -7
- package/src/resources/audiences.ts +3 -3
- package/src/resources/integrations/census.ts +2 -2
- package/src/resources/integrations/hightouch.ts +2 -2
- package/src/resources/messages/batch.ts +6 -6
- package/src/resources/messages/messages.ts +19 -14
- package/src/resources/objects/bulk.ts +1 -1
- package/src/resources/objects/objects.ts +8 -10
- package/src/resources/providers/slack.ts +2 -1
- package/src/resources/recipients/channel-data.ts +11 -7
- package/src/resources/recipients/preferences.ts +9 -11
- package/src/resources/recipients/subscriptions.ts +1 -1
- package/src/resources/schedules/bulk.ts +5 -5
- package/src/resources/schedules/schedules.ts +15 -15
- package/src/resources/shared.ts +1 -1
- package/src/resources/users/feeds.ts +16 -4
- package/src/resources/users/guides.ts +10 -10
- package/src/resources/users/users.ts +15 -17
- package/src/resources/workflows.ts +5 -5
- 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
|
@@ -96,13 +96,17 @@ export namespace DiscordChannelData {
|
|
|
96
96
|
/**
|
|
97
97
|
* A request to set channel data for a type of channel inline.
|
|
98
98
|
*/
|
|
99
|
-
export type InlineChannelDataRequest =
|
|
100
|
-
string
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
export type InlineChannelDataRequest = {
|
|
100
|
+
[key: string]:
|
|
101
|
+
| PushChannelData
|
|
102
|
+
| OneSignalChannelData
|
|
103
|
+
| SlackChannelData
|
|
104
|
+
| MsTeamsChannelData
|
|
105
|
+
| DiscordChannelData;
|
|
106
|
+
};
|
|
103
107
|
|
|
104
108
|
/**
|
|
105
|
-
* Microsoft Teams channel
|
|
109
|
+
* Microsoft Teams channel data.
|
|
106
110
|
*/
|
|
107
111
|
export interface MsTeamsChannelData {
|
|
108
112
|
/**
|
|
@@ -178,7 +182,7 @@ export interface OneSignalChannelData {
|
|
|
178
182
|
}
|
|
179
183
|
|
|
180
184
|
/**
|
|
181
|
-
*
|
|
185
|
+
* Push channel data.
|
|
182
186
|
*/
|
|
183
187
|
export interface PushChannelData {
|
|
184
188
|
/**
|
|
@@ -188,7 +192,7 @@ export interface PushChannelData {
|
|
|
188
192
|
}
|
|
189
193
|
|
|
190
194
|
/**
|
|
191
|
-
* Slack channel data
|
|
195
|
+
* Slack channel data.
|
|
192
196
|
*/
|
|
193
197
|
export interface SlackChannelData {
|
|
194
198
|
/**
|
|
@@ -11,7 +11,7 @@ export class Preferences extends APIResource {}
|
|
|
11
11
|
* Preferences that are set inline will be merged into any existing preferences
|
|
12
12
|
* rather than replacing them.
|
|
13
13
|
*/
|
|
14
|
-
export type InlinePreferenceSetRequest =
|
|
14
|
+
export type InlinePreferenceSetRequest = { [key: string]: PreferenceSetRequest };
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* A preference set represents a specific set of notification preferences for a
|
|
@@ -27,7 +27,7 @@ export interface PreferenceSet {
|
|
|
27
27
|
* An object where the key is the category and the values are the preference
|
|
28
28
|
* settings for that category.
|
|
29
29
|
*/
|
|
30
|
-
categories?:
|
|
30
|
+
categories?: { [key: string]: boolean | PreferenceSet.PreferenceSetWorkflowCategorySettingObject } | null;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Channel type preferences.
|
|
@@ -38,7 +38,7 @@ export interface PreferenceSet {
|
|
|
38
38
|
* An object where the key is the workflow key and the values are the preference
|
|
39
39
|
* settings for that workflow.
|
|
40
40
|
*/
|
|
41
|
-
workflows?:
|
|
41
|
+
workflows?: { [key: string]: boolean | PreferenceSet.PreferenceSetWorkflowCategorySettingObject } | null;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export namespace PreferenceSet {
|
|
@@ -129,10 +129,9 @@ export interface PreferenceSetRequest {
|
|
|
129
129
|
* An object where the key is the category and the values are the preference
|
|
130
130
|
* settings for that category.
|
|
131
131
|
*/
|
|
132
|
-
categories?:
|
|
133
|
-
string
|
|
134
|
-
|
|
135
|
-
> | null;
|
|
132
|
+
categories?: {
|
|
133
|
+
[key: string]: boolean | PreferenceSetRequest.PreferenceSetWorkflowCategorySettingObject;
|
|
134
|
+
} | null;
|
|
136
135
|
|
|
137
136
|
/**
|
|
138
137
|
* Channel type preferences.
|
|
@@ -143,10 +142,9 @@ export interface PreferenceSetRequest {
|
|
|
143
142
|
* An object where the key is the workflow key and the values are the preference
|
|
144
143
|
* settings for that workflow.
|
|
145
144
|
*/
|
|
146
|
-
workflows?:
|
|
147
|
-
string
|
|
148
|
-
|
|
149
|
-
> | null;
|
|
145
|
+
workflows?: {
|
|
146
|
+
[key: string]: boolean | PreferenceSetRequest.PreferenceSetWorkflowCategorySettingObject;
|
|
147
|
+
} | null;
|
|
150
148
|
}
|
|
151
149
|
|
|
152
150
|
export namespace PreferenceSetRequest {
|
|
@@ -41,7 +41,7 @@ export interface Subscription {
|
|
|
41
41
|
/**
|
|
42
42
|
* The custom properties associated with the subscription relationship.
|
|
43
43
|
*/
|
|
44
|
-
properties?:
|
|
44
|
+
properties?: { [key: string]: unknown } | null;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export declare namespace Subscriptions {
|
|
@@ -74,12 +74,12 @@ export namespace BulkCreateParams {
|
|
|
74
74
|
actor?: RecipientsAPI.RecipientRequest | null;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* An optional map of data to pass into the workflow execution. There is a
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
77
|
+
* An optional map of data to pass into the workflow execution. There is a 10MB
|
|
78
|
+
* limit on the size of the full `data` payload. Any individual string value
|
|
79
|
+
* greater than 1024 bytes in length will be
|
|
80
|
+
* [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
|
81
81
|
*/
|
|
82
|
-
data?:
|
|
82
|
+
data?: { [key: string]: unknown } | null;
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* The ending date and time for the schedule.
|
|
@@ -172,12 +172,12 @@ export interface Schedule {
|
|
|
172
172
|
actor?: RecipientsAPI.Recipient | null;
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
|
-
* An optional map of data to pass into the workflow execution. There is a
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
175
|
+
* An optional map of data to pass into the workflow execution. There is a 10MB
|
|
176
|
+
* limit on the size of the full `data` payload. Any individual string value
|
|
177
|
+
* greater than 1024 bytes in length will be
|
|
178
|
+
* [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
|
179
179
|
*/
|
|
180
|
-
data?:
|
|
180
|
+
data?: { [key: string]: unknown } | null;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* The last occurrence of the schedule.
|
|
@@ -271,12 +271,12 @@ export interface ScheduleCreateParams {
|
|
|
271
271
|
actor?: RecipientsAPI.RecipientRequest | null;
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
|
-
* An optional map of data to pass into the workflow execution. There is a
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
*
|
|
274
|
+
* An optional map of data to pass into the workflow execution. There is a 10MB
|
|
275
|
+
* limit on the size of the full `data` payload. Any individual string value
|
|
276
|
+
* greater than 1024 bytes in length will be
|
|
277
|
+
* [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
|
278
278
|
*/
|
|
279
|
-
data?:
|
|
279
|
+
data?: { [key: string]: unknown } | null;
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* The ending date and time for the schedule.
|
|
@@ -312,12 +312,12 @@ export interface ScheduleUpdateParams {
|
|
|
312
312
|
actor?: RecipientsAPI.RecipientReference | null;
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
|
-
* An optional map of data to pass into the workflow execution. There is a
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
*
|
|
315
|
+
* An optional map of data to pass into the workflow execution. There is a 10MB
|
|
316
|
+
* limit on the size of the full `data` payload. Any individual string value
|
|
317
|
+
* greater than 1024 bytes in length will be
|
|
318
|
+
* [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
|
319
319
|
*/
|
|
320
|
-
data?:
|
|
320
|
+
data?: { [key: string]: unknown } | null;
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
323
|
* The ending date and time for the schedule.
|
package/src/resources/shared.ts
CHANGED
|
@@ -25,8 +25,20 @@ export class Feeds extends APIResource {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* Returns a paginated list of feed items for a user
|
|
29
|
-
* feed.
|
|
28
|
+
* Returns a paginated list of feed items for a user in reverse chronological
|
|
29
|
+
* order, including metadata about the feed. If the user has not yet been
|
|
30
|
+
* identified within Knock, an empty feed will be returned.
|
|
31
|
+
*
|
|
32
|
+
* You can customize the response using
|
|
33
|
+
* [response filters](/integrations/in-app/knock#customizing-api-response-content)
|
|
34
|
+
* to exclude or only include specific properties on your resources.
|
|
35
|
+
*
|
|
36
|
+
* **Notes:**
|
|
37
|
+
*
|
|
38
|
+
* - When making this call from a client-side environment, use your publishable key
|
|
39
|
+
* along with a user token.
|
|
40
|
+
* - This endpoint’s rate limit is always scoped per-user and per-environment. This
|
|
41
|
+
* is true even for requests made without a signed user token.
|
|
30
42
|
*
|
|
31
43
|
* @example
|
|
32
44
|
* ```ts
|
|
@@ -111,7 +123,7 @@ export interface FeedListItemsResponse {
|
|
|
111
123
|
/**
|
|
112
124
|
* Additional data associated with the feed item.
|
|
113
125
|
*/
|
|
114
|
-
data:
|
|
126
|
+
data: { [key: string]: unknown } | null;
|
|
115
127
|
|
|
116
128
|
/**
|
|
117
129
|
* Timestamp when the resource was created.
|
|
@@ -280,7 +292,7 @@ export interface FeedListItemsParams extends EntriesCursorParams {
|
|
|
280
292
|
has_tenant?: boolean;
|
|
281
293
|
|
|
282
294
|
/**
|
|
283
|
-
* The
|
|
295
|
+
* The workflow key associated with the message in the feed.
|
|
284
296
|
*/
|
|
285
297
|
source?: string;
|
|
286
298
|
|
|
@@ -165,7 +165,7 @@ export namespace GuideGetChannelResponse {
|
|
|
165
165
|
/**
|
|
166
166
|
* The metadata of the guide.
|
|
167
167
|
*/
|
|
168
|
-
metadata?:
|
|
168
|
+
metadata?: { [key: string]: unknown };
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
171
|
* The title of the guide.
|
|
@@ -255,12 +255,12 @@ export interface GuideMarkMessageAsArchivedParams {
|
|
|
255
255
|
/**
|
|
256
256
|
* The content of the guide.
|
|
257
257
|
*/
|
|
258
|
-
content?:
|
|
258
|
+
content?: { [key: string]: unknown };
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* The data of the guide.
|
|
262
262
|
*/
|
|
263
|
-
data?:
|
|
263
|
+
data?: { [key: string]: unknown };
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
266
|
* Whether the guide is final.
|
|
@@ -270,7 +270,7 @@ export interface GuideMarkMessageAsArchivedParams {
|
|
|
270
270
|
/**
|
|
271
271
|
* The metadata of the guide.
|
|
272
272
|
*/
|
|
273
|
-
metadata?:
|
|
273
|
+
metadata?: { [key: string]: unknown };
|
|
274
274
|
|
|
275
275
|
/**
|
|
276
276
|
* The tenant ID of the guide.
|
|
@@ -302,12 +302,12 @@ export interface GuideMarkMessageAsInteractedParams {
|
|
|
302
302
|
/**
|
|
303
303
|
* The content of the guide.
|
|
304
304
|
*/
|
|
305
|
-
content?:
|
|
305
|
+
content?: { [key: string]: unknown };
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
308
|
* The data of the guide.
|
|
309
309
|
*/
|
|
310
|
-
data?:
|
|
310
|
+
data?: { [key: string]: unknown };
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* Whether the guide is final.
|
|
@@ -317,7 +317,7 @@ export interface GuideMarkMessageAsInteractedParams {
|
|
|
317
317
|
/**
|
|
318
318
|
* The metadata of the guide.
|
|
319
319
|
*/
|
|
320
|
-
metadata?:
|
|
320
|
+
metadata?: { [key: string]: unknown };
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
323
|
* The tenant ID of the guide.
|
|
@@ -349,12 +349,12 @@ export interface GuideMarkMessageAsSeenParams {
|
|
|
349
349
|
/**
|
|
350
350
|
* The content of the guide.
|
|
351
351
|
*/
|
|
352
|
-
content?:
|
|
352
|
+
content?: { [key: string]: unknown };
|
|
353
353
|
|
|
354
354
|
/**
|
|
355
355
|
* The data of the guide.
|
|
356
356
|
*/
|
|
357
|
-
data?:
|
|
357
|
+
data?: { [key: string]: unknown };
|
|
358
358
|
|
|
359
359
|
/**
|
|
360
360
|
* Whether the guide is final.
|
|
@@ -364,7 +364,7 @@ export interface GuideMarkMessageAsSeenParams {
|
|
|
364
364
|
/**
|
|
365
365
|
* The metadata of the guide.
|
|
366
366
|
*/
|
|
367
|
-
metadata?:
|
|
367
|
+
metadata?: { [key: string]: unknown };
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
370
|
* The tenant ID of the guide.
|
|
@@ -166,9 +166,9 @@ export class Users extends APIResource {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
* Returns a paginated list of messages for a specific user.
|
|
170
|
-
*
|
|
171
|
-
*
|
|
169
|
+
* Returns a paginated list of messages for a specific user. Messages are sorted
|
|
170
|
+
* with the most recent ones appearing first. Messages outside the account's
|
|
171
|
+
* retention window will not be included in the results.
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* ```ts
|
|
@@ -352,7 +352,7 @@ export type UsersEntriesCursor = EntriesCursor<User>;
|
|
|
352
352
|
*/
|
|
353
353
|
export interface IdentifyUserRequest {
|
|
354
354
|
/**
|
|
355
|
-
* URL
|
|
355
|
+
* A URL for the avatar of the user.
|
|
356
356
|
*/
|
|
357
357
|
avatar?: string | null;
|
|
358
358
|
|
|
@@ -413,12 +413,12 @@ export interface IdentifyUserRequest {
|
|
|
413
413
|
*/
|
|
414
414
|
export interface InlineIdentifyUserRequest {
|
|
415
415
|
/**
|
|
416
|
-
* The
|
|
416
|
+
* The unique identifier of the user.
|
|
417
417
|
*/
|
|
418
418
|
id: string;
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
|
-
* URL
|
|
421
|
+
* A URL for the avatar of the user.
|
|
422
422
|
*/
|
|
423
423
|
avatar?: string | null;
|
|
424
424
|
|
|
@@ -478,7 +478,7 @@ export interface InlineIdentifyUserRequest {
|
|
|
478
478
|
*/
|
|
479
479
|
export interface User {
|
|
480
480
|
/**
|
|
481
|
-
* The
|
|
481
|
+
* The unique identifier of the user.
|
|
482
482
|
*/
|
|
483
483
|
id: string;
|
|
484
484
|
|
|
@@ -493,7 +493,7 @@ export interface User {
|
|
|
493
493
|
updated_at: string;
|
|
494
494
|
|
|
495
495
|
/**
|
|
496
|
-
* URL
|
|
496
|
+
* A URL for the avatar of the user.
|
|
497
497
|
*/
|
|
498
498
|
avatar?: string | null;
|
|
499
499
|
|
|
@@ -546,7 +546,7 @@ export type UserUnsetChannelDataResponse = string;
|
|
|
546
546
|
|
|
547
547
|
export interface UserUpdateParams {
|
|
548
548
|
/**
|
|
549
|
-
* URL
|
|
549
|
+
* A URL for the avatar of the user.
|
|
550
550
|
*/
|
|
551
551
|
avatar?: string | null;
|
|
552
552
|
|
|
@@ -747,10 +747,9 @@ export interface UserSetPreferencesParams {
|
|
|
747
747
|
* An object where the key is the category and the values are the preference
|
|
748
748
|
* settings for that category.
|
|
749
749
|
*/
|
|
750
|
-
categories?:
|
|
751
|
-
string
|
|
752
|
-
|
|
753
|
-
> | null;
|
|
750
|
+
categories?: {
|
|
751
|
+
[key: string]: boolean | UserSetPreferencesParams.PreferenceSetWorkflowCategorySettingObject;
|
|
752
|
+
} | null;
|
|
754
753
|
|
|
755
754
|
/**
|
|
756
755
|
* Channel type preferences.
|
|
@@ -761,10 +760,9 @@ export interface UserSetPreferencesParams {
|
|
|
761
760
|
* An object where the key is the workflow key and the values are the preference
|
|
762
761
|
* settings for that workflow.
|
|
763
762
|
*/
|
|
764
|
-
workflows?:
|
|
765
|
-
string
|
|
766
|
-
|
|
767
|
-
> | null;
|
|
763
|
+
workflows?: {
|
|
764
|
+
[key: string]: boolean | UserSetPreferencesParams.PreferenceSetWorkflowCategorySettingObject;
|
|
765
|
+
} | null;
|
|
768
766
|
}
|
|
769
767
|
|
|
770
768
|
export namespace UserSetPreferencesParams {
|
|
@@ -120,12 +120,12 @@ export interface WorkflowTriggerParams {
|
|
|
120
120
|
cancellation_key?: string | null;
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
|
-
* An optional map of data to pass into the workflow execution. There is a
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
123
|
+
* An optional map of data to pass into the workflow execution. There is a 10MB
|
|
124
|
+
* limit on the size of the full `data` payload. Any individual string value
|
|
125
|
+
* greater than 1024 bytes in length will be
|
|
126
|
+
* [truncated](/developer-tools/api-logs#log-truncation) in your logs.
|
|
127
127
|
*/
|
|
128
|
-
data?:
|
|
128
|
+
data?: { [key: string]: unknown } | null;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* An request to set a tenant inline.
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.11.1'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.11.1";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.11.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.11.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|