@lessly/sdk-app 96.0.2 → 96.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 (43) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/dist/_types/gen/client.gen.d.ts +48 -6
  3. package/dist/_types/gen/deployment/index.d.ts +1 -1
  4. package/dist/_types/gen/deployment/queryOptions.gen.d.ts +9 -1
  5. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  6. package/dist/_types/gen/organization/index.d.ts +1 -1
  7. package/dist/_types/gen/organization/queryOptions.gen.d.ts +8 -12
  8. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  9. package/dist/_types/gen/playground/index.d.ts +3 -0
  10. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  11. package/dist/_types/gen/types.gen.d.ts +391 -19
  12. package/dist/chunk-G33O7GKV.js +11742 -0
  13. package/dist/chunk-G33O7GKV.js.map +1 -0
  14. package/dist/deployment/index.cjs +10 -0
  15. package/dist/deployment/index.cjs.map +1 -1
  16. package/dist/deployment/index.js +9 -1
  17. package/dist/deployment/index.js.map +1 -1
  18. package/dist/index.cjs +291 -26
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.js +26 -11489
  21. package/dist/index.js.map +1 -1
  22. package/dist/organization/index.cjs +10 -15
  23. package/dist/organization/index.cjs.map +1 -1
  24. package/dist/organization/index.js +9 -13
  25. package/dist/organization/index.js.map +1 -1
  26. package/dist/playground/index.cjs +106 -0
  27. package/dist/playground/index.cjs.map +1 -0
  28. package/dist/playground/index.d.cts +1 -0
  29. package/dist/playground/index.d.ts +1 -0
  30. package/dist/playground/index.js +78 -0
  31. package/dist/playground/index.js.map +1 -0
  32. package/package.json +12 -2
  33. package/src/gen/bindings.gen.ts +276 -24
  34. package/src/gen/client.gen.ts +89 -11
  35. package/src/gen/deployment/index.ts +1 -1
  36. package/src/gen/deployment/queryOptions.gen.ts +12 -0
  37. package/src/gen/manifest.gen.ts +25 -4
  38. package/src/gen/organization/index.ts +1 -1
  39. package/src/gen/organization/queryOptions.gen.ts +11 -17
  40. package/src/gen/playground/connect.gen.ts +9 -0
  41. package/src/gen/playground/index.ts +4 -0
  42. package/src/gen/playground/queryOptions.gen.ts +119 -0
  43. package/src/gen/types.gen.ts +441 -23
@@ -88241,6 +88241,62 @@ export interface DeploymentSshKeyRegisterOutput {
88241
88241
  ownerIdentityId: string;
88242
88242
  fingerprintSha256: string;
88243
88243
  }
88244
+ export interface DeploymentStaticDeployInput {
88245
+ deployId: string;
88246
+ serviceId: string;
88247
+ }
88248
+ export interface DeploymentStaticDeployOutput {
88249
+ id: string;
88250
+ status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
88251
+ builtAt: (string | null);
88252
+ imageRef: (string | null);
88253
+ commitSha: (string | null);
88254
+ createdAt: string;
88255
+ serviceId: string;
88256
+ startedAt: (string | null);
88257
+ updatedAt: string;
88258
+ deployedAt: (string | null);
88259
+ finishedAt: (string | null);
88260
+ cloudBuildId: (string | null);
88261
+ configSnapshot: {
88262
+ source?: unknown;
88263
+ variables: {
88264
+ key: string;
88265
+ value: string;
88266
+ }[];
88267
+ };
88268
+ lastErrorMessage: (string | null);
88269
+ rolledBackFromDeploymentId: (string | null);
88270
+ }
88271
+ export interface DeploymentStaticUploadCreateInput {
88272
+ /**
88273
+ * Archive format of the file you will PUT: 'tgz' (gzipped tarball, the default) or 'zip'.
88274
+ */
88275
+ format?: ("tgz" | "zip");
88276
+ serviceId: string;
88277
+ }
88278
+ export interface DeploymentStaticUploadCreateOutput {
88279
+ /**
88280
+ * gs:// URL the archive lands at.
88281
+ */
88282
+ object: string;
88283
+ /**
88284
+ * Pass to deployment_static_deploy once the PUT succeeded.
88285
+ */
88286
+ deployId: string;
88287
+ /**
88288
+ * When uploadUrl stops accepting the PUT (ISO 8601).
88289
+ */
88290
+ expiresAt: string;
88291
+ /**
88292
+ * Signed URL; PUT the archive here.
88293
+ */
88294
+ uploadUrl: string;
88295
+ /**
88296
+ * The Content-Type header the PUT must send; the URL is signed for exactly this value.
88297
+ */
88298
+ contentType: ("application/gzip" | "application/zip");
88299
+ }
88244
88300
  export interface DeploymentSuspensionGetInput {
88245
88301
  }
