@lepsto/sdk-app 87.3.0 → 87.3.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.
@@ -96072,6 +96072,332 @@ export interface OrganizationYoutubeInstallInput {
96072
96072
  export interface OrganizationYoutubeInstallOutput {
96073
96073
  url: string;
96074
96074
  }
96075
+ export interface PlaygroundAnalyticsOverviewInput {
96076
+ /**
96077
+ * Max records per entity in recent[]; omit for the endpoint default
96078
+ */
96079
+ limit?: number;
96080
+ }
96081
+ export interface PlaygroundAnalyticsOverviewOutput {
96082
+ ok: boolean;
96083
+ minted: boolean;
96084
+ overview?: unknown;
96085
+ http_status: number;
96086
+ }
96087
+ export interface PlaygroundBillingEntitlementsInput {
96088
+ }
96089
+ export interface PlaygroundBillingEntitlementsOutput {
96090
+ ok: boolean;
96091
+ minted: boolean;
96092
+ http_status: number;
96093
+ entitlements?: unknown;
96094
+ }
96095
+ export interface PlaygroundBillingRecordUsageInput {
96096
+ /**
96097
+ * Quantity of events to record against playground-events (SUM); defaults to 1
96098
+ */
96099
+ value?: number;
96100
+ }
96101
+ export interface PlaygroundBillingRecordUsageOutput {
96102
+ minted: boolean;
96103
+ accepted: (number | null);
96104
+ recorded: boolean;
96105
+ duplicates: (number | null);
96106
+ http_status: number;
96107
+ }
96108
+ export interface PlaygroundClickupCreateTaskInput {
96109
+ /**
96110
+ * Task title; defaults to a fixture label
96111
+ */
96112
+ name?: string;
96113
+ /**
96114
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
96115
+ */
96116
+ listId?: string;
96117
+ }
96118
+ export interface PlaygroundClickupCreateTaskOutput {
96119
+ minted: boolean;
96120
+ task_id: (string | null);
96121
+ list_status: number;
96122
+ vend_status: number;
96123
+ clickup_status: number;
96124
+ installation_count: number;
96125
+ }
96126
+ export interface PlaygroundClickupGetLastWebhookInput {
96127
+ }
96128
+ export type PlaygroundClickupGetLastWebhookOutput = ({
96129
+ payload: string;
96130
+ event_id: string;
96131
+ provider: string;
96132
+ verified: boolean;
96133
+ product_id: string;
96134
+ occurred_at: string;
96135
+ connector_id: string;
96136
+ clickup_event: (string | null);
96137
+ receipt_count: number;
96138
+ } | {
96139
+ found: false;
96140
+ });
96141
+ export interface PlaygroundClickupGetOverviewInput {
96142
+ }
96143
+ export interface PlaygroundClickupGetOverviewOutput {
96144
+ team: ({
96145
+ teamId: string;
96146
+ teamName: string;
96147
+ } | null);
96148
+ lists: PlaygroundClickupGetOverviewOutputItems[];
96149
+ tasks: {
96150
+ id: string;
96151
+ name: string;
96152
+ status: (string | null);
96153
+ }[];
96154
+ minted: boolean;
96155
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
96156
+ list_status: number;
96157
+ vend_status: number;
96158
+ lists_status: number;
96159
+ tasks_status: number;
96160
+ spaces_status: number;
96161
+ folders_status: number;
96162
+ installation_count: number;
96163
+ }
96164
+ export interface PlaygroundClickupGetOverviewOutputItems {
96165
+ id: string;
96166
+ name: string;
96167
+ }
96168
+ export interface PlaygroundEchoPingInput {
96169
+ /**
96170
+ * The text to echo back, 1–1024 characters
96171
+ */
96172
+ message: string;
96173
+ }
96174
+ export interface PlaygroundEchoPingOutput {
96175
+ /**
96176
+ * The message exactly as it was received
96177
+ */
96178
+ message: string;
96179
+ /**
96180
+ * The product the call was resolved to
96181
+ */
96182
+ productId: string;
96183
+ /**
96184
+ * ISO-8601 instant (UTC) at which the call reached the service
96185
+ */
96186
+ receivedAt: string;
96187
+ }
96188
+ export interface PlaygroundGdriveGetLastChangeInput {
96189
+ }
96190
+ export type PlaygroundGdriveGetLastChangeOutput = ({
96191
+ file_id: string;
96192
+ removed: boolean;
96193
+ file_name: (string | null);
96194
+ mime_type: (string | null);
96195
+ product_id: string;
96196
+ occurred_at: string;
96197
+ connector_id: string;
96198
+ resource_state: string;
96199
+ } | {
96200
+ found: false;
96201
+ });
96202
+ export interface PlaygroundGdriveReadFileInput {
96203
+ /**
96204
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
96205
+ */
96206
+ fileId?: string;
96207
+ }
96208
+ export interface PlaygroundGdriveReadFileOutput {
96209
+ minted: boolean;
96210
+ file_id: (string | null);
96211
+ file_name: (string | null);
96212
+ mime_type: (string | null);
96213
+ file_count: number;
96214
+ get_status: number;
96215
+ list_status: number;
96216
+ vend_status: number;
96217
+ content_bytes: (number | null);
96218
+ }
96219
+ export interface PlaygroundGoogleadsReadCustomerInput {
96220
+ }
96221
+ export interface PlaygroundGoogleadsReadCustomerOutput {
96222
+ minted: boolean;
96223
+ vended: boolean;
96224
+ customer_id: (string | null);
96225
+ vend_status: number;
96226
+ result_count: number;
96227
+ search_status: number;
96228
+ login_customer_id: (string | null);
96229
+ }
96230
+ export interface PlaygroundLifecycleGetStateInput {
96231
+ }
96232
+ export interface PlaygroundLifecycleGetStateOutput {
96233
+ blocked: boolean;
96234
+ archived: boolean;
96235
+ productId: string;
96236
+ lastBlockTransition: ({
96237
+ eventId: string;
96238
+ eventName: string;
96239
+ productId: string;
96240
+ occurredAt: string;
96241
+ recordedAt: string;
96242
+ receiptCount: number;
96243
+ organizationId: string;
96244
+ cascadedFromOrg: boolean;
96245
+ } | null);
96246
+ lastArchiveTransition: ({
96247
+ eventId: string;
96248
+ eventName: string;
96249
+ productId: string;
96250
+ occurredAt: string;
96251
+ recordedAt: string;
96252
+ receiptCount: number;
96253
+ organizationId: string;
96254
+ cascadedFromOrg: boolean;
96255
+ } | null);
96256
+ }
96257
+ export interface PlaygroundLifecycleListEventsInput {
96258
+ }
96259
+ export type PlaygroundLifecycleListEventsOutput = {
96260
+ eventId: string;
96261
+ eventName: string;
96262
+ productId: string;
96263
+ occurredAt: string;
96264
+ recordedAt: string;
96265
+ receiptCount: number;
96266
+ organizationId: string;
96267
+ cascadedFromOrg: boolean;
96268
+ }[];
96269
+ export interface PlaygroundWebhookGetLastInput {
96270
+ }
96271
+ export type PlaygroundWebhookGetLastOutput = ({
96272
+ payload?: unknown;
96273
+ event_id: string;
96274
+ provider: string;
96275
+ verified: boolean;
96276
+ product_id: string;
96277
+ occurred_at: string;
96278
+ connector_id: string;
96279
+ delivery_count: number;
96280
+ } | {
96281
+ found: false;
96282
+ });
96283
+ export interface PlaygroundWorkflowEchoInput {
96284
+ /**
96285
+ * The text to store, 1–1024 characters
96286
+ */
96287
+ note: string;
96288
+ /**
96289
+ * Optional labels stored alongside the note, at most 20
96290
+ *
96291
+ * @maxItems 20
96292
+ */
96293
+ 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];
96294
+ }
96295
+ export interface PlaygroundWorkflowEchoOutput {
96296
+ /**
96297
+ * Identifier of the stored echo
96298
+ */
96299
+ id: string;
96300
+ /**
96301
+ * The note exactly as it was received
96302
+ */
96303
+ note: string;
96304
+ /**
96305
+ * The tags exactly as they were received
96306
+ */
96307
+ tags: string[];
96308
+ /**
96309
+ * 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.
96310
+ */
96311
+ echo_id: string;
96312
+ /**
96313
+ * ISO-8601 instant (UTC) at which the echo was stored
96314
+ */
96315
+ received_at: string;
96316
+ }
96317
+ export interface PlaygroundWorkflowEchoListInput {
96318
+ }
96319
+ export type PlaygroundWorkflowEchoListOutput = {
96320
+ /**
96321
+ * Identifier of the stored echo
96322
+ */
96323
+ id: string;
96324
+ /**
96325
+ * The note exactly as it was received
96326
+ */
96327
+ note: string;
96328
+ /**
96329
+ * The tags exactly as they were received
96330
+ */
96331
+ tags: string[];
96332
+ /**
96333
+ * ISO-8601 instant (UTC) at which the echo was stored
96334
+ */
96335
+ received_at: string;
96336
+ }[];
96337
+ export interface PlaygroundWorkflowPingInput {
96338
+ /**
96339
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
96340
+ */
96341
+ kind?: string;
96342
+ }
96343
+ export interface PlaygroundWorkflowPingOutput {
96344
+ /**
96345
+ * 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.
96346
+ */
96347
+ id: string;
96348
+ /**
96349
+ * The name of the event that was published
96350
+ */
96351
+ event: string;
96352
+ }
96353
+ export interface PlaygroundWorkflowSubjectsListInput {
96354
+ /**
96355
+ * How many subjects to return, 1–100. Defaults to 25.
96356
+ */
96357
+ limit?: number;
96358
+ /**
96359
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
96360
+ */
96361
+ cursor?: string;
96362
+ /**
96363
+ * 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.
96364
+ */
96365
+ last_activity_after?: string;
96366
+ /**
96367
+ * 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.
96368
+ */
96369
+ last_activity_before?: string;
96370
+ }
96371
+ export interface PlaygroundWorkflowSubjectsListOutput {
96372
+ /**
96373
+ * This page of subjects, most recently active first
96374
+ */
96375
+ items: {
96376
+ /**
96377
+ * 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.
96378
+ */
96379
+ subject_key: string;
96380
+ /**
96381
+ * Human-readable name of the subject
96382
+ */
96383
+ display_name: string;
96384
+ /**
96385
+ * ISO-8601 instant (UTC) of the subject last activity
96386
+ */
96387
+ last_activity_at: string;
96388
+ }[];
96389
+ /**
96390
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
96391
+ */
96392
+ has_more: boolean;
96393
+ /**
96394
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
96395
+ */
96396
+ next_cursor: (string | null);
96397
+ }
96398
+ export interface PlaygroundWsEchoInput {
96399
+ }
96400
+ export type PlaygroundWsEchoOutput = unknown;
96075
96401
  export interface RealtimeArchiveExportInput {
96076
96402
  /**
96077
96403
  * Only entries with ts <= to_ts (epoch ms)
@@ -96947,7 +97273,7 @@ export interface SupportAgentCreateInput {
96947
97273
  */
96948
97274
  displayName: string;
96949
97275
  /**
96950
- * 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
97276
+ * 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
96951
97277
  */
96952
97278
  lesslyUserId?: string;
96953
97279
  }
