@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.
Files changed (152) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/client.d.mts +5 -3
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +5 -3
  5. package/client.d.ts.map +1 -1
  6. package/client.js +12 -9
  7. package/client.js.map +1 -1
  8. package/client.mjs +12 -9
  9. package/client.mjs.map +1 -1
  10. package/index.d.mts +1 -0
  11. package/index.d.mts.map +1 -1
  12. package/index.d.ts +1 -0
  13. package/index.d.ts.map +1 -1
  14. package/index.js +4 -1
  15. package/index.js.map +1 -1
  16. package/index.mjs +1 -0
  17. package/index.mjs.map +1 -1
  18. package/internal/request-options.d.mts +42 -0
  19. package/internal/request-options.d.mts.map +1 -1
  20. package/internal/request-options.d.ts +42 -0
  21. package/internal/request-options.d.ts.map +1 -1
  22. package/internal/request-options.js.map +1 -1
  23. package/internal/request-options.mjs.map +1 -1
  24. package/internal/types.d.mts +8 -6
  25. package/internal/types.d.mts.map +1 -1
  26. package/internal/types.d.ts +8 -6
  27. package/internal/types.d.ts.map +1 -1
  28. package/internal/uploads.js +1 -1
  29. package/internal/uploads.js.map +1 -1
  30. package/internal/uploads.mjs +1 -1
  31. package/internal/uploads.mjs.map +1 -1
  32. package/internal/utils/log.js +1 -1
  33. package/internal/utils/log.js.map +1 -1
  34. package/internal/utils/log.mjs +1 -1
  35. package/internal/utils/log.mjs.map +1 -1
  36. package/internal/utils/path.d.mts.map +1 -1
  37. package/internal/utils/path.d.ts.map +1 -1
  38. package/internal/utils/path.js +26 -5
  39. package/internal/utils/path.js.map +1 -1
  40. package/internal/utils/path.mjs +26 -5
  41. package/internal/utils/path.mjs.map +1 -1
  42. package/package.json +2 -7
  43. package/resources/audiences.d.mts +3 -3
  44. package/resources/audiences.d.ts +3 -3
  45. package/resources/integrations/census.d.mts +6 -2
  46. package/resources/integrations/census.d.mts.map +1 -1
  47. package/resources/integrations/census.d.ts +6 -2
  48. package/resources/integrations/census.d.ts.map +1 -1
  49. package/resources/integrations/hightouch.d.mts +6 -2
  50. package/resources/integrations/hightouch.d.mts.map +1 -1
  51. package/resources/integrations/hightouch.d.ts +6 -2
  52. package/resources/integrations/hightouch.d.ts.map +1 -1
  53. package/resources/messages/batch.d.mts +16 -6
  54. package/resources/messages/batch.d.mts.map +1 -1
  55. package/resources/messages/batch.d.ts +16 -6
  56. package/resources/messages/batch.d.ts.map +1 -1
  57. package/resources/messages/messages.d.mts +44 -14
  58. package/resources/messages/messages.d.mts.map +1 -1
  59. package/resources/messages/messages.d.ts +44 -14
  60. package/resources/messages/messages.d.ts.map +1 -1
  61. package/resources/messages/messages.js.map +1 -1
  62. package/resources/messages/messages.mjs.map +1 -1
  63. package/resources/objects/bulk.d.mts +3 -1
  64. package/resources/objects/bulk.d.mts.map +1 -1
  65. package/resources/objects/bulk.d.ts +3 -1
  66. package/resources/objects/bulk.d.ts.map +1 -1
  67. package/resources/objects/objects.d.mts +12 -4
  68. package/resources/objects/objects.d.mts.map +1 -1
  69. package/resources/objects/objects.d.ts +12 -4
  70. package/resources/objects/objects.d.ts.map +1 -1
  71. package/resources/objects/objects.js.map +1 -1
  72. package/resources/objects/objects.mjs.map +1 -1
  73. package/resources/providers/slack.d.mts +2 -1
  74. package/resources/providers/slack.d.mts.map +1 -1
  75. package/resources/providers/slack.d.ts +2 -1
  76. package/resources/providers/slack.d.ts.map +1 -1
  77. package/resources/recipients/channel-data.d.mts +6 -4
  78. package/resources/recipients/channel-data.d.mts.map +1 -1
  79. package/resources/recipients/channel-data.d.ts +6 -4
  80. package/resources/recipients/channel-data.d.ts.map +1 -1
  81. package/resources/recipients/preferences.d.mts +15 -5
  82. package/resources/recipients/preferences.d.mts.map +1 -1
  83. package/resources/recipients/preferences.d.ts +15 -5
  84. package/resources/recipients/preferences.d.ts.map +1 -1
  85. package/resources/recipients/subscriptions.d.mts +3 -1
  86. package/resources/recipients/subscriptions.d.mts.map +1 -1
  87. package/resources/recipients/subscriptions.d.ts +3 -1
  88. package/resources/recipients/subscriptions.d.ts.map +1 -1
  89. package/resources/schedules/bulk.d.mts +7 -5
  90. package/resources/schedules/bulk.d.mts.map +1 -1
  91. package/resources/schedules/bulk.d.ts +7 -5
  92. package/resources/schedules/bulk.d.ts.map +1 -1
  93. package/resources/schedules/schedules.d.mts +21 -15
  94. package/resources/schedules/schedules.d.mts.map +1 -1
  95. package/resources/schedules/schedules.d.ts +21 -15
  96. package/resources/schedules/schedules.d.ts.map +1 -1
  97. package/resources/shared.d.mts +1 -1
  98. package/resources/shared.d.ts +1 -1
  99. package/resources/users/feeds.d.mts +18 -4
  100. package/resources/users/feeds.d.mts.map +1 -1
  101. package/resources/users/feeds.d.ts +18 -4
  102. package/resources/users/feeds.d.ts.map +1 -1
  103. package/resources/users/feeds.js +14 -2
  104. package/resources/users/feeds.js.map +1 -1
  105. package/resources/users/feeds.mjs +14 -2
  106. package/resources/users/feeds.mjs.map +1 -1
  107. package/resources/users/guides.d.mts +30 -10
  108. package/resources/users/guides.d.mts.map +1 -1
  109. package/resources/users/guides.d.ts +30 -10
  110. package/resources/users/guides.d.ts.map +1 -1
  111. package/resources/users/users.d.mts +15 -11
  112. package/resources/users/users.d.mts.map +1 -1
  113. package/resources/users/users.d.ts +15 -11
  114. package/resources/users/users.d.ts.map +1 -1
  115. package/resources/users/users.js +3 -3
  116. package/resources/users/users.js.map +1 -1
  117. package/resources/users/users.mjs +3 -3
  118. package/resources/users/users.mjs.map +1 -1
  119. package/resources/workflows.d.mts +7 -5
  120. package/resources/workflows.d.mts.map +1 -1
  121. package/resources/workflows.d.ts +7 -5
  122. package/resources/workflows.d.ts.map +1 -1
  123. package/src/client.ts +16 -11
  124. package/src/index.ts +3 -0
  125. package/src/internal/request-options.ts +53 -0
  126. package/src/internal/types.ts +9 -6
  127. package/src/internal/uploads.ts +1 -1
  128. package/src/internal/utils/log.ts +1 -1
  129. package/src/internal/utils/path.ts +32 -7
  130. package/src/resources/audiences.ts +3 -3
  131. package/src/resources/integrations/census.ts +2 -2
  132. package/src/resources/integrations/hightouch.ts +2 -2
  133. package/src/resources/messages/batch.ts +6 -6
  134. package/src/resources/messages/messages.ts +19 -14
  135. package/src/resources/objects/bulk.ts +1 -1
  136. package/src/resources/objects/objects.ts +8 -10
  137. package/src/resources/providers/slack.ts +2 -1
  138. package/src/resources/recipients/channel-data.ts +11 -7
  139. package/src/resources/recipients/preferences.ts +9 -11
  140. package/src/resources/recipients/subscriptions.ts +1 -1
  141. package/src/resources/schedules/bulk.ts +5 -5
  142. package/src/resources/schedules/schedules.ts +15 -15
  143. package/src/resources/shared.ts +1 -1
  144. package/src/resources/users/feeds.ts +16 -4
  145. package/src/resources/users/guides.ts +10 -10
  146. package/src/resources/users/users.ts +15 -17
  147. package/src/resources/workflows.ts +5 -5
  148. package/src/version.ts +1 -1
  149. package/version.d.mts +1 -1
  150. package/version.d.ts +1 -1
  151. package/version.js +1 -1
  152. 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 = Record<
