@lessly/sdk-app 65.0.0 → 65.2.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 (34) hide show
  1. package/dist/_types/gen/client.gen.d.ts +39 -1
  2. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  3. package/dist/_types/gen/organization/index.d.ts +1 -1
  4. package/dist/_types/gen/organization/queryOptions.gen.d.ts +13 -1
  5. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  6. package/dist/_types/gen/playground/index.d.ts +3 -0
  7. package/dist/_types/gen/playground/queryOptions.gen.d.ts +62 -0
  8. package/dist/_types/gen/types.gen.d.ts +328 -0
  9. package/dist/chunk-Z3HG67EN.js +11085 -0
  10. package/dist/chunk-Z3HG67EN.js.map +1 -0
  11. package/dist/index.cjs +261 -1
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.js +23 -10834
  14. package/dist/index.js.map +1 -1
  15. package/dist/organization/index.cjs +15 -0
  16. package/dist/organization/index.cjs.map +1 -1
  17. package/dist/organization/index.js +13 -1
  18. package/dist/organization/index.js.map +1 -1
  19. package/dist/playground/index.cjs +96 -0
  20. package/dist/playground/index.cjs.map +1 -0
  21. package/dist/playground/index.d.cts +1 -0
  22. package/dist/playground/index.d.ts +1 -0
  23. package/dist/playground/index.js +70 -0
  24. package/dist/playground/index.js.map +1 -0
  25. package/package.json +12 -2
  26. package/src/gen/bindings.gen.ts +249 -1
  27. package/src/gen/client.gen.ts +74 -0
  28. package/src/gen/manifest.gen.ts +21 -1
  29. package/src/gen/organization/index.ts +1 -1
  30. package/src/gen/organization/queryOptions.gen.ts +19 -0
  31. package/src/gen/playground/connect.gen.ts +9 -0
  32. package/src/gen/playground/index.ts +4 -0
  33. package/src/gen/playground/queryOptions.gen.ts +105 -0
  34. package/src/gen/types.gen.ts +376 -0
@@ -90705,6 +90705,77 @@ export interface OrganizationPermissionCatalogOutput {
90705
90705
  display_name: string;
90706
90706
  }[];
90707
90707
  }
