@zeniai/client-epic-state 4.19.82 → 4.19.83
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/lib/entity/company/companyPayload.d.ts +0 -13
- package/lib/entity/company/companyPayload.js +0 -21
- package/lib/entity/company/companyStateTypes.d.ts +0 -13
- package/lib/esm/entity/chargeCardTransaction/chargeCardTransactionPayload.js +2 -2
- package/lib/esm/entity/company/companyPayload.js +0 -21
- package/lib/esm/index.js +5 -7
- package/lib/esm/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.js +0 -6
- package/lib/esm/view/companyView/types/companyPassport/companyPassportLocalData.js +0 -13
- package/lib/esm/view/companyView/types/companyPassportViewPayload.js +12 -55
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +3 -2
- package/lib/esm/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +2 -2
- package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewSelector.js +4 -22
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.js +2 -2
- package/lib/esm/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.js +2 -2
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector.js +1 -4
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic.js +1 -2
- package/lib/esm/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.js +1 -1
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +1 -67
- package/lib/esm/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +2 -16
- package/lib/esm/view/spendManagement/commonSetup/setupViewSelector.js +1 -15
- package/lib/esm/view/spendManagement/commonSetup/types/businessVerification.js +1 -148
- package/lib/esm/view/taskManager/taskDetailView/taskDetailSelector.js +1 -1
- package/lib/index.d.ts +5 -8
- package/lib/index.js +33 -41
- package/lib/view/companyView/epic/companyPassport/updateCompanyDetailsEpic.js +0 -6
- package/lib/view/companyView/types/companyPassport/companyDetailsLocalData.d.ts +0 -13
- package/lib/view/companyView/types/companyPassport/companyPassportLocalData.js +0 -13
- package/lib/view/companyView/types/companyPassportViewPayload.d.ts +1 -1
- package/lib/view/companyView/types/companyPassportViewPayload.js +12 -55
- package/lib/view/expenseAutomationView/epics/transactionCategorization/triggerReviewTabRefetchEpic.js +3 -2
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.js +2 -2
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +0 -1
- package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +3 -22
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistoryDownloadSelector.js +2 -2
- package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistorySelector.js +2 -2
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/chargeCardRepaymentDetailSelector.js +1 -4
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/fetchChargeCardRepaymentDetailEpic.js +1 -2
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.d.ts +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardRepaymentDetail/initiateChargeCardRepaymentEpic.js +1 -1
- package/lib/view/spendManagement/commonSetup/epic/setup/updateBusinessVerificationDetailsEpic.js +1 -67
- package/lib/view/spendManagement/commonSetup/epic/setup/updateSetupViewLocalStoreDataEpic.js +2 -16
- package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +0 -14
- package/lib/view/spendManagement/commonSetup/setupViewSelector.js +1 -15
- package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +0 -14
- package/lib/view/spendManagement/commonSetup/types/businessVerification.d.ts +0 -43
- package/lib/view/spendManagement/commonSetup/types/businessVerification.js +0 -150
- package/lib/view/taskManager/taskDetailView/taskDetailSelector.js +1 -1
- package/package.json +1 -1
- package/lib/tsconfig.typecheck.tsbuildinfo +0 -1
|
@@ -1,152 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.COMPANY_ONBOARDING_SUB_INDUSTRY_CODES_BY_INDUSTRY = exports.COMPANY_ONBOARDING_INDUSTRY_TYPE_CODES = exports.COMPANY_US_NEXUS_TYPE_CODES = exports.COMPANY_PURPOSE_OF_ACCOUNT_CODES = exports.COMPANY_SOURCE_OF_FUNDS_CODES = exports.COMPANY_TRANSACTION_VOLUME_CODES = void 0;
|
|
4
|
-
exports.getCompanyOnboardingSubIndustryCodesForIndustry = getCompanyOnboardingSubIndustryCodesForIndustry;
|
|
5
|
-
exports.COMPANY_TRANSACTION_VOLUME_CODES = [
|
|
6
|
-
'less_than_10000',
|
|
7
|
-
'10000_50000',
|
|
8
|
-
'50001_250000',
|
|
9
|
-
'250001_1000000',
|
|
10
|
-
'1000001_2000000',
|
|
11
|
-
'over_2000000',
|
|
12
|
-
];
|
|
13
|
-
exports.COMPANY_SOURCE_OF_FUNDS_CODES = [
|
|
14
|
-
'sales_of_goods',
|
|
15
|
-
'sales_of_services',
|
|
16
|
-
'customer_payments',
|
|
17
|
-
'investment_capital',
|
|
18
|
-
'business_loans',
|
|
19
|
-
'owner_contributions',
|
|
20
|
-
'franchise_revenue',
|
|
21
|
-
'rental_income',
|
|
22
|
-
'government_contracts_grants',
|
|
23
|
-
'donations_fundraising',
|
|
24
|
-
'membership_fees_subscriptions',
|
|
25
|
-
'licensing_royalties',
|
|
26
|
-
'commission_income',
|
|
27
|
-
'import_export_revenue',
|
|
28
|
-
'cryptocurrency_activity',
|
|
29
|
-
];
|
|
30
|
-
exports.COMPANY_PURPOSE_OF_ACCOUNT_CODES = [
|
|
31
|
-
'retail_sales',
|
|
32
|
-
'ecommerce_sales',
|
|
33
|
-
'cash_heavy_operations',
|
|
34
|
-
'import_export_trade',
|
|
35
|
-
'professional_services_not_handling_funds',
|
|
36
|
-
'professional_services_handling_funds',
|
|
37
|
-
'holding_investment_company',
|
|
38
|
-
'property_management_real_estate',
|
|
39
|
-
'charitable_nonprofit',
|
|
40
|
-
'construction_contracting',
|
|
41
|
-
'commercial_cash_operations',
|
|
42
|
-
'freight_forwarding_logistics',
|
|
43
|
-
'third_party_payment_processing',
|
|
44
|
-
'technology_startup',
|
|
45
|
-
'wholesale_distribution',
|
|
46
|
-
'franchise_operation',
|
|
47
|
-
'healthcare_provider',
|
|
48
|
-
'educational_institution',
|
|
49
|
-
];
|
|
50
|
-
/** Keys for company_us_nexus_desc / form usNexusTypes (labels from usNexusOptions in app locale). */
|
|
51
|
-
exports.COMPANY_US_NEXUS_TYPE_CODES = [
|
|
52
|
-
'employees',
|
|
53
|
-
'customers',
|
|
54
|
-
'physical_office',
|
|
55
|
-
'banking_relationships',
|
|
56
|
-
];
|
|
57
|
-
/** Industry type codes for onboarding / business verification (paired with sub-industry). */
|
|
58
|
-
exports.COMPANY_ONBOARDING_INDUSTRY_TYPE_CODES = [
|
|
59
|
-
'retail_consumer_goods',
|
|
60
|
-
'financial_services',
|
|
61
|
-
'food_agriculture',
|
|
62
|
-
'healthcare_pharmaceuticals',
|
|
63
|
-
'professional_services',
|
|
64
|
-
'manufacturing_industrial',
|
|
65
|
-
'real_estate_construction',
|
|
66
|
-
'logistics_transportation',
|
|
67
|
-
'wholesale_trade',
|
|
68
|
-
'business_support_services',
|
|
69
|
-
'escort_dating_adult_entertainment',
|
|
70
|
-
];
|
|
71
|
-
exports.COMPANY_ONBOARDING_SUB_INDUSTRY_CODES_BY_INDUSTRY = {
|
|
72
|
-
retail_consumer_goods: [
|
|
73
|
-
'grocery_stores_supermarkets',
|
|
74
|
-
'convenience_stores',
|
|
75
|
-
'specialty_food_retailers',
|
|
76
|
-
'gas_stations_retail',
|
|
77
|
-
'general_merchandise_department',
|
|
78
|
-
'online_retail_ecommerce',
|
|
79
|
-
'subscription_membership',
|
|
80
|
-
'direct_to_consumer',
|
|
81
|
-
'cannabis',
|
|
82
|
-
],
|
|
83
|
-
financial_services: [
|
|
84
|
-
'banks_credit_unions',
|
|
85
|
-
'fintech_payment_processing',
|
|
86
|
-
'insurance_providers',
|
|
87
|
-
'investment_advisors_broker',
|
|
88
|
-
'lending_mortgage',
|
|
89
|
-
'treasury_management',
|
|
90
|
-
'personal_finance_apps',
|
|
91
|
-
'retirement_planning',
|
|
92
|
-
'real_estate_investment',
|
|
93
|
-
'money_service_businesses',
|
|
94
|
-
'cryptocurrency',
|
|
95
|
-
'debt_collection',
|
|
96
|
-
'payday_lending',
|
|
97
|
-
'gambling',
|
|
98
|
-
],
|
|
99
|
-
food_agriculture: [
|
|
100
|
-
'farms_agricultural',
|
|
101
|
-
'food_wholesalers_distributors',
|
|
102
|
-
'restaurants_cafes',
|
|
103
|
-
'bars_nightclubs',
|
|
104
|
-
'catering_services',
|
|
105
|
-
'farmers_markets',
|
|
106
|
-
'restaurant_tech_pos',
|
|
107
|
-
],
|
|
108
|
-
healthcare_pharmaceuticals: [
|
|
109
|
-
'hospitals_clinics',
|
|
110
|
-
'pharmacies',
|
|
111
|
-
'medical_equipment',
|
|
112
|
-
'biotechnology',
|
|
113
|
-
'home_health',
|
|
114
|
-
'healthcare_staffing',
|
|
115
|
-
'wellness_benefits',
|
|
116
|
-
'healthcare_social_assistance',
|
|
117
|
-
],
|
|
118
|
-
professional_services: [
|
|
119
|
-
'legal_services',
|
|
120
|
-
'accounting_auditing',
|
|
121
|
-
'consulting_firms',
|
|
122
|
-
'marketing_advertising',
|
|
123
|
-
'real_estate_agents_property',
|
|
124
|
-
'corporate_services_incorporation',
|
|
125
|
-
'hr_workforce_management',
|
|
126
|
-
'direct_marketing_telemarketing',
|
|
127
|
-
'legal_accounting_consulting_programming',
|
|
128
|
-
],
|
|
129
|
-
manufacturing_industrial: [
|
|
130
|
-
'chemical_manufacturing',
|
|
131
|
-
'electronics_hardware',
|
|
132
|
-
'automotive_manufacturing',
|
|
133
|
-
'construction_materials',
|
|
134
|
-
'textiles_apparel',
|
|
135
|
-
'mining',
|
|
136
|
-
],
|
|
137
|
-
real_estate_construction: ['real_estate', 'construction'],
|
|
138
|
-
logistics_transportation: ['transportation_warehousing'],
|
|
139
|
-
wholesale_trade: ['wholesale_trade'],
|
|
140
|
-
business_support_services: ['business_support_building'],
|
|
141
|
-
escort_dating_adult_entertainment: [
|
|
142
|
-
'escort_services',
|
|
143
|
-
'dating_adult_entertainment',
|
|
144
|
-
],
|
|
145
|
-
};
|
|
146
|
-
function getCompanyOnboardingSubIndustryCodesForIndustry(industryTypeCode) {
|
|
147
|
-
if (industryTypeCode == null || industryTypeCode === '') {
|
|
148
|
-
return [];
|
|
149
|
-
}
|
|
150
|
-
const row = exports.COMPANY_ONBOARDING_SUB_INDUSTRY_CODES_BY_INDUSTRY[industryTypeCode];
|
|
151
|
-
return row != null ? [...row] : [];
|
|
152
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.19.
|
|
3
|
+
"version": "4.19.83",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|