@lessly/sdk-app 37.0.0 → 39.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 (57) 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-C7SVQnZq.d.cts → client.gen-CDy1zew2.d.cts} +2048 -206
  10. package/dist/{client.gen-C7SVQnZq.d.ts → client.gen-CDy1zew2.d.ts} +2048 -206
  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 +793 -174
  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 +793 -174
  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/observe/index.cjs +156 -0
  24. package/dist/observe/index.cjs.map +1 -0
  25. package/dist/observe/index.d.cts +124 -0
  26. package/dist/observe/index.d.ts +124 -0
  27. package/dist/observe/index.js +125 -0
  28. package/dist/observe/index.js.map +1 -0
  29. package/dist/organization/index.d.cts +1 -1
  30. package/dist/organization/index.d.ts +1 -1
  31. package/dist/playground/index.cjs +66 -0
  32. package/dist/playground/index.cjs.map +1 -0
  33. package/dist/playground/index.d.cts +52 -0
  34. package/dist/playground/index.d.ts +52 -0
  35. package/dist/playground/index.js +53 -0
  36. package/dist/playground/index.js.map +1 -0
  37. package/dist/realtime/index.d.cts +1 -1
  38. package/dist/realtime/index.d.ts +1 -1
  39. package/dist/support/index.d.cts +1 -1
  40. package/dist/support/index.d.ts +1 -1
  41. package/dist/tracking/index.d.cts +1 -1
  42. package/dist/tracking/index.d.ts +1 -1
  43. package/dist/users/index.d.cts +1 -1
  44. package/dist/users/index.d.ts +1 -1
  45. package/dist/waitlist/index.d.cts +1 -1
  46. package/dist/waitlist/index.d.ts +1 -1
  47. package/package.json +12 -2
  48. package/src/gen/bindings.gen.ts +793 -174
  49. package/src/gen/brain/index.ts +1 -1
  50. package/src/gen/brain/queryOptions.gen.ts +0 -7
  51. package/src/gen/client.gen.ts +164 -5
  52. package/src/gen/manifest.gen.ts +1 -1
  53. package/src/gen/observe/index.ts +3 -0
  54. package/src/gen/observe/queryOptions.gen.ts +200 -0
  55. package/src/gen/playground/index.ts +3 -0
  56. package/src/gen/playground/queryOptions.gen.ts +86 -0
  57. package/src/gen/types.gen.ts +2048 -191
