@lessly/sdk-app 12.1.0 → 13.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 (51) 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 -10
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -10
  6. package/dist/brain/index.d.ts +2 -10
  7. package/dist/brain/index.js +1 -9
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-CUGiXN_3.d.cts → client.gen-BnXpkn0p.d.cts} +306 -116
  10. package/dist/{client.gen-CUGiXN_3.d.ts → client.gen-BnXpkn0p.d.ts} +306 -116
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/deployment/index.cjs +5 -0
  14. package/dist/deployment/index.cjs.map +1 -1
  15. package/dist/deployment/index.d.cts +6 -2
  16. package/dist/deployment/index.d.ts +6 -2
  17. package/dist/deployment/index.js +5 -1
  18. package/dist/deployment/index.js.map +1 -1
  19. package/dist/index.cjs +123 -40
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.js +123 -40
  24. package/dist/index.js.map +1 -1
  25. package/dist/mail/index.d.cts +2 -2
  26. package/dist/mail/index.d.ts +2 -2
  27. package/dist/organization/index.d.cts +1 -1
  28. package/dist/organization/index.d.ts +1 -1
  29. package/dist/playground/index.cjs +66 -0
  30. package/dist/playground/index.cjs.map +1 -0
  31. package/dist/playground/index.d.cts +52 -0
  32. package/dist/playground/index.d.ts +52 -0
  33. package/dist/playground/index.js +53 -0
  34. package/dist/playground/index.js.map +1 -0
  35. package/dist/realtime/index.d.cts +1 -1
  36. package/dist/realtime/index.d.ts +1 -1
  37. package/dist/tracking/index.d.cts +1 -1
  38. package/dist/tracking/index.d.ts +1 -1
  39. package/dist/waitlist/index.d.cts +1 -1
  40. package/dist/waitlist/index.d.ts +1 -1
  41. package/package.json +7 -2
  42. package/src/gen/bindings.gen.ts +123 -40
  43. package/src/gen/brain/index.ts +1 -1
  44. package/src/gen/brain/queryOptions.gen.ts +0 -14
  45. package/src/gen/client.gen.ts +55 -8
  46. package/src/gen/deployment/index.ts +1 -1
  47. package/src/gen/deployment/queryOptions.gen.ts +6 -0
  48. package/src/gen/manifest.gen.ts +1 -1
  49. package/src/gen/playground/index.ts +3 -0
  50. package/src/gen/playground/queryOptions.gen.ts +86 -0
  51. package/src/gen/types.gen.ts +310 -115
@@ -409,21 +409,6 @@ export const bindings: BindingsMap = {
409
409
  }
410
410
  },