@@ -96981,7 +97307,7 @@ export interface SupportAgentCreateOutput {
96981
97307
  */
96982
97308
  displayName: string;
96983
97309
  /**
96984
- * 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
97310
+ * 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
96985
97311
  */
96986
97312
  lesslyUserId: (string | null);
96987
97313
  }
@@ -97021,7 +97347,7 @@ export interface SupportAgentGetOutput {
97021
97347
  */
97022
97348
  displayName: string;
97023
97349
  /**
97024
- * 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
97350
+ * 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
97025
97351
  */
97026
97352
  lesslyUserId: (string | null);
97027
97353
  }
@@ -97065,7 +97391,7 @@ export interface SupportAgentListOutput {
97065
97391
  */
97066
97392
  displayName: string;
97067
97393
  /**
97068
- * 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
97394
+ * 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
97069
97395
  */
97070
97396
  lesslyUserId: (string | null);
97071
97397
  }[];
@@ -97092,7 +97418,7 @@ export interface SupportAgentUpdateInput {
97092
97418
  */
97093
97419
  displayName?: string;
97094
97420
  /**
97095
- * Lessly identity to bind, or null to unbind. Stored verbatim, resolved by nobody
97421
+ * Lepsto identity to bind, or null to unbind. Stored verbatim, resolved by nobody
97096
97422
  */
97097
97423
  lesslyUserId?: (string | null);
97098
97424
  }
