@naturalpay/sdk 1.2.5 → 1.2.6
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/customers/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/customers/client/Client.js +1 -0
- package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +4 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.ts +7 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.ts +200 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js +203 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.js +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.ts +200 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js +203 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.js +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.js +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.js +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.d.ts +200 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.js +203 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.d.ts +200 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.js +203 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.d.ts +200 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.js +203 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.js +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.js +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.d.ts +200 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.js +203 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.js +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.d.ts +200 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.js +203 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.d.ts +1 -1
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.js +1 -1
- package/dist/cjs/api/resources/customers/types/CustomerInvitationAddress.d.ts +11 -2
- package/dist/cjs/api/resources/customers/types/CustomerInvitationBeneficialOwner.d.ts +12 -5
- package/dist/cjs/api/resources/customers/types/CustomerInvitationBusiness.d.ts +14 -4
- package/dist/cjs/api/resources/customers/types/CustomerInvitationIndividual.d.ts +7 -9
- package/dist/cjs/api/resources/customers/types/index.d.ts +7 -1
- package/dist/cjs/api/resources/customers/types/index.js +7 -1
- package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.js +1 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.ts +3 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.js +3 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js +236 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js +236 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.js +236 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.js +236 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.js +236 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.js +236 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.d.ts +7 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.js +236 -0
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationAddress.d.ts +2 -1
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationAddress.js +2 -1
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.d.ts +2 -1
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.js +2 -1
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBusiness.d.ts +2 -3
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBusiness.js +4 -3
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationIndividual.d.ts +2 -5
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationIndividual.js +2 -5
- package/dist/cjs/serialization/resources/customers/types/index.d.ts +7 -1
- package/dist/cjs/serialization/resources/customers/types/index.js +7 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/customers/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/customers/client/Client.mjs +1 -0
- package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +4 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.mts +7 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.mts +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.mts +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.d.mts +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.d.mts +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.mjs +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.d.mts +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.mjs +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.d.mts +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.mjs +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.d.mts +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.mjs +200 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.d.mts +1 -1
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.mjs +1 -1
- package/dist/esm/api/resources/customers/types/CustomerInvitationAddress.d.mts +11 -2
- package/dist/esm/api/resources/customers/types/CustomerInvitationBeneficialOwner.d.mts +12 -5
- package/dist/esm/api/resources/customers/types/CustomerInvitationBusiness.d.mts +14 -4
- package/dist/esm/api/resources/customers/types/CustomerInvitationIndividual.d.mts +7 -9
- package/dist/esm/api/resources/customers/types/index.d.mts +7 -1
- package/dist/esm/api/resources/customers/types/index.mjs +7 -1
- package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.mjs +1 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.mts +3 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.mjs +3 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs +200 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs +200 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs +200 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.mjs +200 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.mjs +200 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.mjs +200 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.d.mts +7 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.mjs +200 -0
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationAddress.d.mts +2 -1
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationAddress.mjs +2 -1
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.d.mts +2 -1
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.mjs +2 -1
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationBusiness.d.mts +2 -3
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationBusiness.mjs +4 -3
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationIndividual.d.mts +2 -5
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationIndividual.mjs +2 -5
- package/dist/esm/serialization/resources/customers/types/index.d.mts +7 -1
- package/dist/esm/serialization/resources/customers/types/index.mjs +7 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1 -0
- package/dist/cjs/api/resources/customers/types/CustomerInvitationRepresentative.d.ts +0 -6
- package/dist/cjs/api/resources/customers/types/CustomerInvitationRepresentative.js +0 -3
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationRepresentative.d.ts +0 -12
- package/dist/cjs/serialization/resources/customers/types/CustomerInvitationRepresentative.js +0 -44
- package/dist/esm/api/resources/customers/types/CustomerInvitationRepresentative.d.mts +0 -6
- package/dist/esm/api/resources/customers/types/CustomerInvitationRepresentative.mjs +0 -2
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationRepresentative.d.mts +0 -12
- package/dist/esm/serialization/resources/customers/types/CustomerInvitationRepresentative.mjs +0 -8
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship = core.serialization.enum_([
|
|
40
|
+
"US",
|
|
41
|
+
"AF",
|
|
42
|
+
"AL",
|
|
43
|
+
"DZ",
|
|
44
|
+
"AD",
|
|
45
|
+
"AO",
|
|
46
|
+
"AG",
|
|
47
|
+
"AR",
|
|
48
|
+
"AM",
|
|
49
|
+
"AU",
|
|
50
|
+
"AT",
|
|
51
|
+
"AZ",
|
|
52
|
+
"BS",
|
|
53
|
+
"BH",
|
|
54
|
+
"BD",
|
|
55
|
+
"BB",
|
|
56
|
+
"BY",
|
|
57
|
+
"BE",
|
|
58
|
+
"BZ",
|
|
59
|
+
"BJ",
|
|
60
|
+
"BT",
|
|
61
|
+
"BO",
|
|
62
|
+
"BA",
|
|
63
|
+
"BW",
|
|
64
|
+
"BR",
|
|
65
|
+
"BN",
|
|
66
|
+
"BG",
|
|
67
|
+
"BF",
|
|
68
|
+
"BI",
|
|
69
|
+
"CV",
|
|
70
|
+
"KH",
|
|
71
|
+
"CM",
|
|
72
|
+
"CA",
|
|
73
|
+
"CF",
|
|
74
|
+
"TD",
|
|
75
|
+
"CL",
|
|
76
|
+
"CN",
|
|
77
|
+
"CO",
|
|
78
|
+
"KM",
|
|
79
|
+
"CG",
|
|
80
|
+
"CD",
|
|
81
|
+
"CR",
|
|
82
|
+
"CI",
|
|
83
|
+
"HR",
|
|
84
|
+
"CU",
|
|
85
|
+
"CY",
|
|
86
|
+
"CZ",
|
|
87
|
+
"DK",
|
|
88
|
+
"DJ",
|
|
89
|
+
"DM",
|
|
90
|
+
"DO",
|
|
91
|
+
"EC",
|
|
92
|
+
"EG",
|
|
93
|
+
"SV",
|
|
94
|
+
"GQ",
|
|
95
|
+
"ER",
|
|
96
|
+
"EE",
|
|
97
|
+
"SZ",
|
|
98
|
+
"ET",
|
|
99
|
+
"FJ",
|
|
100
|
+
"FI",
|
|
101
|
+
"FR",
|
|
102
|
+
"GA",
|
|
103
|
+
"GM",
|
|
104
|
+
"GE",
|
|
105
|
+
"DE",
|
|
106
|
+
"GH",
|
|
107
|
+
"GR",
|
|
108
|
+
"GD",
|
|
109
|
+
"GT",
|
|
110
|
+
"GN",
|
|
111
|
+
"GW",
|
|
112
|
+
"GY",
|
|
113
|
+
"HT",
|
|
114
|
+
"VA",
|
|
115
|
+
"HN",
|
|
116
|
+
"HU",
|
|
117
|
+
"IS",
|
|
118
|
+
"IN",
|
|
119
|
+
"ID",
|
|
120
|
+
"IR",
|
|
121
|
+
"IQ",
|
|
122
|
+
"IE",
|
|
123
|
+
"IL",
|
|
124
|
+
"IT",
|
|
125
|
+
"JM",
|
|
126
|
+
"JP",
|
|
127
|
+
"JO",
|
|
128
|
+
"KZ",
|
|
129
|
+
"KE",
|
|
130
|
+
"KI",
|
|
131
|
+
"KP",
|
|
132
|
+
"KR",
|
|
133
|
+
"KW",
|
|
134
|
+
"KG",
|
|
135
|
+
"LA",
|
|
136
|
+
"LV",
|
|
137
|
+
"LB",
|
|
138
|
+
"LS",
|
|
139
|
+
"LR",
|
|
140
|
+
"LY",
|
|
141
|
+
"LI",
|
|
142
|
+
"LT",
|
|
143
|
+
"LU",
|
|
144
|
+
"MG",
|
|
145
|
+
"MW",
|
|
146
|
+
"MY",
|
|
147
|
+
"MV",
|
|
148
|
+
"ML",
|
|
149
|
+
"MT",
|
|
150
|
+
"MH",
|
|
151
|
+
"MR",
|
|
152
|
+
"MU",
|
|
153
|
+
"MX",
|
|
154
|
+
"FM",
|
|
155
|
+
"MD",
|
|
156
|
+
"MC",
|
|
157
|
+
"MN",
|
|
158
|
+
"ME",
|
|
159
|
+
"MA",
|
|
160
|
+
"MZ",
|
|
161
|
+
"MM",
|
|
162
|
+
"NA",
|
|
163
|
+
"NR",
|
|
164
|
+
"NP",
|
|
165
|
+
"NL",
|
|
166
|
+
"NZ",
|
|
167
|
+
"NI",
|
|
168
|
+
"NE",
|
|
169
|
+
"NG",
|
|
170
|
+
"MK",
|
|
171
|
+
"NO",
|
|
172
|
+
"OM",
|
|
173
|
+
"PK",
|
|
174
|
+
"PW",
|
|
175
|
+
"PS",
|
|
176
|
+
"PA",
|
|
177
|
+
"PG",
|
|
178
|
+
"PY",
|
|
179
|
+
"PE",
|
|
180
|
+
"PH",
|
|
181
|
+
"PL",
|
|
182
|
+
"PT",
|
|
183
|
+
"QA",
|
|
184
|
+
"RO",
|
|
185
|
+
"RU",
|
|
186
|
+
"RW",
|
|
187
|
+
"KN",
|
|
188
|
+
"LC",
|
|
189
|
+
"VC",
|
|
190
|
+
"WS",
|
|
191
|
+
"SM",
|
|
192
|
+
"ST",
|
|
193
|
+
"SA",
|
|
194
|
+
"SN",
|
|
195
|
+
"RS",
|
|
196
|
+
"SC",
|
|
197
|
+
"SL",
|
|
198
|
+
"SG",
|
|
199
|
+
"SK",
|
|
200
|
+
"SI",
|
|
201
|
+
"SB",
|
|
202
|
+
"SO",
|
|
203
|
+
"ZA",
|
|
204
|
+
"SS",
|
|
205
|
+
"ES",
|
|
206
|
+
"LK",
|
|
207
|
+
"SD",
|
|
208
|
+
"SR",
|
|
209
|
+
"SE",
|
|
210
|
+
"CH",
|
|
211
|
+
"SY",
|
|
212
|
+
"TW",
|
|
213
|
+
"TJ",
|
|
214
|
+
"TZ",
|
|
215
|
+
"TH",
|
|
216
|
+
"TL",
|
|
217
|
+
"TG",
|
|
218
|
+
"TO",
|
|
219
|
+
"TT",
|
|
220
|
+
"TN",
|
|
221
|
+
"TR",
|
|
222
|
+
"TM",
|
|
223
|
+
"TV",
|
|
224
|
+
"UG",
|
|
225
|
+
"UA",
|
|
226
|
+
"AE",
|
|
227
|
+
"GB",
|
|
228
|
+
"UY",
|
|
229
|
+
"UZ",
|
|
230
|
+
"VU",
|
|
231
|
+
"VE",
|
|
232
|
+
"VN",
|
|
233
|
+
"YE",
|
|
234
|
+
"ZM",
|
|
235
|
+
"ZW",
|
|
236
|
+
]);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Natural from "../../../../api/index.js";
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js";
|
|
4
5
|
export declare const CustomerInvitationAddress: core.serialization.ObjectSchema<serializers.CustomerInvitationAddress.Raw, Natural.CustomerInvitationAddress>;
|
|
5
6
|
export declare namespace CustomerInvitationAddress {
|
|
6
7
|
interface Raw {
|
|
@@ -9,6 +10,6 @@ export declare namespace CustomerInvitationAddress {
|
|
|
9
10
|
city?: string | null;
|
|
10
11
|
subdivision?: string | null;
|
|
11
12
|
postalCode?: string | null;
|
|
12
|
-
country?:
|
|
13
|
+
country?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.Raw | null;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -36,11 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.CustomerInvitationAddress = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js");
|
|
39
40
|
exports.CustomerInvitationAddress = core.serialization.object({
|
|
40
41
|
streetLine1: core.serialization.string().optional(),
|
|
41
42
|
streetLine2: core.serialization.string().optional(),
|
|
42
43
|
city: core.serialization.string().optional(),
|
|
43
44
|
subdivision: core.serialization.string().optional(),
|
|
44
45
|
postalCode: core.serialization.string().optional(),
|
|
45
|
-
country:
|
|
46
|
+
country: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry_js_1.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.optional(),
|
|
46
47
|
});
|
package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type * as Natural from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.js";
|
|
5
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js";
|
|
5
6
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.js";
|
|
6
7
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.js";
|
|
7
8
|
import { CustomerInvitationAddress } from "./CustomerInvitationAddress.js";
|
|
@@ -16,7 +17,7 @@ export declare namespace CustomerInvitationBeneficialOwner {
|
|
|
16
17
|
address?: CustomerInvitationAddress.Raw | null;
|
|
17
18
|
ownershipPercentage?: number | null;
|
|
18
19
|
title?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.Raw | null;
|
|
19
|
-
countryOfCitizenship?:
|
|
20
|
+
countryOfCitizenship?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.Raw | null;
|
|
20
21
|
employmentStatus?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.Raw | null;
|
|
21
22
|
annualIncome?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.Raw | null;
|
|
22
23
|
}
|
package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.js
CHANGED
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CustomerInvitationBeneficialOwner = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.js");
|
|
40
|
+
const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js");
|
|
40
41
|
const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.js");
|
|
41
42
|
const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.js");
|
|
42
43
|
const CustomerInvitationAddress_js_1 = require("./CustomerInvitationAddress.js");
|
|
@@ -49,7 +50,7 @@ exports.CustomerInvitationBeneficialOwner = core.serialization.object({
|
|
|
49
50
|
address: CustomerInvitationAddress_js_1.CustomerInvitationAddress.optional(),
|
|
50
51
|
ownershipPercentage: core.serialization.number().optional(),
|
|
51
52
|
title: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle_js_1.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.optional(),
|
|
52
|
-
countryOfCitizenship:
|
|
53
|
+
countryOfCitizenship: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship_js_1.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.optional(),
|
|
53
54
|
employmentStatus: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus_js_1.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.optional(),
|
|
54
55
|
annualIncome: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome_js_1.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.optional(),
|
|
55
56
|
});
|
|
@@ -2,14 +2,13 @@ import type * as Natural from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.js";
|
|
5
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.js";
|
|
5
6
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.js";
|
|
6
7
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.js";
|
|
7
8
|
import { CustomerInvitationAddress } from "./CustomerInvitationAddress.js";
|
|
8
|
-
import { CustomerInvitationRepresentative } from "./CustomerInvitationRepresentative.js";
|
|
9
9
|
export declare const CustomerInvitationBusiness: core.serialization.ObjectSchema<serializers.CustomerInvitationBusiness.Raw, Natural.CustomerInvitationBusiness>;
|
|
10
10
|
export declare namespace CustomerInvitationBusiness {
|
|
11
11
|
interface Raw {
|
|
12
|
-
representative?: CustomerInvitationRepresentative.Raw | null;
|
|
13
12
|
legalName?: string | null;
|
|
14
13
|
displayName?: string | null;
|
|
15
14
|
website?: string | null;
|
|
@@ -22,6 +21,6 @@ export declare namespace CustomerInvitationBusiness {
|
|
|
22
21
|
registeredAddress?: CustomerInvitationAddress.Raw | null;
|
|
23
22
|
physicalAddress?: CustomerInvitationAddress.Raw | null;
|
|
24
23
|
sourceOfFunds?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.Raw[] | null;
|
|
25
|
-
countriesOfOperations?:
|
|
24
|
+
countriesOfOperations?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.Raw[] | null;
|
|
26
25
|
}
|
|
27
26
|
}
|
|
@@ -37,12 +37,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CustomerInvitationBusiness = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.js");
|
|
40
|
+
const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.js");
|
|
40
41
|
const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.js");
|
|
41
42
|
const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.js");
|
|
42
43
|
const CustomerInvitationAddress_js_1 = require("./CustomerInvitationAddress.js");
|
|
43
|
-
const CustomerInvitationRepresentative_js_1 = require("./CustomerInvitationRepresentative.js");
|
|
44
44
|
exports.CustomerInvitationBusiness = core.serialization.object({
|
|
45
|
-
representative: CustomerInvitationRepresentative_js_1.CustomerInvitationRepresentative.optional(),
|
|
46
45
|
legalName: core.serialization.string().optional(),
|
|
47
46
|
displayName: core.serialization.string().optional(),
|
|
48
47
|
website: core.serialization.string().optional(),
|
|
@@ -57,5 +56,7 @@ exports.CustomerInvitationBusiness = core.serialization.object({
|
|
|
57
56
|
sourceOfFunds: core.serialization
|
|
58
57
|
.list(CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem_js_1.CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem)
|
|
59
58
|
.optional(),
|
|
60
|
-
countriesOfOperations: core.serialization
|
|
59
|
+
countriesOfOperations: core.serialization
|
|
60
|
+
.list(CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem_js_1.CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem)
|
|
61
|
+
.optional(),
|
|
61
62
|
});
|
|
@@ -2,18 +2,15 @@ import type * as Natural from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.js";
|
|
5
|
+
import { CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.js";
|
|
5
6
|
import { CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.js";
|
|
6
7
|
import { CustomerInvitationAddress } from "./CustomerInvitationAddress.js";
|
|
7
8
|
export declare const CustomerInvitationIndividual: core.serialization.ObjectSchema<serializers.CustomerInvitationIndividual.Raw, Natural.CustomerInvitationIndividual>;
|
|
8
9
|
export declare namespace CustomerInvitationIndividual {
|
|
9
10
|
interface Raw {
|
|
10
|
-
firstName?: string | null;
|
|
11
|
-
lastName?: string | null;
|
|
12
|
-
email?: string | null;
|
|
13
|
-
phone?: string | null;
|
|
14
11
|
dateOfBirth?: string | null;
|
|
15
12
|
address?: CustomerInvitationAddress.Raw | null;
|
|
16
|
-
countryOfCitizenship?:
|
|
13
|
+
countryOfCitizenship?: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.Raw | null;
|
|
17
14
|
employmentStatus?: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.Raw | null;
|
|
18
15
|
annualIncome?: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.Raw | null;
|
|
19
16
|
}
|
|
@@ -37,16 +37,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CustomerInvitationIndividual = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.js");
|
|
40
|
+
const CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.js");
|
|
40
41
|
const CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus_js_1 = require("./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.js");
|
|
41
42
|
const CustomerInvitationAddress_js_1 = require("./CustomerInvitationAddress.js");
|
|
42
43
|
exports.CustomerInvitationIndividual = core.serialization.object({
|
|
43
|
-
firstName: core.serialization.string().optional(),
|
|
44
|
-
lastName: core.serialization.string().optional(),
|
|
45
|
-
email: core.serialization.string().optional(),
|
|
46
|
-
phone: core.serialization.string().optional(),
|
|
47
44
|
dateOfBirth: core.serialization.string().optional(),
|
|
48
45
|
address: CustomerInvitationAddress_js_1.CustomerInvitationAddress.optional(),
|
|
49
|
-
countryOfCitizenship:
|
|
46
|
+
countryOfCitizenship: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship_js_1.CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.optional(),
|
|
50
47
|
employmentStatus: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus_js_1.CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.optional(),
|
|
51
48
|
annualIncome: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome_js_1.CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.optional(),
|
|
52
49
|
});
|
|
@@ -4,13 +4,20 @@ export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js";
|
|
|
4
4
|
export * from "./CreateInvitationsCustomersRequestDisableNotificationsItem.js";
|
|
5
5
|
export * from "./CreateInvitationsCustomersRequestRecipientsItem.js";
|
|
6
6
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmail.js";
|
|
7
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js";
|
|
7
8
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.js";
|
|
9
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js";
|
|
8
10
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.js";
|
|
9
11
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.js";
|
|
10
12
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.js";
|
|
13
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.js";
|
|
14
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.js";
|
|
15
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.js";
|
|
11
16
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.js";
|
|
12
17
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.js";
|
|
18
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.js";
|
|
13
19
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.js";
|
|
20
|
+
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.js";
|
|
14
21
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.js";
|
|
15
22
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemPartyId.js";
|
|
16
23
|
export * from "./CreateInvitationsCustomersRequestRecipientsItemPhone.js";
|
|
@@ -50,7 +57,6 @@ export * from "./CustomerInvitationAddress.js";
|
|
|
50
57
|
export * from "./CustomerInvitationBeneficialOwner.js";
|
|
51
58
|
export * from "./CustomerInvitationBusiness.js";
|
|
52
59
|
export * from "./CustomerInvitationIndividual.js";
|
|
53
|
-
export * from "./CustomerInvitationRepresentative.js";
|
|
54
60
|
export * from "./CustomerKind.js";
|
|
55
61
|
export * from "./CustomerMeta.js";
|
|
56
62
|
export * from "./CustomerPaging.js";
|
|
@@ -20,13 +20,20 @@ __exportStar(require("./CreateInvitationsCustomersRequestAgentsItemPermissionsIt
|
|
|
20
20
|
__exportStar(require("./CreateInvitationsCustomersRequestDisableNotificationsItem.js"), exports);
|
|
21
21
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItem.js"), exports);
|
|
22
22
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmail.js"), exports);
|
|
23
|
+
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js"), exports);
|
|
23
24
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.js"), exports);
|
|
25
|
+
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js"), exports);
|
|
24
26
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.js"), exports);
|
|
25
27
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.js"), exports);
|
|
26
28
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.js"), exports);
|
|
29
|
+
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.js"), exports);
|
|
30
|
+
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.js"), exports);
|
|
31
|
+
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.js"), exports);
|
|
27
32
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.js"), exports);
|
|
28
33
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.js"), exports);
|
|
34
|
+
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.js"), exports);
|
|
29
35
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.js"), exports);
|
|
36
|
+
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.js"), exports);
|
|
30
37
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.js"), exports);
|
|
31
38
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemPartyId.js"), exports);
|
|
32
39
|
__exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemPhone.js"), exports);
|
|
@@ -66,7 +73,6 @@ __exportStar(require("./CustomerInvitationAddress.js"), exports);
|
|
|
66
73
|
__exportStar(require("./CustomerInvitationBeneficialOwner.js"), exports);
|
|
67
74
|
__exportStar(require("./CustomerInvitationBusiness.js"), exports);
|
|
68
75
|
__exportStar(require("./CustomerInvitationIndividual.js"), exports);
|
|
69
|
-
__exportStar(require("./CustomerInvitationRepresentative.js"), exports);
|
|
70
76
|
__exportStar(require("./CustomerKind.js"), exports);
|
|
71
77
|
__exportStar(require("./CustomerMeta.js"), exports);
|
|
72
78
|
__exportStar(require("./CustomerPaging.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.6";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.2.
|
|
10
|
-
"User-Agent": "@naturalpay/sdk/1.2.
|
|
9
|
+
"X-Fern-SDK-Version": "1.2.6",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.2.6",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Agent-ID": options === null || options === void 0 ? void 0 : options.agentId,
|
|
@@ -127,6 +127,7 @@ export declare class CustomersClient {
|
|
|
127
127
|
* }
|
|
128
128
|
* }],
|
|
129
129
|
* expiresAt: new Date("2026-01-12T10:15:00.000Z"),
|
|
130
|
+
* message: "We use Natural to let our agents help manage payments for your business.",
|
|
130
131
|
* tags: {
|
|
131
132
|
* "campaign": "q3_reactivation"
|
|
132
133
|
* }
|
package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts
CHANGED
|
@@ -14,18 +14,21 @@ import type * as Natural from "../../../../index.mjs";
|
|
|
14
14
|
* }
|
|
15
15
|
* }],
|
|
16
16
|
* expiresAt: new Date("2026-01-12T10:15:00.000Z"),
|
|
17
|
+
* message: "We use Natural to let our agents help manage payments for your business.",
|
|
17
18
|
* tags: {
|
|
18
19
|
* "campaign": "q3_reactivation"
|
|
19
20
|
* }
|
|
20
21
|
* }
|
|
21
22
|
*/
|
|
22
23
|
export interface CreateInvitationsCustomersRequest {
|
|
23
|
-
/**
|
|
24
|
+
/** Each recipient is one of three shapes: an email recipient (which may carry onboarding details), a phone recipient, or an existing customer referenced by party ID. */
|
|
24
25
|
recipients: Natural.CreateInvitationsCustomersRequestRecipientsItem[];
|
|
25
26
|
/** Agents to grant access to. Each recipient receives an invitation for every agent listed. */
|
|
26
27
|
agents: Natural.CreateInvitationsCustomersRequestAgentsItem[];
|
|
27
28
|
/** When the invitation expires. Defaults to 30 days from now, up to a 90-day maximum. */
|
|
28
29
|
expiresAt?: Date;
|
|
30
|
+
/** Message stored with each recipient's invitation. The current invitation email does not include it. */
|
|
31
|
+
message?: string;
|
|
29
32
|
/** Tags applied to each invitation. */
|
|
30
33
|
tags?: Record<string, string>;
|
|
31
34
|
/** Natural notifications to disable for this request. "recipient" silences our message to the counterparty so you can deliver the returned link yourself; the person who initiated the request is always notified. Requires a delegated caller on payments and payment requests, which return 403 otherwise. Omit it, or send an empty array, to have Natural notify as usual. */
|
|
@@ -4,7 +4,13 @@ export interface CreateInvitationsCustomersRequestRecipientsItemEmail {
|
|
|
4
4
|
value: string;
|
|
5
5
|
/** Optional onboarding suggestion (account type). The customer reviews and confirms every value. */
|
|
6
6
|
accountType?: Natural.CustomerInvitationAccountType;
|
|
7
|
-
/**
|
|
7
|
+
/** Legal first name of the person signing up. */
|
|
8
|
+
firstName?: string;
|
|
9
|
+
/** Legal last name of the person signing up. */
|
|
10
|
+
lastName?: string;
|
|
11
|
+
/** Phone number of the person signing up (E.164). Pre-fills the personal details step. */
|
|
12
|
+
phone?: string;
|
|
13
|
+
/** Identity-verification details for individual accounts. */
|
|
8
14
|
individual?: Natural.CustomerInvitationIndividual;
|
|
9
15
|
/** Optional onboarding suggestion (business). The customer reviews and confirms every value. */
|
|
10
16
|
business?: Natural.CustomerInvitationBusiness;
|