@lepsto/sdk-app 91.0.1 → 92.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/CHANGELOG.md +8 -4
- package/dist/_types/gen/client.gen.d.ts +7 -1
- package/dist/_types/gen/types.gen.d.ts +577 -46
- package/dist/_types/gen/users/index.d.ts +1 -1
- package/dist/_types/gen/users/queryOptions.gen.d.ts +17 -1
- package/dist/index.cjs +166 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +166 -0
- package/dist/index.js.map +1 -1
- package/dist/users/index.cjs +20 -0
- package/dist/users/index.cjs.map +1 -1
- package/dist/users/index.js +17 -1
- package/dist/users/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +158 -0
- package/src/gen/client.gen.ts +14 -0
- package/src/gen/manifest.gen.ts +8 -0
- package/src/gen/types.gen.ts +585 -46
- package/src/gen/users/index.ts +1 -1
- package/src/gen/users/queryOptions.gen.ts +25 -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, 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';
|
|
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, UsersTouchesCreateInput, UsersTouchesCreateOutput, UsersTouchesDiscardInput, UsersTouchesDiscardOutput, UsersTouchesListInput, UsersTouchesListOutput, UsersTouchesUpdateInput, UsersTouchesUpdateOutput, 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';
|
|
@@ -36,6 +36,11 @@ import type {
|
|
|
36
36
|
UsersSessionsRevokeInput,
|
|
37
37
|
UsersStatsGetInput,
|
|
38
38
|
UsersStatsGetOutput,
|
|
39
|
+
UsersTouchesCreateInput,
|
|
40
|
+
UsersTouchesDiscardInput,
|
|
41
|
+
UsersTouchesListInput,
|
|
42
|
+
UsersTouchesListOutput,
|
|
43
|
+
UsersTouchesUpdateInput,
|
|
39
44
|
UsersUsersBanInput,
|
|
40
45
|
UsersUsersCreateInput,
|
|
41
46
|
UsersUsersDeleteInput,
|
|
@@ -179,6 +184,26 @@ export const usersStatsGetQueryOptions = (sdk: GeneratedClient, input: UsersStat
|
|
|
179
184
|
queryFn: () => sdk['users']['stats']['get'](input),
|
|
180
185
|
});
|
|
181
186
|
|
|
187
|
+
export const usersTouchesCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
188
|
+
mutationKey: ['users', 'touches', 'create'],
|
|
189
|
+
mutationFn: (input: UsersTouchesCreateInput) => sdk['users']['touches']['create'](input),
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
export const usersTouchesDiscardMutationOptions = (sdk: GeneratedClient) => ({
|
|
193
|
+
mutationKey: ['users', 'touches', 'discard'],
|
|
194
|
+
mutationFn: (input: UsersTouchesDiscardInput) => sdk['users']['touches']['discard'](input),
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
export const usersTouchesListQueryOptions = (sdk: GeneratedClient, input: UsersTouchesListInput) => ({
|
|
198
|
+
queryKey: ['users', 'touches', 'list', input] as const,
|
|
199
|
+
queryFn: () => sdk['users']['touches']['list'](input),
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
export const usersTouchesUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
203
|
+
mutationKey: ['users', 'touches', 'update'],
|
|
204
|
+
mutationFn: (input: UsersTouchesUpdateInput) => sdk['users']['touches']['update'](input),
|
|
205
|
+
});
|
|
206
|
+
|
|
182
207
|
export const usersUsersBanMutationOptions = (sdk: GeneratedClient) => ({
|
|
183
208
|
mutationKey: ['users', 'users', 'ban'],
|
|
184
209
|
mutationFn: (input: UsersUsersBanInput) => sdk['users']['users']['ban'](input),
|