@lessly/sdk-app 31.2.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-CgxJO9Bv.d.cts → client.gen-Bqi5pP6g.d.cts} +9 -77
- package/dist/{client.gen-CgxJO9Bv.d.ts → client.gen-Bqi5pP6g.d.ts} +9 -77
- 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 +4 -71
- 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 +4 -71
- 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 +0 -25
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.d.cts +2 -22
- package/dist/organization/index.d.ts +2 -22
- package/dist/organization/index.js +1 -21
- 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 +4 -71
- package/src/gen/client.gen.ts +0 -15
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +0 -31
- package/src/gen/types.gen.ts +8 -81
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": [
|
|
@@ -4415,17 +4385,6 @@ export const bindings: BindingsMap = {
|
|
|
4415
4385
|
"path": "/governance/api/v1/products/:productId/access",
|
|
4416
4386
|
"readOnly": true
|
|
4417
4387
|
},
|
|
4418
|
-
"list-invitations": {
|
|
4419
|
-
"method": "GET",
|
|
4420
|
-
"params": [
|
|
4421
|
-
{
|
|
4422
|
-
"in": "path",
|
|
4423
|
-
"name": "productId"
|
|
4424
|
-
}
|
|
4425
|
-
],
|
|
4426
|
-
"path": "/governance/api/v1/products/:productId/invitations",
|
|
4427
|
-
"readOnly": true
|
|
4428
|
-
},
|
|
4429
4388
|
"list-members": {
|
|
4430
4389
|
"method": "GET",
|
|
4431
4390
|
"params": [
|
|
@@ -4448,21 +4407,6 @@ export const bindings: BindingsMap = {
|
|
|
4448
4407
|
"path": "/governance/api/v1/products/:productId/roles",
|
|
4449
4408
|
"readOnly": true
|
|
4450
4409
|
},
|
|
4451
|
-
"resend-invitation": {
|
|
4452
|
-
"method": "POST",
|
|
4453
|
-
"params": [
|
|
4454
|
-
{
|
|
4455
|
-
"in": "path",
|
|
4456
|
-
"name": "productId"
|
|
4457
|
-
},
|
|
4458
|
-
{
|
|
4459
|
-
"in": "path",
|
|
4460
|
-
"name": "id"
|
|
4461
|
-
}
|
|
4462
|
-
],
|
|
4463
|
-
"path": "/governance/api/v1/products/:productId/invitations/:id/resend",
|
|
4464
|
-
"readOnly": false
|
|
4465
|
-
},
|
|
4466
4410
|
"revoke-access": {
|
|
4467
4411
|
"method": "DELETE",
|
|
4468
4412
|
"params": [
|
|
@@ -4478,21 +4422,6 @@ export const bindings: BindingsMap = {
|
|
|
4478
4422
|
"path": "/governance/api/v1/products/:productId/access/:userId",
|
|
4479
4423
|
"readOnly": false
|
|
4480
4424
|
},
|
|
4481
|
-
"revoke-invitation": {
|
|
4482
|
-
"method": "POST",
|
|
4483
|
-
"params": [
|
|
4484
|
-
{
|
|
4485
|
-
"in": "body",
|
|
4486
|
-
"name": "productId"
|
|
4487
|
-
},
|
|
4488
|
-
{
|
|
4489
|
-
"in": "body",
|
|
4490
|
-
"name": "invitationId"
|
|
4491
|
-
}
|
|
4492
|
-
],
|
|
4493
|
-
"path": "/governance/api/v1/products/revoke-invitation",
|
|
4494
|
-
"readOnly": false
|
|
4495
|
-
},
|
|
4496
4425
|
"select": {
|
|
4497
4426
|
"method": "POST",
|
|
4498
4427
|
"params": [
|
|
@@ -4537,6 +4466,10 @@ export const bindings: BindingsMap = {
|
|
|
4537
4466
|
{
|
|
4538
4467
|
"in": "body",
|
|
4539
4468
|
"name": "name"
|
|
4469
|
+
},
|
|
4470
|
+
{
|
|
4471
|
+
"in": "body",
|
|
4472
|
+
"name": "description"
|
|
4540
4473
|
}
|
|
4541
4474
|
],
|
|
4542
4475
|
"path": "/governance/api/v1/products/:productId",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -546,28 +546,18 @@ import type {
|
|
|
546
546
|
OrganizationMembersAssignRoleOutput,
|
|
547
547
|
OrganizationPermissionCatalogInput,
|
|
548
548
|
OrganizationPermissionCatalogOutput,
|
|
549
|
-
OrganizationProductAcceptInvitationInput,
|
|
550
|
-
OrganizationProductAcceptInvitationOutput,
|
|
551
549
|
OrganizationProductCreateInput,
|
|
552
550
|
OrganizationProductCreateOutput,
|
|
553
|
-
OrganizationProductInviteInput,
|
|
554
|
-
OrganizationProductInviteOutput,
|
|
555
551
|
OrganizationProductListAccessInput,
|
|
556
552
|
OrganizationProductListAccessOutput,
|
|
557
553
|
OrganizationProductListInput,
|
|
558
|
-
OrganizationProductListInvitationsInput,
|
|
559
|
-
OrganizationProductListInvitationsOutput,
|
|
560
554
|
OrganizationProductListMembersInput,
|
|
561
555
|
OrganizationProductListMembersOutput,
|
|
562
556
|
OrganizationProductListOutput,
|
|
563
557
|
OrganizationProductListRolesInput,
|
|
564
558
|
OrganizationProductListRolesOutput,
|
|
565
|
-
OrganizationProductResendInvitationInput,
|
|
566
|
-
OrganizationProductResendInvitationOutput,
|
|
567
559
|
OrganizationProductRevokeAccessInput,
|
|
568
560
|
OrganizationProductRevokeAccessOutput,
|
|
569
|
-
OrganizationProductRevokeInvitationInput,
|
|
570
|
-
OrganizationProductRevokeInvitationOutput,
|
|
571
561
|
OrganizationProductSelectInput,
|
|
572
562
|
OrganizationProductSelectOutput,
|
|
573
563
|
OrganizationProductSetAccessInput,
|
|
@@ -1415,17 +1405,12 @@ export interface GeneratedClient {
|
|
|
1415
1405
|
catalog(input: OrganizationPermissionCatalogInput): Promise<OrganizationPermissionCatalogOutput>;
|
|
1416
1406
|
};
|
|
1417
1407
|
product: {
|
|
1418
|
-
'accept-invitation'(input: OrganizationProductAcceptInvitationInput): Promise<OrganizationProductAcceptInvitationOutput>;
|
|
1419
1408
|
create(input: OrganizationProductCreateInput): Promise<OrganizationProductCreateOutput>;
|
|
1420
|
-
invite(input: OrganizationProductInviteInput): Promise<OrganizationProductInviteOutput>;
|
|
1421
1409
|
list(input: OrganizationProductListInput): Promise<OrganizationProductListOutput>;
|
|
1422
1410
|
'list-access'(input: OrganizationProductListAccessInput): Promise<OrganizationProductListAccessOutput>;
|
|
1423
|
-
'list-invitations'(input: OrganizationProductListInvitationsInput): Promise<OrganizationProductListInvitationsOutput>;
|
|
1424
1411
|
'list-members'(input: OrganizationProductListMembersInput): Promise<OrganizationProductListMembersOutput>;
|
|
1425
1412
|
'list-roles'(input: OrganizationProductListRolesInput): Promise<OrganizationProductListRolesOutput>;
|
|
1426
|
-
'resend-invitation'(input: OrganizationProductResendInvitationInput): Promise<OrganizationProductResendInvitationOutput>;
|
|
1427
1413
|
'revoke-access'(input: OrganizationProductRevokeAccessInput): Promise<OrganizationProductRevokeAccessOutput>;
|
|
1428
|
-
'revoke-invitation'(input: OrganizationProductRevokeInvitationInput): Promise<OrganizationProductRevokeInvitationOutput>;
|
|
1429
1414
|
select(input: OrganizationProductSelectInput): Promise<OrganizationProductSelectOutput>;
|
|
1430
1415
|
'set-access'(input: OrganizationProductSetAccessInput): Promise<OrganizationProductSetAccessOutput>;
|
|
1431
1416
|
update(input: OrganizationProductUpdateInput): Promise<OrganizationProductUpdateOutput>;
|
|
@@ -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,22 +65,16 @@ import type {
|
|
|
65
65
|
OrganizationMembersAssignRoleInput,
|
|
66
66
|
OrganizationPermissionCatalogInput,
|
|
67
67
|
OrganizationPermissionCatalogOutput,
|
|
68
|
-
OrganizationProductAcceptInvitationInput,
|
|
69
68
|
OrganizationProductCreateInput,
|
|
70
|
-
OrganizationProductInviteInput,
|
|
71
69
|
OrganizationProductListAccessInput,
|
|
72
70
|
OrganizationProductListAccessOutput,
|
|
73
71
|
OrganizationProductListInput,
|
|
74
|
-
OrganizationProductListInvitationsInput,
|
|
75
|
-
OrganizationProductListInvitationsOutput,
|
|
76
72
|
OrganizationProductListMembersInput,
|
|
77
73
|
OrganizationProductListMembersOutput,
|
|
78
74
|
OrganizationProductListOutput,
|
|
79
75
|
OrganizationProductListRolesInput,
|
|
80
76
|
OrganizationProductListRolesOutput,
|
|
81
|
-
OrganizationProductResendInvitationInput,
|
|
82
77
|
OrganizationProductRevokeAccessInput,
|
|
83
|
-
OrganizationProductRevokeInvitationInput,
|
|
84
78
|
OrganizationProductSelectInput,
|
|
85
79
|
OrganizationProductSetAccessInput,
|
|
86
80
|
OrganizationProductUpdateInput,
|
|
@@ -338,21 +332,11 @@ export const organizationPermissionCatalogQueryOptions = (sdk: GeneratedClient,
|
|
|
338
332
|
queryFn: () => sdk['organization']['permission']['catalog'](input),
|
|
339
333
|
});
|
|
340
334
|
|
|
341
|
-
export const organizationProductAcceptInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
342
|
-
mutationKey: ['organization', 'product', 'accept-invitation'],
|
|
343
|
-
mutationFn: (input: OrganizationProductAcceptInvitationInput) => sdk['organization']['product']['accept-invitation'](input),
|
|
344
|
-
});
|
|
345
|
-
|
|
346
335
|
export const organizationProductCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
347
336
|
mutationKey: ['organization', 'product', 'create'],
|
|
348
337
|
mutationFn: (input: OrganizationProductCreateInput) => sdk['organization']['product']['create'](input),
|
|
349
338
|
});
|
|
350
339
|
|
|
351
|
-
export const organizationProductInviteMutationOptions = (sdk: GeneratedClient) => ({
|
|
352
|
-
mutationKey: ['organization', 'product', 'invite'],
|
|
353
|
-
mutationFn: (input: OrganizationProductInviteInput) => sdk['organization']['product']['invite'](input),
|
|
354
|
-
});
|
|
355
|
-
|
|
356
340
|
export const organizationProductListQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListInput) => ({
|
|
357
341
|
queryKey: ['organization', 'product', 'list', input] as const,
|
|
358
342
|
queryFn: () => sdk['organization']['product']['list'](input),
|
|
@@ -363,11 +347,6 @@ export const organizationProductListAccessQueryOptions = (sdk: GeneratedClient,
|
|
|
363
347
|
queryFn: () => sdk['organization']['product']['list-access'](input),
|
|
364
348
|
});
|
|
365
349
|
|
|
366
|
-
export const organizationProductListInvitationsQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListInvitationsInput) => ({
|
|
367
|
-
queryKey: ['organization', 'product', 'list-invitations', input] as const,
|
|
368
|
-
queryFn: () => sdk['organization']['product']['list-invitations'](input),
|
|
369
|
-
});
|
|
370
|
-
|
|
371
350
|
export const organizationProductListMembersQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListMembersInput) => ({
|
|
372
351
|
queryKey: ['organization', 'product', 'list-members', input] as const,
|
|
373
352
|
queryFn: () => sdk['organization']['product']['list-members'](input),
|
|
@@ -378,21 +357,11 @@ export const organizationProductListRolesQueryOptions = (sdk: GeneratedClient, i
|
|
|
378
357
|
queryFn: () => sdk['organization']['product']['list-roles'](input),
|
|
379
358
|
});
|
|
380
359
|
|
|
381
|
-
export const organizationProductResendInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
382
|
-
mutationKey: ['organization', 'product', 'resend-invitation'],
|
|
383
|
-
mutationFn: (input: OrganizationProductResendInvitationInput) => sdk['organization']['product']['resend-invitation'](input),
|
|
384
|
-
});
|
|
385
|
-
|
|
386
360
|
export const organizationProductRevokeAccessMutationOptions = (sdk: GeneratedClient) => ({
|
|
387
361
|
mutationKey: ['organization', 'product', 'revoke-access'],
|
|
388
362
|
mutationFn: (input: OrganizationProductRevokeAccessInput) => sdk['organization']['product']['revoke-access'](input),
|
|
389
363
|
});
|
|
390
364
|
|
|
391
|
-
export const organizationProductRevokeInvitationMutationOptions = (sdk: GeneratedClient) => ({
|
|
392
|
-
mutationKey: ['organization', 'product', 'revoke-invitation'],
|
|
393
|
-
mutationFn: (input: OrganizationProductRevokeInvitationInput) => sdk['organization']['product']['revoke-invitation'](input),
|
|
394
|
-
});
|
|
395
|
-
|
|
396
365
|
export const organizationProductSelectMutationOptions = (sdk: GeneratedClient) => ({
|
|
397
366
|
mutationKey: ['organization', 'product', 'select'],
|
|
398
367
|
mutationFn: (input: OrganizationProductSelectInput) => sdk['organization']['product']['select'](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,9 +13976,11 @@ 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
|
}
|
|
@@ -14059,22 +14022,6 @@ displayName: (string | null)
|
|
|
14059
14022
|
}[]
|
|
14060
14023
|
}
|
|
14061
14024
|
|
|
14062
|
-
export interface OrganizationProductListInvitationsInput {
|
|
14063
|
-
productId: string
|
|
14064
|
-
}
|
|
14065
|
-
|
|
14066
|
-
export interface OrganizationProductListInvitationsOutput {
|
|
14067
|
-
invitations: {
|
|
14068
|
-
id: string
|
|
14069
|
-
role: string
|
|
14070
|
-
email: (string | null)
|
|
14071
|
-
status: string
|
|
14072
|
-
createdAt: string
|
|
14073
|
-
expiresAt: string
|
|
14074
|
-
invitedByDisplayName: string
|
|
14075
|
-
}[]
|
|
14076
|
-
}
|
|
14077
|
-
|
|
14078
14025
|
export interface OrganizationProductListMembersInput {
|
|
14079
14026
|
productId: string
|
|
14080
14027
|
}
|
|
@@ -14110,20 +14057,6 @@ productId: (string | null)
|
|
|
14110
14057
|
}[]
|
|
14111
14058
|
}
|
|
14112
14059
|
|
|
14113
|
-
export interface OrganizationProductResendInvitationInput {
|
|
14114
|
-
productId: string
|
|
14115
|
-
invitationId: string
|
|
14116
|
-
}
|
|
14117
|
-
|
|
14118
|
-
export interface OrganizationProductResendInvitationOutput {
|
|
14119
|
-
id: string
|
|
14120
|
-
role: string
|
|
14121
|
-
email: (string | null)
|
|
14122
|
-
status: string
|
|
14123
|
-
createdAt: string
|
|
14124
|
-
expiresAt: string
|
|
14125
|
-
}
|
|
14126
|
-
|
|
14127
14060
|
export interface OrganizationProductRevokeAccessInput {
|
|
14128
14061
|
userId: string
|
|
14129
14062
|
productId: string
|
|
@@ -14133,15 +14066,6 @@ export interface OrganizationProductRevokeAccessOutput {
|
|
|
14133
14066
|
[k: string]: unknown
|
|
14134
14067
|
}
|
|
14135
14068
|
|
|
14136
|
-
export interface OrganizationProductRevokeInvitationInput {
|
|
14137
|
-
productId: string
|
|
14138
|
-
invitationId: string
|
|
14139
|
-
}
|
|
14140
|
-
|
|
14141
|
-
export interface OrganizationProductRevokeInvitationOutput {
|
|
14142
|
-
message: string
|
|
14143
|
-
}
|
|
14144
|
-
|
|
14145
14069
|
export interface OrganizationProductSelectInput {
|
|
14146
14070
|
productId: string
|
|
14147
14071
|
}
|
|
@@ -14166,8 +14090,9 @@ productId: string
|
|
|
14166
14090
|
}
|
|
14167
14091
|
|
|
14168
14092
|
export interface OrganizationProductUpdateInput {
|
|
14169
|
-
name
|
|
14093
|
+
name?: string
|
|
14170
14094
|
productId: string
|
|
14095
|
+
description?: (string | null)
|
|
14171
14096
|
}
|
|
14172
14097
|
|
|
14173
14098
|
export interface OrganizationProductUpdateOutput {
|
|
@@ -14177,9 +14102,11 @@ role: string
|
|
|
14177
14102
|
slug: string
|
|
14178
14103
|
demoAt: (string | null)
|
|
14179
14104
|
status: string
|
|
14105
|
+
logoUrl: (string | null)
|
|
14180
14106
|
blockedAt: (string | null)
|
|
14181
14107
|
createdAt: string
|
|
14182
14108
|
archivedAt: (string | null)
|
|
14109
|
+
description: (string | null)
|
|
14183
14110
|
organizationId: string
|
|
14184
14111
|
}
|
|
14185
14112
|
|