@lessly/sdk-app 15.0.0 → 15.0.1

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/README.md +12 -8
  2. package/dist/analytics/index.d.cts +1 -1
  3. package/dist/analytics/index.d.ts +1 -1
  4. package/dist/brain/index.cjs +0 -5
  5. package/dist/brain/index.cjs.map +1 -1
  6. package/dist/brain/index.d.cts +2 -6
  7. package/dist/brain/index.d.ts +2 -6
  8. package/dist/brain/index.js +1 -5
  9. package/dist/brain/index.js.map +1 -1
  10. package/dist/{client.gen-CxFsxxHW.d.cts → client.gen-ClvT4E7P.d.cts} +221 -98
  11. package/dist/{client.gen-CxFsxxHW.d.ts → client.gen-ClvT4E7P.d.ts} +221 -98
  12. package/dist/consent/index.d.cts +1 -1
  13. package/dist/consent/index.d.ts +1 -1
  14. package/dist/deployment/index.d.cts +1 -1
  15. package/dist/deployment/index.d.ts +1 -1
  16. package/dist/index.cjs +104 -13
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.cts +1 -1
  19. package/dist/index.d.ts +1 -1
  20. package/dist/index.js +104 -13
  21. package/dist/index.js.map +1 -1
  22. package/dist/mail/index.d.cts +2 -2
  23. package/dist/mail/index.d.ts +2 -2
  24. package/dist/organization/index.d.cts +1 -1
  25. package/dist/organization/index.d.ts +1 -1
  26. package/dist/playground/index.cjs +66 -0
  27. package/dist/playground/index.cjs.map +1 -0
  28. package/dist/playground/index.d.cts +52 -0
  29. package/dist/playground/index.d.ts +52 -0
  30. package/dist/playground/index.js +53 -0
  31. package/dist/playground/index.js.map +1 -0
  32. package/dist/realtime/index.d.cts +1 -1
  33. package/dist/realtime/index.d.ts +1 -1
  34. package/dist/tracking/index.d.cts +1 -1
  35. package/dist/tracking/index.d.ts +1 -1
  36. package/dist/waitlist/index.d.cts +1 -1
  37. package/dist/waitlist/index.d.ts +1 -1
  38. package/docs/recipes/sdk-usage.md +1 -1
  39. package/package.json +8 -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 +224 -96
@@ -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": {
@@ -4269,6 +4256,110 @@ export const bindings: BindingsMap = {
4269
4256
  }
4270
4257
  }
4271
4258
  },
4259
+ "playground": {
4260
+ "analytics": {
4261
+ "overview": {
4262
+ "method": "POST",
4263
+ "params": [
4264
+ {
4265
+ "in": "body",
4266
+ "name": "limit"
4267
+ }
4268
+ ],
4269
+ "path": "/playground/analytics/overview",
4270
+ "readOnly": true
4271
+ }
4272
+ },
4273
+ "billing": {
4274
+ "entitlements": {
4275
+ "method": "POST",
4276
+ "path": "/playground/billing/entitlements",
4277
+ "readOnly": true
4278
+ },
4279
+ "record-usage": {
4280
+ "method": "POST",
4281
+ "params": [
4282
+ {
4283
+ "in": "body",
4284
+ "name": "value"
4285
+ }
4286
+ ],
4287
+ "path": "/playground/billing/usage",
4288
+ "readOnly": false
4289
+ }
4290
+ },
4291
+ "clickup": {
4292
+ "create-task": {
4293
+ "method": "POST",
4294
+ "params": [
4295
+ {
4296
+ "in": "body",
4297
+ "name": "listId"
4298
+ },
4299
+ {
4300
+ "in": "body",
4301
+ "name": "name"
4302
+ }
4303
+ ],
4304
+ "path": "/playground/clickup/tasks",
4305
+ "readOnly": false
4306
+ },
4307
+ "get-last-webhook": {
4308
+ "method": "GET",
4309
+ "path": "/playground/clickup/webhooks/last",
4310
+ "readOnly": true
4311
+ },
4312
+ "get-overview": {
4313
+ "method": "GET",
4314
+ "path": "/playground/clickup/overview",
4315
+ "readOnly": true
4316
+ }
4317
+ },
4318
+ "gdrive": {
4319
+ "get-last-change": {
4320
+ "method": "GET",
4321
+ "path": "/playground/gdrive/changes/last",
4322
+ "readOnly": true
4323
+ },
4324
+ "read-file": {
4325
+ "method": "POST",
4326
+ "params": [
4327
+ {
4328
+ "in": "body",
4329
+ "name": "fileId"
4330
+ }
4331
+ ],
4332
+ "path": "/playground/gdrive/file",
4333
+ "readOnly": true
4334
+ }
4335
+ },
4336
+ "googleads": {
4337
+ "read-customer": {
4338
+ "method": "POST",
4339
+ "path": "/playground/googleads/customer",
4340
+ "readOnly": true
4341
+ }
4342
+ },
4343
+ "lifecycle": {
4344
+ "get-state": {
4345
+ "method": "GET",
4346
+ "path": "/playground/lifecycle/state",
4347
+ "readOnly": true
4348
+ },
4349
+ "list-events": {
4350
+ "method": "GET",
4351
+ "path": "/playground/lifecycle/events",
4352
+ "readOnly": true
4353
+ }
4354
+ },
4355
+ "webhook": {
4356
+ "get-last": {
4357
+ "method": "GET",
4358
+ "path": "/playground/webhooks/last",
4359
+ "readOnly": true
4360
+ }
4361
+ }
4362
+ },
4272
4363
  "realtime": {
4273
4364
  "apikey": {
4274
4365
  "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
  OrganizationRolesUpdateOutput,
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,
@@ -787,9 +809,6 @@ export interface GeneratedClient {
787
809
  restore: {
788
810
  status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
789
811
  };
790
- usage: {
791
- report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
792
- };
793
812
  };
794
813
  consent: {
795
814
  'config-cookie-domain': {
@@ -1190,6 +1209,34 @@ export interface GeneratedClient {
1190
1209
  update(input: OrganizationRolesUpdateInput): Promise<OrganizationRolesUpdateOutput>;
1191
1210
  };
1192
1211
  };
1212
+ playground: {
1213
+ analytics: {
1214
+ overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
1215
+ };
1216
+ billing: {
1217
+ entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
1218
+ 'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
1219
+ };
1220
+ clickup: {
1221
+ 'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
1222
+ 'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
1223
+ 'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
1224
+ };
1225
+ gdrive: {
1226
+ 'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
1227
+ 'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
1228
+ };
1229
+ googleads: {
1230
+ 'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
1231
+ };
1232
+ lifecycle: {
1233
+ 'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
1234
+ 'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
1235
+ };
1236
+ webhook: {
1237
+ 'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
1238
+ };
1239
+ };
1193
1240
  realtime: {
1194
1241
  apikey: {
1195
1242
  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', 'waitlist'] as const;
2
+ export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'organization', 'playground', 'realtime', 'tracking', '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
+ });