@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,37 @@
|
|
|
1
|
+
import { BillingAccountStatus, PaymentMode } from '../../enum';
|
|
2
|
+
import { IOrganization } from './organization.model';
|
|
3
|
+
import { IPlanTemplate } from './plan-template.model';
|
|
4
|
+
import { IInvoice } from './invoice.model';
|
|
5
|
+
import { ICreditTransaction } from './credit-transaction.model';
|
|
6
|
+
export interface IBillingAddress {
|
|
7
|
+
line1: string;
|
|
8
|
+
line2: string | null;
|
|
9
|
+
city: string;
|
|
10
|
+
postalCode: string;
|
|
11
|
+
country: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IOrganizationBilling {
|
|
14
|
+
id?: string;
|
|
15
|
+
organizationId: string;
|
|
16
|
+
planTemplateId: string;
|
|
17
|
+
paymentMode: PaymentMode;
|
|
18
|
+
status: BillingAccountStatus;
|
|
19
|
+
creditBalance: number;
|
|
20
|
+
stripeCustomerId: string | null;
|
|
21
|
+
stripeSubscriptionId: string | null;
|
|
22
|
+
stripePaymentMethodId: string | null;
|
|
23
|
+
billingCycleStartDay: number;
|
|
24
|
+
currentPeriodStart: Date;
|
|
25
|
+
currentPeriodEnd: Date;
|
|
26
|
+
gracePeriodEndsAt: Date | null;
|
|
27
|
+
gracePeriodDays: number;
|
|
28
|
+
billingEmail: string | null;
|
|
29
|
+
billingName: string | null;
|
|
30
|
+
billingAddress: IBillingAddress | null;
|
|
31
|
+
updatedAt?: Date;
|
|
32
|
+
createdAt?: Date;
|
|
33
|
+
organization?: IOrganization;
|
|
34
|
+
planTemplate?: IPlanTemplate;
|
|
35
|
+
invoices?: IInvoice[];
|
|
36
|
+
creditTransactions?: ICreditTransaction[];
|
|
37
|
+
}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { OrganizationPermission
|
|
1
|
+
import { OrganizationPermission } from '../../enum';
|
|
2
2
|
import { IOrganization } from './organization.model';
|
|
3
3
|
import { IUser } from './user.model';
|
|
4
|
+
import { ITeamMember } from './team-member.model';
|
|
4
5
|
export interface IOrganizationMember {
|
|
5
6
|
id?: string;
|
|
6
7
|
organizationId: string;
|
|
7
8
|
userId: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
isConfirmed: boolean;
|
|
9
|
+
permissions: OrganizationPermission[];
|
|
10
|
+
confirmedAt: Date | null;
|
|
11
11
|
joinedAt: Date;
|
|
12
12
|
updatedAt?: Date;
|
|
13
13
|
createdAt?: Date;
|
|
14
14
|
organization?: IOrganization;
|
|
15
15
|
user?: IUser;
|
|
16
|
+
teamMembers?: ITeamMember[];
|
|
16
17
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BillingMetric, BillingService } from '../../enum';
|
|
2
|
+
import { IBillingAccount } from './billing-account.model';
|
|
3
|
+
import { IProject } from './project.model';
|
|
4
|
+
export interface IProjectQuota {
|
|
5
|
+
id?: string;
|
|
6
|
+
billingAccountId: string;
|
|
7
|
+
projectId: string;
|
|
8
|
+
service: BillingService;
|
|
9
|
+
metric: BillingMetric;
|
|
10
|
+
limit: number | null;
|
|
11
|
+
updatedAt?: Date;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
billingAccount?: IBillingAccount;
|
|
14
|
+
project?: IProject;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BillingMetric, BillingService } from '../../enum';
|
|
2
|
+
export interface IQuotaAlert {
|
|
3
|
+
id?: string;
|
|
4
|
+
billingAccountId: string;
|
|
5
|
+
service: BillingService;
|
|
6
|
+
metric: BillingMetric;
|
|
7
|
+
threshold: number;
|
|
8
|
+
billingPeriod: string;
|
|
9
|
+
sentAt: Date;
|
|
10
|
+
createdAt?: Date;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BillingMetric, BillingService } from '../../enum';
|
|
2
|
+
import { IBillingAccount } from './billing-account.model';
|
|
3
|
+
export interface IServiceQuota {
|
|
4
|
+
id?: string;
|
|
5
|
+
billingAccountId: string;
|
|
6
|
+
service: BillingService;
|
|
7
|
+
metric: BillingMetric;
|
|
8
|
+
limit: number;
|
|
9
|
+
isOverridden: boolean;
|
|
10
|
+
updatedAt?: Date;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
billingAccount?: IBillingAccount;
|
|
13
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { IProject } from './project.model';
|
|
2
2
|
import { IOrganizationIntegration } from './organization-integration.model';
|
|
3
|
+
import { IOrganizationMember } from './organization-member.model';
|
|
4
|
+
import { ITeam } from './team.model';
|
|
5
|
+
import { IBillingAccount } from './billing-account.model';
|
|
3
6
|
export interface IOrganization {
|
|
4
7
|
id?: string;
|
|
5
8
|
name: string;
|
|
@@ -7,8 +10,18 @@ export interface IOrganization {
|
|
|
7
10
|
description: string | null;
|
|
8
11
|
pictureId: string | null;
|
|
9
12
|
pictureThumbnailId: string | null;
|
|
13
|
+
bannerId: string | null;
|
|
14
|
+
bannerThumbnailId: string | null;
|
|
15
|
+
companyName: string | null;
|
|
16
|
+
companySiren: string | null;
|
|
17
|
+
companyCreationDate: string | null;
|
|
18
|
+
companyWebsite: string | null;
|
|
19
|
+
companyRole: string | null;
|
|
10
20
|
updatedAt?: Date;
|
|
11
21
|
createdAt?: Date;
|
|
12
22
|
projects?: IProject[];
|
|
13
23
|
organizationIntegrations?: IOrganizationIntegration[];
|
|
24
|
+
organizationMembers?: IOrganizationMember[];
|
|
25
|
+
teams?: ITeam[];
|
|
26
|
+
billingAccount?: IBillingAccount;
|
|
14
27
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BillingMetric, BillingService, PaymentMode, PlanTier } from '../../enum';
|
|
2
|
+
export interface IPlanServiceQuota {
|
|
3
|
+
service: BillingService;
|
|
4
|
+
metric: BillingMetric;
|
|
5
|
+
limit: number;
|
|
6
|
+
unit: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IPlanOveragePricing {
|
|
9
|
+
service: BillingService;
|
|
10
|
+
metric: BillingMetric;
|
|
11
|
+
pricePerUnit: number;
|
|
12
|
+
unit: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IPlanTemplate {
|
|
15
|
+
id?: string;
|
|
16
|
+
tier: PlanTier;
|
|
17
|
+
name: string;
|
|
18
|
+
description: string | null;
|
|
19
|
+
isPublic: boolean;
|
|
20
|
+
isArchived: boolean;
|
|
21
|
+
monthlyPriceEur: number;
|
|
22
|
+
defaultPaymentMode: PaymentMode;
|
|
23
|
+
quotas: IPlanServiceQuota[];
|
|
24
|
+
gracePeriodDays: number;
|
|
25
|
+
overagePricing: IPlanOveragePricing[];
|
|
26
|
+
quotaAlertThresholds: number[];
|
|
27
|
+
updatedAt?: Date;
|
|
28
|
+
createdAt?: Date;
|
|
29
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProjectAccessPermission } from '../../enum';
|
|
2
2
|
import { IProjectApplicationAccess } from './project-application-access.model';
|
|
3
3
|
import { IProject } from './project.model';
|
|
4
|
-
import {
|
|
4
|
+
import { IOrganizationMember } from './organization-member.model';
|
|
5
5
|
export interface IProjectAccessSettings {
|
|
6
6
|
dailyReportEmailEnabled?: boolean;
|
|
7
7
|
annualReportEmailEnabled?: boolean;
|
|
@@ -9,16 +9,15 @@ export interface IProjectAccessSettings {
|
|
|
9
9
|
export interface IProjectAccess {
|
|
10
10
|
id?: string;
|
|
11
11
|
permission: ProjectAccessPermission[];
|
|
12
|
-
|
|
13
|
-
userId: string | null;
|
|
12
|
+
organizationMemberId: string;
|
|
14
13
|
projectId: string;
|
|
15
14
|
name: string;
|
|
16
15
|
description: string | null;
|
|
17
|
-
|
|
16
|
+
confirmedAt: Date | null;
|
|
18
17
|
settings: IProjectAccessSettings;
|
|
19
18
|
updatedAt?: Date;
|
|
20
19
|
createdAt?: Date;
|
|
21
20
|
project?: IProject;
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
organizationMember?: IOrganizationMember;
|
|
22
|
+
projectApplicationAccesses?: IProjectApplicationAccess[];
|
|
24
23
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ProjectApplicationAccessPermission } from '../../enum';
|
|
2
|
+
import { IProjectApiKey } from './project-api-key.model';
|
|
3
|
+
import { IApplication } from './application.model';
|
|
4
|
+
export interface IProjectApiKeyApplicationAccess {
|
|
5
|
+
id?: string;
|
|
6
|
+
permission: ProjectApplicationAccessPermission[];
|
|
7
|
+
projectApiKeyId: string;
|
|
8
|
+
applicationId: string;
|
|
9
|
+
updatedAt?: Date;
|
|
10
|
+
createdAt?: Date;
|
|
11
|
+
projectApiKey?: IProjectApiKey;
|
|
12
|
+
application?: IApplication;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ProjectAccessPermission } from '../../enum';
|
|
2
|
+
import { IProject } from './project.model';
|
|
3
|
+
import { IProjectApiKeyApplicationAccess } from './project-api-key-application-access.model';
|
|
4
|
+
export interface IProjectApiKey {
|
|
5
|
+
id?: string;
|
|
6
|
+
apiKey: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description: string | null;
|
|
9
|
+
permission: ProjectAccessPermission[];
|
|
10
|
+
projectId: string;
|
|
11
|
+
updatedAt?: Date;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
project?: IProject;
|
|
14
|
+
projectApiKeyApplicationAccesses?: IProjectApiKeyApplicationAccess[];
|
|
15
|
+
}
|
|
@@ -2,8 +2,6 @@ import { IUser } from './user.model';
|
|
|
2
2
|
import { IProjectAuthentication } from './project-authentication.model';
|
|
3
3
|
import { IProjectAccess, IProjectAccessSettings } from './project-access.model';
|
|
4
4
|
import { IApplication } from './application.model';
|
|
5
|
-
import { ISubscription } from './subscription.model';
|
|
6
|
-
import { IUserTransaction } from './user-transaction.model';
|
|
7
5
|
import { ProjectStatus } from '../../enum';
|
|
8
6
|
import { IDraw } from './draw.model';
|
|
9
7
|
import { IAtlas } from './atlas.model';
|
|
@@ -25,14 +23,12 @@ export interface IProject {
|
|
|
25
23
|
createdAt?: Date;
|
|
26
24
|
organization?: IOrganization;
|
|
27
25
|
user?: IUser;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
memo?: IMemo[];
|
|
37
|
-
shortLink?: IShortLink[];
|
|
26
|
+
projectAccesses?: IProjectAccess[];
|
|
27
|
+
projectAuthentications?: IProjectAuthentication[];
|
|
28
|
+
applications?: IApplication[];
|
|
29
|
+
draws?: IDraw[];
|
|
30
|
+
retrospectives?: IRetrospective[];
|
|
31
|
+
atlases?: IAtlas[];
|
|
32
|
+
memos?: IMemo[];
|
|
33
|
+
shortLinks?: IShortLink[];
|
|
38
34
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BillingMetric, BillingService, QuotaGrantScope } from '../../enum';
|
|
2
|
+
import { IBillingAccount } from './billing-account.model';
|
|
3
|
+
import { ITeam } from './team.model';
|
|
4
|
+
export interface IQuotaGrant {
|
|
5
|
+
id?: string;
|
|
6
|
+
billingAccountId: string;
|
|
7
|
+
service: BillingService;
|
|
8
|
+
metric: BillingMetric;
|
|
9
|
+
scope: QuotaGrantScope;
|
|
10
|
+
teamId: string | null;
|
|
11
|
+
quantityPerRecipient: number;
|
|
12
|
+
sizePerUnit: number | null;
|
|
13
|
+
freeUnits: number;
|
|
14
|
+
includedInPlan: boolean;
|
|
15
|
+
isActive: boolean;
|
|
16
|
+
updatedAt?: Date;
|
|
17
|
+
createdAt?: Date;
|
|
18
|
+
billingAccount?: IBillingAccount;
|
|
19
|
+
team?: ITeam | null;
|
|
20
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IOrganization } from './organization.model';
|
|
1
2
|
import { IProject } from './project.model';
|
|
2
3
|
import { IRetrospectiveCard } from './retrospective-card.model';
|
|
3
4
|
import { IRetrospectiveMember } from './retrospective-member.model';
|
|
@@ -12,13 +13,15 @@ export interface IRetrospective {
|
|
|
12
13
|
completedAt: Date | null;
|
|
13
14
|
userId: string | null;
|
|
14
15
|
projectId: string | null;
|
|
16
|
+
organizationId: string | null;
|
|
15
17
|
archivedAt: Date | null;
|
|
16
18
|
publicAccessToken: string | null;
|
|
17
19
|
updatedAt?: Date;
|
|
18
20
|
createdAt?: Date;
|
|
19
21
|
user?: IUser | null;
|
|
20
22
|
project?: IProject | null;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
organization?: IOrganization | null;
|
|
24
|
+
retrospectiveSections?: IRetrospectiveSection[];
|
|
25
|
+
retrospectiveCards?: IRetrospectiveCard[];
|
|
26
|
+
retrospectiveMembers?: IRetrospectiveMember[];
|
|
24
27
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IOrganization } from './organization.model';
|
|
1
2
|
import { IUser } from './user.model';
|
|
2
3
|
import { IProject } from './project.model';
|
|
3
4
|
import { IShortLinkClick } from './short-link-click.model';
|
|
@@ -9,6 +10,7 @@ export interface IShortLink {
|
|
|
9
10
|
description: string | null;
|
|
10
11
|
userId: string | null;
|
|
11
12
|
projectId: string | null;
|
|
13
|
+
organizationId: string | null;
|
|
12
14
|
isActive: boolean;
|
|
13
15
|
clickCount: number;
|
|
14
16
|
uniqueClickCount: number;
|
|
@@ -21,7 +23,8 @@ export interface IShortLink {
|
|
|
21
23
|
deletedAt?: Date | null;
|
|
22
24
|
user?: IUser | null;
|
|
23
25
|
project?: IProject | null;
|
|
24
|
-
|
|
26
|
+
organization?: IOrganization | null;
|
|
27
|
+
shortLinkClicks?: IShortLinkClick[];
|
|
25
28
|
}
|
|
26
29
|
export interface IShortLinkWithStats extends IShortLink {
|
|
27
30
|
stats?: {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ITeam } from './team.model';
|
|
2
|
+
import { IOrganizationMember } from './organization-member.model';
|
|
3
|
+
export interface ITeamMember {
|
|
4
|
+
id?: string;
|
|
5
|
+
teamId: string;
|
|
6
|
+
organizationMemberId: string;
|
|
7
|
+
updatedAt?: Date;
|
|
8
|
+
createdAt?: Date;
|
|
9
|
+
team?: ITeam;
|
|
10
|
+
organizationMember?: IOrganizationMember;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ProjectAccessPermission } from '../../enum';
|
|
2
|
+
import { ITeam } from './team.model';
|
|
3
|
+
import { IProject } from './project.model';
|
|
4
|
+
import { ITeamProjectApplicationAccess } from './team-project-application-access.model';
|
|
5
|
+
export interface ITeamProjectAccess {
|
|
6
|
+
id?: string;
|
|
7
|
+
teamId: string;
|
|
8
|
+
projectId: string;
|
|
9
|
+
permission: ProjectAccessPermission[];
|
|
10
|
+
updatedAt?: Date;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
team?: ITeam;
|
|
13
|
+
project?: IProject;
|
|
14
|
+
teamProjectApplicationAccesses?: ITeamProjectApplicationAccess[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ProjectApplicationAccessPermission } from '../../enum';
|
|
2
|
+
import { ITeamProjectAccess } from './team-project-access.model';
|
|
3
|
+
import { IApplication } from './application.model';
|
|
4
|
+
export interface ITeamProjectApplicationAccess {
|
|
5
|
+
id?: string;
|
|
6
|
+
permission: ProjectApplicationAccessPermission[];
|
|
7
|
+
teamProjectAccessId: string;
|
|
8
|
+
applicationId: string;
|
|
9
|
+
updatedAt?: Date;
|
|
10
|
+
createdAt?: Date;
|
|
11
|
+
teamProjectAccess?: ITeamProjectAccess;
|
|
12
|
+
application?: IApplication;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OrganizationPermission } from '../../enum';
|
|
2
|
+
import { IOrganization } from './organization.model';
|
|
3
|
+
import { ITeamMember } from './team-member.model';
|
|
4
|
+
import { ITeamProjectAccess } from './team-project-access.model';
|
|
5
|
+
export interface ITeam {
|
|
6
|
+
id?: string;
|
|
7
|
+
organizationId: string;
|
|
8
|
+
name: string;
|
|
9
|
+
description: string | null;
|
|
10
|
+
color: string | null;
|
|
11
|
+
pictureId: string | null;
|
|
12
|
+
pictureThumbnailId: string | null;
|
|
13
|
+
permissions: OrganizationPermission[];
|
|
14
|
+
updatedAt?: Date;
|
|
15
|
+
createdAt?: Date;
|
|
16
|
+
organization?: IOrganization;
|
|
17
|
+
teamMembers?: ITeamMember[];
|
|
18
|
+
teamProjectAccesses?: ITeamProjectAccess[];
|
|
19
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProjectAccessPermission, ProjectApplicationAccessPermission, TokenType } from '../../enum';
|
|
1
|
+
import { ProjectAccessPermission, ProjectApplicationAccessPermission, TokenType, OrganizationPermission } from '../../enum';
|
|
2
2
|
export interface ITokenHistory {
|
|
3
3
|
id?: string;
|
|
4
4
|
token: string;
|
|
@@ -12,12 +12,14 @@ export type TokenHistoryMetadataUserInvitationInternal = {
|
|
|
12
12
|
projectInvitation?: TokenHistoryMetadataProject & TokenHistoryMetadataExtendsUserInvitation;
|
|
13
13
|
cloudInvitation?: TokenHistoryMetadataCloud & TokenHistoryMetadataExtendsUserInvitation;
|
|
14
14
|
eventInvitation?: TokenHistoryMetadataEvent & TokenHistoryMetadataExtendsUserInvitation;
|
|
15
|
+
organizationInvitation?: TokenHistoryMetadataOrganization & TokenHistoryMetadataExtendsUserInvitation;
|
|
15
16
|
publicMailVerification?: TokenHistoryMetadataPublicEmailVerification;
|
|
16
17
|
};
|
|
17
18
|
export type TokenHistoryMetadataUserInvitation = {
|
|
18
19
|
projectInvitation?: TokenHistoryMetadataProject;
|
|
19
20
|
cloudInvitation?: TokenHistoryMetadataCloud;
|
|
20
21
|
eventInvitation?: TokenHistoryMetadataEvent;
|
|
22
|
+
organizationInvitation?: TokenHistoryMetadataOrganization;
|
|
21
23
|
publicMailVerification?: TokenHistoryMetadataPublicEmailVerification;
|
|
22
24
|
};
|
|
23
25
|
export type TokenHistoryMetadataProject = {
|
|
@@ -29,6 +31,7 @@ export type TokenHistoryMetadataProject = {
|
|
|
29
31
|
permission: ProjectApplicationAccessPermission[];
|
|
30
32
|
applicationId: string;
|
|
31
33
|
}[];
|
|
34
|
+
teamIds?: string[];
|
|
32
35
|
};
|
|
33
36
|
export type TokenHistoryMetadataCloud = {
|
|
34
37
|
cloudId: string;
|
|
@@ -44,6 +47,11 @@ export type TokenHistoryMetadataEvent = {
|
|
|
44
47
|
export type TokenHistoryMetadataExtendsUserInvitation = {
|
|
45
48
|
inviterId: string;
|
|
46
49
|
};
|
|
50
|
+
export type TokenHistoryMetadataOrganization = {
|
|
51
|
+
organizationId: string;
|
|
52
|
+
permissions: OrganizationPermission[];
|
|
53
|
+
teamIds?: string[];
|
|
54
|
+
};
|
|
47
55
|
export type TokenHistoryMetadataPublicEmailVerification = {
|
|
48
56
|
email: string;
|
|
49
57
|
code: string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BillingMetric, BillingService, UsagePoolType } from '../../enum';
|
|
2
|
+
import { IBillingAccount } from './billing-account.model';
|
|
3
|
+
import { IInvoice } from './invoice.model';
|
|
4
|
+
import { IProject } from './project.model';
|
|
5
|
+
export interface IUsageRecord {
|
|
6
|
+
id?: string;
|
|
7
|
+
billingAccountId: string;
|
|
8
|
+
projectId: string | null;
|
|
9
|
+
service: BillingService;
|
|
10
|
+
metric: BillingMetric;
|
|
11
|
+
poolType: UsagePoolType | null;
|
|
12
|
+
poolId: string | null;
|
|
13
|
+
quantity: number;
|
|
14
|
+
periodStart: Date;
|
|
15
|
+
periodEnd: Date;
|
|
16
|
+
overageQuantity: number;
|
|
17
|
+
overageAmountEur: number;
|
|
18
|
+
invoiceId: string | null;
|
|
19
|
+
updatedAt?: Date;
|
|
20
|
+
createdAt?: Date;
|
|
21
|
+
billingAccount?: IBillingAccount;
|
|
22
|
+
project?: IProject | null;
|
|
23
|
+
invoice?: IInvoice | null;
|
|
24
|
+
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { IAtlas, IBoard, IGiftCodeActivation, IMemo, IOAuthAccount, IProject, IRetrospective, IShortLink
|
|
2
|
-
import {
|
|
1
|
+
import { IAtlas, IBoard, IGiftCodeActivation, IMemo, IOAuthAccount, IProject, IRetrospective, IShortLink } from '..';
|
|
2
|
+
import { MeasurementSystem, OnboardingSteps, UserLanguage, UserType } from '../../enum';
|
|
3
3
|
import { OnboardingData } from '../../utils';
|
|
4
4
|
import { IBoardCardComment } from './board-card-comment.model';
|
|
5
5
|
import { IDraw } from './draw.model';
|
|
6
|
-
import {
|
|
6
|
+
import { IBillingAccount } from './billing-account.model';
|
|
7
7
|
import { IUserNotification } from './user-notification.model';
|
|
8
8
|
export interface IUserSetting {
|
|
9
9
|
language?: UserLanguage;
|
|
10
|
-
currency?:
|
|
10
|
+
currency?: string | null;
|
|
11
11
|
onboardingStatus?: UserOnboardingStatus | null;
|
|
12
12
|
userType?: UserType;
|
|
13
13
|
enableSoundNotification?: boolean;
|
|
14
14
|
annualReportEmailEnabled?: boolean;
|
|
15
|
+
newsletterDismissedAt?: Date | null;
|
|
15
16
|
abyssConsoleFirstVisitDate?: Date | null;
|
|
16
17
|
units?: {
|
|
17
18
|
length?: MeasurementSystem;
|
|
@@ -28,8 +29,6 @@ export interface IUser {
|
|
|
28
29
|
name: string | null;
|
|
29
30
|
familyName: string | null;
|
|
30
31
|
sponsorId: string | null;
|
|
31
|
-
enabledService: AbyssService[];
|
|
32
|
-
balance: number;
|
|
33
32
|
emailVerifiedAt: Date | null;
|
|
34
33
|
settings: IUserSetting;
|
|
35
34
|
profilePictureId: string | null;
|
|
@@ -40,19 +39,18 @@ export interface IUser {
|
|
|
40
39
|
updatedAt?: Date;
|
|
41
40
|
createdAt?: Date;
|
|
42
41
|
sponsor?: IUser | null;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
userTransaction?: IUserTransaction[];
|
|
42
|
+
oauthAccounts?: IOAuthAccount[];
|
|
43
|
+
userNotifications?: IUserNotification[];
|
|
46
44
|
giftCodeActivation?: IGiftCodeActivation[];
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
45
|
+
billingAccount?: IBillingAccount;
|
|
46
|
+
projects?: IProject[];
|
|
47
|
+
boardCardComments?: IBoardCardComment[];
|
|
48
|
+
boards?: IBoard[];
|
|
49
|
+
draws?: IDraw[];
|
|
50
|
+
retrospectives?: IRetrospective[];
|
|
51
|
+
atlases?: IAtlas[];
|
|
52
|
+
memos?: IMemo[];
|
|
53
|
+
shortLinks?: IShortLink[];
|
|
56
54
|
}
|
|
57
55
|
export type UserOnboardingStatus = {
|
|
58
56
|
completedAt?: Date | null;
|
|
@@ -9,12 +9,6 @@ export type OnboardingData = {
|
|
|
9
9
|
name: string;
|
|
10
10
|
familyName: string;
|
|
11
11
|
email: string;
|
|
12
|
-
signupAsCompany: boolean;
|
|
13
|
-
companyName?: string;
|
|
14
|
-
companySiren?: string;
|
|
15
|
-
companyCreationDate?: string;
|
|
16
|
-
companyRole?: string;
|
|
17
|
-
companyWebsite?: string;
|
|
18
12
|
};
|
|
19
13
|
userType: {
|
|
20
14
|
type: UserType | null;
|
|
@@ -25,6 +19,7 @@ export type OnboardingData = {
|
|
|
25
19
|
memories: boolean;
|
|
26
20
|
form: boolean;
|
|
27
21
|
spotlight: boolean;
|
|
22
|
+
training: boolean;
|
|
28
23
|
};
|
|
29
24
|
};
|
|
30
25
|
export declare const getOnboardingProgression: (currentStep: OnboardingSteps, onboardingData: OnboardingData) => {
|
|
@@ -12,14 +12,15 @@ exports.COMMONS_STEPS = [
|
|
|
12
12
|
enum_1.OnboardingSteps.USER_TYPE,
|
|
13
13
|
];
|
|
14
14
|
const getOnboardingProgression = (currentStep, onboardingData) => {
|
|
15
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
15
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
16
16
|
const allSteps = [
|
|
17
17
|
...exports.COMMONS_STEPS,
|
|
18
|
-
...(((_a = onboardingData.userType) === null || _a === void 0 ? void 0 : _a.type) === enum_1.UserType.
|
|
18
|
+
...(((_a = onboardingData.userType) === null || _a === void 0 ? void 0 : _a.type) === enum_1.UserType.ORGANIZATION
|
|
19
19
|
? [
|
|
20
|
-
enum_1.OnboardingSteps.
|
|
21
|
-
enum_1.OnboardingSteps.
|
|
22
|
-
enum_1.OnboardingSteps.
|
|
20
|
+
enum_1.OnboardingSteps.ORG_CREATE,
|
|
21
|
+
enum_1.OnboardingSteps.ORG_INVITE_MEMBERS,
|
|
22
|
+
enum_1.OnboardingSteps.ORG_DISCOVER_TOOLS,
|
|
23
|
+
enum_1.OnboardingSteps.ORG_DISCOVER_PROJECT_TOOLS,
|
|
23
24
|
]
|
|
24
25
|
: []),
|
|
25
26
|
...(((_b = onboardingData.userType) === null || _b === void 0 ? void 0 : _b.type) === enum_1.UserType.USER
|
|
@@ -34,6 +35,9 @@ const getOnboardingProgression = (currentStep, onboardingData) => {
|
|
|
34
35
|
...(((_h = onboardingData.userFeatures) === null || _h === void 0 ? void 0 : _h.spotlight)
|
|
35
36
|
? [enum_1.OnboardingSteps.USER_CREATE_SPOTLIGHT]
|
|
36
37
|
: []),
|
|
38
|
+
...(((_j = onboardingData.userFeatures) === null || _j === void 0 ? void 0 : _j.training)
|
|
39
|
+
? [enum_1.OnboardingSteps.USER_DISCOVER_TRAINING]
|
|
40
|
+
: []),
|
|
37
41
|
]
|
|
38
42
|
: []),
|
|
39
43
|
enum_1.OnboardingSteps.END,
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export * from './byte.utils';
|
|
|
5
5
|
export * from './import.utils';
|
|
6
6
|
export * from './notification.utils';
|
|
7
7
|
export * from './sleep.utils';
|
|
8
|
-
export * from './subscription.utils';
|
|
9
8
|
export * from './array.utils';
|
|
10
9
|
export * from './abyss.utils';
|
|
11
10
|
export * from './color.utils';
|