@lessly/sdk-app 96.0.1 → 96.0.2

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 +1 -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 +11489 -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-DVWGP4BN.js +0 -11704
  26. package/dist/chunk-DVWGP4BN.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
@@ -101601,22 +101601,32 @@ export interface OrganizationAuthMeOutput {
101601
101601
  displayName: string;
101602
101602
  identityType: string;
101603
101603
  }
101604
- export interface OrganizationBillingBudgetsGetInput {
101604
+ export interface OrganizationBillingBudgetClearInput {
101605
101605
  }
101606
- export interface OrganizationBillingBudgetsGetOutput {
101606
+ export interface OrganizationBillingBudgetClearOutput {
101607
101607
  [k: string]: unknown;
101608
101608
  }
101609
- export interface OrganizationBillingCapsClearInput {
101610
- productId: string;
101609
+ export interface OrganizationBillingBudgetResumeInput {
101611
101610
  }
101612
- export interface OrganizationBillingCapsClearOutput {
101611
+ export interface OrganizationBillingBudgetResumeOutput {
101613
101612
  [k: string]: unknown;
101614
101613
  }
101615
- export interface OrganizationBillingCapsSetInput {
101616
- cap_minor: number;
101617
- productId: string;
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;
101618
101623
  }
101619
- export interface OrganizationBillingCapsSetOutput {
101624
+ export interface OrganizationBillingBudgetSetOutput {
101625
+ [k: string]: unknown;
101626
+ }
101627
+ export interface OrganizationBillingBudgetsGetInput {
101628
+ }
101629
+ export interface OrganizationBillingBudgetsGetOutput {
101620
101630
  [k: string]: unknown;
101621
101631
  }
101622
101632
  export interface OrganizationBindingsListInput {
@@ -104797,332 +104807,6 @@ export interface OrganizationYoutubeInstallInput {
104797
104807
  export interface OrganizationYoutubeInstallOutput {
104798
104808
  url: string;
104799
104809
  }
104800
- export interface PlaygroundAnalyticsOverviewInput {
104801
- /**
104802
- * Max records per entity in recent[]; omit for the endpoint default
104803
- */
104804
- limit?: number;
104805
- }
104806
- export interface PlaygroundAnalyticsOverviewOutput {
104807
- ok: boolean;
104808
- minted: boolean;
104809
- overview?: unknown;
104810
- http_status: number;
104811
- }
104812
- export interface PlaygroundBillingEntitlementsInput {
104813
- }
104814
- export interface PlaygroundBillingEntitlementsOutput {
104815
- ok: boolean;
104816
- minted: boolean;
104817
- http_status: number;
104818
- entitlements?: unknown;
104819
- }
104820
- export interface PlaygroundBillingRecordUsageInput {
104821
- /**
104822
- * Quantity of events to record against playground-events (SUM); defaults to 1
104823
- */
104824
- value?: number;
104825
- }
104826
- export interface PlaygroundBillingRecordUsageOutput {
104827
- minted: boolean;
104828
- accepted: (number | null);
104829
- recorded: boolean;
104830
- duplicates: (number | null);
104831
- http_status: number;
104832
- }
104833
- export interface PlaygroundClickupCreateTaskInput {
104834
- /**
104835
- * Task title; defaults to a fixture label
104836
- */
104837
- name?: string;
104838
- /**
104839
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
104840
- */
104841
- listId?: string;
104842
- }
104843
- export interface PlaygroundClickupCreateTaskOutput {
104844
- minted: boolean;
104845
- task_id: (string | null);
104846
- list_status: number;
104847
- vend_status: number;
104848
- clickup_status: number;
104849
- installation_count: number;
104850
- }
104851
- export interface PlaygroundClickupGetLastWebhookInput {
104852
- }
104853
- export type PlaygroundClickupGetLastWebhookOutput = ({
104854
- payload: string;
104855
- event_id: string;
104856
- provider: string;
104857
- verified: boolean;
104858
- product_id: string;
104859
- occurred_at: string;
104860
- connector_id: string;
104861
- clickup_event: (string | null);
104862
- receipt_count: number;
104863
- } | {
104864
- found: false;
104865
- });
104866
- export interface PlaygroundClickupGetOverviewInput {
104867
- }
104868
- export interface PlaygroundClickupGetOverviewOutput {
104869
- team: ({
104870
- teamId: string;
104871
- teamName: string;
104872
- } | null);
104873
- lists: PlaygroundClickupGetOverviewOutputItems[];
104874
- tasks: {
104875
- id: string;
104876
- name: string;
104877
- status: (string | null);
104878
- }[];
104879
- minted: boolean;
104880
- spaces: PlaygroundClickupGetOverviewOutputItems[];
104881
- list_status: number;
104882
- vend_status: number;
104883
- lists_status: number;
104884
- tasks_status: number;
104885
- spaces_status: number;
104886
- folders_status: number;
104887
- installation_count: number;
104888
- }
104889
- export interface PlaygroundClickupGetOverviewOutputItems {
104890
- id: string;
104891
- name: string;
104892
- }
104893
- export interface PlaygroundEchoPingInput {
104894
- /**
104895
- * The text to echo back, 1–1024 characters
104896
- */
104897
- message: string;
104898
- }
104899
- export interface PlaygroundEchoPingOutput {
104900
- /**
104901
- * The message exactly as it was received
104902
- */
104903
- message: string;
104904
- /**
104905
- * The product the call was resolved to
104906
- */
104907
- productId: string;
104908
- /**
104909
- * ISO-8601 instant (UTC) at which the call reached the service
104910
- */
104911
- receivedAt: string;
104912
- }
104913
- export interface PlaygroundGdriveGetLastChangeInput {
104914
- }
104915
- export type PlaygroundGdriveGetLastChangeOutput = ({
104916
- file_id: string;
104917
- removed: boolean;
104918
- file_name: (string | null);
104919
- mime_type: (string | null);
104920
- product_id: string;
104921
- occurred_at: string;
104922
- connector_id: string;
104923
- resource_state: string;
104924
- } | {
104925
- found: false;
104926
- });
104927
- export interface PlaygroundGdriveReadFileInput {
104928
- /**
104929
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
104930
- */
104931
- fileId?: string;
104932
- }
104933
- export interface PlaygroundGdriveReadFileOutput {
104934
- minted: boolean;
104935
- file_id: (string | null);
104936
- file_name: (string | null);
104937
- mime_type: (string | null);
104938
- file_count: number;
104939
- get_status: number;
104940
- list_status: number;
104941
- vend_status: number;
104942
- content_bytes: (number | null);
104943
- }
104944
- export interface PlaygroundGoogleadsReadCustomerInput {
104945
- }
104946
- export interface PlaygroundGoogleadsReadCustomerOutput {
104947
- minted: boolean;
104948
- vended: boolean;
104949
- customer_id: (string | null);
104950
- vend_status: number;
104951
- result_count: number;
104952
- search_status: number;
104953
- login_customer_id: (string | null);
104954
- }
104955
- export interface PlaygroundLifecycleGetStateInput {
104956
- }
104957
- export interface PlaygroundLifecycleGetStateOutput {
104958
- blocked: boolean;
104959
- archived: boolean;
104960
- productId: string;
104961
- lastBlockTransition: ({
104962
- eventId: string;
104963
- eventName: string;
104964
- productId: string;
104965
- occurredAt: string;
104966
- recordedAt: string;
104967
- receiptCount: number;
104968
- organizationId: string;
104969
- cascadedFromOrg: boolean;
104970
- } | null);
104971
- lastArchiveTransition: ({
104972
- eventId: string;
104973
- eventName: string;
104974
- productId: string;
104975
- occurredAt: string;
104976
- recordedAt: string;
104977
- receiptCount: number;
104978
- organizationId: string;
104979
- cascadedFromOrg: boolean;
104980
- } | null);
104981
- }
104982
- export interface PlaygroundLifecycleListEventsInput {
104983
- }
104984
- export type PlaygroundLifecycleListEventsOutput = {
104985
- eventId: string;
104986
- eventName: string;
104987
- productId: string;
104988
- occurredAt: string;
104989
- recordedAt: string;
104990
- receiptCount: number;
104991
- organizationId: string;
104992
- cascadedFromOrg: boolean;
104993
- }[];
104994
- export interface PlaygroundWebhookGetLastInput {
104995
- }
104996
- export type PlaygroundWebhookGetLastOutput = ({
104997
- payload?: unknown;
104998
- event_id: string;
104999
- provider: string;
105000
- verified: boolean;
105001
- product_id: string;
105002
- occurred_at: string;
105003
- connector_id: string;
105004
- delivery_count: number;
105005
- } | {
105006
- found: false;
105007
- });
105008
- export interface PlaygroundWorkflowEchoInput {
105009
- /**
105010
- * The text to store, 1–1024 characters
105011
- */
105012
- note: string;
105013
- /**
105014
- * Optional labels stored alongside the note, at most 20
105015
- *
105016
- * @maxItems 20
105017
- */
105018
- 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];
105019
- }
105020
- export interface PlaygroundWorkflowEchoOutput {
105021
- /**
105022
- * Identifier of the stored echo
105023
- */
105024
- id: string;
105025
- /**
105026
- * The note exactly as it was received
105027
- */
105028
- note: string;
105029
- /**
105030
- * The tags exactly as they were received
105031
- */
105032
- tags: string[];
105033
- /**
105034
- * 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.
105035
- */
105036
- echo_id: string;
105037
- /**
105038
- * ISO-8601 instant (UTC) at which the echo was stored
105039
- */
105040
- received_at: string;
105041
- }
105042
- export interface PlaygroundWorkflowEchoListInput {
105043
- }
105044
- export type PlaygroundWorkflowEchoListOutput = {
105045
- /**
105046
- * Identifier of the stored echo
105047
- */
105048
- id: string;
105049
- /**
105050
- * The note exactly as it was received
105051
- */
105052
- note: string;
105053
- /**
105054
- * The tags exactly as they were received
105055
- */
105056
- tags: string[];
105057
- /**
105058
- * ISO-8601 instant (UTC) at which the echo was stored
105059
- */
105060
- received_at: string;
105061
- }[];
105062
- export interface PlaygroundWorkflowPingInput {
105063
- /**
105064
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
105065
- */
105066
- kind?: string;
105067
- }
105068
- export interface PlaygroundWorkflowPingOutput {
105069
- /**
105070
- * 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.
105071
- */
105072
- id: string;
105073
- /**
105074
- * The name of the event that was published
105075
- */
105076
- event: string;
105077
- }
105078
- export interface PlaygroundWorkflowSubjectsListInput {
105079
- /**
105080
- * How many subjects to return, 1–100. Defaults to 25.
105081
- */
105082
- limit?: number;
105083
- /**
105084
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
105085
- */
105086
- cursor?: string;
105087
- /**
105088
- * 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.
105089
- */
105090
- last_activity_after?: string;
105091
- /**
105092
- * 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.
105093
- */
105094
- last_activity_before?: string;
105095
- }
105096
- export interface PlaygroundWorkflowSubjectsListOutput {
105097
- /**
105098
- * This page of subjects, most recently active first
105099
- */
105100
- items: {
105101
- /**
105102
- * 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.
105103
- */
105104
- subject_key: string;
105105
- /**
105106
- * Human-readable name of the subject
105107
- */
105108
- display_name: string;
105109
- /**
105110
- * ISO-8601 instant (UTC) of the subject last activity
105111
- */
105112
- last_activity_at: string;
105113
- }[];
105114
- /**
105115
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
105116
- */
105117
- has_more: boolean;
105118
- /**
105119
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
105120
- */
105121
- next_cursor: (string | null);
105122
- }
105123
- export interface PlaygroundWsEchoInput {
105124
- }
105125
- export type PlaygroundWsEchoOutput = unknown;
105126
104810
  export interface RealtimeArchiveExportInput {
105127
104811
  /**
105128
104812
  * Only entries with ts <= to_ts (epoch ms)