@@ -97126,7 +97452,7 @@ export interface SupportAgentUpdateOutput {
97126
97452
  */
97127
97453
  displayName: string;
97128
97454
  /**
97129
- * 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
97455
+ * 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
97130
97456
  */
97131
97457
  lesslyUserId: (string | null);
97132
97458
  }
@@ -97438,7 +97764,7 @@ export interface SupportMessageCreateOutput {
97438
97764
  */
97439
97765
  authorExternalId: (string | null);
97440
97766
  /**
97441
- * 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
97767
+ * 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
97442
97768
  */
97443
97769
  createdByIdentityId: (string | null);
97444
97770
  }
@@ -97527,7 +97853,7 @@ export interface SupportMessageDeleteOutput {
97527
97853
  */
97528
97854
  authorExternalId: (string | null);
97529
97855
  /**
97530
- * 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
97856
+ * 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
97531
97857
  */
97532
97858
  createdByIdentityId: (string | null);
97533
97859
  }
@@ -97616,7 +97942,7 @@ export interface SupportMessageDeleteAnyOutput {
97616
97942
  */
97617
97943
  authorExternalId: (string | null);
97618
97944
  /**
97619
- * 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
97945
+ * 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
97620
97946
  */
97621
97947
  createdByIdentityId: (string | null);
97622
97948
  }
