@lessly/sdk-app 124.0.0 → 124.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +10 -12
  2. package/dist/_types/gen/client.gen.d.ts +56 -1
  3. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  4. package/dist/_types/gen/organization/index.d.ts +1 -1
  5. package/dist/_types/gen/organization/queryOptions.gen.d.ts +25 -1
  6. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  7. package/dist/_types/gen/playground/index.d.ts +3 -0
  8. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  9. package/dist/_types/gen/types.gen.d.ts +374 -0
  10. package/dist/chunk-XSWIGIE3.js +12565 -0
  11. package/dist/chunk-XSWIGIE3.js.map +1 -0
  12. package/dist/index.cjs +309 -0
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.js +28 -12270
  15. package/dist/index.js.map +1 -1
  16. package/dist/organization/index.cjs +30 -0
  17. package/dist/organization/index.cjs.map +1 -1
  18. package/dist/organization/index.js +25 -1
  19. package/dist/organization/index.js.map +1 -1
  20. package/dist/playground/index.cjs +106 -0
  21. package/dist/playground/index.cjs.map +1 -0
  22. package/dist/playground/index.d.cts +1 -0
  23. package/dist/playground/index.d.ts +1 -0
  24. package/dist/playground/index.js +78 -0
  25. package/dist/playground/index.js.map +1 -0
  26. package/package.json +12 -2
  27. package/src/gen/bindings.gen.ts +292 -1
  28. package/src/gen/client.gen.ts +101 -0
  29. package/src/gen/manifest.gen.ts +27 -1
  30. package/src/gen/organization/index.ts +1 -1
  31. package/src/gen/organization/queryOptions.gen.ts +42 -0
  32. package/src/gen/playground/connect.gen.ts +9 -0
  33. package/src/gen/playground/index.ts +4 -0
  34. package/src/gen/playground/queryOptions.gen.ts +119 -0
  35. package/src/gen/types.gen.ts +435 -0