88246
88302
  export interface DeploymentSuspensionGetOutput {
@@ -101601,32 +101657,22 @@ export interface OrganizationAuthMeOutput {
101601
101657
  displayName: string;
101602
101658
  identityType: string;
101603
101659
  }
101604
- export interface OrganizationBillingBudgetClearInput {
101605
- }
101606
- export interface OrganizationBillingBudgetClearOutput {
101607
- [k: string]: unknown;
101608
- }
101609
- export interface OrganizationBillingBudgetResumeInput {
101660
+ export interface OrganizationBillingBudgetsGetInput {
101610
101661
  }
101611
- export interface OrganizationBillingBudgetResumeOutput {
101662
+ export interface OrganizationBillingBudgetsGetOutput {
101612
101663
  [k: string]: unknown;
101613
101664
  }
101614
- export interface OrganizationBillingBudgetSetInput {
101615
- /**
101616
- * At 100%: "pause" stops chargeable compute and blocks new chargeable work until Resume; "alerts_only" only notifies. Default: "pause".
101617
- */
101618
- action?: ("pause" | "alerts_only");
101619
- /**
101620
- * Monthly limit for extra charges, in integer minor units of the organization currency. Example: 50000 = EUR 500.00.
101621
- */
101622
- amount_minor: number;
101665
+ export interface OrganizationBillingCapsClearInput {
101666
+ productId: string;
101623
101667
  }
101624
- export interface OrganizationBillingBudgetSetOutput {
101668
+ export interface OrganizationBillingCapsClearOutput {
101625
101669
  [k: string]: unknown;
101626
101670
  }
101627
- export interface OrganizationBillingBudgetsGetInput {
101671
+ export interface OrganizationBillingCapsSetInput {
101672
+ cap_minor: number;
101673
+ productId: string;
101628
101674
  }
101629
- export interface OrganizationBillingBudgetsGetOutput {
101675
+ export interface OrganizationBillingCapsSetOutput {
101630
101676
  [k: string]: unknown;
101631
101677
  }
101632
101678
  export interface OrganizationBindingsListInput {
@@ -104807,6 +104853,332 @@ export interface OrganizationYoutubeInstallInput {
104807
104853
  export interface OrganizationYoutubeInstallOutput {
104808
104854
  url: string;
104809
104855
  }
104856
+ export interface PlaygroundAnalyticsOverviewInput {
104857
+ /**
104858
+ * Max records per entity in recent[]; omit for the endpoint default
104859
+ */
104860
+ limit?: number;
104861
+ }
104862
+ export interface PlaygroundAnalyticsOverviewOutput {
104863
+ ok: boolean;
104864
+ minted: boolean;
104865
+ overview?: unknown;
104866
+ http_status: number;
104867
+ }
104868
+ export interface PlaygroundBillingEntitlementsInput {
104869
+ }
104870
+ export interface PlaygroundBillingEntitlementsOutput {
104871
+ ok: boolean;
104872
+ minted: boolean;
104873
+ http_status: number;
104874
+ entitlements?: unknown;
104875
+ }
104876
+ export interface PlaygroundBillingRecordUsageInput {
104877
+ /**
104878
+ * Quantity of events to record against playground-events (SUM); defaults to 1
104879
+ */
104880
+ value?: number;
104881
+ }
104882
+ export interface PlaygroundBillingRecordUsageOutput {
104883
+ minted: boolean;
104884
+ accepted: (number | null);
104885
+ recorded: boolean;
104886
+ duplicates: (number | null);
104887
+ http_status: number;
104888
+ }
104889
+ export interface PlaygroundClickupCreateTaskInput {
104890
+ /**
104891
+ * Task title; defaults to a fixture label
104892
+ */
104893
+ name?: string;
104894
+ /**
104895
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
104896
+ */
104897
+ listId?: string;
104898
+ }
104899
+ export interface PlaygroundClickupCreateTaskOutput {
104900
+ minted: boolean;
104901
+ task_id: (string | null);
104902
+ list_status: number;
104903
+ vend_status: number;
104904
+ clickup_status: number;
104905
+ installation_count: number;
104906
+ }
104907
+ export interface PlaygroundClickupGetLastWebhookInput {
104908
+ }
104909
+ export type PlaygroundClickupGetLastWebhookOutput = ({
104910
+ payload: string;
104911
+ event_id: string;
104912
+ provider: string;
104913
+ verified: boolean;
104914
+ product_id: string;
104915
+ occurred_at: string;
104916
+ connector_id: string;
104917
+ clickup_event: (string | null);
104918
+ receipt_count: number;
104919
+ } | {
104920
+ found: false;
104921
+ });
104922
+ export interface PlaygroundClickupGetOverviewInput {
104923
+ }
104924
+ export interface PlaygroundClickupGetOverviewOutput {
104925
+ team: ({
104926
+ teamId: string;
104927
+ teamName: string;
104928
+ } | null);
104929
+ lists: PlaygroundClickupGetOverviewOutputItems[];
104930
+ tasks: {
104931
+ id: string;
104932
+ name: string;
104933
+ status: (string | null);
104934
+ }[];
104935
+ minted: boolean;
104936
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
104937
+ list_status: number;
104938
+ vend_status: number;
104939
+ lists_status: number;
104940
+ tasks_status: number;
104941
+ spaces_status: number;
104942
+ folders_status: number;
104943
+ installation_count: number;
104944
+ }
104945
+ export interface PlaygroundClickupGetOverviewOutputItems {
104946
+ id: string;
104947
+ name: string;
104948
+ }
104949
+ export interface PlaygroundEchoPingInput {
104950
+ /**
104951
+ * The text to echo back, 1–1024 characters
104952
+ */
104953
+ message: string;
104954
+ }
104955
+ export interface PlaygroundEchoPingOutput {
104956
+ /**
104957
+ * The message exactly as it was received
104958
+ */
104959
+ message: string;
104960
+ /**
104961
+ * The product the call was resolved to
104962
+ */
104963
+ productId: string;
104964
+ /**
104965
+ * ISO-8601 instant (UTC) at which the call reached the service
104966
+ */
104967
+ receivedAt: string;
104968
+ }
104969
+ export interface PlaygroundGdriveGetLastChangeInput {
104970
+ }
104971
+ export type PlaygroundGdriveGetLastChangeOutput = ({
104972
+ file_id: string;
104973
+ removed: boolean;
104974
+ file_name: (string | null);
104975
+ mime_type: (string | null);
104976
+ product_id: string;
104977
+ occurred_at: string;
104978
+ connector_id: string;
104979
+ resource_state: string;
104980
+ } | {
104981
+ found: false;
104982
+ });
104983
+ export interface PlaygroundGdriveReadFileInput {
104984
+ /**
104985
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
104986
+ */
104987
+ fileId?: string;
104988
+ }
104989
+ export interface PlaygroundGdriveReadFileOutput {
104990
+ minted: boolean;
104991
+ file_id: (string | null);
104992
+ file_name: (string | null);
104993
+ mime_type: (string | null);
104994
+ file_count: number;
104995
+ get_status: number;
104996
+ list_status: number;
104997
+ vend_status: number;
104998
+ content_bytes: (number | null);
104999
+ }
105000
+ export interface PlaygroundGoogleadsReadCustomerInput {
105001
+ }
105002
+ export interface PlaygroundGoogleadsReadCustomerOutput {
105003
+ minted: boolean;
105004
+ vended: boolean;
105005
+ customer_id: (string | null);
105006
+ vend_status: number;
105007
+ result_count: number;
105008
+ search_status: number;
105009
+ login_customer_id: (string | null);
105010
+ }
105011
+ export interface PlaygroundLifecycleGetStateInput {
105012
+ }
105013
+ export interface PlaygroundLifecycleGetStateOutput {
105014
+ blocked: boolean;
105015
+ archived: boolean;
105016
+ productId: string;
105017
+ lastBlockTransition: ({
105018
+ eventId: string;
105019
+ eventName: string;
105020
+ productId: string;
105021
+ occurredAt: string;
105022
+ recordedAt: string;
105023
+ receiptCount: number;
105024
+ organizationId: string;
105025
+ cascadedFromOrg: boolean;
105026
+ } | null);
105027
+ lastArchiveTransition: ({
105028
+ eventId: string;
105029
+ eventName: string;
105030
+ productId: string;
105031
+ occurredAt: string;
105032
+ recordedAt: string;
105033
+ receiptCount: number;
105034
+ organizationId: string;
105035
+ cascadedFromOrg: boolean;
105036
+ } | null);
105037
+ }
105038
+ export interface PlaygroundLifecycleListEventsInput {
105039
+ }
105040
+ export type PlaygroundLifecycleListEventsOutput = {
105041
+ eventId: string;
105042
+ eventName: string;
105043
+ productId: string;
105044
+ occurredAt: string;
105045
+ recordedAt: string;
105046
+ receiptCount: number;
105047
+ organizationId: string;
105048
+ cascadedFromOrg: boolean;
105049
+ }[];
105050
+ export interface PlaygroundWebhookGetLastInput {
105051
+ }
105052
+ export type PlaygroundWebhookGetLastOutput = ({
105053
+ payload?: unknown;
105054
+ event_id: string;
105055
+ provider: string;
105056
+ verified: boolean;
105057
+ product_id: string;
105058
+ occurred_at: string;
105059
+ connector_id: string;
105060
+ delivery_count: number;
105061
+ } | {
105062
+ found: false;
105063
+ });
105064
+ export interface PlaygroundWorkflowEchoInput {
105065
+ /**
105066
+ * The text to store, 1–1024 characters
105067
+ */
105068
+ note: string;
105069
+ /**
105070
+ * Optional labels stored alongside the note, at most 20
105071
+ *
105072
+ * @maxItems 20
105073
+ */
105074
+ 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];
105075
+ }
105076
+ export interface PlaygroundWorkflowEchoOutput {
105077
+ /**
105078
+ * Identifier of the stored echo
105079
+ */
105080
+ id: string;
105081
+ /**
105082
+ * The note exactly as it was received
105083
+ */
105084
+ note: string;
105085
+ /**
105086
+ * The tags exactly as they were received
105087
+ */
105088
+ tags: string[];
105089
+ /**
105090
+ * 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.
105091
+ */
105092
+ echo_id: string;
105093
+ /**
105094
+ * ISO-8601 instant (UTC) at which the echo was stored
105095
+ */
105096
+ received_at: string;
105097
+ }
105098
+ export interface PlaygroundWorkflowEchoListInput {
105099
+ }
105100
+ export type PlaygroundWorkflowEchoListOutput = {
105101
+ /**
105102
+ * Identifier of the stored echo
105103
+ */
105104
+ id: string;
105105
+ /**
105106
+ * The note exactly as it was received
105107
+ */
105108
+ note: string;
105109
+ /**
105110
+ * The tags exactly as they were received
105111
+ */
105112
+ tags: string[];
105113
+ /**
105114
+ * ISO-8601 instant (UTC) at which the echo was stored
105115
+ */
105116
+ received_at: string;
105117
+ }[];
105118
+ export interface PlaygroundWorkflowPingInput {
105119
+ /**
105120
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
105121
+ */
105122
+ kind?: string;
105123
+ }
105124
+ export interface PlaygroundWorkflowPingOutput {
105125
+ /**
105126
+ * 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.
105127
+ */
105128
+ id: string;
105129
+ /**
105130
+ * The name of the event that was published
105131
+ */
105132
+ event: string;
105133
+ }
105134
+ export interface PlaygroundWorkflowSubjectsListInput {
105135
+ /**
105136
+ * How many subjects to return, 1–100. Defaults to 25.
105137
+ */
105138
+ limit?: number;
105139
+ /**
105140
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
105141
+ */
105142
+ cursor?: string;
105143
+ /**
105144
+ * 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.
105145
+ */
105146
+ last_activity_after?: string;
105147
+ /**
105148
+ * 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.
105149
+ */
105150
+ last_activity_before?: string;
105151
+ }
105152
+ export interface PlaygroundWorkflowSubjectsListOutput {
105153
+ /**
105154
+ * This page of subjects, most recently active first
105155
+ */
105156
+ items: {
105157
+ /**
105158
+ * 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.
105159
+ */
105160
+ subject_key: string;
105161
+ /**
105162
+ * Human-readable name of the subject
105163
+ */
105164
+ display_name: string;
105165
+ /**
105166
+ * ISO-8601 instant (UTC) of the subject last activity
105167
+ */
105168
+ last_activity_at: string;
105169
+ }[];
105170
+ /**
105171
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
105172
+ */
105173
+ has_more: boolean;
105174
+ /**
105175
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
105176
+ */
105177
+ next_cursor: (string | null);
105178
+ }
105179
+ export interface PlaygroundWsEchoInput {
105180
+ }
105181
+ export type PlaygroundWsEchoOutput = unknown;
104810
105182
  export interface RealtimeArchiveExportInput {
104811
105183
  /**
104812
105184
  * Only entries with ts <= to_ts (epoch ms)