@lessly/sdk-app 61.2.0 → 62.0.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 (34) hide show
  1. package/dist/_types/gen/client.gen.d.ts +53 -2
  2. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  3. package/dist/_types/gen/organization/index.d.ts +1 -1
  4. package/dist/_types/gen/organization/queryOptions.gen.d.ts +57 -5
  5. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  6. package/dist/_types/gen/playground/index.d.ts +3 -0
  7. package/dist/_types/gen/playground/queryOptions.gen.d.ts +50 -0
  8. package/dist/_types/gen/types.gen.d.ts +374 -10
  9. package/dist/chunk-2YAA3AF4.js +10437 -0
  10. package/dist/chunk-2YAA3AF4.js.map +1 -0
  11. package/dist/index.cjs +438 -66
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.js +54 -10105
  14. package/dist/index.js.map +1 -1
  15. package/dist/organization/index.cjs +70 -5
  16. package/dist/organization/index.cjs.map +1 -1
  17. package/dist/organization/index.js +57 -5
  18. package/dist/organization/index.js.map +1 -1
  19. package/dist/playground/index.cjs +81 -0
  20. package/dist/playground/index.cjs.map +1 -0
  21. package/dist/playground/index.d.cts +1 -0
  22. package/dist/playground/index.d.ts +1 -0
  23. package/dist/playground/index.js +58 -0
  24. package/dist/playground/index.js.map +1 -0
  25. package/package.json +12 -2
  26. package/src/gen/bindings.gen.ts +395 -40
  27. package/src/gen/client.gen.ts +104 -3
  28. package/src/gen/manifest.gen.ts +53 -28
  29. package/src/gen/organization/index.ts +1 -1
  30. package/src/gen/organization/queryOptions.gen.ts +87 -6
  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 +441 -12
@@ -0,0 +1,86 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ import type { GeneratedClient } from '../client.gen';
3
+ import type {
4
+ PlaygroundAnalyticsOverviewInput,
5
+ PlaygroundAnalyticsOverviewOutput,
6
+ PlaygroundBillingEntitlementsInput,
7
+ PlaygroundBillingEntitlementsOutput,
8
+ PlaygroundBillingRecordUsageInput,
9
+ PlaygroundClickupCreateTaskInput,
10
+ PlaygroundClickupGetLastWebhookInput,
11
+ PlaygroundClickupGetLastWebhookOutput,
12
+ PlaygroundClickupGetOverviewInput,
13
+ PlaygroundClickupGetOverviewOutput,
14
+ PlaygroundGdriveGetLastChangeInput,
15
+ PlaygroundGdriveGetLastChangeOutput,
16
+ PlaygroundGdriveReadFileInput,
17
+ PlaygroundGdriveReadFileOutput,
18
+ PlaygroundGoogleadsReadCustomerInput,
19
+ PlaygroundGoogleadsReadCustomerOutput,
20
+ PlaygroundLifecycleGetStateInput,
21
+ PlaygroundLifecycleGetStateOutput,
22
+ PlaygroundLifecycleListEventsInput,
23
+ PlaygroundLifecycleListEventsOutput,
24
+ PlaygroundWebhookGetLastInput,
25
+ PlaygroundWebhookGetLastOutput,
26
+ } from '../types.gen';
27
+
28
+ export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
29
+ queryKey: ['playground', 'analytics', 'overview', input] as const,
30
+ queryFn: () => sdk['playground']['analytics']['overview'](input),
31
+ });
32
+
33
+ export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
34
+ queryKey: ['playground', 'billing', 'entitlements', input] as const,
35
+ queryFn: () => sdk['playground']['billing']['entitlements'](input),
36
+ });
37
+
38
+ export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
39
+ mutationKey: ['playground', 'billing', 'record-usage'],
40
+ mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
41
+ });
42
+
43
+ export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
44
+ mutationKey: ['playground', 'clickup', 'create-task'],
45
+ mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
46
+ });
47
+
48
+ export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
49
+ queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
50
+ queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
51
+ });
52
+
53
+ export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
54
+ queryKey: ['playground', 'clickup', 'get-overview', input] as const,
55
+ queryFn: () => sdk['playground']['clickup']['get-overview'](input),
56
+ });
57
+
58
+ export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
59
+ queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
60
+ queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
61
+ });
62
+
63
+ export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
64
+ queryKey: ['playground', 'gdrive', 'read-file', input] as const,
65
+ queryFn: () => sdk['playground']['gdrive']['read-file'](input),
66
+ });
67
+
68
+ export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
69
+ queryKey: ['playground', 'googleads', 'read-customer', input] as const,
70
+ queryFn: () => sdk['playground']['googleads']['read-customer'](input),
71
+ });
72
+
73
+ export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
74
+ queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
75
+ queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
76
+ });
77
+
78
+ export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
79
+ queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
80
+ queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
81
+ });
82
+
83
+ export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
84
+ queryKey: ['playground', 'webhook', 'get-last', input] as const,
85
+ queryFn: () => sdk['playground']['webhook']['get-last'](input),
86
+ });
@@ -84427,14 +84427,6 @@ export interface OrganizationBillingBudgetsGetOutput {
84427
84427
  [k: string]: unknown
84428
84428
  }