@@ -385886,6 +385886,52 @@ export interface OrganizationBillingBudgetsGetInput {
385886
385886
  export interface OrganizationBillingBudgetsGetOutput {
385887
385887
  [k: string]: unknown;
385888
385888
  }
385889
+ export interface OrganizationBillingInvoicesListInput {
385890
+ /**
385891
+ * Invoices per page, at most 100.
385892
+ */
385893
+ limit?: number;
385894
+ /**
385895
+ * next_cursor from the previous page.
385896
+ */
385897
+ starting_after?: string;
385898
+ }
385899
+ export interface OrganizationBillingInvoicesListOutput {
385900
+ [k: string]: unknown;
385901
+ }
385902
+ export interface OrganizationBillingOverviewGetInput {
385903
+ }
385904
+ export interface OrganizationBillingOverviewGetOutput {
385905
+ [k: string]: unknown;
385906
+ }
385907
+ export interface OrganizationBillingPlanGetInput {
385908
+ }
385909
+ export interface OrganizationBillingPlanGetOutput {
385910
+ [k: string]: unknown;
385911
+ }
385912
+ export interface OrganizationBillingProductUsageGetInput {
385913
+ }
385914
+ export interface OrganizationBillingProductUsageGetOutput {
385915
+ [k: string]: unknown;
385916
+ }
385917
+ export interface OrganizationBillingUsageDailyGetInput {
385918
+ /**
385919
+ * UTC calendar month: "current" (the default) or "previous".
385920
+ */
385921
+ window?: ("current" | "previous");
385922
+ }
385923
+ export interface OrganizationBillingUsageDailyGetOutput {
385924
+ [k: string]: unknown;
385925
+ }
385926
+ export interface OrganizationBillingUsageGetInput {
385927
+ /**
385928
+ * UTC calendar month: "current" (the default) or "previous".
385929
+ */
385930
+ window?: ("current" | "previous");
385931
+ }
385932
+ export interface OrganizationBillingUsageGetOutput {
385933
+ [k: string]: unknown;
385934
+ }
385889
385935
  export interface OrganizationBindingsListInput {
385890
385936
  domainId: string;
385891
385937
  productId: string;
@@ -385950,6 +385996,7 @@ export interface OrganizationConnectorsDeleteInput {
385950
385996
  }
385951
385997
  export interface OrganizationConnectorsDeleteOutput {
385952
385998
  success: boolean;
385999
+ cleanupErrors?: string[];
385953
386000
  }
385954
386001
  export interface OrganizationConnectorsDenyRequestInput {
385955
386002
  id: string;
@@ -386059,6 +386106,7 @@ export interface OrganizationConnectorsRemoveInput {
386059
386106
  }
386060
386107
  export interface OrganizationConnectorsRemoveOutput {
386061
386108
  success: boolean;
386109
+ cleanupErrors?: string[];
386062
386110
  }
386063
386111
  export interface OrganizationConnectorsRequestInput {
386064
386112
  id: string;
@@ -389061,6 +389109,332 @@ export interface OrganizationYoutubeInstallInput {
389061
389109
  export interface OrganizationYoutubeInstallOutput {
389062
389110
  url: string;
389063
389111
  }
389112
+ export interface PlaygroundAnalyticsOverviewInput {
389113
+ /**
389114
+ * Max records per entity in recent[]; omit for the endpoint default
389115
+ */
389116
+ limit?: number;
389117
+ }
389118
+ export interface PlaygroundAnalyticsOverviewOutput {
389119
+ ok: boolean;
389120
+ minted: boolean;
389121
+ overview?: unknown;
389122
+ http_status: number;
389123
+ }
389124
+ export interface PlaygroundBillingEntitlementsInput {
389125
+ }
389126
+ export interface PlaygroundBillingEntitlementsOutput {
389127
+ ok: boolean;
389128
+ minted: boolean;
389129
+ http_status: number;
389130
+ entitlements?: unknown;
389131
+ }
389132
+ export interface PlaygroundBillingRecordUsageInput {
389133
+ /**
389134
+ * Quantity of events to record against playground-events (SUM); defaults to 1
389135
+ */
389136
+ value?: number;
389137
+ }
389138
+ export interface PlaygroundBillingRecordUsageOutput {
389139
+ minted: boolean;
389140
+ accepted: (number | null);
389141
+ recorded: boolean;
389142
+ duplicates: (number | null);
389143
+ http_status: number;
389144
+ }
389145
+ export interface PlaygroundClickupCreateTaskInput {
389146
+ /**
389147
+ * Task title; defaults to a fixture label
389148
+ */
389149
+ name?: string;
389150
+ /**
389151
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
389152
+ */
389153
+ listId?: string;
389154
+ }
389155
+ export interface PlaygroundClickupCreateTaskOutput {
389156
+ minted: boolean;
389157
+ task_id: (string | null);
389158
+ list_status: number;
389159
+ vend_status: number;
389160
+ clickup_status: number;
389161
+ installation_count: number;
389162
+ }
389163
+ export interface PlaygroundClickupGetLastWebhookInput {
389164
+ }
389165
+ export type PlaygroundClickupGetLastWebhookOutput = ({
389166
+ payload: string;
389167
+ event_id: string;
389168
+ provider: string;
389169
+ verified: boolean;
389170
+ product_id: string;
389171
+ occurred_at: string;
389172
+ connector_id: string;
389173
+ clickup_event: (string | null);
389174
+ receipt_count: number;
389175
+ } | {
389176
+ found: false;
389177
+ });
389178
+ export interface PlaygroundClickupGetOverviewInput {
389179
+ }
389180
+ export interface PlaygroundClickupGetOverviewOutput {
389181
+ team: ({
389182
+ teamId: string;
389183
+ teamName: string;
389184
+ } | null);
389185
+ lists: PlaygroundClickupGetOverviewOutputItems[];
389186
+ tasks: {
389187
+ id: string;
389188
+ name: string;
389189
+ status: (string | null);
389190
+ }[];
389191
+ minted: boolean;
389192
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
389193
+ list_status: number;
389194
+ vend_status: number;
389195
+ lists_status: number;
389196
+ tasks_status: number;
389197
+ spaces_status: number;
389198
+ folders_status: number;
389199
+ installation_count: number;
389200
+ }
389201
+ export interface PlaygroundClickupGetOverviewOutputItems {
389202
+ id: string;
389203
+ name: string;
389204
+ }
389205
+ export interface PlaygroundEchoPingInput {
389206
+ /**
389207
+ * The text to echo back, 1–1024 characters
389208
+ */
389209
+ message: string;
389210
+ }
389211
+ export interface PlaygroundEchoPingOutput {
389212
+ /**
389213
+ * The message exactly as it was received
389214
+ */
389215
+ message: string;
389216
+ /**
389217
+ * The product the call was resolved to
389218
+ */
389219
+ productId: string;
389220
+ /**
389221
+ * ISO-8601 instant (UTC) at which the call reached the service
389222
+ */
389223
+ receivedAt: string;
389224
+ }
389225
+ export interface PlaygroundGdriveGetLastChangeInput {
389226
+ }
389227
+ export type PlaygroundGdriveGetLastChangeOutput = ({
389228
+ file_id: string;
389229
+ removed: boolean;
389230
+ file_name: (string | null);
389231
+ mime_type: (string | null);
389232
+ product_id: string;
389233
+ occurred_at: string;
389234
+ connector_id: string;
389235
+ resource_state: string;
389236
+ } | {
389237
+ found: false;
389238
+ });
389239
+ export interface PlaygroundGdriveReadFileInput {
389240
+ /**
389241
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
389242
+ */
389243
+ fileId?: string;
389244
+ }
389245
+ export interface PlaygroundGdriveReadFileOutput {
389246
+ minted: boolean;
389247
+ file_id: (string | null);
389248
+ file_name: (string | null);
389249
+ mime_type: (string | null);
389250
+ file_count: number;
389251
+ get_status: number;
389252
+ list_status: number;
389253
+ vend_status: number;
389254
+ content_bytes: (number | null);
389255
+ }
389256
+ export interface PlaygroundGoogleadsReadCustomerInput {
389257
+ }
389258
+ export interface PlaygroundGoogleadsReadCustomerOutput {
389259
+ minted: boolean;
389260
+ vended: boolean;
389261
+ customer_id: (string | null);
389262
+ vend_status: number;
389263
+ result_count: number;
389264
+ search_status: number;
389265
+ login_customer_id: (string | null);
389266
+ }
389267
+ export interface PlaygroundLifecycleGetStateInput {
389268
+ }
389269
+ export interface PlaygroundLifecycleGetStateOutput {
389270
+ blocked: boolean;
389271
+ archived: boolean;
389272
+ productId: string;
389273
+ lastBlockTransition: ({
389274
+ eventId: string;
389275
+ eventName: string;
389276
+ productId: string;
389277
+ occurredAt: string;
389278
+ recordedAt: string;
389279
+ receiptCount: number;
389280
+ organizationId: string;
389281
+ cascadedFromOrg: boolean;
389282
+ } | null);
389283
+ lastArchiveTransition: ({
389284
+ eventId: string;
389285
+ eventName: string;
389286
+ productId: string;
389287
+ occurredAt: string;
389288
+ recordedAt: string;
389289
+ receiptCount: number;
389290
+ organizationId: string;
389291
+ cascadedFromOrg: boolean;
389292
+ } | null);
389293
+ }
389294
+ export interface PlaygroundLifecycleListEventsInput {
389295
+ }
389296
+ export type PlaygroundLifecycleListEventsOutput = {
389297
+ eventId: string;
389298
+ eventName: string;
389299
+ productId: string;
389300
+ occurredAt: string;
389301
+ recordedAt: string;
389302
+ receiptCount: number;
389303
+ organizationId: string;
389304
+ cascadedFromOrg: boolean;
389305
+ }[];
389306
+ export interface PlaygroundWebhookGetLastInput {
389307
+ }
389308
+ export type PlaygroundWebhookGetLastOutput = ({
389309
+ payload?: unknown;
389310
+ event_id: string;
389311
+ provider: string;
389312
+ verified: boolean;
389313
+ product_id: string;
389314
+ occurred_at: string;
389315
+ connector_id: string;
389316
+ delivery_count: number;
389317
+ } | {
389318
+ found: false;
389319
+ });
389320
+ export interface PlaygroundWorkflowEchoInput {
389321
+ /**
389322
+ * The text to store, 1–1024 characters
389323
+ */
389324
+ note: string;
389325
+ /**
389326
+ * Optional labels stored alongside the note, at most 20
389327
+ *
389328
+ * @maxItems 20
389329
+ */
389330
+ 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];
389331
+ }
389332
+ export interface PlaygroundWorkflowEchoOutput {
389333
+ /**
389334
+ * Identifier of the stored echo
389335
+ */
389336
+ id: string;
389337
+ /**
389338
+ * The note exactly as it was received
389339
+ */
389340
+ note: string;
389341
+ /**
389342
+ * The tags exactly as they were received
389343
+ */
389344
+ tags: string[];
389345
+ /**
389346
+ * 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.
389347
+ */
389348
+ echo_id: string;
389349
+ /**
389350
+ * ISO-8601 instant (UTC) at which the echo was stored
389351
+ */
389352
+ received_at: string;
389353
+ }
389354
+ export interface PlaygroundWorkflowEchoListInput {
389355
+ }
389356
+ export type PlaygroundWorkflowEchoListOutput = {
389357
+ /**
389358
+ * Identifier of the stored echo
389359
+ */
389360
+ id: string;
389361
+ /**
389362
+ * The note exactly as it was received
389363
+ */
389364
+ note: string;
389365
+ /**
389366
+ * The tags exactly as they were received
389367
+ */
389368
+ tags: string[];
389369
+ /**
389370
+ * ISO-8601 instant (UTC) at which the echo was stored
389371
+ */
389372
+ received_at: string;
389373
+ }[];
389374
+ export interface PlaygroundWorkflowPingInput {
389375
+ /**
389376
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
389377
+ */
389378
+ kind?: string;
389379
+ }
389380
+ export interface PlaygroundWorkflowPingOutput {
389381
+ /**
389382
+ * 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.
389383
+ */
389384
+ id: string;
389385
+ /**
389386
+ * The name of the event that was published
389387
+ */
389388
+ event: string;
389389
+ }
389390
+ export interface PlaygroundWorkflowSubjectsListInput {
389391
+ /**
389392
+ * How many subjects to return, 1–100. Defaults to 25.
389393
+ */
389394
+ limit?: number;
389395
+ /**
389396
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
389397
+ */
389398
+ cursor?: string;
389399
+ /**
389400
+ * 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.
389401
+ */
389402
+ last_activity_after?: string;
389403
+ /**
389404
+ * 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.
389405
+ */
389406
+ last_activity_before?: string;
389407
+ }
389408
+ export interface PlaygroundWorkflowSubjectsListOutput {
389409
+ /**
389410
+ * This page of subjects, most recently active first
389411
+ */
389412
+ items: {
389413
+ /**
389414
+ * 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.
389415
+ */
389416
+ subject_key: string;
389417
+ /**
389418
+ * Human-readable name of the subject
389419
+ */
389420
+ display_name: string;
389421
+ /**
389422
+ * ISO-8601 instant (UTC) of the subject last activity
389423
+ */
389424
+ last_activity_at: string;
389425
+ }[];
389426
+ /**
389427
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
389428
+ */
389429
+ has_more: boolean;
389430
+ /**
389431
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
389432
+ */
389433
+ next_cursor: (string | null);
389434
+ }
389435
+ export interface PlaygroundWsEchoInput {
389436
+ }
389437
+ export type PlaygroundWsEchoOutput = unknown;
389064
389438
  export interface RealtimeArchiveExportInput {
389065
389439
  /**
389066
389440
  * Only entries with ts <= to_ts (epoch ms)