@lessly/sdk-app 19.0.0 → 21.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-DtOfI4y9.d.cts → client.gen-CaEegxH4.d.cts} +225 -102
  10. package/dist/{client.gen-DtOfI4y9.d.ts → client.gen-CaEegxH4.d.ts} +225 -102
  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 +104 -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 +104 -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 +104 -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 +228 -100
@@ -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": {
@@ -4299,6 +4286,110 @@ export const bindings: BindingsMap = {
4299
4286
  }
4300
4287
  }
4301
4288
  },
4289
+ "playground": {
4290
+ "analytics": {
4291
+ "overview": {
4292
+ "method": "POST",
4293
+ "params": [
4294
+ {
4295
+ "in": "body",
4296
+ "name": "limit"
4297
+ }
4298
+ ],
4299
+ "path": "/playground/analytics/overview",
4300
+ "readOnly": true
4301
+ }
4302
+ },
4303
+ "billing": {
4304
+ "entitlements": {
4305
+ "method": "POST",
4306
+ "path": "/playground/billing/entitlements",
4307
+ "readOnly": true
4308
+ },
4309
+ "record-usage": {
4310
+ "method": "POST",
4311
+ "params": [
4312
+ {
4313
+ "in": "body",
4314
+ "name": "value"
4315
+ }
4316
+ ],
4317
+ "path": "/playground/billing/usage",
4318
+ "readOnly": false
4319
+ }
4320
+ },
4321
+ "clickup": {
4322
+ "create-task": {
4323
+ "method": "POST",
4324
+ "params": [
4325
+ {
4326
+ "in": "body",
4327
+ "name": "listId"
4328
+ },
4329
+ {
4330
+ "in": "body",
4331
+ "name": "name"
4332
+ }
4333
+ ],
4334
+ "path": "/playground/clickup/tasks",
4335
+ "readOnly": false
4336
+ },
4337
+ "get-last-webhook": {
4338
+ "method": "GET",
4339
+ "path": "/playground/clickup/webhooks/last",
4340
+ "readOnly": true
4341
+ },
4342
+ "get-overview": {
4343
+ "method": "GET",
4344
+ "path": "/playground/clickup/overview",
4345
+ "readOnly": true
4346
+ }
4347
+ },
4348
+ "gdrive": {
4349
+ "get-last-change": {
4350
+ "method": "GET",
4351
+ "path": "/playground/gdrive/changes/last",
4352
+ "readOnly": true
4353
+ },
4354
+ "read-file": {
4355
+ "method": "POST",
4356
+ "params": [
4357
+ {
4358
+ "in": "body",
4359
+ "name": "fileId"
4360
+ }
4361
+ ],
4362
+ "path": "/playground/gdrive/file",
4363
+ "readOnly": true
4364
+ }
4365
+ },
4366
+ "googleads": {
4367
+ "read-customer": {
4368
+ "method": "POST",
4369
+ "path": "/playground/googleads/customer",
4370
+ "readOnly": true
4371
+ }
4372
+ },
4373
+ "lifecycle": {
4374
+ "get-state": {
4375
+ "method": "GET",
4376
+ "path": "/playground/lifecycle/state",
4377
+ "readOnly": true
4378
+ },
4379
+ "list-events": {
4380
+ "method": "GET",
4381
+ "path": "/playground/lifecycle/events",
4382
+ "readOnly": true
4383
+ }
4384
+ },
4385
+ "webhook": {
4386
+ "get-last": {
4387
+ "method": "GET",
4388
+ "path": "/playground/webhooks/last",
4389
+ "readOnly": true
4390
+ }
4391
+ }
4392
+ },
4302
4393
  "realtime": {
4303
4394
  "apikey": {
4304
4395
  "create": {
@@ -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,
@@ -546,6 +544,30 @@ import type {
546
544
  OrganizationSecurityMfaEnableOutput,
547
545
  OrganizationSelectInput,
548
546
  OrganizationSelectOutput,
547
+ PlaygroundAnalyticsOverviewInput,
548
+ PlaygroundAnalyticsOverviewOutput,
549
+ PlaygroundBillingEntitlementsInput,
550
+ PlaygroundBillingEntitlementsOutput,
551
+ PlaygroundBillingRecordUsageInput,
552
+ PlaygroundBillingRecordUsageOutput,
553
+ PlaygroundClickupCreateTaskInput,
554
+ PlaygroundClickupCreateTaskOutput,
555
+ PlaygroundClickupGetLastWebhookInput,
556
+ PlaygroundClickupGetLastWebhookOutput,
557
+ PlaygroundClickupGetOverviewInput,
558
+ PlaygroundClickupGetOverviewOutput,
559
+ PlaygroundGdriveGetLastChangeInput,
560
+ PlaygroundGdriveGetLastChangeOutput,
561
+ PlaygroundGdriveReadFileInput,
562
+ PlaygroundGdriveReadFileOutput,
563
+ PlaygroundGoogleadsReadCustomerInput,
564
+ PlaygroundGoogleadsReadCustomerOutput,
565
+ PlaygroundLifecycleGetStateInput,
566
+ PlaygroundLifecycleGetStateOutput,
567
+ PlaygroundLifecycleListEventsInput,
568
+ PlaygroundLifecycleListEventsOutput,
569
+ PlaygroundWebhookGetLastInput,
570
+ PlaygroundWebhookGetLastOutput,
549
571
  RealtimeApikeyCreateInput,
550
572
  RealtimeApikeyCreateOutput,
551
573
  RealtimeApikeyListInput,
@@ -871,9 +893,6 @@ export interface GeneratedClient {
871
893
  restore: {
872
894
  status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
873
895
  };
874
- usage: {
875
- report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
876
- };
877
896
  };
878
897
  consent: {
879
898
  'config-cookie-domain': {
@@ -1276,6 +1295,34 @@ export interface GeneratedClient {
1276
1295
  enable(input: OrganizationSecurityMfaEnableInput): Promise<OrganizationSecurityMfaEnableOutput>;
1277
1296
  };
1278
1297
  };
1298
+ playground: {
1299
+ analytics: {
1300
+ overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
1301
+ };
1302
+ billing: {
1303
+ entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
1304
+ 'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
1305
+ };
1306
+ clickup: {
1307
+ 'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
1308
+ 'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
1309
+ 'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
1310
+ };
1311
+ gdrive: {
1312
+ 'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
1313
+ 'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
1314
+ };
1315
+ googleads: {
1316
+ 'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
1317
+ };
1318
+ lifecycle: {
1319
+ 'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
1320
+ 'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
1321
+ };
1322
+ webhook: {
1323
+ 'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
1324
+ };
1325
+ };
1279
1326
  realtime: {
1280
1327
  apikey: {
1281
1328
  create(input: RealtimeApikeyCreateInput): Promise<RealtimeApikeyCreateOutput>;
@@ -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
+ });