@lessly/sdk-app 0.2.0 → 0.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 (47) hide show
  1. package/dist/client.gen-DtgaSZYB.d.cts +909 -0
  2. package/dist/client.gen-DtgaSZYB.d.ts +909 -0
  3. package/dist/index.cjs +735 -23
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +735 -23
  8. package/dist/index.js.map +1 -1
  9. package/dist/organization/index.cjs +251 -0
  10. package/dist/organization/index.cjs.map +1 -0
  11. package/dist/organization/index.d.cts +200 -0
  12. package/dist/organization/index.d.ts +200 -0
  13. package/dist/organization/index.js +201 -0
  14. package/dist/organization/index.js.map +1 -0
  15. package/dist/playground/index.cjs +55 -0
  16. package/dist/playground/index.cjs.map +1 -1
  17. package/dist/playground/index.d.cts +46 -2
  18. package/dist/playground/index.d.ts +46 -2
  19. package/dist/playground/index.js +45 -1
  20. package/dist/playground/index.js.map +1 -1
  21. package/package.json +5 -10
  22. package/src/gen/bindings.gen.ts +735 -23
  23. package/src/gen/client.gen.ts +219 -25
  24. package/src/gen/manifest.gen.ts +1 -1
  25. package/src/gen/organization/index.ts +3 -0
  26. package/src/gen/organization/queryOptions.gen.ts +318 -0
  27. package/src/gen/playground/index.ts +1 -1
  28. package/src/gen/playground/queryOptions.gen.ts +76 -0
  29. package/src/gen/types.gen.ts +900 -27
  30. package/dist/client.gen-kP64GHhc.d.cts +0 -75
  31. package/dist/client.gen-kP64GHhc.d.ts +0 -75
  32. package/dist/mail/index.cjs +0 -16
  33. package/dist/mail/index.cjs.map +0 -1
  34. package/dist/mail/index.d.cts +0 -13
  35. package/dist/mail/index.d.ts +0 -13
  36. package/dist/mail/index.js +0 -13
  37. package/dist/mail/index.js.map +0 -1
  38. package/dist/tracking/index.cjs +0 -26
  39. package/dist/tracking/index.cjs.map +0 -1
  40. package/dist/tracking/index.d.cts +0 -20
  41. package/dist/tracking/index.d.ts +0 -20
  42. package/dist/tracking/index.js +0 -21
  43. package/dist/tracking/index.js.map +0 -1
  44. package/src/gen/mail/index.ts +0 -3
  45. package/src/gen/mail/queryOptions.gen.ts +0 -17
  46. package/src/gen/tracking/index.ts +0 -3
  47. package/src/gen/tracking/queryOptions.gen.ts +0 -31
@@ -1,63 +1,936 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
 