@@ -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,
@@ -430,6 +428,66 @@ import type {
430
428
  MailWebhookListOutput,
431
429
  MailWebhookUpdateInput,
432
430
  MailWebhookUpdateOutput,
431
+ ObserveAlertsCreateInput,
432
+ ObserveAlertsCreateOutput,
433
+ ObserveAlertsDeleteInput,
434
+ ObserveAlertsDeleteOutput,
435
+ ObserveAlertsEventsListInput,
436
+ ObserveAlertsEventsListOutput,
437
+ ObserveAlertsGetInput,
438
+ ObserveAlertsGetOutput,
439
+ ObserveAlertsListInput,
440
+ ObserveAlertsListOutput,
441
+ ObserveAlertsUpdateInput,
442
+ ObserveAlertsUpdateOutput,
443
+ ObserveArtifactsDeleteInput,
444
+ ObserveArtifactsDeleteOutput,
445
+ ObserveArtifactsListInput,
446
+ ObserveArtifactsListOutput,
447
+ ObserveArtifactsResolveInput,
448
+ ObserveArtifactsResolveOutput,
449
+ ObserveIssuesArchiveInput,
450
+ ObserveIssuesArchiveOutput,
451
+ ObserveIssuesAssignInput,
452
+ ObserveIssuesAssignOutput,
453
+ ObserveIssuesGetInput,
454
+ ObserveIssuesGetOutput,
455
+ ObserveIssuesListInput,
456
+ ObserveIssuesListOutput,
457
+ ObserveIssuesResolveInput,
458
+ ObserveIssuesResolveOutput,
459
+ ObserveKeysCreateInput,
460
+ ObserveKeysCreateOutput,
461
+ ObserveKeysListInput,
462
+ ObserveKeysListOutput,
463
+ ObserveKeysRevokeInput,
464
+ ObserveKeysRevokeOutput,
465
+ ObserveLogsFacetsInput,
466
+ ObserveLogsFacetsOutput,
467
+ ObserveLogsSearchInput,
468
+ ObserveLogsSearchOutput,
469
+ ObserveLogsTailInput,
470
+ ObserveLogsTailOutput,
471
+ ObserveTracesGetInput,
472
+ ObserveTracesGetOutput,
473
+ ObserveTracesSearchInput,
474
+ ObserveTracesSearchOutput,
475
+ ObserveWebhooksCreateInput,
476
+ ObserveWebhooksCreateOutput,
477
+ ObserveWebhooksDeleteInput,
478
+ ObserveWebhooksDeleteOutput,
479
+ ObserveWebhooksDeliveriesListInput,
480
+ ObserveWebhooksDeliveriesListOutput,
481
+ ObserveWebhooksGetInput,
482
+ ObserveWebhooksGetOutput,
483
+ ObserveWebhooksListInput,
484
+ ObserveWebhooksListOutput,
485
+ ObserveWebhooksRedeliverInput,
486
+ ObserveWebhooksRedeliverOutput,
487
+ ObserveWebhooksRotateSecretInput,
488
+ ObserveWebhooksRotateSecretOutput,
489
+ ObserveWebhooksUpdateInput,
490
+ ObserveWebhooksUpdateOutput,
433
491
  OrganizationAuthMeInput,
434
492
  OrganizationAuthMeOutput,
435
493
  OrganizationBillingBudgetsGetInput,
@@ -572,6 +630,30 @@ import type {
572
630
  OrganizationSupportThreadReplyOutput,
573
631
  OrganizationSupportThreadsListInput,
574
632
  OrganizationSupportThreadsListOutput,
633
+ PlaygroundAnalyticsOverviewInput,
634
+ PlaygroundAnalyticsOverviewOutput,
635
+ PlaygroundBillingEntitlementsInput,
636
+ PlaygroundBillingEntitlementsOutput,
637
+ PlaygroundBillingRecordUsageInput,
638
+ PlaygroundBillingRecordUsageOutput,
639
+ PlaygroundClickupCreateTaskInput,
640
+ PlaygroundClickupCreateTaskOutput,
641
+ PlaygroundClickupGetLastWebhookInput,
642
+ PlaygroundClickupGetLastWebhookOutput,
643
+ PlaygroundClickupGetOverviewInput,
644
+ PlaygroundClickupGetOverviewOutput,
645
+ PlaygroundGdriveGetLastChangeInput,
646
+ PlaygroundGdriveGetLastChangeOutput,
647
+ PlaygroundGdriveReadFileInput,
648
+ PlaygroundGdriveReadFileOutput,
649
+ PlaygroundGoogleadsReadCustomerInput,
650
+ PlaygroundGoogleadsReadCustomerOutput,
651
+ PlaygroundLifecycleGetStateInput,
652
+ PlaygroundLifecycleGetStateOutput,
653
+ PlaygroundLifecycleListEventsInput,
654
+ PlaygroundLifecycleListEventsOutput,
655
+ PlaygroundWebhookGetLastInput,
656
+ PlaygroundWebhookGetLastOutput,
575
657
  RealtimeArchiveExportInput,
576
658
  RealtimeArchiveExportOutput,
577
659
  RealtimeArchiveExportStatusInput,
@@ -975,9 +1057,6 @@ export interface GeneratedClient {
975
1057
  restore: {
976
1058
  status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
977
1059
  };
978
- usage: {
979
- report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
980
- };
981
1060
  };
982
1061
  consent: {
983
1062
  'config-cookie-domain': {
@@ -1288,6 +1367,58 @@ export interface GeneratedClient {
1288
1367
  list(input: MailWebhookDeliveriesListInput): Promise<MailWebhookDeliveriesListOutput>;
1289
1368
  };
1290
1369
  };
1370
+ observe: {
1371
+ alerts: {
1372
+ create(input: ObserveAlertsCreateInput): Promise<ObserveAlertsCreateOutput>;
1373
+ delete(input: ObserveAlertsDeleteInput): Promise<ObserveAlertsDeleteOutput>;
1374
+ get(input: ObserveAlertsGetInput): Promise<ObserveAlertsGetOutput>;
1375
+ list(input: ObserveAlertsListInput): Promise<ObserveAlertsListOutput>;
1376
+ update(input: ObserveAlertsUpdateInput): Promise<ObserveAlertsUpdateOutput>;
1377
+ };
1378
+ 'alerts-events': {
1379
+ list(input: ObserveAlertsEventsListInput): Promise<ObserveAlertsEventsListOutput>;
1380
+ };
1381
+ artifacts: {
1382
+ delete(input: ObserveArtifactsDeleteInput): Promise<ObserveArtifactsDeleteOutput>;
1383
+ list(input: ObserveArtifactsListInput): Promise<ObserveArtifactsListOutput>;
1384
+ resolve(input: ObserveArtifactsResolveInput): Promise<ObserveArtifactsResolveOutput>;
1385
+ };
1386
+ issues: {
1387
+ archive(input: ObserveIssuesArchiveInput): Promise<ObserveIssuesArchiveOutput>;
1388
+ assign(input: ObserveIssuesAssignInput): Promise<ObserveIssuesAssignOutput>;
1389
+ get(input: ObserveIssuesGetInput): Promise<ObserveIssuesGetOutput>;
1390
+ list(input: ObserveIssuesListInput): Promise<ObserveIssuesListOutput>;
1391
+ resolve(input: ObserveIssuesResolveInput): Promise<ObserveIssuesResolveOutput>;
1392
+ };
1393
+ keys: {
1394
+ create(input: ObserveKeysCreateInput): Promise<ObserveKeysCreateOutput>;
1395
+ list(input: ObserveKeysListInput): Promise<ObserveKeysListOutput>;
1396
+ revoke(input: ObserveKeysRevokeInput): Promise<ObserveKeysRevokeOutput>;
1397
+ };
1398
+ logs: {
1399
+ facets(input: ObserveLogsFacetsInput): Promise<ObserveLogsFacetsOutput>;
1400
+ search(input: ObserveLogsSearchInput): Promise<ObserveLogsSearchOutput>;
1401
+ tail(input: ObserveLogsTailInput): Promise<ObserveLogsTailOutput>;
1402
+ };
1403
+ traces: {
1404
+ get(input: ObserveTracesGetInput): Promise<ObserveTracesGetOutput>;
1405
+ search(input: ObserveTracesSearchInput): Promise<ObserveTracesSearchOutput>;
1406
+ };
1407
+ webhooks: {
1408
+ create(input: ObserveWebhooksCreateInput): Promise<ObserveWebhooksCreateOutput>;
1409
+ delete(input: ObserveWebhooksDeleteInput): Promise<ObserveWebhooksDeleteOutput>;
1410
+ get(input: ObserveWebhooksGetInput): Promise<ObserveWebhooksGetOutput>;
1411
+ list(input: ObserveWebhooksListInput): Promise<ObserveWebhooksListOutput>;
1412
+ redeliver(input: ObserveWebhooksRedeliverInput): Promise<ObserveWebhooksRedeliverOutput>;
1413
+ update(input: ObserveWebhooksUpdateInput): Promise<ObserveWebhooksUpdateOutput>;
1414
+ };
1415
+ 'webhooks-deliveries': {
1416
+ list(input: ObserveWebhooksDeliveriesListInput): Promise<ObserveWebhooksDeliveriesListOutput>;
1417
+ };
1418
+ 'webhooks-rotate': {
1419
+ secret(input: ObserveWebhooksRotateSecretInput): Promise<ObserveWebhooksRotateSecretOutput>;
1420
+ };
1421
+ };
1291
1422
  organization: {
1292
1423
  create(input: OrganizationCreateInput): Promise<OrganizationCreateOutput>;
1293
1424
  list(input: OrganizationListInput): Promise<OrganizationListOutput>;
@@ -1407,6 +1538,34 @@ export interface GeneratedClient {
1407
1538
  list(input: OrganizationSupportThreadsListInput): Promise<OrganizationSupportThreadsListOutput>;
1408
1539
  };
1409
1540
  };
1541
+ playground: {
1542
+ analytics: {
1543
+ overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
1544
+ };
1545
+ billing: {
1546
+ entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
1547
+ 'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
1548
+ };
1549
+ clickup: {
1550
+ 'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
1551
+ 'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
1552
+ 'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
1553
+ };
1554
+ gdrive: {
1555
+ 'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
1556
+ 'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
1557
+ };
1558
+ googleads: {
1559
+ 'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
1560
+ };
1561
+ lifecycle: {
1562
+ 'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
1563
+ 'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
1564
+ };
1565
+ webhook: {
1566
+ 'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
1567
+ };
1568
+ };
1410
1569
  realtime: {
1411
1570
  archive: {
1412
1571
  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', 'support', 'tracking', 'users', 'waitlist'] as const;
2
+ export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', '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 { ObserveAlertsCreateInput, ObserveAlertsCreateOutput, ObserveAlertsDeleteInput, ObserveAlertsDeleteOutput, ObserveAlertsEventsListInput, ObserveAlertsEventsListOutput, ObserveAlertsGetInput, ObserveAlertsGetOutput, ObserveAlertsListInput, ObserveAlertsListOutput, ObserveAlertsUpdateInput, ObserveAlertsUpdateOutput, ObserveArtifactsDeleteInput, ObserveArtifactsDeleteOutput, ObserveArtifactsListInput, ObserveArtifactsListOutput, ObserveArtifactsResolveInput, ObserveArtifactsResolveOutput, ObserveIssuesArchiveInput, ObserveIssuesArchiveOutput, ObserveIssuesAssignInput, ObserveIssuesAssignOutput, ObserveIssuesGetInput, ObserveIssuesGetOutput, ObserveIssuesListInput, ObserveIssuesListOutput, ObserveIssuesResolveInput, ObserveIssuesResolveOutput, ObserveKeysCreateInput, ObserveKeysCreateOutput, ObserveKeysListInput, ObserveKeysListOutput, ObserveKeysRevokeInput, ObserveKeysRevokeOutput, ObserveLogsFacetsInput, ObserveLogsFacetsOutput, ObserveLogsSearchInput, ObserveLogsSearchOutput, ObserveLogsTailInput, ObserveLogsTailOutput, ObserveTracesGetInput, ObserveTracesGetOutput, ObserveTracesSearchInput, ObserveTracesSearchOutput, ObserveWebhooksCreateInput, ObserveWebhooksCreateOutput, ObserveWebhooksDeleteInput, ObserveWebhooksDeleteOutput, ObserveWebhooksDeliveriesListInput, ObserveWebhooksDeliveriesListOutput, ObserveWebhooksGetInput, ObserveWebhooksGetOutput, ObserveWebhooksListInput, ObserveWebhooksListOutput, ObserveWebhooksRedeliverInput, ObserveWebhooksRedeliverOutput, ObserveWebhooksRotateSecretInput, ObserveWebhooksRotateSecretOutput, ObserveWebhooksUpdateInput, ObserveWebhooksUpdateOutput } from '../types.gen';
@@ -0,0 +1,200 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ import type { GeneratedClient } from '../client.gen';
3
+ import type {
4
+ ObserveAlertsCreateInput,
5
+ ObserveAlertsDeleteInput,
6
+ ObserveAlertsEventsListInput,
7
+ ObserveAlertsEventsListOutput,
8
+ ObserveAlertsGetInput,
9
+ ObserveAlertsGetOutput,
10
+ ObserveAlertsListInput,
11
+ ObserveAlertsListOutput,
12
+ ObserveAlertsUpdateInput,
13
+ ObserveArtifactsDeleteInput,
14
+ ObserveArtifactsListInput,
15
+ ObserveArtifactsListOutput,
16
+ ObserveArtifactsResolveInput,
17
+ ObserveArtifactsResolveOutput,
18
+ ObserveIssuesArchiveInput,
19
+ ObserveIssuesAssignInput,
20
+ ObserveIssuesGetInput,
21
+ ObserveIssuesGetOutput,
22
+ ObserveIssuesListInput,
23
+ ObserveIssuesListOutput,
24
+ ObserveIssuesResolveInput,
25
+ ObserveKeysCreateInput,
26
+ ObserveKeysListInput,
27
+ ObserveKeysListOutput,
28
+ ObserveKeysRevokeInput,
29
+ ObserveLogsFacetsInput,
30
+ ObserveLogsFacetsOutput,
31
+ ObserveLogsSearchInput,
32
+ ObserveLogsSearchOutput,
33
+ ObserveLogsTailInput,
34
+ ObserveLogsTailOutput,
35
+ ObserveTracesGetInput,
36
+ ObserveTracesGetOutput,
37
+ ObserveTracesSearchInput,
38
+ ObserveTracesSearchOutput,
39
+ ObserveWebhooksCreateInput,
40
+ ObserveWebhooksDeleteInput,
41
+ ObserveWebhooksDeliveriesListInput,
42
+ ObserveWebhooksDeliveriesListOutput,
43
+ ObserveWebhooksGetInput,
44
+ ObserveWebhooksGetOutput,
45
+ ObserveWebhooksListInput,
46
+ ObserveWebhooksListOutput,
47
+ ObserveWebhooksRedeliverInput,
48
+ ObserveWebhooksRotateSecretInput,
49
+ ObserveWebhooksUpdateInput,
50
+ } from '../types.gen';
51
+
52
+ export const observeAlertsCreateMutationOptions = (sdk: GeneratedClient) => ({
53
+ mutationKey: ['observe', 'alerts', 'create'],
54
+ mutationFn: (input: ObserveAlertsCreateInput) => sdk['observe']['alerts']['create'](input),
55
+ });
56
+
57
+ export const observeAlertsDeleteMutationOptions = (sdk: GeneratedClient) => ({
58
+ mutationKey: ['observe', 'alerts', 'delete'],
59
+ mutationFn: (input: ObserveAlertsDeleteInput) => sdk['observe']['alerts']['delete'](input),
60
+ });
61
+
62
+ export const observeAlertsEventsListQueryOptions = (sdk: GeneratedClient, input: ObserveAlertsEventsListInput) => ({
63
+ queryKey: ['observe', 'alerts-events', 'list', input] as const,
64
+ queryFn: () => sdk['observe']['alerts-events']['list'](input),
65
+ });
66
+
67
+ export const observeAlertsGetQueryOptions = (sdk: GeneratedClient, input: ObserveAlertsGetInput) => ({
68
+ queryKey: ['observe', 'alerts', 'get', input] as const,
69
+ queryFn: () => sdk['observe']['alerts']['get'](input),
70
+ });
71
+
72
+ export const observeAlertsListQueryOptions = (sdk: GeneratedClient, input: ObserveAlertsListInput) => ({
73
+ queryKey: ['observe', 'alerts', 'list', input] as const,
74
+ queryFn: () => sdk['observe']['alerts']['list'](input),
75
+ });
76
+
77
+ export const observeAlertsUpdateMutationOptions = (sdk: GeneratedClient) => ({
78
+ mutationKey: ['observe', 'alerts', 'update'],
79
+ mutationFn: (input: ObserveAlertsUpdateInput) => sdk['observe']['alerts']['update'](input),
80
+ });
81
+
82
+ export const observeArtifactsDeleteMutationOptions = (sdk: GeneratedClient) => ({
83
+ mutationKey: ['observe', 'artifacts', 'delete'],
84
+ mutationFn: (input: ObserveArtifactsDeleteInput) => sdk['observe']['artifacts']['delete'](input),
85
+ });
86
+
87
+ export const observeArtifactsListQueryOptions = (sdk: GeneratedClient, input: ObserveArtifactsListInput) => ({
88
+ queryKey: ['observe', 'artifacts', 'list', input] as const,
89
+ queryFn: () => sdk['observe']['artifacts']['list'](input),
90
+ });
91
+
92
+ export const observeArtifactsResolveQueryOptions = (sdk: GeneratedClient, input: ObserveArtifactsResolveInput) => ({
93
+ queryKey: ['observe', 'artifacts', 'resolve', input] as const,
94
+ queryFn: () => sdk['observe']['artifacts']['resolve'](input),
95
+ });
96
+
97
+ export const observeIssuesArchiveMutationOptions = (sdk: GeneratedClient) => ({
98
+ mutationKey: ['observe', 'issues', 'archive'],
99
+ mutationFn: (input: ObserveIssuesArchiveInput) => sdk['observe']['issues']['archive'](input),
100
+ });
101
+
102
+ export const observeIssuesAssignMutationOptions = (sdk: GeneratedClient) => ({
103
+ mutationKey: ['observe', 'issues', 'assign'],
104
+ mutationFn: (input: ObserveIssuesAssignInput) => sdk['observe']['issues']['assign'](input),
105
+ });
106
+
107
+ export const observeIssuesGetQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesGetInput) => ({
108
+ queryKey: ['observe', 'issues', 'get', input] as const,
109
+ queryFn: () => sdk['observe']['issues']['get'](input),
110
+ });
111
+
112
+ export const observeIssuesListQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesListInput) => ({
113
+ queryKey: ['observe', 'issues', 'list', input] as const,
114
+ queryFn: () => sdk['observe']['issues']['list'](input),
115
+ });
116
+
117
+ export const observeIssuesResolveMutationOptions = (sdk: GeneratedClient) => ({
118
+ mutationKey: ['observe', 'issues', 'resolve'],
119
+ mutationFn: (input: ObserveIssuesResolveInput) => sdk['observe']['issues']['resolve'](input),
120
+ });
121
+
122
+ export const observeKeysCreateMutationOptions = (sdk: GeneratedClient) => ({
123
+ mutationKey: ['observe', 'keys', 'create'],
124
+ mutationFn: (input: ObserveKeysCreateInput) => sdk['observe']['keys']['create'](input),
125
+ });
126
+
127
+ export const observeKeysListQueryOptions = (sdk: GeneratedClient, input: ObserveKeysListInput) => ({
128
+ queryKey: ['observe', 'keys', 'list', input] as const,
129
+ queryFn: () => sdk['observe']['keys']['list'](input),
130
+ });
131
+
132
+ export const observeKeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
133
+ mutationKey: ['observe', 'keys', 'revoke'],
134
+ mutationFn: (input: ObserveKeysRevokeInput) => sdk['observe']['keys']['revoke'](input),
135
+ });
136
+
137
+ export const observeLogsFacetsQueryOptions = (sdk: GeneratedClient, input: ObserveLogsFacetsInput) => ({
138
+ queryKey: ['observe', 'logs', 'facets', input] as const,
139
+ queryFn: () => sdk['observe']['logs']['facets'](input),
140
+ });
141
+
142
+ export const observeLogsSearchQueryOptions = (sdk: GeneratedClient, input: ObserveLogsSearchInput) => ({
143
+ queryKey: ['observe', 'logs', 'search', input] as const,
144
+ queryFn: () => sdk['observe']['logs']['search'](input),
145
+ });
146
+
147
+ export const observeLogsTailQueryOptions = (sdk: GeneratedClient, input: ObserveLogsTailInput) => ({
148
+ queryKey: ['observe', 'logs', 'tail', input] as const,
149
+ queryFn: () => sdk['observe']['logs']['tail'](input),
150
+ });
151
+
152
+ export const observeTracesGetQueryOptions = (sdk: GeneratedClient, input: ObserveTracesGetInput) => ({
153
+ queryKey: ['observe', 'traces', 'get', input] as const,
154
+ queryFn: () => sdk['observe']['traces']['get'](input),
155
+ });
156
+
157
+ export const observeTracesSearchQueryOptions = (sdk: GeneratedClient, input: ObserveTracesSearchInput) => ({
158
+ queryKey: ['observe', 'traces', 'search', input] as const,
159
+ queryFn: () => sdk['observe']['traces']['search'](input),
160
+ });
161
+
162
+ export const observeWebhooksCreateMutationOptions = (sdk: GeneratedClient) => ({
163
+ mutationKey: ['observe', 'webhooks', 'create'],
164
+ mutationFn: (input: ObserveWebhooksCreateInput) => sdk['observe']['webhooks']['create'](input),
165
+ });
166
+
167
+ export const observeWebhooksDeleteMutationOptions = (sdk: GeneratedClient) => ({
168
+ mutationKey: ['observe', 'webhooks', 'delete'],
169
+ mutationFn: (input: ObserveWebhooksDeleteInput) => sdk['observe']['webhooks']['delete'](input),
170
+ });
171
+
172
+ export const observeWebhooksDeliveriesListQueryOptions = (sdk: GeneratedClient, input: ObserveWebhooksDeliveriesListInput) => ({
173
+ queryKey: ['observe', 'webhooks-deliveries', 'list', input] as const,
174
+ queryFn: () => sdk['observe']['webhooks-deliveries']['list'](input),
175
+ });
176
+
177
+ export const observeWebhooksGetQueryOptions = (sdk: GeneratedClient, input: ObserveWebhooksGetInput) => ({
178
+ queryKey: ['observe', 'webhooks', 'get', input] as const,
179
+ queryFn: () => sdk['observe']['webhooks']['get'](input),
180
+ });
181
+
182
+ export const observeWebhooksListQueryOptions = (sdk: GeneratedClient, input: ObserveWebhooksListInput) => ({
183
+ queryKey: ['observe', 'webhooks', 'list', input] as const,
184
+ queryFn: () => sdk['observe']['webhooks']['list'](input),
185
+ });
186
+
187
+ export const observeWebhooksRedeliverMutationOptions = (sdk: GeneratedClient) => ({
188
+ mutationKey: ['observe', 'webhooks', 'redeliver'],
189
+ mutationFn: (input: ObserveWebhooksRedeliverInput) => sdk['observe']['webhooks']['redeliver'](input),
190
+ });
191
+
192
+ export const observeWebhooksRotateSecretMutationOptions = (sdk: GeneratedClient) => ({
193
+ mutationKey: ['observe', 'webhooks-rotate', 'secret'],
194
+ mutationFn: (input: ObserveWebhooksRotateSecretInput) => sdk['observe']['webhooks-rotate']['secret'](input),
195
+ });
196
+
197
+ export const observeWebhooksUpdateMutationOptions = (sdk: GeneratedClient) => ({
198
+ mutationKey: ['observe', 'webhooks', 'update'],
199
+ mutationFn: (input: ObserveWebhooksUpdateInput) => sdk['observe']['webhooks']['update'](input),
200
+ });
@@ -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
+ });