@lepsto/sdk-app 88.0.0 → 89.0.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.
@@ -96101,332 +96101,6 @@ export interface OrganizationYoutubeInstallInput {
96101
96101
  export interface OrganizationYoutubeInstallOutput {
96102
96102
  url: string;
96103
96103
  }
96104
- export interface PlaygroundAnalyticsOverviewInput {
96105
- /**
96106
- * Max records per entity in recent[]; omit for the endpoint default
96107
- */
96108
- limit?: number;
96109
- }
96110
- export interface PlaygroundAnalyticsOverviewOutput {
96111
- ok: boolean;
96112
- minted: boolean;
96113
- overview?: unknown;
96114
- http_status: number;
96115
- }
96116
- export interface PlaygroundBillingEntitlementsInput {
96117
- }
96118
- export interface PlaygroundBillingEntitlementsOutput {
96119
- ok: boolean;
96120
- minted: boolean;
96121
- http_status: number;
96122
- entitlements?: unknown;
96123
- }
96124
- export interface PlaygroundBillingRecordUsageInput {
96125
- /**
96126
- * Quantity of events to record against playground-events (SUM); defaults to 1
96127
- */
96128
- value?: number;
96129
- }
96130
- export interface PlaygroundBillingRecordUsageOutput {
96131
- minted: boolean;
96132
- accepted: (number | null);
96133
- recorded: boolean;
96134
- duplicates: (number | null);
96135
- http_status: number;
96136
- }
96137
- export interface PlaygroundClickupCreateTaskInput {
96138
- /**
96139
- * Task title; defaults to a fixture label
96140
- */
96141
- name?: string;
96142
- /**
96143
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
96144
- */
96145
- listId?: string;
96146
- }
96147
- export interface PlaygroundClickupCreateTaskOutput {
96148
- minted: boolean;
96149
- task_id: (string | null);
96150
- list_status: number;
96151
- vend_status: number;
96152
- clickup_status: number;
96153
- installation_count: number;
96154
- }
96155
- export interface PlaygroundClickupGetLastWebhookInput {
96156
- }
96157
- export type PlaygroundClickupGetLastWebhookOutput = ({
96158
- payload: string;
96159
- event_id: string;
96160
- provider: string;
96161
- verified: boolean;
96162
- product_id: string;
96163
- occurred_at: string;
96164
- connector_id: string;
96165
- clickup_event: (string | null);
96166
- receipt_count: number;
96167
- } | {
96168
- found: false;
96169
- });
96170
- export interface PlaygroundClickupGetOverviewInput {
96171
- }
96172
- export interface PlaygroundClickupGetOverviewOutput {
96173
- team: ({
96174
- teamId: string;
96175
- teamName: string;
96176
- } | null);
96177
- lists: PlaygroundClickupGetOverviewOutputItems[];
96178
- tasks: {
96179
- id: string;
96180
- name: string;
96181
- status: (string | null);
96182
- }[];
96183
- minted: boolean;
96184
- spaces: PlaygroundClickupGetOverviewOutputItems[];
96185
- list_status: number;
96186
- vend_status: number;
96187
- lists_status: number;
96188
- tasks_status: number;
96189
- spaces_status: number;
96190
- folders_status: number;
96191
- installation_count: number;
96192
- }
96193
- export interface PlaygroundClickupGetOverviewOutputItems {
96194
- id: string;
96195
- name: string;
96196
- }
96197
- export interface PlaygroundEchoPingInput {
96198
- /**
96199
- * The text to echo back, 1–1024 characters
96200
- */
96201
- message: string;
96202
- }
96203
- export interface PlaygroundEchoPingOutput {
96204
- /**
96205
- * The message exactly as it was received
96206
- */
96207
- message: string;
96208
- /**
96209
- * The product the call was resolved to
96210
- */
96211
- productId: string;
96212
- /**
96213
- * ISO-8601 instant (UTC) at which the call reached the service
96214
- */
96215
- receivedAt: string;
96216
- }
96217
- export interface PlaygroundGdriveGetLastChangeInput {
96218
- }
96219
- export type PlaygroundGdriveGetLastChangeOutput = ({
96220
- file_id: string;
96221
- removed: boolean;
96222
- file_name: (string | null);
96223
- mime_type: (string | null);
96224
- product_id: string;
96225
- occurred_at: string;
96226
- connector_id: string;
96227
- resource_state: string;
96228
- } | {
96229
- found: false;
96230
- });
96231
- export interface PlaygroundGdriveReadFileInput {
96232
- /**
96233
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
96234
- */
96235
- fileId?: string;
96236
- }
96237
- export interface PlaygroundGdriveReadFileOutput {
96238
- minted: boolean;
96239
- file_id: (string | null);
96240
- file_name: (string | null);
96241
- mime_type: (string | null);
96242
- file_count: number;
96243
- get_status: number;
96244
- list_status: number;
96245
- vend_status: number;
96246
- content_bytes: (number | null);
96247
- }
96248
- export interface PlaygroundGoogleadsReadCustomerInput {
96249
- }
96250
- export interface PlaygroundGoogleadsReadCustomerOutput {
96251
- minted: boolean;
96252
- vended: boolean;
96253
- customer_id: (string | null);
96254
- vend_status: number;
96255
- result_count: number;
96256
- search_status: number;
96257
- login_customer_id: (string | null);
96258
- }
96259
- export interface PlaygroundLifecycleGetStateInput {
96260
- }
96261
- export interface PlaygroundLifecycleGetStateOutput {
96262
- blocked: boolean;
96263
- archived: boolean;
96264
- productId: string;
96265
- lastBlockTransition: ({
96266
- eventId: string;
96267
- eventName: string;
96268
- productId: string;
96269
- occurredAt: string;
96270
- recordedAt: string;
96271
- receiptCount: number;
96272
- organizationId: string;
96273
- cascadedFromOrg: boolean;
96274
- } | null);
96275
- lastArchiveTransition: ({
96276
- eventId: string;
96277
- eventName: string;
96278
- productId: string;
96279
- occurredAt: string;
96280
- recordedAt: string;
96281
- receiptCount: number;
96282
- organizationId: string;
96283
- cascadedFromOrg: boolean;
96284
- } | null);
96285
- }
96286
- export interface PlaygroundLifecycleListEventsInput {
96287
- }
96288
- export type PlaygroundLifecycleListEventsOutput = {
96289
- eventId: string;
96290
- eventName: string;
96291
- productId: string;
96292
- occurredAt: string;
96293
- recordedAt: string;
96294
- receiptCount: number;
96295
- organizationId: string;
96296
- cascadedFromOrg: boolean;
96297
- }[];
96298
- export interface PlaygroundWebhookGetLastInput {
96299
- }
96300
- export type PlaygroundWebhookGetLastOutput = ({
96301
- payload?: unknown;
96302
- event_id: string;
96303
- provider: string;
96304
- verified: boolean;
96305
- product_id: string;
96306
- occurred_at: string;
96307
- connector_id: string;
96308
- delivery_count: number;
96309
- } | {
96310
- found: false;
96311
- });
96312
- export interface PlaygroundWorkflowEchoInput {
96313
- /**
96314
- * The text to store, 1–1024 characters
96315
- */
96316
- note: string;
96317
- /**
96318
- * Optional labels stored alongside the note, at most 20
96319
- *
96320
- * @maxItems 20
96321
- */
96322
- 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];
96323
- }
96324
- export interface PlaygroundWorkflowEchoOutput {
96325
- /**
96326
- * Identifier of the stored echo
96327
- */
96328
- id: string;
96329
- /**
96330
- * The note exactly as it was received
96331
- */
96332
- note: string;
96333
- /**
96334
- * The tags exactly as they were received
96335
- */
96336
- tags: string[];
96337
- /**
96338
- * 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.
96339
- */
96340
- echo_id: string;
96341
- /**
96342
- * ISO-8601 instant (UTC) at which the echo was stored
96343
- */
96344
- received_at: string;
96345
- }
96346
- export interface PlaygroundWorkflowEchoListInput {
96347
- }
96348
- export type PlaygroundWorkflowEchoListOutput = {
96349
- /**
96350
- * Identifier of the stored echo
96351
- */
96352
- id: string;
96353
- /**
96354
- * The note exactly as it was received
96355
- */
96356
- note: string;
96357
- /**
96358
- * The tags exactly as they were received
96359
- */
96360
- tags: string[];
96361
- /**
96362
- * ISO-8601 instant (UTC) at which the echo was stored
96363
- */
96364
- received_at: string;
96365
- }[];
96366
- export interface PlaygroundWorkflowPingInput {
96367
- /**
96368
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
96369
- */
96370
- kind?: string;
96371
- }
96372
- export interface PlaygroundWorkflowPingOutput {
96373
- /**
96374
- * 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.
96375
- */
96376
- id: string;
96377
- /**
96378
- * The name of the event that was published
96379
- */
96380
- event: string;
96381
- }
96382
- export interface PlaygroundWorkflowSubjectsListInput {
96383
- /**
96384
- * How many subjects to return, 1–100. Defaults to 25.
96385
- */
96386
- limit?: number;
96387
- /**
96388
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
96389
- */
96390
- cursor?: string;
96391
- /**
96392
- * 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.
96393
- */
96394
- last_activity_after?: string;
96395
- /**
96396
- * 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.
96397
- */
96398
- last_activity_before?: string;
96399
- }
96400
- export interface PlaygroundWorkflowSubjectsListOutput {
96401
- /**
96402
- * This page of subjects, most recently active first
96403
- */
96404
- items: {
96405
- /**
96406
- * 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.
96407
- */
96408
- subject_key: string;
96409
- /**
96410
- * Human-readable name of the subject
96411
- */
96412
- display_name: string;
96413
- /**
96414
- * ISO-8601 instant (UTC) of the subject last activity
96415
- */
96416
- last_activity_at: string;
96417
- }[];
96418
- /**
96419
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
96420
- */
96421
- has_more: boolean;
96422
- /**
96423
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
96424
- */
96425
- next_cursor: (string | null);
96426
- }
96427
- export interface PlaygroundWsEchoInput {
96428
- }
96429
- export type PlaygroundWsEchoOutput = unknown;
96430
96104
  export interface RealtimeArchiveExportInput {
96431
96105
  /**
96432
96106
  * Only entries with ts <= to_ts (epoch ms)
@@ -97302,7 +96976,7 @@ export interface SupportAgentCreateInput {
97302
96976
  */
97303
96977
  displayName: string;
97304
96978
  /**
97305
- * 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
96979
+ * 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
97306
96980
  */
97307
96981
  lesslyUserId?: string;
97308
96982
  }
