@lessly/sdk-app 65.0.0 → 65.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/_types/gen/client.gen.d.ts +6 -1
- package/dist/_types/gen/organization/index.d.ts +1 -1
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +13 -1
- package/dist/_types/gen/types.gen.d.ts +71 -0
- package/dist/index.cjs +76 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -1
- package/dist/organization/index.cjs +15 -0
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.js +13 -1
- package/dist/organization/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +73 -0
- package/src/gen/client.gen.ts +11 -0
- package/src/gen/manifest.gen.ts +3 -0
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +19 -0
- package/src/gen/types.gen.ts +77 -0
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -6659,6 +6659,79 @@ export const bindings: BindingsMap = {
|
|
|
6659
6659
|
"readOnly": true
|
|
6660
6660
|
}
|
|
6661
6661
|
},
|
|
6662
|
+
"principal-grants": {
|
|
6663
|
+
"approve": {
|
|
6664
|
+
"level": "write",
|
|
6665
|
+
"method": "POST",
|
|
6666
|
+
"operationKey": "organization_principal-grants_approve",
|
|
6667
|
+
"params": [
|
|
6668
|
+
{
|
|
6669
|
+
"in": "path",
|
|
6670
|
+
"name": "productId"
|
|
6671
|
+
},
|
|
6672
|
+
{
|
|
6673
|
+
"in": "body",
|
|
6674
|
+
"name": "principalKind"
|
|
6675
|
+
},
|
|
6676
|
+
{
|
|
6677
|
+
"in": "body",
|
|
6678
|
+
"name": "principalId"
|
|
6679
|
+
},
|
|
6680
|
+
{
|
|
6681
|
+
"in": "body",
|
|
6682
|
+
"name": "tools"
|
|
6683
|
+
}
|
|
6684
|
+
],
|
|
6685
|
+
"path": "/governance/api/v1/products/:productId/principal-grants/approve",
|
|
6686
|
+
"readOnly": false
|
|
6687
|
+
},
|
|
6688
|
+
"list": {
|
|
6689
|
+
"level": "read",
|
|
6690
|
+
"method": "GET",
|
|
6691
|
+
"operationKey": "organization_principal-grants_list",
|
|
6692
|
+
"params": [
|
|
6693
|
+
{
|
|
6694
|
+
"in": "path",
|
|
6695
|
+
"name": "productId"
|
|
6696
|
+
},
|
|
6697
|
+
{
|
|
6698
|
+
"in": "query",
|
|
6699
|
+
"name": "principalKind"
|
|
6700
|
+
}
|
|
6701
|
+
],
|
|
6702
|
+
"path": "/governance/api/v1/products/:productId/principal-grants",
|
|
6703
|
+
"readOnly": true
|
|
6704
|
+
},
|
|
6705
|
+
"revoke": {
|
|
6706
|
+
"level": "admin",
|
|
6707
|
+
"method": "POST",
|
|
6708
|
+
"operationKey": "organization_principal-grants_revoke",
|
|
6709
|
+
"params": [
|
|
6710
|
+
{
|
|
6711
|
+
"in": "path",
|
|
6712
|
+
"name": "productId"
|
|
6713
|
+
},
|
|
6714
|
+
{
|
|
6715
|
+
"in": "body",
|
|
6716
|
+
"name": "principalKind"
|
|
6717
|
+
},
|
|
6718
|
+
{
|
|
6719
|
+
"in": "body",
|
|
6720
|
+
"name": "principalId"
|
|
6721
|
+
},
|
|
6722
|
+
{
|
|
6723
|
+
"in": "body",
|
|
6724
|
+
"name": "tools"
|
|
6725
|
+
},
|
|
6726
|
+
{
|
|
6727
|
+
"in": "body",
|
|
6728
|
+
"name": "reason"
|
|
6729
|
+
}
|
|
6730
|
+
],
|
|
6731
|
+
"path": "/governance/api/v1/products/:productId/principal-grants/revoke",
|
|
6732
|
+
"readOnly": false
|
|
6733
|
+
}
|
|
6734
|
+
},
|
|
6662
6735
|
"product": {
|
|
6663
6736
|
"create": {
|
|
6664
6737
|
"level": "write",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -711,6 +711,12 @@ import type {
|
|
|
711
711
|
OrganizationMembersAssignRoleOutput,
|
|
712
712
|
OrganizationPermissionCatalogInput,
|
|
713
713
|
OrganizationPermissionCatalogOutput,
|
|
714
|
+
OrganizationPrincipalGrantsApproveInput,
|
|
715
|
+
OrganizationPrincipalGrantsApproveOutput,
|
|
716
|
+
OrganizationPrincipalGrantsListInput,
|
|
717
|
+
OrganizationPrincipalGrantsListOutput,
|
|
718
|
+
OrganizationPrincipalGrantsRevokeInput,
|
|
719
|
+
OrganizationPrincipalGrantsRevokeOutput,
|
|
714
720
|
OrganizationProductCreateInput,
|
|
715
721
|
OrganizationProductCreateOutput,
|
|
716
722
|
OrganizationProductListAccessInput,
|
|
@@ -1789,6 +1795,11 @@ export interface GeneratedClient {
|
|
|
1789
1795
|
permission: {
|
|
1790
1796
|
catalog: ((input: OrganizationPermissionCatalogInput) => Promise<OrganizationPermissionCatalogOutput>) & Operation;
|
|
1791
1797
|
};
|
|
1798
|
+
'principal-grants': {
|
|
1799
|
+
approve: ((input: OrganizationPrincipalGrantsApproveInput) => Promise<OrganizationPrincipalGrantsApproveOutput>) & Operation;
|
|
1800
|
+
list: ((input: OrganizationPrincipalGrantsListInput) => Promise<OrganizationPrincipalGrantsListOutput>) & Operation;
|
|
1801
|
+
revoke: ((input: OrganizationPrincipalGrantsRevokeInput) => Promise<OrganizationPrincipalGrantsRevokeOutput>) & Operation;
|
|
1802
|
+
};
|
|
1792
1803
|
product: {
|
|
1793
1804
|
create: ((input: OrganizationProductCreateInput) => Promise<OrganizationProductCreateOutput>) & Operation;
|
|
1794
1805
|
list: ((input: OrganizationProductListInput) => Promise<OrganizationProductListOutput>) & Operation;
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -359,6 +359,9 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
359
359
|
'organization_member_unshare-product': 'admin',
|
|
360
360
|
'organization_members_assign-role': 'admin',
|
|
361
361
|
'organization_permission_catalog': 'read',
|
|
362
|
+
'organization_principal-grants_approve': 'write',
|
|
363
|
+
'organization_principal-grants_list': 'read',
|
|
364
|
+
'organization_principal-grants_revoke': 'admin',
|
|
362
365
|
'organization_product_create': 'write',
|
|
363
366
|
'organization_product_list': 'read',
|
|
364
367
|
'organization_product_list-access': 'read',
|
|
@@ -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, 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, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, 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, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
|
|
3
|
+
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, 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, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, 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, OrganizationPrincipalGrantsApproveInput, OrganizationPrincipalGrantsApproveOutput, OrganizationPrincipalGrantsListInput, OrganizationPrincipalGrantsListOutput, OrganizationPrincipalGrantsRevokeInput, OrganizationPrincipalGrantsRevokeOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
|
|
@@ -76,6 +76,10 @@ import type {
|
|
|
76
76
|
OrganizationMembersAssignRoleInput,
|
|
77
77
|
OrganizationPermissionCatalogInput,
|
|
78
78
|
OrganizationPermissionCatalogOutput,
|
|
79
|
+
OrganizationPrincipalGrantsApproveInput,
|
|
80
|
+
OrganizationPrincipalGrantsListInput,
|
|
81
|
+
OrganizationPrincipalGrantsListOutput,
|
|
82
|
+
OrganizationPrincipalGrantsRevokeInput,
|
|
79
83
|
OrganizationProductCreateInput,
|
|
80
84
|
OrganizationProductListAccessInput,
|
|
81
85
|
OrganizationProductListAccessOutput,
|
|
@@ -393,6 +397,21 @@ export const organizationPermissionCatalogQueryOptions = (sdk: GeneratedClient,
|
|
|
393
397
|
queryFn: () => sdk['organization']['permission']['catalog'](input),
|
|
394
398
|
});
|
|
395
399
|
|
|
400
|
+
export const organizationPrincipalGrantsApproveMutationOptions = (sdk: GeneratedClient) => ({
|
|
401
|
+
mutationKey: ['organization', 'principal-grants', 'approve'],
|
|
402
|
+
mutationFn: (input: OrganizationPrincipalGrantsApproveInput) => sdk['organization']['principal-grants']['approve'](input),
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
export const organizationPrincipalGrantsListQueryOptions = (sdk: GeneratedClient, input: OrganizationPrincipalGrantsListInput) => ({
|
|
406
|
+
queryKey: ['organization', 'principal-grants', 'list', input] as const,
|
|
407
|
+
queryFn: () => sdk['organization']['principal-grants']['list'](input),
|
|
408
|
+
});
|
|
409
|
+
|
|
410
|
+
export const organizationPrincipalGrantsRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
411
|
+
mutationKey: ['organization', 'principal-grants', 'revoke'],
|
|
412
|
+
mutationFn: (input: OrganizationPrincipalGrantsRevokeInput) => sdk['organization']['principal-grants']['revoke'](input),
|
|
413
|
+
});
|
|
414
|
+
|
|
396
415
|
export const organizationProductCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
397
416
|
mutationKey: ['organization', 'product', 'create'],
|
|
398
417
|
mutationFn: (input: OrganizationProductCreateInput) => sdk['organization']['product']['create'](input),
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -85220,6 +85220,83 @@ display_name: string
|
|
|
85220
85220
|
}[]
|
|
85221
85221
|
}
|
|
85222
85222
|
|
|
85223
|
+
export interface OrganizationPrincipalGrantsApproveInput {
|
|
85224
|
+
/**
|
|
85225
|
+
* @minItems 1
|
|
85226
|
+
* @maxItems 200
|
|
85227
|
+
*/
|
|
85228
|
+
tools: [string, ...(string)[]]
|
|
85229
|
+
productId: string
|
|
85230
|
+
principalId: string
|
|
85231
|
+
principalKind: "workflow"
|
|
85232
|
+
}
|
|
85233
|
+
|
|
85234
|
+
export interface OrganizationPrincipalGrantsApproveOutput {
|
|
85235
|
+
grants: {
|
|
85236
|
+
reason: (string | null)
|
|
85237
|
+
status: string
|
|
85238
|
+
sponsor: ({
|
|
85239
|
+
userId: (string | null)
|
|
85240
|
+
memberId: string
|
|
85241
|
+
} | null)
|
|
85242
|
+
toolKey: string
|
|
85243
|
+
approvedAt: (string | null)
|
|
85244
|
+
}[]
|
|
85245
|
+
pending: string[]
|
|
85246
|
+
effective: string[]
|
|
85247
|
+
productId: string
|
|
85248
|
+
principalId: string
|
|
85249
|
+
needsSponsor: string[]
|
|
85250
|
+
principalKind: "workflow"
|
|
85251
|
+
notSponsorable: string[]
|
|
85252
|
+
}
|
|
85253
|
+
|
|
85254
|
+
export interface OrganizationPrincipalGrantsListInput {
|
|
85255
|
+
productId: string
|
|
85256
|
+
principalKind?: "workflow"
|
|
85257
|
+
}
|
|
85258
|
+
|
|
85259
|
+
export interface OrganizationPrincipalGrantsListOutput {
|
|
85260
|
+
principals: {
|
|
85261
|
+
pending: string[]
|
|
85262
|
+
effective: string[]
|
|
85263
|
+
principalId: string
|
|
85264
|
+
needsSponsor: string[]
|
|
85265
|
+
principalKind: "workflow"
|
|
85266
|
+
}[]
|
|
85267
|
+
}
|
|
85268
|
+
|
|
85269
|
+
export interface OrganizationPrincipalGrantsRevokeInput {
|
|
85270
|
+
/**
|
|
85271
|
+
* @minItems 1
|
|
85272
|
+
* @maxItems 200
|
|
85273
|
+
*/
|
|
85274
|
+
tools?: [string, ...(string)[]]
|
|
85275
|
+
reason?: string
|
|
85276
|
+
productId: string
|
|
85277
|
+
principalId: string
|
|
85278
|
+
principalKind: "workflow"
|
|
85279
|
+
}
|
|
85280
|
+
|
|
85281
|
+
export interface OrganizationPrincipalGrantsRevokeOutput {
|
|
85282
|
+
grants: {
|
|
85283
|
+
reason: (string | null)
|
|
85284
|
+
status: string
|
|
85285
|
+
sponsor: ({
|
|
85286
|
+
userId: (string | null)
|
|
85287
|
+
memberId: string
|
|
85288
|
+
} | null)
|
|
85289
|
+
toolKey: string
|
|
85290
|
+
approvedAt: (string | null)
|
|
85291
|
+
}[]
|
|
85292
|
+
pending: string[]
|
|
85293
|
+
effective: string[]
|
|
85294
|
+
productId: string
|
|
85295
|
+
principalId: string
|
|
85296
|
+
needsSponsor: string[]
|
|
85297
|
+
principalKind: "workflow"
|
|
85298
|
+
}
|
|
85299
|
+
|
|
85223
85300
|
export interface OrganizationProductCreateInput {
|
|
85224
85301
|
name: string
|
|
85225
85302
|
region?: "eu"
|