@lepsto/sdk-app 84.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/README.md +233 -0
- package/dist/_types/gen/analytics/index.d.ts +2 -0
- package/dist/_types/gen/analytics/queryOptions.gen.d.ts +74 -0
- package/dist/_types/gen/bindings.gen.d.ts +3 -0
- package/dist/_types/gen/brain/index.d.ts +2 -0
- package/dist/_types/gen/brain/queryOptions.gen.d.ts +166 -0
- package/dist/_types/gen/client.gen.d.ts +1087 -0
- package/dist/_types/gen/consent/index.d.ts +2 -0
- package/dist/_types/gen/consent/queryOptions.gen.d.ts +62 -0
- package/dist/_types/gen/content/index.d.ts +2 -0
- package/dist/_types/gen/content/queryOptions.gen.d.ts +126 -0
- package/dist/_types/gen/deployment/index.d.ts +2 -0
- package/dist/_types/gen/deployment/queryOptions.gen.d.ts +438 -0
- package/dist/_types/gen/mail/index.d.ts +2 -0
- package/dist/_types/gen/mail/queryOptions.gen.d.ts +206 -0
- package/dist/_types/gen/manifest.gen.d.ts +4 -0
- package/dist/_types/gen/observe/index.d.ts +2 -0
- package/dist/_types/gen/observe/queryOptions.gen.d.ts +142 -0
- package/dist/_types/gen/organization/index.d.ts +2 -0
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +362 -0
- package/dist/_types/gen/realtime/index.d.ts +2 -0
- package/dist/_types/gen/realtime/queryOptions.gen.d.ts +114 -0
- package/dist/_types/gen/support/index.d.ts +2 -0
- package/dist/_types/gen/support/queryOptions.gen.d.ts +206 -0
- package/dist/_types/gen/tracking/index.d.ts +2 -0
- package/dist/_types/gen/tracking/queryOptions.gen.d.ts +150 -0
- package/dist/_types/gen/types.gen.d.ts +126011 -0
- package/dist/_types/gen/users/index.d.ts +2 -0
- package/dist/_types/gen/users/queryOptions.gen.d.ts +182 -0
- package/dist/_types/gen/waitlist/index.d.ts +2 -0
- package/dist/_types/gen/waitlist/queryOptions.gen.d.ts +30 -0
- package/dist/_types/gen/workflow/index.d.ts +2 -0
- package/dist/_types/gen/workflow/queryOptions.gen.d.ts +166 -0
- package/dist/_types/index.d.ts +11 -0
- package/dist/_types/package.json +1 -0
- package/dist/_types/react/index.d.ts +33 -0
- package/dist/_types/runtime/access-reason.d.ts +27 -0
- package/dist/_types/runtime/access.d.ts +40 -0
- package/dist/_types/runtime/compositions.d.ts +16 -0
- package/dist/_types/runtime/connectStream.d.ts +15 -0
- package/dist/_types/runtime/createLesslyApp.d.ts +10 -0
- package/dist/_types/runtime/csrf.d.ts +1 -0
- package/dist/_types/runtime/errors.d.ts +18 -0
- package/dist/_types/runtime/name.d.ts +26 -0
- package/dist/_types/runtime/operations.d.ts +13 -0
- package/dist/_types/runtime/permission-match.d.ts +62 -0
- package/dist/_types/runtime/request.d.ts +9 -0
- package/dist/_types/runtime/types.d.ts +129 -0
- package/dist/analytics/index.cjs +96 -0
- package/dist/analytics/index.cjs.map +1 -0
- package/dist/analytics/index.d.cts +1 -0
- package/dist/analytics/index.d.ts +1 -0
- package/dist/analytics/index.js +77 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/brain/index.cjs +211 -0
- package/dist/brain/index.cjs.map +1 -0
- package/dist/brain/index.d.cts +1 -0
- package/dist/brain/index.d.ts +1 -0
- package/dist/brain/index.js +169 -0
- package/dist/brain/index.js.map +1 -0
- package/dist/consent/index.cjs +81 -0
- package/dist/consent/index.cjs.map +1 -0
- package/dist/consent/index.d.cts +1 -0
- package/dist/consent/index.d.ts +1 -0
- package/dist/consent/index.js +65 -0
- package/dist/consent/index.js.map +1 -0
- package/dist/content/index.cjs +161 -0
- package/dist/content/index.cjs.map +1 -0
- package/dist/content/index.d.cts +1 -0
- package/dist/content/index.d.ts +1 -0
- package/dist/content/index.js +129 -0
- package/dist/content/index.js.map +1 -0
- package/dist/deployment/index.cjs +551 -0
- package/dist/deployment/index.cjs.map +1 -0
- package/dist/deployment/index.d.cts +1 -0
- package/dist/deployment/index.d.ts +1 -0
- package/dist/deployment/index.js +441 -0
- package/dist/deployment/index.js.map +1 -0
- package/dist/index.cjs +12565 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12557 -0
- package/dist/index.js.map +1 -0
- package/dist/mail/index.cjs +261 -0
- package/dist/mail/index.cjs.map +1 -0
- package/dist/mail/index.d.cts +1 -0
- package/dist/mail/index.d.ts +1 -0
- package/dist/mail/index.js +209 -0
- package/dist/mail/index.js.map +1 -0
- package/dist/observe/index.cjs +181 -0
- package/dist/observe/index.cjs.map +1 -0
- package/dist/observe/index.d.cts +1 -0
- package/dist/observe/index.d.ts +1 -0
- package/dist/observe/index.js +145 -0
- package/dist/observe/index.js.map +1 -0
- package/dist/organization/index.cjs +456 -0
- package/dist/organization/index.cjs.map +1 -0
- package/dist/organization/index.d.cts +1 -0
- package/dist/organization/index.d.ts +1 -0
- package/dist/organization/index.js +365 -0
- package/dist/organization/index.js.map +1 -0
- package/dist/react/index.cjs +29 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +1 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +26 -0
- package/dist/react/index.js.map +1 -0
- package/dist/realtime/index.cjs +146 -0
- package/dist/realtime/index.cjs.map +1 -0
- package/dist/realtime/index.d.cts +1 -0
- package/dist/realtime/index.d.ts +1 -0
- package/dist/realtime/index.js +117 -0
- package/dist/realtime/index.js.map +1 -0
- package/dist/support/index.cjs +261 -0
- package/dist/support/index.cjs.map +1 -0
- package/dist/support/index.d.cts +1 -0
- package/dist/support/index.d.ts +1 -0
- package/dist/support/index.js +209 -0
- package/dist/support/index.js.map +1 -0
- package/dist/tracking/index.cjs +191 -0
- package/dist/tracking/index.cjs.map +1 -0
- package/dist/tracking/index.d.cts +1 -0
- package/dist/tracking/index.d.ts +1 -0
- package/dist/tracking/index.js +153 -0
- package/dist/tracking/index.js.map +1 -0
- package/dist/users/index.cjs +231 -0
- package/dist/users/index.cjs.map +1 -0
- package/dist/users/index.d.cts +1 -0
- package/dist/users/index.d.ts +1 -0
- package/dist/users/index.js +185 -0
- package/dist/users/index.js.map +1 -0
- package/dist/waitlist/index.cjs +41 -0
- package/dist/waitlist/index.cjs.map +1 -0
- package/dist/waitlist/index.d.cts +1 -0
- package/dist/waitlist/index.d.ts +1 -0
- package/dist/waitlist/index.js +33 -0
- package/dist/waitlist/index.js.map +1 -0
- package/dist/workflow/index.cjs +211 -0
- package/dist/workflow/index.cjs.map +1 -0
- package/dist/workflow/index.d.cts +1 -0
- package/dist/workflow/index.d.ts +1 -0
- package/dist/workflow/index.js +169 -0
- package/dist/workflow/index.js.map +1 -0
- package/docs/README.md +89 -0
- package/docs/recipes/access.md +781 -0
- package/docs/recipes/federation.md +285 -0
- package/docs/recipes/local-dev.md +111 -0
- package/docs/recipes/sdk-usage.md +194 -0
- package/docs/rules.md +522 -0
- package/package.json +212 -0
- package/src/gen/analytics/index.ts +3 -0
- package/src/gen/analytics/queryOptions.gen.ts +124 -0
- package/src/gen/bindings.gen.ts +11330 -0
- package/src/gen/brain/index.ts +3 -0
- package/src/gen/brain/queryOptions.gen.ts +278 -0
- package/src/gen/client.gen.ts +2288 -0
- package/src/gen/consent/index.ts +3 -0
- package/src/gen/consent/queryOptions.gen.ts +102 -0
- package/src/gen/content/index.ts +3 -0
- package/src/gen/content/queryOptions.gen.ts +202 -0
- package/src/gen/deployment/index.ts +3 -0
- package/src/gen/deployment/queryOptions.gen.ts +707 -0
- package/src/gen/mail/index.ts +3 -0
- package/src/gen/mail/queryOptions.gen.ts +331 -0
- package/src/gen/manifest.gen.ts +780 -0
- package/src/gen/observe/index.ts +3 -0
- package/src/gen/observe/queryOptions.gen.ts +235 -0
- package/src/gen/organization/index.ts +3 -0
- package/src/gen/organization/queryOptions.gen.ts +578 -0
- package/src/gen/realtime/index.ts +3 -0
- package/src/gen/realtime/queryOptions.gen.ts +185 -0
- package/src/gen/support/index.ts +3 -0
- package/src/gen/support/queryOptions.gen.ts +331 -0
- package/src/gen/tracking/index.ts +3 -0
- package/src/gen/tracking/queryOptions.gen.ts +249 -0
- package/src/gen/types.gen.ts +119506 -0
- package/src/gen/users/index.ts +3 -0
- package/src/gen/users/queryOptions.gen.ts +295 -0
- package/src/gen/waitlist/index.ts +3 -0
- package/src/gen/waitlist/queryOptions.gen.ts +50 -0
- package/src/gen/workflow/index.ts +3 -0
- package/src/gen/workflow/queryOptions.gen.ts +274 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { UsersApikeysCreateInput, UsersApikeysCreateOutput, UsersApikeysGetInput, UsersApikeysGetOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersPasskeysGetInput, UsersPasskeysGetOutput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersPasskeysRevokeOutput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsImpersonateOutput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersSessionsRevokeOutput, UsersStatsGetInput, UsersStatsGetOutput, UsersUsersBanInput, UsersUsersBanOutput, UsersUsersCreateInput, UsersUsersCreateOutput, UsersUsersDeleteInput, UsersUsersDeleteOutput, UsersUsersExportInput, UsersUsersExportOutput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersImportOutput, UsersUsersInviteInput, UsersUsersInviteOutput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersSetPrimaryIdentifierOutput, UsersUsersUnbanInput, UsersUsersUnbanOutput, UsersUsersUpdateInput, UsersUsersUpdateOutput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, UsersWaitlistGetInput, UsersWaitlistGetOutput, UsersWaitlistImportInput, UsersWaitlistImportOutput, UsersWaitlistInviteInput, UsersWaitlistInviteOutput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksCreateOutput, UsersWebhooksDeleteInput, UsersWebhooksDeleteOutput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksRotateSecretOutput, UsersWebhooksUpdateInput, UsersWebhooksUpdateOutput } from '../types.gen';
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
UsersApikeysCreateInput,
|
|
5
|
+
UsersApikeysGetInput,
|
|
6
|
+
UsersApikeysGetOutput,
|
|
7
|
+
UsersApikeysListInput,
|
|
8
|
+
UsersApikeysListOutput,
|
|
9
|
+
UsersApikeysRevokeInput,
|
|
10
|
+
UsersAuditListInput,
|
|
11
|
+
UsersAuditListOutput,
|
|
12
|
+
UsersConfigGetInput,
|
|
13
|
+
UsersConfigGetOutput,
|
|
14
|
+
UsersConfigUpsertInput,
|
|
15
|
+
UsersFactorsListInput,
|
|
16
|
+
UsersFactorsListOutput,
|
|
17
|
+
UsersFactorsResetInput,
|
|
18
|
+
UsersKeysListInput,
|
|
19
|
+
UsersKeysListOutput,
|
|
20
|
+
UsersKeysRevokeInput,
|
|
21
|
+
UsersKeysRotateInput,
|
|
22
|
+
UsersOpsRetentionGetInput,
|
|
23
|
+
UsersOpsRetentionGetOutput,
|
|
24
|
+
UsersOpsSloGetInput,
|
|
25
|
+
UsersOpsSloGetOutput,
|
|
26
|
+
UsersPasskeysGetInput,
|
|
27
|
+
UsersPasskeysGetOutput,
|
|
28
|
+
UsersPasskeysListInput,
|
|
29
|
+
UsersPasskeysListOutput,
|
|
30
|
+
UsersPasskeysRevokeInput,
|
|
31
|
+
UsersSessionsGetInput,
|
|
32
|
+
UsersSessionsGetOutput,
|
|
33
|
+
UsersSessionsImpersonateInput,
|
|
34
|
+
UsersSessionsListInput,
|
|
35
|
+
UsersSessionsListOutput,
|
|
36
|
+
UsersSessionsRevokeInput,
|
|
37
|
+
UsersStatsGetInput,
|
|
38
|
+
UsersStatsGetOutput,
|
|
39
|
+
UsersUsersBanInput,
|
|
40
|
+
UsersUsersCreateInput,
|
|
41
|
+
UsersUsersDeleteInput,
|
|
42
|
+
UsersUsersExportInput,
|
|
43
|
+
UsersUsersGetInput,
|
|
44
|
+
UsersUsersGetOutput,
|
|
45
|
+
UsersUsersImportInput,
|
|
46
|
+
UsersUsersInviteInput,
|
|
47
|
+
UsersUsersListInput,
|
|
48
|
+
UsersUsersListOutput,
|
|
49
|
+
UsersUsersSetPrimaryIdentifierInput,
|
|
50
|
+
UsersUsersUnbanInput,
|
|
51
|
+
UsersUsersUpdateInput,
|
|
52
|
+
UsersWaitlistFunnelInput,
|
|
53
|
+
UsersWaitlistFunnelOutput,
|
|
54
|
+
UsersWaitlistGetInput,
|
|
55
|
+
UsersWaitlistGetOutput,
|
|
56
|
+
UsersWaitlistImportInput,
|
|
57
|
+
UsersWaitlistInviteInput,
|
|
58
|
+
UsersWaitlistListInput,
|
|
59
|
+
UsersWaitlistListOutput,
|
|
60
|
+
UsersWebhooksCreateInput,
|
|
61
|
+
UsersWebhooksDeleteInput,
|
|
62
|
+
UsersWebhooksDeliveriesListInput,
|
|
63
|
+
UsersWebhooksDeliveriesListOutput,
|
|
64
|
+
UsersWebhooksGetInput,
|
|
65
|
+
UsersWebhooksGetOutput,
|
|
66
|
+
UsersWebhooksListInput,
|
|
67
|
+
UsersWebhooksListOutput,
|
|
68
|
+
UsersWebhooksRotateSecretInput,
|
|
69
|
+
UsersWebhooksUpdateInput,
|
|
70
|
+
} from '../types.gen';
|
|
71
|
+
|
|
72
|
+
export const usersApikeysCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
73
|
+
mutationKey: ['users', 'apikeys', 'create'],
|
|
74
|
+
mutationFn: (input: UsersApikeysCreateInput) => sdk['users']['apikeys']['create'](input),
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export const usersApikeysGetQueryOptions = (sdk: GeneratedClient, input: UsersApikeysGetInput) => ({
|
|
78
|
+
queryKey: ['users', 'apikeys', 'get', input] as const,
|
|
79
|
+
queryFn: () => sdk['users']['apikeys']['get'](input),
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
export const usersApikeysListQueryOptions = (sdk: GeneratedClient, input: UsersApikeysListInput) => ({
|
|
83
|
+
queryKey: ['users', 'apikeys', 'list', input] as const,
|
|
84
|
+
queryFn: () => sdk['users']['apikeys']['list'](input),
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
export const usersApikeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
88
|
+
mutationKey: ['users', 'apikeys', 'revoke'],
|
|
89
|
+
mutationFn: (input: UsersApikeysRevokeInput) => sdk['users']['apikeys']['revoke'](input),
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
export const usersAuditListQueryOptions = (sdk: GeneratedClient, input: UsersAuditListInput) => ({
|
|
93
|
+
queryKey: ['users', 'audit', 'list', input] as const,
|
|
94
|
+
queryFn: () => sdk['users']['audit']['list'](input),
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
export const usersConfigGetQueryOptions = (sdk: GeneratedClient, input: UsersConfigGetInput) => ({
|
|
98
|
+
queryKey: ['users', 'config', 'get', input] as const,
|
|
99
|
+
queryFn: () => sdk['users']['config']['get'](input),
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
export const usersConfigUpsertMutationOptions = (sdk: GeneratedClient) => ({
|
|
103
|
+
mutationKey: ['users', 'config', 'upsert'],
|
|
104
|
+
mutationFn: (input: UsersConfigUpsertInput) => sdk['users']['config']['upsert'](input),
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
export const usersFactorsListQueryOptions = (sdk: GeneratedClient, input: UsersFactorsListInput) => ({
|
|
108
|
+
queryKey: ['users', 'factors', 'list', input] as const,
|
|
109
|
+
queryFn: () => sdk['users']['factors']['list'](input),
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
export const usersFactorsResetMutationOptions = (sdk: GeneratedClient) => ({
|
|
113
|
+
mutationKey: ['users', 'factors', 'reset'],
|
|
114
|
+
mutationFn: (input: UsersFactorsResetInput) => sdk['users']['factors']['reset'](input),
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
export const usersKeysListQueryOptions = (sdk: GeneratedClient, input: UsersKeysListInput) => ({
|
|
118
|
+
queryKey: ['users', 'keys', 'list', input] as const,
|
|
119
|
+
queryFn: () => sdk['users']['keys']['list'](input),
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
export const usersKeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
123
|
+
mutationKey: ['users', 'keys', 'revoke'],
|
|
124
|
+
mutationFn: (input: UsersKeysRevokeInput) => sdk['users']['keys']['revoke'](input),
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
export const usersKeysRotateMutationOptions = (sdk: GeneratedClient) => ({
|
|
128
|
+
mutationKey: ['users', 'keys', 'rotate'],
|
|
129
|
+
mutationFn: (input: UsersKeysRotateInput) => sdk['users']['keys']['rotate'](input),
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
export const usersOpsRetentionGetQueryOptions = (sdk: GeneratedClient, input: UsersOpsRetentionGetInput) => ({
|
|
133
|
+
queryKey: ['users', 'ops-retention', 'get', input] as const,
|
|
134
|
+
queryFn: () => sdk['users']['ops-retention']['get'](input),
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
export const usersOpsSloGetQueryOptions = (sdk: GeneratedClient, input: UsersOpsSloGetInput) => ({
|
|
138
|
+
queryKey: ['users', 'ops-slo', 'get', input] as const,
|
|
139
|
+
queryFn: () => sdk['users']['ops-slo']['get'](input),
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
export const usersPasskeysGetQueryOptions = (sdk: GeneratedClient, input: UsersPasskeysGetInput) => ({
|
|
143
|
+
queryKey: ['users', 'passkeys', 'get', input] as const,
|
|
144
|
+
queryFn: () => sdk['users']['passkeys']['get'](input),
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
export const usersPasskeysListQueryOptions = (sdk: GeneratedClient, input: UsersPasskeysListInput) => ({
|
|
148
|
+
queryKey: ['users', 'passkeys', 'list', input] as const,
|
|
149
|
+
queryFn: () => sdk['users']['passkeys']['list'](input),
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
export const usersPasskeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
153
|
+
mutationKey: ['users', 'passkeys', 'revoke'],
|
|
154
|
+
mutationFn: (input: UsersPasskeysRevokeInput) => sdk['users']['passkeys']['revoke'](input),
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
export const usersSessionsGetQueryOptions = (sdk: GeneratedClient, input: UsersSessionsGetInput) => ({
|
|
158
|
+
queryKey: ['users', 'sessions', 'get', input] as const,
|
|
159
|
+
queryFn: () => sdk['users']['sessions']['get'](input),
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
export const usersSessionsImpersonateMutationOptions = (sdk: GeneratedClient) => ({
|
|
163
|
+
mutationKey: ['users', 'sessions', 'impersonate'],
|
|
164
|
+
mutationFn: (input: UsersSessionsImpersonateInput) => sdk['users']['sessions']['impersonate'](input),
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
export const usersSessionsListQueryOptions = (sdk: GeneratedClient, input: UsersSessionsListInput) => ({
|
|
168
|
+
queryKey: ['users', 'sessions', 'list', input] as const,
|
|
169
|
+
queryFn: () => sdk['users']['sessions']['list'](input),
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
export const usersSessionsRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
173
|
+
mutationKey: ['users', 'sessions', 'revoke'],
|
|
174
|
+
mutationFn: (input: UsersSessionsRevokeInput) => sdk['users']['sessions']['revoke'](input),
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
export const usersStatsGetQueryOptions = (sdk: GeneratedClient, input: UsersStatsGetInput) => ({
|
|
178
|
+
queryKey: ['users', 'stats', 'get', input] as const,
|
|
179
|
+
queryFn: () => sdk['users']['stats']['get'](input),
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
export const usersUsersBanMutationOptions = (sdk: GeneratedClient) => ({
|
|
183
|
+
mutationKey: ['users', 'users', 'ban'],
|
|
184
|
+
mutationFn: (input: UsersUsersBanInput) => sdk['users']['users']['ban'](input),
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
export const usersUsersCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
188
|
+
mutationKey: ['users', 'users', 'create'],
|
|
189
|
+
mutationFn: (input: UsersUsersCreateInput) => sdk['users']['users']['create'](input),
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
export const usersUsersDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
193
|
+
mutationKey: ['users', 'users', 'delete'],
|
|
194
|
+
mutationFn: (input: UsersUsersDeleteInput) => sdk['users']['users']['delete'](input),
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
export const usersUsersExportMutationOptions = (sdk: GeneratedClient) => ({
|
|
198
|
+
mutationKey: ['users', 'users', 'export'],
|
|
199
|
+
mutationFn: (input: UsersUsersExportInput) => sdk['users']['users']['export'](input),
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
export const usersUsersGetQueryOptions = (sdk: GeneratedClient, input: UsersUsersGetInput) => ({
|
|
203
|
+
queryKey: ['users', 'users', 'get', input] as const,
|
|
204
|
+
queryFn: () => sdk['users']['users']['get'](input),
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
export const usersUsersImportMutationOptions = (sdk: GeneratedClient) => ({
|
|
208
|
+
mutationKey: ['users', 'users', 'import'],
|
|
209
|
+
mutationFn: (input: UsersUsersImportInput) => sdk['users']['users']['import'](input),
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
export const usersUsersInviteMutationOptions = (sdk: GeneratedClient) => ({
|
|
213
|
+
mutationKey: ['users', 'users', 'invite'],
|
|
214
|
+
mutationFn: (input: UsersUsersInviteInput) => sdk['users']['users']['invite'](input),
|
|
215
|
+
});
|
|
216
|
+
|
|
217
|
+
export const usersUsersListQueryOptions = (sdk: GeneratedClient, input: UsersUsersListInput) => ({
|
|
218
|
+
queryKey: ['users', 'users', 'list', input] as const,
|
|
219
|
+
queryFn: () => sdk['users']['users']['list'](input),
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
export const usersUsersSetPrimaryIdentifierMutationOptions = (sdk: GeneratedClient) => ({
|
|
223
|
+
mutationKey: ['users', 'users-set-primary', 'identifier'],
|
|
224
|
+
mutationFn: (input: UsersUsersSetPrimaryIdentifierInput) => sdk['users']['users-set-primary']['identifier'](input),
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
export const usersUsersUnbanMutationOptions = (sdk: GeneratedClient) => ({
|
|
228
|
+
mutationKey: ['users', 'users', 'unban'],
|
|
229
|
+
mutationFn: (input: UsersUsersUnbanInput) => sdk['users']['users']['unban'](input),
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
export const usersUsersUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
233
|
+
mutationKey: ['users', 'users', 'update'],
|
|
234
|
+
mutationFn: (input: UsersUsersUpdateInput) => sdk['users']['users']['update'](input),
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
export const usersWaitlistFunnelQueryOptions = (sdk: GeneratedClient, input: UsersWaitlistFunnelInput) => ({
|
|
238
|
+
queryKey: ['users', 'waitlist', 'funnel', input] as const,
|
|
239
|
+
queryFn: () => sdk['users']['waitlist']['funnel'](input),
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
export const usersWaitlistGetQueryOptions = (sdk: GeneratedClient, input: UsersWaitlistGetInput) => ({
|
|
243
|
+
queryKey: ['users', 'waitlist', 'get', input] as const,
|
|
244
|
+
queryFn: () => sdk['users']['waitlist']['get'](input),
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
export const usersWaitlistImportMutationOptions = (sdk: GeneratedClient) => ({
|
|
248
|
+
mutationKey: ['users', 'waitlist', 'import'],
|
|
249
|
+
mutationFn: (input: UsersWaitlistImportInput) => sdk['users']['waitlist']['import'](input),
|
|
250
|
+
});
|
|
251
|
+
|
|
252
|
+
export const usersWaitlistInviteMutationOptions = (sdk: GeneratedClient) => ({
|
|
253
|
+
mutationKey: ['users', 'waitlist', 'invite'],
|
|
254
|
+
mutationFn: (input: UsersWaitlistInviteInput) => sdk['users']['waitlist']['invite'](input),
|
|
255
|
+
});
|
|
256
|
+
|
|
257
|
+
export const usersWaitlistListQueryOptions = (sdk: GeneratedClient, input: UsersWaitlistListInput) => ({
|
|
258
|
+
queryKey: ['users', 'waitlist', 'list', input] as const,
|
|
259
|
+
queryFn: () => sdk['users']['waitlist']['list'](input),
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
export const usersWebhooksCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
263
|
+
mutationKey: ['users', 'webhooks', 'create'],
|
|
264
|
+
mutationFn: (input: UsersWebhooksCreateInput) => sdk['users']['webhooks']['create'](input),
|
|
265
|
+
});
|
|
266
|
+
|
|
267
|
+
export const usersWebhooksDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
268
|
+
mutationKey: ['users', 'webhooks', 'delete'],
|
|
269
|
+
mutationFn: (input: UsersWebhooksDeleteInput) => sdk['users']['webhooks']['delete'](input),
|
|
270
|
+
});
|
|
271
|
+
|
|
272
|
+
export const usersWebhooksDeliveriesListQueryOptions = (sdk: GeneratedClient, input: UsersWebhooksDeliveriesListInput) => ({
|
|
273
|
+
queryKey: ['users', 'webhooks-deliveries', 'list', input] as const,
|
|
274
|
+
queryFn: () => sdk['users']['webhooks-deliveries']['list'](input),
|
|
275
|
+
});
|
|
276
|
+
|
|
277
|
+
export const usersWebhooksGetQueryOptions = (sdk: GeneratedClient, input: UsersWebhooksGetInput) => ({
|
|
278
|
+
queryKey: ['users', 'webhooks', 'get', input] as const,
|
|
279
|
+
queryFn: () => sdk['users']['webhooks']['get'](input),
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
export const usersWebhooksListQueryOptions = (sdk: GeneratedClient, input: UsersWebhooksListInput) => ({
|
|
283
|
+
queryKey: ['users', 'webhooks', 'list', input] as const,
|
|
284
|
+
queryFn: () => sdk['users']['webhooks']['list'](input),
|
|
285
|
+
});
|
|
286
|
+
|
|
287
|
+
export const usersWebhooksRotateSecretMutationOptions = (sdk: GeneratedClient) => ({
|
|
288
|
+
mutationKey: ['users', 'webhooks-rotate', 'secret'],
|
|
289
|
+
mutationFn: (input: UsersWebhooksRotateSecretInput) => sdk['users']['webhooks-rotate']['secret'](input),
|
|
290
|
+
});
|
|
291
|
+
|
|
292
|
+
export const usersWebhooksUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
293
|
+
mutationKey: ['users', 'webhooks', 'update'],
|
|
294
|
+
mutationFn: (input: UsersWebhooksUpdateInput) => sdk['users']['webhooks']['update'](input),
|
|
295
|
+
});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { WaitlistConfigGetInput, WaitlistConfigGetOutput, WaitlistConfigUpsertInput, WaitlistConfigUpsertOutput, WaitlistEmbedGetInput, WaitlistEmbedGetOutput, WaitlistInvitesSendInput, WaitlistInvitesSendOutput, WaitlistSignupsEraseInput, WaitlistSignupsEraseOutput, WaitlistSignupsFunnelInput, WaitlistSignupsFunnelOutput, WaitlistSignupsListInput, WaitlistSignupsListOutput } from '../types.gen';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
WaitlistConfigGetInput,
|
|
5
|
+
WaitlistConfigGetOutput,
|
|
6
|
+
WaitlistConfigUpsertInput,
|
|
7
|
+
WaitlistEmbedGetInput,
|
|
8
|
+
WaitlistEmbedGetOutput,
|
|
9
|
+
WaitlistInvitesSendInput,
|
|
10
|
+
WaitlistSignupsEraseInput,
|
|
11
|
+
WaitlistSignupsFunnelInput,
|
|
12
|
+
WaitlistSignupsFunnelOutput,
|
|
13
|
+
WaitlistSignupsListInput,
|
|
14
|
+
WaitlistSignupsListOutput,
|
|
15
|
+
} from '../types.gen';
|
|
16
|
+
|
|
17
|
+
export const waitlistConfigGetQueryOptions = (sdk: GeneratedClient, input: WaitlistConfigGetInput) => ({
|
|
18
|
+
queryKey: ['waitlist', 'config', 'get', input] as const,
|
|
19
|
+
queryFn: () => sdk['waitlist']['config']['get'](input),
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export const waitlistConfigUpsertMutationOptions = (sdk: GeneratedClient) => ({
|
|
23
|
+
mutationKey: ['waitlist', 'config', 'upsert'],
|
|
24
|
+
mutationFn: (input: WaitlistConfigUpsertInput) => sdk['waitlist']['config']['upsert'](input),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export const waitlistEmbedGetQueryOptions = (sdk: GeneratedClient, input: WaitlistEmbedGetInput) => ({
|
|
28
|
+
queryKey: ['waitlist', 'embed', 'get', input] as const,
|
|
29
|
+
queryFn: () => sdk['waitlist']['embed']['get'](input),
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export const waitlistInvitesSendMutationOptions = (sdk: GeneratedClient) => ({
|
|
33
|
+
mutationKey: ['waitlist', 'invites', 'send'],
|
|
34
|
+
mutationFn: (input: WaitlistInvitesSendInput) => sdk['waitlist']['invites']['send'](input),
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export const waitlistSignupsEraseMutationOptions = (sdk: GeneratedClient) => ({
|
|
38
|
+
mutationKey: ['waitlist', 'signups', 'erase'],
|
|
39
|
+
mutationFn: (input: WaitlistSignupsEraseInput) => sdk['waitlist']['signups']['erase'](input),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export const waitlistSignupsFunnelQueryOptions = (sdk: GeneratedClient, input: WaitlistSignupsFunnelInput) => ({
|
|
43
|
+
queryKey: ['waitlist', 'signups', 'funnel', input] as const,
|
|
44
|
+
queryFn: () => sdk['waitlist']['signups']['funnel'](input),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export const waitlistSignupsListQueryOptions = (sdk: GeneratedClient, input: WaitlistSignupsListInput) => ({
|
|
48
|
+
queryKey: ['waitlist', 'signups', 'list', input] as const,
|
|
49
|
+
queryFn: () => sdk['waitlist']['signups']['list'](input),
|
|
50
|
+
});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { WorkflowCapListInput, WorkflowCapListOutput, WorkflowCapabilityGetInput, WorkflowCapabilityGetOutput, WorkflowCapabilityListInput, WorkflowCapabilityListOutput, WorkflowConfigDeleteInput, WorkflowConfigDeleteOutput, WorkflowConfigListInput, WorkflowConfigListOutput, WorkflowConfigSetInput, WorkflowConfigSetOutput, WorkflowDefinitionCreateInput, WorkflowDefinitionCreateOutput, WorkflowDefinitionDisableInput, WorkflowDefinitionDisableOutput, WorkflowDefinitionDryrunInput, WorkflowDefinitionDryrunOutput, WorkflowDefinitionEnableInput, WorkflowDefinitionEnableOutput, WorkflowDefinitionEstimateInput, WorkflowDefinitionEstimateOutput, WorkflowDefinitionExportInput, WorkflowDefinitionExportOutput, WorkflowDefinitionGetInput, WorkflowDefinitionGetOutput, WorkflowDefinitionImportInput, WorkflowDefinitionImportOutput, WorkflowDefinitionListInput, WorkflowDefinitionListOutput, WorkflowDefinitionPublishInput, WorkflowDefinitionPublishOutput, WorkflowDefinitionUpdateInput, WorkflowDefinitionUpdateOutput, WorkflowDefinitionValidateInput, WorkflowDefinitionValidateOutput, WorkflowDependencyListInput, WorkflowDependencyListOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowGrantRequestInput, WorkflowGrantRequestOutput, WorkflowHealthListInput, WorkflowHealthListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowKillswitchGetInput, WorkflowKillswitchGetOutput, WorkflowKillswitchSetInput, WorkflowKillswitchSetOutput, WorkflowRunCancelInput, WorkflowRunCancelOutput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayAllInput, WorkflowRunReplayAllOutput, WorkflowRunReplayInput, WorkflowRunReplayOutput, WorkflowRunStartInput, WorkflowRunStartOutput, WorkflowRunStatsInput, WorkflowRunStatsOutput, WorkflowRunTestInput, WorkflowRunTestOutput, WorkflowTemplateApplyInput, WorkflowTemplateApplyOutput, WorkflowTemplateListInput, WorkflowTemplateListOutput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput, WorkflowWaitGetInput, WorkflowWaitGetOutput, WorkflowWaitListAllInput, WorkflowWaitListAllOutput, WorkflowWaitListInput, WorkflowWaitListOutput, WorkflowWaitResolveInput, WorkflowWaitResolveOutput } from '../types.gen';
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
WorkflowCapListInput,
|
|
5
|
+
WorkflowCapListOutput,
|
|
6
|
+
WorkflowCapabilityGetInput,
|
|
7
|
+
WorkflowCapabilityGetOutput,
|
|
8
|
+
WorkflowCapabilityListInput,
|
|
9
|
+
WorkflowCapabilityListOutput,
|
|
10
|
+
WorkflowConfigDeleteInput,
|
|
11
|
+
WorkflowConfigListInput,
|
|
12
|
+
WorkflowConfigListOutput,
|
|
13
|
+
WorkflowConfigSetInput,
|
|
14
|
+
WorkflowDefinitionCreateInput,
|
|
15
|
+
WorkflowDefinitionDisableInput,
|
|
16
|
+
WorkflowDefinitionDryrunInput,
|
|
17
|
+
WorkflowDefinitionDryrunOutput,
|
|
18
|
+
WorkflowDefinitionEnableInput,
|
|
19
|
+
WorkflowDefinitionEstimateInput,
|
|
20
|
+
WorkflowDefinitionEstimateOutput,
|
|
21
|
+
WorkflowDefinitionExportInput,
|
|
22
|
+
WorkflowDefinitionExportOutput,
|
|
23
|
+
WorkflowDefinitionGetInput,
|
|
24
|
+
WorkflowDefinitionGetOutput,
|
|
25
|
+
WorkflowDefinitionImportInput,
|
|
26
|
+
WorkflowDefinitionListInput,
|
|
27
|
+
WorkflowDefinitionListOutput,
|
|
28
|
+
WorkflowDefinitionPublishInput,
|
|
29
|
+
WorkflowDefinitionUpdateInput,
|
|
30
|
+
WorkflowDefinitionValidateInput,
|
|
31
|
+
WorkflowDefinitionValidateOutput,
|
|
32
|
+
WorkflowDependencyListInput,
|
|
33
|
+
WorkflowDependencyListOutput,
|
|
34
|
+
WorkflowGrantListInput,
|
|
35
|
+
WorkflowGrantListOutput,
|
|
36
|
+
WorkflowGrantRequestInput,
|
|
37
|
+
WorkflowHealthListInput,
|
|
38
|
+
WorkflowHealthListOutput,
|
|
39
|
+
WorkflowHealthPingInput,
|
|
40
|
+
WorkflowHealthPingOutput,
|
|
41
|
+
WorkflowKillswitchGetInput,
|
|
42
|
+
WorkflowKillswitchGetOutput,
|
|
43
|
+
WorkflowKillswitchSetInput,
|
|
44
|
+
WorkflowRunCancelInput,
|
|
45
|
+
WorkflowRunGetInput,
|
|
46
|
+
WorkflowRunGetOutput,
|
|
47
|
+
WorkflowRunListInput,
|
|
48
|
+
WorkflowRunListOutput,
|
|
49
|
+
WorkflowRunReplayAllInput,
|
|
50
|
+
WorkflowRunReplayInput,
|
|
51
|
+
WorkflowRunStartInput,
|
|
52
|
+
WorkflowRunStatsInput,
|
|
53
|
+
WorkflowRunStatsOutput,
|
|
54
|
+
WorkflowRunTestInput,
|
|
55
|
+
WorkflowTemplateApplyInput,
|
|
56
|
+
WorkflowTemplateListInput,
|
|
57
|
+
WorkflowTemplateListOutput,
|
|
58
|
+
WorkflowVersionGetInput,
|
|
59
|
+
WorkflowVersionGetOutput,
|
|
60
|
+
WorkflowVersionListInput,
|
|
61
|
+
WorkflowVersionListOutput,
|
|
62
|
+
WorkflowWaitGetInput,
|
|
63
|
+
WorkflowWaitGetOutput,
|
|
64
|
+
WorkflowWaitListAllInput,
|
|
65
|
+
WorkflowWaitListAllOutput,
|
|
66
|
+
WorkflowWaitListInput,
|
|
67
|
+
WorkflowWaitListOutput,
|
|
68
|
+
WorkflowWaitResolveInput,
|
|
69
|
+
} from '../types.gen';
|
|
70
|
+
|
|
71
|
+
export const workflowCapListQueryOptions = (sdk: GeneratedClient, input: WorkflowCapListInput) => ({
|
|
72
|
+
queryKey: ['workflow', 'cap', 'list', input] as const,
|
|
73
|
+
queryFn: () => sdk['workflow']['cap']['list'](input),
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export const workflowCapabilityGetQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => ({
|
|
77
|
+
queryKey: ['workflow', 'capability', 'get', input] as const,
|
|
78
|
+
queryFn: () => sdk['workflow']['capability']['get'](input),
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export const workflowCapabilityListQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityListInput) => ({
|
|
82
|
+
queryKey: ['workflow', 'capability', 'list', input] as const,
|
|
83
|
+
queryFn: () => sdk['workflow']['capability']['list'](input),
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export const workflowConfigDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
87
|
+
mutationKey: ['workflow', 'config', 'delete'],
|
|
88
|
+
mutationFn: (input: WorkflowConfigDeleteInput) => sdk['workflow']['config']['delete'](input),
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
export const workflowConfigListQueryOptions = (sdk: GeneratedClient, input: WorkflowConfigListInput) => ({
|
|
92
|
+
queryKey: ['workflow', 'config', 'list', input] as const,
|
|
93
|
+
queryFn: () => sdk['workflow']['config']['list'](input),
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
export const workflowConfigSetMutationOptions = (sdk: GeneratedClient) => ({
|
|
97
|
+
mutationKey: ['workflow', 'config', 'set'],
|
|
98
|
+
mutationFn: (input: WorkflowConfigSetInput) => sdk['workflow']['config']['set'](input),
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
export const workflowDefinitionCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
102
|
+
mutationKey: ['workflow', 'definition', 'create'],
|
|
103
|
+
mutationFn: (input: WorkflowDefinitionCreateInput) => sdk['workflow']['definition']['create'](input),
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
export const workflowDefinitionDisableMutationOptions = (sdk: GeneratedClient) => ({
|
|
107
|
+
mutationKey: ['workflow', 'definition', 'disable'],
|
|
108
|
+
mutationFn: (input: WorkflowDefinitionDisableInput) => sdk['workflow']['definition']['disable'](input),
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
export const workflowDefinitionDryrunQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionDryrunInput) => ({
|
|
112
|
+
queryKey: ['workflow', 'definition', 'dryrun', input] as const,
|
|
113
|
+
queryFn: () => sdk['workflow']['definition']['dryrun'](input),
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
export const workflowDefinitionEnableMutationOptions = (sdk: GeneratedClient) => ({
|
|
117
|
+
mutationKey: ['workflow', 'definition', 'enable'],
|
|
118
|
+
mutationFn: (input: WorkflowDefinitionEnableInput) => sdk['workflow']['definition']['enable'](input),
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
export const workflowDefinitionEstimateQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionEstimateInput) => ({
|
|
122
|
+
queryKey: ['workflow', 'definition', 'estimate', input] as const,
|
|
123
|
+
queryFn: () => sdk['workflow']['definition']['estimate'](input),
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
export const workflowDefinitionExportQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionExportInput) => ({
|
|
127
|
+
queryKey: ['workflow', 'definition', 'export', input] as const,
|
|
128
|
+
queryFn: () => sdk['workflow']['definition']['export'](input),
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
export const workflowDefinitionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionGetInput) => ({
|
|
132
|
+
queryKey: ['workflow', 'definition', 'get', input] as const,
|
|
133
|
+
queryFn: () => sdk['workflow']['definition']['get'](input),
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
export const workflowDefinitionImportMutationOptions = (sdk: GeneratedClient) => ({
|
|
137
|
+
mutationKey: ['workflow', 'definition', 'import'],
|
|
138
|
+
mutationFn: (input: WorkflowDefinitionImportInput) => sdk['workflow']['definition']['import'](input),
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
export const workflowDefinitionListQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionListInput) => ({
|
|
142
|
+
queryKey: ['workflow', 'definition', 'list', input] as const,
|
|
143
|
+
queryFn: () => sdk['workflow']['definition']['list'](input),
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
export const workflowDefinitionPublishMutationOptions = (sdk: GeneratedClient) => ({
|
|
147
|
+
mutationKey: ['workflow', 'definition', 'publish'],
|
|
148
|
+
mutationFn: (input: WorkflowDefinitionPublishInput) => sdk['workflow']['definition']['publish'](input),
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
export const workflowDefinitionUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
152
|
+
mutationKey: ['workflow', 'definition', 'update'],
|
|
153
|
+
mutationFn: (input: WorkflowDefinitionUpdateInput) => sdk['workflow']['definition']['update'](input),
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
export const workflowDefinitionValidateQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionValidateInput) => ({
|
|
157
|
+
queryKey: ['workflow', 'definition', 'validate', input] as const,
|
|
158
|
+
queryFn: () => sdk['workflow']['definition']['validate'](input),
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
export const workflowDependencyListQueryOptions = (sdk: GeneratedClient, input: WorkflowDependencyListInput) => ({
|
|
162
|
+
queryKey: ['workflow', 'dependency', 'list', input] as const,
|
|
163
|
+
queryFn: () => sdk['workflow']['dependency']['list'](input),
|
|
164
|
+
});
|
|
165
|
+
|
|
166
|
+
export const workflowGrantListQueryOptions = (sdk: GeneratedClient, input: WorkflowGrantListInput) => ({
|
|
167
|
+
queryKey: ['workflow', 'grant', 'list', input] as const,
|
|
168
|
+
queryFn: () => sdk['workflow']['grant']['list'](input),
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
export const workflowGrantRequestMutationOptions = (sdk: GeneratedClient) => ({
|
|
172
|
+
mutationKey: ['workflow', 'grant', 'request'],
|
|
173
|
+
mutationFn: (input: WorkflowGrantRequestInput) => sdk['workflow']['grant']['request'](input),
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
export const workflowHealthListQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthListInput) => ({
|
|
177
|
+
queryKey: ['workflow', 'health', 'list', input] as const,
|
|
178
|
+
queryFn: () => sdk['workflow']['health']['list'](input),
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
export const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({
|
|
182
|
+
queryKey: ['workflow', 'health', 'ping', input] as const,
|
|
183
|
+
queryFn: () => sdk['workflow']['health']['ping'](input),
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
export const workflowKillswitchGetQueryOptions = (sdk: GeneratedClient, input: WorkflowKillswitchGetInput) => ({
|
|
187
|
+
queryKey: ['workflow', 'killswitch', 'get', input] as const,
|
|
188
|
+
queryFn: () => sdk['workflow']['killswitch']['get'](input),
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
export const workflowKillswitchSetMutationOptions = (sdk: GeneratedClient) => ({
|
|
192
|
+
mutationKey: ['workflow', 'killswitch', 'set'],
|
|
193
|
+
mutationFn: (input: WorkflowKillswitchSetInput) => sdk['workflow']['killswitch']['set'](input),
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
export const workflowRunCancelMutationOptions = (sdk: GeneratedClient) => ({
|
|
197
|
+
mutationKey: ['workflow', 'run', 'cancel'],
|
|
198
|
+
mutationFn: (input: WorkflowRunCancelInput) => sdk['workflow']['run']['cancel'](input),
|
|
199
|
+
});
|
|
200
|
+
|
|
201
|
+
export const workflowRunGetQueryOptions = (sdk: GeneratedClient, input: WorkflowRunGetInput) => ({
|
|
202
|
+
queryKey: ['workflow', 'run', 'get', input] as const,
|
|
203
|
+
queryFn: () => sdk['workflow']['run']['get'](input),
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
export const workflowRunListQueryOptions = (sdk: GeneratedClient, input: WorkflowRunListInput) => ({
|
|
207
|
+
queryKey: ['workflow', 'run', 'list', input] as const,
|
|
208
|
+
queryFn: () => sdk['workflow']['run']['list'](input),
|
|
209
|
+
});
|
|
210
|
+
|
|
211
|
+
export const workflowRunReplayMutationOptions = (sdk: GeneratedClient) => ({
|
|
212
|
+
mutationKey: ['workflow', 'run', 'replay'],
|
|
213
|
+
mutationFn: (input: WorkflowRunReplayInput) => sdk['workflow']['run']['replay'](input),
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
export const workflowRunReplayAllMutationOptions = (sdk: GeneratedClient) => ({
|
|
217
|
+
mutationKey: ['workflow', 'run-replay', 'all'],
|
|
218
|
+
mutationFn: (input: WorkflowRunReplayAllInput) => sdk['workflow']['run-replay']['all'](input),
|
|
219
|
+
});
|
|
220
|
+
|
|
221
|
+
export const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({
|
|
222
|
+
mutationKey: ['workflow', 'run', 'start'],
|
|
223
|
+
mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),
|
|
224
|
+
});
|
|
225
|
+
|
|
226
|
+
export const workflowRunStatsQueryOptions = (sdk: GeneratedClient, input: WorkflowRunStatsInput) => ({
|
|
227
|
+
queryKey: ['workflow', 'run', 'stats', input] as const,
|
|
228
|
+
queryFn: () => sdk['workflow']['run']['stats'](input),
|
|
229
|
+
});
|
|
230
|
+
|
|
231
|
+
export const workflowRunTestMutationOptions = (sdk: GeneratedClient) => ({
|
|
232
|
+
mutationKey: ['workflow', 'run', 'test'],
|
|
233
|
+
mutationFn: (input: WorkflowRunTestInput) => sdk['workflow']['run']['test'](input),
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
export const workflowTemplateApplyMutationOptions = (sdk: GeneratedClient) => ({
|
|
237
|
+
mutationKey: ['workflow', 'template', 'apply'],
|
|
238
|
+
mutationFn: (input: WorkflowTemplateApplyInput) => sdk['workflow']['template']['apply'](input),
|
|
239
|
+
});
|
|
240
|
+
|
|
241
|
+
export const workflowTemplateListQueryOptions = (sdk: GeneratedClient, input: WorkflowTemplateListInput) => ({
|
|
242
|
+
queryKey: ['workflow', 'template', 'list', input] as const,
|
|
243
|
+
queryFn: () => sdk['workflow']['template']['list'](input),
|
|
244
|
+
});
|
|
245
|
+
|
|
246
|
+
export const workflowVersionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionGetInput) => ({
|
|
247
|
+
queryKey: ['workflow', 'version', 'get', input] as const,
|
|
248
|
+
queryFn: () => sdk['workflow']['version']['get'](input),
|
|
249
|
+
});
|
|
250
|
+
|
|
251
|
+
export const workflowVersionListQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionListInput) => ({
|
|
252
|
+
queryKey: ['workflow', 'version', 'list', input] as const,
|
|
253
|
+
queryFn: () => sdk['workflow']['version']['list'](input),
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
export const workflowWaitGetQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitGetInput) => ({
|
|
257
|
+
queryKey: ['workflow', 'wait', 'get', input] as const,
|
|
258
|
+
queryFn: () => sdk['workflow']['wait']['get'](input),
|
|
259
|
+
});
|
|
260
|
+
|
|
261
|
+
export const workflowWaitListQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListInput) => ({
|
|
262
|
+
queryKey: ['workflow', 'wait', 'list', input] as const,
|
|
263
|
+
queryFn: () => sdk['workflow']['wait']['list'](input),
|
|
264
|
+
});
|
|
265
|
+
|
|
266
|
+
export const workflowWaitListAllQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListAllInput) => ({
|
|
267
|
+
queryKey: ['workflow', 'wait-list', 'all', input] as const,
|
|
268
|
+
queryFn: () => sdk['workflow']['wait-list']['all'](input),
|
|
269
|
+
});
|
|
270
|
+
|
|
271
|
+
export const workflowWaitResolveMutationOptions = (sdk: GeneratedClient) => ({
|
|
272
|
+
mutationKey: ['workflow', 'wait', 'resolve'],
|
|
273
|
+
mutationFn: (input: WorkflowWaitResolveInput) => sdk['workflow']['wait']['resolve'](input),
|
|
274
|
+
});
|