84429
84429
 
84430
- export interface OrganizationBillingBudgetsSetInput {
84431
- ceiling_minor: number
84432
- }
84433
-
84434
- export interface OrganizationBillingBudgetsSetOutput {
84435
- [k: string]: unknown
84436
- }
84437
-
84438
84430
  export interface OrganizationBillingCapsClearInput {
84439
84431
  productId: string
84440
84432
  }
@@ -84564,10 +84556,13 @@ config: {
84564
84556
  origin: ("product" | "org")
84565
84557
  status: string
84566
84558
  provider: string
84559
+ reauthAt: (string | null)
84567
84560
  createdAt: string
84568
84561
  customerId: (string | null)
84569
84562
  externalId: string
84570
84563
  displayName: string
84564
+ needsReauth: boolean
84565
+ reauthReason: (string | null)
84571
84566
  }[]
84572
84567
 
84573
84568
  export interface OrganizationConnectorsListAttachmentsInput {
@@ -84593,8 +84588,11 @@ export type OrganizationConnectorsListAvailableOutput = {
84593
84588
  id: string
84594
84589
  status: string
84595
84590
  provider: string
84591
+ reauthAt: (string | null)
84596
84592
  externalId: string
84597
84593
  displayName: string
84594
+ needsReauth: boolean
84595
+ reauthReason: (string | null)
84598
84596
  requestStatus: (("pending" | "denied") | null)
84599
84597
  organizationId: string
84600
84598
  }[]
@@ -84610,9 +84608,12 @@ config: {
84610
84608
  }
84611
84609
  status: string
84612
84610
  provider: string
84611
+ reauthAt: (string | null)
84613
84612
  createdAt: string
84614
84613
  externalId: string
84615
84614
  displayName: string
84615
+ needsReauth: boolean
84616
+ reauthReason: (string | null)
84616
84617
  organizationId: string
84617
84618
  attachedProducts: {
84618
84619
  createdAt: string
@@ -84660,8 +84661,8 @@ status: string
84660
84661
 
84661
84662
  export interface OrganizationCreateInput {
84662
84663
  name: string
84663
- legalName?: string
84664
- ownerName?: string
84664
+ legalName: string
84665
+ ownerName: string
84665
84666
  /**
84666
84667
  * @maxItems 50
84667
84668
  */
@@ -84670,9 +84671,9 @@ name: string
84670
84671
  country: string
84671
84672
  share_pct: number
84672
84673
  }[]
84673
- residencyCountry?: string
84674
+ residencyCountry: string
84674
84675
  ownershipConfirmed?: boolean
84675
- countryOfIncorporation?: string
84676
+ countryOfIncorporation: string
84676
84677
  }
84677
84678
 
84678
84679
  export interface OrganizationCreateOutput {
@@ -84833,6 +84834,152 @@ export interface OrganizationGoogleadsInstallOutput {
84833
84834
  url: string
84834
84835
  }
84835
84836
 
84837
+ export interface OrganizationGroupsCreateInput {
84838
+ name: string
84839
+ orgId: string
84840
+ description?: string
84841
+ }
84842
+
84843
+ export interface OrganizationGroupsCreateOutput {
84844
+ id: string
84845
+ name: string
84846
+ grants: {
84847
+ roleId: string
84848
+ productId: string
84849
+ }[]
84850
+ members: {
84851
+ userId: string
84852
+ }[]
84853
+ createdAt: string
84854
+ updatedAt: string
84855
+ description: (string | null)
84856
+ organizationId: string
84857
+ }
84858
+
84859
+ export interface OrganizationGroupsDeleteInput {
84860
+ orgId: string
84861
+ groupId: string
84862
+ }
84863
+
84864
+ export interface OrganizationGroupsDeleteOutput {
84865
+ [k: string]: unknown
84866
+ }
84867
+
84868
+ export interface OrganizationGroupsGetInput {
84869
+ orgId: string
84870
+ groupId: string
84871
+ }
84872
+
84873
+ export interface OrganizationGroupsGetOutput {
84874
+ id: string
84875
+ name: string
84876
+ grants: {
84877
+ roleId: string
84878
+ productId: string
84879
+ }[]
84880
+ members: {
84881
+ userId: string
84882
+ }[]
84883
+ createdAt: string
84884
+ updatedAt: string
84885
+ description: (string | null)
84886
+ organizationId: string
84887
+ }
84888
+
84889
+ export interface OrganizationGroupsGrantRemoveInput {
84890
+ orgId: string
84891
+ groupId: string
84892
+ productId: string
84893
+ }
84894
+
84895
+ export interface OrganizationGroupsGrantRemoveOutput {
84896
+ [k: string]: unknown
84897
+ }
84898
+
84899
+ export interface OrganizationGroupsGrantSetInput {
84900
+ orgId: string
84901
+ roleId: string
84902
+ groupId: string
84903
+ productId: string
84904
+ }
84905
+
84906
+ export interface OrganizationGroupsGrantSetOutput {
84907
+ [k: string]: unknown
84908
+ }
84909
+
84910
+ export interface OrganizationGroupsListInput {
84911
+ orgId: string
84912
+ }
84913
+
84914
+ export interface OrganizationGroupsListOutput {
84915
+ groups: {
84916
+ id: string
84917
+ name: string
84918
+ grants: {
84919
+ roleId: string
84920
+ productId: string
84921
+ }[]
84922
+ members: {
84923
+ userId: string
84924
+ }[]
84925
+ createdAt: string
84926
+ updatedAt: string
84927
+ description: (string | null)
84928
+ organizationId: string
84929
+ }[]
84930
+ }
84931
+
84932
+ export interface OrganizationGroupsMemberAddInput {
84933
+ orgId: string
84934
+ userId: string
84935
+ groupId: string
84936
+ }
84937
+
84938
+ export interface OrganizationGroupsMemberAddOutput {
84939
+ [k: string]: unknown
84940
+ }
84941
+
84942
+ export interface OrganizationGroupsMemberRemoveInput {
84943
+ orgId: string
84944
+ userId: string
84945
+ groupId: string
84946
+ }
84947
+
84948
+ export interface OrganizationGroupsMemberRemoveOutput {
84949
+ [k: string]: unknown
84950
+ }
84951
+
84952
+ export interface OrganizationGroupsUpdateInput {
84953
+ name?: string
84954
+ orgId: string
84955
+ groupId: string
84956
+ description?: (string | null)
84957
+ }
84958
+
84959
+ export interface OrganizationGroupsUpdateOutput {
84960
+ id: string
84961
+ name: string
84962
+ grants: {
84963
+ roleId: string
84964
+ productId: string
84965
+ }[]
84966
+ members: {
84967
+ userId: string
84968
+ }[]
84969
+ createdAt: string
84970
+ updatedAt: string
84971
+ description: (string | null)
84972
+ organizationId: string
84973
+ }
84974
+
84975
+ export interface OrganizationLinkedinMemberInstallInput {
84976
+
84977
+ }
84978
+
84979
+ export interface OrganizationLinkedinMemberInstallOutput {
84980
+ url: string
84981
+ }
84982
+
84836
84983
  export interface OrganizationListInput {
84837
84984
 
84838
84985
  }
@@ -84843,6 +84990,7 @@ id: string
84843
84990
  name: string
84844
84991
  role: ("owner" | "admin" | "member")
84845
84992
  active: boolean
84993
+ logoUrl: (string | null)
84846
84994
  blockedAt: (string | null)
84847
84995
  blockReason: (("no_subscription" | "under_review") | null)
84848
84996
  }[]
@@ -84950,21 +85098,28 @@ name: string
84950
85098
  role: string
84951
85099
  slug: string
84952
85100
  isCustom: boolean
85101
+ viaGroup: ({
85102
+ id: string
85103
+ name: string
85104
+ } | null)
84953
85105
  expiresAt: (string | null)
84954
85106
  productId: string
84955
85107
  sourceRole: ({
84956
85108
  id: string
84957
85109
  name: string
84958
85110
  } | null)
85111
+ viaGroupId: (string | null)
84959
85112
  grantSource: string
84960
85113
  permissions: ({
84961
85114
  deny: string[]
84962
85115
  allow: string[]
84963
85116
  } | null)
85117
+ directGrantRole: (string | null)
84964
85118
  effectivePermissions: {
84965
85119
  deny: string[]
84966
85120
  allow: string[]
84967
85121
  }
85122
+ directGrantNotInForce: boolean
84968
85123
  }[]