@@ -97705,7 +98031,7 @@ export interface SupportMessageGetOutput {
97705
98031
  */
97706
98032
  authorExternalId: (string | null);
97707
98033
  /**
97708
- * 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
98034
+ * 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
97709
98035
  */
97710
98036
  createdByIdentityId: (string | null);
97711
98037
  }
@@ -97830,7 +98156,7 @@ export interface SupportMessageListOutput {
97830
98156
  */
97831
98157
  authorExternalId: (string | null);
97832
98158
  /**
97833
- * 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
98159
+ * 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
97834
98160
  */
97835
98161
  createdByIdentityId: (string | null);
97836
98162
  }[];
@@ -97867,7 +98193,7 @@ export interface SupportMessageRevisionsListOutput {
97867
98193
  */
97868
98194
  messageId: string;
97869
98195
  /**
97870
- * The Lessly identity that made the edit
98196
+ * The Lepsto identity that made the edit
97871
98197
  */
97872
98198
  editedByIdentityId: (string | null);
97873
98199
  }[];
@@ -97961,7 +98287,7 @@ export interface SupportMessageUpdateOutput {
97961
98287
  */
97962
98288
  authorExternalId: (string | null);
97963
98289
  /**
97964
- * 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
98290
+ * 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
97965
98291
  */
97966
98292
  createdByIdentityId: (string | null);
97967
98293
  }
@@ -117929,7 +118255,7 @@ export interface SupportThreadCreateInput {
117929
118255
  */
117930
118256
  authorDisplay?: string;
117931
118257
  /**
117932
- * 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
118258
+ * 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
117933
118259
  */
117934
118260
  authorExternalId: string;
117935
118261
  }