3
- export interface MailAudiencesAddContactInput {
4
- audienceId: string
5
- dryRun?: boolean
3
+ export interface OrganizationAuthMeInput {
4
+
5
+ }
6
+
7
+ export interface OrganizationAuthMeOutput {
6
8
  email: string
9
+ identityId: string
10
+ displayName: string
7
11
  }
8
12
 
9
- export interface MailAudiencesAddContactOutput {
10
- contactId: string
13
+ export interface OrganizationBindingsListInput {
14
+ domainId: string
15
+ productId: string
11
16
  }
12
17
 
13
- export interface MailTemplateListInput {
14
- limit?: number
18
+ export type OrganizationBindingsListOutput = {
19
+ host: string
20
+ status: ("pending" | "active" | "failed")
21
+ records: {
22
+ ttl?: number
23
+ name?: string
24
+ target: string
25
+ proxied?: boolean
26
+ priority?: number
27
+ recordType: string
28
+ }[]
29
+ domainId: string
30
+ bindingId: string
31
+ instruction: (string | null)
32
+ statusDetail: (string | null)
33
+ ownerExtension: string
34
+ }[]
35
+
36
+ export interface OrganizationClickupInstallInput {
37
+
38
+ }
39
+
40
+ export interface OrganizationClickupInstallOutput {
41
+ url: string
15
42
  }
16
43
 
17
- export type MailTemplateListOutput = unknown;
44
+ export interface OrganizationClickupListInstallationsInput {
18
45
 
19
- export interface PlaygroundBillingRecordUsageInput {
20
- units: number
21
46
  }
22
47
 
23
- export interface PlaygroundBillingRecordUsageOutput {
24
- ok: boolean
48
+ export type OrganizationClickupListInstallationsOutput = {
49
+ status: string
50
+ teamId: string
51
+ teamName: string
52
+ }[]
53
+
54
+ export interface OrganizationCloudflareInstallInput {
55
+
25
56
  }
26
57
 
27
- export interface TrackingDomainsCreateInput {
28
- host: string
58
+ export interface OrganizationCloudflareInstallOutput {
59
+ url: string
29
60
  }
30
61
 
31
- export interface TrackingDomainsCreateOutput {
62
+ export interface OrganizationConnectorsAttachInput {
32
63
  id: string
33
- host: string
64
+ productIds: string[]
65
+ organizationId: string
34
66
  }
35
67
 
36
- export interface TrackingDomainsGetInput {
68
+ export interface OrganizationConnectorsAttachOutput {
69
+ attachments: {
70
+ createdAt: string
71
+ createdBy: (string | null)
72
+ productId: string
73
+ customerId: (string | null)
74
+ descriptiveName: (string | null)
75
+ }[]
76
+ connectorId: string
77
+ }
78
+
79
+ export interface OrganizationConnectorsDeleteInput {
37
80
  id: string
81
+ organizationId: string
38
82
  }
39
83
 
40
- export interface TrackingDomainsGetOutput {
84
+ export interface OrganizationConnectorsDeleteOutput {
85
+ success: boolean
86
+ }
87
+
88
+ export interface OrganizationConnectorsDetachInput {
41
89
  id: string
42
- host: string
90
+ productId: string
91
+ organizationId: string
92
+ }
93
+
94
+ export interface OrganizationConnectorsDetachOutput {
95
+ success: boolean
96
+ }
97
+
98
+ export interface OrganizationConnectorsListInput {
99
+ productId: string
100
+ }
101
+
102
+ export type OrganizationConnectorsListOutput = {
103
+ id: string
104
+ config: {
105
+ [k: string]: unknown
106
+ }
107
+ status: string
108
+ provider: string
109
+ createdAt: string
110
+ externalId: string
111
+ displayName: string
112
+ }[]
113
+
114
+ export interface OrganizationConnectorsListAttachmentsInput {
115
+ id: string
116
+ organizationId: string
117
+ }
118
+
119
+ export interface OrganizationConnectorsListAttachmentsOutput {
120
+ attachments: {
121
+ createdAt: string
122
+ createdBy: (string | null)
123
+ productId: string
124
+ customerId: (string | null)
125
+ descriptiveName: (string | null)
126
+ }[]
127
+ connectorId: string
43
128
  }
44
129
 
45
- export interface TrackingDomainsListInput {
46
- page?: number
47
- query?: string
130
+ export interface OrganizationConnectorsListOrgInput {
131
+ organizationId: string
48
132
  }
49
133
 
50
- export interface TrackingDomainsListOutput {
134
+ export type OrganizationConnectorsListOrgOutput = {
135
+ id: string
136
+ config: {
137
+ [k: string]: unknown
138
+ }
139
+ status: string
140
+ provider: string
141
+ createdAt: string
142
+ externalId: string
143
+ displayName: string
144
+ organizationId: string
145
+ attachedProducts: {
146
+ createdAt: string
147
+ createdBy: (string | null)
148
+ productId: string
149
+ customerId: (string | null)
150
+ descriptiveName: (string | null)
151
+ }[]
152
+ }[]
153
+
154
+ export interface OrganizationConnectorsRemoveInput {
155
+ id: string
156
+ }
157
+
158
+ export interface OrganizationConnectorsRemoveOutput {
159
+ success: boolean
160
+ }
161
+
162
+ export interface OrganizationDomainsAddInput {
163
+ domain: string
164
+ productId: string
165
+ }
166
+
167
+ export interface OrganizationDomainsAddOutput {
168
+ id: string
169
+ mode: ("external" | "managed")
170
+ domain: string
171
+ createdAt: string
172
+ createdBy: string
173
+ productId: string
174
+ providerConnectorId: (string | null)
175
+ }
176
+
177
+ export interface OrganizationDomainsGetInput {
178
+ domainId: string
179
+ productId: string
180
+ }
181
+
182
+ export interface OrganizationDomainsGetOutput {
183
+ id: string
184
+ mode: ("external" | "managed")
185
+ domain: string
186
+ createdAt: string
187
+ createdBy: string
188
+ productId: string
189
+ providerConnectorId: (string | null)
190
+ }
191
+
192
+ export interface OrganizationDomainsListInput {
193
+ productId: string
194
+ }
195
+
196
+ export interface OrganizationDomainsListOutput {
51
197
  domains: {
52
198
  id: string
53
- host: string
199
+ mode: ("external" | "managed")
200
+ domain: string
201
+ createdAt: string
202
+ createdBy: string
203
+ productId: string
204
+ extensionCount: number
205
+ providerConnectorId: (string | null)
54
206
  }[]
55
207
  }
56
208
 
57
- export interface TrackingEventNamesListInput {
209
+ export interface OrganizationDomainsRemoveInput {
210
+ domainId: string
211
+ productId: string
212
+ }
213
+
214
+ export interface OrganizationDomainsRemoveOutput {
215
+ [k: string]: unknown
216
+ }
58
217
 
218
+ export interface OrganizationExtensionsInstallInput {
219
+ productId: string
220
+ extensionId: string
59
221
  }
60
222
 
61
- export interface TrackingEventNamesListOutput {
62
- names: string[]
223
+ export interface OrganizationExtensionsInstallOutput {
224
+ message: string
225
+ }
226
+
227
+ export interface OrganizationExtensionsListInput {
228
+
63
229
  }
230
+
231
+ export interface OrganizationExtensionsListOutput {
232
+ extensions: {
233
+ id: string
234
+ name: string
235
+ status: string
236
+ uiMode: ("federation" | "standalone")
237
+ version: string
238
+ manifest: {
239
+ [k: string]: unknown
240
+ }
241
+ }[]
242
+ }
243
+
244
+ export interface OrganizationExtensionsListInstalledInput {
245
+ productId: string
246
+ }
247
+
248
+ export interface OrganizationExtensionsListInstalledOutput {
249
+ extensions: {
250
+ id: string
251
+ name: string
252
+ status: string
253
+ uiMode: ("federation" | "standalone")
254
+ version: string
255
+ manifest: {
256
+ [k: string]: unknown
257
+ }
258
+ installedAt: string
259
+ }[]
260
+ }
261
+
262
+ export interface OrganizationExtensionsUninstallInput {
263
+ productId: string
264
+ extensionId: string
265
+ }
266
+
267
+ export interface OrganizationExtensionsUninstallOutput {
268
+ message: string
269
+ }
270
+
271
+ export interface OrganizationGdriveInstallInput {
272
+
273
+ }
274
+
275
+ export interface OrganizationGdriveInstallOutput {
276
+ url: string
277
+ }
278
+
279
+ export interface OrganizationGithubInstallInput {
280
+
281
+ }
282
+
283
+ export interface OrganizationGithubInstallOutput {
284
+ url: string
285
+ }
286
+
287
+ export interface OrganizationGithubListInstallationsInput {
288
+
289
+ }
290
+
291
+ export type OrganizationGithubListInstallationsOutput = {
292
+ status: string
293
+ accountType: string
294
+ accountLogin: string
295
+ installationId: number
296
+ }[]
297
+
298
+ export interface OrganizationGoogleadsInstallInput {
299
+ organizationId: string
300
+ }
301
+
302
+ export interface OrganizationGoogleadsInstallOutput {
303
+ url: string
304
+ }
305
+
306
+ export interface OrganizationMemberAcceptInviteInput {
307
+ token: string
308
+ }
309
+
310
+ export interface OrganizationMemberAcceptInviteOutput {
311
+ name: string
312
+ role: string
313
+ products: {
314
+ id: string
315
+ name: string
316
+ role: string
317
+ slug: string
318
+ }[]
319
+ organizationId: string
320
+ }
321
+
322
+ export interface OrganizationMemberInviteInput {
323
+ role: ("owner" | "admin" | "member")
324
+ email: string
325
+ productShares?: {
326
+ role?: string
327
+ roleId?: string
328
+ expiresAt?: (string | null)
329
+ productId: string
330
+ permissions?: {
331
+ deny?: string[]
332
+ allow?: string[]
333
+ }
334
+ }[]
335
+ organizationId: string
336
+ }
337
+
338
+ export type OrganizationMemberInviteOutput = ({
339
+ id: string
340
+ role: string
341
+ email: string
342
+ status: string
343
+ outcome: "invited"
344
+ createdAt: string
345
+ expiresAt: string
346
+ } | {
347
+ name: string
348
+ role: string
349
+ userId: string
350
+ outcome: "added"
351
+ products: {
352
+ id: string
353
+ name: string
354
+ role: string
355
+ slug: string
356
+ }[]
357
+ organizationId: string
358
+ })
359
+
360
+ export interface OrganizationMemberListInput {
361
+ organizationId: string
362
+ }
363
+
364
+ export interface OrganizationMemberListOutput {
365
+ members: {
366
+ id: string
367
+ role: string
368
+ status: string
369
+ userId: string
370
+ products: {
371
+ role: string
372
+ expiresAt: (string | null)
373
+ productId: string
374
+ grantSource: string
375
+ }[]
376
+ createdAt: string
377
+ displayName: (string | null)
378
+ }[]
379
+ }
380
+
381
+ export interface OrganizationMemberListInvitationsInput {
382
+ organizationId: string
383
+ }
384
+
385
+ export interface OrganizationMemberListInvitationsOutput {
386
+ invitations: {
387
+ id: string
388
+ role: string
389
+ email: string
390
+ status: string
391
+ createdAt: string
392
+ expiresAt: string
393
+ invitedByDisplayName: string
394
+ }[]
395
+ }
396
+
397
+ export interface OrganizationMemberListProductAccessInput {
398
+ userId: string
399
+ organizationId: string
400
+ }
401
+
402
+ export interface OrganizationMemberListProductAccessOutput {
403
+ products: {
404
+ name: string
405
+ role: string
406
+ slug: string
407
+ isCustom: boolean
408
+ expiresAt: (string | null)
409
+ productId: string
410
+ sourceRole: ({
411
+ id: string
412
+ name: string
413
+ } | null)
414
+ grantSource: string
415
+ permissions: ({
416
+ deny: string[]
417
+ allow: string[]
418
+ } | null)
419
+ effectivePermissions: {
420
+ deny: string[]
421
+ allow: string[]
422
+ }
423
+ }[]
424
+ }
425
+
426
+ export interface OrganizationMemberRemoveInput {
427
+ userId: string
428
+ organizationId: string
429
+ }
430
+
431
+ export interface OrganizationMemberRemoveOutput {
432
+ [k: string]: unknown
433
+ }
434
+
435
+ export interface OrganizationMemberRevokeInvitationInput {
436
+ invitationId: string
437
+ organizationId: string
438
+ }
439
+
440
+ export interface OrganizationMemberRevokeInvitationOutput {
441
+ [k: string]: unknown
442
+ }
443
+
444
+ export interface OrganizationMemberSetRoleInput {
445
+ role: ("admin" | "member")
446
+ userId: string
447
+ organizationId: string
448
+ }
449
+
450
+ export interface OrganizationMemberSetRoleOutput {
451
+ role: string
452
+ userId: string
453
+ }
454
+
455
+ export interface OrganizationMemberShareProductInput {
456
+ role?: string
457
+ roleId?: string
458
+ userId: string
459
+ expiresAt?: (string | null)
460
+ productId: string
461
+ permissions?: {
462
+ deny?: string[]
463
+ allow?: string[]
464
+ }
465
+ organizationId: string
466
+ }
467
+
468
+ export interface OrganizationMemberShareProductOutput {
469
+ role: string
470
+ userId: string
471
+ expiresAt: (string | null)
472
+ productId: string
473
+ }
474
+
475
+ export interface OrganizationMemberUnshareProductInput {
476
+ userId: string
477
+ productId: string
478
+ organizationId: string
479
+ }
480
+
481
+ export interface OrganizationMemberUnshareProductOutput {
482
+ [k: string]: unknown
483
+ }
484
+
485
+ export interface OrganizationMembersAssignRoleInput {
486
+ roleId: string
487
+ memberId: string
488
+ productId: string
489
+ }
490
+
491
+ export interface OrganizationMembersAssignRoleOutput {
492
+ id: string
493
+ role: string
494
+ roleId: (string | null)
495
+ status: string
496
+ userId: (string | null)
497
+ agentId: (string | null)
498
+ joinedAt: (string | null)
499
+ expiresAt: (string | null)
500
+ invitedAt: string
501
+ invitedBy: (string | null)
502
+ productId: string
503
+ grantSource: string
504
+ permissions: {
505
+ [k: string]: unknown
506
+ }
507
+ }
508
+
509
+ export interface OrganizationPermissionCatalogInput {
510
+
511
+ }
512
+
513
+ export interface OrganizationPermissionCatalogOutput {
514
+ catalog: {
515
+ key: string
516
+ group: string
517
+ level: ("read" | "write" | "admin")
518
+ scope: ("user" | "product")
519
+ display_name: string
520
+ }[]
521
+ }
522
+
523
+ export interface OrganizationProductAcceptInvitationInput {
524
+ token: string
525
+ }
526
+
527
+ export interface OrganizationProductAcceptInvitationOutput {
528
+ product: {
529
+ id: string
530
+ name: string
531
+ role: string
532
+ slug: string
533
+ status: string
534
+ createdAt: string
535
+ }
536
+ }
537
+
538
+ export interface OrganizationProductCreateInput {
539
+ name: string
540
+ organizationName?: string
541
+ }
542
+
543
+ export interface OrganizationProductCreateOutput {
544
+ id: string
545
+ name: string
546
+ role: string
547
+ slug: string
548
+ status: string
549
+ blockedAt: (string | null)
550
+ createdAt: string
551
+ archivedAt: (string | null)
552
+ }
553
+
554
+ export interface OrganizationProductInviteInput {
555
+ email: string
556
+ productId: string
557
+ }
558
+
559
+ export interface OrganizationProductInviteOutput {
560
+ id: string
561
+ role: string
562
+ email: (string | null)
563
+ status: string
564
+ createdAt: string
565
+ expiresAt: string
566
+ }
567
+
568
+ export interface OrganizationProductListInput {
569
+
570
+ }
571
+
572
+ export interface OrganizationProductListOutput {
573
+ products: {
574
+ id: string
575
+ name: string
576
+ role: string
577
+ slug: string
578
+ status: string
579
+ blockedAt: (string | null)
580
+ createdAt: string
581
+ archivedAt: (string | null)
582
+ }[]
583
+ }
584
+
585
+ export interface OrganizationProductListInvitationsInput {
586
+ productId: string
587
+ }
588
+
589
+ export interface OrganizationProductListInvitationsOutput {
590
+ invitations: {
591
+ id: string
592
+ role: string
593
+ email: (string | null)
594
+ status: string
595
+ createdAt: string
596
+ expiresAt: string
597
+ invitedByDisplayName: string
598
+ }[]
599
+ }
600
+
601
+ export interface OrganizationProductListMembersInput {
602
+ productId: string
603
+ }
604
+
605
+ export interface OrganizationProductListMembersOutput {
606
+ members: {
607
+ id: string
608
+ role: string
609
+ email: (string | null)
610
+ roleId: (string | null)
611
+ userId: string
612
+ joinedAt: (string | null)
613
+ roleName: (string | null)
614
+ roleType: (("system" | "custom") | null)
615
+ expiresAt: (string | null)
616
+ displayName: (string | null)
617
+ }[]
618
+ }
619
+
620
+ export interface OrganizationProductRevokeInvitationInput {
621
+ productId: string
622
+ invitationId: string
623
+ }
624
+
625
+ export interface OrganizationProductRevokeInvitationOutput {
626
+ message: string
627
+ }
628
+
629
+ export interface OrganizationProductSelectInput {
630
+ productId: string
631
+ }
632
+
633
+ export interface OrganizationProductSelectOutput {
634
+ id: string
635
+ name: string
636
+ slug: string
637
+ }
638
+
639
+ export interface OrganizationRolesCreateInput {
640
+ deny?: string[]
641
+ name: string
642
+ allow?: string[]
643
+ orgId: string
644
+ }
645
+
646
+ export interface OrganizationRolesCreateOutput {
647
+ id: string
648
+ deny: string[]
649
+ name: string
650
+ type: ("system" | "custom")
651
+ allow: string[]
652
+ createdAt: string
653
+ updatedAt: string
654
+ organizationId: string
655
+ }
656
+
657
+ export interface OrganizationRolesDeleteInput {
658
+ orgId: string
659
+ roleId: string
660
+ }
661
+
662
+ export interface OrganizationRolesDeleteOutput {
663
+ [k: string]: unknown
664
+ }
665
+
666
+ export interface OrganizationRolesGetInput {
667
+ orgId: string
668
+ roleId: string
669
+ }
670
+
671
+ export interface OrganizationRolesGetOutput {
672
+ id: string
673
+ deny: string[]
674
+ name: string
675
+ type: ("system" | "custom")
676
+ allow: string[]
677
+ createdAt: string
678
+ updatedAt: string
679
+ organizationId: string
680
+ }
681
+
682
+ export interface OrganizationRolesListInput {
683
+ orgId: string
684
+ }
685
+
686
+ export interface OrganizationRolesListOutput {
687
+ roles: {
688
+ id: string
689
+ deny: string[]
690
+ name: string
691
+ type: ("system" | "custom")
692
+ allow: string[]
693
+ createdAt: string
694
+ updatedAt: string
695
+ organizationId: string
696
+ }[]
697
+ }
698
+
699
+ export interface OrganizationRolesUpdateInput {
700
+ deny?: string[]
701
+ name?: string
702
+ allow?: string[]
703
+ orgId: string
704
+ roleId: string
705
+ }
706
+
707
+ export interface OrganizationRolesUpdateOutput {
708
+ id: string
709
+ deny: string[]
710
+ name: string
711
+ type: ("system" | "custom")
712
+ allow: string[]
713
+ createdAt: string
714
+ updatedAt: string
715
+ organizationId: string
716
+ }
717
+
718
+ export interface PlaygroundAnalyticsOverviewInput {
719
+ /**
720
+ * Max records per entity in recent[]; omit for the endpoint default
721
+ */
722
+ limit?: number
723
+ }
724
+
725
+ export interface PlaygroundAnalyticsOverviewOutput {
726
+ ok: boolean
727
+ minted: boolean
728
+ overview?: unknown
729
+ http_status: number
730
+ }
731
+
732
+ export interface PlaygroundBillingEntitlementsInput {
733
+
734
+ }
735
+
736
+ export interface PlaygroundBillingEntitlementsOutput {
737
+ ok: boolean
738
+ minted: boolean
739
+ http_status: number
740
+ entitlements?: unknown
741
+ }
742
+
743
+ export interface PlaygroundBillingRecordUsageInput {
744
+ /**
745
+ * Quantity of events to record against playground-events (SUM); defaults to 1
746
+ */
747
+ value?: number
748
+ }
749
+
750
+ export interface PlaygroundBillingRecordUsageOutput {
751
+ minted: boolean
752
+ accepted: (number | null)
753
+ recorded: boolean
754
+ duplicates: (number | null)
755
+ http_status: number
756
+ }
757
+
758
+ export interface PlaygroundClickupCreateTaskInput {
759
+ /**
760
+ * Task title; defaults to a fixture label
761
+ */
762
+ name?: string
763
+ /**
764
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
765
+ */
766
+ listId?: string
767
+ }
768
+
769
+ export interface PlaygroundClickupCreateTaskOutput {
770
+ minted: boolean
771
+ task_id: (string | null)
772
+ list_status: number
773
+ vend_status: number
774
+ clickup_status: number
775
+ installation_count: number
776
+ }
777
+
778
+ export interface PlaygroundClickupGetLastWebhookInput {
779
+
780
+ }
781
+
782
+ export type PlaygroundClickupGetLastWebhookOutput = ({
783
+ payload: string
784
+ event_id: string
785
+ provider: string
786
+ verified: boolean
787
+ product_id: string
788
+ occurred_at: string
789
+ connector_id: string
790
+ clickup_event: (string | null)
791
+ receipt_count: number
792
+ } | {
793
+ found: false
794
+ })
795
+
796
+ export interface PlaygroundClickupGetOverviewInput {
797
+
798
+ }
799
+
800
+ export interface PlaygroundClickupGetOverviewOutput {
801
+ team: ({
802
+ teamId: string
803
+ teamName: string
804
+ } | null)
805
+ lists: Items[]
806
+ tasks: {
807
+ id: string
808
+ name: string
809
+ status: (string | null)
810
+ }[]
811
+ minted: boolean
812
+ spaces: Items[]
813
+ list_status: number
814
+ vend_status: number
815
+ lists_status: number
816
+ tasks_status: number
817
+ spaces_status: number
818
+ folders_status: number
819
+ installation_count: number
820
+ }
821
+ export interface Items {
822
+ id: string
823
+ name: string
824
+ }
825
+
826
+ export interface PlaygroundGdriveGetLastChangeInput {
827
+
828
+ }
829
+
830
+ export type PlaygroundGdriveGetLastChangeOutput = ({
831
+ file_id: string
832
+ removed: boolean
833
+ file_name: (string | null)
834
+ mime_type: (string | null)
835
+ product_id: string
836
+ occurred_at: string
837
+ connector_id: string
838
+ resource_state: string
839
+ } | {
840
+ found: false
841
+ })
842
+
843
+ export interface PlaygroundGdriveReadFileInput {
844
+ /**
845
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
846
+ */
847
+ fileId?: string
848
+ }
849
+
850
+ export interface PlaygroundGdriveReadFileOutput {
851
+ minted: boolean
852
+ file_id: (string | null)
853
+ file_name: (string | null)
854
+ mime_type: (string | null)
855
+ file_count: number
856
+ get_status: number
857
+ list_status: number
858
+ vend_status: number
859
+ content_bytes: (number | null)
860
+ }
861
+
862
+ export interface PlaygroundGoogleadsReadCustomerInput {
863
+
864
+ }
865
+
866
+ export interface PlaygroundGoogleadsReadCustomerOutput {
867
+ minted: boolean
868
+ vended: boolean
869
+ customer_id: (string | null)
870
+ vend_status: number
871
+ result_count: number
872
+ search_status: number
873
+ login_customer_id: (string | null)
874
+ }
875
+
876
+ export interface PlaygroundLifecycleGetStateInput {
877
+
878
+ }
879
+
880
+ export interface PlaygroundLifecycleGetStateOutput {
881
+ blocked: boolean
882
+ archived: boolean
883
+ productId: string
884
+ lastBlockTransition: ({
885
+ eventId: string
886
+ eventName: string
887
+ productId: string
888
+ occurredAt: string
889
+ recordedAt: string
890
+ receiptCount: number
891
+ organizationId: string
892
+ cascadedFromOrg: boolean
893
+ } | null)
894
+ lastArchiveTransition: ({
895
+ eventId: string
896
+ eventName: string
897
+ productId: string
898
+ occurredAt: string
899
+ recordedAt: string
900
+ receiptCount: number
901
+ organizationId: string
902
+ cascadedFromOrg: boolean
903
+ } | null)
904
+ }
905
+
906
+ export interface PlaygroundLifecycleListEventsInput {
907
+
908
+ }
909
+
910
+ export type PlaygroundLifecycleListEventsOutput = {
911
+ eventId: string
912
+ eventName: string
913
+ productId: string
914
+ occurredAt: string
915
+ recordedAt: string
916
+ receiptCount: number
917
+ organizationId: string
918
+ cascadedFromOrg: boolean
919
+ }[]
920
+
921
+ export interface PlaygroundWebhookGetLastInput {
922
+
923
+ }
924
+
925
+ export type PlaygroundWebhookGetLastOutput = ({
926
+ payload?: unknown
927
+ event_id: string
928
+ provider: string
929
+ verified: boolean
930
+ product_id: string
931
+ occurred_at: string
932
+ connector_id: string
933
+ delivery_count: number
934
+ } | {
935
+ found: false
936
+ })