@lessly/sdk-app 122.0.0 → 122.1.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.
@@ -389037,6 +389037,332 @@ export interface OrganizationYoutubeInstallInput {
389037
389037
  export interface OrganizationYoutubeInstallOutput {
389038
389038
  url: string;
389039
389039
  }
389040
+ export interface PlaygroundAnalyticsOverviewInput {
389041
+ /**
389042
+ * Max records per entity in recent[]; omit for the endpoint default
389043
+ */
389044
+ limit?: number;
389045
+ }
389046
+ export interface PlaygroundAnalyticsOverviewOutput {
389047
+ ok: boolean;
389048
+ minted: boolean;
389049
+ overview?: unknown;
389050
+ http_status: number;
389051
+ }
389052
+ export interface PlaygroundBillingEntitlementsInput {
389053
+ }
389054
+ export interface PlaygroundBillingEntitlementsOutput {
389055
+ ok: boolean;
389056
+ minted: boolean;
389057
+ http_status: number;
389058
+ entitlements?: unknown;
389059
+ }
389060
+ export interface PlaygroundBillingRecordUsageInput {
389061
+ /**
389062
+ * Quantity of events to record against playground-events (SUM); defaults to 1
389063
+ */
389064
+ value?: number;
389065
+ }
389066
+ export interface PlaygroundBillingRecordUsageOutput {
389067
+ minted: boolean;
389068
+ accepted: (number | null);
389069
+ recorded: boolean;
389070
+ duplicates: (number | null);
389071
+ http_status: number;
389072
+ }
389073
+ export interface PlaygroundClickupCreateTaskInput {
389074
+ /**
389075
+ * Task title; defaults to a fixture label
389076
+ */
389077
+ name?: string;
389078
+ /**
389079
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
389080
+ */
389081
+ listId?: string;
389082
+ }
389083
+ export interface PlaygroundClickupCreateTaskOutput {
389084
+ minted: boolean;
389085
+ task_id: (string | null);
389086
+ list_status: number;
389087
+ vend_status: number;
389088
+ clickup_status: number;
389089
+ installation_count: number;
389090
+ }
389091
+ export interface PlaygroundClickupGetLastWebhookInput {
389092
+ }
389093
+ export type PlaygroundClickupGetLastWebhookOutput = ({
389094
+ payload: string;
389095
+ event_id: string;
389096
+ provider: string;
389097
+ verified: boolean;
389098
+ product_id: string;
389099
+ occurred_at: string;
389100
+ connector_id: string;
389101
+ clickup_event: (string | null);
389102
+ receipt_count: number;
389103
+ } | {
389104
+ found: false;
389105
+ });
389106
+ export interface PlaygroundClickupGetOverviewInput {
389107
+ }
389108
+ export interface PlaygroundClickupGetOverviewOutput {
389109
+ team: ({
389110
+ teamId: string;
389111
+ teamName: string;
389112
+ } | null);
389113
+ lists: PlaygroundClickupGetOverviewOutputItems[];
389114
+ tasks: {
389115
+ id: string;
389116
+ name: string;
389117
+ status: (string | null);
389118
+ }[];
389119
+ minted: boolean;
389120
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
389121
+ list_status: number;
389122
+ vend_status: number;
389123
+ lists_status: number;
389124
+ tasks_status: number;
389125
+ spaces_status: number;
389126
+ folders_status: number;
389127
+ installation_count: number;
389128
+ }
389129
+ export interface PlaygroundClickupGetOverviewOutputItems {
389130
+ id: string;
389131
+ name: string;
389132
+ }
389133
+ export interface PlaygroundEchoPingInput {
389134
+ /**
389135
+ * The text to echo back, 1–1024 characters
389136
+ */
389137
+ message: string;
389138
+ }
389139
+ export interface PlaygroundEchoPingOutput {
389140
+ /**
389141
+ * The message exactly as it was received
389142
+ */
389143
+ message: string;
389144
+ /**
389145
+ * The product the call was resolved to
389146
+ */
389147
+ productId: string;
389148
+ /**
389149
+ * ISO-8601 instant (UTC) at which the call reached the service
389150
+ */
389151
+ receivedAt: string;
389152
+ }
389153
+ export interface PlaygroundGdriveGetLastChangeInput {
389154
+ }
389155
+ export type PlaygroundGdriveGetLastChangeOutput = ({
389156
+ file_id: string;
389157
+ removed: boolean;
389158
+ file_name: (string | null);
389159
+ mime_type: (string | null);
389160
+ product_id: string;
389161
+ occurred_at: string;
389162
+ connector_id: string;
389163
+ resource_state: string;
389164
+ } | {
389165
+ found: false;
389166
+ });
389167
+ export interface PlaygroundGdriveReadFileInput {
389168
+ /**
389169
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
389170
+ */
389171
+ fileId?: string;
389172
+ }
389173
+ export interface PlaygroundGdriveReadFileOutput {
389174
+ minted: boolean;
389175
+ file_id: (string | null);
389176
+ file_name: (string | null);
389177
+ mime_type: (string | null);
389178
+ file_count: number;
389179
+ get_status: number;
389180
+ list_status: number;
389181
+ vend_status: number;
389182
+ content_bytes: (number | null);
389183
+ }
389184
+ export interface PlaygroundGoogleadsReadCustomerInput {
389185
+ }
389186
+ export interface PlaygroundGoogleadsReadCustomerOutput {
389187
+ minted: boolean;
389188
+ vended: boolean;
389189
+ customer_id: (string | null);
389190
+ vend_status: number;
389191
+ result_count: number;
389192
+ search_status: number;
389193
+ login_customer_id: (string | null);
389194
+ }
389195
+ export interface PlaygroundLifecycleGetStateInput {
389196
+ }
389197
+ export interface PlaygroundLifecycleGetStateOutput {
389198
+ blocked: boolean;
389199
+ archived: boolean;
389200
+ productId: string;
389201
+ lastBlockTransition: ({
389202
+ eventId: string;
389203
+ eventName: string;
389204
+ productId: string;
389205
+ occurredAt: string;
389206
+ recordedAt: string;
389207
+ receiptCount: number;
389208
+ organizationId: string;
389209
+ cascadedFromOrg: boolean;
389210
+ } | null);
389211
+ lastArchiveTransition: ({
389212
+ eventId: string;
389213
+ eventName: string;
389214
+ productId: string;
389215
+ occurredAt: string;
389216
+ recordedAt: string;
389217
+ receiptCount: number;
389218
+ organizationId: string;
389219
+ cascadedFromOrg: boolean;
389220
+ } | null);
389221
+ }
389222
+ export interface PlaygroundLifecycleListEventsInput {
389223
+ }
389224
+ export type PlaygroundLifecycleListEventsOutput = {
389225
+ eventId: string;
389226
+ eventName: string;
389227
+ productId: string;
389228
+ occurredAt: string;
389229
+ recordedAt: string;
389230
+ receiptCount: number;
389231
+ organizationId: string;
389232
+ cascadedFromOrg: boolean;
389233
+ }[];
389234
+ export interface PlaygroundWebhookGetLastInput {
389235
+ }
389236
+ export type PlaygroundWebhookGetLastOutput = ({
389237
+ payload?: unknown;
389238
+ event_id: string;
389239
+ provider: string;
389240
+ verified: boolean;
389241
+ product_id: string;
389242
+ occurred_at: string;
389243
+ connector_id: string;
389244
+ delivery_count: number;
389245
+ } | {
389246
+ found: false;
389247
+ });
389248
+ export interface PlaygroundWorkflowEchoInput {
389249
+ /**
389250
+ * The text to store, 1–1024 characters
389251
+ */
389252
+ note: string;
389253
+ /**
389254
+ * Optional labels stored alongside the note, at most 20
389255
+ *
389256
+ * @maxItems 20
389257
+ */
389258
+ 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];
389259
+ }
389260
+ export interface PlaygroundWorkflowEchoOutput {
389261
+ /**
389262
+ * Identifier of the stored echo
389263
+ */
389264
+ id: string;
389265
+ /**
389266
+ * The note exactly as it was received
389267
+ */
389268
+ note: string;
389269
+ /**
389270
+ * The tags exactly as they were received
389271
+ */
389272
+ tags: string[];
389273
+ /**
389274
+ * 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.
389275
+ */
389276
+ echo_id: string;
389277
+ /**
389278
+ * ISO-8601 instant (UTC) at which the echo was stored
389279
+ */
389280
+ received_at: string;
389281
+ }
389282
+ export interface PlaygroundWorkflowEchoListInput {
389283
+ }
389284
+ export type PlaygroundWorkflowEchoListOutput = {
389285
+ /**
389286
+ * Identifier of the stored echo
389287
+ */
389288
+ id: string;
389289
+ /**
389290
+ * The note exactly as it was received
389291
+ */
389292
+ note: string;
389293
+ /**
389294
+ * The tags exactly as they were received
389295
+ */
389296
+ tags: string[];
389297
+ /**
389298
+ * ISO-8601 instant (UTC) at which the echo was stored
389299
+ */
389300
+ received_at: string;
389301
+ }[];
389302
+ export interface PlaygroundWorkflowPingInput {
389303
+ /**
389304
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
389305
+ */
389306
+ kind?: string;
389307
+ }
389308
+ export interface PlaygroundWorkflowPingOutput {
389309
+ /**
389310
+ * 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.
389311
+ */
389312
+ id: string;
389313
+ /**
389314
+ * The name of the event that was published
389315
+ */
389316
+ event: string;
389317
+ }
389318
+ export interface PlaygroundWorkflowSubjectsListInput {
389319
+ /**
389320
+ * How many subjects to return, 1–100. Defaults to 25.
389321
+ */
389322
+ limit?: number;
389323
+ /**
389324
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
389325
+ */
389326
+ cursor?: string;
389327
+ /**
389328
+ * 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.
389329
+ */
389330
+ last_activity_after?: string;
389331
+ /**
389332
+ * 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.
389333
+ */
389334
+ last_activity_before?: string;
389335
+ }
389336
+ export interface PlaygroundWorkflowSubjectsListOutput {
389337
+ /**
389338
+ * This page of subjects, most recently active first
389339
+ */
389340
+ items: {
389341
+ /**
389342
+ * 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.
389343
+ */
389344
+ subject_key: string;
389345
+ /**
389346
+ * Human-readable name of the subject
389347
+ */
389348
+ display_name: string;
389349
+ /**
389350
+ * ISO-8601 instant (UTC) of the subject last activity
389351
+ */
389352
+ last_activity_at: string;
389353
+ }[];
389354
+ /**
389355
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
389356
+ */
389357
+ has_more: boolean;
389358
+ /**
389359
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
389360
+ */
389361
+ next_cursor: (string | null);
389362
+ }
389363
+ export interface PlaygroundWsEchoInput {
389364
+ }
389365
+ export type PlaygroundWsEchoOutput = unknown;
389040
389366
  export interface RealtimeArchiveExportInput {
389041
389367
  /**
389042
389368
  * Only entries with ts <= to_ts (epoch ms)
@@ -415387,7 +415713,7 @@ export interface UsersAuditListOutput {
415387
415713
  */
415388
415714
  action: string;
415389
415715
  /**
415390
- * Id of the actor. Null for a system action.
415716
+ * Id of the actor. Null for a system or product-key action.
415391
415717
  */
415392
415718
  actorId: (string | null);
415393
415719
  /**
@@ -415401,9 +415727,9 @@ export interface UsersAuditListOutput {
415401
415727
  */
415402
415728
  targetId: (string | null);
415403
415729
  /**
415404
- * Who acted: `operator` (a human or agent on the management plane), `end_user`, or `system`.
415730
+ * Who acted: `operator` (a human or agent on the management plane), `end_user`, `system`, or `product_key` (a backend using the keyed public edge).
415405
415731
  */
415406
- actorType: ("operator" | "system" | "end_user");
415732
+ actorType: ("operator" | "system" | "end_user" | "product_key");
415407
415733
  /**
415408
415734
  * When the action happened (ISO 8601).
415409
415735
  */