@abyss-project/main 1.0.109 → 1.0.111
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/api/billing-account.admin.api.d.ts +10 -0
- package/dist/api/billing-account.admin.api.js +38 -0
- package/dist/api/billing-addon-template.admin.api.d.ts +7 -0
- package/dist/api/billing-addon-template.admin.api.js +26 -0
- package/dist/api/billing-plan.admin.api.d.ts +6 -0
- package/dist/api/billing-plan.admin.api.js +20 -0
- package/dist/api/billing-plan.api.d.ts +4 -0
- package/dist/api/billing-plan.api.js +12 -0
- package/dist/api/index.d.ts +10 -4
- package/dist/api/index.js +10 -4
- package/dist/api/organization-billing.api.d.ts +17 -0
- package/dist/api/organization-billing.api.js +64 -0
- package/dist/api/organization-member.api.d.ts +12 -0
- package/dist/api/organization-member.api.js +44 -0
- package/dist/api/organization.api.d.ts +3 -2
- package/dist/api/organization.api.js +5 -1
- package/dist/api/project-access.admin.api.d.ts +1 -3
- package/dist/api/project-access.admin.api.js +1 -9
- package/dist/api/project-access.api.d.ts +5 -3
- package/dist/api/project-access.api.js +17 -9
- package/dist/api/project-api-key.api.d.ts +8 -0
- package/dist/api/project-api-key.api.js +29 -0
- package/dist/api/project.api.d.ts +1 -5
- package/dist/api/project.api.js +1 -17
- package/dist/api/team.api.d.ts +14 -0
- package/dist/api/team.api.js +52 -0
- package/dist/api/user-billing.api.d.ts +11 -0
- package/dist/api/user-billing.api.js +40 -0
- package/dist/api/user.api.d.ts +1 -4
- package/dist/api/user.api.js +1 -16
- package/dist/index.d.ts +1 -37
- package/dist/index.js +1 -37
- package/dist/permissions/ability.d.ts +12 -0
- package/dist/permissions/ability.js +134 -0
- package/dist/permissions/index.d.ts +1 -0
- package/dist/{workflow → permissions}/index.js +1 -1
- package/dist/types/enum/abyss-application-event.enum.d.ts +18 -1
- package/dist/types/enum/abyss-application-event.enum.js +17 -0
- package/dist/types/enum/index.d.ts +2 -4
- package/dist/types/enum/index.js +2 -4
- package/dist/types/enum/onboarding-steps.enum.d.ts +5 -3
- package/dist/types/enum/onboarding-steps.enum.js +5 -3
- package/dist/types/enum/organization-billing.enum.d.ts +70 -0
- package/dist/types/enum/organization-billing.enum.js +82 -0
- package/dist/types/enum/organization-permission.enum.d.ts +13 -1
- package/dist/types/enum/organization-permission.enum.js +40 -2
- package/dist/types/enum/user-type.enum.d.ts +1 -0
- package/dist/types/enum/user-type.enum.js +1 -0
- package/dist/types/interface/api/index.d.ts +17 -8
- package/dist/types/interface/api/index.js +17 -8
- package/dist/types/interface/api/requests/billing-account.admin.request.d.ts +53 -0
- package/dist/types/interface/api/requests/billing-addon-template.request.d.ts +32 -0
- package/dist/types/interface/api/requests/billing-plan.request.d.ts +37 -0
- package/dist/types/interface/api/requests/organization-billing.request.d.ts +95 -0
- package/dist/types/interface/api/requests/organization-member.request.d.ts +38 -0
- package/dist/types/interface/api/requests/organization.request.d.ts +10 -0
- package/dist/types/interface/api/requests/project-access.admin.request.d.ts +1 -20
- package/dist/types/interface/api/requests/project-access.request.d.ts +16 -20
- package/dist/types/interface/api/requests/project-api-key.request.d.ts +39 -0
- package/dist/types/interface/api/requests/project.request.d.ts +2 -23
- package/dist/types/interface/api/requests/team.request.d.ts +72 -0
- package/dist/types/interface/api/requests/user-billing.request.d.ts +23 -0
- package/dist/types/interface/api/requests/user.request.d.ts +2 -8
- package/dist/types/interface/api/responses/billing-account.admin.response.d.ts +38 -0
- package/dist/types/interface/api/responses/billing-addon-template.response.d.ts +22 -0
- package/dist/types/interface/api/responses/billing-plan.response.d.ts +26 -0
- package/dist/types/interface/api/responses/gift-code.admin.response.d.ts +0 -1
- package/dist/types/interface/api/responses/gift-code.response.d.ts +0 -1
- package/dist/types/interface/api/responses/organization-billing.response.d.ts +82 -0
- package/dist/types/interface/api/responses/organization-member.response.d.ts +42 -0
- package/dist/types/interface/api/responses/organization-member.response.js +2 -0
- package/dist/types/interface/api/responses/project-access.admin.response.d.ts +0 -8
- package/dist/types/interface/api/responses/project-access.response.d.ts +16 -8
- package/dist/types/interface/api/responses/project-api-key.response.d.ts +26 -0
- package/dist/types/interface/api/responses/project-api-key.response.js +2 -0
- package/dist/types/interface/api/responses/project.response.d.ts +0 -14
- package/dist/types/interface/api/responses/report.public.response.d.ts +0 -1
- package/dist/types/interface/api/responses/team.response.d.ts +52 -0
- package/dist/types/interface/api/responses/team.response.js +2 -0
- package/dist/types/interface/api/responses/user-billing.response.d.ts +45 -0
- package/dist/types/interface/api/responses/user-billing.response.js +2 -0
- package/dist/types/interface/index.d.ts +17 -3
- package/dist/types/interface/index.js +17 -3
- package/dist/types/interface/models/application.model.d.ts +1 -1
- package/dist/types/interface/models/atlas-group.model.d.ts +2 -2
- package/dist/types/interface/models/atlas-page.model.d.ts +2 -2
- package/dist/types/interface/models/atlas.model.d.ts +8 -5
- package/dist/types/interface/models/billing-account.model.d.ts +40 -0
- package/dist/types/interface/models/billing-account.model.js +2 -0
- package/dist/types/interface/models/billing-addon-template.model.d.ts +15 -0
- package/dist/types/interface/models/billing-addon-template.model.js +2 -0
- package/dist/types/interface/models/board-card-checklist.model.d.ts +1 -1
- package/dist/types/interface/models/board-card.model.d.ts +6 -6
- package/dist/types/interface/models/board-column.model.d.ts +1 -1
- package/dist/types/interface/models/board.model.d.ts +7 -4
- package/dist/types/interface/models/credit-transaction.model.d.ts +22 -0
- package/dist/types/interface/models/credit-transaction.model.js +2 -0
- package/dist/types/interface/models/draw.model.d.ts +3 -0
- package/dist/types/interface/models/gift-code-activation.model.d.ts +4 -3
- package/dist/types/interface/models/gift-code.model.d.ts +1 -1
- package/dist/types/interface/models/invoice.model.d.ts +26 -0
- package/dist/types/interface/models/invoice.model.js +2 -0
- package/dist/types/interface/models/memo.model.d.ts +3 -0
- package/dist/types/interface/models/organization-billing.model.d.ts +37 -0
- package/dist/types/interface/models/organization-billing.model.js +2 -0
- package/dist/types/interface/models/organization-member.model.d.ts +5 -4
- package/dist/types/interface/models/organization-project-quota.model.d.ts +15 -0
- package/dist/types/interface/models/organization-project-quota.model.js +2 -0
- package/dist/types/interface/models/organization-quota-alert.model.d.ts +11 -0
- package/dist/types/interface/models/organization-quota-alert.model.js +2 -0
- package/dist/types/interface/models/organization-service-quota.model.d.ts +13 -0
- package/dist/types/interface/models/organization-service-quota.model.js +2 -0
- package/dist/types/interface/models/organization.model.d.ts +13 -0
- package/dist/types/interface/models/plan-template.model.d.ts +29 -0
- package/dist/types/interface/models/plan-template.model.js +2 -0
- package/dist/types/interface/models/project-access.model.d.ts +5 -6
- package/dist/types/interface/models/project-api-key-application-access.model.d.ts +13 -0
- package/dist/types/interface/models/project-api-key-application-access.model.js +2 -0
- package/dist/types/interface/models/project-api-key.model.d.ts +15 -0
- package/dist/types/interface/models/project-api-key.model.js +2 -0
- package/dist/types/interface/models/project.model.d.ts +8 -12
- package/dist/types/interface/models/quota-grant.model.d.ts +20 -0
- package/dist/types/interface/models/quota-grant.model.js +2 -0
- package/dist/types/interface/models/retrospective.model.d.ts +6 -3
- package/dist/types/interface/models/short-link.model.d.ts +4 -1
- package/dist/types/interface/models/team-member.model.d.ts +11 -0
- package/dist/types/interface/models/team-member.model.js +2 -0
- package/dist/types/interface/models/team-project-access.model.d.ts +15 -0
- package/dist/types/interface/models/team-project-access.model.js +2 -0
- package/dist/types/interface/models/team-project-application-access.model.d.ts +13 -0
- package/dist/types/interface/models/team-project-application-access.model.js +2 -0
- package/dist/types/interface/models/team.model.d.ts +19 -0
- package/dist/types/interface/models/team.model.js +2 -0
- package/dist/types/interface/models/token-history.model.d.ts +9 -1
- package/dist/types/interface/models/usage-record.model.d.ts +24 -0
- package/dist/types/interface/models/usage-record.model.js +2 -0
- package/dist/types/interface/models/user-ticket-message.model.d.ts +1 -1
- package/dist/types/interface/models/user-ticket.model.d.ts +1 -1
- package/dist/types/interface/models/user.model.d.ts +16 -18
- package/dist/types/utils/onboarding.utils.d.ts +1 -6
- package/dist/types/utils/onboarding.utils.js +9 -5
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -1
- package/package.json +2 -1
- package/dist/api/user-credit-purchase.admin.api.d.ts +0 -7
- package/dist/api/user-credit-purchase.admin.api.js +0 -28
- package/dist/api/user-credit-purchase.api.d.ts +0 -3
- package/dist/api/user-credit-purchase.api.js +0 -14
- package/dist/api/user-transaction.admin.api.d.ts +0 -5
- package/dist/api/user-transaction.admin.api.js +0 -20
- package/dist/api/user-transaction.api.d.ts +0 -3
- package/dist/api/user-transaction.api.js +0 -14
- package/dist/expressions/index.d.ts +0 -5
- package/dist/expressions/index.js +0 -16
- package/dist/expressions/mapper.d.ts +0 -9
- package/dist/expressions/mapper.js +0 -90
- package/dist/expressions/parser.d.ts +0 -3
- package/dist/expressions/parser.js +0 -97
- package/dist/expressions/resolver.d.ts +0 -12
- package/dist/expressions/resolver.js +0 -88
- package/dist/expressions/types.d.ts +0 -36
- package/dist/types/enum/integration-type.enum.d.ts +0 -4
- package/dist/types/enum/integration-type.enum.js +0 -8
- package/dist/types/enum/invoice-status.enum.d.ts +0 -7
- package/dist/types/enum/invoice-status.enum.js +0 -11
- package/dist/types/enum/organization-role.enum.d.ts +0 -6
- package/dist/types/enum/organization-role.enum.js +0 -10
- package/dist/types/enum/organization-subscription-status.enum.d.ts +0 -7
- package/dist/types/enum/organization-subscription-status.enum.js +0 -11
- package/dist/types/enum/plan-billing-period.enum.d.ts +0 -4
- package/dist/types/enum/plan-billing-period.enum.js +0 -8
- package/dist/types/enum/plan-status.enum.d.ts +0 -4
- package/dist/types/enum/plan-status.enum.js +0 -8
- package/dist/types/enum/subscription-level.enum.d.ts +0 -72
- package/dist/types/enum/subscription-level.enum.js +0 -179
- package/dist/types/enum/usage-record-type.enum.d.ts +0 -8
- package/dist/types/enum/usage-record-type.enum.js +0 -12
- package/dist/types/enum/user-credit-purchase-payment-method.enum.d.ts +0 -3
- package/dist/types/enum/user-credit-purchase-payment-method.enum.js +0 -7
- package/dist/types/enum/user-credit-purchase-platform.enum.d.ts +0 -8
- package/dist/types/enum/user-credit-purchase-platform.enum.js +0 -12
- package/dist/types/enum/user-transaction-type.enum.d.ts +0 -14
- package/dist/types/enum/user-transaction-type.enum.js +0 -18
- package/dist/types/interface/api/requests/user-credit-purchase.admin.request.d.ts +0 -42
- package/dist/types/interface/api/requests/user-credit-purchase.request.d.ts +0 -9
- package/dist/types/interface/api/requests/user-transaction.admin.request.d.ts +0 -30
- package/dist/types/interface/api/requests/user-transaction.request.d.ts +0 -8
- package/dist/types/interface/api/responses/user-credit-purchase.admin.response.d.ts +0 -22
- package/dist/types/interface/api/responses/user-credit-purchase.response.d.ts +0 -8
- package/dist/types/interface/api/responses/user-transaction.admin.response.d.ts +0 -13
- package/dist/types/interface/api/responses/user-transaction.response.d.ts +0 -11
- package/dist/types/interface/models/subscription.model.d.ts +0 -16
- package/dist/types/interface/models/user-credit-purchase.model.d.ts +0 -22
- package/dist/types/interface/models/user-transaction.model.d.ts +0 -19
- package/dist/utils/organization-permission.utils.d.ts +0 -3
- package/dist/utils/organization-permission.utils.js +0 -36
- package/dist/utils/subscription.utils.d.ts +0 -6
- package/dist/utils/subscription.utils.js +0 -41
- package/dist/workflow/expression/expression-functions.utils.d.ts +0 -6
- package/dist/workflow/expression/expression-functions.utils.js +0 -61
- package/dist/workflow/expression/expression-mapper.d.ts +0 -11
- package/dist/workflow/expression/expression-mapper.js +0 -32
- package/dist/workflow/expression/expression-mapping.utils.d.ts +0 -4
- package/dist/workflow/expression/expression-mapping.utils.js +0 -43
- package/dist/workflow/expression/expression-resolver.utils.d.ts +0 -3
- package/dist/workflow/expression/expression-resolver.utils.js +0 -54
- package/dist/workflow/expression/expression-tokenizer.utils.d.ts +0 -4
- package/dist/workflow/expression/expression-tokenizer.utils.js +0 -123
- package/dist/workflow/expression/expression.types.d.ts +0 -33
- package/dist/workflow/expression/expression.types.js +0 -17
- package/dist/workflow/expression/index.d.ts +0 -10
- package/dist/workflow/expression/index.js +0 -40
- package/dist/workflow/expression/workflow-resolver.d.ts +0 -9
- package/dist/workflow/expression/workflow-resolver.js +0 -102
- package/dist/workflow/expressions/functions/array.d.ts +0 -2
- package/dist/workflow/expressions/functions/array.js +0 -252
- package/dist/workflow/expressions/functions/crypto.d.ts +0 -2
- package/dist/workflow/expressions/functions/crypto.js +0 -101
- package/dist/workflow/expressions/functions/datetime.d.ts +0 -2
- package/dist/workflow/expressions/functions/datetime.js +0 -256
- package/dist/workflow/expressions/functions/index.d.ts +0 -7
- package/dist/workflow/expressions/functions/index.js +0 -46
- package/dist/workflow/expressions/functions/math.d.ts +0 -2
- package/dist/workflow/expressions/functions/math.js +0 -174
- package/dist/workflow/expressions/functions/string.d.ts +0 -2
- package/dist/workflow/expressions/functions/string.js +0 -301
- package/dist/workflow/expressions/functions/utility.d.ts +0 -2
- package/dist/workflow/expressions/functions/utility.js +0 -230
- package/dist/workflow/expressions/helpers.d.ts +0 -26
- package/dist/workflow/expressions/helpers.js +0 -132
- package/dist/workflow/expressions/index.d.ts +0 -15
- package/dist/workflow/expressions/index.js +0 -61
- package/dist/workflow/expressions/parser.d.ts +0 -8
- package/dist/workflow/expressions/parser.js +0 -436
- package/dist/workflow/expressions/pipes/array-pipes.d.ts +0 -2
- package/dist/workflow/expressions/pipes/array-pipes.js +0 -248
- package/dist/workflow/expressions/pipes/index.d.ts +0 -8
- package/dist/workflow/expressions/pipes/index.js +0 -40
- package/dist/workflow/expressions/pipes/object-pipes.d.ts +0 -2
- package/dist/workflow/expressions/pipes/object-pipes.js +0 -243
- package/dist/workflow/expressions/pipes/string-pipes.d.ts +0 -9
- package/dist/workflow/expressions/pipes/string-pipes.js +0 -178
- package/dist/workflow/expressions/resolver.d.ts +0 -8
- package/dist/workflow/expressions/resolver.js +0 -263
- package/dist/workflow/expressions/types.d.ts +0 -144
- package/dist/workflow/expressions/types.js +0 -33
- package/dist/workflow/index.d.ts +0 -1
- /package/dist/{expressions/types.js → types/interface/api/requests/billing-account.admin.request.js} +0 -0
- /package/dist/types/interface/api/requests/{user-credit-purchase.admin.request.js → billing-addon-template.request.js} +0 -0
- /package/dist/types/interface/api/requests/{user-credit-purchase.request.js → billing-plan.request.js} +0 -0
- /package/dist/types/interface/api/requests/{user-transaction.admin.request.js → organization-billing.request.js} +0 -0
- /package/dist/types/interface/api/requests/{user-transaction.request.js → organization-member.request.js} +0 -0
- /package/dist/types/interface/api/{responses/user-credit-purchase.admin.response.js → requests/project-api-key.request.js} +0 -0
- /package/dist/types/interface/api/{responses/user-credit-purchase.response.js → requests/team.request.js} +0 -0
- /package/dist/types/interface/api/{responses/user-transaction.admin.response.js → requests/user-billing.request.js} +0 -0
- /package/dist/types/interface/api/responses/{user-transaction.response.js → billing-account.admin.response.js} +0 -0
- /package/dist/types/interface/{models/subscription.model.js → api/responses/billing-addon-template.response.js} +0 -0
- /package/dist/types/interface/{models/user-credit-purchase.model.js → api/responses/billing-plan.response.js} +0 -0
- /package/dist/types/interface/{models/user-transaction.model.js → api/responses/organization-billing.response.js} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { OrganizationPermission } from '../../../enum';
|
|
2
|
+
export interface IInviteOrganizationMemberParams {
|
|
3
|
+
organizationId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IInviteOrganizationMemberBody {
|
|
6
|
+
email: string;
|
|
7
|
+
permissions: OrganizationPermission[];
|
|
8
|
+
teamIds?: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface IListOrganizationMemberParams {
|
|
11
|
+
organizationId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IUpdateOrganizationMemberParams {
|
|
14
|
+
organizationId: string;
|
|
15
|
+
memberId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IUpdateOrganizationMemberBody {
|
|
18
|
+
permissions: OrganizationPermission[];
|
|
19
|
+
}
|
|
20
|
+
export interface IRemoveOrganizationMemberParams {
|
|
21
|
+
organizationId: string;
|
|
22
|
+
memberId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IAcceptOrganizationMemberInvitationParams {
|
|
25
|
+
memberId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface IDeclineOrganizationMemberInvitationParams {
|
|
28
|
+
memberId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ITransferOwnershipOrganizationMemberParams {
|
|
31
|
+
organizationId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ITransferOwnershipOrganizationMemberBody {
|
|
34
|
+
targetMemberId: string;
|
|
35
|
+
}
|
|
36
|
+
export interface IListMePermissionsOrganizationMemberParams {
|
|
37
|
+
organizationId: string;
|
|
38
|
+
}
|
|
@@ -3,6 +3,11 @@ import { OrganizationIntegrationConfig } from '../../models/organization-integra
|
|
|
3
3
|
export interface ICreateOrganizationBody {
|
|
4
4
|
name: string;
|
|
5
5
|
description?: string | null;
|
|
6
|
+
companyName?: string | null;
|
|
7
|
+
companySiren?: string | null;
|
|
8
|
+
companyCreationDate?: string | null;
|
|
9
|
+
companyWebsite?: string | null;
|
|
10
|
+
companyRole?: string | null;
|
|
6
11
|
}
|
|
7
12
|
export interface IGetOrganizationParams {
|
|
8
13
|
organizationId: string;
|
|
@@ -13,6 +18,11 @@ export interface IUpdateOrganizationParams {
|
|
|
13
18
|
export interface IUpdateOrganizationBody {
|
|
14
19
|
name?: string;
|
|
15
20
|
description?: string | null;
|
|
21
|
+
companyName?: string | null;
|
|
22
|
+
companySiren?: string | null;
|
|
23
|
+
companyCreationDate?: string | null;
|
|
24
|
+
companyWebsite?: string | null;
|
|
25
|
+
companyRole?: string | null;
|
|
16
26
|
}
|
|
17
27
|
export interface IDeleteOrganizationParams {
|
|
18
28
|
organizationId: string;
|
|
@@ -13,18 +13,6 @@ export type ICreateUserProjectAccessAdminBody = {
|
|
|
13
13
|
permission: ProjectApplicationAccessPermission[];
|
|
14
14
|
}[];
|
|
15
15
|
};
|
|
16
|
-
export interface ICreateProjectAccessAdminParams {
|
|
17
|
-
projectId: string;
|
|
18
|
-
}
|
|
19
|
-
export type ICreateProjectAccessAdminBody = {
|
|
20
|
-
name: string;
|
|
21
|
-
description?: string | null;
|
|
22
|
-
permission: ProjectAccessPermission[];
|
|
23
|
-
projectApplicationAccess: {
|
|
24
|
-
applicationId: string;
|
|
25
|
-
permission: ProjectApplicationAccessPermission[];
|
|
26
|
-
}[];
|
|
27
|
-
};
|
|
28
16
|
export interface IUpdateProjectAccessAdminParams {
|
|
29
17
|
projectAccessId: string;
|
|
30
18
|
}
|
|
@@ -44,9 +32,6 @@ export interface IDeleteApplicationProjectAccessAdminParams {
|
|
|
44
32
|
projectAccessId: string;
|
|
45
33
|
applicationId: string;
|
|
46
34
|
}
|
|
47
|
-
export interface IResetApiKeyProjectAccessAdminParams {
|
|
48
|
-
projectAccessId: string;
|
|
49
|
-
}
|
|
50
35
|
export interface IDeleteProjectAccessAdminParams {
|
|
51
36
|
projectAccessId: string;
|
|
52
37
|
}
|
|
@@ -54,15 +39,13 @@ export interface IGetProjectAccessAdminParams {
|
|
|
54
39
|
projectAccessId: string;
|
|
55
40
|
}
|
|
56
41
|
export type IPaginateProjectAccessAdminQuery = {
|
|
57
|
-
|
|
42
|
+
organizationMemberId?: string[];
|
|
58
43
|
projectId?: string[];
|
|
59
44
|
} & QueryPaginate;
|
|
60
45
|
export interface IComputeApplicationProjectAccessAdminParams {
|
|
61
46
|
applicationId: string;
|
|
62
47
|
}
|
|
63
48
|
export type IComputeApplicationProjectAccessAdminBody = {
|
|
64
|
-
apiKey: string;
|
|
65
|
-
} | {
|
|
66
49
|
userId: string;
|
|
67
50
|
};
|
|
68
51
|
export type IComputeNotificationAccessProjectAccessAdminBody = {
|
|
@@ -84,8 +67,6 @@ export interface IComputeProjectAccessAdminParams {
|
|
|
84
67
|
projectId: string;
|
|
85
68
|
}
|
|
86
69
|
export type IComputeProjectAccessAdminBody = {
|
|
87
|
-
apiKey: string;
|
|
88
|
-
} | {
|
|
89
70
|
userId: string;
|
|
90
71
|
};
|
|
91
72
|
export interface IListMembersProjectAccessAdminParams {
|
|
@@ -9,10 +9,7 @@ export type IPaginateUserAccessProjectAccessQuery = QueryPaginate;
|
|
|
9
9
|
export interface IPaginateProjectAccessParams {
|
|
10
10
|
projectId: string;
|
|
11
11
|
}
|
|
12
|
-
export type IPaginateProjectAccessQuery =
|
|
13
|
-
onlyUserAccess?: boolean;
|
|
14
|
-
onlyApiKeyAccess?: boolean;
|
|
15
|
-
} & QueryPaginate;
|
|
12
|
+
export type IPaginateProjectAccessQuery = QueryPaginate;
|
|
16
13
|
export interface ICreateUserProjectAccessParams {
|
|
17
14
|
projectId: string;
|
|
18
15
|
userId: string;
|
|
@@ -25,18 +22,7 @@ export type ICreateUserProjectAccessBody = {
|
|
|
25
22
|
applicationId: string;
|
|
26
23
|
permission: ProjectApplicationAccessPermission[];
|
|
27
24
|
}[];
|
|
28
|
-
|
|
29
|
-
export interface ICreateProjectAccessParams {
|
|
30
|
-
projectId: string;
|
|
31
|
-
}
|
|
32
|
-
export type ICreateProjectAccessBody = {
|
|
33
|
-
name: string;
|
|
34
|
-
description?: string | null;
|
|
35
|
-
permission: ProjectAccessPermission[];
|
|
36
|
-
projectApplicationAccess: {
|
|
37
|
-
applicationId: string;
|
|
38
|
-
permission: ProjectApplicationAccessPermission[];
|
|
39
|
-
}[];
|
|
25
|
+
teamIds?: string[];
|
|
40
26
|
};
|
|
41
27
|
export interface IUpdateProjectAccessParams {
|
|
42
28
|
projectId: string;
|
|
@@ -60,10 +46,6 @@ export interface IDeleteApplicationProjectAccessParams {
|
|
|
60
46
|
projectAccessId: string;
|
|
61
47
|
applicationId: string;
|
|
62
48
|
}
|
|
63
|
-
export interface IResetApiKeyProjectAccessParams {
|
|
64
|
-
projectId: string;
|
|
65
|
-
projectAccessId: string;
|
|
66
|
-
}
|
|
67
49
|
export interface IDeleteProjectAccessParams {
|
|
68
50
|
projectId: string;
|
|
69
51
|
projectAccessId: string;
|
|
@@ -86,3 +68,17 @@ export interface IListMembersProjectAccessParams {
|
|
|
86
68
|
export interface IListMembersProjectAccessQuery {
|
|
87
69
|
search?: string;
|
|
88
70
|
}
|
|
71
|
+
export interface IListMePermissionsProjectAccessParams {
|
|
72
|
+
projectId: string;
|
|
73
|
+
}
|
|
74
|
+
export interface IListMeApplicationPermissionsProjectAccessParams {
|
|
75
|
+
projectId: string;
|
|
76
|
+
applicationId: string;
|
|
77
|
+
}
|
|
78
|
+
export interface IListMeApiKeyPermissionsProjectAccessParams {
|
|
79
|
+
projectId: string;
|
|
80
|
+
}
|
|
81
|
+
export interface IListMeApiKeyApplicationPermissionsProjectAccessParams {
|
|
82
|
+
projectId: string;
|
|
83
|
+
applicationId: string;
|
|
84
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ProjectAccessPermission } from '../../../enum';
|
|
2
|
+
export interface ICreateProjectApiKeyParams {
|
|
3
|
+
organizationId: string;
|
|
4
|
+
projectId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ICreateProjectApiKeyBody {
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
permission: ProjectAccessPermission[];
|
|
10
|
+
}
|
|
11
|
+
export interface IGetProjectApiKeyParams {
|
|
12
|
+
organizationId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
projectApiKeyId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IListProjectApiKeysParams {
|
|
17
|
+
organizationId: string;
|
|
18
|
+
projectId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IUpdateProjectApiKeyParams {
|
|
21
|
+
organizationId: string;
|
|
22
|
+
projectId: string;
|
|
23
|
+
projectApiKeyId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface IUpdateProjectApiKeyBody {
|
|
26
|
+
name?: string;
|
|
27
|
+
description?: string | null;
|
|
28
|
+
permission?: ProjectAccessPermission[];
|
|
29
|
+
}
|
|
30
|
+
export interface IDeleteProjectApiKeyParams {
|
|
31
|
+
organizationId: string;
|
|
32
|
+
projectId: string;
|
|
33
|
+
projectApiKeyId: string;
|
|
34
|
+
}
|
|
35
|
+
export interface IResetProjectApiKeyParams {
|
|
36
|
+
organizationId: string;
|
|
37
|
+
projectId: string;
|
|
38
|
+
projectApiKeyId: string;
|
|
39
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
-
import { ProjectStatus
|
|
2
|
+
import { ProjectStatus } from '../../../enum';
|
|
3
3
|
export interface IGetProjectParams {
|
|
4
4
|
projectId: string;
|
|
5
5
|
}
|
|
@@ -9,15 +9,10 @@ export interface IGetMetricsProjectParams {
|
|
|
9
9
|
export type IPaginateProjectQuery = {
|
|
10
10
|
name?: string;
|
|
11
11
|
} & QueryPaginate;
|
|
12
|
-
export interface IPaginateTransactionProjectParams {
|
|
13
|
-
projectId: string;
|
|
14
|
-
}
|
|
15
|
-
export type IPaginateTransactionProjectQuery = {
|
|
16
|
-
type?: UserTransactionType[];
|
|
17
|
-
} & QueryPaginate;
|
|
18
12
|
export type ICreateProjectBody = {
|
|
19
13
|
name: string;
|
|
20
14
|
description?: string | null;
|
|
15
|
+
organizationId?: string;
|
|
21
16
|
};
|
|
22
17
|
export interface IDeleteProjectParams {
|
|
23
18
|
projectId: string;
|
|
@@ -37,22 +32,6 @@ export type IUpdateProjectBody = {
|
|
|
37
32
|
export interface ILeaveProjectParams {
|
|
38
33
|
projectId: string;
|
|
39
34
|
}
|
|
40
|
-
export interface ICreateSubscriptionProjectParams {
|
|
41
|
-
projectId: string;
|
|
42
|
-
}
|
|
43
|
-
export interface ICreateSubscriptionProjectBody {
|
|
44
|
-
level: SubscriptionLevel;
|
|
45
|
-
isAutoRenewEnabled: boolean;
|
|
46
|
-
}
|
|
47
|
-
export interface IUpdateSubscriptionProjectParams {
|
|
48
|
-
projectId: string;
|
|
49
|
-
}
|
|
50
|
-
export interface IUpdateSubscriptionProjectBody {
|
|
51
|
-
isAutoRenewEnabled?: boolean;
|
|
52
|
-
}
|
|
53
|
-
export interface IRenewSubscriptionProjectParams {
|
|
54
|
-
projectId: string;
|
|
55
|
-
}
|
|
56
35
|
export interface ISetOwnershipProjectParams {
|
|
57
36
|
projectId: string;
|
|
58
37
|
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { OrganizationPermission, ProjectAccessPermission } from '../../../enum';
|
|
2
|
+
export interface ICreateTeamParams {
|
|
3
|
+
organizationId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ICreateTeamBody {
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string | null;
|
|
8
|
+
color?: string | null;
|
|
9
|
+
permissions: OrganizationPermission[];
|
|
10
|
+
}
|
|
11
|
+
export interface IGetTeamParams {
|
|
12
|
+
organizationId: string;
|
|
13
|
+
teamId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IListTeamsParams {
|
|
16
|
+
organizationId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IUpdateTeamParams {
|
|
19
|
+
organizationId: string;
|
|
20
|
+
teamId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IUpdateTeamBody {
|
|
23
|
+
name?: string;
|
|
24
|
+
description?: string | null;
|
|
25
|
+
color?: string | null;
|
|
26
|
+
permissions?: OrganizationPermission[];
|
|
27
|
+
}
|
|
28
|
+
export interface IDeleteTeamParams {
|
|
29
|
+
organizationId: string;
|
|
30
|
+
teamId: string;
|
|
31
|
+
}
|
|
32
|
+
export interface IAddTeamMemberParams {
|
|
33
|
+
organizationId: string;
|
|
34
|
+
teamId: string;
|
|
35
|
+
}
|
|
36
|
+
export interface IAddTeamMemberBody {
|
|
37
|
+
organizationMemberId: string;
|
|
38
|
+
}
|
|
39
|
+
export interface IRemoveTeamMemberParams {
|
|
40
|
+
organizationId: string;
|
|
41
|
+
teamId: string;
|
|
42
|
+
teamMemberId: string;
|
|
43
|
+
}
|
|
44
|
+
export interface IListTeamMembersParams {
|
|
45
|
+
organizationId: string;
|
|
46
|
+
teamId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface IAddTeamProjectAccessParams {
|
|
49
|
+
organizationId: string;
|
|
50
|
+
teamId: string;
|
|
51
|
+
}
|
|
52
|
+
export interface IAddTeamProjectAccessBody {
|
|
53
|
+
projectId: string;
|
|
54
|
+
permission: ProjectAccessPermission[];
|
|
55
|
+
}
|
|
56
|
+
export interface IUpdateTeamProjectAccessParams {
|
|
57
|
+
organizationId: string;
|
|
58
|
+
teamId: string;
|
|
59
|
+
teamProjectAccessId: string;
|
|
60
|
+
}
|
|
61
|
+
export interface IUpdateTeamProjectAccessBody {
|
|
62
|
+
permission: ProjectAccessPermission[];
|
|
63
|
+
}
|
|
64
|
+
export interface IRemoveTeamProjectAccessParams {
|
|
65
|
+
organizationId: string;
|
|
66
|
+
teamId: string;
|
|
67
|
+
teamProjectAccessId: string;
|
|
68
|
+
}
|
|
69
|
+
export interface IListTeamProjectAccessParams {
|
|
70
|
+
organizationId: string;
|
|
71
|
+
teamId: string;
|
|
72
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BillingMetric, BillingService } from '../../../enum';
|
|
2
|
+
import { IBillingAddress } from '../../models/billing-account.model';
|
|
3
|
+
export interface IUpdateUserBillingInfoBody {
|
|
4
|
+
billingEmail?: string | null;
|
|
5
|
+
billingName?: string | null;
|
|
6
|
+
billingAddress?: IBillingAddress | null;
|
|
7
|
+
}
|
|
8
|
+
export interface ISubscribeUserPlanBody {
|
|
9
|
+
planTemplateId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ICheckUserQuotaBody {
|
|
12
|
+
service: BillingService;
|
|
13
|
+
metric: BillingMetric;
|
|
14
|
+
}
|
|
15
|
+
export interface IRecordUsageUserParams {
|
|
16
|
+
userId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IRecordUsageUserBody {
|
|
19
|
+
service: BillingService;
|
|
20
|
+
metric: BillingMetric;
|
|
21
|
+
quantity: number;
|
|
22
|
+
projectId?: string;
|
|
23
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MeasurementSystem,
|
|
1
|
+
import { MeasurementSystem, UserCreditPurchaseCurrency, UserLanguage, AbyssService } from '../../../enum';
|
|
2
2
|
import { TokenHistoryMetadataUserInvitation } from '../../models/token-history.model';
|
|
3
3
|
import { UserOnboardingStatus } from '../../models/user.model';
|
|
4
4
|
import { QueryPaginate } from '../type-message/base-paginate';
|
|
@@ -29,19 +29,13 @@ export interface IUpdateSettingsUserBody {
|
|
|
29
29
|
onboardingStatus?: UserOnboardingStatus;
|
|
30
30
|
enableSoundNotification?: boolean;
|
|
31
31
|
annualReportEmailEnabled?: boolean;
|
|
32
|
+
dismissNewsletter?: boolean;
|
|
32
33
|
setAbyssConsoleFirstVisitDate?: boolean;
|
|
33
34
|
units?: {
|
|
34
35
|
length?: MeasurementSystem;
|
|
35
36
|
weight?: MeasurementSystem;
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
|
-
export interface ICreateSubscriptionUserBody {
|
|
39
|
-
level: SubscriptionLevel;
|
|
40
|
-
isAutoRenewEnabled: boolean;
|
|
41
|
-
}
|
|
42
|
-
export interface IUpdateSubscriptionUserBody {
|
|
43
|
-
isAutoRenewEnabled?: boolean;
|
|
44
|
-
}
|
|
45
39
|
export interface IImportProfilePictureFromCollectionUserBody {
|
|
46
40
|
source: string;
|
|
47
41
|
elementId: string;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IBillingAccount } from '../../models/billing-account.model';
|
|
2
|
+
import { ICreditTransaction } from '../../models/credit-transaction.model';
|
|
3
|
+
import { IInvoice } from '../../models/invoice.model';
|
|
4
|
+
import { IServiceQuota } from '../../models/organization-service-quota.model';
|
|
5
|
+
import { IResponse } from '../type-message/response';
|
|
6
|
+
export interface IListAccountsAdminBillingData {
|
|
7
|
+
billingAccounts: IBillingAccount[];
|
|
8
|
+
count: number;
|
|
9
|
+
}
|
|
10
|
+
export type IListAccountsAdminBillingResponse = IResponse<IListAccountsAdminBillingData>;
|
|
11
|
+
export interface IGetAccountAdminBillingData {
|
|
12
|
+
billingAccount: IBillingAccount;
|
|
13
|
+
}
|
|
14
|
+
export type IGetAccountAdminBillingResponse = IResponse<IGetAccountAdminBillingData>;
|
|
15
|
+
export interface IUpdateAccountAdminBillingData {
|
|
16
|
+
billingAccount: IBillingAccount;
|
|
17
|
+
}
|
|
18
|
+
export type IUpdateAccountAdminBillingResponse = IResponse<IUpdateAccountAdminBillingData>;
|
|
19
|
+
export interface IOverrideQuotaAdminBillingData {
|
|
20
|
+
quota: IServiceQuota;
|
|
21
|
+
}
|
|
22
|
+
export type IOverrideQuotaAdminBillingResponse = IResponse<IOverrideQuotaAdminBillingData>;
|
|
23
|
+
export interface IRemoveQuotaOverrideAdminBillingData {
|
|
24
|
+
removed: boolean;
|
|
25
|
+
}
|
|
26
|
+
export type IRemoveQuotaOverrideAdminBillingResponse = IResponse<IRemoveQuotaOverrideAdminBillingData>;
|
|
27
|
+
export interface IAdjustCreditAdminBillingData {
|
|
28
|
+
creditTransaction: ICreditTransaction;
|
|
29
|
+
}
|
|
30
|
+
export type IAdjustCreditAdminBillingResponse = IResponse<IAdjustCreditAdminBillingData>;
|
|
31
|
+
export interface IListInvoicesAdminBillingData {
|
|
32
|
+
invoices: IInvoice[];
|
|
33
|
+
}
|
|
34
|
+
export type IListInvoicesAdminBillingResponse = IResponse<IListInvoicesAdminBillingData>;
|
|
35
|
+
export interface IUpdateInvoiceAdminBillingData {
|
|
36
|
+
invoice: IInvoice;
|
|
37
|
+
}
|
|
38
|
+
export type IUpdateInvoiceAdminBillingResponse = IResponse<IUpdateInvoiceAdminBillingData>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IBillingAddonTemplate } from '../../models/billing-addon-template.model';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
export interface IListAddonTemplatesAdminBillingData {
|
|
4
|
+
addonTemplates: IBillingAddonTemplate[];
|
|
5
|
+
}
|
|
6
|
+
export type IListAddonTemplatesAdminBillingResponse = IResponse<IListAddonTemplatesAdminBillingData>;
|
|
7
|
+
export interface IGetAddonTemplateAdminBillingData {
|
|
8
|
+
addonTemplate: IBillingAddonTemplate;
|
|
9
|
+
}
|
|
10
|
+
export type IGetAddonTemplateAdminBillingResponse = IResponse<IGetAddonTemplateAdminBillingData>;
|
|
11
|
+
export interface ICreateAddonTemplateAdminBillingData {
|
|
12
|
+
addonTemplate: IBillingAddonTemplate;
|
|
13
|
+
}
|
|
14
|
+
export type ICreateAddonTemplateAdminBillingResponse = IResponse<ICreateAddonTemplateAdminBillingData>;
|
|
15
|
+
export interface IUpdateAddonTemplateAdminBillingData {
|
|
16
|
+
addonTemplate: IBillingAddonTemplate;
|
|
17
|
+
}
|
|
18
|
+
export type IUpdateAddonTemplateAdminBillingResponse = IResponse<IUpdateAddonTemplateAdminBillingData>;
|
|
19
|
+
export interface IDeleteAddonTemplateAdminBillingData {
|
|
20
|
+
deleted: boolean;
|
|
21
|
+
}
|
|
22
|
+
export type IDeleteAddonTemplateAdminBillingResponse = IResponse<IDeleteAddonTemplateAdminBillingData>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IPlanTemplate } from '../../models/plan-template.model';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
export interface IListPlansBillingData {
|
|
4
|
+
plans: IPlanTemplate[];
|
|
5
|
+
}
|
|
6
|
+
export type IListPlansBillingResponse = IResponse<IListPlansBillingData>;
|
|
7
|
+
export interface IGetPlanBillingData {
|
|
8
|
+
plan: IPlanTemplate;
|
|
9
|
+
}
|
|
10
|
+
export type IGetPlanBillingResponse = IResponse<IGetPlanBillingData>;
|
|
11
|
+
export interface ICreatePlanAdminBillingData {
|
|
12
|
+
plan: IPlanTemplate;
|
|
13
|
+
}
|
|
14
|
+
export type ICreatePlanAdminBillingResponse = IResponse<ICreatePlanAdminBillingData>;
|
|
15
|
+
export interface IUpdatePlanAdminBillingData {
|
|
16
|
+
plan: IPlanTemplate;
|
|
17
|
+
}
|
|
18
|
+
export type IUpdatePlanAdminBillingResponse = IResponse<IUpdatePlanAdminBillingData>;
|
|
19
|
+
export interface IDeletePlanAdminBillingData {
|
|
20
|
+
archived: boolean;
|
|
21
|
+
}
|
|
22
|
+
export type IDeletePlanAdminBillingResponse = IResponse<IDeletePlanAdminBillingData>;
|
|
23
|
+
export interface IListPlansAdminBillingData {
|
|
24
|
+
plans: IPlanTemplate[];
|
|
25
|
+
}
|
|
26
|
+
export type IListPlansAdminBillingResponse = IResponse<IListPlansAdminBillingData>;
|
|
@@ -6,7 +6,6 @@ export type IPaginateGiftCodeAdminResponse = IResponse<BasePaginate<IGiftCode>>;
|
|
|
6
6
|
export type IPaginateGiftCodeActivationAdminResponse = IResponse<BasePaginate<IGiftCodeActivation>>;
|
|
7
7
|
export interface IUseGiftCodeAdminData {
|
|
8
8
|
giftCodeActivation: IGiftCodeActivation;
|
|
9
|
-
balance: number;
|
|
10
9
|
}
|
|
11
10
|
export type IUseGiftCodeAdminResponse = IResponse<IUseGiftCodeAdminData>;
|
|
12
11
|
export interface IGetGiftCodeAdminData {
|
|
@@ -6,7 +6,6 @@ export interface ICheckGiftCodeData {
|
|
|
6
6
|
export type ICheckGiftCodeResponse = IResponse<ICheckGiftCodeData>;
|
|
7
7
|
export interface IUseGiftCodeData {
|
|
8
8
|
giftCodeActivation: IGiftCodeActivation;
|
|
9
|
-
balance: number;
|
|
10
9
|
}
|
|
11
10
|
export type IUseGiftCodeResponse = IResponse<IUseGiftCodeData>;
|
|
12
11
|
export type IPaginateGiftCodeActivationResponse = IResponse<BasePaginate<IGiftCodeActivation>>;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { IBillingAccount } from '../../models/billing-account.model';
|
|
2
|
+
import { ICreditTransaction } from '../../models/credit-transaction.model';
|
|
3
|
+
import { IInvoice } from '../../models/invoice.model';
|
|
4
|
+
import { IProjectQuota } from '../../models/organization-project-quota.model';
|
|
5
|
+
import { IUsageRecord } from '../../models/usage-record.model';
|
|
6
|
+
import { IQuotaGrant } from '../../models/quota-grant.model';
|
|
7
|
+
import { IResponse } from '../type-message/response';
|
|
8
|
+
export interface IGetBillingOrganizationData {
|
|
9
|
+
billingAccount: IBillingAccount;
|
|
10
|
+
}
|
|
11
|
+
export type IGetBillingOrganizationResponse = IResponse<IGetBillingOrganizationData>;
|
|
12
|
+
export interface IGetQuotaOrganizationData {
|
|
13
|
+
grants: IQuotaGrant[];
|
|
14
|
+
currentUsage: IUsageRecord[];
|
|
15
|
+
}
|
|
16
|
+
export type IGetQuotaOrganizationResponse = IResponse<IGetQuotaOrganizationData>;
|
|
17
|
+
export interface IInitBillingOrganizationData {
|
|
18
|
+
billingAccount: IBillingAccount;
|
|
19
|
+
}
|
|
20
|
+
export type IInitBillingOrganizationResponse = IResponse<IInitBillingOrganizationData>;
|
|
21
|
+
export interface IUpdateBillingInfoOrganizationData {
|
|
22
|
+
billingAccount: IBillingAccount;
|
|
23
|
+
}
|
|
24
|
+
export type IUpdateBillingInfoOrganizationResponse = IResponse<IUpdateBillingInfoOrganizationData>;
|
|
25
|
+
export interface ISubscribePlanOrganizationData {
|
|
26
|
+
billingAccount: IBillingAccount;
|
|
27
|
+
}
|
|
28
|
+
export type ISubscribePlanOrganizationResponse = IResponse<ISubscribePlanOrganizationData>;
|
|
29
|
+
export interface IListInvoicesOrganizationData {
|
|
30
|
+
invoices: IInvoice[];
|
|
31
|
+
}
|
|
32
|
+
export type IListInvoicesOrganizationResponse = IResponse<IListInvoicesOrganizationData>;
|
|
33
|
+
export interface IListCreditOrganizationData {
|
|
34
|
+
creditTransactions: ICreditTransaction[];
|
|
35
|
+
}
|
|
36
|
+
export type IListCreditOrganizationResponse = IResponse<IListCreditOrganizationData>;
|
|
37
|
+
export interface ICheckQuotaOrganizationData {
|
|
38
|
+
allowed: boolean;
|
|
39
|
+
current: number;
|
|
40
|
+
limit: number;
|
|
41
|
+
}
|
|
42
|
+
export type ICheckQuotaOrganizationResponse = IResponse<ICheckQuotaOrganizationData>;
|
|
43
|
+
export interface IRecordUsageOrganizationData {
|
|
44
|
+
usageRecord: IUsageRecord;
|
|
45
|
+
}
|
|
46
|
+
export type IRecordUsageOrganizationResponse = IResponse<IRecordUsageOrganizationData>;
|
|
47
|
+
export interface IGetProjectQuotaOrganizationData {
|
|
48
|
+
quotas: IProjectQuota[];
|
|
49
|
+
grants: IQuotaGrant[];
|
|
50
|
+
}
|
|
51
|
+
export type IGetProjectQuotaOrganizationResponse = IResponse<IGetProjectQuotaOrganizationData>;
|
|
52
|
+
export interface IListGrantsOrganizationData {
|
|
53
|
+
grants: IQuotaGrant[];
|
|
54
|
+
}
|
|
55
|
+
export type IListGrantsOrganizationResponse = IResponse<IListGrantsOrganizationData>;
|
|
56
|
+
export interface ICreateGrantOrganizationData {
|
|
57
|
+
grant: IQuotaGrant;
|
|
58
|
+
}
|
|
59
|
+
export type ICreateGrantOrganizationResponse = IResponse<ICreateGrantOrganizationData>;
|
|
60
|
+
export interface IUpdateGrantOrganizationData {
|
|
61
|
+
grant: IQuotaGrant;
|
|
62
|
+
}
|
|
63
|
+
export type IUpdateGrantOrganizationResponse = IResponse<IUpdateGrantOrganizationData>;
|
|
64
|
+
export interface IDeleteGrantOrganizationData {
|
|
65
|
+
deleted: boolean;
|
|
66
|
+
}
|
|
67
|
+
export type IDeleteGrantOrganizationResponse = IResponse<IDeleteGrantOrganizationData>;
|
|
68
|
+
export interface IResolveQuotaOrganizationData {
|
|
69
|
+
effectiveGrants: {
|
|
70
|
+
service: string;
|
|
71
|
+
metric: string;
|
|
72
|
+
totalQuantity: number;
|
|
73
|
+
totalStorage: number | null;
|
|
74
|
+
sources: Array<{
|
|
75
|
+
scope: string;
|
|
76
|
+
teamId: string | null;
|
|
77
|
+
quantityPerRecipient: number;
|
|
78
|
+
sizePerUnit: number | null;
|
|
79
|
+
}>;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export type IResolveQuotaOrganizationResponse = IResponse<IResolveQuotaOrganizationData>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IOrganizationMember } from '../../models/organization-member.model';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
export interface IInviteOrganizationMemberData {
|
|
4
|
+
organizationMember: IOrganizationMember;
|
|
5
|
+
}
|
|
6
|
+
export type IInviteOrganizationMemberResponse = IResponse<IInviteOrganizationMemberData>;
|
|
7
|
+
export interface IListOrganizationMemberData {
|
|
8
|
+
organizationMembers: IOrganizationMember[];
|
|
9
|
+
}
|
|
10
|
+
export type IListOrganizationMemberResponse = IResponse<IListOrganizationMemberData>;
|
|
11
|
+
export interface IUpdateOrganizationMemberData {
|
|
12
|
+
organizationMember: IOrganizationMember;
|
|
13
|
+
}
|
|
14
|
+
export type IUpdateOrganizationMemberResponse = IResponse<IUpdateOrganizationMemberData>;
|
|
15
|
+
export interface IRemoveOrganizationMemberData {
|
|
16
|
+
deleted: boolean;
|
|
17
|
+
}
|
|
18
|
+
export type IRemoveOrganizationMemberResponse = IResponse<IRemoveOrganizationMemberData>;
|
|
19
|
+
export interface IAcceptOrganizationMemberInvitationData {
|
|
20
|
+
organizationMember: IOrganizationMember;
|
|
21
|
+
}
|
|
22
|
+
export type IAcceptOrganizationMemberInvitationResponse = IResponse<IAcceptOrganizationMemberInvitationData>;
|
|
23
|
+
export interface IDeclineOrganizationMemberInvitationData {
|
|
24
|
+
deleted: boolean;
|
|
25
|
+
}
|
|
26
|
+
export type IDeclineOrganizationMemberInvitationResponse = IResponse<IDeclineOrganizationMemberInvitationData>;
|
|
27
|
+
export interface IListMeOrganizationMemberData {
|
|
28
|
+
organizationMembers: IOrganizationMember[];
|
|
29
|
+
}
|
|
30
|
+
export type IListMeOrganizationMemberResponse = IResponse<IListMeOrganizationMemberData>;
|
|
31
|
+
export interface IListPendingOrganizationMemberInvitationData {
|
|
32
|
+
organizationMembers: IOrganizationMember[];
|
|
33
|
+
}
|
|
34
|
+
export type IListPendingOrganizationMemberInvitationResponse = IResponse<IListPendingOrganizationMemberInvitationData>;
|
|
35
|
+
export interface ITransferOwnershipOrganizationMemberData {
|
|
36
|
+
organizationMember: IOrganizationMember;
|
|
37
|
+
}
|
|
38
|
+
export type ITransferOwnershipOrganizationMemberResponse = IResponse<ITransferOwnershipOrganizationMemberData>;
|
|
39
|
+
export interface IListMePermissionsOrganizationMemberData {
|
|
40
|
+
permissions: string[];
|
|
41
|
+
}
|
|
42
|
+
export type IListMePermissionsOrganizationMemberResponse = IResponse<IListMePermissionsOrganizationMemberData>;
|
|
@@ -8,10 +8,6 @@ export interface ICreateUserProjectAccessAdminData {
|
|
|
8
8
|
projectAccess: IProjectAccess;
|
|
9
9
|
}
|
|
10
10
|
export type ICreateUserProjectAccessAdminResponse = IResponse<ICreateUserProjectAccessAdminData>;
|
|
11
|
-
export interface ICreateProjectAccessAdminData {
|
|
12
|
-
projectAccess: IProjectAccess;
|
|
13
|
-
}
|
|
14
|
-
export type ICreateProjectAccessAdminResponse = IResponse<ICreateProjectAccessAdminData>;
|
|
15
11
|
export interface IUpdateProjectAccessAdminData {
|
|
16
12
|
projectAccess: IProjectAccess;
|
|
17
13
|
}
|
|
@@ -23,10 +19,6 @@ export type IUpsertApplicationProjectAccessAdminResponse = IResponse<IUpsertAppl
|
|
|
23
19
|
export interface IDeleteApplicationProjectAccessAdminData {
|
|
24
20
|
}
|
|
25
21
|
export type IDeleteApplicationProjectAccessAdminResponse = IResponse<IDeleteApplicationProjectAccessAdminData>;
|
|
26
|
-
export interface IResetApiKeyProjectAccessAdminData {
|
|
27
|
-
projectAccess: IProjectAccess;
|
|
28
|
-
}
|
|
29
|
-
export type IResetApiKeyProjectAccessAdminResponse = IResponse<IResetApiKeyProjectAccessAdminData>;
|
|
30
22
|
export interface IDeleteProjectAccessAdminData {
|
|
31
23
|
}
|
|
32
24
|
export type IDeleteProjectAccessAdminResponse = IResponse<IDeleteProjectAccessAdminData>;
|