100
- string,
101
- PushChannelData | OneSignalChannelData | SlackChannelData | MsTeamsChannelData | DiscordChannelData
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 connection.
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
- * The content of a push notification.
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 = Record<string, PreferenceSetRequest>;
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?: Record<string, boolean | PreferenceSet.PreferenceSetWorkflowCategorySettingObject> | null;
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?: Record<string, boolean | PreferenceSet.PreferenceSetWorkflowCategorySettingObject> | null;
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?: Record<
133
- string,
134
- boolean | PreferenceSetRequest.PreferenceSetWorkflowCategorySettingObject
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?: Record<
147
- string,
148
- boolean | PreferenceSetRequest.PreferenceSetWorkflowCategorySettingObject
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?: Record<string, unknown> | null;
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 1024
78
- * byte limit on the size of any single string value (with the exception of
79
- * [email attachments](/integrations/email/attachments)), and a 10MB limit on the
80
- * size of the full `data` payload.
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?: Record<string, unknown> | null;
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 1024
176
- * byte limit on the size of any single string value (with the exception of
177
- * [email attachments](/integrations/email/attachments)), and a 10MB limit on the
178
- * size of the full `data` payload.
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?: Record<string, unknown> | null;
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 1024
275
- * byte limit on the size of any single string value (with the exception of
276
- * [email attachments](/integrations/email/attachments)), and a 10MB limit on the
277
- * size of the full `data` payload.
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?: Record<string, unknown> | null;
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 1024
316
- * byte limit on the size of any single string value (with the exception of
317
- * [email attachments](/integrations/email/attachments)), and a 10MB limit on the
318
- * size of the full `data` payload.
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?: Record<string, unknown> | null;
320
+ data?: { [key: string]: unknown } | null;
321
321
 