@@ -97336,7 +97010,7 @@ export interface SupportAgentCreateOutput {
97336
97010
  */
97337
97011
  displayName: string;
97338
97012
  /**
97339
- * 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
97013
+ * 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
97340
97014
  */
97341
97015
  lesslyUserId: (string | null);
97342
97016
  }
@@ -97376,7 +97050,7 @@ export interface SupportAgentGetOutput {
97376
97050
  */
97377
97051
  displayName: string;
97378
97052
  /**
97379
- * 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
97053
+ * 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
97380
97054
  */
97381
97055
  lesslyUserId: (string | null);
97382
97056
  }
@@ -97420,7 +97094,7 @@ export interface SupportAgentListOutput {
97420
97094
  */
97421
97095
  displayName: string;
97422
97096
  /**
97423
- * 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
97097
+ * 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
97424
97098
  */
97425
97099
  lesslyUserId: (string | null);
97426
97100
  }[];
@@ -97447,7 +97121,7 @@ export interface SupportAgentUpdateInput {
97447
97121
  */
97448
97122
  displayName?: string;
97449
97123
  /**
97450
- * Lepsto identity to bind, or null to unbind. Stored verbatim, resolved by nobody
97124
+ * Lessly identity to bind, or null to unbind. Stored verbatim, resolved by nobody
97451
97125
  */
97452
97126
  lesslyUserId?: (string | null);
97453
97127
  }
