@lessly/sdk-app 63.2.4 → 63.3.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 (36) hide show
  1. package/dist/_types/gen/client.gen.d.ts +34 -1
  2. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  3. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  4. package/dist/_types/gen/playground/index.d.ts +3 -0
  5. package/dist/_types/gen/playground/queryOptions.gen.d.ts +50 -0
  6. package/dist/_types/gen/types.gen.d.ts +198 -0
  7. package/dist/_types/gen/workflow/index.d.ts +2 -0
  8. package/dist/_types/gen/workflow/queryOptions.gen.d.ts +6 -0
  9. package/dist/chunk-ELVZARJQ.js +10448 -0
  10. package/dist/chunk-ELVZARJQ.js.map +1 -0
  11. package/dist/index.cjs +153 -1
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.js +16 -10298
  14. package/dist/index.js.map +1 -1
  15. package/dist/playground/index.cjs +81 -0
  16. package/dist/playground/index.cjs.map +1 -0
  17. package/dist/playground/index.d.cts +1 -0
  18. package/dist/playground/index.d.ts +1 -0
  19. package/dist/playground/index.js +58 -0
  20. package/dist/playground/index.js.map +1 -0
  21. package/dist/workflow/index.cjs +11 -0
  22. package/dist/workflow/index.cjs.map +1 -0
  23. package/dist/workflow/index.d.cts +1 -0
  24. package/dist/workflow/index.d.ts +1 -0
  25. package/dist/workflow/index.js +9 -0
  26. package/dist/workflow/index.js.map +1 -0
  27. package/package.json +22 -2
  28. package/src/gen/bindings.gen.ts +148 -1
  29. package/src/gen/client.gen.ts +59 -0
  30. package/src/gen/manifest.gen.ts +14 -1
  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 +86 -0
  34. package/src/gen/types.gen.ts +236 -0
  35. package/src/gen/workflow/index.ts +3 -0
  36. package/src/gen/workflow/queryOptions.gen.ts +11 -0
@@ -85727,6 +85727,232 @@ export interface OrganizationYoutubeInstallOutput {
85727
85727
  url: string
85728
85728
  }
85729
85729
 