322
322
  /**
323
323
  * The ending date and time for the schedule.
@@ -52,7 +52,7 @@ export interface PageInfo {
52
52
  __typename: string;
53
53
 
54
54
  /**
55
- * The number of items per page.
55
+ * The number of items per page (defaults to 50).
56
56
  */
57
57
  page_size: number;
58
58
 
@@ -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, including metadata about the
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: Record<string, unknown> | null;
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 source of the feed items.
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?: Record<string, unknown>;
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?: Record<string, unknown>;
258
+ content?: { [key: string]: unknown };
259
259
 
260
260
  /**
261
261
  * The data of the guide.
262
262
  */
263
- data?: Record<string, unknown>;
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?: Record<string, unknown>;
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?: Record<string, unknown>;
305
+ content?: { [key: string]: unknown };
306
306
 
307
307
  /**
308
308
  * The data of the guide.
309
309
  */
310
- data?: Record<string, unknown>;
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?: Record<string, unknown>;
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?: Record<string, unknown>;
352
+ content?: { [key: string]: unknown };
353
353
 
354
354
  /**
355
355
  * The data of the guide.
356
356
  */
357
- data?: Record<string, unknown>;
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?: Record<string, unknown>;
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. Allows filtering by
170
- * message status and provides various sorting options. Messages outside the
171
- * account's retention window will not be included in the results.
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 to the user's avatar image.
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 ID for the user that you set when identifying them in Knock.
416
+ * The unique identifier of the user.
417
417
  */
418
418
  id: string;
419
419
 
420
420
  /**
421
- * URL to the user's avatar image.
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 ID for the user that you set when identifying them in Knock.
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 to the user's avatar image.
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 to the user's avatar image.
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?: Record<
751
- string,
752
- boolean | UserSetPreferencesParams.PreferenceSetWorkflowCategorySettingObject
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?: Record<
765
- string,
766
- boolean | UserSetPreferencesParams.PreferenceSetWorkflowCategorySettingObject
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 1024
124
- * byte limit on the size of any single string value (with the exception of
125
- * [email attachments](/integrations/email/attachments)), and a 10MB limit on the
126
- * size of the full `data` payload.
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?: Record<string, unknown> | null;
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.10.3'; // x-release-please-version
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.10.3";
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.10.3";
1
+ export declare const VERSION = "1.11.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.10.3'; // x-release-please-version
4
+ exports.VERSION = '1.11.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.10.3'; // x-release-please-version
1
+ export const VERSION = '1.11.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map