411
411
  "knowledge": {
412
- "graph": {
413
- "method": "GET",
414
- "params": [
415
- {
416
- "in": "query",
417
- "name": "limit"
418
- },
419
- {
420
- "in": "query",
421
- "name": "scope"
422
- }
423
- ],
424
- "path": "/brain/knowledge/graph",
425
- "readOnly": true
426
- },
427
412
  "neighborhood": {
428
413
  "method": "GET",
429
414
  "params": [
@@ -510,31 +495,6 @@ export const bindings: BindingsMap = {
510
495
  "readOnly": true
511
496
  }
512
497
  },
513
- "knowledge-entity": {
514
- "memories": {
515
- "method": "GET",
516
- "params": [
517
- {
518
- "in": "path",
519
- "name": "entity_ref"
520
- },
521
- {
522
- "in": "query",
523
- "name": "limit"
524
- },
525
- {
526
- "in": "query",
527
- "name": "offset"
528
- },
529
- {
530
- "in": "query",
531
- "name": "scope"
532
- }
533
- ],
534
- "path": "/brain/knowledge/entities/:entity_ref/memories",
535
- "readOnly": true
536
- }
537
- },
538
498
  "memory": {
539
499
  "add": {
540
500
  "method": "POST",
@@ -2265,6 +2225,14 @@ export const bindings: BindingsMap = {
2265
2225
  "in": "body",
2266
2226
  "name": "resources"
2267
2227
  },
2228
+ {
2229
+ "in": "body",
2230
+ "name": "scaleToZero"
2231
+ },
2232
+ {
2233
+ "in": "body",
2234
+ "name": "idleMinutes"
2235
+ },
2268
2236
  {
2269
2237
  "in": "path",
2270
2238
  "name": "id"
@@ -2272,6 +2240,17 @@ export const bindings: BindingsMap = {
2272
2240
  ],
2273
2241
  "path": "/deployment/services/:id",
2274
2242
  "readOnly": false
2243
+ },
2244
+ "wake": {
2245
+ "method": "POST",
2246
+ "params": [
2247
+ {
2248
+ "in": "path",
2249
+ "name": "id"
2250
+ }
2251
+ ],
2252
+ "path": "/deployment/services/:id/wake",
2253
+ "readOnly": false
2275
2254
  }
2276
2255
  },
2277
2256
  "ssh": {
@@ -4237,6 +4216,110 @@ export const bindings: BindingsMap = {
4237
4216
  }
4238
4217
  }
4239
4218
  },
4219
+ "playground": {
4220
+ "analytics": {
4221
+ "overview": {
4222
+ "method": "POST",
4223
+ "params": [
4224
+ {
4225
+ "in": "body",
4226
+ "name": "limit"
4227
+ }
4228
+ ],
4229
+ "path": "/playground/analytics/overview",
4230
+ "readOnly": true
4231
+ }
4232
+ },
4233
+ "billing": {
4234
+ "entitlements": {
4235
+ "method": "POST",
4236
+ "path": "/playground/billing/entitlements",
4237
+ "readOnly": true
4238
+ },
4239
+ "record-usage": {
4240
+ "method": "POST",
4241
+ "params": [
4242
+ {
4243
+ "in": "body",
4244
+ "name": "value"
4245
+ }
4246
+ ],
4247
+ "path": "/playground/billing/usage",
4248
+ "readOnly": false
4249
+ }
4250
+ },
4251
+ "clickup": {
4252
+ "create-task": {
4253
+ "method": "POST",
4254
+ "params": [
4255
+ {
4256
+ "in": "body",
4257
+ "name": "listId"
4258
+ },
4259
+ {
4260
+ "in": "body",
4261
+ "name": "name"
4262
+ }
4263
+ ],
4264
+ "path": "/playground/clickup/tasks",
4265
+ "readOnly": false
4266
+ },
4267
+ "get-last-webhook": {
4268
+ "method": "GET",
4269
+ "path": "/playground/clickup/webhooks/last",
4270
+ "readOnly": true
4271
+ },
4272
+ "get-overview": {
4273
+ "method": "GET",
4274
+ "path": "/playground/clickup/overview",
4275
+ "readOnly": true
4276
+ }
4277
+ },
4278
+ "gdrive": {
4279
+ "get-last-change": {
4280
+ "method": "GET",
4281
+ "path": "/playground/gdrive/changes/last",
4282
+ "readOnly": true
4283
+ },
4284
+ "read-file": {
4285
+ "method": "POST",
4286
+ "params": [
4287
+ {
4288
+ "in": "body",
4289
+ "name": "fileId"
4290
+ }
4291
+ ],
4292
+ "path": "/playground/gdrive/file",
4293
+ "readOnly": true
4294
+ }
4295
+ },
4296
+ "googleads": {
4297
+ "read-customer": {
4298
+ "method": "POST",
4299
+ "path": "/playground/googleads/customer",
4300
+ "readOnly": true
4301
+ }
4302
+ },
4303
+ "lifecycle": {
4304
+ "get-state": {
4305
+ "method": "GET",
4306
+ "path": "/playground/lifecycle/state",
4307
+ "readOnly": true
4308
+ },
4309
+ "list-events": {
4310
+ "method": "GET",
4311
+ "path": "/playground/lifecycle/events",
4312
+ "readOnly": true
4313
+ }
4314
+ },
4315
+ "webhook": {
4316
+ "get-last": {
4317
+ "method": "GET",
4318
+ "path": "/playground/webhooks/last",
4319
+ "readOnly": true
4320
+ }
4321
+ }
4322
+ },
4240
4323
  "realtime": {
4241
4324
  "archive": {
4242
4325
  "export": {
@@ -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 } 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, 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';
@@ -44,10 +44,6 @@ import type {
44
44
  BrainDaemonsListOutput,
45
45
  BrainGdriveConnectionsListInput,
46
46
  BrainGdriveConnectionsListOutput,
47
- BrainKnowledgeEntityMemoriesInput,
48
- BrainKnowledgeEntityMemoriesOutput,
49
- BrainKnowledgeGraphInput,
50
- BrainKnowledgeGraphOutput,
51
47
  BrainKnowledgeNeighborhoodInput,
52
48
  BrainKnowledgeNeighborhoodOutput,
53
49
  BrainKnowledgeRelationsInput,
@@ -200,16 +196,6 @@ export const brainGdriveConnectionsListQueryOptions = (sdk: GeneratedClient, inp
200
196
  queryFn: () => sdk['brain']['gdrive-connections']['list'](input),
201
197
  });
202
198
 
203
- export const brainKnowledgeEntityMemoriesQueryOptions = (sdk: GeneratedClient, input: BrainKnowledgeEntityMemoriesInput) => ({
204
- queryKey: ['brain', 'knowledge-entity', 'memories', input] as const,
205
- queryFn: () => sdk['brain']['knowledge-entity']['memories'](input),
206
- });
207
-
208
- export const brainKnowledgeGraphQueryOptions = (sdk: GeneratedClient, input: BrainKnowledgeGraphInput) => ({
209
- queryKey: ['brain', 'knowledge', 'graph', input] as const,
210
- queryFn: () => sdk['brain']['knowledge']['graph'](input),
211
- });
212
-
213
199
  export const brainKnowledgeNeighborhoodQueryOptions = (sdk: GeneratedClient, input: BrainKnowledgeNeighborhoodInput) => ({
214
200
  queryKey: ['brain', 'knowledge', 'neighborhood', input] as const,
215
201
  queryFn: () => sdk['brain']['knowledge']['neighborhood'](input),
@@ -54,10 +54,6 @@ import type {
54
54
  BrainDaemonsListOutput,
55
55
  BrainGdriveConnectionsListInput,
56
56
  BrainGdriveConnectionsListOutput,
57
- BrainKnowledgeEntityMemoriesInput,
58
- BrainKnowledgeEntityMemoriesOutput,
59
- BrainKnowledgeGraphInput,
60
- BrainKnowledgeGraphOutput,
61
57
  BrainKnowledgeNeighborhoodInput,
62
58
  BrainKnowledgeNeighborhoodOutput,
63
59
  BrainKnowledgeRelationsInput,
@@ -278,6 +274,8 @@ import type {
278
274
  DeploymentServiceScaleOutput,
279
275
  DeploymentServiceUpdateInput,
280
276
  DeploymentServiceUpdateOutput,
277
+ DeploymentServiceWakeInput,
278
+ DeploymentServiceWakeOutput,
281
279
  DeploymentSshCommandInput,
282
280
  DeploymentSshCommandOutput,
283
281
  DeploymentSshKeyDeleteInput,
@@ -542,6 +540,30 @@ import type {
542
540
  OrganizationRolesUpdateOutput,
543
541
  OrganizationSelectInput,
544
542
  OrganizationSelectOutput,
543
+ PlaygroundAnalyticsOverviewInput,
544
+ PlaygroundAnalyticsOverviewOutput,
545
+ PlaygroundBillingEntitlementsInput,
546
+ PlaygroundBillingEntitlementsOutput,
547
+ PlaygroundBillingRecordUsageInput,
548
+ PlaygroundBillingRecordUsageOutput,
549
+ PlaygroundClickupCreateTaskInput,
550
+ PlaygroundClickupCreateTaskOutput,
551
+ PlaygroundClickupGetLastWebhookInput,
552
+ PlaygroundClickupGetLastWebhookOutput,
553
+ PlaygroundClickupGetOverviewInput,
554
+ PlaygroundClickupGetOverviewOutput,
555
+ PlaygroundGdriveGetLastChangeInput,
556
+ PlaygroundGdriveGetLastChangeOutput,
557
+ PlaygroundGdriveReadFileInput,
558
+ PlaygroundGdriveReadFileOutput,
559
+ PlaygroundGoogleadsReadCustomerInput,
560
+ PlaygroundGoogleadsReadCustomerOutput,
561
+ PlaygroundLifecycleGetStateInput,
562
+ PlaygroundLifecycleGetStateOutput,
563
+ PlaygroundLifecycleListEventsInput,
564
+ PlaygroundLifecycleListEventsOutput,
565
+ PlaygroundWebhookGetLastInput,
566
+ PlaygroundWebhookGetLastOutput,
545
567
  RealtimeArchiveExportInput,
546
568
  RealtimeArchiveExportOutput,
547
569
  RealtimeArchiveExportStatusInput,
@@ -754,14 +776,10 @@ export interface GeneratedClient {
754
776
  list(input: BrainGdriveConnectionsListInput): Promise<BrainGdriveConnectionsListOutput>;
755
777
  };
756
778
  knowledge: {
757
- graph(input: BrainKnowledgeGraphInput): Promise<BrainKnowledgeGraphOutput>;
758
779
  neighborhood(input: BrainKnowledgeNeighborhoodInput): Promise<BrainKnowledgeNeighborhoodOutput>;
759
780
  relations(input: BrainKnowledgeRelationsInput): Promise<BrainKnowledgeRelationsOutput>;
760
781
  search(input: BrainKnowledgeSearchInput): Promise<BrainKnowledgeSearchOutput>;
761
782
  };
762
- 'knowledge-entity': {
763
- memories(input: BrainKnowledgeEntityMemoriesInput): Promise<BrainKnowledgeEntityMemoriesOutput>;
764
- };
765
783
  memory: {
766
784
  add(input: BrainMemoryAddInput): Promise<BrainMemoryAddOutput>;
767
785
  delete(input: BrainMemoryDeleteInput): Promise<BrainMemoryDeleteOutput>;
@@ -956,6 +974,7 @@ export interface GeneratedClient {
956
974
  rollback(input: DeploymentServiceRollbackInput): Promise<DeploymentServiceRollbackOutput>;
957
975
  scale(input: DeploymentServiceScaleInput): Promise<DeploymentServiceScaleOutput>;
958
976
  update(input: DeploymentServiceUpdateInput): Promise<DeploymentServiceUpdateOutput>;
977
+ wake(input: DeploymentServiceWakeInput): Promise<DeploymentServiceWakeOutput>;
959
978
  };
960
979
  ssh: {
961
980
  command(input: DeploymentSshCommandInput): Promise<DeploymentSshCommandOutput>;
@@ -1176,6 +1195,34 @@ export interface GeneratedClient {
1176
1195
  update(input: OrganizationRolesUpdateInput): Promise<OrganizationRolesUpdateOutput>;
1177
1196
  };
1178
1197
  };
1198
+ playground: {
1199
+ analytics: {
1200
+ overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
1201
+ };
1202
+ billing: {
1203
+ entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
1204
+ 'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
1205
+ };
1206
+ clickup: {
1207
+ 'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
1208
+ 'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
1209
+ 'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
1210
+ };
1211
+ gdrive: {
1212
+ 'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
1213
+ 'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
1214
+ };
1215
+ googleads: {
1216
+ 'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
1217
+ };
1218
+ lifecycle: {
1219
+ 'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
1220
+ 'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
1221
+ };
1222
+ webhook: {
1223
+ 'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
1224
+ };
1225
+ };
1179
1226
  realtime: {
1180
1227
  archive: {
1181
1228
  export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput, DeploymentAuditListInput, DeploymentAuditListOutput, DeploymentBuildGetInput, DeploymentBuildGetOutput, DeploymentBuildListInput, DeploymentBuildListOutput, DeploymentBuildLogsInput, DeploymentBuildLogsOutput, DeploymentCanvasGetInput, DeploymentCanvasGetOutput, DeploymentCanvasMoveNodeInput, DeploymentCanvasMoveNodeOutput, DeploymentCloudSqlBackfillLogFlagsInput, DeploymentCloudSqlBackfillLogFlagsOutput, DeploymentCloudSqlDatabaseAttachInput, DeploymentCloudSqlDatabaseAttachOutput, DeploymentCloudSqlDatabaseCreateInput, DeploymentCloudSqlDatabaseCreateOutput, DeploymentCloudSqlDatabaseDeleteInput, DeploymentCloudSqlDatabaseDeleteOutput, DeploymentCloudSqlDatabaseDetachInput, DeploymentCloudSqlDatabaseDetachOutput, DeploymentCloudSqlDatabaseGetInput, DeploymentCloudSqlDatabaseGetOutput, DeploymentCloudSqlDatabaseListInput, DeploymentCloudSqlDatabaseListOutput, DeploymentCloudSqlInstanceBackupInput, DeploymentCloudSqlInstanceBackupListInput, DeploymentCloudSqlInstanceBackupListOutput, DeploymentCloudSqlInstanceBackupOutput, DeploymentCloudSqlInstanceCreateInput, DeploymentCloudSqlInstanceCreateOutput, DeploymentCloudSqlInstanceDeleteInput, DeploymentCloudSqlInstanceDeleteOutput, DeploymentCloudSqlInstanceGetInput, DeploymentCloudSqlInstanceGetOutput, DeploymentCloudSqlInstanceListInput, DeploymentCloudSqlInstanceListOutput, DeploymentCloudSqlInstanceResizeInput, DeploymentCloudSqlInstanceResizeOutput, DeploymentCloudSqlInstanceRestoreInput, DeploymentCloudSqlInstanceRestoreOutput, DeploymentCloudSqlLogsInput, DeploymentCloudSqlLogsOutput, DeploymentDeploymentCancelInput, DeploymentDeploymentCancelOutput, DeploymentDeploymentGetInput, DeploymentDeploymentGetOutput, DeploymentDeploymentListInput, DeploymentDeploymentListOutput, DeploymentDomainAddInput, DeploymentDomainAddOutput, DeploymentDomainAllowedListInput, DeploymentDomainAllowedListOutput, DeploymentDomainGetInput, DeploymentDomainGetOutput, DeploymentDomainListByServiceInput, DeploymentDomainListByServiceOutput, DeploymentDomainListInput, DeploymentDomainListOutput, DeploymentDomainRedirectWwwInput, DeploymentDomainRedirectWwwOutput, DeploymentDomainRemoveInput, DeploymentDomainRemoveOutput, DeploymentDomainRoutesAddInput, DeploymentDomainRoutesAddOutput, DeploymentDomainRoutesListInput, DeploymentDomainRoutesListOutput, DeploymentDomainRoutesRemoveInput, DeploymentDomainRoutesRemoveOutput, DeploymentDomainRoutesUpdateInput, DeploymentDomainRoutesUpdateOutput, DeploymentDomainVerifyInput, DeploymentDomainVerifyOutput, DeploymentEnvironmentCreateInput, DeploymentEnvironmentCreateOutput, DeploymentEnvironmentDeleteInput, DeploymentEnvironmentDeleteOutput, DeploymentEnvironmentForkInput, DeploymentEnvironmentForkOutput, DeploymentEnvironmentGetInput, DeploymentEnvironmentGetOutput, DeploymentEnvironmentListInput, DeploymentEnvironmentListOutput, DeploymentEnvironmentReconcileInput, DeploymentEnvironmentReconcileOutput, DeploymentEnvironmentUpdateInput, DeploymentEnvironmentUpdateOutput, DeploymentEventsListByEnvironmentInput, DeploymentEventsListByEnvironmentOutput, DeploymentEventsListByServiceInput, DeploymentEventsListByServiceOutput, DeploymentManagedServiceBackupInput, DeploymentManagedServiceBackupListInput, DeploymentManagedServiceBackupListOutput, DeploymentManagedServiceBackupOutput, DeploymentManagedServiceConnectInfoInput, DeploymentManagedServiceConnectInfoOutput, DeploymentManagedServiceDeleteInput, DeploymentManagedServiceDeleteOutput, DeploymentManagedServiceGetInput, DeploymentManagedServiceGetOutput, DeploymentManagedServiceListInput, DeploymentManagedServiceListOutput, DeploymentManagedServiceLogsInput, DeploymentManagedServiceLogsOutput, DeploymentManagedServiceProvisionInput, DeploymentManagedServiceProvisionOutput, DeploymentManagedServiceReconcileInput, DeploymentManagedServiceReconcileOutput, DeploymentManagedServiceResizeInput, DeploymentManagedServiceResizeOutput, DeploymentManagedServiceRestoreInput, DeploymentManagedServiceRestoreOutput, DeploymentManagedServiceStartInput, DeploymentManagedServiceStartOutput, DeploymentManagedServiceStopInput, DeploymentManagedServiceStopOutput, DeploymentManagedServiceTypesInput, DeploymentManagedServiceTypesOutput, DeploymentMetricsGetInput, DeploymentMetricsGetOutput, DeploymentPreviewEnvironmentCreateInput, DeploymentPreviewEnvironmentCreateOutput, DeploymentPreviewEnvironmentDeleteInput, DeploymentPreviewEnvironmentDeleteOutput, DeploymentPreviewEnvironmentListInput, DeploymentPreviewEnvironmentListOutput, DeploymentPreviewPolicyGetInput, DeploymentPreviewPolicyGetOutput, DeploymentPreviewPolicySetInput, DeploymentPreviewPolicySetOutput, DeploymentServiceCreateInput, DeploymentServiceCreateOutput, DeploymentServiceDeleteInput, DeploymentServiceDeleteOutput, DeploymentServiceExecInput, DeploymentServiceExecOutput, DeploymentServiceGetInput, DeploymentServiceGetOutput, DeploymentServiceListInput, DeploymentServiceListOutput, DeploymentServiceLogsInput, DeploymentServiceLogsOutput, DeploymentServiceRedeployInput, DeploymentServiceRedeployOutput, DeploymentServiceRestartInput, DeploymentServiceRestartOutput, DeploymentServiceRollbackInput, DeploymentServiceRollbackOutput, DeploymentServiceScaleInput, DeploymentServiceScaleOutput, DeploymentServiceUpdateInput, DeploymentServiceUpdateOutput, DeploymentSshCommandInput, DeploymentSshCommandOutput, DeploymentSshKeyDeleteInput, DeploymentSshKeyDeleteOutput, DeploymentSshKeyListInput, DeploymentSshKeyListOutput, DeploymentSshKeyRegisterInput, DeploymentSshKeyRegisterOutput, DeploymentVariableListEnvInput, DeploymentVariableListEnvOutput, DeploymentVariableListInput, DeploymentVariableListOutput, DeploymentVariableListProductInput, DeploymentVariableListProductOutput, DeploymentVariableSetEnvInput, DeploymentVariableSetEnvOutput, DeploymentVariableSetInput, DeploymentVariableSetOutput, DeploymentVariableSetProductInput, DeploymentVariableSetProductOutput, DeploymentVariableUnsetEnvInput, DeploymentVariableUnsetEnvOutput, DeploymentVariableUnsetInput, DeploymentVariableUnsetOutput, DeploymentVariableUnsetProductInput, DeploymentVariableUnsetProductOutput, DeploymentVcsBranchListInput, DeploymentVcsBranchListOutput, DeploymentVcsConnectionListInput, DeploymentVcsConnectionListOutput, DeploymentVcsRepoListInput, DeploymentVcsRepoListOutput, DeploymentVolumeCreateInput, DeploymentVolumeCreateOutput, DeploymentVolumeDeleteInput, DeploymentVolumeDeleteOutput, DeploymentVolumeDetachInput, DeploymentVolumeDetachOutput, DeploymentVolumeGetInput, DeploymentVolumeGetOutput, DeploymentVolumeListInput, DeploymentVolumeListOutput, DeploymentVolumeResizeInput, DeploymentVolumeResizeOutput } from '../types.gen';
3
+ export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput, DeploymentAuditListInput, DeploymentAuditListOutput, DeploymentBuildGetInput, DeploymentBuildGetOutput, DeploymentBuildListInput, DeploymentBuildListOutput, DeploymentBuildLogsInput, DeploymentBuildLogsOutput, DeploymentCanvasGetInput, DeploymentCanvasGetOutput, DeploymentCanvasMoveNodeInput, DeploymentCanvasMoveNodeOutput, DeploymentCloudSqlBackfillLogFlagsInput, DeploymentCloudSqlBackfillLogFlagsOutput, DeploymentCloudSqlDatabaseAttachInput, DeploymentCloudSqlDatabaseAttachOutput, DeploymentCloudSqlDatabaseCreateInput, DeploymentCloudSqlDatabaseCreateOutput, DeploymentCloudSqlDatabaseDeleteInput, DeploymentCloudSqlDatabaseDeleteOutput, DeploymentCloudSqlDatabaseDetachInput, DeploymentCloudSqlDatabaseDetachOutput, DeploymentCloudSqlDatabaseGetInput, DeploymentCloudSqlDatabaseGetOutput, DeploymentCloudSqlDatabaseListInput, DeploymentCloudSqlDatabaseListOutput, DeploymentCloudSqlInstanceBackupInput, DeploymentCloudSqlInstanceBackupListInput, DeploymentCloudSqlInstanceBackupListOutput, DeploymentCloudSqlInstanceBackupOutput, DeploymentCloudSqlInstanceCreateInput, DeploymentCloudSqlInstanceCreateOutput, DeploymentCloudSqlInstanceDeleteInput, DeploymentCloudSqlInstanceDeleteOutput, DeploymentCloudSqlInstanceGetInput, DeploymentCloudSqlInstanceGetOutput, DeploymentCloudSqlInstanceListInput, DeploymentCloudSqlInstanceListOutput, DeploymentCloudSqlInstanceResizeInput, DeploymentCloudSqlInstanceResizeOutput, DeploymentCloudSqlInstanceRestoreInput, DeploymentCloudSqlInstanceRestoreOutput, DeploymentCloudSqlLogsInput, DeploymentCloudSqlLogsOutput, DeploymentDeploymentCancelInput, DeploymentDeploymentCancelOutput, DeploymentDeploymentGetInput, DeploymentDeploymentGetOutput, DeploymentDeploymentListInput, DeploymentDeploymentListOutput, DeploymentDomainAddInput, DeploymentDomainAddOutput, DeploymentDomainAllowedListInput, DeploymentDomainAllowedListOutput, DeploymentDomainGetInput, DeploymentDomainGetOutput, DeploymentDomainListByServiceInput, DeploymentDomainListByServiceOutput, DeploymentDomainListInput, DeploymentDomainListOutput, DeploymentDomainRedirectWwwInput, DeploymentDomainRedirectWwwOutput, DeploymentDomainRemoveInput, DeploymentDomainRemoveOutput, DeploymentDomainRoutesAddInput, DeploymentDomainRoutesAddOutput, DeploymentDomainRoutesListInput, DeploymentDomainRoutesListOutput, DeploymentDomainRoutesRemoveInput, DeploymentDomainRoutesRemoveOutput, DeploymentDomainRoutesUpdateInput, DeploymentDomainRoutesUpdateOutput, DeploymentDomainVerifyInput, DeploymentDomainVerifyOutput, DeploymentEnvironmentCreateInput, DeploymentEnvironmentCreateOutput, DeploymentEnvironmentDeleteInput, DeploymentEnvironmentDeleteOutput, DeploymentEnvironmentForkInput, DeploymentEnvironmentForkOutput, DeploymentEnvironmentGetInput, DeploymentEnvironmentGetOutput, DeploymentEnvironmentListInput, DeploymentEnvironmentListOutput, DeploymentEnvironmentReconcileInput, DeploymentEnvironmentReconcileOutput, DeploymentEnvironmentUpdateInput, DeploymentEnvironmentUpdateOutput, DeploymentEventsListByEnvironmentInput, DeploymentEventsListByEnvironmentOutput, DeploymentEventsListByServiceInput, DeploymentEventsListByServiceOutput, DeploymentManagedServiceBackupInput, DeploymentManagedServiceBackupListInput, DeploymentManagedServiceBackupListOutput, DeploymentManagedServiceBackupOutput, DeploymentManagedServiceConnectInfoInput, DeploymentManagedServiceConnectInfoOutput, DeploymentManagedServiceDeleteInput, DeploymentManagedServiceDeleteOutput, DeploymentManagedServiceGetInput, DeploymentManagedServiceGetOutput, DeploymentManagedServiceListInput, DeploymentManagedServiceListOutput, DeploymentManagedServiceLogsInput, DeploymentManagedServiceLogsOutput, DeploymentManagedServiceProvisionInput, DeploymentManagedServiceProvisionOutput, DeploymentManagedServiceReconcileInput, DeploymentManagedServiceReconcileOutput, DeploymentManagedServiceResizeInput, DeploymentManagedServiceResizeOutput, DeploymentManagedServiceRestoreInput, DeploymentManagedServiceRestoreOutput, DeploymentManagedServiceStartInput, DeploymentManagedServiceStartOutput, DeploymentManagedServiceStopInput, DeploymentManagedServiceStopOutput, DeploymentManagedServiceTypesInput, DeploymentManagedServiceTypesOutput, DeploymentMetricsGetInput, DeploymentMetricsGetOutput, DeploymentPreviewEnvironmentCreateInput, DeploymentPreviewEnvironmentCreateOutput, DeploymentPreviewEnvironmentDeleteInput, DeploymentPreviewEnvironmentDeleteOutput, DeploymentPreviewEnvironmentListInput, DeploymentPreviewEnvironmentListOutput, DeploymentPreviewPolicyGetInput, DeploymentPreviewPolicyGetOutput, DeploymentPreviewPolicySetInput, DeploymentPreviewPolicySetOutput, DeploymentServiceCreateInput, DeploymentServiceCreateOutput, DeploymentServiceDeleteInput, DeploymentServiceDeleteOutput, DeploymentServiceExecInput, DeploymentServiceExecOutput, DeploymentServiceGetInput, DeploymentServiceGetOutput, DeploymentServiceListInput, DeploymentServiceListOutput, DeploymentServiceLogsInput, DeploymentServiceLogsOutput, DeploymentServiceRedeployInput, DeploymentServiceRedeployOutput, DeploymentServiceRestartInput, DeploymentServiceRestartOutput, DeploymentServiceRollbackInput, DeploymentServiceRollbackOutput, DeploymentServiceScaleInput, DeploymentServiceScaleOutput, DeploymentServiceUpdateInput, DeploymentServiceUpdateOutput, DeploymentServiceWakeInput, DeploymentServiceWakeOutput, DeploymentSshCommandInput, DeploymentSshCommandOutput, DeploymentSshKeyDeleteInput, DeploymentSshKeyDeleteOutput, DeploymentSshKeyListInput, DeploymentSshKeyListOutput, DeploymentSshKeyRegisterInput, DeploymentSshKeyRegisterOutput, DeploymentVariableListEnvInput, DeploymentVariableListEnvOutput, DeploymentVariableListInput, DeploymentVariableListOutput, DeploymentVariableListProductInput, DeploymentVariableListProductOutput, DeploymentVariableSetEnvInput, DeploymentVariableSetEnvOutput, DeploymentVariableSetInput, DeploymentVariableSetOutput, DeploymentVariableSetProductInput, DeploymentVariableSetProductOutput, DeploymentVariableUnsetEnvInput, DeploymentVariableUnsetEnvOutput, DeploymentVariableUnsetInput, DeploymentVariableUnsetOutput, DeploymentVariableUnsetProductInput, DeploymentVariableUnsetProductOutput, DeploymentVcsBranchListInput, DeploymentVcsBranchListOutput, DeploymentVcsConnectionListInput, DeploymentVcsConnectionListOutput, DeploymentVcsRepoListInput, DeploymentVcsRepoListOutput, DeploymentVolumeCreateInput, DeploymentVolumeCreateOutput, DeploymentVolumeDeleteInput, DeploymentVolumeDeleteOutput, DeploymentVolumeDetachInput, DeploymentVolumeDetachOutput, DeploymentVolumeGetInput, DeploymentVolumeGetOutput, DeploymentVolumeListInput, DeploymentVolumeListOutput, DeploymentVolumeResizeInput, DeploymentVolumeResizeOutput } from '../types.gen';
@@ -121,6 +121,7 @@ import type {
121
121
  DeploymentServiceRollbackInput,
122
122
  DeploymentServiceScaleInput,
123
123
  DeploymentServiceUpdateInput,
124
+ DeploymentServiceWakeInput,
124
125
  DeploymentSshCommandInput,
125
126
  DeploymentSshCommandOutput,
126
127
  DeploymentSshKeyDeleteInput,
@@ -570,6 +571,11 @@ export const deploymentServiceUpdateMutationOptions = (sdk: GeneratedClient) =>
570
571
  mutationFn: (input: DeploymentServiceUpdateInput) => sdk['deployment']['service']['update'](input),
571
572
  });
572
573
 
574
+ export const deploymentServiceWakeMutationOptions = (sdk: GeneratedClient) => ({
575
+ mutationKey: ['deployment', 'service', 'wake'],
576
+ mutationFn: (input: DeploymentServiceWakeInput) => sdk['deployment']['service']['wake'](input),
577
+ });
578
+
573
579
  export const deploymentSshCommandQueryOptions = (sdk: GeneratedClient, input: DeploymentSshCommandInput) => ({
574
580
  queryKey: ['deployment', 'ssh', 'command', input] as const,
575
581
  queryFn: () => sdk['deployment']['ssh']['command'](input),
@@ -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
+ });