85730
+ export interface PlaygroundAnalyticsOverviewInput {
85731
+ /**
85732
+ * Max records per entity in recent[]; omit for the endpoint default
85733
+ */
85734
+ limit?: number
85735
+ }
85736
+
85737
+ export interface PlaygroundAnalyticsOverviewOutput {
85738
+ ok: boolean
85739
+ minted: boolean
85740
+ overview?: unknown
85741
+ http_status: number
85742
+ }
85743
+
85744
+ export interface PlaygroundBillingEntitlementsInput {
85745
+
85746
+ }
85747
+
85748
+ export interface PlaygroundBillingEntitlementsOutput {
85749
+ ok: boolean
85750
+ minted: boolean
85751
+ http_status: number
85752
+ entitlements?: unknown
85753
+ }
85754
+
85755
+ export interface PlaygroundBillingRecordUsageInput {
85756
+ /**
85757
+ * Quantity of events to record against playground-events (SUM); defaults to 1
85758
+ */
85759
+ value?: number
85760
+ }
85761
+
85762
+ export interface PlaygroundBillingRecordUsageOutput {
85763
+ minted: boolean
85764
+ accepted: (number | null)
85765
+ recorded: boolean
85766
+ duplicates: (number | null)
85767
+ http_status: number
85768
+ }
85769
+
85770
+ export interface PlaygroundClickupCreateTaskInput {
85771
+ /**
85772
+ * Task title; defaults to a fixture label
85773
+ */
85774
+ name?: string
85775
+ /**
85776
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
85777
+ */
85778
+ listId?: string
85779
+ }
85780
+
85781
+ export interface PlaygroundClickupCreateTaskOutput {
85782
+ minted: boolean
85783
+ task_id: (string | null)
85784
+ list_status: number
85785
+ vend_status: number
85786
+ clickup_status: number
85787
+ installation_count: number
85788
+ }
85789
+
85790
+ export interface PlaygroundClickupGetLastWebhookInput {
85791
+
85792
+ }
85793
+
85794
+ export type PlaygroundClickupGetLastWebhookOutput = ({
85795
+ payload: string
85796
+ event_id: string
85797
+ provider: string
85798
+ verified: boolean
85799
+ product_id: string
85800
+ occurred_at: string
85801
+ connector_id: string
85802
+ clickup_event: (string | null)
85803
+ receipt_count: number
85804
+ } | {
85805
+ found: false
85806
+ })
85807
+
85808
+ export interface PlaygroundClickupGetOverviewInput {
85809
+
85810
+ }
85811
+
85812
+ export interface PlaygroundClickupGetOverviewOutput {
85813
+ team: ({
85814
+ teamId: string
85815
+ teamName: string
85816
+ } | null)
85817
+ lists: PlaygroundClickupGetOverviewOutputItems[]
85818
+ tasks: {
85819
+ id: string
85820
+ name: string
85821
+ status: (string | null)
85822
+ }[]
85823
+ minted: boolean
85824
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
85825
+ list_status: number
85826
+ vend_status: number
85827
+ lists_status: number
85828
+ tasks_status: number
85829
+ spaces_status: number
85830
+ folders_status: number
85831
+ installation_count: number
85832
+ }
85833
+ export interface PlaygroundClickupGetOverviewOutputItems {
85834
+ id: string
85835
+ name: string
85836
+ }
85837
+
85838
+ export interface PlaygroundGdriveGetLastChangeInput {
85839
+
85840
+ }
85841
+
85842
+ export type PlaygroundGdriveGetLastChangeOutput = ({
85843
+ file_id: string
85844
+ removed: boolean
85845
+ file_name: (string | null)
85846
+ mime_type: (string | null)
85847
+ product_id: string
85848
+ occurred_at: string
85849
+ connector_id: string
85850
+ resource_state: string
85851
+ } | {
85852
+ found: false
85853
+ })
85854
+
85855
+ export interface PlaygroundGdriveReadFileInput {
85856
+ /**
85857
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
85858
+ */
85859
+ fileId?: string
85860
+ }
85861
+
85862
+ export interface PlaygroundGdriveReadFileOutput {
85863
+ minted: boolean
85864
+ file_id: (string | null)
85865
+ file_name: (string | null)
85866
+ mime_type: (string | null)
85867
+ file_count: number
85868
+ get_status: number
85869
+ list_status: number
85870
+ vend_status: number
85871
+ content_bytes: (number | null)
85872
+ }
85873
+
85874
+ export interface PlaygroundGoogleadsReadCustomerInput {
85875
+
85876
+ }
85877
+
85878
+ export interface PlaygroundGoogleadsReadCustomerOutput {
85879
+ minted: boolean
85880
+ vended: boolean
85881
+ customer_id: (string | null)
85882
+ vend_status: number
85883
+ result_count: number
85884
+ search_status: number
85885
+ login_customer_id: (string | null)
85886
+ }
85887
+
85888
+ export interface PlaygroundLifecycleGetStateInput {
85889
+
85890
+ }
85891
+
85892
+ export interface PlaygroundLifecycleGetStateOutput {
85893
+ blocked: boolean
85894
+ archived: boolean
85895
+ productId: string
85896
+ lastBlockTransition: ({
85897
+ eventId: string
85898
+ eventName: string
85899
+ productId: string
85900
+ occurredAt: string
85901
+ recordedAt: string
85902
+ receiptCount: number
85903
+ organizationId: string
85904
+ cascadedFromOrg: boolean
85905
+ } | null)
85906
+ lastArchiveTransition: ({
85907
+ eventId: string
85908
+ eventName: string
85909
+ productId: string
85910
+ occurredAt: string
85911
+ recordedAt: string
85912
+ receiptCount: number
85913
+ organizationId: string
85914
+ cascadedFromOrg: boolean
85915
+ } | null)
85916
+ }
85917
+
85918
+ export interface PlaygroundLifecycleListEventsInput {
85919
+
85920
+ }
85921
+
85922
+ export type PlaygroundLifecycleListEventsOutput = {
85923
+ eventId: string
85924
+ eventName: string
85925
+ productId: string
85926
+ occurredAt: string
85927
+ recordedAt: string
85928
+ receiptCount: number
85929
+ organizationId: string
85930
+ cascadedFromOrg: boolean
85931
+ }[]
85932
+
85933
+ export interface PlaygroundWebhookGetLastInput {
85934
+
85935
+ }
85936
+
85937
+ export type PlaygroundWebhookGetLastOutput = ({
85938
+ payload?: unknown
85939
+ event_id: string
85940
+ provider: string
85941
+ verified: boolean
85942
+ product_id: string
85943
+ occurred_at: string
85944
+ connector_id: string
85945
+ delivery_count: number
85946
+ } | {
85947
+ found: false
85948
+ })
85949
+
85950
+ export interface PlaygroundWsEchoInput {
85951
+
85952
+ }
85953
+
85954
+ export type PlaygroundWsEchoOutput = unknown;
85955
+
85730
85956
  export interface RealtimeArchiveExportInput {
85731
85957
  /**
85732
85958
  * Only entries with ts <= to_ts (epoch ms)
@@ -110623,3 +110849,13 @@ items: {
110623
110849
  has_more: boolean
110624
110850
  next_cursor: (string | null)
110625
110851
  }
110852
+
110853
+ export interface WorkflowHealthPingInput {
110854
+
110855
+ }
110856
+
110857
+ export interface WorkflowHealthPingOutput {
110858
+ ok: boolean
110859
+ toolkit: string
110860
+ productId: string
110861
+ }
@@ -0,0 +1,3 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ export * from './queryOptions.gen';
3
+ export type { WorkflowHealthPingInput, WorkflowHealthPingOutput } from '../types.gen';
@@ -0,0 +1,11 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ import type { GeneratedClient } from '../client.gen';
3
+ import type {
4
+ WorkflowHealthPingInput,
5
+ WorkflowHealthPingOutput,
6
+ } from '../types.gen';
7
+
8
+ export const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({
9
+ queryKey: ['workflow', 'health', 'ping', input] as const,
10
+ queryFn: () => sdk['workflow']['health']['ping'](input),
11
+ });