@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
@@ -82417,6 +82417,66 @@ ownerIdentityId: string
82417
82417
  fingerprintSha256: string
82418
82418
  }
82419
82419
 
82420
+ export interface DeploymentStaticDeployInput {
82421
+ deployId: string
82422
+ serviceId: string
82423
+ }
82424
+
82425
+ export interface DeploymentStaticDeployOutput {
82426
+ id: string
82427
+ status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
82428
+ builtAt: (string | null)
82429
+ imageRef: (string | null)
82430
+ commitSha: (string | null)
82431
+ createdAt: string
82432
+ serviceId: string
82433
+ startedAt: (string | null)
82434
+ updatedAt: string
82435
+ deployedAt: (string | null)
82436
+ finishedAt: (string | null)
82437
+ cloudBuildId: (string | null)
82438
+ configSnapshot: {
82439
+ source?: unknown
82440
+ variables: {
82441
+ key: string
82442
+ value: string
82443
+ }[]
82444
+ }
82445
+ lastErrorMessage: (string | null)
82446
+ rolledBackFromDeploymentId: (string | null)
82447
+ }
82448
+
82449
+ export interface DeploymentStaticUploadCreateInput {
82450
+ /**
82451
+ * Archive format of the file you will PUT: 'tgz' (gzipped tarball, the default) or 'zip'.
82452
+ */
82453
+ format?: ("tgz" | "zip")
82454
+ serviceId: string
82455
+ }
82456
+
82457
+ export interface DeploymentStaticUploadCreateOutput {
82458
+ /**
82459
+ * gs:// URL the archive lands at.
82460
+ */
82461
+ object: string
82462
+ /**
82463
+ * Pass to deployment_static_deploy once the PUT succeeded.
82464
+ */
82465
+ deployId: string
82466
+ /**
82467
+ * When uploadUrl stops accepting the PUT (ISO 8601).
82468
+ */
82469
+ expiresAt: string
82470
+ /**
82471
+ * Signed URL; PUT the archive here.
82472
+ */
82473
+ uploadUrl: string
82474
+ /**
82475
+ * The Content-Type header the PUT must send; the URL is signed for exactly this value.
82476
+ */
82477
+ contentType: ("application/gzip" | "application/zip")
82478
+ }
82479
+
82420
82480
  export interface DeploymentSuspensionGetInput {
82421
82481
 
82422
82482
  }
@@ -95554,42 +95614,28 @@ displayName: string
95554
95614
  identityType: string
95555
95615
  }
95556
95616
 
