@lessly/sdk-app 30.7.0 → 31.1.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-3v2tDsvG.d.cts} +1197 -204
- package/dist/{client.gen-p_iZK5OO.d.ts → client.gen-3v2tDsvG.d.ts} +1197 -204
- 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 +390 -13
- 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 +390 -13
- 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 +25 -0
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.d.cts +22 -2
- package/dist/organization/index.d.ts +22 -2
- package/dist/organization/index.js +21 -1
- 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 +390 -13
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +120 -5
- 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 +32 -0
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +1198 -195
|
@@ -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, OrganizationProductAcceptInvitationInput, OrganizationProductAcceptInvitationOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductInviteInput, OrganizationProductInviteOutput, OrganizationProductListInput, OrganizationProductListInvitationsInput, OrganizationProductListInvitationsOutput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductRevokeInvitationInput, OrganizationProductRevokeInvitationOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, 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 } from '../types.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, OrganizationProductAcceptInvitationInput, OrganizationProductAcceptInvitationOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductInviteInput, OrganizationProductInviteOutput, OrganizationProductListInput, OrganizationProductListInvitationsInput, OrganizationProductListInvitationsOutput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductResendInvitationInput, OrganizationProductResendInvitationOutput, OrganizationProductRevokeInvitationInput, OrganizationProductRevokeInvitationOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, 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';
|
|
@@ -76,6 +76,7 @@ import type {
|
|
|
76
76
|
OrganizationProductListOutput,
|
|
77
77
|
OrganizationProductListRolesInput,
|
|
78
78
|
OrganizationProductListRolesOutput,
|
|
79
|
+
OrganizationProductResendInvitationInput,
|
|
79
80
|
OrganizationProductRevokeInvitationInput,
|
|
80
81
|
OrganizationProductSelectInput,
|
|
81
82
|
OrganizationProductUpdateInput,
|
|
@@ -95,6 +96,12 @@ import type {
|
|
|
95
96
|
OrganizationRolesUpdateInput,
|
|
96
97
|
OrganizationSecurityMfaEnableInput,
|
|
97
98
|
OrganizationSelectInput,
|
|
99
|
+
OrganizationSupportThreadCreateInput,
|
|
100
|
+
OrganizationSupportThreadGetInput,
|
|
101
|
+
OrganizationSupportThreadGetOutput,
|
|
102
|
+
OrganizationSupportThreadReplyInput,
|
|
103
|
+
OrganizationSupportThreadsListInput,
|
|
104
|
+
OrganizationSupportThreadsListOutput,
|
|
98
105
|
} from '../types.gen';
|
|
99
106
|
|
|
100
107
|
export const organizationAuthMeQueryOptions = (sdk: GeneratedClient, input: OrganizationAuthMeInput) => ({
|
|
@@ -362,6 +369,11 @@ export const organizationProductListRolesQueryOptions = (sdk: GeneratedClient, i
|
|
|
362
369
|
queryFn: () => sdk['organization']['product']['list-roles'](input),
|
|
363
370
|
});
|
|
364
371
|
|
|
372
|
+
export const organizationProductResendInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
373
|
+
mutationKey: ['organization', 'product', 'resend-invitation'],
|
|
374
|
+
mutationFn: (input: OrganizationProductResendInvitationInput) => sdk['organization']['product']['resend-invitation'](input),
|
|
375
|
+
});
|
|
376
|
+
|
|
365
377
|
export const organizationProductRevokeInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
366
378
|
mutationKey: ['organization', 'product', 'revoke-invitation'],
|
|
367
379
|
mutationFn: (input: OrganizationProductRevokeInvitationInput) => sdk['organization']['product']['revoke-invitation'](input),
|
|
@@ -436,3 +448,23 @@ export const organizationSelectMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
436
448
|
mutationKey: ['organization', 'select'],
|
|
437
449
|
mutationFn: (input: OrganizationSelectInput) => sdk['organization']['select'](input),
|
|
438
450
|
});
|
|
451
|
+
|
|
452
|
+
export const organizationSupportThreadCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
453
|
+
mutationKey: ['organization', 'support-thread', 'create'],
|
|
454
|
+
mutationFn: (input: OrganizationSupportThreadCreateInput) => sdk['organization']['support-thread']['create'](input),
|
|
455
|
+
});
|
|
456
|
+
|
|
457
|
+
export const organizationSupportThreadGetQueryOptions = (sdk: GeneratedClient, input: OrganizationSupportThreadGetInput) => ({
|
|
458
|
+
queryKey: ['organization', 'support-thread', 'get', input] as const,
|
|
459
|
+
queryFn: () => sdk['organization']['support-thread']['get'](input),
|
|
460
|
+
});
|
|
461
|
+
|
|
462
|
+
export const organizationSupportThreadReplyMutationOptions = (sdk: GeneratedClient) => ({
|
|
463
|
+
mutationKey: ['organization', 'support-thread', 'reply'],
|
|
464
|
+
mutationFn: (input: OrganizationSupportThreadReplyInput) => sdk['organization']['support-thread']['reply'](input),
|
|
465
|
+
});
|
|
466
|
+
|
|
467
|
+
export const organizationSupportThreadsListQueryOptions = (sdk: GeneratedClient, input: OrganizationSupportThreadsListInput) => ({
|
|
468
|
+
queryKey: ['organization', 'support-threads', 'list', input] as const,
|
|
469
|
+
queryFn: () => sdk['organization']['support-threads']['list'](input),
|
|
470
|
+
});
|
|
@@ -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
|
+
});
|