@lessly/sdk-app 83.4.0 → 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/dist/_types/gen/client.gen.d.ts +4 -1
- package/dist/_types/gen/types.gen.d.ts +1262 -57
- package/dist/_types/gen/users/index.d.ts +1 -1
- package/dist/_types/gen/users/queryOptions.gen.d.ts +13 -1
- package/dist/index.cjs +59 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +59 -8
- package/dist/index.js.map +1 -1
- package/dist/users/index.cjs +15 -0
- package/dist/users/index.cjs.map +1 -1
- package/dist/users/index.js +13 -1
- package/dist/users/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +43 -0
- package/src/gen/client.gen.ts +9 -0
- package/src/gen/manifest.gen.ts +16 -8
- package/src/gen/types.gen.ts +1253 -42
- package/src/gen/users/index.ts +1 -1
- package/src/gen/users/queryOptions.gen.ts +21 -0
package/src/gen/users/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { UsersApikeysCreateInput, UsersApikeysCreateOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, 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, UsersWaitlistImportInput, UsersWaitlistImportOutput, UsersWaitlistInviteInput, UsersWaitlistInviteOutput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksCreateOutput, UsersWebhooksDeleteInput, UsersWebhooksDeleteOutput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksRotateSecretOutput, UsersWebhooksUpdateInput, UsersWebhooksUpdateOutput } from '../types.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';
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import type { GeneratedClient } from '../client.gen';
|
|
3
3
|
import type {
|
|
4
4
|
UsersApikeysCreateInput,
|
|
5
|
+
UsersApikeysGetInput,
|
|
6
|
+
UsersApikeysGetOutput,
|
|
5
7
|
UsersApikeysListInput,
|
|
6
8
|
UsersApikeysListOutput,
|
|
7
9
|
UsersApikeysRevokeInput,
|
|
@@ -21,6 +23,8 @@ import type {
|
|
|
21
23
|
UsersOpsRetentionGetOutput,
|
|
22
24
|
UsersOpsSloGetInput,
|
|
23
25
|
UsersOpsSloGetOutput,
|
|
26
|
+
UsersPasskeysGetInput,
|
|
27
|
+
UsersPasskeysGetOutput,
|
|
24
28
|
UsersPasskeysListInput,
|
|
25
29
|
UsersPasskeysListOutput,
|
|
26
30
|
UsersPasskeysRevokeInput,
|
|
@@ -47,6 +51,8 @@ import type {
|
|
|
47
51
|
UsersUsersUpdateInput,
|
|
48
52
|
UsersWaitlistFunnelInput,
|
|
49
53
|
UsersWaitlistFunnelOutput,
|
|
54
|
+
UsersWaitlistGetInput,
|
|
55
|
+
UsersWaitlistGetOutput,
|
|
50
56
|
UsersWaitlistImportInput,
|
|
51
57
|
UsersWaitlistInviteInput,
|
|
52
58
|
UsersWaitlistListInput,
|
|
@@ -68,6 +74,11 @@ export const usersApikeysCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
68
74
|
mutationFn: (input: UsersApikeysCreateInput) => sdk['users']['apikeys']['create'](input),
|
|
69
75
|
});
|
|
70
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
|
+
|
|
71
82
|
export const usersApikeysListQueryOptions = (sdk: GeneratedClient, input: UsersApikeysListInput) => ({
|
|
72
83
|
queryKey: ['users', 'apikeys', 'list', input] as const,
|
|
73
84
|
queryFn: () => sdk['users']['apikeys']['list'](input),
|
|
@@ -128,6 +139,11 @@ export const usersOpsSloGetQueryOptions = (sdk: GeneratedClient, input: UsersOps
|
|
|
128
139
|
queryFn: () => sdk['users']['ops-slo']['get'](input),
|
|
129
140
|
});
|
|
130
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
|
+
|
|
131
147
|
export const usersPasskeysListQueryOptions = (sdk: GeneratedClient, input: UsersPasskeysListInput) => ({
|
|
132
148
|
queryKey: ['users', 'passkeys', 'list', input] as const,
|
|
133
149
|
queryFn: () => sdk['users']['passkeys']['list'](input),
|
|
@@ -223,6 +239,11 @@ export const usersWaitlistFunnelQueryOptions = (sdk: GeneratedClient, input: Use
|
|
|
223
239
|
queryFn: () => sdk['users']['waitlist']['funnel'](input),
|
|
224
240
|
});
|
|
225
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
|
+
|
|
226
247
|
export const usersWaitlistImportMutationOptions = (sdk: GeneratedClient) => ({
|
|
227
248
|
mutationKey: ['users', 'waitlist', 'import'],
|
|
228
249
|
mutationFn: (input: UsersWaitlistImportInput) => sdk['users']['waitlist']['import'](input),
|