84969
85124
  }
84970
85125
 
@@ -85077,6 +85232,7 @@ name: string
85077
85232
  role: string
85078
85233
  slug: string
85079
85234
  demoAt: (string | null)
85235
+ region: string
85080
85236
  status: string
85081
85237
  logoUrl: (string | null)
85082
85238
  blockedAt: (string | null)
@@ -85097,6 +85253,7 @@ name: string
85097
85253
  role: string
85098
85254
  slug: string
85099
85255
  demoAt: (string | null)
85256
+ region: string
85100
85257
  status: string
85101
85258
  logoUrl: (string | null)
85102
85259
  blockedAt: (string | null)
@@ -85178,6 +85335,19 @@ productId: (string | null)
85178
85335
  }[]
85179
85336
  }
85180
85337
 
85338
+ export interface OrganizationProductMeInput {
85339
+ productId: string
85340
+ }
85341
+
85342
+ export interface OrganizationProductMeOutput {
85343
+ deny: string[]
85344
+ role: string
85345
+ allow: string[]
85346
+ roleId: (string | null)
85347
+ roleName: (string | null)
85348
+ roleType: (("system" | "custom") | null)
85349
+ }
85350
+
85181
85351
  export interface OrganizationProductRevokeAccessInput {
85182
85352
  userId: string
85183
85353
  productId: string
@@ -85222,6 +85392,7 @@ name: string
85222
85392
  role: string
85223
85393
  slug: string
85224
85394
  demoAt: (string | null)
85395
+ region: string
85225
85396
  status: string
85226
85397
  logoUrl: (string | null)
85227
85398
  blockedAt: (string | null)
@@ -85337,6 +85508,14 @@ publicUrl: string
85337
85508
  }[]