90708
+ export interface OrganizationPrincipalGrantsApproveInput {
90709
+ /**
90710
+ * @minItems 1
90711
+ * @maxItems 200
90712
+ */
90713
+ tools: [string, ...(string)[]];
90714
+ productId: string;
90715
+ principalId: string;
90716
+ principalKind: "workflow";
90717
+ }
90718
+ export interface OrganizationPrincipalGrantsApproveOutput {
90719
+ grants: {
90720
+ reason: (string | null);
90721
+ status: string;
90722
+ sponsor: ({
90723
+ userId: (string | null);
90724
+ memberId: string;
90725
+ } | null);
90726
+ toolKey: string;
90727
+ approvedAt: (string | null);
90728
+ }[];
90729
+ pending: string[];
90730
+ effective: string[];
90731
+ productId: string;
90732
+ principalId: string;
90733
+ needsSponsor: string[];
90734
+ principalKind: "workflow";
90735
+ notSponsorable: string[];
90736
+ }
90737
+ export interface OrganizationPrincipalGrantsListInput {
90738
+ productId: string;
90739
+ principalKind?: "workflow";
90740
+ }
90741
+ export interface OrganizationPrincipalGrantsListOutput {
90742
+ principals: {
90743
+ pending: string[];
90744
+ effective: string[];
90745
+ principalId: string;
90746
+ needsSponsor: string[];
90747
+ principalKind: "workflow";
90748
+ }[];
90749
+ }
90750
+ export interface OrganizationPrincipalGrantsRevokeInput {
90751
+ /**
90752
+ * @minItems 1
90753
+ * @maxItems 200
90754
+ */
90755
+ tools?: [string, ...(string)[]];
90756
+ reason?: string;
90757
+ productId: string;
90758
+ principalId: string;
90759
+ principalKind: "workflow";
90760
+ }
90761
+ export interface OrganizationPrincipalGrantsRevokeOutput {
90762
+ grants: {
90763
+ reason: (string | null);
90764
+ status: string;
90765
+ sponsor: ({
90766
+ userId: (string | null);
90767
+ memberId: string;
90768
+ } | null);
90769
+ toolKey: string;
90770
+ approvedAt: (string | null);
90771
+ }[];
90772
+ pending: string[];
90773
+ effective: string[];
90774
+ productId: string;
90775
+ principalId: string;
90776
+ needsSponsor: string[];
90777
+ principalKind: "workflow";
90778
+ }
90708
90779
  export interface OrganizationProductCreateInput {
90709
90780
  name: string;
90710
90781
  region?: "eu";
@@ -91149,6 +91220,263 @@ export interface OrganizationYoutubeInstallInput {
91149
91220
  export interface OrganizationYoutubeInstallOutput {
91150
91221
  url: string;
91151
91222
  }
91223
+ export interface PlaygroundAnalyticsOverviewInput {
91224
+ /**
91225
+ * Max records per entity in recent[]; omit for the endpoint default
91226
+ */
91227
+ limit?: number;
91228
+ }
91229
+ export interface PlaygroundAnalyticsOverviewOutput {
91230
+ ok: boolean;
91231
+ minted: boolean;
91232
+ overview?: unknown;
91233
+ http_status: number;
91234
+ }
91235
+ export interface PlaygroundBillingEntitlementsInput {
91236
+ }
91237
+ export interface PlaygroundBillingEntitlementsOutput {
91238
+ ok: boolean;
91239
+ minted: boolean;
91240
+ http_status: number;
91241
+ entitlements?: unknown;
91242
+ }
91243
+ export interface PlaygroundBillingRecordUsageInput {
91244
+ /**
91245
+ * Quantity of events to record against playground-events (SUM); defaults to 1
91246
+ */
91247
+ value?: number;
91248
+ }
91249
+ export interface PlaygroundBillingRecordUsageOutput {
91250
+ minted: boolean;
91251
+ accepted: (number | null);
91252
+ recorded: boolean;
91253
+ duplicates: (number | null);
91254
+ http_status: number;
91255
+ }
91256
+ export interface PlaygroundClickupCreateTaskInput {
91257
+ /**
91258
+ * Task title; defaults to a fixture label
91259
+ */
91260
+ name?: string;
91261
+ /**
91262
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
91263
+ */
91264
+ listId?: string;
91265
+ }
91266
+ export interface PlaygroundClickupCreateTaskOutput {
91267
+ minted: boolean;
91268
+ task_id: (string | null);
91269
+ list_status: number;
91270
+ vend_status: number;
91271
+ clickup_status: number;
91272
+ installation_count: number;
91273
+ }
91274
+ export interface PlaygroundClickupGetLastWebhookInput {
91275
+ }
91276
+ export type PlaygroundClickupGetLastWebhookOutput = ({
91277
+ payload: string;
91278
+ event_id: string;
91279
+ provider: string;
91280
+ verified: boolean;
91281
+ product_id: string;
91282
+ occurred_at: string;
91283
+ connector_id: string;
91284
+ clickup_event: (string | null);
91285
+ receipt_count: number;
91286
+ } | {
91287
+ found: false;
91288
+ });
91289
+ export interface PlaygroundClickupGetOverviewInput {
91290
+ }
91291
+ export interface PlaygroundClickupGetOverviewOutput {
91292
+ team: ({
91293
+ teamId: string;
91294
+ teamName: string;
91295
+ } | null);
91296
+ lists: PlaygroundClickupGetOverviewOutputItems[];
91297
+ tasks: {
91298
+ id: string;
91299
+ name: string;
91300
+ status: (string | null);
91301
+ }[];
91302
+ minted: boolean;
91303
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
91304
+ list_status: number;
91305
+ vend_status: number;
91306
+ lists_status: number;
91307
+ tasks_status: number;
91308
+ spaces_status: number;
91309
+ folders_status: number;
91310
+ installation_count: number;
91311
+ }
91312
+ export interface PlaygroundClickupGetOverviewOutputItems {
91313
+ id: string;
91314
+ name: string;
91315
+ }
91316
+ export interface PlaygroundGdriveGetLastChangeInput {
91317
+ }
91318
+ export type PlaygroundGdriveGetLastChangeOutput = ({
91319
+ file_id: string;
91320
+ removed: boolean;
91321
+ file_name: (string | null);
91322
+ mime_type: (string | null);
91323
+ product_id: string;
91324
+ occurred_at: string;
91325
+ connector_id: string;
91326
+ resource_state: string;
91327
+ } | {
91328
+ found: false;
91329
+ });
91330
+ export interface PlaygroundGdriveReadFileInput {
91331
+ /**
91332
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
91333
+ */
91334
+ fileId?: string;
91335
+ }
91336
+ export interface PlaygroundGdriveReadFileOutput {
91337
+ minted: boolean;
91338
+ file_id: (string | null);
91339
+ file_name: (string | null);
91340
+ mime_type: (string | null);
91341
+ file_count: number;
91342
+ get_status: number;
91343
+ list_status: number;
91344
+ vend_status: number;
91345
+ content_bytes: (number | null);
91346
+ }
91347
+ export interface PlaygroundGoogleadsReadCustomerInput {
91348
+ }
91349
+ export interface PlaygroundGoogleadsReadCustomerOutput {
91350
+ minted: boolean;
91351
+ vended: boolean;
91352
+ customer_id: (string | null);
91353
+ vend_status: number;
91354
+ result_count: number;
91355
+ search_status: number;
91356
+ login_customer_id: (string | null);
91357
+ }
91358
+ export interface PlaygroundLifecycleGetStateInput {
91359
+ }
91360
+ export interface PlaygroundLifecycleGetStateOutput {
91361
+ blocked: boolean;
91362
+ archived: boolean;
91363
+ productId: string;
91364
+ lastBlockTransition: ({
91365
+ eventId: string;
91366
+ eventName: string;
91367
+ productId: string;
91368
+ occurredAt: string;
91369
+ recordedAt: string;
91370
+ receiptCount: number;
91371
+ organizationId: string;
91372
+ cascadedFromOrg: boolean;
91373
+ } | null);
91374
+ lastArchiveTransition: ({
91375
+ eventId: string;
91376
+ eventName: string;
91377
+ productId: string;
91378
+ occurredAt: string;
91379
+ recordedAt: string;
91380
+ receiptCount: number;
91381
+ organizationId: string;
91382
+ cascadedFromOrg: boolean;
91383
+ } | null);
91384
+ }
91385
+ export interface PlaygroundLifecycleListEventsInput {
91386
+ }
91387
+ export type PlaygroundLifecycleListEventsOutput = {
91388
+ eventId: string;
91389
+ eventName: string;
91390
+ productId: string;
91391
+ occurredAt: string;
91392
+ recordedAt: string;
91393
+ receiptCount: number;
91394
+ organizationId: string;
91395
+ cascadedFromOrg: boolean;
91396
+ }[];
91397
+ export interface PlaygroundWebhookGetLastInput {
91398
+ }
91399
+ export type PlaygroundWebhookGetLastOutput = ({
91400
+ payload?: unknown;
91401
+ event_id: string;
91402
+ provider: string;
91403
+ verified: boolean;
91404
+ product_id: string;
91405
+ occurred_at: string;
91406
+ connector_id: string;
91407
+ delivery_count: number;
91408
+ } | {
91409
+ found: false;
91410
+ });
91411
+ export interface PlaygroundWorkflowEchoInput {
91412
+ /**
91413
+ * The text to store, 1–1024 characters
91414
+ */
91415
+ note: string;
91416
+ /**
91417
+ * Optional labels stored alongside the note, at most 20
91418
+ *
91419
+ * @maxItems 20
91420
+ */
91421
+ 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];
91422
+ }
91423
+ export interface PlaygroundWorkflowEchoOutput {
91424
+ /**
91425
+ * Identifier of the stored echo
91426
+ */
91427
+ id: string;
91428
+ /**
91429
+ * The note exactly as it was received
91430
+ */
91431
+ note: string;
91432
+ /**
91433
+ * The tags exactly as they were received
91434
+ */
91435
+ tags: string[];
91436
+ /**
91437
+ * ISO-8601 instant (UTC) at which the echo was stored
91438
+ */
91439
+ received_at: string;
91440
+ }
91441
+ export interface PlaygroundWorkflowEchoListInput {
91442
+ }
91443
+ export type PlaygroundWorkflowEchoListOutput = {
91444
+ /**
91445
+ * Identifier of the stored echo
91446
+ */
91447
+ id: string;
91448
+ /**
91449
+ * The note exactly as it was received
91450
+ */
91451
+ note: string;
91452
+ /**
91453
+ * The tags exactly as they were received
91454
+ */
91455
+ tags: string[];
91456
+ /**
91457
+ * ISO-8601 instant (UTC) at which the echo was stored
91458
+ */
91459
+ received_at: string;
91460
+ }[];
91461
+ export interface PlaygroundWorkflowPingInput {
91462
+ /**
91463
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
91464
+ */
91465
+ kind?: string;
91466
+ }
91467
+ export interface PlaygroundWorkflowPingOutput {
91468
+ /**
91469
+ * 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.
91470
+ */
91471
+ id: string;
91472
+ /**
91473
+ * The name of the event that was published
91474
+ */
91475
+ event: string;
91476
+ }
91477
+ export interface PlaygroundWsEchoInput {
91478
+ }
91479
+ export type PlaygroundWsEchoOutput = unknown;
91152
91480
  export interface RealtimeArchiveExportInput {
91153
91481
  /**
91154
91482
  * Only entries with ts <= to_ts (epoch ms)