@lessly/sdk-app 96.1.0 → 96.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 (35) hide show
  1. package/CHANGELOG.md +2 -1
  2. package/dist/_types/gen/client.gen.d.ts +6 -42
  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 +12 -8
  6. package/dist/_types/gen/types.gen.d.ts +19 -335
  7. package/dist/index.cjs +26 -251
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.js +11527 -24
  10. package/dist/index.js.map +1 -1
  11. package/dist/organization/index.cjs +15 -10
  12. package/dist/organization/index.cjs.map +1 -1
  13. package/dist/organization/index.js +13 -9
  14. package/dist/organization/index.js.map +1 -1
  15. package/package.json +2 -12
  16. package/src/gen/bindings.gen.ts +24 -238
  17. package/src/gen/client.gen.ts +11 -79
  18. package/src/gen/manifest.gen.ts +4 -23
  19. package/src/gen/organization/index.ts +1 -1
  20. package/src/gen/organization/queryOptions.gen.ts +17 -11
  21. package/src/gen/types.gen.ts +23 -381
  22. package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
  23. package/dist/_types/gen/playground/index.d.ts +0 -3
  24. package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -70
  25. package/dist/chunk-G33O7GKV.js +0 -11742
  26. package/dist/chunk-G33O7GKV.js.map +0 -1
  27. package/dist/playground/index.cjs +0 -106
  28. package/dist/playground/index.cjs.map +0 -1
  29. package/dist/playground/index.d.cts +0 -1
  30. package/dist/playground/index.d.ts +0 -1
  31. package/dist/playground/index.js +0 -78
  32. package/dist/playground/index.js.map +0 -1
  33. package/src/gen/playground/connect.gen.ts +0 -9
  34. package/src/gen/playground/index.ts +0 -4
  35. package/src/gen/playground/queryOptions.gen.ts +0 -119
@@ -101657,22 +101657,32 @@ export interface OrganizationAuthMeOutput {
101657
101657
  displayName: string;
101658
101658
  identityType: string;
101659
101659
  }
101660
- export interface OrganizationBillingBudgetsGetInput {
101660
+ export interface OrganizationBillingBudgetClearInput {
101661
101661
  }
101662
- export interface OrganizationBillingBudgetsGetOutput {
101662
+ export interface OrganizationBillingBudgetClearOutput {
101663
101663
  [k: string]: unknown;
101664
101664
  }
101665
- export interface OrganizationBillingCapsClearInput {
101666
- productId: string;
101665
+ export interface OrganizationBillingBudgetResumeInput {
101667
101666
  }
101668
- export interface OrganizationBillingCapsClearOutput {
101667
+ export interface OrganizationBillingBudgetResumeOutput {
101669
101668
  [k: string]: unknown;
101670
101669
  }
101671
- export interface OrganizationBillingCapsSetInput {
101672
- cap_minor: number;
101673
- productId: string;
101670
+ export interface OrganizationBillingBudgetSetInput {
101671
+ /**
101672
+ * At 100%: "pause" stops chargeable compute and blocks new chargeable work until Resume; "alerts_only" only notifies. Default: "pause".
101673
+ */
101674
+ action?: ("pause" | "alerts_only");
101675
+ /**
101676
+ * Monthly limit for extra charges, in integer minor units of the organization currency. Example: 50000 = EUR 500.00.
101677
+ */
101678
+ amount_minor: number;
101674
101679
  }
101675
- export interface OrganizationBillingCapsSetOutput {
101680
+ export interface OrganizationBillingBudgetSetOutput {
101681
+ [k: string]: unknown;
101682
+ }
101683
+ export interface OrganizationBillingBudgetsGetInput {
101684
+ }
101685
+ export interface OrganizationBillingBudgetsGetOutput {
101676
101686
  [k: string]: unknown;
101677
101687
  }
101678
101688
  export interface OrganizationBindingsListInput {
@@ -104853,332 +104863,6 @@ export interface OrganizationYoutubeInstallInput {
104853
104863
  export interface OrganizationYoutubeInstallOutput {
104854
104864
  url: string;
104855
104865
  }
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;
105182
104866
  export interface RealtimeArchiveExportInput {
105183
104867
  /**
105184
104868
  * Only entries with ts <= to_ts (epoch ms)