@lessly/sdk-app 26.0.0 → 27.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 (47) hide show
  1. package/dist/analytics/index.d.cts +1 -1
  2. package/dist/analytics/index.d.ts +1 -1
  3. package/dist/brain/index.cjs +0 -5
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -6
  6. package/dist/brain/index.d.ts +2 -6
  7. package/dist/brain/index.js +1 -5
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-TmObHd8p.d.cts → client.gen-BxrBJi8X.d.cts} +370 -94
  10. package/dist/{client.gen-TmObHd8p.d.ts → client.gen-BxrBJi8X.d.ts} +370 -94
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/deployment/index.d.cts +1 -1
  14. package/dist/deployment/index.d.ts +1 -1
  15. package/dist/index.cjs +108 -13
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +108 -13
  20. package/dist/index.js.map +1 -1
  21. package/dist/mail/index.d.cts +2 -2
  22. package/dist/mail/index.d.ts +2 -2
  23. package/dist/organization/index.d.cts +1 -1
  24. package/dist/organization/index.d.ts +1 -1
  25. package/dist/playground/index.cjs +66 -0
  26. package/dist/playground/index.cjs.map +1 -0
  27. package/dist/playground/index.d.cts +52 -0
  28. package/dist/playground/index.d.ts +52 -0
  29. package/dist/playground/index.js +53 -0
  30. package/dist/playground/index.js.map +1 -0
  31. package/dist/realtime/index.d.cts +1 -1
  32. package/dist/realtime/index.d.ts +1 -1
  33. package/dist/tracking/index.d.cts +1 -1
  34. package/dist/tracking/index.d.ts +1 -1
  35. package/dist/users/index.d.cts +1 -1
  36. package/dist/users/index.d.ts +1 -1
  37. package/dist/waitlist/index.d.cts +1 -1
  38. package/dist/waitlist/index.d.ts +1 -1
  39. package/package.json +7 -2
  40. package/src/gen/bindings.gen.ts +108 -13
  41. package/src/gen/brain/index.ts +1 -1
  42. package/src/gen/brain/queryOptions.gen.ts +0 -7
  43. package/src/gen/client.gen.ts +52 -5
  44. package/src/gen/manifest.gen.ts +1 -1
  45. package/src/gen/playground/index.ts +3 -0
  46. package/src/gen/playground/queryOptions.gen.ts +86 -0
  47. package/src/gen/types.gen.ts +373 -92
@@ -683,19 +683,6 @@ export const bindings: BindingsMap = {
683
683
  "path": "/brain/restores/:restoreId",
684
684
  "readOnly": true
685
685
  }
686
- },
687
- "usage": {
688
- "report": {
689
- "method": "GET",
690
- "params": [
691
- {
692
- "in": "query",
693
- "name": "days"
694
- }
695
- ],
696
- "path": "/brain/usage/report",
697
- "readOnly": true
698
- }
699
686
  }
700
687
  },
701
688
  "consent": {
@@ -4389,6 +4376,110 @@ export const bindings: BindingsMap = {
4389
4376
  }
4390
4377
  }
4391
4378
  },
