@lessly/sdk-app 21.0.0 → 22.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.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-CaEegxH4.d.cts → client.gen-Cd9Ch24J.d.cts} +106 -46
- package/dist/{client.gen-CaEegxH4.d.ts → client.gen-Cd9Ch24J.d.ts} +106 -46
- 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 +79 -29
- 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 +79 -29
- 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/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.d.cts +1 -1
- package/dist/playground/index.d.ts +1 -1
- package/dist/realtime/index.cjs +0 -15
- package/dist/realtime/index.cjs.map +1 -1
- package/dist/realtime/index.d.cts +2 -14
- package/dist/realtime/index.d.ts +2 -14
- package/dist/realtime/index.js +1 -13
- package/dist/realtime/index.js.map +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 +2 -2
- package/src/gen/bindings.gen.ts +79 -29
- package/src/gen/client.gen.ts +19 -11
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +32 -0
- package/src/gen/realtime/index.ts +1 -1
- package/src/gen/realtime/queryOptions.gen.ts +0 -19
- package/src/gen/types.gen.ts +106 -47
package/dist/users/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, kk as UsersApikeysCreateInput, kl as UsersApikeysCreateOutput, km as UsersApikeysListInput, kn as UsersApikeysListOutput, ko as UsersApikeysRevokeInput, kp as UsersApikeysRevokeOutput, kq as UsersAuditListInput, kr as UsersAuditListOutput, ks as UsersConfigGetInput, kt as UsersConfigGetOutput, ku as UsersConfigUpsertInput, kv as UsersConfigUpsertOutput, kw as UsersFactorsListInput, kx as UsersFactorsListOutput, ky as UsersFactorsResetInput, kz as UsersFactorsResetOutput, kA as UsersKeysListInput, kB as UsersKeysListOutput, kC as UsersKeysRevokeInput, kD as UsersKeysRevokeOutput, kE as UsersKeysRotateInput, kF as UsersKeysRotateOutput, kG as UsersOpsRetentionGetInput, kH as UsersOpsRetentionGetOutput, kI as UsersOpsSloGetInput, kJ as UsersOpsSloGetOutput, kK as UsersSessionsGetInput, kL as UsersSessionsGetOutput, kM as UsersSessionsImpersonateInput, kN as UsersSessionsImpersonateOutput, kO as UsersSessionsListInput, kP as UsersSessionsListOutput, kQ as UsersSessionsRevokeInput, kR as UsersSessionsRevokeOutput, kS as UsersStatsGetInput, kT as UsersStatsGetOutput, kU as UsersUsersBanInput, kV as UsersUsersBanOutput, kW as UsersUsersCreateInput, kX as UsersUsersCreateOutput, kY as UsersUsersDeleteInput, kZ as UsersUsersDeleteOutput, k_ as UsersUsersEraseInput, k$ as UsersUsersEraseOutput, l0 as UsersUsersExportInput, l1 as UsersUsersExportOutput, l2 as UsersUsersGetInput, l3 as UsersUsersGetOutput, l4 as UsersUsersImportInput, l5 as UsersUsersImportOutput, l6 as UsersUsersInviteInput, l7 as UsersUsersInviteOutput, l8 as UsersUsersListInput, l9 as UsersUsersListOutput, la as UsersUsersSetPrimaryIdentifierInput, lb as UsersUsersSetPrimaryIdentifierOutput, lc as UsersUsersUnbanInput, ld as UsersUsersUnbanOutput, le as UsersUsersUpdateInput, lf as UsersUsersUpdateOutput, lg as UsersWaitlistEraseInput, lh as UsersWaitlistEraseOutput, li as UsersWaitlistFunnelInput, lj as UsersWaitlistFunnelOutput, lk as UsersWaitlistImportInput, ll as UsersWaitlistImportOutput, lm as UsersWaitlistInviteInput, ln as UsersWaitlistInviteOutput, lo as UsersWaitlistListInput, lp as UsersWaitlistListOutput, lq as UsersWebhooksCreateInput, lr as UsersWebhooksCreateOutput, ls as UsersWebhooksDeleteInput, lt as UsersWebhooksDeleteOutput, lu as UsersWebhooksDeliveriesListInput, lv as UsersWebhooksDeliveriesListOutput, lw as UsersWebhooksGetInput, lx as UsersWebhooksGetOutput, ly as UsersWebhooksListInput, lz as UsersWebhooksListOutput, lA as UsersWebhooksRotateSecretInput, lB as UsersWebhooksRotateSecretOutput, lC as UsersWebhooksUpdateInput, lD as UsersWebhooksUpdateOutput } from '../client.gen-Cd9Ch24J.js';
|
|
2
2
|
|
|
3
3
|
declare const usersApikeysCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, lE as WaitlistConfigGetInput, lF as WaitlistConfigGetOutput, lG as WaitlistConfigUpsertInput, lH as WaitlistConfigUpsertOutput, lI as WaitlistEmbedGetInput, lJ as WaitlistEmbedGetOutput, lK as WaitlistInvitesSendInput, lL as WaitlistInvitesSendOutput, lM as WaitlistSignupsEraseInput, lN as WaitlistSignupsEraseOutput, lO as WaitlistSignupsFunnelInput, lP as WaitlistSignupsFunnelOutput, lQ as WaitlistSignupsListInput, lR as WaitlistSignupsListOutput } from '../client.gen-Cd9Ch24J.cjs';
|
|
2
2
|
|
|
3
3
|
declare const waitlistConfigGetQueryOptions: (sdk: GeneratedClient, input: WaitlistConfigGetInput) => {
|
|
4
4
|
queryKey: readonly ["waitlist", "config", "get", WaitlistConfigGetInput];
|
package/dist/waitlist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, lE as WaitlistConfigGetInput, lF as WaitlistConfigGetOutput, lG as WaitlistConfigUpsertInput, lH as WaitlistConfigUpsertOutput, lI as WaitlistEmbedGetInput, lJ as WaitlistEmbedGetOutput, lK as WaitlistInvitesSendInput, lL as WaitlistInvitesSendOutput, lM as WaitlistSignupsEraseInput, lN as WaitlistSignupsEraseOutput, lO as WaitlistSignupsFunnelInput, lP as WaitlistSignupsFunnelOutput, lQ as WaitlistSignupsListInput, lR as WaitlistSignupsListOutput } from '../client.gen-Cd9Ch24J.js';
|
|
2
2
|
|
|
3
3
|
declare const waitlistConfigGetQueryOptions: (sdk: GeneratedClient, input: WaitlistConfigGetInput) => {
|
|
4
4
|
queryKey: readonly ["waitlist", "config", "get", WaitlistConfigGetInput];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"require": "./dist/waitlist/index.cjs"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
|
-
"sdkContentHash": "sha256:
|
|
99
|
+
"sdkContentHash": "sha256:ffda3043137e9fdc7cab5437d9a239530c1c10d11cc463c8335293b11f162d06"
|
|
100
100
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -4179,6 +4179,85 @@ export const bindings: BindingsMap = {
|
|
|
4179
4179
|
"readOnly": false
|
|
4180
4180
|
}
|
|
4181
4181
|
},
|
|
4182
|
+
"public-keys": {
|
|
4183
|
+
"create": {
|
|
4184
|
+
"method": "POST",
|
|
4185
|
+
"params": [
|
|
4186
|
+
{
|
|
4187
|
+
"in": "path",
|
|
4188
|
+
"name": "productId"
|
|
4189
|
+
},
|
|
4190
|
+
{
|
|
4191
|
+
"in": "body",
|
|
4192
|
+
"name": "name"
|
|
4193
|
+
},
|
|
4194
|
+
{
|
|
4195
|
+
"in": "body",
|
|
4196
|
+
"name": "scope"
|
|
4197
|
+
}
|
|
4198
|
+
],
|
|
4199
|
+
"path": "/governance/api/v1/products/:productId/public-keys",
|
|
4200
|
+
"readOnly": false
|
|
4201
|
+
},
|
|
4202
|
+
"list": {
|
|
4203
|
+
"method": "GET",
|
|
4204
|
+
"params": [
|
|
4205
|
+
{
|
|
4206
|
+
"in": "path",
|
|
4207
|
+
"name": "productId"
|
|
4208
|
+
}
|
|
4209
|
+
],
|
|
4210
|
+
"path": "/governance/api/v1/products/:productId/public-keys",
|
|
4211
|
+
"readOnly": true
|
|
4212
|
+
},
|
|
4213
|
+
"revoke": {
|
|
4214
|
+
"method": "POST",
|
|
4215
|
+
"params": [
|
|
4216
|
+
{
|
|
4217
|
+
"in": "path",
|
|
4218
|
+
"name": "productId"
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
"in": "path",
|
|
4222
|
+
"name": "id"
|
|
4223
|
+
}
|
|
4224
|
+
],
|
|
4225
|
+
"path": "/governance/api/v1/products/:productId/public-keys/:id/revoke",
|
|
4226
|
+
"readOnly": false
|
|
4227
|
+
},
|
|
4228
|
+
"update-scope": {
|
|
4229
|
+
"method": "PUT",
|
|
4230
|
+
"params": [
|
|
4231
|
+
{
|
|
4232
|
+
"in": "path",
|
|
4233
|
+
"name": "productId"
|
|
4234
|
+
},
|
|
4235
|
+
{
|
|
4236
|
+
"in": "path",
|
|
4237
|
+
"name": "id"
|
|
4238
|
+
},
|
|
4239
|
+
{
|
|
4240
|
+
"in": "body",
|
|
4241
|
+
"name": "scope"
|
|
4242
|
+
}
|
|
4243
|
+
],
|
|
4244
|
+
"path": "/governance/api/v1/products/:productId/public-keys/:id/scope",
|
|
4245
|
+
"readOnly": false
|
|
4246
|
+
}
|
|
4247
|
+
},
|
|
4248
|
+
"public-routes": {
|
|
4249
|
+
"list": {
|
|
4250
|
+
"method": "GET",
|
|
4251
|
+
"params": [
|
|
4252
|
+
{
|
|
4253
|
+
"in": "path",
|
|
4254
|
+
"name": "productId"
|
|
4255
|
+
}
|
|
4256
|
+
],
|
|
4257
|
+
"path": "/governance/api/v1/products/:productId/public-routes",
|
|
4258
|
+
"readOnly": true
|
|
4259
|
+
}
|
|
4260
|
+
},
|
|
4182
4261
|
"roles": {
|
|
4183
4262
|
"create": {
|
|
4184
4263
|
"method": "POST",
|
|
@@ -4391,35 +4470,6 @@ export const bindings: BindingsMap = {
|
|
|
4391
4470
|
}
|
|
4392
4471
|
},
|
|
4393
4472
|
"realtime": {
|
|
4394
|
-
"apikey": {
|
|
4395
|
-
"create": {
|
|
4396
|
-
"method": "POST",
|
|
4397
|
-
"params": [
|
|
4398
|
-
{
|
|
4399
|
-
"in": "body",
|
|
4400
|
-
"name": "name"
|
|
4401
|
-
}
|
|
4402
|
-
],
|
|
4403
|
-
"path": "/realtime/api-keys",
|
|
4404
|
-
"readOnly": false
|
|
4405
|
-
},
|
|
4406
|
-
"list": {
|
|
4407
|
-
"method": "GET",
|
|
4408
|
-
"path": "/realtime/api-keys",
|
|
4409
|
-
"readOnly": true
|
|
4410
|
-
},
|
|
4411
|
-
"revoke": {
|
|
4412
|
-
"method": "DELETE",
|
|
4413
|
-
"params": [
|
|
4414
|
-
{
|
|
4415
|
-
"in": "path",
|
|
4416
|
-
"name": "id"
|
|
4417
|
-
}
|
|
4418
|
-
],
|
|
4419
|
-
"path": "/realtime/api-keys/:id",
|
|
4420
|
-
"readOnly": false
|
|
4421
|
-
}
|
|
4422
|
-
},
|
|
4423
4473
|
"archive": {
|
|
4424
4474
|
"export": {
|
|
4425
4475
|
"method": "POST",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -530,6 +530,16 @@ import type {
|
|
|
530
530
|
OrganizationProductSelectOutput,
|
|
531
531
|
OrganizationProductUpdateInput,
|
|
532
532
|
OrganizationProductUpdateOutput,
|
|
533
|
+
OrganizationPublicKeysCreateInput,
|
|
534
|
+
OrganizationPublicKeysCreateOutput,
|
|
535
|
+
OrganizationPublicKeysListInput,
|
|
536
|
+
OrganizationPublicKeysListOutput,
|
|
537
|
+
OrganizationPublicKeysRevokeInput,
|
|
538
|
+
OrganizationPublicKeysRevokeOutput,
|
|
539
|
+
OrganizationPublicKeysUpdateScopeInput,
|
|
540
|
+
OrganizationPublicKeysUpdateScopeOutput,
|
|
541
|
+
OrganizationPublicRoutesListInput,
|
|
542
|
+
OrganizationPublicRoutesListOutput,
|
|
533
543
|
OrganizationRolesCreateInput,
|
|
534
544
|
OrganizationRolesCreateOutput,
|
|
535
545
|
OrganizationRolesDeleteInput,
|
|
@@ -568,12 +578,6 @@ import type {
|
|
|
568
578
|
PlaygroundLifecycleListEventsOutput,
|
|
569
579
|
PlaygroundWebhookGetLastInput,
|
|
570
580
|
PlaygroundWebhookGetLastOutput,
|
|
571
|
-
RealtimeApikeyCreateInput,
|
|
572
|
-
RealtimeApikeyCreateOutput,
|
|
573
|
-
RealtimeApikeyListInput,
|
|
574
|
-
RealtimeApikeyListOutput,
|
|
575
|
-
RealtimeApikeyRevokeInput,
|
|
576
|
-
RealtimeApikeyRevokeOutput,
|
|
577
581
|
RealtimeArchiveExportInput,
|
|
578
582
|
RealtimeArchiveExportOutput,
|
|
579
583
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1284,6 +1288,15 @@ export interface GeneratedClient {
|
|
|
1284
1288
|
select(input: OrganizationProductSelectInput): Promise<OrganizationProductSelectOutput>;
|
|
1285
1289
|
update(input: OrganizationProductUpdateInput): Promise<OrganizationProductUpdateOutput>;
|
|
1286
1290
|
};
|
|
1291
|
+
'public-keys': {
|
|
1292
|
+
create(input: OrganizationPublicKeysCreateInput): Promise<OrganizationPublicKeysCreateOutput>;
|
|
1293
|
+
list(input: OrganizationPublicKeysListInput): Promise<OrganizationPublicKeysListOutput>;
|
|
1294
|
+
revoke(input: OrganizationPublicKeysRevokeInput): Promise<OrganizationPublicKeysRevokeOutput>;
|
|
1295
|
+
'update-scope'(input: OrganizationPublicKeysUpdateScopeInput): Promise<OrganizationPublicKeysUpdateScopeOutput>;
|
|
1296
|
+
};
|
|
1297
|
+
'public-routes': {
|
|
1298
|
+
list(input: OrganizationPublicRoutesListInput): Promise<OrganizationPublicRoutesListOutput>;
|
|
1299
|
+
};
|
|
1287
1300
|
roles: {
|
|
1288
1301
|
create(input: OrganizationRolesCreateInput): Promise<OrganizationRolesCreateOutput>;
|
|
1289
1302
|
delete(input: OrganizationRolesDeleteInput): Promise<OrganizationRolesDeleteOutput>;
|
|
@@ -1324,11 +1337,6 @@ export interface GeneratedClient {
|
|
|
1324
1337
|
};
|
|
1325
1338
|
};
|
|
1326
1339
|
realtime: {
|
|
1327
|
-
apikey: {
|
|
1328
|
-
create(input: RealtimeApikeyCreateInput): Promise<RealtimeApikeyCreateOutput>;
|
|
1329
|
-
list(input: RealtimeApikeyListInput): Promise<RealtimeApikeyListOutput>;
|
|
1330
|
-
revoke(input: RealtimeApikeyRevokeInput): Promise<RealtimeApikeyRevokeOutput>;
|
|
1331
|
-
};
|
|
1332
1340
|
archive: {
|
|
1333
1341
|
export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
|
|
1334
1342
|
get(input: RealtimeArchiveGetInput): Promise<RealtimeArchiveGetOutput>;
|
|
@@ -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, 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, OrganizationExtensionsListInput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationExtensionsListOutput, 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, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput } from '../types.gen';
|
|
3
|
+
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, 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, OrganizationExtensionsListInput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationExtensionsListOutput, 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';
|
|
@@ -75,6 +75,13 @@ import type {
|
|
|
75
75
|
OrganizationProductRevokeInvitationInput,
|
|
76
76
|
OrganizationProductSelectInput,
|
|
77
77
|
OrganizationProductUpdateInput,
|
|
78
|
+
OrganizationPublicKeysCreateInput,
|
|
79
|
+
OrganizationPublicKeysListInput,
|
|
80
|
+
OrganizationPublicKeysListOutput,
|
|
81
|
+
OrganizationPublicKeysRevokeInput,
|
|
82
|
+
OrganizationPublicKeysUpdateScopeInput,
|
|
83
|
+
OrganizationPublicRoutesListInput,
|
|
84
|
+
OrganizationPublicRoutesListOutput,
|
|
78
85
|
OrganizationRolesCreateInput,
|
|
79
86
|
OrganizationRolesDeleteInput,
|
|
80
87
|
OrganizationRolesGetInput,
|
|
@@ -346,6 +353,31 @@ export const organizationProductUpdateMutationOptions = (sdk: GeneratedClient) =
|
|
|
346
353
|
mutationFn: (input: OrganizationProductUpdateInput) => sdk['organization']['product']['update'](input),
|
|
347
354
|
});
|
|
348
355
|
|
|
356
|
+
export const organizationPublicKeysCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
357
|
+
mutationKey: ['organization', 'public-keys', 'create'],
|
|
358
|
+
mutationFn: (input: OrganizationPublicKeysCreateInput) => sdk['organization']['public-keys']['create'](input),
|
|
359
|
+
});
|
|
360
|
+
|
|
361
|
+
export const organizationPublicKeysListQueryOptions = (sdk: GeneratedClient, input: OrganizationPublicKeysListInput) => ({
|
|
362
|
+
queryKey: ['organization', 'public-keys', 'list', input] as const,
|
|
363
|
+
queryFn: () => sdk['organization']['public-keys']['list'](input),
|
|
364
|
+
});
|
|
365
|
+
|
|
366
|
+
export const organizationPublicKeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
367
|
+
mutationKey: ['organization', 'public-keys', 'revoke'],
|
|
368
|
+
mutationFn: (input: OrganizationPublicKeysRevokeInput) => sdk['organization']['public-keys']['revoke'](input),
|
|
369
|
+
});
|
|
370
|
+
|
|
371
|
+
export const organizationPublicKeysUpdateScopeMutationOptions = (sdk: GeneratedClient) => ({
|
|
372
|
+
mutationKey: ['organization', 'public-keys', 'update-scope'],
|
|
373
|
+
mutationFn: (input: OrganizationPublicKeysUpdateScopeInput) => sdk['organization']['public-keys']['update-scope'](input),
|
|
374
|
+
});
|
|
375
|
+
|
|
376
|
+
export const organizationPublicRoutesListQueryOptions = (sdk: GeneratedClient, input: OrganizationPublicRoutesListInput) => ({
|
|
377
|
+
queryKey: ['organization', 'public-routes', 'list', input] as const,
|
|
378
|
+
queryFn: () => sdk['organization']['public-routes']['list'](input),
|
|
379
|
+
});
|
|
380
|
+
|
|
349
381
|
export const organizationRolesCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
350
382
|
mutationKey: ['organization', 'roles', 'create'],
|
|
351
383
|
mutationFn: (input: OrganizationRolesCreateInput) => sdk['organization']['roles']['create'](input),
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type {
|
|
3
|
+
export type { RealtimeArchiveExportInput, RealtimeArchiveExportOutput, RealtimeArchiveExportStatusInput, RealtimeArchiveExportStatusOutput, RealtimeArchiveGetInput, RealtimeArchiveGetOutput, RealtimeGrantCreateInput, RealtimeGrantCreateOutput, RealtimeGrantListInput, RealtimeGrantListOutput, RealtimeGrantRevokeInput, RealtimeGrantRevokeOutput, RealtimeHistoryGetInput, RealtimeHistoryGetOutput, RealtimeMessagesPublishInput, RealtimeMessagesPublishOutput, RealtimeNamespaceCreateInput, RealtimeNamespaceCreateOutput, RealtimeNamespaceDeleteInput, RealtimeNamespaceDeleteOutput, RealtimeNamespaceGetInput, RealtimeNamespaceGetOutput, RealtimeNamespaceListInput, RealtimeNamespaceListOutput, RealtimeNamespaceUpdateInput, RealtimeNamespaceUpdateOutput, RealtimePresenceEnterInput, RealtimePresenceEnterOutput, RealtimePresenceGetInput, RealtimePresenceGetOutput, RealtimePresenceLeaveInput, RealtimePresenceLeaveOutput, RealtimePresenceStatsInput, RealtimePresenceStatsOutput, RealtimePresenceUpdateInput, RealtimePresenceUpdateOutput, RealtimeStatusGetInput, RealtimeStatusGetOutput, RealtimeTokensCreateInput, RealtimeTokensCreateOutput, RealtimeWebhookCreateInput, RealtimeWebhookCreateOutput, RealtimeWebhookDeleteInput, RealtimeWebhookDeleteOutput, RealtimeWebhookDeliveriesListInput, RealtimeWebhookDeliveriesListOutput, RealtimeWebhookGetInput, RealtimeWebhookGetOutput, RealtimeWebhookListInput, RealtimeWebhookListOutput, RealtimeWebhookSecretRotateInput, RealtimeWebhookSecretRotateOutput, RealtimeWebhookUpdateInput, RealtimeWebhookUpdateOutput } from '../types.gen';
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { GeneratedClient } from '../client.gen';
|
|
3
3
|
import type {
|
|
4
|
-
RealtimeApikeyCreateInput,
|
|
5
|
-
RealtimeApikeyListInput,
|
|
6
|
-
RealtimeApikeyListOutput,
|
|
7
|
-
RealtimeApikeyRevokeInput,
|
|
8
4
|
RealtimeArchiveExportInput,
|
|
9
5
|
RealtimeArchiveExportStatusInput,
|
|
10
6
|
RealtimeArchiveExportStatusOutput,
|
|
@@ -46,21 +42,6 @@ import type {
|
|
|
46
42
|
RealtimeWebhookUpdateInput,
|
|
47
43
|
} from '../types.gen';
|
|
48
44
|
|
|
49
|
-
export const realtimeApikeyCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
50
|
-
mutationKey: ['realtime', 'apikey', 'create'],
|
|
51
|
-
mutationFn: (input: RealtimeApikeyCreateInput) => sdk['realtime']['apikey']['create'](input),
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
export const realtimeApikeyListQueryOptions = (sdk: GeneratedClient, input: RealtimeApikeyListInput) => ({
|
|
55
|
-
queryKey: ['realtime', 'apikey', 'list', input] as const,
|
|
56
|
-
queryFn: () => sdk['realtime']['apikey']['list'](input),
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
export const realtimeApikeyRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
60
|
-
mutationKey: ['realtime', 'apikey', 'revoke'],
|
|
61
|
-
mutationFn: (input: RealtimeApikeyRevokeInput) => sdk['realtime']['apikey']['revoke'](input),
|
|
62
|
-
});
|
|
63
|
-
|
|
64
45
|
export const realtimeArchiveExportMutationOptions = (sdk: GeneratedClient) => ({
|
|
65
46
|
mutationKey: ['realtime', 'archive', 'export'],
|
|
66
47
|
mutationFn: (input: RealtimeArchiveExportInput) => sdk['realtime']['archive']['export'](input),
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -13268,6 +13268,112 @@ archivedAt: (string | null)
|
|
|
13268
13268
|
organizationId: string
|
|
13269
13269
|
}
|
|
13270
13270
|
|
|
13271
|
+
export interface OrganizationPublicKeysCreateInput {
|
|
13272
|
+
name: string
|
|
13273
|
+
scope: ("*" | {
|
|
13274
|
+
path?: string
|
|
13275
|
+
method?: string
|
|
13276
|
+
extension: string
|
|
13277
|
+
}[])
|
|
13278
|
+
productId: string
|
|
13279
|
+
}
|
|
13280
|
+
|
|
13281
|
+
export interface OrganizationPublicKeysCreateOutput {
|
|
13282
|
+
id: string
|
|
13283
|
+
key: string
|
|
13284
|
+
name: string
|
|
13285
|
+
scope: ("*" | {
|
|
13286
|
+
path?: string
|
|
13287
|
+
method?: string
|
|
13288
|
+
extension: string
|
|
13289
|
+
}[])
|
|
13290
|
+
imported: boolean
|
|
13291
|
+
createdAt: string
|
|
13292
|
+
createdBy: string
|
|
13293
|
+
keyPrefix: string
|
|
13294
|
+
revokedAt: (string | null)
|
|
13295
|
+
}
|
|
13296
|
+
|
|
13297
|
+
export interface OrganizationPublicKeysListInput {
|
|
13298
|
+
productId: string
|
|
13299
|
+
}
|
|
13300
|
+
|
|
13301
|
+
export interface OrganizationPublicKeysListOutput {
|
|
13302
|
+
keys: {
|
|
13303
|
+
id: string
|
|
13304
|
+
name: string
|
|
13305
|
+
scope: ("*" | {
|
|
13306
|
+
path?: string
|
|
13307
|
+
method?: string
|
|
13308
|
+
extension: string
|
|
13309
|
+
}[])
|
|
13310
|
+
imported: boolean
|
|
13311
|
+
createdAt: string
|
|
13312
|
+
createdBy: string
|
|
13313
|
+
keyPrefix: string
|
|
13314
|
+
revokedAt: (string | null)
|
|
13315
|
+
}[]
|
|
13316
|
+
}
|
|
13317
|
+
|
|
13318
|
+
export interface OrganizationPublicKeysRevokeInput {
|
|
13319
|
+
id: string
|
|
13320
|
+
productId: string
|
|
13321
|
+
}
|
|
13322
|
+
|
|
13323
|
+
export interface OrganizationPublicKeysRevokeOutput {
|
|
13324
|
+
id: string
|
|
13325
|
+
name: string
|
|
13326
|
+
scope: ("*" | {
|
|
13327
|
+
path?: string
|
|
13328
|
+
method?: string
|
|
13329
|
+
extension: string
|
|
13330
|
+
}[])
|
|
13331
|
+
imported: boolean
|
|
13332
|
+
createdAt: string
|
|
13333
|
+
createdBy: string
|
|
13334
|
+
keyPrefix: string
|
|
13335
|
+
revokedAt: (string | null)
|
|
13336
|
+
}
|
|
13337
|
+
|
|
13338
|
+
export interface OrganizationPublicKeysUpdateScopeInput {
|
|
13339
|
+
id: string
|
|
13340
|
+
scope: ("*" | {
|
|
13341
|
+
path?: string
|
|
13342
|
+
method?: string
|
|
13343
|
+
extension: string
|
|
13344
|
+
}[])
|
|
13345
|
+
productId: string
|
|
13346
|
+
}
|
|
13347
|
+
|
|
13348
|
+
export interface OrganizationPublicKeysUpdateScopeOutput {
|
|
13349
|
+
id: string
|
|
13350
|
+
name: string
|
|
13351
|
+
scope: ("*" | {
|
|
13352
|
+
path?: string
|
|
13353
|
+
method?: string
|
|
13354
|
+
extension: string
|
|
13355
|
+
}[])
|
|
13356
|
+
imported: boolean
|
|
13357
|
+
createdAt: string
|
|
13358
|
+
createdBy: string
|
|
13359
|
+
keyPrefix: string
|
|
13360
|
+
revokedAt: (string | null)
|
|
13361
|
+
}
|
|
13362
|
+
|
|
13363
|
+
export interface OrganizationPublicRoutesListInput {
|
|
13364
|
+
productId: string
|
|
13365
|
+
}
|
|
13366
|
+
|
|
13367
|
+
export interface OrganizationPublicRoutesListOutput {
|
|
13368
|
+
routes: {
|
|
13369
|
+
mode: ("open" | "keyed")
|
|
13370
|
+
path: string
|
|
13371
|
+
method: string
|
|
13372
|
+
extension: string
|
|
13373
|
+
publicUrl: string
|
|
13374
|
+
}[]
|
|
13375
|
+
}
|
|
13376
|
+
|
|
13271
13377
|
export interface OrganizationRolesCreateInput {
|
|
13272
13378
|
deny?: string[]
|
|
13273
13379
|
name: string
|
|
@@ -13588,53 +13694,6 @@ delivery_count: number
|
|
|
13588
13694
|
found: false
|
|
13589
13695
|
})
|
|
13590
13696
|
|
|
13591
|
-
export interface RealtimeApikeyCreateInput {
|
|
13592
|
-
/**
|
|
13593
|
-
* Human-readable label for the key, e.g. "production backend"
|
|
13594
|
-
*/
|
|
13595
|
-
name: string
|
|
13596
|
-
}
|
|
13597
|
-
|
|
13598
|
-
export interface RealtimeApikeyCreateOutput {
|
|
13599
|
-
/**
|
|
13600
|
-
* The full rtk_ secret. Shown once — it cannot be retrieved again.
|
|
13601
|
-
*/
|
|
13602
|
-
key: string
|
|
13603
|
-
apiKey: {
|
|
13604
|
-
id: string
|
|
13605
|
-
name: string
|
|
13606
|
-
prefix: string
|
|
13607
|
-
createdAt: string
|
|
13608
|
-
revokedAt: (string | null)
|
|
13609
|
-
}
|
|
13610
|
-
}
|
|
13611
|
-
|
|
13612
|
-
export interface RealtimeApikeyListInput {
|
|
13613
|
-
|
|
13614
|
-
}
|
|
13615
|
-
|
|
13616
|
-
export interface RealtimeApikeyListOutput {
|
|
13617
|
-
keys: {
|
|
13618
|
-
id: string
|
|
13619
|
-
name: string
|
|
13620
|
-
prefix: string
|
|
13621
|
-
createdAt: string
|
|
13622
|
-
revokedAt: (string | null)
|
|
13623
|
-
}[]
|
|
13624
|
-
}
|
|
13625
|
-
|
|
13626
|
-
export interface RealtimeApikeyRevokeInput {
|
|
13627
|
-
/**
|
|
13628
|
-
* Api key id to revoke
|
|
13629
|
-
*/
|
|
13630
|
-
id: string
|
|
13631
|
-
}
|
|
13632
|
-
|
|
13633
|
-
export interface RealtimeApikeyRevokeOutput {
|
|
13634
|
-
id: string
|
|
13635
|
-
revokedAt: string
|
|
13636
|
-
}
|
|
13637
|
-
|
|
13638
13697
|
export interface RealtimeArchiveExportInput {
|
|
13639
13698
|
/**
|
|
13640
13699
|
* Only entries with ts <= to_ts (epoch ms)
|