@lepsto/sdk-app 89.2.0 → 89.3.0

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.
@@ -96113,6 +96113,332 @@ export interface OrganizationYoutubeInstallInput {
96113
96113
  export interface OrganizationYoutubeInstallOutput {
96114
96114
  url: string;
96115
96115
  }
96116
+ export interface PlaygroundAnalyticsOverviewInput {
96117
+ /**
96118
+ * Max records per entity in recent[]; omit for the endpoint default
96119
+ */
96120
+ limit?: number;
96121
+ }
96122
+ export interface PlaygroundAnalyticsOverviewOutput {
96123
+ ok: boolean;
96124
+ minted: boolean;
96125
+ overview?: unknown;
96126
+ http_status: number;
96127
+ }
96128
+ export interface PlaygroundBillingEntitlementsInput {
96129
+ }
96130
+ export interface PlaygroundBillingEntitlementsOutput {
96131
+ ok: boolean;
96132
+ minted: boolean;
96133
+ http_status: number;
96134
+ entitlements?: unknown;
96135
+ }
96136
+ export interface PlaygroundBillingRecordUsageInput {
96137
+ /**
96138
+ * Quantity of events to record against playground-events (SUM); defaults to 1
96139
+ */
96140
+ value?: number;
96141
+ }
96142
+ export interface PlaygroundBillingRecordUsageOutput {
96143
+ minted: boolean;
96144
+ accepted: (number | null);
96145
+ recorded: boolean;
96146
+ duplicates: (number | null);
96147
+ http_status: number;
96148
+ }
96149
+ export interface PlaygroundClickupCreateTaskInput {
96150
+ /**
96151
+ * Task title; defaults to a fixture label
96152
+ */
96153
+ name?: string;
96154
+ /**
96155
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
96156
+ */
96157
+ listId?: string;
96158
+ }
96159
+ export interface PlaygroundClickupCreateTaskOutput {
96160
+ minted: boolean;
96161
+ task_id: (string | null);
96162
+ list_status: number;
96163
+ vend_status: number;
96164
+ clickup_status: number;
96165
+ installation_count: number;
96166
+ }
96167
+ export interface PlaygroundClickupGetLastWebhookInput {
96168
+ }
96169
+ export type PlaygroundClickupGetLastWebhookOutput = ({
96170
+ payload: string;
96171
+ event_id: string;
96172
+ provider: string;
96173
+ verified: boolean;
96174
+ product_id: string;
96175
+ occurred_at: string;
96176
+ connector_id: string;
96177
+ clickup_event: (string | null);
96178
+ receipt_count: number;
96179
+ } | {
96180
+ found: false;
96181
+ });
96182
+ export interface PlaygroundClickupGetOverviewInput {
96183
+ }
96184
+ export interface PlaygroundClickupGetOverviewOutput {
96185
+ team: ({
96186
+ teamId: string;
96187
+ teamName: string;
96188
+ } | null);
96189
+ lists: PlaygroundClickupGetOverviewOutputItems[];
96190
+ tasks: {
96191
+ id: string;
96192
+ name: string;
96193
+ status: (string | null);
96194
+ }[];
96195
+ minted: boolean;
96196
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
96197
+ list_status: number;
96198
+ vend_status: number;
96199
+ lists_status: number;
96200
+ tasks_status: number;
96201
+ spaces_status: number;
96202
+ folders_status: number;
96203
+ installation_count: number;
96204
+ }
96205
+ export interface PlaygroundClickupGetOverviewOutputItems {
96206
+ id: string;
96207
+ name: string;
96208
+ }
96209
+ export interface PlaygroundEchoPingInput {
96210
+ /**
96211
+ * The text to echo back, 1–1024 characters
96212
+ */
96213
+ message: string;
96214
+ }
96215
+ export interface PlaygroundEchoPingOutput {
96216
+ /**
96217
+ * The message exactly as it was received
96218
+ */
96219
+ message: string;
96220
+ /**
96221
+ * The product the call was resolved to
96222
+ */
96223
+ productId: string;
96224
+ /**
96225
+ * ISO-8601 instant (UTC) at which the call reached the service
96226
+ */
96227
+ receivedAt: string;
96228
+ }
96229
+ export interface PlaygroundGdriveGetLastChangeInput {
96230
+ }
96231
+ export type PlaygroundGdriveGetLastChangeOutput = ({
96232
+ file_id: string;
96233
+ removed: boolean;
96234
+ file_name: (string | null);
96235
+ mime_type: (string | null);
96236
+ product_id: string;
96237
+ occurred_at: string;
96238
+ connector_id: string;
96239
+ resource_state: string;
96240
+ } | {
96241
+ found: false;
96242
+ });
96243
+ export interface PlaygroundGdriveReadFileInput {
96244
+ /**
96245
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
96246
+ */
96247
+ fileId?: string;
96248
+ }
96249
+ export interface PlaygroundGdriveReadFileOutput {
96250
+ minted: boolean;
96251
+ file_id: (string | null);
96252
+ file_name: (string | null);
96253
+ mime_type: (string | null);
96254
+ file_count: number;
96255
+ get_status: number;
96256
+ list_status: number;
96257
+ vend_status: number;
96258
+ content_bytes: (number | null);
96259
+ }
96260
+ export interface PlaygroundGoogleadsReadCustomerInput {
96261
+ }
96262
+ export interface PlaygroundGoogleadsReadCustomerOutput {
96263
+ minted: boolean;
96264
+ vended: boolean;
96265
+ customer_id: (string | null);
96266
+ vend_status: number;
96267
+ result_count: number;
96268
+ search_status: number;
96269
+ login_customer_id: (string | null);
96270
+ }
96271
+ export interface PlaygroundLifecycleGetStateInput {
96272
+ }
96273
+ export interface PlaygroundLifecycleGetStateOutput {
96274
+ blocked: boolean;
96275
+ archived: boolean;
96276
+ productId: string;
96277
+ lastBlockTransition: ({
96278
+ eventId: string;
96279
+ eventName: string;
96280
+ productId: string;
96281
+ occurredAt: string;
96282
+ recordedAt: string;
96283
+ receiptCount: number;
96284
+ organizationId: string;
96285
+ cascadedFromOrg: boolean;
96286
+ } | null);
96287
+ lastArchiveTransition: ({
96288
+ eventId: string;
96289
+ eventName: string;
96290
+ productId: string;
96291
+ occurredAt: string;
96292
+ recordedAt: string;
96293
+ receiptCount: number;
96294
+ organizationId: string;
96295
+ cascadedFromOrg: boolean;
96296
+ } | null);
96297
+ }
96298
+ export interface PlaygroundLifecycleListEventsInput {
96299
+ }
96300
+ export type PlaygroundLifecycleListEventsOutput = {
96301
+ eventId: string;
96302
+ eventName: string;
96303
+ productId: string;
96304
+ occurredAt: string;
96305
+ recordedAt: string;
96306
+ receiptCount: number;
96307
+ organizationId: string;
96308
+ cascadedFromOrg: boolean;
96309
+ }[];
96310
+ export interface PlaygroundWebhookGetLastInput {
96311
+ }
96312
+ export type PlaygroundWebhookGetLastOutput = ({
96313
+ payload?: unknown;
96314
+ event_id: string;
96315
+ provider: string;
96316
+ verified: boolean;
96317
+ product_id: string;
96318
+ occurred_at: string;
96319
+ connector_id: string;
96320
+ delivery_count: number;
96321
+ } | {
96322
+ found: false;
96323
+ });
96324
+ export interface PlaygroundWorkflowEchoInput {
96325
+ /**
96326
+ * The text to store, 1–1024 characters
96327
+ */
96328
+ note: string;
96329
+ /**
96330
+ * Optional labels stored alongside the note, at most 20
96331
+ *
96332
+ * @maxItems 20
96333
+ */
96334
+ tags?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
96335
+ }
96336
+ export interface PlaygroundWorkflowEchoOutput {
96337
+ /**
96338
+ * Identifier of the stored echo
96339
+ */
96340
+ id: string;
96341
+ /**
96342
+ * The note exactly as it was received
96343
+ */
96344
+ note: string;
96345
+ /**
96346
+ * The tags exactly as they were received
96347
+ */
96348
+ tags: string[];
96349
+ /**
96350
+ * Correlation id for this echo. The playground/workflow.echoed event published about two seconds later repeats it, which is how a composer matches the completion back to this step.
96351
+ */
96352
+ echo_id: string;
96353
+ /**
96354
+ * ISO-8601 instant (UTC) at which the echo was stored
96355
+ */
96356
+ received_at: string;
96357
+ }
96358
+ export interface PlaygroundWorkflowEchoListInput {
96359
+ }
96360
+ export type PlaygroundWorkflowEchoListOutput = {
96361
+ /**
96362
+ * Identifier of the stored echo
96363
+ */
96364
+ id: string;
96365
+ /**
96366
+ * The note exactly as it was received
96367
+ */
96368
+ note: string;
96369
+ /**
96370
+ * The tags exactly as they were received
96371
+ */
96372
+ tags: string[];
96373
+ /**
96374
+ * ISO-8601 instant (UTC) at which the echo was stored
96375
+ */
96376
+ received_at: string;
96377
+ }[];
96378
+ export interface PlaygroundWorkflowPingInput {
96379
+ /**
96380
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
96381
+ */
96382
+ kind?: string;
96383
+ }
96384
+ export interface PlaygroundWorkflowPingOutput {
96385
+ /**
96386
+ * Correlation id for this ping. The emitted playground/workflow.ping event repeats it, which is how a composer matches the event back to this step.
96387
+ */
96388
+ id: string;
96389
+ /**
96390
+ * The name of the event that was published
96391
+ */
96392
+ event: string;
96393
+ }
96394
+ export interface PlaygroundWorkflowSubjectsListInput {
96395
+ /**
96396
+ * How many subjects to return, 1–100. Defaults to 25.
96397
+ */
96398
+ limit?: number;
96399
+ /**
96400
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
96401
+ */
96402
+ cursor?: string;
96403
+ /**
96404
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
96405
+ */
96406
+ last_activity_after?: string;
96407
+ /**
96408
+ * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
96409
+ */
96410
+ last_activity_before?: string;
96411
+ }
96412
+ export interface PlaygroundWorkflowSubjectsListOutput {
96413
+ /**
96414
+ * This page of subjects, most recently active first
96415
+ */
96416
+ items: {
96417
+ /**
96418
+ * Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
96419
+ */
96420
+ subject_key: string;
96421
+ /**
96422
+ * Human-readable name of the subject
96423
+ */
96424
+ display_name: string;
96425
+ /**
96426
+ * ISO-8601 instant (UTC) of the subject last activity
96427
+ */
96428
+ last_activity_at: string;
96429
+ }[];
96430
+ /**
96431
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
96432
+ */
96433
+ has_more: boolean;
96434
+ /**
96435
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
96436
+ */
96437
+ next_cursor: (string | null);
96438
+ }
96439
+ export interface PlaygroundWsEchoInput {
96440
+ }
96441
+ export type PlaygroundWsEchoOutput = unknown;
96116
96442
  export interface RealtimeArchiveExportInput {
96117
96443
  /**
96118
96444
  * Only entries with ts <= to_ts (epoch ms)
@@ -96988,7 +97314,7 @@ export interface SupportAgentCreateInput {
96988
97314
  */
96989
97315
  displayName: string;
96990
97316
  /**
96991
- * Lessly identity to bind this profile to, stored verbatim as an opaque string. It is never resolved, validated against the platform or enriched. Omit it for a bot or a backend profile. At most one agent per product may claim a given Lessly user
97317
+ * Lepsto identity to bind this profile to, stored verbatim as an opaque string. It is never resolved, validated against the platform or enriched. Omit it for a bot or a backend profile. At most one agent per product may claim a given Lepsto user
96992
97318
  */
96993
97319
  lesslyUserId?: string;
96994
97320
  }
@@ -97022,7 +97348,7 @@ export interface SupportAgentCreateOutput {
97022
97348
  */
97023
97349
  displayName: string;
97024
97350
  /**
97025
- * Bound Lessly identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
97351
+ * Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
97026
97352
  */
97027
97353
  lesslyUserId: (string | null);
97028
97354
  }
@@ -97062,7 +97388,7 @@ export interface SupportAgentGetOutput {
97062
97388
  */
97063
97389
  displayName: string;
97064
97390
  /**
97065
- * Bound Lessly identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
97391
+ * Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
97066
97392
  */
97067
97393
  lesslyUserId: (string | null);
97068
97394
  }
@@ -97106,7 +97432,7 @@ export interface SupportAgentListOutput {
97106
97432
  */
97107
97433
  displayName: string;
97108
97434
  /**
97109
- * Bound Lessly identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
97435
+ * Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
97110
97436
  */
97111
97437
  lesslyUserId: (string | null);
97112
97438
  }[];
@@ -97133,7 +97459,7 @@ export interface SupportAgentUpdateInput {
97133
97459
  */
97134
97460
  displayName?: string;
97135
97461
  /**
97136
- * Lessly identity to bind, or null to unbind. Stored verbatim, resolved by nobody
97462
+ * Lepsto identity to bind, or null to unbind. Stored verbatim, resolved by nobody
97137
97463
  */
97138
97464
  lesslyUserId?: (string | null);
97139
97465
  }
@@ -97167,7 +97493,7 @@ export interface SupportAgentUpdateOutput {
97167
97493
  */
97168
97494
  displayName: string;
97169
97495
  /**
97170
- * Bound Lessly identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
97496
+ * Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
97171
97497
  */
97172
97498
  lesslyUserId: (string | null);
97173
97499
  }
@@ -97479,7 +97805,7 @@ export interface SupportMessageCreateOutput {
97479
97805
  */
97480
97806
  authorExternalId: (string | null);
97481
97807
  /**
97482
- * The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
97808
+ * The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
97483
97809
  */
97484
97810
  createdByIdentityId: (string | null);
97485
97811
  }
@@ -97568,7 +97894,7 @@ export interface SupportMessageDeleteOutput {
97568
97894
  */
97569
97895
  authorExternalId: (string | null);
97570
97896
  /**
97571
- * The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
97897
+ * The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
97572
97898
  */
97573
97899
  createdByIdentityId: (string | null);
97574
97900
  }
@@ -97657,7 +97983,7 @@ export interface SupportMessageDeleteAnyOutput {
97657
97983
  */
97658
97984
  authorExternalId: (string | null);
97659
97985
  /**
97660
- * The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
97986
+ * The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
97661
97987
  */
97662
97988
  createdByIdentityId: (string | null);
97663
97989
  }
@@ -97746,7 +98072,7 @@ export interface SupportMessageGetOutput {
97746
98072
  */
97747
98073
  authorExternalId: (string | null);
97748
98074
  /**
97749
- * The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
98075
+ * The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
97750
98076
  */
97751
98077
  createdByIdentityId: (string | null);
97752
98078
  }
@@ -97871,7 +98197,7 @@ export interface SupportMessageListOutput {
97871
98197
  */
97872
98198
  authorExternalId: (string | null);
97873
98199
  /**
97874
- * The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
98200
+ * The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
97875
98201
  */
97876
98202
  createdByIdentityId: (string | null);
97877
98203
  }[];
@@ -97908,7 +98234,7 @@ export interface SupportMessageRevisionsListOutput {
97908
98234
  */
97909
98235
  messageId: string;
97910
98236
  /**
97911
- * The Lessly identity that made the edit
98237
+ * The Lepsto identity that made the edit
97912
98238
  */
97913
98239
  editedByIdentityId: (string | null);
97914
98240
  }[];
@@ -98002,7 +98328,7 @@ export interface SupportMessageUpdateOutput {
98002
98328
  */
98003
98329
  authorExternalId: (string | null);
98004
98330
  /**
98005
- * The Lessly identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
98331
+ * The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
98006
98332
  */
98007
98333
  createdByIdentityId: (string | null);
98008
98334
  }
@@ -117970,7 +118296,7 @@ export interface SupportThreadCreateInput {
117970
118296
  */
117971
118297
  authorDisplay?: string;
117972
118298
  /**
117973
- * Opaque identifier of the external end user in the client's own user base. Stored verbatim: never resolved, normalised or enriched, and it is not a Lessly identity
118299
+ * Opaque identifier of the external end user in the client's own user base. Stored verbatim: never resolved, normalised or enriched, and it is not a Lepsto identity
117974
118300
  */
117975
118301
  authorExternalId: string;
117976
118302
  }
@@ -125501,6 +125827,10 @@ export interface WorkflowConfigListOutput {
125501
125827
  items: {
125502
125828
  key: string;
125503
125829
  is_secret: boolean;
125830
+ /**
125831
+ * Present when the key still resolves but no longer does anything. Its value is kept; nothing reads it.
125832
+ */
125833
+ deprecated?: true;
125504
125834
  updated_at: string;
125505
125835
  }[];
125506
125836
  next_cursor: (string | null);
@@ -125522,6 +125852,10 @@ export interface WorkflowConfigSetInput {
125522
125852
  export interface WorkflowConfigSetOutput {
125523
125853
  key: string;
125524
125854
  is_secret: boolean;
125855
+ /**
125856
+ * Present when the key still resolves but no longer does anything. Its value is kept; nothing reads it.
125857
+ */
125858
+ deprecated?: true;
125525
125859
  updated_at: string;
125526
125860
  }
125527
125861
  export interface WorkflowDefinitionCreateInput {