@lessly/sdk-app 0.1.11 → 0.2.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/client.gen-kP64GHhc.d.cts +75 -0
- package/dist/client.gen-kP64GHhc.d.ts +75 -0
- package/dist/index.cjs +23 -735
- 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 +23 -735
- package/dist/index.js.map +1 -1
- package/dist/mail/index.cjs +16 -0
- package/dist/mail/index.cjs.map +1 -0
- package/dist/mail/index.d.cts +13 -0
- package/dist/mail/index.d.ts +13 -0
- package/dist/mail/index.js +13 -0
- package/dist/mail/index.js.map +1 -0
- package/dist/playground/index.cjs +0 -55
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.d.cts +2 -46
- package/dist/playground/index.d.ts +2 -46
- package/dist/playground/index.js +1 -45
- package/dist/playground/index.js.map +1 -1
- package/dist/tracking/index.cjs +26 -0
- package/dist/tracking/index.cjs.map +1 -0
- package/dist/tracking/index.d.cts +20 -0
- package/dist/tracking/index.d.ts +20 -0
- package/dist/tracking/index.js +21 -0
- package/dist/tracking/index.js.map +1 -0
- package/package.json +11 -7
- package/src/gen/bindings.gen.ts +23 -735
- package/src/gen/client.gen.ts +25 -219
- package/src/gen/mail/index.ts +3 -0
- package/src/gen/mail/queryOptions.gen.ts +17 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/playground/index.ts +1 -1
- package/src/gen/playground/queryOptions.gen.ts +0 -76
- package/src/gen/tracking/index.ts +3 -0
- package/src/gen/tracking/queryOptions.gen.ts +31 -0
- package/src/gen/types.gen.ts +27 -900
- package/dist/client.gen-DtgaSZYB.d.cts +0 -909
- package/dist/client.gen-DtgaSZYB.d.ts +0 -909
- package/dist/organization/index.cjs +0 -251
- package/dist/organization/index.cjs.map +0 -1
- package/dist/organization/index.d.cts +0 -200
- package/dist/organization/index.d.ts +0 -200
- package/dist/organization/index.js +0 -201
- package/dist/organization/index.js.map +0 -1
- package/src/gen/organization/index.ts +0 -3
- package/src/gen/organization/queryOptions.gen.ts +0 -318
|
@@ -1,318 +0,0 @@
|
|
|
1
|
-
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
-
import type { GeneratedClient } from '../client.gen';
|
|
3
|
-
import type {
|
|
4
|
-
OrganizationAuthMeInput,
|
|
5
|
-
OrganizationAuthMeOutput,
|
|
6
|
-
OrganizationBindingsListInput,
|
|
7
|
-
OrganizationBindingsListOutput,
|
|
8
|
-
OrganizationClickupInstallInput,
|
|
9
|
-
OrganizationClickupListInstallationsInput,
|
|
10
|
-
OrganizationClickupListInstallationsOutput,
|
|
11
|
-
OrganizationCloudflareInstallInput,
|
|
12
|
-
OrganizationConnectorsAttachInput,
|
|
13
|
-
OrganizationConnectorsDeleteInput,
|
|
14
|
-
OrganizationConnectorsDetachInput,
|
|
15
|
-
OrganizationConnectorsListAttachmentsInput,
|
|
16
|
-
OrganizationConnectorsListAttachmentsOutput,
|
|
17
|
-
OrganizationConnectorsListInput,
|
|
18
|
-
OrganizationConnectorsListOrgInput,
|
|
19
|
-
OrganizationConnectorsListOrgOutput,
|
|
20
|
-
OrganizationConnectorsListOutput,
|
|
21
|
-
OrganizationConnectorsRemoveInput,
|
|
22
|
-
OrganizationDomainsAddInput,
|
|
23
|
-
OrganizationDomainsGetInput,
|
|
24
|
-
OrganizationDomainsGetOutput,
|
|
25
|
-
OrganizationDomainsListInput,
|
|
26
|
-
OrganizationDomainsListOutput,
|
|
27
|
-
OrganizationDomainsRemoveInput,
|
|
28
|
-
OrganizationExtensionsInstallInput,
|
|
29
|
-
OrganizationExtensionsListInput,
|
|
30
|
-
OrganizationExtensionsListInstalledInput,
|
|
31
|
-
OrganizationExtensionsListInstalledOutput,
|
|
32
|
-
OrganizationExtensionsListOutput,
|
|
33
|
-
OrganizationExtensionsUninstallInput,
|
|
34
|
-
OrganizationGdriveInstallInput,
|
|
35
|
-
OrganizationGithubInstallInput,
|
|
36
|
-
OrganizationGithubListInstallationsInput,
|
|
37
|
-
OrganizationGithubListInstallationsOutput,
|
|
38
|
-
OrganizationGoogleadsInstallInput,
|
|
39
|
-
OrganizationMemberAcceptInviteInput,
|
|
40
|
-
OrganizationMemberInviteInput,
|
|
41
|
-
OrganizationMemberListInput,
|
|
42
|
-
OrganizationMemberListInvitationsInput,
|
|
43
|
-
OrganizationMemberListInvitationsOutput,
|
|
44
|
-
OrganizationMemberListOutput,
|
|
45
|
-
OrganizationMemberListProductAccessInput,
|
|
46
|
-
OrganizationMemberListProductAccessOutput,
|
|
47
|
-
OrganizationMemberRemoveInput,
|
|
48
|
-
OrganizationMemberRevokeInvitationInput,
|
|
49
|
-
OrganizationMemberSetRoleInput,
|
|
50
|
-
OrganizationMemberShareProductInput,
|
|
51
|
-
OrganizationMemberUnshareProductInput,
|
|
52
|
-
OrganizationMembersAssignRoleInput,
|
|
53
|
-
OrganizationPermissionCatalogInput,
|
|
54
|
-
OrganizationPermissionCatalogOutput,
|
|
55
|
-
OrganizationProductAcceptInvitationInput,
|
|
56
|
-
OrganizationProductCreateInput,
|
|
57
|
-
OrganizationProductInviteInput,
|
|
58
|
-
OrganizationProductListInput,
|
|
59
|
-
OrganizationProductListInvitationsInput,
|
|
60
|
-
OrganizationProductListInvitationsOutput,
|
|
61
|
-
OrganizationProductListMembersInput,
|
|
62
|
-
OrganizationProductListMembersOutput,
|
|
63
|
-
OrganizationProductListOutput,
|
|
64
|
-
OrganizationProductRevokeInvitationInput,
|
|
65
|
-
OrganizationProductSelectInput,
|
|
66
|
-
OrganizationRolesCreateInput,
|
|
67
|
-
OrganizationRolesDeleteInput,
|
|
68
|
-
OrganizationRolesGetInput,
|
|
69
|
-
OrganizationRolesGetOutput,
|
|
70
|
-
OrganizationRolesListInput,
|
|
71
|
-
OrganizationRolesListOutput,
|
|
72
|
-
OrganizationRolesUpdateInput,
|
|
73
|
-
} from '../types.gen';
|
|
74
|
-
|
|
75
|
-
export const organizationAuthMeQueryOptions = (sdk: GeneratedClient, input: OrganizationAuthMeInput) => ({
|
|
76
|
-
queryKey: ['organization', 'auth', 'me', input] as const,
|
|
77
|
-
queryFn: () => sdk['organization']['auth']['me'](input),
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
export const organizationBindingsListQueryOptions = (sdk: GeneratedClient, input: OrganizationBindingsListInput) => ({
|
|
81
|
-
queryKey: ['organization', 'bindings', 'list', input] as const,
|
|
82
|
-
queryFn: () => sdk['organization']['bindings']['list'](input),
|
|
83
|
-
});
|
|
84
|
-
|
|
85
|
-
export const organizationClickupInstallMutationOptions = (sdk: GeneratedClient) => ({
|
|
86
|
-
mutationKey: ['organization', 'clickup', 'install'],
|
|
87
|
-
mutationFn: (input: OrganizationClickupInstallInput) => sdk['organization']['clickup']['install'](input),
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
export const organizationClickupListInstallationsQueryOptions = (sdk: GeneratedClient, input: OrganizationClickupListInstallationsInput) => ({
|
|
91
|
-
queryKey: ['organization', 'clickup', 'list-installations', input] as const,
|
|
92
|
-
queryFn: () => sdk['organization']['clickup']['list-installations'](input),
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
export const organizationCloudflareInstallMutationOptions = (sdk: GeneratedClient) => ({
|
|
96
|
-
mutationKey: ['organization', 'cloudflare', 'install'],
|
|
97
|
-
mutationFn: (input: OrganizationCloudflareInstallInput) => sdk['organization']['cloudflare']['install'](input),
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
export const organizationConnectorsAttachMutationOptions = (sdk: GeneratedClient) => ({
|
|
101
|
-
mutationKey: ['organization', 'connectors', 'attach'],
|
|
102
|
-
mutationFn: (input: OrganizationConnectorsAttachInput) => sdk['organization']['connectors']['attach'](input),
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
export const organizationConnectorsDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
106
|
-
mutationKey: ['organization', 'connectors', 'delete'],
|
|
107
|
-
mutationFn: (input: OrganizationConnectorsDeleteInput) => sdk['organization']['connectors']['delete'](input),
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
export const organizationConnectorsDetachMutationOptions = (sdk: GeneratedClient) => ({
|
|
111
|
-
mutationKey: ['organization', 'connectors', 'detach'],
|
|
112
|
-
mutationFn: (input: OrganizationConnectorsDetachInput) => sdk['organization']['connectors']['detach'](input),
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
export const organizationConnectorsListQueryOptions = (sdk: GeneratedClient, input: OrganizationConnectorsListInput) => ({
|
|
116
|
-
queryKey: ['organization', 'connectors', 'list', input] as const,
|
|
117
|
-
queryFn: () => sdk['organization']['connectors']['list'](input),
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
export const organizationConnectorsListAttachmentsQueryOptions = (sdk: GeneratedClient, input: OrganizationConnectorsListAttachmentsInput) => ({
|
|
121
|
-
queryKey: ['organization', 'connectors', 'list-attachments', input] as const,
|
|
122
|
-
queryFn: () => sdk['organization']['connectors']['list-attachments'](input),
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
export const organizationConnectorsListOrgQueryOptions = (sdk: GeneratedClient, input: OrganizationConnectorsListOrgInput) => ({
|
|
126
|
-
queryKey: ['organization', 'connectors', 'list-org', input] as const,
|
|
127
|
-
queryFn: () => sdk['organization']['connectors']['list-org'](input),
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
export const organizationConnectorsRemoveMutationOptions = (sdk: GeneratedClient) => ({
|
|
131
|
-
mutationKey: ['organization', 'connectors', 'remove'],
|
|
132
|
-
mutationFn: (input: OrganizationConnectorsRemoveInput) => sdk['organization']['connectors']['remove'](input),
|
|
133
|
-
});
|
|
134
|
-
|
|
135
|
-
export const organizationDomainsAddMutationOptions = (sdk: GeneratedClient) => ({
|
|
136
|
-
mutationKey: ['organization', 'domains', 'add'],
|
|
137
|
-
mutationFn: (input: OrganizationDomainsAddInput) => sdk['organization']['domains']['add'](input),
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
export const organizationDomainsGetQueryOptions = (sdk: GeneratedClient, input: OrganizationDomainsGetInput) => ({
|
|
141
|
-
queryKey: ['organization', 'domains', 'get', input] as const,
|
|
142
|
-
queryFn: () => sdk['organization']['domains']['get'](input),
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
export const organizationDomainsListQueryOptions = (sdk: GeneratedClient, input: OrganizationDomainsListInput) => ({
|
|
146
|
-
queryKey: ['organization', 'domains', 'list', input] as const,
|
|
147
|
-
queryFn: () => sdk['organization']['domains']['list'](input),
|
|
148
|
-
});
|
|
149
|
-
|
|
150
|
-
export const organizationDomainsRemoveMutationOptions = (sdk: GeneratedClient) => ({
|
|
151
|
-
mutationKey: ['organization', 'domains', 'remove'],
|
|
152
|
-
mutationFn: (input: OrganizationDomainsRemoveInput) => sdk['organization']['domains']['remove'](input),
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
export const organizationExtensionsInstallMutationOptions = (sdk: GeneratedClient) => ({
|
|
156
|
-
mutationKey: ['organization', 'extensions', 'install'],
|
|
157
|
-
mutationFn: (input: OrganizationExtensionsInstallInput) => sdk['organization']['extensions']['install'](input),
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
export const organizationExtensionsListQueryOptions = (sdk: GeneratedClient, input: OrganizationExtensionsListInput) => ({
|
|
161
|
-
queryKey: ['organization', 'extensions', 'list', input] as const,
|
|
162
|
-
queryFn: () => sdk['organization']['extensions']['list'](input),
|
|
163
|
-
});
|
|
164
|
-
|
|
165
|
-
export const organizationExtensionsListInstalledQueryOptions = (sdk: GeneratedClient, input: OrganizationExtensionsListInstalledInput) => ({
|
|
166
|
-
queryKey: ['organization', 'extensions', 'list-installed', input] as const,
|
|
167
|
-
queryFn: () => sdk['organization']['extensions']['list-installed'](input),
|
|
168
|
-
});
|
|
169
|
-
|
|
170
|
-
export const organizationExtensionsUninstallMutationOptions = (sdk: GeneratedClient) => ({
|
|
171
|
-
mutationKey: ['organization', 'extensions', 'uninstall'],
|
|
172
|
-
mutationFn: (input: OrganizationExtensionsUninstallInput) => sdk['organization']['extensions']['uninstall'](input),
|
|
173
|
-
});
|
|
174
|
-
|
|
175
|
-
export const organizationGdriveInstallMutationOptions = (sdk: GeneratedClient) => ({
|
|
176
|
-
mutationKey: ['organization', 'gdrive', 'install'],
|
|
177
|
-
mutationFn: (input: OrganizationGdriveInstallInput) => sdk['organization']['gdrive']['install'](input),
|
|
178
|
-
});
|
|
179
|
-
|
|
180
|
-
export const organizationGithubInstallMutationOptions = (sdk: GeneratedClient) => ({
|
|
181
|
-
mutationKey: ['organization', 'github', 'install'],
|
|
182
|
-
mutationFn: (input: OrganizationGithubInstallInput) => sdk['organization']['github']['install'](input),
|
|
183
|
-
});
|
|
184
|
-
|
|
185
|
-
export const organizationGithubListInstallationsQueryOptions = (sdk: GeneratedClient, input: OrganizationGithubListInstallationsInput) => ({
|
|
186
|
-
queryKey: ['organization', 'github', 'list-installations', input] as const,
|
|
187
|
-
queryFn: () => sdk['organization']['github']['list-installations'](input),
|
|
188
|
-
});
|
|
189
|
-
|
|
190
|
-
export const organizationGoogleadsInstallMutationOptions = (sdk: GeneratedClient) => ({
|
|
191
|
-
mutationKey: ['organization', 'googleads', 'install'],
|
|
192
|
-
mutationFn: (input: OrganizationGoogleadsInstallInput) => sdk['organization']['googleads']['install'](input),
|
|
193
|
-
});
|
|
194
|
-
|
|
195
|
-
export const organizationMemberAcceptInviteMutationOptions = (sdk: GeneratedClient) => ({
|
|
196
|
-
mutationKey: ['organization', 'member', 'accept-invite'],
|
|
197
|
-
mutationFn: (input: OrganizationMemberAcceptInviteInput) => sdk['organization']['member']['accept-invite'](input),
|
|
198
|
-
});
|
|
199
|
-
|
|
200
|
-
export const organizationMemberInviteMutationOptions = (sdk: GeneratedClient) => ({
|
|
201
|
-
mutationKey: ['organization', 'member', 'invite'],
|
|
202
|
-
mutationFn: (input: OrganizationMemberInviteInput) => sdk['organization']['member']['invite'](input),
|
|
203
|
-
});
|
|
204
|
-
|
|
205
|
-
export const organizationMemberListQueryOptions = (sdk: GeneratedClient, input: OrganizationMemberListInput) => ({
|
|
206
|
-
queryKey: ['organization', 'member', 'list', input] as const,
|
|
207
|
-
queryFn: () => sdk['organization']['member']['list'](input),
|
|
208
|
-
});
|
|
209
|
-
|
|
210
|
-
export const organizationMemberListInvitationsQueryOptions = (sdk: GeneratedClient, input: OrganizationMemberListInvitationsInput) => ({
|
|
211
|
-
queryKey: ['organization', 'member', 'list-invitations', input] as const,
|
|
212
|
-
queryFn: () => sdk['organization']['member']['list-invitations'](input),
|
|
213
|
-
});
|
|
214
|
-
|
|
215
|
-
export const organizationMemberListProductAccessQueryOptions = (sdk: GeneratedClient, input: OrganizationMemberListProductAccessInput) => ({
|
|
216
|
-
queryKey: ['organization', 'member', 'list-product-access', input] as const,
|
|
217
|
-
queryFn: () => sdk['organization']['member']['list-product-access'](input),
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
export const organizationMemberRemoveMutationOptions = (sdk: GeneratedClient) => ({
|
|
221
|
-
mutationKey: ['organization', 'member', 'remove'],
|
|
222
|
-
mutationFn: (input: OrganizationMemberRemoveInput) => sdk['organization']['member']['remove'](input),
|
|
223
|
-
});
|
|
224
|
-
|
|
225
|
-
export const organizationMemberRevokeInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
226
|
-
mutationKey: ['organization', 'member', 'revoke-invitation'],
|
|
227
|
-
mutationFn: (input: OrganizationMemberRevokeInvitationInput) => sdk['organization']['member']['revoke-invitation'](input),
|
|
228
|
-
});
|
|
229
|
-
|
|
230
|
-
export const organizationMemberSetRoleMutationOptions = (sdk: GeneratedClient) => ({
|
|
231
|
-
mutationKey: ['organization', 'member', 'set-role'],
|
|
232
|
-
mutationFn: (input: OrganizationMemberSetRoleInput) => sdk['organization']['member']['set-role'](input),
|
|
233
|
-
});
|
|
234
|
-
|
|
235
|
-
export const organizationMemberShareProductMutationOptions = (sdk: GeneratedClient) => ({
|
|
236
|
-
mutationKey: ['organization', 'member', 'share-product'],
|
|
237
|
-
mutationFn: (input: OrganizationMemberShareProductInput) => sdk['organization']['member']['share-product'](input),
|
|
238
|
-
});
|
|
239
|
-
|
|
240
|
-
export const organizationMemberUnshareProductMutationOptions = (sdk: GeneratedClient) => ({
|
|
241
|
-
mutationKey: ['organization', 'member', 'unshare-product'],
|
|
242
|
-
mutationFn: (input: OrganizationMemberUnshareProductInput) => sdk['organization']['member']['unshare-product'](input),
|
|
243
|
-
});
|
|
244
|
-
|
|
245
|
-
export const organizationMembersAssignRoleMutationOptions = (sdk: GeneratedClient) => ({
|
|
246
|
-
mutationKey: ['organization', 'members', 'assign-role'],
|
|
247
|
-
mutationFn: (input: OrganizationMembersAssignRoleInput) => sdk['organization']['members']['assign-role'](input),
|
|
248
|
-
});
|
|
249
|
-
|
|
250
|
-
export const organizationPermissionCatalogQueryOptions = (sdk: GeneratedClient, input: OrganizationPermissionCatalogInput) => ({
|
|
251
|
-
queryKey: ['organization', 'permission', 'catalog', input] as const,
|
|
252
|
-
queryFn: () => sdk['organization']['permission']['catalog'](input),
|
|
253
|
-
});
|
|
254
|
-
|
|
255
|
-
export const organizationProductAcceptInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
256
|
-
mutationKey: ['organization', 'product', 'accept-invitation'],
|
|
257
|
-
mutationFn: (input: OrganizationProductAcceptInvitationInput) => sdk['organization']['product']['accept-invitation'](input),
|
|
258
|
-
});
|
|
259
|
-
|
|
260
|
-
export const organizationProductCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
261
|
-
mutationKey: ['organization', 'product', 'create'],
|
|
262
|
-
mutationFn: (input: OrganizationProductCreateInput) => sdk['organization']['product']['create'](input),
|
|
263
|
-
});
|
|
264
|
-
|
|
265
|
-
export const organizationProductInviteMutationOptions = (sdk: GeneratedClient) => ({
|
|
266
|
-
mutationKey: ['organization', 'product', 'invite'],
|
|
267
|
-
mutationFn: (input: OrganizationProductInviteInput) => sdk['organization']['product']['invite'](input),
|
|
268
|
-
});
|
|
269
|
-
|
|
270
|
-
export const organizationProductListQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListInput) => ({
|
|
271
|
-
queryKey: ['organization', 'product', 'list', input] as const,
|
|
272
|
-
queryFn: () => sdk['organization']['product']['list'](input),
|
|
273
|
-
});
|
|
274
|
-
|
|
275
|
-
export const organizationProductListInvitationsQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListInvitationsInput) => ({
|
|
276
|
-
queryKey: ['organization', 'product', 'list-invitations', input] as const,
|
|
277
|
-
queryFn: () => sdk['organization']['product']['list-invitations'](input),
|
|
278
|
-
});
|
|
279
|
-
|
|
280
|
-
export const organizationProductListMembersQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListMembersInput) => ({
|
|
281
|
-
queryKey: ['organization', 'product', 'list-members', input] as const,
|
|
282
|
-
queryFn: () => sdk['organization']['product']['list-members'](input),
|
|
283
|
-
});
|
|
284
|
-
|
|
285
|
-
export const organizationProductRevokeInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
286
|
-
mutationKey: ['organization', 'product', 'revoke-invitation'],
|
|
287
|
-
mutationFn: (input: OrganizationProductRevokeInvitationInput) => sdk['organization']['product']['revoke-invitation'](input),
|
|
288
|
-
});
|
|
289
|
-
|
|
290
|
-
export const organizationProductSelectMutationOptions = (sdk: GeneratedClient) => ({
|
|
291
|
-
mutationKey: ['organization', 'product', 'select'],
|
|
292
|
-
mutationFn: (input: OrganizationProductSelectInput) => sdk['organization']['product']['select'](input),
|
|
293
|
-
});
|
|
294
|
-
|
|
295
|
-
export const organizationRolesCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
296
|
-
mutationKey: ['organization', 'roles', 'create'],
|
|
297
|
-
mutationFn: (input: OrganizationRolesCreateInput) => sdk['organization']['roles']['create'](input),
|
|
298
|
-
});
|
|
299
|
-
|
|
300
|
-
export const organizationRolesDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
301
|
-
mutationKey: ['organization', 'roles', 'delete'],
|
|
302
|
-
mutationFn: (input: OrganizationRolesDeleteInput) => sdk['organization']['roles']['delete'](input),
|
|
303
|
-
});
|
|
304
|
-
|
|
305
|
-
export const organizationRolesGetQueryOptions = (sdk: GeneratedClient, input: OrganizationRolesGetInput) => ({
|
|
306
|
-
queryKey: ['organization', 'roles', 'get', input] as const,
|
|
307
|
-
queryFn: () => sdk['organization']['roles']['get'](input),
|
|
308
|
-
});
|
|
309
|
-
|
|
310
|
-
export const organizationRolesListQueryOptions = (sdk: GeneratedClient, input: OrganizationRolesListInput) => ({
|
|
311
|
-
queryKey: ['organization', 'roles', 'list', input] as const,
|
|
312
|
-
queryFn: () => sdk['organization']['roles']['list'](input),
|
|
313
|
-
});
|
|
314
|
-
|
|
315
|
-
export const organizationRolesUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
316
|
-
mutationKey: ['organization', 'roles', 'update'],
|
|
317
|
-
mutationFn: (input: OrganizationRolesUpdateInput) => sdk['organization']['roles']['update'](input),
|
|
318
|
-
});
|