95557
- export interface OrganizationBillingBudgetClearInput {
95558
-
95559
- }
95560
-
95561
- export interface OrganizationBillingBudgetClearOutput {
95562
- [k: string]: unknown
95563
- }
95564
-
95565
- export interface OrganizationBillingBudgetResumeInput {
95617
+ export interface OrganizationBillingBudgetsGetInput {
95566
95618
 
95567
95619
  }
95568
95620
 
95569
- export interface OrganizationBillingBudgetResumeOutput {
95621
+ export interface OrganizationBillingBudgetsGetOutput {
95570
95622
  [k: string]: unknown
95571
95623
  }
95572
95624
 
95573
- export interface OrganizationBillingBudgetSetInput {
95574
- /**
95575
- * At 100%: "pause" stops chargeable compute and blocks new chargeable work until Resume; "alerts_only" only notifies. Default: "pause".
95576
- */
95577
- action?: ("pause" | "alerts_only")
95578
- /**
95579
- * Monthly limit for extra charges, in integer minor units of the organization currency. Example: 50000 = EUR 500.00.
95580
- */
95581
- amount_minor: number
95625
+ export interface OrganizationBillingCapsClearInput {
95626
+ productId: string
95582
95627
  }
95583
95628
 
95584
- export interface OrganizationBillingBudgetSetOutput {
95629
+ export interface OrganizationBillingCapsClearOutput {
95585
95630
  [k: string]: unknown
95586
95631
  }
95587
95632
 
95588
- export interface OrganizationBillingBudgetsGetInput {
95589
-
95633
+ export interface OrganizationBillingCapsSetInput {
95634
+ cap_minor: number
95635
+ productId: string
95590
95636
  }
95591
95637
 
95592
- export interface OrganizationBillingBudgetsGetOutput {
95638
+ export interface OrganizationBillingCapsSetOutput {
95593
95639
  [k: string]: unknown
95594
95640
  }
95595
95641
 
@@ -98827,6 +98873,378 @@ export interface OrganizationYoutubeInstallOutput {
98827
98873
  url: string
98828
98874
  }
98829
98875
 
98876
+ export interface PlaygroundAnalyticsOverviewInput {
98877
+ /**
98878
+ * Max records per entity in recent[]; omit for the endpoint default
98879
+ */
98880
+ limit?: number
98881
+ }
98882
+
98883
+ export interface PlaygroundAnalyticsOverviewOutput {
98884
+ ok: boolean
98885
+ minted: boolean
98886
+ overview?: unknown
98887
+ http_status: number
98888
+ }
98889
+
98890
+ export interface PlaygroundBillingEntitlementsInput {
98891
+
98892
+ }
98893
+
98894
+ export interface PlaygroundBillingEntitlementsOutput {
98895
+ ok: boolean
98896
+ minted: boolean
98897
+ http_status: number
98898
+ entitlements?: unknown
98899
+ }
98900
+
98901
+ export interface PlaygroundBillingRecordUsageInput {
98902
+ /**
98903
+ * Quantity of events to record against playground-events (SUM); defaults to 1
98904
+ */
98905
+ value?: number
98906
+ }
98907
+
98908
+ export interface PlaygroundBillingRecordUsageOutput {
98909
+ minted: boolean
98910
+ accepted: (number | null)
98911
+ recorded: boolean
98912
+ duplicates: (number | null)
98913
+ http_status: number
98914
+ }
98915
+
98916
+ export interface PlaygroundClickupCreateTaskInput {
98917
+ /**
98918
+ * Task title; defaults to a fixture label
98919
+ */
98920
+ name?: string
98921
+ /**
98922
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
98923
+ */
98924
+ listId?: string
98925
+ }
98926
+
98927
+ export interface PlaygroundClickupCreateTaskOutput {
98928
+ minted: boolean
98929
+ task_id: (string | null)
98930
+ list_status: number
98931
+ vend_status: number
98932
+ clickup_status: number
98933
+ installation_count: number
98934
+ }
98935
+
98936
+ export interface PlaygroundClickupGetLastWebhookInput {
98937
+
98938
+ }
98939
+
98940
+ export type PlaygroundClickupGetLastWebhookOutput = ({
98941
+ payload: string
98942
+ event_id: string
98943
+ provider: string
98944
+ verified: boolean
98945
+ product_id: string
98946
+ occurred_at: string
98947
+ connector_id: string
98948
+ clickup_event: (string | null)
98949
+ receipt_count: number
98950
+ } | {
98951
+ found: false
98952
+ })
98953
+
98954
+ export interface PlaygroundClickupGetOverviewInput {
98955
+
98956
+ }
98957
+
98958
+ export interface PlaygroundClickupGetOverviewOutput {
98959
+ team: ({
98960
+ teamId: string
98961
+ teamName: string
98962
+ } | null)
98963
+ lists: PlaygroundClickupGetOverviewOutputItems[]
98964
+ tasks: {
98965
+ id: string
98966
+ name: string
98967
+ status: (string | null)
98968
+ }[]
98969
+ minted: boolean
98970
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
98971
+ list_status: number
98972
+ vend_status: number
98973
+ lists_status: number
98974
+ tasks_status: number
98975
+ spaces_status: number
98976
+ folders_status: number
98977
+ installation_count: number
98978
+ }
98979
+ export interface PlaygroundClickupGetOverviewOutputItems {
98980
+ id: string
98981
+ name: string
98982
+ }
98983
+
98984
+ export interface PlaygroundEchoPingInput {
98985
+ /**
98986
+ * The text to echo back, 1–1024 characters
98987
+ */
98988
+ message: string
98989
+ }
98990
+
98991
+ export interface PlaygroundEchoPingOutput {
98992
+ /**
98993
+ * The message exactly as it was received
98994
+ */
98995
+ message: string
98996
+ /**
98997
+ * The product the call was resolved to
98998
+ */
98999
+ productId: string
99000
+ /**
99001
+ * ISO-8601 instant (UTC) at which the call reached the service
99002
+ */
99003
+ receivedAt: string
99004
+ }
99005
+
99006
+ export interface PlaygroundGdriveGetLastChangeInput {
99007
+
99008
+ }
99009
+
99010
+ export type PlaygroundGdriveGetLastChangeOutput = ({
99011
+ file_id: string
99012
+ removed: boolean
99013
+ file_name: (string | null)
99014
+ mime_type: (string | null)
99015
+ product_id: string
99016
+ occurred_at: string
99017
+ connector_id: string
99018
+ resource_state: string
99019
+ } | {
99020
+ found: false
99021
+ })
99022
+
99023
+ export interface PlaygroundGdriveReadFileInput {
99024
+ /**
99025
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
99026
+ */
99027
+ fileId?: string
99028
+ }
99029
+
99030
+ export interface PlaygroundGdriveReadFileOutput {
99031
+ minted: boolean
99032
+ file_id: (string | null)
99033
+ file_name: (string | null)
99034
+ mime_type: (string | null)
99035
+ file_count: number
99036
+ get_status: number
99037
+ list_status: number
99038
+ vend_status: number
99039
+ content_bytes: (number | null)
99040
+ }
99041
+
99042
+ export interface PlaygroundGoogleadsReadCustomerInput {
99043
+
99044
+ }
99045
+
99046
+ export interface PlaygroundGoogleadsReadCustomerOutput {
99047
+ minted: boolean
99048
+ vended: boolean
99049
+ customer_id: (string | null)
99050
+ vend_status: number
99051
+ result_count: number
99052
+ search_status: number
99053
+ login_customer_id: (string | null)
99054
+ }
99055
+
99056
+ export interface PlaygroundLifecycleGetStateInput {
99057
+
99058
+ }
99059
+
99060
+ export interface PlaygroundLifecycleGetStateOutput {
99061
+ blocked: boolean
99062
+ archived: boolean
99063
+ productId: string
99064
+ lastBlockTransition: ({
99065
+ eventId: string
99066
+ eventName: string
99067
+ productId: string
99068
+ occurredAt: string
99069
+ recordedAt: string
99070
+ receiptCount: number
99071
+ organizationId: string
99072
+ cascadedFromOrg: boolean
99073
+ } | null)
99074
+ lastArchiveTransition: ({
99075
+ eventId: string
99076
+ eventName: string
99077
+ productId: string
99078
+ occurredAt: string
99079
+ recordedAt: string
99080
+ receiptCount: number
99081
+ organizationId: string
99082
+ cascadedFromOrg: boolean
99083
+ } | null)
99084
+ }
99085
+
99086
+ export interface PlaygroundLifecycleListEventsInput {
99087
+
99088
+ }
99089
+
99090
+ export type PlaygroundLifecycleListEventsOutput = {
99091
+ eventId: string
99092
+ eventName: string
99093
+ productId: string
99094
+ occurredAt: string
99095
+ recordedAt: string
99096
+ receiptCount: number
99097
+ organizationId: string
99098
+ cascadedFromOrg: boolean
99099
+ }[]
99100
+
99101
+ export interface PlaygroundWebhookGetLastInput {
99102
+
99103
+ }
99104
+
99105
+ export type PlaygroundWebhookGetLastOutput = ({
99106
+ payload?: unknown
99107
+ event_id: string
99108
+ provider: string
99109
+ verified: boolean
99110
+ product_id: string
99111
+ occurred_at: string
99112
+ connector_id: string
99113
+ delivery_count: number
99114
+ } | {
99115
+ found: false
99116
+ })
99117
+
99118
+ export interface PlaygroundWorkflowEchoInput {
99119
+ /**
99120
+ * The text to store, 1–1024 characters
99121
+ */
99122
+ note: string
99123
+ /**
99124
+ * Optional labels stored alongside the note, at most 20
99125
+ *
99126
+ * @maxItems 20
99127
+ */
99128
+ 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]
99129
+ }
99130
+
99131
+ export interface PlaygroundWorkflowEchoOutput {
99132
+ /**
99133
+ * Identifier of the stored echo
99134
+ */
99135
+ id: string
99136
+ /**
99137
+ * The note exactly as it was received
99138
+ */
99139
+ note: string
99140
+ /**
99141
+ * The tags exactly as they were received
99142
+ */
99143
+ tags: string[]
99144
+ /**
99145
+ * 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.
99146
+ */
99147
+ echo_id: string
99148
+ /**
99149
+ * ISO-8601 instant (UTC) at which the echo was stored
99150
+ */
99151
+ received_at: string
99152
+ }
99153
+
99154
+ export interface PlaygroundWorkflowEchoListInput {
99155
+
99156
+ }
99157
+
99158
+ export type PlaygroundWorkflowEchoListOutput = {
99159
+ /**
99160
+ * Identifier of the stored echo
99161
+ */
99162
+ id: string
99163
+ /**
99164
+ * The note exactly as it was received
99165
+ */
99166
+ note: string
99167
+ /**
99168
+ * The tags exactly as they were received
99169
+ */
99170
+ tags: string[]
99171
+ /**
99172
+ * ISO-8601 instant (UTC) at which the echo was stored
99173
+ */
99174
+ received_at: string
99175
+ }[]
99176
+
99177
+ export interface PlaygroundWorkflowPingInput {
99178
+ /**
99179
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
99180
+ */
99181
+ kind?: string
99182
+ }
99183
+
99184
+ export interface PlaygroundWorkflowPingOutput {
99185
+ /**
99186
+ * 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.
99187
+ */
99188
+ id: string
99189
+ /**
99190
+ * The name of the event that was published
99191
+ */
99192
+ event: string
99193
+ }
99194
+
99195
+ export interface PlaygroundWorkflowSubjectsListInput {
99196
+ /**
99197
+ * How many subjects to return, 1–100. Defaults to 25.
99198
+ */
99199
+ limit?: number
99200
+ /**
99201
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
99202
+ */
99203
+ cursor?: string
99204
+ /**
99205
+ * 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.
99206
+ */
99207
+ last_activity_after?: string
99208
+ /**
99209
+ * 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.
99210
+ */
99211
+ last_activity_before?: string
99212
+ }
99213
+
99214
+ export interface PlaygroundWorkflowSubjectsListOutput {
99215
+ /**
99216
+ * This page of subjects, most recently active first
99217
+ */
99218
+ items: {
99219
+ /**
99220
+ * 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.
99221
+ */
99222
+ subject_key: string
99223
+ /**
99224
+ * Human-readable name of the subject
99225
+ */
99226
+ display_name: string
99227
+ /**
99228
+ * ISO-8601 instant (UTC) of the subject last activity
99229
+ */
99230
+ last_activity_at: string
99231
+ }[]
99232
+ /**
99233
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
99234
+ */
99235
+ has_more: boolean
99236
+ /**
99237
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
99238
+ */
99239
+ next_cursor: (string | null)
99240
+ }
99241
+
99242
+ export interface PlaygroundWsEchoInput {
99243
+
99244
+ }
99245
+
99246
+ export type PlaygroundWsEchoOutput = unknown;
99247
+
98830
99248
  export interface RealtimeArchiveExportInput {
98831
99249
  /**
98832
99250
  * Only entries with ts <= to_ts (epoch ms)