4379
+ "playground": {
4380
+ "analytics": {
4381
+ "overview": {
4382
+ "method": "POST",
4383
+ "params": [
4384
+ {
4385
+ "in": "body",
4386
+ "name": "limit"
4387
+ }
4388
+ ],
4389
+ "path": "/playground/analytics/overview",
4390
+ "readOnly": true
4391
+ }
4392
+ },
4393
+ "billing": {
4394
+ "entitlements": {
4395
+ "method": "POST",
4396
+ "path": "/playground/billing/entitlements",
4397
+ "readOnly": true
4398
+ },
4399
+ "record-usage": {
4400
+ "method": "POST",
4401
+ "params": [
4402
+ {
4403
+ "in": "body",
4404
+ "name": "value"
4405
+ }
4406
+ ],
4407
+ "path": "/playground/billing/usage",
4408
+ "readOnly": false
4409
+ }
4410
+ },
4411
+ "clickup": {
4412
+ "create-task": {
4413
+ "method": "POST",
4414
+ "params": [
4415
+ {
4416
+ "in": "body",
4417
+ "name": "listId"
4418
+ },
4419
+ {
4420
+ "in": "body",
4421
+ "name": "name"
4422
+ }
4423
+ ],
4424
+ "path": "/playground/clickup/tasks",
4425
+ "readOnly": false
4426
+ },
4427
+ "get-last-webhook": {
4428
+ "method": "GET",
4429
+ "path": "/playground/clickup/webhooks/last",
4430
+ "readOnly": true
4431
+ },
4432
+ "get-overview": {
4433
+ "method": "GET",
4434
+ "path": "/playground/clickup/overview",
4435
+ "readOnly": true
4436
+ }
4437
+ },
4438
+ "gdrive": {
4439
+ "get-last-change": {
4440
+ "method": "GET",
4441
+ "path": "/playground/gdrive/changes/last",
4442
+ "readOnly": true
4443
+ },
4444
+ "read-file": {
4445
+ "method": "POST",
4446
+ "params": [
4447
+ {
4448
+ "in": "body",
4449
+ "name": "fileId"
4450
+ }
4451
+ ],
4452
+ "path": "/playground/gdrive/file",
4453
+ "readOnly": true
4454
+ }
4455
+ },
4456
+ "googleads": {
4457
+ "read-customer": {
4458
+ "method": "POST",
4459
+ "path": "/playground/googleads/customer",
4460
+ "readOnly": true
4461
+ }
4462
+ },
4463
+ "lifecycle": {
4464
+ "get-state": {
4465
+ "method": "GET",
4466
+ "path": "/playground/lifecycle/state",
4467
+ "readOnly": true
4468
+ },
4469
+ "list-events": {
4470
+ "method": "GET",
4471
+ "path": "/playground/lifecycle/events",
4472
+ "readOnly": true
4473
+ }
4474
+ },
4475
+ "webhook": {
4476
+ "get-last": {
4477
+ "method": "GET",
4478
+ "path": "/playground/webhooks/last",
4479
+ "readOnly": true
4480
+ }
4481
+ }
4482
+ },
4392
4483
  "realtime": {
4393
4484
  "archive": {
4394
4485
  "export": {
@@ -5593,6 +5684,10 @@ export const bindings: BindingsMap = {
5593
5684
  "in": "body",
5594
5685
  "name": "retention"
5595
5686
  },
5687
+ {
5688
+ "in": "body",
5689
+ "name": "hosted"
5690
+ },
5596
5691
  {
5597
5692
  "in": "body",
5598
5693
  "name": "mfa"
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { BrainBackupCreateInput, BrainBackupCreateOutput, BrainBackupRestoreInput, BrainBackupRestoreOutput, BrainBackupStatusInput, BrainBackupStatusOutput, BrainBackupsListInput, BrainBackupsListOutput, BrainClickupChannelsListInput, BrainClickupChannelsListOutput, BrainClickupConnectionsListInput, BrainClickupConnectionsListOutput, BrainClickupListsListInput, BrainClickupListsListOutput, BrainClickupSpacesListInput, BrainClickupSpacesListOutput, BrainCognitionDigestInput, BrainCognitionDigestOutput, BrainCognitionStatusInput, BrainCognitionStatusOutput, BrainCognitionSweepInput, BrainCognitionSweepOutput, BrainConnectorBranchesListInput, BrainConnectorBranchesListOutput, BrainConnectorConnectionsListInput, BrainConnectorConnectionsListOutput, BrainConnectorReposListInput, BrainConnectorReposListOutput, BrainDaemonBatchStatusInput, BrainDaemonBatchStatusOutput, BrainDaemonCreateInput, BrainDaemonCreateOutput, BrainDaemonGetInput, BrainDaemonGetOutput, BrainDaemonReingestInput, BrainDaemonReingestOutput, BrainDaemonRemoveInput, BrainDaemonRemoveOutput, BrainDaemonRunInput, BrainDaemonRunItemsInput, BrainDaemonRunItemsOutput, BrainDaemonRunOutput, BrainDaemonRunsInput, BrainDaemonRunsOutput, BrainDaemonStatusInput, BrainDaemonStatusOutput, BrainDaemonUpdateInput, BrainDaemonUpdateOutput, BrainDaemonsListInput, BrainDaemonsListOutput, BrainGdriveConnectionsListInput, BrainGdriveConnectionsListOutput, BrainKnowledgeEntityMemoriesInput, BrainKnowledgeEntityMemoriesOutput, BrainKnowledgeGraphInput, BrainKnowledgeGraphOutput, BrainKnowledgeNeighborhoodInput, BrainKnowledgeNeighborhoodOutput, BrainKnowledgeRelationsInput, BrainKnowledgeRelationsOutput, BrainKnowledgeSearchInput, BrainKnowledgeSearchOutput, BrainMemoryAddInput, BrainMemoryAddOutput, BrainMemoryDeleteInput, BrainMemoryDeleteOutput, BrainMemoryGetInput, BrainMemoryGetOutput, BrainMemoryListInput, BrainMemoryListOutput, BrainMemorySearchInput, BrainMemorySearchOutput, BrainMemoryStatsInput, BrainMemoryStatsOutput, BrainMemoryUpdateInput, BrainMemoryUpdateOutput, BrainProductSharedMemoryResetInput, BrainProductSharedMemoryResetOutput, BrainRestoreStatusInput, BrainRestoreStatusOutput, BrainUsageReportInput, BrainUsageReportOutput } from '../types.gen';
3
+ export type { BrainBackupCreateInput, BrainBackupCreateOutput, BrainBackupRestoreInput, BrainBackupRestoreOutput, BrainBackupStatusInput, BrainBackupStatusOutput, BrainBackupsListInput, BrainBackupsListOutput, BrainClickupChannelsListInput, BrainClickupChannelsListOutput, BrainClickupConnectionsListInput, BrainClickupConnectionsListOutput, BrainClickupListsListInput, BrainClickupListsListOutput, BrainClickupSpacesListInput, BrainClickupSpacesListOutput, BrainCognitionDigestInput, BrainCognitionDigestOutput, BrainCognitionStatusInput, BrainCognitionStatusOutput, BrainCognitionSweepInput, BrainCognitionSweepOutput, BrainConnectorBranchesListInput, BrainConnectorBranchesListOutput, BrainConnectorConnectionsListInput, BrainConnectorConnectionsListOutput, BrainConnectorReposListInput, BrainConnectorReposListOutput, BrainDaemonBatchStatusInput, BrainDaemonBatchStatusOutput, BrainDaemonCreateInput, BrainDaemonCreateOutput, BrainDaemonGetInput, BrainDaemonGetOutput, BrainDaemonReingestInput, BrainDaemonReingestOutput, BrainDaemonRemoveInput, BrainDaemonRemoveOutput, BrainDaemonRunInput, BrainDaemonRunItemsInput, BrainDaemonRunItemsOutput, BrainDaemonRunOutput, BrainDaemonRunsInput, BrainDaemonRunsOutput, BrainDaemonStatusInput, BrainDaemonStatusOutput, BrainDaemonUpdateInput, BrainDaemonUpdateOutput, BrainDaemonsListInput, BrainDaemonsListOutput, BrainGdriveConnectionsListInput, BrainGdriveConnectionsListOutput, BrainKnowledgeEntityMemoriesInput, BrainKnowledgeEntityMemoriesOutput, BrainKnowledgeGraphInput, BrainKnowledgeGraphOutput, BrainKnowledgeNeighborhoodInput, BrainKnowledgeNeighborhoodOutput, BrainKnowledgeRelationsInput, BrainKnowledgeRelationsOutput, BrainKnowledgeSearchInput, BrainKnowledgeSearchOutput, BrainMemoryAddInput, BrainMemoryAddOutput, BrainMemoryDeleteInput, BrainMemoryDeleteOutput, BrainMemoryGetInput, BrainMemoryGetOutput, BrainMemoryListInput, BrainMemoryListOutput, BrainMemorySearchInput, BrainMemorySearchOutput, BrainMemoryStatsInput, BrainMemoryStatsOutput, BrainMemoryUpdateInput, BrainMemoryUpdateOutput, BrainProductSharedMemoryResetInput, BrainProductSharedMemoryResetOutput, BrainRestoreStatusInput, BrainRestoreStatusOutput } from '../types.gen';
@@ -68,8 +68,6 @@ import type {
68
68
  BrainProductSharedMemoryResetInput,
69
69
  BrainRestoreStatusInput,
70
70
  BrainRestoreStatusOutput,
71
- BrainUsageReportInput,
72
- BrainUsageReportOutput,
73
71
  } from '../types.gen';
74
72
 
75
73
  export const brainBackupCreateMutationOptions = (sdk: GeneratedClient) => ({
@@ -271,8 +269,3 @@ export const brainRestoreStatusQueryOptions = (sdk: GeneratedClient, input: Brai
271
269
  queryKey: ['brain', 'restore', 'status', input] as const,
272
270
  queryFn: () => sdk['brain']['restore']['status'](input),
273
271
  });
274
-
275
- export const brainUsageReportQueryOptions = (sdk: GeneratedClient, input: BrainUsageReportInput) => ({
276
- queryKey: ['brain', 'usage', 'report', input] as const,
277
- queryFn: () => sdk['brain']['usage']['report'](input),
278
- });
@@ -82,8 +82,6 @@ import type {
82
82
  BrainProductSharedMemoryResetOutput,
83
83
  BrainRestoreStatusInput,
84
84
  BrainRestoreStatusOutput,
85
- BrainUsageReportInput,
86
- BrainUsageReportOutput,
87
85
  ConsentConfigCookieDomainUpsertInput,
88
86
  ConsentConfigCookieDomainUpsertOutput,
89
87
  ConsentConfigCustomizationUpsertInput,
@@ -558,6 +556,30 @@ import type {
558
556
  OrganizationSecurityMfaEnableOutput,
559
557
  OrganizationSelectInput,
560
558
  OrganizationSelectOutput,
559
+ PlaygroundAnalyticsOverviewInput,
560
+ PlaygroundAnalyticsOverviewOutput,
561
+ PlaygroundBillingEntitlementsInput,
562
+ PlaygroundBillingEntitlementsOutput,
563
+ PlaygroundBillingRecordUsageInput,
564
+ PlaygroundBillingRecordUsageOutput,
565
+ PlaygroundClickupCreateTaskInput,
566
+ PlaygroundClickupCreateTaskOutput,
567
+ PlaygroundClickupGetLastWebhookInput,
568
+ PlaygroundClickupGetLastWebhookOutput,
569
+ PlaygroundClickupGetOverviewInput,
570
+ PlaygroundClickupGetOverviewOutput,
571
+ PlaygroundGdriveGetLastChangeInput,
572
+ PlaygroundGdriveGetLastChangeOutput,
573
+ PlaygroundGdriveReadFileInput,
574
+ PlaygroundGdriveReadFileOutput,
575
+ PlaygroundGoogleadsReadCustomerInput,
576
+ PlaygroundGoogleadsReadCustomerOutput,
577
+ PlaygroundLifecycleGetStateInput,
578
+ PlaygroundLifecycleGetStateOutput,
579
+ PlaygroundLifecycleListEventsInput,
580
+ PlaygroundLifecycleListEventsOutput,
581
+ PlaygroundWebhookGetLastInput,
582
+ PlaygroundWebhookGetLastOutput,
561
583
  RealtimeArchiveExportInput,
562
584
  RealtimeArchiveExportOutput,
563
585
  RealtimeArchiveExportStatusInput,
@@ -873,9 +895,6 @@ export interface GeneratedClient {
873
895
  restore: {
874
896
  status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
875
897
  };
876
- usage: {
877
- report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
878
- };
879
898
  };
880
899
  consent: {
881
900
  'config-cookie-domain': {
@@ -1290,6 +1309,34 @@ export interface GeneratedClient {
1290
1309
  enable(input: OrganizationSecurityMfaEnableInput): Promise<OrganizationSecurityMfaEnableOutput>;
1291
1310
  };
1292
1311
  };
1312
+ playground: {
1313
+ analytics: {
1314
+ overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
1315
+ };
1316
+ billing: {
1317
+ entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
1318
+ 'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
1319
+ };
1320
+ clickup: {
1321
+ 'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
1322
+ 'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
1323
+ 'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
1324
+ };
1325
+ gdrive: {
1326
+ 'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
1327
+ 'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
1328
+ };
1329
+ googleads: {
1330
+ 'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
1331
+ };
1332
+ lifecycle: {
1333
+ 'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
1334
+ 'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
1335
+ };
1336
+ webhook: {
1337
+ 'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
1338
+ };
1339
+ };
1293
1340
  realtime: {
1294
1341
  archive: {
1295
1342
  export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
@@ -1,2 +1,2 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
- export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'organization', 'realtime', 'tracking', 'users', 'waitlist'] as const;
2
+ export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'organization', 'playground', 'realtime', 'tracking', 'users', 'waitlist'] as const;
@@ -0,0 +1,3 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ export * from './queryOptions.gen';
3
+ export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput } from '../types.gen';
@@ -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
+ });