@lendi/act-credit-decisions-transform 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/README.md +31 -0
  2. package/lib/index.d.ts +11 -0
  3. package/lib/index.js +28 -0
  4. package/lib/logger.d.ts +1 -0
  5. package/lib/logger.js +5 -0
  6. package/lib/schemas/application-workflow-event.json +240 -0
  7. package/lib/schemas/credit-report-retrieved-event.json +57 -0
  8. package/lib/schemas/public-applicant-event.json +910 -0
  9. package/lib/schemas/public-application-event.json +250 -0
  10. package/lib/schemas/public-asset-event.json +679 -0
  11. package/lib/schemas/public-asset-liability-relation-delete-event.json +74 -0
  12. package/lib/schemas/public-asset-liability-relation-event.json +73 -0
  13. package/lib/schemas/public-create-applicant-event.json +609 -0
  14. package/lib/schemas/public-delete-applicant-event.json +66 -0
  15. package/lib/schemas/public-delete-asset-event.json +53 -0
  16. package/lib/schemas/public-delete-income-event.json +55 -0
  17. package/lib/schemas/public-employment-delete-event.json +31 -0
  18. package/lib/schemas/public-employment-event.json +278 -0
  19. package/lib/schemas/public-expense-delete-event.json +41 -0
  20. package/lib/schemas/public-expense-event.json +133 -0
  21. package/lib/schemas/public-funding-position-event.json +419 -0
  22. package/lib/schemas/public-income-event.json +242 -0
  23. package/lib/schemas/public-liability-delete-event.json +37 -0
  24. package/lib/schemas/public-liability-event.json +262 -0
  25. package/lib/schemas/public-required-document-event.json +366 -0
  26. package/lib/schemas/public-update-applicant-event.json +606 -0
  27. package/lib/schemas/sf-opportunity-event-out.json +138 -0
  28. package/lib/transform-events/generate-asset-liability-link.d.ts +10 -0
  29. package/lib/transform-events/generate-asset-liability-link.js +29 -0
  30. package/lib/transform-events/generate-credit-report-rebuilt.d.ts +8 -0
  31. package/lib/transform-events/generate-credit-report-rebuilt.js +41 -0
  32. package/lib/transform-events/transform-applicant.d.ts +8 -0
  33. package/lib/transform-events/transform-applicant.js +180 -0
  34. package/lib/transform-events/transform-application-workflow.d.ts +8 -0
  35. package/lib/transform-events/transform-application-workflow.js +30 -0
  36. package/lib/transform-events/transform-application.d.ts +20 -0
  37. package/lib/transform-events/transform-application.js +67 -0
  38. package/lib/transform-events/transform-asset-address.d.ts +25 -0
  39. package/lib/transform-events/transform-asset-address.js +87 -0
  40. package/lib/transform-events/transform-asset.d.ts +58 -0
  41. package/lib/transform-events/transform-asset.js +337 -0
  42. package/lib/transform-events/transform-employment.d.ts +9 -0
  43. package/lib/transform-events/transform-employment.js +107 -0
  44. package/lib/transform-events/transform-expenses.d.ts +41 -0
  45. package/lib/transform-events/transform-expenses.js +121 -0
  46. package/lib/transform-events/transform-funding-position.d.ts +21 -0
  47. package/lib/transform-events/transform-funding-position.js +107 -0
  48. package/lib/transform-events/transform-income.d.ts +48 -0
  49. package/lib/transform-events/transform-income.js +260 -0
  50. package/lib/transform-events/transform-liability.d.ts +12 -0
  51. package/lib/transform-events/transform-liability.js +117 -0
  52. package/lib/transform-events/transform-percent-owned.d.ts +10 -0
  53. package/lib/transform-events/transform-percent-owned.js +22 -0
  54. package/lib/transform-events/transform-required-document.d.ts +67 -0
  55. package/lib/transform-events/transform-required-document.js +148 -0
  56. package/lib/types/enum-mappings/alieo-frequency.d.ts +15 -0
  57. package/lib/types/enum-mappings/alieo-frequency.js +25 -0
  58. package/lib/types/enum-mappings/applicant-gender.d.ts +6 -0
  59. package/lib/types/enum-mappings/applicant-gender.js +11 -0
  60. package/lib/types/enum-mappings/applicant-type.d.ts +6 -0
  61. package/lib/types/enum-mappings/applicant-type.js +10 -0
  62. package/lib/types/enum-mappings/asset-type.d.ts +3 -0
  63. package/lib/types/enum-mappings/asset-type.js +17 -0
  64. package/lib/types/enum-mappings/builder-type.d.ts +7 -0
  65. package/lib/types/enum-mappings/builder-type.js +9 -0
  66. package/lib/types/enum-mappings/company-structure.d.ts +7 -0
  67. package/lib/types/enum-mappings/company-structure.js +10 -0
  68. package/lib/types/enum-mappings/company-type.d.ts +7 -0
  69. package/lib/types/enum-mappings/company-type.js +11 -0
  70. package/lib/types/enum-mappings/construction-type.d.ts +7 -0
  71. package/lib/types/enum-mappings/construction-type.js +10 -0
  72. package/lib/types/enum-mappings/country-code.d.ts +7 -0
  73. package/lib/types/enum-mappings/country-code.js +246 -0
  74. package/lib/types/enum-mappings/employment-basis.d.ts +7 -0
  75. package/lib/types/enum-mappings/employment-basis.js +12 -0
  76. package/lib/types/enum-mappings/expense-frequency.d.ts +7 -0
  77. package/lib/types/enum-mappings/expense-frequency.js +11 -0
  78. package/lib/types/enum-mappings/funding-position.d.ts +18 -0
  79. package/lib/types/enum-mappings/funding-position.js +36 -0
  80. package/lib/types/enum-mappings/government-benefits.d.ts +7 -0
  81. package/lib/types/enum-mappings/government-benefits.js +10 -0
  82. package/lib/types/enum-mappings/guarantor-relationship-type.d.ts +3 -0
  83. package/lib/types/enum-mappings/guarantor-relationship-type.js +16 -0
  84. package/lib/types/enum-mappings/housing-status.d.ts +7 -0
  85. package/lib/types/enum-mappings/housing-status.js +15 -0
  86. package/lib/types/enum-mappings/income-type.d.ts +7 -0
  87. package/lib/types/enum-mappings/income-type.js +16 -0
  88. package/lib/types/enum-mappings/index.d.ts +27 -0
  89. package/lib/types/enum-mappings/index.js +43 -0
  90. package/lib/types/enum-mappings/liability-payment-type.d.ts +7 -0
  91. package/lib/types/enum-mappings/liability-payment-type.js +9 -0
  92. package/lib/types/enum-mappings/liability-type.d.ts +7 -0
  93. package/lib/types/enum-mappings/liability-type.js +21 -0
  94. package/lib/types/enum-mappings/living-expense.d.ts +7 -0
  95. package/lib/types/enum-mappings/living-expense.js +31 -0
  96. package/lib/types/enum-mappings/marital-status.d.ts +7 -0
  97. package/lib/types/enum-mappings/marital-status.js +12 -0
  98. package/lib/types/enum-mappings/postcode.d.ts +6 -0
  99. package/lib/types/enum-mappings/postcode.js +15 -0
  100. package/lib/types/enum-mappings/preferred-repayment.d.ts +7 -0
  101. package/lib/types/enum-mappings/preferred-repayment.js +10 -0
  102. package/lib/types/enum-mappings/proof-of-identity.d.ts +7 -0
  103. package/lib/types/enum-mappings/proof-of-identity.js +10 -0
  104. package/lib/types/enum-mappings/property-expense-category.d.ts +7 -0
  105. package/lib/types/enum-mappings/property-expense-category.js +11 -0
  106. package/lib/types/enum-mappings/public-financial-asset.d.ts +7 -0
  107. package/lib/types/enum-mappings/public-financial-asset.js +12 -0
  108. package/lib/types/enum-mappings/public-primary-purpose.d.ts +7 -0
  109. package/lib/types/enum-mappings/public-primary-purpose.js +9 -0
  110. package/lib/types/enum-mappings/public-property-status.d.ts +7 -0
  111. package/lib/types/enum-mappings/public-property-status.js +11 -0
  112. package/lib/types/enum-mappings/public-property-type.d.ts +7 -0
  113. package/lib/types/enum-mappings/public-property-type.js +23 -0
  114. package/lib/types/enum-mappings/residency-status.d.ts +7 -0
  115. package/lib/types/enum-mappings/residency-status.js +11 -0
  116. package/lib/types/enum-mappings/title-gender.d.ts +7 -0
  117. package/lib/types/enum-mappings/title-gender.js +13 -0
  118. package/lib/types/enum-mappings/title.d.ts +7 -0
  119. package/lib/types/enum-mappings/title.js +13 -0
  120. package/lib/types/enum-mappings/to-be-purchased.d.ts +5 -0
  121. package/lib/types/enum-mappings/to-be-purchased.js +8 -0
  122. package/lib/types/enum-mappings/to-be-used-as-security.d.ts +5 -0
  123. package/lib/types/enum-mappings/to-be-used-as-security.js +8 -0
  124. package/lib/types/enum-mappings/transaction-type.d.ts +7 -0
  125. package/lib/types/enum-mappings/transaction-type.js +9 -0
  126. package/lib/types/enum-mappings/trust.d.ts +7 -0
  127. package/lib/types/enum-mappings/trust.js +14 -0
  128. package/lib/types/enum-mappings/verification.d.ts +3 -0
  129. package/lib/types/enum-mappings/verification.js +13 -0
  130. package/lib/types/events/applicant-delete.d.ts +42 -0
  131. package/lib/types/events/applicant-delete.js +15 -0
  132. package/lib/types/events/application-workflow.d.ts +233 -0
  133. package/lib/types/events/application-workflow.js +172 -0
  134. package/lib/types/events/asset-delete.d.ts +33 -0
  135. package/lib/types/events/asset-delete.js +15 -0
  136. package/lib/types/events/asset-liability-relation-delete.d.ts +52 -0
  137. package/lib/types/events/asset-liability-relation-delete.js +15 -0
  138. package/lib/types/events/credit-report-retrieved.d.ts +36 -0
  139. package/lib/types/events/credit-report-retrieved.js +15 -0
  140. package/lib/types/events/employment-delete.d.ts +19 -0
  141. package/lib/types/events/employment-delete.js +7 -0
  142. package/lib/types/events/expense-delete.d.ts +21 -0
  143. package/lib/types/events/expense-delete.js +7 -0
  144. package/lib/types/events/funding-position.d.ts +116 -0
  145. package/lib/types/events/funding-position.js +34 -0
  146. package/lib/types/events/income-delete.d.ts +33 -0
  147. package/lib/types/events/income-delete.js +15 -0
  148. package/lib/types/events/liability-delete.d.ts +17 -0
  149. package/lib/types/events/liability-delete.js +7 -0
  150. package/lib/types/events/opportunity.d.ts +102 -0
  151. package/lib/types/events/opportunity.js +47 -0
  152. package/lib/types/events/public-applicant.d.ts +628 -0
  153. package/lib/types/events/public-applicant.js +411 -0
  154. package/lib/types/events/public-application.d.ts +151 -0
  155. package/lib/types/events/public-application.js +103 -0
  156. package/lib/types/events/public-asset-liability-relation.d.ts +52 -0
  157. package/lib/types/events/public-asset-liability-relation.js +15 -0
  158. package/lib/types/events/public-asset.d.ts +502 -0
  159. package/lib/types/events/public-asset.js +348 -0
  160. package/lib/types/events/public-employment.d.ts +121 -0
  161. package/lib/types/events/public-employment.js +46 -0
  162. package/lib/types/events/public-expense.d.ts +84 -0
  163. package/lib/types/events/public-expense.js +51 -0
  164. package/lib/types/events/public-funding-position.d.ts +341 -0
  165. package/lib/types/events/public-funding-position.js +20 -0
  166. package/lib/types/events/public-income.d.ts +144 -0
  167. package/lib/types/events/public-income.js +65 -0
  168. package/lib/types/events/public-liability.d.ts +140 -0
  169. package/lib/types/events/public-liability.js +68 -0
  170. package/lib/types/events/public-required-document.d.ts +374 -0
  171. package/lib/types/events/public-required-document.js +297 -0
  172. package/lib/types/partial-application.d.ts +3 -0
  173. package/lib/types/partial-application.js +2 -0
  174. package/lib/types/recursive-partial.d.ts +3 -0
  175. package/lib/types/recursive-partial.js +2 -0
  176. package/lib/update-application/merge-application.d.ts +14 -0
  177. package/lib/update-application/merge-application.js +175 -0
  178. package/lib/update-application/remove-ids-not-required.d.ts +11 -0
  179. package/lib/update-application/remove-ids-not-required.js +63 -0
  180. package/lib/update-application/update-primary-applicant.d.ts +27 -0
  181. package/lib/update-application/update-primary-applicant.js +46 -0
  182. package/lib/utils/address-tools.d.ts +84 -0
  183. package/lib/utils/address-tools.js +176 -0
  184. package/lib/utils/clean-up.d.ts +7 -0
  185. package/lib/utils/clean-up.js +24 -0
  186. package/lib/utils/errors.d.ts +28 -0
  187. package/lib/utils/errors.js +43 -0
  188. package/lib/utils/formatYesNo.d.ts +8 -0
  189. package/lib/utils/formatYesNo.js +12 -0
  190. package/lib/utils/generate-address.d.ts +19 -0
  191. package/lib/utils/generate-address.js +97 -0
  192. package/lib/utils/get-financial-institution.d.ts +8 -0
  193. package/lib/utils/get-financial-institution.js +17 -0
  194. package/lib/utils/is-asset-type.d.ts +25 -0
  195. package/lib/utils/is-asset-type.js +46 -0
  196. package/lib/utils/is-income-type.d.ts +73 -0
  197. package/lib/utils/is-income-type.js +134 -0
  198. package/lib/utils/iso-date.d.ts +7 -0
  199. package/lib/utils/iso-date.js +12 -0
  200. package/lib/utils/normalise-date.d.ts +8 -0
  201. package/lib/utils/normalise-date.js +17 -0
  202. package/lib/utils/round-decimal.d.ts +6 -0
  203. package/lib/utils/round-decimal.js +12 -0
  204. package/package.json +79 -0
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Type = exports.ActionedByRole = exports.LiabilityType = exports.RepaymentTypeDetails = exports.RepaymentFrequency = exports.Proportions = exports.InterestType = exports.ClearingFromOtherSource = void 0;
4
+ var ClearingFromOtherSource;
5
+ (function (ClearingFromOtherSource) {
6
+ ClearingFromOtherSource["PayingOut"] = "PAYING_OUT";
7
+ ClearingFromOtherSource["Reducing"] = "REDUCING";
8
+ })(ClearingFromOtherSource = exports.ClearingFromOtherSource || (exports.ClearingFromOtherSource = {}));
9
+ var InterestType;
10
+ (function (InterestType) {
11
+ InterestType["FixedRate"] = "FIXED_RATE";
12
+ InterestType["Variable"] = "VARIABLE";
13
+ })(InterestType = exports.InterestType || (exports.InterestType = {}));
14
+ /**
15
+ * Indicate whether ownership proportions are equal, specified individually for each one or
16
+ * not specified.
17
+ */
18
+ var Proportions;
19
+ (function (Proportions) {
20
+ Proportions["Equal"] = "EQUAL";
21
+ Proportions["NotSpecified"] = "NOT_SPECIFIED";
22
+ Proportions["Specified"] = "SPECIFIED";
23
+ })(Proportions = exports.Proportions || (exports.Proportions = {}));
24
+ var RepaymentFrequency;
25
+ (function (RepaymentFrequency) {
26
+ RepaymentFrequency["Fortnightly"] = "FORTNIGHTLY";
27
+ RepaymentFrequency["Monthly"] = "MONTHLY";
28
+ RepaymentFrequency["Weekly"] = "WEEKLY";
29
+ RepaymentFrequency["Yearly"] = "YEARLY";
30
+ })(RepaymentFrequency = exports.RepaymentFrequency || (exports.RepaymentFrequency = {}));
31
+ var RepaymentTypeDetails;
32
+ (function (RepaymentTypeDetails) {
33
+ RepaymentTypeDetails["InterestOnly"] = "INTEREST_ONLY";
34
+ RepaymentTypeDetails["PrincipalAndInterest"] = "PRINCIPAL_AND_INTEREST";
35
+ })(RepaymentTypeDetails = exports.RepaymentTypeDetails || (exports.RepaymentTypeDetails = {}));
36
+ /**
37
+ * LEASE_OR_HIRE_FINANCE is deprecated.
38
+ */
39
+ var LiabilityType;
40
+ (function (LiabilityType) {
41
+ LiabilityType["CarLoan"] = "CAR_LOAN";
42
+ LiabilityType["CreditCard"] = "CREDIT_CARD";
43
+ LiabilityType["HelpHecsDebt"] = "HELP_HECS_DEBT";
44
+ LiabilityType["HirePurchase"] = "HIRE_PURCHASE";
45
+ LiabilityType["HomeLoan"] = "HOME_LOAN";
46
+ LiabilityType["Lease"] = "LEASE";
47
+ LiabilityType["LeaseOrHireFinance"] = "LEASE_OR_HIRE_FINANCE";
48
+ LiabilityType["LineOfCredit"] = "LINE_OF_CREDIT";
49
+ LiabilityType["Other"] = "OTHER";
50
+ LiabilityType["Overdraft"] = "OVERDRAFT";
51
+ LiabilityType["PersonalLoan"] = "PERSONAL_LOAN";
52
+ LiabilityType["ShortTermFinance"] = "SHORT_TERM_FINANCE";
53
+ LiabilityType["StoreCard"] = "STORE_CARD";
54
+ LiabilityType["TaxDebt"] = "TAX_DEBT";
55
+ })(LiabilityType = exports.LiabilityType || (exports.LiabilityType = {}));
56
+ /**
57
+ * role of the user that made the action
58
+ */
59
+ var ActionedByRole;
60
+ (function (ActionedByRole) {
61
+ ActionedByRole["Customer"] = "customer";
62
+ ActionedByRole["Team"] = "team";
63
+ })(ActionedByRole = exports.ActionedByRole || (exports.ActionedByRole = {}));
64
+ var Type;
65
+ (function (Type) {
66
+ Type["LiabilityCreated"] = "LiabilityCreated";
67
+ Type["LiabilityUpdated"] = "LiabilityUpdated";
68
+ })(Type = exports.Type || (exports.Type = {}));
@@ -0,0 +1,374 @@
1
+ /**
2
+ * The Required Document event schema
3
+ */
4
+ export interface PublicRequiredDocument {
5
+ payload: Payload;
6
+ type: Type;
7
+ /**
8
+ * schema version
9
+ */
10
+ version: string;
11
+ }
12
+ export interface Payload {
13
+ /**
14
+ * Application ID
15
+ */
16
+ applicantId: string;
17
+ /**
18
+ * Application ID
19
+ */
20
+ applicationId: string;
21
+ /**
22
+ * Created at ISO date time
23
+ */
24
+ createdAt?: string;
25
+ eConsent?: EConsent;
26
+ /**
27
+ * Expiry Date (can be null if no expiry date set)
28
+ */
29
+ expiryDate?: null | string;
30
+ /**
31
+ * Required Document ID
32
+ */
33
+ id: string;
34
+ identification?: Identification;
35
+ /**
36
+ * Status
37
+ */
38
+ status?: Status;
39
+ }
40
+ export interface EConsent {
41
+ /**
42
+ * Consented at ISO date time
43
+ */
44
+ consentedAt?: string;
45
+ /**
46
+ * eConsent
47
+ */
48
+ hasConsented: boolean;
49
+ }
50
+ export interface Identification {
51
+ /**
52
+ * Australian State (can be null as it is an optional field)
53
+ */
54
+ australianState?: AustralianState | null;
55
+ /**
56
+ * Gender (can be null if migrated from SF as they do not have this field)
57
+ */
58
+ gender?: Gender | null;
59
+ /**
60
+ * ID First Name
61
+ */
62
+ idFirstName?: string;
63
+ /**
64
+ * ID Last Name
65
+ */
66
+ idLastName?: string;
67
+ /**
68
+ * ID Middle Name (can be null as it is an optional field)
69
+ */
70
+ idMiddleName?: null | string;
71
+ /**
72
+ * ID Number
73
+ */
74
+ idNumber: string;
75
+ /**
76
+ * ID Title (can be null if migrated from SF as they do not have this field)
77
+ */
78
+ idTitle?: IDTitle | null;
79
+ /**
80
+ * ID Type
81
+ */
82
+ idType: IDType;
83
+ /**
84
+ * Issuing Country (can be null as it is an optional field)
85
+ */
86
+ issuingCountry?: IssuingCountry | null;
87
+ }
88
+ export declare enum AustralianState {
89
+ Act = "ACT",
90
+ NT = "NT",
91
+ Nsw = "NSW",
92
+ Qld = "QLD",
93
+ Sa = "SA",
94
+ Tas = "TAS",
95
+ Vic = "VIC",
96
+ Wa = "WA"
97
+ }
98
+ export declare enum Gender {
99
+ Female = "FEMALE",
100
+ Male = "MALE"
101
+ }
102
+ export declare enum IDTitle {
103
+ DR = "DR",
104
+ MS = "MS",
105
+ Miss = "MISS",
106
+ Mr = "MR",
107
+ Mrs = "MRS",
108
+ Other = "OTHER",
109
+ Unknown = "UNKNOWN"
110
+ }
111
+ /**
112
+ * ID Type
113
+ */
114
+ export declare enum IDType {
115
+ AustralianDriverLicense = "australian_driver_license",
116
+ NationalIDCard = "national_id_card",
117
+ Passport = "passport"
118
+ }
119
+ export declare enum IssuingCountry {
120
+ Afghanistan = "Afghanistan",
121
+ Albania = "Albania",
122
+ Algeria = "Algeria",
123
+ AmericanSamoa = "American Samoa",
124
+ Andorra = "Andorra",
125
+ Angola = "Angola",
126
+ Anguilla = "Anguilla",
127
+ Antarctica = "Antarctica",
128
+ AntiguaAndBarbuda = "Antigua And Barbuda",
129
+ Argentina = "Argentina",
130
+ Armenia = "Armenia",
131
+ Aruba = "Aruba",
132
+ Australia = "Australia",
133
+ Austria = "Austria",
134
+ Azerbaijan = "Azerbaijan",
135
+ Bahamas = "Bahamas",
136
+ Bahrain = "Bahrain",
137
+ Bangladesh = "Bangladesh",
138
+ Barbados = "Barbados",
139
+ Belarus = "Belarus",
140
+ Belgium = "Belgium",
141
+ Belize = "Belize",
142
+ Benin = "Benin",
143
+ Bermuda = "Bermuda",
144
+ Bhutan = "Bhutan",
145
+ Bolivia = "Bolivia",
146
+ BosniaAndHerzegovina = "Bosnia And Herzegovina",
147
+ Botswana = "Botswana",
148
+ BouvetIsland = "Bouvet Island",
149
+ Brazil = "Brazil",
150
+ BritishIndianOceanTerritory = "British Indian Ocean Territory",
151
+ BritishVirginIslands = "British Virgin Islands",
152
+ BruneiDarussalam = "Brunei Darussalam",
153
+ Bulgaria = "Bulgaria",
154
+ BurkinaFaso = "Burkina Faso",
155
+ Burundi = "Burundi",
156
+ Cambodia = "Cambodia",
157
+ Cameroon = "Cameroon",
158
+ Canada = "Canada",
159
+ CapeVerde = "Cape Verde",
160
+ CaymanIslands = "Cayman Islands",
161
+ CentralAfricanRepublic = "Central African Republic",
162
+ Chad = "Chad",
163
+ Chile = "Chile",
164
+ China = "China",
165
+ ChristmasIsland = "Christmas Island",
166
+ CocosKeelingIslands = "Cocos (Keeling) Islands",
167
+ Colombia = "Colombia",
168
+ Comoros = "Comoros",
169
+ CookIslands = "Cook Islands",
170
+ CostaRica = "Costa Rica",
171
+ CoteDIvoire = "Cote D'ivoire",
172
+ Croatia = "Croatia",
173
+ Cuba = "Cuba",
174
+ Cyprus = "Cyprus",
175
+ CzechRepublic = "Czech Republic",
176
+ DemocraticPeopleSRepublicOfKorea = "Democratic People's Republic of Korea",
177
+ DemocraticRepublicOfTheCongo = "Democratic Republic Of The Congo",
178
+ Denmark = "Denmark",
179
+ Djibouti = "Djibouti",
180
+ Dominica = "Dominica",
181
+ DominicanRepublic = "Dominican Republic",
182
+ EastTimor = "East Timor",
183
+ Ecuador = "Ecuador",
184
+ Egypt = "Egypt",
185
+ ElSalvador = "El Salvador",
186
+ EquatorialGuinea = "Equatorial Guinea",
187
+ Eritrea = "Eritrea",
188
+ Estonia = "Estonia",
189
+ Ethiopia = "Ethiopia",
190
+ FalklandIslands = "Falkland Islands",
191
+ FaroeIslands = "Faroe Islands",
192
+ FederatedStatesOfMicronesia = "Federated States Of Micronesia",
193
+ Fiji = "Fiji",
194
+ Finland = "Finland",
195
+ France = "France",
196
+ FrenchGuiana = "French Guiana",
197
+ FrenchPolynesia = "French Polynesia",
198
+ FrenchSouthernTerritories = "French Southern Territories",
199
+ Gabon = "Gabon",
200
+ Gambia = "Gambia",
201
+ Georgia = "Georgia",
202
+ Germany = "Germany",
203
+ Ghana = "Ghana",
204
+ Gibraltar = "Gibraltar",
205
+ Greece = "Greece",
206
+ Greenland = "Greenland",
207
+ Grenada = "Grenada",
208
+ Guadeloupe = "Guadeloupe",
209
+ Guam = "Guam",
210
+ Guatemala = "Guatemala",
211
+ Guinea = "Guinea",
212
+ GuineaBissau = "Guinea-bissau",
213
+ Guyana = "Guyana",
214
+ Haiti = "Haiti",
215
+ HeardIslandAndMcdonaldIslands = "Heard Island And Mcdonald Islands",
216
+ HolySeeVaticanCityState = "Holy See (Vatican City State)",
217
+ Honduras = "Honduras",
218
+ HongKong = "Hong Kong",
219
+ Hungary = "Hungary",
220
+ Iceland = "Iceland",
221
+ India = "India",
222
+ Indonesia = "Indonesia",
223
+ Iran = "Iran",
224
+ Iraq = "Iraq",
225
+ Ireland = "Ireland",
226
+ Israel = "Israel",
227
+ Italy = "Italy",
228
+ Jamaica = "Jamaica",
229
+ Japan = "Japan",
230
+ Jordan = "Jordan",
231
+ Kazakstan = "Kazakstan",
232
+ Kenya = "Kenya",
233
+ Kiribati = "Kiribati",
234
+ Kosovo = "Kosovo",
235
+ Kuwait = "Kuwait",
236
+ Kyrgyzstan = "Kyrgyzstan",
237
+ Laos = "Laos",
238
+ Latvia = "Latvia",
239
+ Lebanon = "Lebanon",
240
+ Lesotho = "Lesotho",
241
+ Liberia = "Liberia",
242
+ LibyanArabJamahiriya = "Libyan Arab Jamahiriya",
243
+ Liechtenstein = "Liechtenstein",
244
+ Lithuania = "Lithuania",
245
+ Luxembourg = "Luxembourg",
246
+ Macau = "Macau",
247
+ Macedonia = "Macedonia",
248
+ Madagascar = "Madagascar",
249
+ Malawi = "Malawi",
250
+ Malaysia = "Malaysia",
251
+ Maldives = "Maldives",
252
+ Mali = "Mali",
253
+ Malta = "Malta",
254
+ MarshallIslands = "Marshall Islands",
255
+ Martinique = "Martinique",
256
+ Mauritania = "Mauritania",
257
+ Mauritius = "Mauritius",
258
+ Mayotte = "Mayotte",
259
+ Mexico = "Mexico",
260
+ Monaco = "Monaco",
261
+ Mongolia = "Mongolia",
262
+ Montenegro = "Montenegro",
263
+ Montserrat = "Montserrat",
264
+ Morocco = "Morocco",
265
+ Mozambique = "Mozambique",
266
+ Myanmar = "Myanmar",
267
+ Namibia = "Namibia",
268
+ Nauru = "Nauru",
269
+ Nepal = "Nepal",
270
+ Netherlands = "Netherlands",
271
+ NetherlandsAntilles = "Netherlands Antilles",
272
+ NewCaledonia = "New Caledonia",
273
+ NewZealand = "New Zealand",
274
+ Nicaragua = "Nicaragua",
275
+ Niger = "Niger",
276
+ Nigeria = "Nigeria",
277
+ Niue = "Niue",
278
+ NorfolkIsland = "Norfolk Island",
279
+ NorthernMarianaIslands = "Northern Mariana Islands",
280
+ Norway = "Norway",
281
+ Oman = "Oman",
282
+ Pakistan = "Pakistan",
283
+ Palau = "Palau",
284
+ PalestinianTerritory = "Palestinian Territory",
285
+ Panama = "Panama",
286
+ PapuaNewGuinea = "Papua New Guinea",
287
+ Paraguay = "Paraguay",
288
+ Peru = "Peru",
289
+ Philippines = "Philippines",
290
+ Pitcairn = "Pitcairn",
291
+ Poland = "Poland",
292
+ Portugal = "Portugal",
293
+ PuertoRico = "Puerto Rico",
294
+ Qatar = "Qatar",
295
+ RepublicOfMoldova = "Republic Of Moldova",
296
+ Romania = "Romania",
297
+ RussianFederation = "Russian Federation",
298
+ Rwanda = "Rwanda",
299
+ SANMarino = "San Marino",
300
+ SaintHelena = "Saint Helena",
301
+ SaintKittsAndNevis = "Saint Kitts And Nevis",
302
+ SaintLucia = "Saint Lucia",
303
+ SaintPierreAndMiquelon = "Saint Pierre And Miquelon",
304
+ SaintVincentAndTheGrenadines = "Saint Vincent And The Grenadines",
305
+ Samoa = "Samoa",
306
+ SaoTomeAndPrincipe = "Sao Tome And Principe",
307
+ SaudiArabia = "Saudi Arabia",
308
+ Senegal = "Senegal",
309
+ Serbia = "Serbia",
310
+ Seychelles = "Seychelles",
311
+ SierraLeone = "Sierra Leone",
312
+ Singapore = "Singapore",
313
+ Slovakia = "Slovakia",
314
+ Slovenia = "Slovenia",
315
+ SolomonIslands = "Solomon Islands",
316
+ Somalia = "Somalia",
317
+ SouthAfrica = "South Africa",
318
+ SouthGeorgiaAndTheSouthSandwichIslands = "South Georgia And The South Sandwich Islands",
319
+ Spain = "Spain",
320
+ SriLanka = "Sri Lanka",
321
+ Sudan = "Sudan",
322
+ Suriname = "Suriname",
323
+ SvalbardAndJanMayen = "Svalbard And Jan Mayen",
324
+ Swaziland = "Swaziland",
325
+ Sweden = "Sweden",
326
+ Switzerland = "Switzerland",
327
+ SyrianArabRepublic = "Syrian Arab Republic",
328
+ Taiwan = "Taiwan",
329
+ Tajikistan = "Tajikistan",
330
+ Tanzania = "Tanzania",
331
+ Thailand = "Thailand",
332
+ TheRepublicOfSouthKorea = "The Republic of South Korea",
333
+ Togo = "Togo",
334
+ Tokelau = "Tokelau",
335
+ Tonga = "Tonga",
336
+ TrinidadAndTobago = "Trinidad And Tobago",
337
+ Tunisia = "Tunisia",
338
+ Turkey = "Turkey",
339
+ Turkmenistan = "Turkmenistan",
340
+ TurksAndCaicosIslands = "Turks And Caicos Islands",
341
+ Tuvalu = "Tuvalu",
342
+ USVirginIslands = "US Virgin Islands",
343
+ Uganda = "Uganda",
344
+ Ukraine = "Ukraine",
345
+ UnitedArabEmirates = "United Arab Emirates",
346
+ UnitedKingdom = "United Kingdom",
347
+ UnitedStatesMinorOutlyingIslands = "United States Minor Outlying Islands",
348
+ UnitedStatesOfAmerica = "United States of America",
349
+ Uruguay = "Uruguay",
350
+ Uzbekistan = "Uzbekistan",
351
+ Vanuatu = "Vanuatu",
352
+ Venezuela = "Venezuela",
353
+ Vietnam = "Vietnam",
354
+ WallisAndFutuna = "Wallis And Futuna",
355
+ WesternSahara = "Western Sahara",
356
+ Yemen = "Yemen",
357
+ Zambia = "Zambia",
358
+ Zimbabwe = "Zimbabwe"
359
+ }
360
+ /**
361
+ * Status
362
+ */
363
+ export declare enum Status {
364
+ Expired = "expired",
365
+ FailedVerification = "failed_verification",
366
+ NotRequired = "not_required",
367
+ PendingUpload = "pending_upload",
368
+ PendingVerification = "pending_verification",
369
+ Verified = "verified"
370
+ }
371
+ export declare enum Type {
372
+ RequiredDocumentCreated = "RequiredDocumentCreated",
373
+ RequiredDocumentUpdated = "RequiredDocumentUpdated"
374
+ }