@lessly/sdk-app 32.1.2 → 33.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.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.cjs +0 -5
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +2 -6
- package/dist/brain/index.d.ts +2 -6
- package/dist/brain/index.js +1 -5
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-p_iZK5OO.d.cts → client.gen-B81KzIal.d.cts} +1314 -259
- package/dist/{client.gen-p_iZK5OO.d.ts → client.gen-B81KzIal.d.ts} +1314 -259
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +422 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +422 -51
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.cjs +71 -0
- package/dist/observe/index.cjs.map +1 -0
- package/dist/observe/index.d.cts +56 -0
- package/dist/observe/index.d.ts +56 -0
- package/dist/observe/index.js +57 -0
- package/dist/observe/index.js.map +1 -0
- package/dist/organization/index.cjs +33 -18
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.d.cts +27 -15
- package/dist/organization/index.d.ts +27 -15
- package/dist/organization/index.js +27 -15
- package/dist/organization/index.js.map +1 -1
- package/dist/playground/index.cjs +66 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +52 -0
- package/dist/playground/index.d.ts +52 -0
- package/dist/playground/index.js +53 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +422 -51
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +126 -17
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/observe/index.ts +3 -0
- package/src/gen/observe/queryOptions.gen.ts +89 -0
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +41 -21
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +1316 -253
|
@@ -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
|
-
});
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -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,32 @@ import type {
|
|
|
430
428
|
MailWebhookListOutput,
|
|
431
429
|
MailWebhookUpdateInput,
|
|
432
430
|
MailWebhookUpdateOutput,
|
|
431
|
+
ObserveArtifactsDeleteInput,
|
|
432
|
+
ObserveArtifactsDeleteOutput,
|
|
433
|
+
ObserveArtifactsListInput,
|
|
434
|
+
ObserveArtifactsListOutput,
|
|
435
|
+
ObserveArtifactsResolveInput,
|
|
436
|
+
ObserveArtifactsResolveOutput,
|
|
437
|
+
ObserveIssuesArchiveInput,
|
|
438
|
+
ObserveIssuesArchiveOutput,
|
|
439
|
+
ObserveIssuesAssignInput,
|
|
440
|
+
ObserveIssuesAssignOutput,
|
|
441
|
+
ObserveIssuesGetInput,
|
|
442
|
+
ObserveIssuesGetOutput,
|
|
443
|
+
ObserveIssuesListInput,
|
|
444
|
+
ObserveIssuesListOutput,
|
|
445
|
+
ObserveIssuesResolveInput,
|
|
446
|
+
ObserveIssuesResolveOutput,
|
|
447
|
+
ObserveKeysCreateInput,
|
|
448
|
+
ObserveKeysCreateOutput,
|
|
449
|
+
ObserveKeysListInput,
|
|
450
|
+
ObserveKeysListOutput,
|
|
451
|
+
ObserveKeysRevokeInput,
|
|
452
|
+
ObserveKeysRevokeOutput,
|
|
453
|
+
ObserveLogsSearchInput,
|
|
454
|
+
ObserveLogsSearchOutput,
|
|
455
|
+
ObserveLogsTailInput,
|
|
456
|
+
ObserveLogsTailOutput,
|
|
433
457
|
OrganizationAuthMeInput,
|
|
434
458
|
OrganizationAuthMeOutput,
|
|
435
459
|
OrganizationBillingBudgetsGetInput,
|
|
@@ -522,24 +546,22 @@ import type {
|
|
|
522
546
|
OrganizationMembersAssignRoleOutput,
|
|
523
547
|
OrganizationPermissionCatalogInput,
|
|
524
548
|
OrganizationPermissionCatalogOutput,
|
|
525
|
-
OrganizationProductAcceptInvitationInput,
|
|
526
|
-
OrganizationProductAcceptInvitationOutput,
|
|
527
549
|
OrganizationProductCreateInput,
|
|
528
550
|
OrganizationProductCreateOutput,
|
|
529
|
-
|
|
530
|
-
|
|
551
|
+
OrganizationProductListAccessInput,
|
|
552
|
+
OrganizationProductListAccessOutput,
|
|
531
553
|
OrganizationProductListInput,
|
|
532
|
-
OrganizationProductListInvitationsInput,
|
|
533
|
-
OrganizationProductListInvitationsOutput,
|
|
534
554
|
OrganizationProductListMembersInput,
|
|
535
555
|
OrganizationProductListMembersOutput,
|
|
536
556
|
OrganizationProductListOutput,
|
|
537
557
|
OrganizationProductListRolesInput,
|
|
538
558
|
OrganizationProductListRolesOutput,
|
|
539
|
-
|
|
540
|
-
|
|
559
|
+
OrganizationProductRevokeAccessInput,
|
|
560
|
+
OrganizationProductRevokeAccessOutput,
|
|
541
561
|
OrganizationProductSelectInput,
|
|
542
562
|
OrganizationProductSelectOutput,
|
|
563
|
+
OrganizationProductSetAccessInput,
|
|
564
|
+
OrganizationProductSetAccessOutput,
|
|
543
565
|
OrganizationProductUpdateInput,
|
|
544
566
|
OrganizationProductUpdateOutput,
|
|
545
567
|
OrganizationPublicKeysCreateInput,
|
|
@@ -566,6 +588,38 @@ import type {
|
|
|
566
588
|
OrganizationSecurityMfaEnableOutput,
|
|
567
589
|
OrganizationSelectInput,
|
|
568
590
|
OrganizationSelectOutput,
|
|
591
|
+
OrganizationSupportThreadCreateInput,
|
|
592
|
+
OrganizationSupportThreadCreateOutput,
|
|
593
|
+
OrganizationSupportThreadGetInput,
|
|
594
|
+
OrganizationSupportThreadGetOutput,
|
|
595
|
+
OrganizationSupportThreadReplyInput,
|
|
596
|
+
OrganizationSupportThreadReplyOutput,
|
|
597
|
+
OrganizationSupportThreadsListInput,
|
|
598
|
+
OrganizationSupportThreadsListOutput,
|
|
599
|
+
PlaygroundAnalyticsOverviewInput,
|
|
600
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
601
|
+
PlaygroundBillingEntitlementsInput,
|
|
602
|
+
PlaygroundBillingEntitlementsOutput,
|
|
603
|
+
PlaygroundBillingRecordUsageInput,
|
|
604
|
+
PlaygroundBillingRecordUsageOutput,
|
|
605
|
+
PlaygroundClickupCreateTaskInput,
|
|
606
|
+
PlaygroundClickupCreateTaskOutput,
|
|
607
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
608
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
609
|
+
PlaygroundClickupGetOverviewInput,
|
|
610
|
+
PlaygroundClickupGetOverviewOutput,
|
|
611
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
612
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
613
|
+
PlaygroundGdriveReadFileInput,
|
|
614
|
+
PlaygroundGdriveReadFileOutput,
|
|
615
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
616
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
617
|
+
PlaygroundLifecycleGetStateInput,
|
|
618
|
+
PlaygroundLifecycleGetStateOutput,
|
|
619
|
+
PlaygroundLifecycleListEventsInput,
|
|
620
|
+
PlaygroundLifecycleListEventsOutput,
|
|
621
|
+
PlaygroundWebhookGetLastInput,
|
|
622
|
+
PlaygroundWebhookGetLastOutput,
|
|
569
623
|
RealtimeArchiveExportInput,
|
|
570
624
|
RealtimeArchiveExportOutput,
|
|
571
625
|
RealtimeArchiveExportStatusInput,
|
|
@@ -937,9 +991,6 @@ export interface GeneratedClient {
|
|
|
937
991
|
restore: {
|
|
938
992
|
status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
|
|
939
993
|
};
|
|
940
|
-
usage: {
|
|
941
|
-
report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
|
|
942
|
-
};
|
|
943
994
|
};
|
|
944
995
|
consent: {
|
|
945
996
|
'config-cookie-domain': {
|
|
@@ -1250,6 +1301,29 @@ export interface GeneratedClient {
|
|
|
1250
1301
|
list(input: MailWebhookDeliveriesListInput): Promise<MailWebhookDeliveriesListOutput>;
|
|
1251
1302
|
};
|
|
1252
1303
|
};
|
|
1304
|
+
observe: {
|
|
1305
|
+
artifacts: {
|
|
1306
|
+
delete(input: ObserveArtifactsDeleteInput): Promise<ObserveArtifactsDeleteOutput>;
|
|
1307
|
+
list(input: ObserveArtifactsListInput): Promise<ObserveArtifactsListOutput>;
|
|
1308
|
+
resolve(input: ObserveArtifactsResolveInput): Promise<ObserveArtifactsResolveOutput>;
|
|
1309
|
+
};
|
|
1310
|
+
issues: {
|
|
1311
|
+
archive(input: ObserveIssuesArchiveInput): Promise<ObserveIssuesArchiveOutput>;
|
|
1312
|
+
assign(input: ObserveIssuesAssignInput): Promise<ObserveIssuesAssignOutput>;
|
|
1313
|
+
get(input: ObserveIssuesGetInput): Promise<ObserveIssuesGetOutput>;
|
|
1314
|
+
list(input: ObserveIssuesListInput): Promise<ObserveIssuesListOutput>;
|
|
1315
|
+
resolve(input: ObserveIssuesResolveInput): Promise<ObserveIssuesResolveOutput>;
|
|
1316
|
+
};
|
|
1317
|
+
keys: {
|
|
1318
|
+
create(input: ObserveKeysCreateInput): Promise<ObserveKeysCreateOutput>;
|
|
1319
|
+
list(input: ObserveKeysListInput): Promise<ObserveKeysListOutput>;
|
|
1320
|
+
revoke(input: ObserveKeysRevokeInput): Promise<ObserveKeysRevokeOutput>;
|
|
1321
|
+
};
|
|
1322
|
+
logs: {
|
|
1323
|
+
search(input: ObserveLogsSearchInput): Promise<ObserveLogsSearchOutput>;
|
|
1324
|
+
tail(input: ObserveLogsTailInput): Promise<ObserveLogsTailOutput>;
|
|
1325
|
+
};
|
|
1326
|
+
};
|
|
1253
1327
|
organization: {
|
|
1254
1328
|
create(input: OrganizationCreateInput): Promise<OrganizationCreateOutput>;
|
|
1255
1329
|
list(input: OrganizationListInput): Promise<OrganizationListOutput>;
|
|
@@ -1331,15 +1405,14 @@ export interface GeneratedClient {
|
|
|
1331
1405
|
catalog(input: OrganizationPermissionCatalogInput): Promise<OrganizationPermissionCatalogOutput>;
|
|
1332
1406
|
};
|
|
1333
1407
|
product: {
|
|
1334
|
-
'accept-invitation'(input: OrganizationProductAcceptInvitationInput): Promise<OrganizationProductAcceptInvitationOutput>;
|
|
1335
1408
|
create(input: OrganizationProductCreateInput): Promise<OrganizationProductCreateOutput>;
|
|
1336
|
-
invite(input: OrganizationProductInviteInput): Promise<OrganizationProductInviteOutput>;
|
|
1337
1409
|
list(input: OrganizationProductListInput): Promise<OrganizationProductListOutput>;
|
|
1338
|
-
'list-
|
|
1410
|
+
'list-access'(input: OrganizationProductListAccessInput): Promise<OrganizationProductListAccessOutput>;
|
|
1339
1411
|
'list-members'(input: OrganizationProductListMembersInput): Promise<OrganizationProductListMembersOutput>;
|
|
1340
1412
|
'list-roles'(input: OrganizationProductListRolesInput): Promise<OrganizationProductListRolesOutput>;
|
|
1341
|
-
'revoke-
|
|
1413
|
+
'revoke-access'(input: OrganizationProductRevokeAccessInput): Promise<OrganizationProductRevokeAccessOutput>;
|
|
1342
1414
|
select(input: OrganizationProductSelectInput): Promise<OrganizationProductSelectOutput>;
|
|
1415
|
+
'set-access'(input: OrganizationProductSetAccessInput): Promise<OrganizationProductSetAccessOutput>;
|
|
1343
1416
|
update(input: OrganizationProductUpdateInput): Promise<OrganizationProductUpdateOutput>;
|
|
1344
1417
|
};
|
|
1345
1418
|
'public-keys': {
|
|
@@ -1361,6 +1434,42 @@ export interface GeneratedClient {
|
|
|
1361
1434
|
'security-mfa': {
|
|
1362
1435
|
enable(input: OrganizationSecurityMfaEnableInput): Promise<OrganizationSecurityMfaEnableOutput>;
|
|
1363
1436
|
};
|
|
1437
|
+
'support-thread': {
|
|
1438
|
+
create(input: OrganizationSupportThreadCreateInput): Promise<OrganizationSupportThreadCreateOutput>;
|
|
1439
|
+
get(input: OrganizationSupportThreadGetInput): Promise<OrganizationSupportThreadGetOutput>;
|
|
1440
|
+
reply(input: OrganizationSupportThreadReplyInput): Promise<OrganizationSupportThreadReplyOutput>;
|
|
1441
|
+
};
|
|
1442
|
+
'support-threads': {
|
|
1443
|
+
list(input: OrganizationSupportThreadsListInput): Promise<OrganizationSupportThreadsListOutput>;
|
|
1444
|
+
};
|
|
1445
|
+
};
|
|
1446
|
+
playground: {
|
|
1447
|
+
analytics: {
|
|
1448
|
+
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
1449
|
+
};
|
|
1450
|
+
billing: {
|
|
1451
|
+
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
1452
|
+
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
1453
|
+
};
|
|
1454
|
+
clickup: {
|
|
1455
|
+
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
1456
|
+
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
1457
|
+
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
1458
|
+
};
|
|
1459
|
+
gdrive: {
|
|
1460
|
+
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
1461
|
+
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
1462
|
+
};
|
|
1463
|
+
googleads: {
|
|
1464
|
+
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
1465
|
+
};
|
|
1466
|
+
lifecycle: {
|
|
1467
|
+
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
1468
|
+
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
1469
|
+
};
|
|
1470
|
+
webhook: {
|
|
1471
|
+
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
1472
|
+
};
|
|
1364
1473
|
};
|
|
1365
1474
|
realtime: {
|
|
1366
1475
|
archive: {
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -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 { ObserveArtifactsDeleteInput, ObserveArtifactsDeleteOutput, ObserveArtifactsListInput, ObserveArtifactsListOutput, ObserveArtifactsResolveInput, ObserveArtifactsResolveOutput, ObserveIssuesArchiveInput, ObserveIssuesArchiveOutput, ObserveIssuesAssignInput, ObserveIssuesAssignOutput, ObserveIssuesGetInput, ObserveIssuesGetOutput, ObserveIssuesListInput, ObserveIssuesListOutput, ObserveIssuesResolveInput, ObserveIssuesResolveOutput, ObserveKeysCreateInput, ObserveKeysCreateOutput, ObserveKeysListInput, ObserveKeysListOutput, ObserveKeysRevokeInput, ObserveKeysRevokeOutput, ObserveLogsSearchInput, ObserveLogsSearchOutput, ObserveLogsTailInput, ObserveLogsTailOutput } from '../types.gen';
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
ObserveArtifactsDeleteInput,
|
|
5
|
+
ObserveArtifactsListInput,
|
|
6
|
+
ObserveArtifactsListOutput,
|
|
7
|
+
ObserveArtifactsResolveInput,
|
|
8
|
+
ObserveArtifactsResolveOutput,
|
|
9
|
+
ObserveIssuesArchiveInput,
|
|
10
|
+
ObserveIssuesAssignInput,
|
|
11
|
+
ObserveIssuesGetInput,
|
|
12
|
+
ObserveIssuesGetOutput,
|
|
13
|
+
ObserveIssuesListInput,
|
|
14
|
+
ObserveIssuesListOutput,
|
|
15
|
+
ObserveIssuesResolveInput,
|
|
16
|
+
ObserveKeysCreateInput,
|
|
17
|
+
ObserveKeysListInput,
|
|
18
|
+
ObserveKeysListOutput,
|
|
19
|
+
ObserveKeysRevokeInput,
|
|
20
|
+
ObserveLogsSearchInput,
|
|
21
|
+
ObserveLogsSearchOutput,
|
|
22
|
+
ObserveLogsTailInput,
|
|
23
|
+
ObserveLogsTailOutput,
|
|
24
|
+
} from '../types.gen';
|
|
25
|
+
|
|
26
|
+
export const observeArtifactsDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
27
|
+
mutationKey: ['observe', 'artifacts', 'delete'],
|
|
28
|
+
mutationFn: (input: ObserveArtifactsDeleteInput) => sdk['observe']['artifacts']['delete'](input),
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export const observeArtifactsListQueryOptions = (sdk: GeneratedClient, input: ObserveArtifactsListInput) => ({
|
|
32
|
+
queryKey: ['observe', 'artifacts', 'list', input] as const,
|
|
33
|
+
queryFn: () => sdk['observe']['artifacts']['list'](input),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export const observeArtifactsResolveQueryOptions = (sdk: GeneratedClient, input: ObserveArtifactsResolveInput) => ({
|
|
37
|
+
queryKey: ['observe', 'artifacts', 'resolve', input] as const,
|
|
38
|
+
queryFn: () => sdk['observe']['artifacts']['resolve'](input),
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export const observeIssuesArchiveMutationOptions = (sdk: GeneratedClient) => ({
|
|
42
|
+
mutationKey: ['observe', 'issues', 'archive'],
|
|
43
|
+
mutationFn: (input: ObserveIssuesArchiveInput) => sdk['observe']['issues']['archive'](input),
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export const observeIssuesAssignMutationOptions = (sdk: GeneratedClient) => ({
|
|
47
|
+
mutationKey: ['observe', 'issues', 'assign'],
|
|
48
|
+
mutationFn: (input: ObserveIssuesAssignInput) => sdk['observe']['issues']['assign'](input),
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export const observeIssuesGetQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesGetInput) => ({
|
|
52
|
+
queryKey: ['observe', 'issues', 'get', input] as const,
|
|
53
|
+
queryFn: () => sdk['observe']['issues']['get'](input),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export const observeIssuesListQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesListInput) => ({
|
|
57
|
+
queryKey: ['observe', 'issues', 'list', input] as const,
|
|
58
|
+
queryFn: () => sdk['observe']['issues']['list'](input),
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
export const observeIssuesResolveMutationOptions = (sdk: GeneratedClient) => ({
|
|
62
|
+
mutationKey: ['observe', 'issues', 'resolve'],
|
|
63
|
+
mutationFn: (input: ObserveIssuesResolveInput) => sdk['observe']['issues']['resolve'](input),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export const observeKeysCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
67
|
+
mutationKey: ['observe', 'keys', 'create'],
|
|
68
|
+
mutationFn: (input: ObserveKeysCreateInput) => sdk['observe']['keys']['create'](input),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export const observeKeysListQueryOptions = (sdk: GeneratedClient, input: ObserveKeysListInput) => ({
|
|
72
|
+
queryKey: ['observe', 'keys', 'list', input] as const,
|
|
73
|
+
queryFn: () => sdk['observe']['keys']['list'](input),
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export const observeKeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
77
|
+
mutationKey: ['observe', 'keys', 'revoke'],
|
|
78
|
+
mutationFn: (input: ObserveKeysRevokeInput) => sdk['observe']['keys']['revoke'](input),
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export const observeLogsSearchQueryOptions = (sdk: GeneratedClient, input: ObserveLogsSearchInput) => ({
|
|
82
|
+
queryKey: ['observe', 'logs', 'search', input] as const,
|
|
83
|
+
queryFn: () => sdk['observe']['logs']['search'](input),
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export const observeLogsTailQueryOptions = (sdk: GeneratedClient, input: ObserveLogsTailInput) => ({
|
|
87
|
+
queryKey: ['observe', 'logs', 'tail', input] as const,
|
|
88
|
+
queryFn: () => sdk['observe']['logs']['tail'](input),
|
|
89
|
+
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingBudgetsSetInput, OrganizationBillingBudgetsSetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput,
|
|
3
|
+
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingBudgetsSetInput, OrganizationBillingBudgetsSetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput } from '../types.gen';
|
|
@@ -65,19 +65,18 @@ import type {
|
|
|
65
65
|
OrganizationMembersAssignRoleInput,
|
|
66
66
|
OrganizationPermissionCatalogInput,
|
|
67
67
|
OrganizationPermissionCatalogOutput,
|
|
68
|
-
OrganizationProductAcceptInvitationInput,
|
|
69
68
|
OrganizationProductCreateInput,
|
|
70
|
-
|
|
69
|
+
OrganizationProductListAccessInput,
|
|
70
|
+
OrganizationProductListAccessOutput,
|
|
71
71
|
OrganizationProductListInput,
|
|
72
|
-
OrganizationProductListInvitationsInput,
|
|
73
|
-
OrganizationProductListInvitationsOutput,
|
|
74
72
|
OrganizationProductListMembersInput,
|
|
75
73
|
OrganizationProductListMembersOutput,
|
|
76
74
|
OrganizationProductListOutput,
|
|
77
75
|
OrganizationProductListRolesInput,
|
|
78
76
|
OrganizationProductListRolesOutput,
|
|
79
|
-
|
|
77
|
+
OrganizationProductRevokeAccessInput,
|
|
80
78
|
OrganizationProductSelectInput,
|
|
79
|
+
OrganizationProductSetAccessInput,
|
|
81
80
|
OrganizationProductUpdateInput,
|
|
82
81
|
OrganizationPublicKeysCreateInput,
|
|
83
82
|
OrganizationPublicKeysListInput,
|
|
@@ -95,6 +94,12 @@ import type {
|
|
|
95
94
|
OrganizationRolesUpdateInput,
|
|
96
95
|
OrganizationSecurityMfaEnableInput,
|
|
97
96
|
OrganizationSelectInput,
|
|
97
|
+
OrganizationSupportThreadCreateInput,
|
|
98
|
+
OrganizationSupportThreadGetInput,
|
|
99
|
+
OrganizationSupportThreadGetOutput,
|
|
100
|
+
OrganizationSupportThreadReplyInput,
|
|
101
|
+
OrganizationSupportThreadsListInput,
|
|
102
|
+
OrganizationSupportThreadsListOutput,
|
|
98
103
|
} from '../types.gen';
|
|
99
104
|
|
|
100
105
|
export const organizationAuthMeQueryOptions = (sdk: GeneratedClient, input: OrganizationAuthMeInput) => ({
|
|
@@ -327,29 +332,19 @@ export const organizationPermissionCatalogQueryOptions = (sdk: GeneratedClient,
|
|
|
327
332
|
queryFn: () => sdk['organization']['permission']['catalog'](input),
|
|
328
333
|
});
|
|
329
334
|
|
|
330
|
-
export const organizationProductAcceptInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
331
|
-
mutationKey: ['organization', 'product', 'accept-invitation'],
|
|
332
|
-
mutationFn: (input: OrganizationProductAcceptInvitationInput) => sdk['organization']['product']['accept-invitation'](input),
|
|
333
|
-
});
|
|
334
|
-
|
|
335
335
|
export const organizationProductCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
336
336
|
mutationKey: ['organization', 'product', 'create'],
|
|
337
337
|
mutationFn: (input: OrganizationProductCreateInput) => sdk['organization']['product']['create'](input),
|
|
338
338
|
});
|
|
339
339
|
|
|
340
|
-
export const organizationProductInviteMutationOptions = (sdk: GeneratedClient) => ({
|
|
341
|
-
mutationKey: ['organization', 'product', 'invite'],
|
|
342
|
-
mutationFn: (input: OrganizationProductInviteInput) => sdk['organization']['product']['invite'](input),
|
|
343
|
-
});
|
|
344
|
-
|
|
345
340
|
export const organizationProductListQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListInput) => ({
|
|
346
341
|
queryKey: ['organization', 'product', 'list', input] as const,
|
|
347
342
|
queryFn: () => sdk['organization']['product']['list'](input),
|
|
348
343
|
});
|
|
349
344
|
|
|
350
|
-
export const
|
|
351
|
-
queryKey: ['organization', 'product', 'list-
|
|
352
|
-
queryFn: () => sdk['organization']['product']['list-
|
|
345
|
+
export const organizationProductListAccessQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListAccessInput) => ({
|
|
346
|
+
queryKey: ['organization', 'product', 'list-access', input] as const,
|
|
347
|
+
queryFn: () => sdk['organization']['product']['list-access'](input),
|
|
353
348
|
});
|
|
354
349
|
|
|
355
350
|
export const organizationProductListMembersQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListMembersInput) => ({
|
|
@@ -362,9 +357,9 @@ export const organizationProductListRolesQueryOptions = (sdk: GeneratedClient, i
|
|
|
362
357
|
queryFn: () => sdk['organization']['product']['list-roles'](input),
|
|
363
358
|
});
|
|
364
359
|
|
|
365
|
-
export const
|
|
366
|
-
mutationKey: ['organization', 'product', 'revoke-
|
|
367
|
-
mutationFn: (input:
|
|
360
|
+
export const organizationProductRevokeAccessMutationOptions = (sdk: GeneratedClient) => ({
|
|
361
|
+
mutationKey: ['organization', 'product', 'revoke-access'],
|
|
362
|
+
mutationFn: (input: OrganizationProductRevokeAccessInput) => sdk['organization']['product']['revoke-access'](input),
|
|
368
363
|
});
|
|
369
364
|
|
|
370
365
|
export const organizationProductSelectMutationOptions = (sdk: GeneratedClient) => ({
|
|
@@ -372,6 +367,11 @@ export const organizationProductSelectMutationOptions = (sdk: GeneratedClient) =
|
|
|
372
367
|
mutationFn: (input: OrganizationProductSelectInput) => sdk['organization']['product']['select'](input),
|
|
373
368
|
});
|
|
374
369
|
|
|
370
|
+
export const organizationProductSetAccessMutationOptions = (sdk: GeneratedClient) => ({
|
|
371
|
+
mutationKey: ['organization', 'product', 'set-access'],
|
|
372
|
+
mutationFn: (input: OrganizationProductSetAccessInput) => sdk['organization']['product']['set-access'](input),
|
|
373
|
+
});
|
|
374
|
+
|
|
375
375
|
export const organizationProductUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
376
376
|
mutationKey: ['organization', 'product', 'update'],
|
|
377
377
|
mutationFn: (input: OrganizationProductUpdateInput) => sdk['organization']['product']['update'](input),
|
|
@@ -436,3 +436,23 @@ export const organizationSelectMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
436
436
|
mutationKey: ['organization', 'select'],
|
|
437
437
|
mutationFn: (input: OrganizationSelectInput) => sdk['organization']['select'](input),
|
|
438
438
|
});
|
|
439
|
+
|
|
440
|
+
export const organizationSupportThreadCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
441
|
+
mutationKey: ['organization', 'support-thread', 'create'],
|
|
442
|
+
mutationFn: (input: OrganizationSupportThreadCreateInput) => sdk['organization']['support-thread']['create'](input),
|
|
443
|
+
});
|
|
444
|
+
|
|
445
|
+
export const organizationSupportThreadGetQueryOptions = (sdk: GeneratedClient, input: OrganizationSupportThreadGetInput) => ({
|
|
446
|
+
queryKey: ['organization', 'support-thread', 'get', input] as const,
|
|
447
|
+
queryFn: () => sdk['organization']['support-thread']['get'](input),
|
|
448
|
+
});
|
|
449
|
+
|
|
450
|
+
export const organizationSupportThreadReplyMutationOptions = (sdk: GeneratedClient) => ({
|
|
451
|
+
mutationKey: ['organization', 'support-thread', 'reply'],
|
|
452
|
+
mutationFn: (input: OrganizationSupportThreadReplyInput) => sdk['organization']['support-thread']['reply'](input),
|
|
453
|
+
});
|
|
454
|
+
|
|
455
|
+
export const organizationSupportThreadsListQueryOptions = (sdk: GeneratedClient, input: OrganizationSupportThreadsListInput) => ({
|
|
456
|
+
queryKey: ['organization', 'support-threads', 'list', input] as const,
|
|
457
|
+
queryFn: () => sdk['organization']['support-threads']['list'](input),
|
|
458
|
+
});
|
|
@@ -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
|
+
});
|