85338
85509
  }
85339
85510
 
85511
+ export interface OrganizationRedditInstallInput {
85512
+
85513
+ }
85514
+
85515
+ export interface OrganizationRedditInstallOutput {
85516
+ url: string
85517
+ }
85518
+
85340
85519
  export interface OrganizationRolesCreateInput {
85341
85520
  deny?: string[]
85342
85521
  name: string
@@ -85445,6 +85624,7 @@ title: string
85445
85624
  export interface OrganizationSupportThreadCreateOutput {
85446
85625
  id: string
85447
85626
  title: string
85627
+ legacy: boolean
85448
85628
  status: string
85449
85629
  category: ("open" | "pending" | "resolved" | "closed")
85450
85630
  messages: {
@@ -85457,6 +85637,7 @@ name: string
85457
85637
  createdAt: string
85458
85638
  }[]
85459
85639
  createdAt: string
85640
+ openedByName: string
85460
85641
  lastMessageAt: string
85461
85642
  lastMessagePreview: (string | null)
85462
85643
  }
@@ -85468,6 +85649,7 @@ id: string
85468
85649
  export interface OrganizationSupportThreadGetOutput {
85469
85650
  id: string
85470
85651
  title: string
85652
+ legacy: boolean
85471
85653
  status: string
85472
85654
  category: ("open" | "pending" | "resolved" | "closed")
85473
85655
  messages: {
@@ -85480,6 +85662,7 @@ name: string
85480
85662
  createdAt: string
85481
85663
  }[]
85482
85664
  createdAt: string
85665
+ openedByName: string
85483
85666
  lastMessageAt: string
85484
85667
  lastMessagePreview: (string | null)
85485
85668
  }
@@ -85492,6 +85675,7 @@ body: string
85492
85675
  export interface OrganizationSupportThreadReplyOutput {
85493
85676
  id: string
85494
85677
  title: string
85678
+ legacy: boolean
85495
85679
  status: string
85496
85680
  category: ("open" | "pending" | "resolved" | "closed")
85497
85681
  messages: {
@@ -85504,6 +85688,7 @@ name: string
85504
85688
  createdAt: string
85505
85689
  }[]
85506
85690
  createdAt: string
85691
+ openedByName: string
85507
85692
  lastMessageAt: string
85508
85693
  lastMessagePreview: (string | null)
85509
85694
  }
@@ -85516,14 +85701,258 @@ export interface OrganizationSupportThreadsListOutput {
85516
85701
  threads: {
85517
85702
  id: string
85518
85703
  title: string
85704
+ legacy: boolean
85519
85705
  status: string
85520
85706
  category: ("open" | "pending" | "resolved" | "closed")
85521
85707
  createdAt: string
85708
+ openedByName: string
85522
85709
  lastMessageAt: string
85523
85710
  lastMessagePreview: (string | null)
85524
85711
  }[]
85525
85712
  }
85526
85713
 
85714
+ export interface OrganizationXInstallInput {
85715
+
85716
+ }
85717
+
85718
+ export interface OrganizationXInstallOutput {
85719
+ url: string
85720
+ }
85721
+
85722
+ export interface OrganizationYoutubeInstallInput {
85723
+
85724
+ }
85725
+
85726
+ export interface OrganizationYoutubeInstallOutput {
85727
+ url: string
85728
+ }
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
+
85527
85956
  export interface RealtimeArchiveExportInput {
85528
85957
  /**
85529
85958
  * Only entries with ts <= to_ts (epoch ms)