@lessly/sdk-app 31.1.0 → 32.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/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-3v2tDsvG.d.cts → client.gen-Bqi5pP6g.d.cts} +56 -68
- package/dist/{client.gen-3v2tDsvG.d.ts → client.gen-Bqi5pP6g.d.ts} +56 -68
- 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 +28 -46
- 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 +28 -46
- 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/observe/index.d.cts +1 -1
- package/dist/observe/index.d.ts +1 -1
- package/dist/organization/index.cjs +13 -23
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.d.cts +11 -19
- package/dist/organization/index.d.ts +11 -19
- package/dist/organization/index.js +11 -19
- 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.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +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 +28 -46
- package/src/gen/client.gen.ts +9 -15
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +15 -27
- package/src/gen/types.gen.ts +54 -68
package/dist/users/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, lO as UsersApikeysCreateInput, lP as UsersApikeysCreateOutput, lQ as UsersApikeysListInput, lR as UsersApikeysListOutput, lS as UsersApikeysRevokeInput, lT as UsersApikeysRevokeOutput, lU as UsersAuditListInput, lV as UsersAuditListOutput, lW as UsersConfigGetInput, lX as UsersConfigGetOutput, lY as UsersConfigUpsertInput, lZ as UsersConfigUpsertOutput, l_ as UsersFactorsListInput, l$ as UsersFactorsListOutput, m0 as UsersFactorsResetInput, m1 as UsersFactorsResetOutput, m2 as UsersKeysListInput, m3 as UsersKeysListOutput, m4 as UsersKeysRevokeInput, m5 as UsersKeysRevokeOutput, m6 as UsersKeysRotateInput, m7 as UsersKeysRotateOutput, m8 as UsersOpsRetentionGetInput, m9 as UsersOpsRetentionGetOutput, ma as UsersOpsSloGetInput, mb as UsersOpsSloGetOutput, mc as UsersSessionsGetInput, md as UsersSessionsGetOutput, me as UsersSessionsImpersonateInput, mf as UsersSessionsImpersonateOutput, mg as UsersSessionsListInput, mh as UsersSessionsListOutput, mi as UsersSessionsRevokeInput, mj as UsersSessionsRevokeOutput, mk as UsersStatsGetInput, ml as UsersStatsGetOutput, mm as UsersUsersBanInput, mn as UsersUsersBanOutput, mo as UsersUsersCreateInput, mp as UsersUsersCreateOutput, mq as UsersUsersDeleteInput, mr as UsersUsersDeleteOutput, ms as UsersUsersEraseInput, mt as UsersUsersEraseOutput, mu as UsersUsersExportInput, mv as UsersUsersExportOutput, mw as UsersUsersGetInput, mx as UsersUsersGetOutput, my as UsersUsersImportInput, mz as UsersUsersImportOutput, mA as UsersUsersInviteInput, mB as UsersUsersInviteOutput, mC as UsersUsersListInput, mD as UsersUsersListOutput, mE as UsersUsersSetPrimaryIdentifierInput, mF as UsersUsersSetPrimaryIdentifierOutput, mG as UsersUsersUnbanInput, mH as UsersUsersUnbanOutput, mI as UsersUsersUpdateInput, mJ as UsersUsersUpdateOutput, mK as UsersWaitlistEraseInput, mL as UsersWaitlistEraseOutput, mM as UsersWaitlistFunnelInput, mN as UsersWaitlistFunnelOutput, mO as UsersWaitlistImportInput, mP as UsersWaitlistImportOutput, mQ as UsersWaitlistInviteInput, mR as UsersWaitlistInviteOutput, mS as UsersWaitlistListInput, mT as UsersWaitlistListOutput, mU as UsersWebhooksCreateInput, mV as UsersWebhooksCreateOutput, mW as UsersWebhooksDeleteInput, mX as UsersWebhooksDeleteOutput, mY as UsersWebhooksDeliveriesListInput, mZ as UsersWebhooksDeliveriesListOutput, m_ as UsersWebhooksGetInput, m$ as UsersWebhooksGetOutput, n0 as UsersWebhooksListInput, n1 as UsersWebhooksListOutput, n2 as UsersWebhooksRotateSecretInput, n3 as UsersWebhooksRotateSecretOutput, n4 as UsersWebhooksUpdateInput, n5 as UsersWebhooksUpdateOutput } from '../client.gen-Bqi5pP6g.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, n6 as WaitlistConfigGetInput, n7 as WaitlistConfigGetOutput, n8 as WaitlistConfigUpsertInput, n9 as WaitlistConfigUpsertOutput, na as WaitlistEmbedGetInput, nb as WaitlistEmbedGetOutput, nc as WaitlistInvitesSendInput, nd as WaitlistInvitesSendOutput, ne as WaitlistSignupsEraseInput, nf as WaitlistSignupsEraseOutput, ng as WaitlistSignupsFunnelInput, nh as WaitlistSignupsFunnelOutput, ni as WaitlistSignupsListInput, nj as WaitlistSignupsListOutput } from '../client.gen-Bqi5pP6g.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, n6 as WaitlistConfigGetInput, n7 as WaitlistConfigGetOutput, n8 as WaitlistConfigUpsertInput, n9 as WaitlistConfigUpsertOutput, na as WaitlistEmbedGetInput, nb as WaitlistEmbedGetOutput, nc as WaitlistInvitesSendInput, nd as WaitlistInvitesSendOutput, ne as WaitlistSignupsEraseInput, nf as WaitlistSignupsEraseOutput, ng as WaitlistSignupsFunnelInput, nh as WaitlistSignupsFunnelOutput, ni as WaitlistSignupsListInput, nj as WaitlistSignupsListOutput } from '../client.gen-Bqi5pP6g.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": "32.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"require": "./dist/waitlist/index.cjs"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"sdkContentHash": "sha256:
|
|
109
|
+
"sdkContentHash": "sha256:1ea217f49bde9dd9904d992581a27016905c9b039c3bbb1bac2218a8f98ca1d8"
|
|
110
110
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -4344,17 +4344,6 @@ export const bindings: BindingsMap = {
|
|
|
4344
4344
|
}
|
|
4345
4345
|
},
|
|
4346
4346
|
"product": {
|
|
4347
|
-
"accept-invitation": {
|
|
4348
|
-
"method": "POST",
|
|
4349
|
-
"params": [
|
|
4350
|
-
{
|
|
4351
|
-
"in": "path",
|
|
4352
|
-
"name": "token"
|
|
4353
|
-
}
|
|
4354
|
-
],
|
|
4355
|
-
"path": "/governance/api/v1/invitations/:token/accept",
|
|
4356
|
-
"readOnly": false
|
|
4357
|
-
},
|
|
4358
4347
|
"create": {
|
|
4359
4348
|
"method": "POST",
|
|
4360
4349
|
"params": [
|
|
@@ -4374,25 +4363,6 @@ export const bindings: BindingsMap = {
|
|
|
4374
4363
|
"path": "/governance/api/v1/products",
|
|
4375
4364
|
"readOnly": false
|
|
4376
4365
|
},
|
|
4377
|
-
"invite": {
|
|
4378
|
-
"method": "POST",
|
|
4379
|
-
"params": [
|
|
4380
|
-
{
|
|
4381
|
-
"in": "path",
|
|
4382
|
-
"name": "productId"
|
|
4383
|
-
},
|
|
4384
|
-
{
|
|
4385
|
-
"in": "body",
|
|
4386
|
-
"name": "email"
|
|
4387
|
-
},
|
|
4388
|
-
{
|
|
4389
|
-
"in": "body",
|
|
4390
|
-
"name": "role"
|
|
4391
|
-
}
|
|
4392
|
-
],
|
|
4393
|
-
"path": "/governance/api/v1/products/:productId/invitations",
|
|
4394
|
-
"readOnly": false
|
|
4395
|
-
},
|
|
4396
4366
|
"list": {
|
|
4397
4367
|
"method": "GET",
|
|
4398
4368
|
"params": [
|
|
@@ -4404,7 +4374,7 @@ export const bindings: BindingsMap = {
|
|
|
4404
4374
|
"path": "/governance/api/v1/products",
|
|
4405
4375
|
"readOnly": true
|
|
4406
4376
|
},
|
|
4407
|
-
"list-
|
|
4377
|
+
"list-access": {
|
|
4408
4378
|
"method": "GET",
|
|
4409
4379
|
"params": [
|
|
4410
4380
|
{
|
|
@@ -4412,7 +4382,7 @@ export const bindings: BindingsMap = {
|
|
|
4412
4382
|
"name": "productId"
|
|
4413
4383
|
}
|
|
4414
4384
|
],
|
|
4415
|
-
"path": "/governance/api/v1/products/:productId/
|
|
4385
|
+
"path": "/governance/api/v1/products/:productId/access",
|
|
4416
4386
|
"readOnly": true
|
|
4417
4387
|
},
|
|
4418
4388
|
"list-members": {
|
|
@@ -4437,8 +4407,8 @@ export const bindings: BindingsMap = {
|
|
|
4437
4407
|
"path": "/governance/api/v1/products/:productId/roles",
|
|
4438
4408
|
"readOnly": true
|
|
4439
4409
|
},
|
|
4440
|
-
"
|
|
4441
|
-
"method": "
|
|
4410
|
+
"revoke-access": {
|
|
4411
|
+
"method": "DELETE",
|
|
4442
4412
|
"params": [
|
|
4443
4413
|
{
|
|
4444
4414
|
"in": "path",
|
|
@@ -4446,36 +4416,44 @@ export const bindings: BindingsMap = {
|
|
|
4446
4416
|
},
|
|
4447
4417
|
{
|
|
4448
4418
|
"in": "path",
|
|
4449
|
-
"name": "
|
|
4419
|
+
"name": "userId"
|
|
4450
4420
|
}
|
|
4451
4421
|
],
|
|
4452
|
-
"path": "/governance/api/v1/products/:productId/
|
|
4422
|
+
"path": "/governance/api/v1/products/:productId/access/:userId",
|
|
4453
4423
|
"readOnly": false
|
|
4454
4424
|
},
|
|
4455
|
-
"
|
|
4425
|
+
"select": {
|
|
4456
4426
|
"method": "POST",
|
|
4457
4427
|
"params": [
|
|
4458
4428
|
{
|
|
4459
4429
|
"in": "body",
|
|
4460
4430
|
"name": "productId"
|
|
4461
|
-
},
|
|
4462
|
-
{
|
|
4463
|
-
"in": "body",
|
|
4464
|
-
"name": "invitationId"
|
|
4465
4431
|
}
|
|
4466
4432
|
],
|
|
4467
|
-
"path": "/governance/api/v1/products/
|
|
4433
|
+
"path": "/governance/api/v1/products/select",
|
|
4468
4434
|
"readOnly": false
|
|
4469
4435
|
},
|
|
4470
|
-
"
|
|
4471
|
-
"method": "
|
|
4436
|
+
"set-access": {
|
|
4437
|
+
"method": "PUT",
|
|
4472
4438
|
"params": [
|
|
4473
4439
|
{
|
|
4474
|
-
"in": "
|
|
4440
|
+
"in": "path",
|
|
4475
4441
|
"name": "productId"
|
|
4442
|
+
},
|
|
4443
|
+
{
|
|
4444
|
+
"in": "path",
|
|
4445
|
+
"name": "userId"
|
|
4446
|
+
},
|
|
4447
|
+
{
|
|
4448
|
+
"in": "body",
|
|
4449
|
+
"name": "role"
|
|
4450
|
+
},
|
|
4451
|
+
{
|
|
4452
|
+
"in": "body",
|
|
4453
|
+
"name": "roleId"
|
|
4476
4454
|
}
|
|
4477
4455
|
],
|
|
4478
|
-
"path": "/governance/api/v1/products/
|
|
4456
|
+
"path": "/governance/api/v1/products/:productId/access/:userId",
|
|
4479
4457
|
"readOnly": false
|
|
4480
4458
|
},
|
|
4481
4459
|
"update": {
|
|
@@ -4488,6 +4466,10 @@ export const bindings: BindingsMap = {
|
|
|
4488
4466
|
{
|
|
4489
4467
|
"in": "body",
|
|
4490
4468
|
"name": "name"
|
|
4469
|
+
},
|
|
4470
|
+
{
|
|
4471
|
+
"in": "body",
|
|
4472
|
+
"name": "description"
|
|
4491
4473
|
}
|
|
4492
4474
|
],
|
|
4493
4475
|
"path": "/governance/api/v1/products/:productId",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -546,26 +546,22 @@ import type {
|
|
|
546
546
|
OrganizationMembersAssignRoleOutput,
|
|
547
547
|
OrganizationPermissionCatalogInput,
|
|
548
548
|
OrganizationPermissionCatalogOutput,
|
|
549
|
-
OrganizationProductAcceptInvitationInput,
|
|
550
|
-
OrganizationProductAcceptInvitationOutput,
|
|
551
549
|
OrganizationProductCreateInput,
|
|
552
550
|
OrganizationProductCreateOutput,
|
|
553
|
-
|
|
554
|
-
|
|
551
|
+
OrganizationProductListAccessInput,
|
|
552
|
+
OrganizationProductListAccessOutput,
|
|
555
553
|
OrganizationProductListInput,
|
|
556
|
-
OrganizationProductListInvitationsInput,
|
|
557
|
-
OrganizationProductListInvitationsOutput,
|
|
558
554
|
OrganizationProductListMembersInput,
|
|
559
555
|
OrganizationProductListMembersOutput,
|
|
560
556
|
OrganizationProductListOutput,
|
|
561
557
|
OrganizationProductListRolesInput,
|
|
562
558
|
OrganizationProductListRolesOutput,
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
OrganizationProductRevokeInvitationInput,
|
|
566
|
-
OrganizationProductRevokeInvitationOutput,
|
|
559
|
+
OrganizationProductRevokeAccessInput,
|
|
560
|
+
OrganizationProductRevokeAccessOutput,
|
|
567
561
|
OrganizationProductSelectInput,
|
|
568
562
|
OrganizationProductSelectOutput,
|
|
563
|
+
OrganizationProductSetAccessInput,
|
|
564
|
+
OrganizationProductSetAccessOutput,
|
|
569
565
|
OrganizationProductUpdateInput,
|
|
570
566
|
OrganizationProductUpdateOutput,
|
|
571
567
|
OrganizationPublicKeysCreateInput,
|
|
@@ -1409,16 +1405,14 @@ export interface GeneratedClient {
|
|
|
1409
1405
|
catalog(input: OrganizationPermissionCatalogInput): Promise<OrganizationPermissionCatalogOutput>;
|
|
1410
1406
|
};
|
|
1411
1407
|
product: {
|
|
1412
|
-
'accept-invitation'(input: OrganizationProductAcceptInvitationInput): Promise<OrganizationProductAcceptInvitationOutput>;
|
|
1413
1408
|
create(input: OrganizationProductCreateInput): Promise<OrganizationProductCreateOutput>;
|
|
1414
|
-
invite(input: OrganizationProductInviteInput): Promise<OrganizationProductInviteOutput>;
|
|
1415
1409
|
list(input: OrganizationProductListInput): Promise<OrganizationProductListOutput>;
|
|
1416
|
-
'list-
|
|
1410
|
+
'list-access'(input: OrganizationProductListAccessInput): Promise<OrganizationProductListAccessOutput>;
|
|
1417
1411
|
'list-members'(input: OrganizationProductListMembersInput): Promise<OrganizationProductListMembersOutput>;
|
|
1418
1412
|
'list-roles'(input: OrganizationProductListRolesInput): Promise<OrganizationProductListRolesOutput>;
|
|
1419
|
-
'
|
|
1420
|
-
'revoke-invitation'(input: OrganizationProductRevokeInvitationInput): Promise<OrganizationProductRevokeInvitationOutput>;
|
|
1413
|
+
'revoke-access'(input: OrganizationProductRevokeAccessInput): Promise<OrganizationProductRevokeAccessOutput>;
|
|
1421
1414
|
select(input: OrganizationProductSelectInput): Promise<OrganizationProductSelectOutput>;
|
|
1415
|
+
'set-access'(input: OrganizationProductSetAccessInput): Promise<OrganizationProductSetAccessOutput>;
|
|
1422
1416
|
update(input: OrganizationProductUpdateInput): Promise<OrganizationProductUpdateOutput>;
|
|
1423
1417
|
};
|
|
1424
1418
|
'public-keys': {
|
|
@@ -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, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingBudgetsSetInput, OrganizationBillingBudgetsSetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, 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, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, 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,
|
|
3
|
+
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingBudgetsSetInput, OrganizationBillingBudgetsSetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, 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, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, 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, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, 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, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput } from '../types.gen';
|
|
@@ -65,20 +65,18 @@ import type {
|
|
|
65
65
|
OrganizationMembersAssignRoleInput,
|
|
66
66
|
OrganizationPermissionCatalogInput,
|
|
67
67
|
OrganizationPermissionCatalogOutput,
|
|
68
|
-
OrganizationProductAcceptInvitationInput,
|
|
69
68
|
OrganizationProductCreateInput,
|
|
70
|
-
|
|
69
|
+
OrganizationProductListAccessInput,
|
|
70
|
+
OrganizationProductListAccessOutput,
|
|
71
71
|
OrganizationProductListInput,
|
|
72
|
-
OrganizationProductListInvitationsInput,
|
|
73
|
-
OrganizationProductListInvitationsOutput,
|
|
74
72
|
OrganizationProductListMembersInput,
|
|
75
73
|
OrganizationProductListMembersOutput,
|
|
76
74
|
OrganizationProductListOutput,
|
|
77
75
|
OrganizationProductListRolesInput,
|
|
78
76
|
OrganizationProductListRolesOutput,
|
|
79
|
-
|
|
80
|
-
OrganizationProductRevokeInvitationInput,
|
|
77
|
+
OrganizationProductRevokeAccessInput,
|
|
81
78
|
OrganizationProductSelectInput,
|
|
79
|
+
OrganizationProductSetAccessInput,
|
|
82
80
|
OrganizationProductUpdateInput,
|
|
83
81
|
OrganizationPublicKeysCreateInput,
|
|
84
82
|
OrganizationPublicKeysListInput,
|
|
@@ -334,29 +332,19 @@ export const organizationPermissionCatalogQueryOptions = (sdk: GeneratedClient,
|
|
|
334
332
|
queryFn: () => sdk['organization']['permission']['catalog'](input),
|
|
335
333
|
});
|
|
336
334
|
|
|
337
|
-
export const organizationProductAcceptInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
338
|
-
mutationKey: ['organization', 'product', 'accept-invitation'],
|
|
339
|
-
mutationFn: (input: OrganizationProductAcceptInvitationInput) => sdk['organization']['product']['accept-invitation'](input),
|
|
340
|
-
});
|
|
341
|
-
|
|
342
335
|
export const organizationProductCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
343
336
|
mutationKey: ['organization', 'product', 'create'],
|
|
344
337
|
mutationFn: (input: OrganizationProductCreateInput) => sdk['organization']['product']['create'](input),
|
|
345
338
|
});
|
|
346
339
|
|
|
347
|
-
export const organizationProductInviteMutationOptions = (sdk: GeneratedClient) => ({
|
|
348
|
-
mutationKey: ['organization', 'product', 'invite'],
|
|
349
|
-
mutationFn: (input: OrganizationProductInviteInput) => sdk['organization']['product']['invite'](input),
|
|
350
|
-
});
|
|
351
|
-
|
|
352
340
|
export const organizationProductListQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListInput) => ({
|
|
353
341
|
queryKey: ['organization', 'product', 'list', input] as const,
|
|
354
342
|
queryFn: () => sdk['organization']['product']['list'](input),
|
|
355
343
|
});
|
|
356
344
|
|
|
357
|
-
export const
|
|
358
|
-
queryKey: ['organization', 'product', 'list-
|
|
359
|
-
queryFn: () => sdk['organization']['product']['list-
|
|
345
|
+
export const organizationProductListAccessQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListAccessInput) => ({
|
|
346
|
+
queryKey: ['organization', 'product', 'list-access', input] as const,
|
|
347
|
+
queryFn: () => sdk['organization']['product']['list-access'](input),
|
|
360
348
|
});
|
|
361
349
|
|
|
362
350
|
export const organizationProductListMembersQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListMembersInput) => ({
|
|
@@ -369,14 +357,9 @@ export const organizationProductListRolesQueryOptions = (sdk: GeneratedClient, i
|
|
|
369
357
|
queryFn: () => sdk['organization']['product']['list-roles'](input),
|
|
370
358
|
});
|
|
371
359
|
|
|
372
|
-
export const
|
|
373
|
-
mutationKey: ['organization', 'product', '
|
|
374
|
-
mutationFn: (input:
|
|
375
|
-
});
|
|
376
|
-
|
|
377
|
-
export const organizationProductRevokeInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
378
|
-
mutationKey: ['organization', 'product', 'revoke-invitation'],
|
|
379
|
-
mutationFn: (input: OrganizationProductRevokeInvitationInput) => sdk['organization']['product']['revoke-invitation'](input),
|
|
360
|
+
export const organizationProductRevokeAccessMutationOptions = (sdk: GeneratedClient) => ({
|
|
361
|
+
mutationKey: ['organization', 'product', 'revoke-access'],
|
|
362
|
+
mutationFn: (input: OrganizationProductRevokeAccessInput) => sdk['organization']['product']['revoke-access'](input),
|
|
380
363
|
});
|
|
381
364
|
|
|
382
365
|
export const organizationProductSelectMutationOptions = (sdk: GeneratedClient) => ({
|
|
@@ -384,6 +367,11 @@ export const organizationProductSelectMutationOptions = (sdk: GeneratedClient) =
|
|
|
384
367
|
mutationFn: (input: OrganizationProductSelectInput) => sdk['organization']['product']['select'](input),
|
|
385
368
|
});
|
|
386
369
|
|
|
370
|
+
export const organizationProductSetAccessMutationOptions = (sdk: GeneratedClient) => ({
|
|
371
|
+
mutationKey: ['organization', 'product', 'set-access'],
|
|
372
|
+
mutationFn: (input: OrganizationProductSetAccessInput) => sdk['organization']['product']['set-access'](input),
|
|
373
|
+
});
|
|
374
|
+
|
|
387
375
|
export const organizationProductUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
388
376
|
mutationKey: ['organization', 'product', 'update'],
|
|
389
377
|
mutationFn: (input: OrganizationProductUpdateInput) => sdk['organization']['product']['update'](input),
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -13943,25 +13943,6 @@ display_name: string
|
|
|
13943
13943
|
}[]
|
|
13944
13944
|
}
|
|
13945
13945
|
|
|
13946
|
-
export interface OrganizationProductAcceptInvitationInput {
|
|
13947
|
-
token: string
|
|
13948
|
-
}
|
|
13949
|
-
|
|
13950
|
-
export interface OrganizationProductAcceptInvitationOutput {
|
|
13951
|
-
product: {
|
|
13952
|
-
id: string
|
|
13953
|
-
name: string
|
|
13954
|
-
role: string
|
|
13955
|
-
slug: string
|
|
13956
|
-
demoAt: (string | null)
|
|
13957
|
-
status: string
|
|
13958
|
-
blockedAt: (string | null)
|
|
13959
|
-
createdAt: string
|
|
13960
|
-
archivedAt: (string | null)
|
|
13961
|
-
organizationId: string
|
|
13962
|
-
}
|
|
13963
|
-
}
|
|
13964
|
-
|
|
13965
13946
|
export interface OrganizationProductCreateInput {
|
|
13966
13947
|
name: string
|
|
13967
13948
|
region?: "eu"
|
|
@@ -13975,34 +13956,14 @@ role: string
|
|
|
13975
13956
|
slug: string
|
|
13976
13957
|
demoAt: (string | null)
|
|
13977
13958
|
status: string
|
|
13959
|
+
logoUrl: (string | null)
|
|
13978
13960
|
blockedAt: (string | null)
|
|
13979
13961
|
createdAt: string
|
|
13980
13962
|
archivedAt: (string | null)
|
|
13963
|
+
description: (string | null)
|
|
13981
13964
|
organizationId: string
|
|
13982
13965
|
}
|
|
13983
13966
|
|
|
13984
|
-
export interface OrganizationProductInviteInput {
|
|
13985
|
-
role?: ("admin" | "member" | "viewer")
|
|
13986
|
-
email: string
|
|
13987
|
-
productId: string
|
|
13988
|
-
}
|
|
13989
|
-
|
|
13990
|
-
export type OrganizationProductInviteOutput = ({
|
|
13991
|
-
id: string
|
|
13992
|
-
role: string
|
|
13993
|
-
email: (string | null)
|
|
13994
|
-
status: string
|
|
13995
|
-
outcome: "invited"
|
|
13996
|
-
createdAt: string
|
|
13997
|
-
expiresAt: string
|
|
13998
|
-
} | {
|
|
13999
|
-
role: string
|
|
14000
|
-
userId: string
|
|
14001
|
-
outcome: "added"
|
|
14002
|
-
memberId: string
|
|
14003
|
-
productId: string
|
|
14004
|
-
})
|
|
14005
|
-
|
|
14006
13967
|
export interface OrganizationProductListInput {
|
|
14007
13968
|
|
|
14008
13969
|
}
|
|
@@ -14015,26 +13976,49 @@ role: string
|
|
|
14015
13976
|
slug: string
|
|
14016
13977
|
demoAt: (string | null)
|
|
14017
13978
|
status: string
|
|
13979
|
+
logoUrl: (string | null)
|
|
14018
13980
|
blockedAt: (string | null)
|
|
14019
13981
|
createdAt: string
|
|
14020
13982
|
archivedAt: (string | null)
|
|
13983
|
+
description: (string | null)
|
|
14021
13984
|
organizationId: string
|
|
14022
13985
|
}[]
|
|
14023
13986
|
}
|
|
14024
13987
|
|
|
14025
|
-
export interface
|
|
13988
|
+
export interface OrganizationProductListAccessInput {
|
|
14026
13989
|
productId: string
|
|
14027
13990
|
}
|
|
14028
13991
|
|
|
14029
|
-
export interface
|
|
14030
|
-
|
|
14031
|
-
id: string
|
|
13992
|
+
export interface OrganizationProductListAccessOutput {
|
|
13993
|
+
members: {
|
|
14032
13994
|
role: string
|
|
14033
13995
|
email: (string | null)
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
14037
|
-
|
|
13996
|
+
roleId: (string | null)
|
|
13997
|
+
userId: string
|
|
13998
|
+
isCustom: boolean
|
|
13999
|
+
roleName: (string | null)
|
|
14000
|
+
sourceRole: ({
|
|
14001
|
+
id: string
|
|
14002
|
+
name: string
|
|
14003
|
+
} | null)
|
|
14004
|
+
displayName: (string | null)
|
|
14005
|
+
}[]
|
|
14006
|
+
orgRoles: {
|
|
14007
|
+
id: string
|
|
14008
|
+
name: string
|
|
14009
|
+
description: (string | null)
|
|
14010
|
+
}[]
|
|
14011
|
+
canManage: boolean
|
|
14012
|
+
inherited: {
|
|
14013
|
+
email: (string | null)
|
|
14014
|
+
userId: string
|
|
14015
|
+
orgRole: ("owner" | "admin")
|
|
14016
|
+
displayName: (string | null)
|
|
14017
|
+
}[]
|
|
14018
|
+
candidates: {
|
|
14019
|
+
email: (string | null)
|
|
14020
|
+
userId: string
|
|
14021
|
+
displayName: (string | null)
|
|
14038
14022
|
}[]
|
|
14039
14023
|
}
|
|
14040
14024
|
|
|
@@ -14073,27 +14057,13 @@ productId: (string | null)
|
|
|
14073
14057
|
}[]
|
|
14074
14058
|
}
|
|
14075
14059
|
|
|
14076
|
-
export interface
|
|
14077
|
-
|
|
14078
|
-
invitationId: string
|
|
14079
|
-
}
|
|
14080
|
-
|
|
14081
|
-
export interface OrganizationProductResendInvitationOutput {
|
|
14082
|
-
id: string
|
|
14083
|
-
role: string
|
|
14084
|
-
email: (string | null)
|
|
14085
|
-
status: string
|
|
14086
|
-
createdAt: string
|
|
14087
|
-
expiresAt: string
|
|
14088
|
-
}
|
|
14089
|
-
|
|
14090
|
-
export interface OrganizationProductRevokeInvitationInput {
|
|
14060
|
+
export interface OrganizationProductRevokeAccessInput {
|
|
14061
|
+
userId: string
|
|
14091
14062
|
productId: string
|
|
14092
|
-
invitationId: string
|
|
14093
14063
|
}
|
|
14094
14064
|
|
|
14095
|
-
export interface
|
|
14096
|
-
|
|
14065
|
+
export interface OrganizationProductRevokeAccessOutput {
|
|
14066
|
+
[k: string]: unknown
|
|
14097
14067
|
}
|
|
14098
14068
|
|
|
14099
14069
|
export interface OrganizationProductSelectInput {
|
|
@@ -14106,9 +14076,23 @@ name: string
|
|
|
14106
14076
|
slug: string
|
|
14107
14077
|
}
|
|
14108
14078
|
|
|
14079
|
+
export interface OrganizationProductSetAccessInput {
|
|
14080
|
+
role?: ("admin" | "member" | "viewer")
|
|
14081
|
+
roleId?: string
|
|
14082
|
+
userId: string
|
|
14083
|
+
productId: string
|
|
14084
|
+
}
|
|
14085
|
+
|
|
14086
|
+
export interface OrganizationProductSetAccessOutput {
|
|
14087
|
+
role: string
|
|
14088
|
+
userId: string
|
|
14089
|
+
productId: string
|
|
14090
|
+
}
|
|
14091
|
+
|
|
14109
14092
|
export interface OrganizationProductUpdateInput {
|
|
14110
|
-
name
|
|
14093
|
+
name?: string
|
|
14111
14094
|
productId: string
|
|
14095
|
+
description?: (string | null)
|
|
14112
14096
|
}
|
|
14113
14097
|
|
|
14114
14098
|
export interface OrganizationProductUpdateOutput {
|
|
@@ -14118,9 +14102,11 @@ role: string
|
|
|
14118
14102
|
slug: string
|
|
14119
14103
|
demoAt: (string | null)
|
|
14120
14104
|
status: string
|
|
14105
|
+
logoUrl: (string | null)
|
|
14121
14106
|
blockedAt: (string | null)
|
|
14122
14107
|
createdAt: string
|
|
14123
14108
|
archivedAt: (string | null)
|
|
14109
|
+
description: (string | null)
|
|
14124
14110
|
organizationId: string
|
|
14125
14111
|
}
|
|
14126
14112
|
|