@@ -97481,7 +97155,7 @@ export interface SupportAgentUpdateOutput {
97481
97155
  */
97482
97156
  displayName: string;
97483
97157
  /**
97484
- * 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
97158
+ * 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
97485
97159
  */
97486
97160
  lesslyUserId: (string | null);
97487
97161
  }
@@ -97793,7 +97467,7 @@ export interface SupportMessageCreateOutput {
97793
97467
  */
97794
97468
  authorExternalId: (string | null);
97795
97469
  /**
97796
- * 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
97470
+ * 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
97797
97471
  */
97798
97472
  createdByIdentityId: (string | null);
97799
97473
  }
@@ -97882,7 +97556,7 @@ export interface SupportMessageDeleteOutput {
97882
97556
  */
97883
97557
  authorExternalId: (string | null);
97884
97558
  /**
97885
- * 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
97559
+ * 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
97886
97560
  */
97887
97561
  createdByIdentityId: (string | null);
97888
97562
  }
@@ -97971,7 +97645,7 @@ export interface SupportMessageDeleteAnyOutput {
97971
97645
  */
97972
97646
  authorExternalId: (string | null);
97973
97647
  /**
97974
- * 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
97648
+ * 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
97975
97649
  */
97976
97650
  createdByIdentityId: (string | null);
97977
97651
  }
@@ -98060,7 +97734,7 @@ export interface SupportMessageGetOutput {
98060
97734
  */
98061
97735
  authorExternalId: (string | null);
98062
97736
  /**
98063
- * 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
97737
+ * 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
98064
97738
  */
98065
97739
  createdByIdentityId: (string | null);
98066
97740
  }
@@ -98185,7 +97859,7 @@ export interface SupportMessageListOutput {
98185
97859
  */
98186
97860
  authorExternalId: (string | null);
98187
97861
  /**
98188
- * 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
97862
+ * 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
98189
97863
  */
98190
97864
  createdByIdentityId: (string | null);
98191
97865
  }[];
@@ -98222,7 +97896,7 @@ export interface SupportMessageRevisionsListOutput {
98222
97896
  */
98223
97897
  messageId: string;
98224
97898
  /**
98225
- * The Lepsto identity that made the edit
97899
+ * The Lessly identity that made the edit
98226
97900
  */
98227
97901
  editedByIdentityId: (string | null);
98228
97902
  }[];
@@ -98316,7 +97990,7 @@ export interface SupportMessageUpdateOutput {
98316
97990
  */
98317
97991
  authorExternalId: (string | null);
98318
97992
  /**
98319
- * 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
97993
+ * 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
98320
97994
  */
98321
97995
  createdByIdentityId: (string | null);
98322
97996
  }
@@ -118284,7 +117958,7 @@ export interface SupportThreadCreateInput {
118284
117958
  */
118285
117959
  authorDisplay?: string;
118286
117960
  /**
118287
- * 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
117961
+ * 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
118288
117962
  */
118289
117963
  authorExternalId: string;
118290
117964
  }