@melio-eng/web-sdk 1.0.40 → 1.0.41-pr.88.670a5dc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.d.ts +26 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -24,22 +24,47 @@ export interface BaseFlowConfig {
|
|
|
24
24
|
/** Optional authorization code for the flow */
|
|
25
25
|
authCode?: string;
|
|
26
26
|
}
|
|
27
|
-
export type BusinessType = 'partnership' | 'limitedLiabilityCompany' | 'corporation' | 'nonProfit';
|
|
27
|
+
export type BusinessType = 'soleProprietorship' | 'partnership' | 'limitedLiabilityCompany' | 'corporation' | 'nonProfit' | 'nonGovernmentalOrganization' | 'municipalCorporation' | 'trustOrEstate';
|
|
28
|
+
export type TaxIdType = 'ssn' | 'itin' | 'ein';
|
|
29
|
+
/**
|
|
30
|
+
* A US mailing address used to prefill business address fields
|
|
31
|
+
*/
|
|
32
|
+
export interface Address {
|
|
33
|
+
street1?: string;
|
|
34
|
+
street2?: string;
|
|
35
|
+
city?: string;
|
|
36
|
+
state?: string;
|
|
37
|
+
zipCode?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface Industry {
|
|
40
|
+
name?: string;
|
|
41
|
+
/** NAICS industry code */
|
|
42
|
+
code?: number;
|
|
43
|
+
}
|
|
28
44
|
export interface OrganizationDetails {
|
|
29
45
|
companyName?: string;
|
|
46
|
+
/** Doing-business-as name, if different from companyName */
|
|
47
|
+
dbaName?: string;
|
|
30
48
|
businessType?: BusinessType;
|
|
31
49
|
companyLegalName?: string;
|
|
50
|
+
taxIdType?: TaxIdType;
|
|
32
51
|
taxId?: string;
|
|
33
52
|
legalDateOfBirth?: string;
|
|
34
53
|
website?: string;
|
|
35
54
|
description?: string;
|
|
36
55
|
contactPhone?: string;
|
|
56
|
+
/** Physical/operating address of the business */
|
|
57
|
+
businessAddress?: Address;
|
|
58
|
+
/** Registered legal address of the business, if different from businessAddress */
|
|
59
|
+
legalAddress?: Address;
|
|
60
|
+
industry?: Industry;
|
|
37
61
|
}
|
|
38
62
|
export interface UserDetails {
|
|
39
63
|
email?: string;
|
|
40
64
|
firstName?: string;
|
|
41
65
|
lastName?: string;
|
|
42
66
|
dateOfBirth?: string;
|
|
67
|
+
phone?: string;
|
|
43
68
|
}
|
|
44
69
|
/**
|
|
45
70
|
* Entry point context for the flow, used to construct the externalOrigin parameter.
|
package/package.json
CHANGED