@randock/nameshift-api-client 0.0.488 → 0.0.489

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.
@@ -91,6 +91,7 @@ src/models/AdminAccountSettingsInput.ts
91
91
  src/models/AdminAuctionCommissionByDateRangeInput.ts
92
92
  src/models/AdminAuctionConfigurationInput.ts
93
93
  src/models/AdminBankAccountDto.ts
94
+ src/models/AdminBankAccountNameCheckDto.ts
94
95
  src/models/AdminBankDepositAccountBankAccountDto.ts
95
96
  src/models/AdminBankDepositAccountDto.ts
96
97
  src/models/AdminBankDepositDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.488
1
+ ## @randock/nameshift-api-client@0.0.489
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.488 --save
39
+ npm install @randock/nameshift-api-client@0.0.489 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- bd8617713fa84b11f15b782d3e2bb30a0051314d15e6a9d1a3d39c631b91a5d464dee2e8c72fb46785fec2e358e61044
47
+ 6bc0a0755481a1ae596ce013f11a3614ef494885ad3e2357f6a73ad224aed19d1fc514ebfb290d4fabc4b18f5edfc99d
@@ -40,6 +40,12 @@ export interface AccountBankAccountDto {
40
40
  * @memberof AccountBankAccountDto
41
41
  */
42
42
  verificationStatus: AccountBankAccountDtoVerificationStatusEnum;
43
+ /**
44
+ * Where the check of the account holder's name with the seller's bank stands: checking while the bank is being asked, then what it answered. A pending account is best verified by micro-deposit only once the check is done. Null when the bank is not asked about this account.
45
+ * @type {string}
46
+ * @memberof AccountBankAccountDto
47
+ */
48
+ nameCheckStatus: AccountBankAccountDtoNameCheckStatusEnum | null;
43
49
  /**
44
50
  *
45
51
  * @type {AccountBankAccountDtoDetails}
@@ -56,6 +62,17 @@ export declare const AccountBankAccountDtoVerificationStatusEnum: {
56
62
  readonly REJECTED: "rejected";
57
63
  };
58
64
  export type AccountBankAccountDtoVerificationStatusEnum = typeof AccountBankAccountDtoVerificationStatusEnum[keyof typeof AccountBankAccountDtoVerificationStatusEnum];
65
+ /**
66
+ * @export
67
+ */
68
+ export declare const AccountBankAccountDtoNameCheckStatusEnum: {
69
+ readonly CHECKING: "checking";
70
+ readonly MATCHED: "matched";
71
+ readonly NOT_MATCHED: "not_matched";
72
+ readonly INVALID: "invalid";
73
+ readonly UNAVAILABLE: "unavailable";
74
+ };
75
+ export type AccountBankAccountDtoNameCheckStatusEnum = typeof AccountBankAccountDtoNameCheckStatusEnum[keyof typeof AccountBankAccountDtoNameCheckStatusEnum];
59
76
  /**
60
77
  * Check if a given object implements the AccountBankAccountDto interface.
61
78
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AccountBankAccountDtoVerificationStatusEnum = void 0;
16
+ exports.AccountBankAccountDtoNameCheckStatusEnum = exports.AccountBankAccountDtoVerificationStatusEnum = void 0;
17
17
  exports.instanceOfAccountBankAccountDto = instanceOfAccountBankAccountDto;
18
18
  exports.AccountBankAccountDtoFromJSON = AccountBankAccountDtoFromJSON;
19
19
  exports.AccountBankAccountDtoFromJSONTyped = AccountBankAccountDtoFromJSONTyped;
@@ -28,6 +28,16 @@ exports.AccountBankAccountDtoVerificationStatusEnum = {
28
28
  VERIFIED: 'verified',
29
29
  REJECTED: 'rejected'
30
30
  };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.AccountBankAccountDtoNameCheckStatusEnum = {
35
+ CHECKING: 'checking',
36
+ MATCHED: 'matched',
37
+ NOT_MATCHED: 'not_matched',
38
+ INVALID: 'invalid',
39
+ UNAVAILABLE: 'unavailable'
40
+ };
31
41
  /**
32
42
  * Check if a given object implements the AccountBankAccountDto interface.
33
43
  */
@@ -40,6 +50,8 @@ function instanceOfAccountBankAccountDto(value) {
40
50
  return false;
41
51
  if (!('verificationStatus' in value) || value['verificationStatus'] === undefined)
42
52
  return false;
53
+ if (!('nameCheckStatus' in value) || value['nameCheckStatus'] === undefined)
54
+ return false;
43
55
  if (!('details' in value) || value['details'] === undefined)
44
56
  return false;
45
57
  return true;
@@ -56,6 +68,7 @@ function AccountBankAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
56
68
  'primary': json['primary'],
57
69
  'currencyCode': json['currencyCode'],
58
70
  'verificationStatus': json['verificationStatus'],
71
+ 'nameCheckStatus': json['nameCheckStatus'],
59
72
  'details': (0, AccountBankAccountDtoDetails_1.AccountBankAccountDtoDetailsFromJSON)(json['details']),
60
73
  };
61
74
  }
@@ -72,6 +85,7 @@ function AccountBankAccountDtoToJSONTyped(value, ignoreDiscriminator) {
72
85
  'primary': value['primary'],
73
86
  'currencyCode': value['currencyCode'],
74
87
  'verificationStatus': value['verificationStatus'],
88
+ 'nameCheckStatus': value['nameCheckStatus'],
75
89
  'details': (0, AccountBankAccountDtoDetails_1.AccountBankAccountDtoDetailsToJSON)(value['details']),
76
90
  };
77
91
  }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { AccountBankAccountDto } from './AccountBankAccountDto';
13
13
  import type { AdminVerificationDepositDto } from './AdminVerificationDepositDto';
14
+ import type { AdminBankAccountNameCheckDto } from './AdminBankAccountNameCheckDto';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -35,6 +36,12 @@ export interface AdminBankAccountDto {
35
36
  * @memberof AdminBankAccountDto
36
37
  */
37
38
  relatedVerificationDeposits: Array<AdminVerificationDepositDto>;
39
+ /**
40
+ * Last answer of the seller's bank when asked who holds the account (Verification/Confirmation of Payee), if it was asked.
41
+ * @type {AdminBankAccountNameCheckDto}
42
+ * @memberof AdminBankAccountDto
43
+ */
44
+ nameCheck: AdminBankAccountNameCheckDto | null;
38
45
  }
39
46
  /**
40
47
  * Check if a given object implements the AdminBankAccountDto interface.
@@ -20,6 +20,7 @@ exports.AdminBankAccountDtoToJSON = AdminBankAccountDtoToJSON;
20
20
  exports.AdminBankAccountDtoToJSONTyped = AdminBankAccountDtoToJSONTyped;
21
21
  var AccountBankAccountDto_1 = require("./AccountBankAccountDto");
22
22
  var AdminVerificationDepositDto_1 = require("./AdminVerificationDepositDto");
23
+ var AdminBankAccountNameCheckDto_1 = require("./AdminBankAccountNameCheckDto");
23
24
  /**
24
25
  * Check if a given object implements the AdminBankAccountDto interface.
25
26
  */
@@ -30,6 +31,8 @@ function instanceOfAdminBankAccountDto(value) {
30
31
  return false;
31
32
  if (!('relatedVerificationDeposits' in value) || value['relatedVerificationDeposits'] === undefined)
32
33
  return false;
34
+ if (!('nameCheck' in value) || value['nameCheck'] === undefined)
35
+ return false;
33
36
  return true;
34
37
  }
35
38
  function AdminBankAccountDtoFromJSON(json) {
@@ -43,6 +46,7 @@ function AdminBankAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
43
46
  'accountName': json['accountName'],
44
47
  'bankAccount': (0, AccountBankAccountDto_1.AccountBankAccountDtoFromJSON)(json['bankAccount']),
45
48
  'relatedVerificationDeposits': (json['relatedVerificationDeposits'].map(AdminVerificationDepositDto_1.AdminVerificationDepositDtoFromJSON)),
49
+ 'nameCheck': (0, AdminBankAccountNameCheckDto_1.AdminBankAccountNameCheckDtoFromJSON)(json['nameCheck']),
46
50
  };
47
51
  }
48
52
  function AdminBankAccountDtoToJSON(json) {
@@ -57,5 +61,6 @@ function AdminBankAccountDtoToJSONTyped(value, ignoreDiscriminator) {
57
61
  'accountName': value['accountName'],
58
62
  'bankAccount': (0, AccountBankAccountDto_1.AccountBankAccountDtoToJSON)(value['bankAccount']),
59
63
  'relatedVerificationDeposits': (value['relatedVerificationDeposits'].map(AdminVerificationDepositDto_1.AdminVerificationDepositDtoToJSON)),
64
+ 'nameCheck': (0, AdminBankAccountNameCheckDto_1.AdminBankAccountNameCheckDtoToJSON)(value['nameCheck']),
60
65
  };
61
66
  }
@@ -0,0 +1,119 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AdminBankAccountNameCheckDto
16
+ */
17
+ export interface AdminBankAccountNameCheckDto {
18
+ /**
19
+ * Scheme the bank was asked through: vop (EU Verification of Payee), cop (UK Confirmation of Payee) or napas (Vietnam).
20
+ * @type {string}
21
+ * @memberof AdminBankAccountNameCheckDto
22
+ */
23
+ scheme: AdminBankAccountNameCheckDtoSchemeEnum;
24
+ /**
25
+ * Whether the account exists and could be checked, as the bank answered. REQUEST_FAILED when the bank could not be asked, see error.
26
+ * @type {string}
27
+ * @memberof AdminBankAccountNameCheckDto
28
+ */
29
+ code: AdminBankAccountNameCheckDtoCodeEnum;
30
+ /**
31
+ * How closely the holder name matched the billing name, when the bank compared them.
32
+ * @type {string}
33
+ * @memberof AdminBankAccountNameCheckDto
34
+ */
35
+ nameMatch: AdminBankAccountNameCheckDtoNameMatchEnum | null;
36
+ /**
37
+ * Name the bank holds the account in, when it returned one. Never show it to the seller.
38
+ * @type {string}
39
+ * @memberof AdminBankAccountNameCheckDto
40
+ */
41
+ resolvedAccountName: string | null;
42
+ /**
43
+ * Name of the bank, when it returned one.
44
+ * @type {string}
45
+ * @memberof AdminBankAccountNameCheckDto
46
+ */
47
+ resolvedBankName: string | null;
48
+ /**
49
+ * Billing name the bank was asked about.
50
+ * @type {string}
51
+ * @memberof AdminBankAccountNameCheckDto
52
+ */
53
+ checkedName: string;
54
+ /**
55
+ * Holder type the bank was asked about.
56
+ * @type {string}
57
+ * @memberof AdminBankAccountNameCheckDto
58
+ */
59
+ entityType: AdminBankAccountNameCheckDtoEntityTypeEnum;
60
+ /**
61
+ * When the bank answered, or could not be asked.
62
+ * @type {Date}
63
+ * @memberof AdminBankAccountNameCheckDto
64
+ */
65
+ checkedAt: Date;
66
+ /**
67
+ * Why the bank could not be asked, when it could not: the error type, HTTP status and provider codes, such as "ValidationError 400 transfer_method_unsupported".
68
+ * @type {string}
69
+ * @memberof AdminBankAccountNameCheckDto
70
+ */
71
+ error: string | null;
72
+ }
73
+ /**
74
+ * @export
75
+ */
76
+ export declare const AdminBankAccountNameCheckDtoSchemeEnum: {
77
+ readonly VOP: "vop";
78
+ readonly COP: "cop";
79
+ readonly NAPAS: "napas";
80
+ };
81
+ export type AdminBankAccountNameCheckDtoSchemeEnum = typeof AdminBankAccountNameCheckDtoSchemeEnum[keyof typeof AdminBankAccountNameCheckDtoSchemeEnum];
82
+ /**
83
+ * @export
84
+ */
85
+ export declare const AdminBankAccountNameCheckDtoCodeEnum: {
86
+ readonly VERIFIED: "VERIFIED";
87
+ readonly INVALID: "INVALID";
88
+ readonly CANNOT_VERIFY: "CANNOT_VERIFY";
89
+ readonly EXTERNAL_SERVICE_UNAVAILABLE: "EXTERNAL_SERVICE_UNAVAILABLE";
90
+ readonly REQUEST_FAILED: "REQUEST_FAILED";
91
+ };
92
+ export type AdminBankAccountNameCheckDtoCodeEnum = typeof AdminBankAccountNameCheckDtoCodeEnum[keyof typeof AdminBankAccountNameCheckDtoCodeEnum];
93
+ /**
94
+ * @export
95
+ */
96
+ export declare const AdminBankAccountNameCheckDtoNameMatchEnum: {
97
+ readonly FULL_MATCH: "FULL_MATCH";
98
+ readonly PARTIAL_MATCH: "PARTIAL_MATCH";
99
+ readonly NOT_MATCHED: "NOT_MATCHED";
100
+ readonly FULL_MATCH_INCORRECT_TYPE: "FULL_MATCH_INCORRECT_TYPE";
101
+ readonly PARTIAL_MATCH_INCORRECT_TYPE: "PARTIAL_MATCH_INCORRECT_TYPE";
102
+ };
103
+ export type AdminBankAccountNameCheckDtoNameMatchEnum = typeof AdminBankAccountNameCheckDtoNameMatchEnum[keyof typeof AdminBankAccountNameCheckDtoNameMatchEnum];
104
+ /**
105
+ * @export
106
+ */
107
+ export declare const AdminBankAccountNameCheckDtoEntityTypeEnum: {
108
+ readonly PERSONAL: "PERSONAL";
109
+ readonly COMPANY: "COMPANY";
110
+ };
111
+ export type AdminBankAccountNameCheckDtoEntityTypeEnum = typeof AdminBankAccountNameCheckDtoEntityTypeEnum[keyof typeof AdminBankAccountNameCheckDtoEntityTypeEnum];
112
+ /**
113
+ * Check if a given object implements the AdminBankAccountNameCheckDto interface.
114
+ */
115
+ export declare function instanceOfAdminBankAccountNameCheckDto(value: object): value is AdminBankAccountNameCheckDto;
116
+ export declare function AdminBankAccountNameCheckDtoFromJSON(json: any): AdminBankAccountNameCheckDto;
117
+ export declare function AdminBankAccountNameCheckDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankAccountNameCheckDto;
118
+ export declare function AdminBankAccountNameCheckDtoToJSON(json: any): AdminBankAccountNameCheckDto;
119
+ export declare function AdminBankAccountNameCheckDtoToJSONTyped(value?: AdminBankAccountNameCheckDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AdminBankAccountNameCheckDtoEntityTypeEnum = exports.AdminBankAccountNameCheckDtoNameMatchEnum = exports.AdminBankAccountNameCheckDtoCodeEnum = exports.AdminBankAccountNameCheckDtoSchemeEnum = void 0;
17
+ exports.instanceOfAdminBankAccountNameCheckDto = instanceOfAdminBankAccountNameCheckDto;
18
+ exports.AdminBankAccountNameCheckDtoFromJSON = AdminBankAccountNameCheckDtoFromJSON;
19
+ exports.AdminBankAccountNameCheckDtoFromJSONTyped = AdminBankAccountNameCheckDtoFromJSONTyped;
20
+ exports.AdminBankAccountNameCheckDtoToJSON = AdminBankAccountNameCheckDtoToJSON;
21
+ exports.AdminBankAccountNameCheckDtoToJSONTyped = AdminBankAccountNameCheckDtoToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.AdminBankAccountNameCheckDtoSchemeEnum = {
26
+ VOP: 'vop',
27
+ COP: 'cop',
28
+ NAPAS: 'napas'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.AdminBankAccountNameCheckDtoCodeEnum = {
34
+ VERIFIED: 'VERIFIED',
35
+ INVALID: 'INVALID',
36
+ CANNOT_VERIFY: 'CANNOT_VERIFY',
37
+ EXTERNAL_SERVICE_UNAVAILABLE: 'EXTERNAL_SERVICE_UNAVAILABLE',
38
+ REQUEST_FAILED: 'REQUEST_FAILED'
39
+ };
40
+ /**
41
+ * @export
42
+ */
43
+ exports.AdminBankAccountNameCheckDtoNameMatchEnum = {
44
+ FULL_MATCH: 'FULL_MATCH',
45
+ PARTIAL_MATCH: 'PARTIAL_MATCH',
46
+ NOT_MATCHED: 'NOT_MATCHED',
47
+ FULL_MATCH_INCORRECT_TYPE: 'FULL_MATCH_INCORRECT_TYPE',
48
+ PARTIAL_MATCH_INCORRECT_TYPE: 'PARTIAL_MATCH_INCORRECT_TYPE'
49
+ };
50
+ /**
51
+ * @export
52
+ */
53
+ exports.AdminBankAccountNameCheckDtoEntityTypeEnum = {
54
+ PERSONAL: 'PERSONAL',
55
+ COMPANY: 'COMPANY'
56
+ };
57
+ /**
58
+ * Check if a given object implements the AdminBankAccountNameCheckDto interface.
59
+ */
60
+ function instanceOfAdminBankAccountNameCheckDto(value) {
61
+ if (!('scheme' in value) || value['scheme'] === undefined)
62
+ return false;
63
+ if (!('code' in value) || value['code'] === undefined)
64
+ return false;
65
+ if (!('nameMatch' in value) || value['nameMatch'] === undefined)
66
+ return false;
67
+ if (!('resolvedAccountName' in value) || value['resolvedAccountName'] === undefined)
68
+ return false;
69
+ if (!('resolvedBankName' in value) || value['resolvedBankName'] === undefined)
70
+ return false;
71
+ if (!('checkedName' in value) || value['checkedName'] === undefined)
72
+ return false;
73
+ if (!('entityType' in value) || value['entityType'] === undefined)
74
+ return false;
75
+ if (!('checkedAt' in value) || value['checkedAt'] === undefined)
76
+ return false;
77
+ if (!('error' in value) || value['error'] === undefined)
78
+ return false;
79
+ return true;
80
+ }
81
+ function AdminBankAccountNameCheckDtoFromJSON(json) {
82
+ return AdminBankAccountNameCheckDtoFromJSONTyped(json, false);
83
+ }
84
+ function AdminBankAccountNameCheckDtoFromJSONTyped(json, ignoreDiscriminator) {
85
+ if (json == null) {
86
+ return json;
87
+ }
88
+ return {
89
+ 'scheme': json['scheme'],
90
+ 'code': json['code'],
91
+ 'nameMatch': json['nameMatch'],
92
+ 'resolvedAccountName': json['resolvedAccountName'],
93
+ 'resolvedBankName': json['resolvedBankName'],
94
+ 'checkedName': json['checkedName'],
95
+ 'entityType': json['entityType'],
96
+ 'checkedAt': (new Date(json['checkedAt'])),
97
+ 'error': json['error'],
98
+ };
99
+ }
100
+ function AdminBankAccountNameCheckDtoToJSON(json) {
101
+ return AdminBankAccountNameCheckDtoToJSONTyped(json, false);
102
+ }
103
+ function AdminBankAccountNameCheckDtoToJSONTyped(value, ignoreDiscriminator) {
104
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
105
+ if (value == null) {
106
+ return value;
107
+ }
108
+ return {
109
+ 'scheme': value['scheme'],
110
+ 'code': value['code'],
111
+ 'nameMatch': value['nameMatch'],
112
+ 'resolvedAccountName': value['resolvedAccountName'],
113
+ 'resolvedBankName': value['resolvedBankName'],
114
+ 'checkedName': value['checkedName'],
115
+ 'entityType': value['entityType'],
116
+ 'checkedAt': ((value['checkedAt']).toISOString()),
117
+ 'error': value['error'],
118
+ };
119
+ }
@@ -94,6 +94,7 @@ export declare const FeatureFlagListItemDtoNameEnum: {
94
94
  readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
95
95
  readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
96
96
  readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
97
+ readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
97
98
  };
98
99
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
99
100
  /**
@@ -54,7 +54,8 @@ exports.FeatureFlagListItemDtoNameEnum = {
54
54
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
55
55
  LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
56
56
  DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
57
- DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
57
+ DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
58
+ BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
58
59
  };
59
60
  /**
60
61
  * Check if a given object implements the FeatureFlagListItemDto interface.
@@ -137,6 +137,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
137
137
  readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
138
138
  readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
139
139
  readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
140
+ readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
140
141
  };
141
142
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
142
143
  /**
@@ -61,7 +61,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
61
61
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
62
62
  LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
63
63
  DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
64
- DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
64
+ DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
65
+ BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
65
66
  };
66
67
  /**
67
68
  * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
@@ -143,6 +143,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
143
143
  readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
144
144
  readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
145
145
  readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
146
+ readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
146
147
  };
147
148
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
148
149
  /**
@@ -61,7 +61,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
61
61
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
62
62
  LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
63
63
  DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
64
- DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
64
+ DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
65
+ BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
65
66
  };
66
67
  /**
67
68
  * Check if a given object implements the PrivateAccountGetMeResponse interface.
@@ -48,6 +48,7 @@ export * from './AdminAccountSettingsInput';
48
48
  export * from './AdminAuctionCommissionByDateRangeInput';
49
49
  export * from './AdminAuctionConfigurationInput';
50
50
  export * from './AdminBankAccountDto';
51
+ export * from './AdminBankAccountNameCheckDto';
51
52
  export * from './AdminBankDepositAccountBankAccountDto';
52
53
  export * from './AdminBankDepositAccountDto';
53
54
  export * from './AdminBankDepositDto';
@@ -66,6 +66,7 @@ __exportStar(require("./AdminAccountSettingsInput"), exports);
66
66
  __exportStar(require("./AdminAuctionCommissionByDateRangeInput"), exports);
67
67
  __exportStar(require("./AdminAuctionConfigurationInput"), exports);
68
68
  __exportStar(require("./AdminBankAccountDto"), exports);
69
+ __exportStar(require("./AdminBankAccountNameCheckDto"), exports);
69
70
  __exportStar(require("./AdminBankDepositAccountBankAccountDto"), exports);
70
71
  __exportStar(require("./AdminBankDepositAccountDto"), exports);
71
72
  __exportStar(require("./AdminBankDepositDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.488",
3
+ "version": "0.0.489",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -51,6 +51,12 @@ export interface AccountBankAccountDto {
51
51
  * @memberof AccountBankAccountDto
52
52
  */
53
53
  verificationStatus: AccountBankAccountDtoVerificationStatusEnum;
54
+ /**
55
+ * Where the check of the account holder's name with the seller's bank stands: checking while the bank is being asked, then what it answered. A pending account is best verified by micro-deposit only once the check is done. Null when the bank is not asked about this account.
56
+ * @type {string}
57
+ * @memberof AccountBankAccountDto
58
+ */
59
+ nameCheckStatus: AccountBankAccountDtoNameCheckStatusEnum | null;
54
60
  /**
55
61
  *
56
62
  * @type {AccountBankAccountDtoDetails}
@@ -70,6 +76,18 @@ export const AccountBankAccountDtoVerificationStatusEnum = {
70
76
  } as const;
71
77
  export type AccountBankAccountDtoVerificationStatusEnum = typeof AccountBankAccountDtoVerificationStatusEnum[keyof typeof AccountBankAccountDtoVerificationStatusEnum];
72
78
 
79
+ /**
80
+ * @export
81
+ */
82
+ export const AccountBankAccountDtoNameCheckStatusEnum = {
83
+ CHECKING: 'checking',
84
+ MATCHED: 'matched',
85
+ NOT_MATCHED: 'not_matched',
86
+ INVALID: 'invalid',
87
+ UNAVAILABLE: 'unavailable'
88
+ } as const;
89
+ export type AccountBankAccountDtoNameCheckStatusEnum = typeof AccountBankAccountDtoNameCheckStatusEnum[keyof typeof AccountBankAccountDtoNameCheckStatusEnum];
90
+
73
91
 
74
92
  /**
75
93
  * Check if a given object implements the AccountBankAccountDto interface.
@@ -79,6 +97,7 @@ export function instanceOfAccountBankAccountDto(value: object): value is Account
79
97
  if (!('primary' in value) || value['primary'] === undefined) return false;
80
98
  if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
81
99
  if (!('verificationStatus' in value) || value['verificationStatus'] === undefined) return false;
100
+ if (!('nameCheckStatus' in value) || value['nameCheckStatus'] === undefined) return false;
82
101
  if (!('details' in value) || value['details'] === undefined) return false;
83
102
  return true;
84
103
  }
@@ -97,6 +116,7 @@ export function AccountBankAccountDtoFromJSONTyped(json: any, ignoreDiscriminato
97
116
  'primary': json['primary'],
98
117
  'currencyCode': json['currencyCode'],
99
118
  'verificationStatus': json['verificationStatus'],
119
+ 'nameCheckStatus': json['nameCheckStatus'],
100
120
  'details': AccountBankAccountDtoDetailsFromJSON(json['details']),
101
121
  };
102
122
  }
@@ -116,6 +136,7 @@ export function AccountBankAccountDtoToJSONTyped(value?: AccountBankAccountDto |
116
136
  'primary': value['primary'],
117
137
  'currencyCode': value['currencyCode'],
118
138
  'verificationStatus': value['verificationStatus'],
139
+ 'nameCheckStatus': value['nameCheckStatus'],
119
140
  'details': AccountBankAccountDtoDetailsToJSON(value['details']),
120
141
  };
121
142
  }
@@ -27,6 +27,13 @@ import {
27
27
  AdminVerificationDepositDtoToJSON,
28
28
  AdminVerificationDepositDtoToJSONTyped,
29
29
  } from './AdminVerificationDepositDto';
30
+ import type { AdminBankAccountNameCheckDto } from './AdminBankAccountNameCheckDto';
31
+ import {
32
+ AdminBankAccountNameCheckDtoFromJSON,
33
+ AdminBankAccountNameCheckDtoFromJSONTyped,
34
+ AdminBankAccountNameCheckDtoToJSON,
35
+ AdminBankAccountNameCheckDtoToJSONTyped,
36
+ } from './AdminBankAccountNameCheckDto';
30
37
 
31
38
  /**
32
39
  *
@@ -52,6 +59,12 @@ export interface AdminBankAccountDto {
52
59
  * @memberof AdminBankAccountDto
53
60
  */
54
61
  relatedVerificationDeposits: Array<AdminVerificationDepositDto>;
62
+ /**
63
+ * Last answer of the seller's bank when asked who holds the account (Verification/Confirmation of Payee), if it was asked.
64
+ * @type {AdminBankAccountNameCheckDto}
65
+ * @memberof AdminBankAccountDto
66
+ */
67
+ nameCheck: AdminBankAccountNameCheckDto | null;
55
68
  }
56
69
 
57
70
  /**
@@ -61,6 +74,7 @@ export function instanceOfAdminBankAccountDto(value: object): value is AdminBank
61
74
  if (!('accountName' in value) || value['accountName'] === undefined) return false;
62
75
  if (!('bankAccount' in value) || value['bankAccount'] === undefined) return false;
63
76
  if (!('relatedVerificationDeposits' in value) || value['relatedVerificationDeposits'] === undefined) return false;
77
+ if (!('nameCheck' in value) || value['nameCheck'] === undefined) return false;
64
78
  return true;
65
79
  }
66
80
 
@@ -77,6 +91,7 @@ export function AdminBankAccountDtoFromJSONTyped(json: any, ignoreDiscriminator:
77
91
  'accountName': json['accountName'],
78
92
  'bankAccount': AccountBankAccountDtoFromJSON(json['bankAccount']),
79
93
  'relatedVerificationDeposits': ((json['relatedVerificationDeposits'] as Array<any>).map(AdminVerificationDepositDtoFromJSON)),
94
+ 'nameCheck': AdminBankAccountNameCheckDtoFromJSON(json['nameCheck']),
80
95
  };
81
96
  }
82
97
 
@@ -94,6 +109,7 @@ export function AdminBankAccountDtoToJSONTyped(value?: AdminBankAccountDto | nul
94
109
  'accountName': value['accountName'],
95
110
  'bankAccount': AccountBankAccountDtoToJSON(value['bankAccount']),
96
111
  'relatedVerificationDeposits': ((value['relatedVerificationDeposits'] as Array<any>).map(AdminVerificationDepositDtoToJSON)),
112
+ 'nameCheck': AdminBankAccountNameCheckDtoToJSON(value['nameCheck']),
97
113
  };
98
114
  }
99
115
 
@@ -0,0 +1,183 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AdminBankAccountNameCheckDto
20
+ */
21
+ export interface AdminBankAccountNameCheckDto {
22
+ /**
23
+ * Scheme the bank was asked through: vop (EU Verification of Payee), cop (UK Confirmation of Payee) or napas (Vietnam).
24
+ * @type {string}
25
+ * @memberof AdminBankAccountNameCheckDto
26
+ */
27
+ scheme: AdminBankAccountNameCheckDtoSchemeEnum;
28
+ /**
29
+ * Whether the account exists and could be checked, as the bank answered. REQUEST_FAILED when the bank could not be asked, see error.
30
+ * @type {string}
31
+ * @memberof AdminBankAccountNameCheckDto
32
+ */
33
+ code: AdminBankAccountNameCheckDtoCodeEnum;
34
+ /**
35
+ * How closely the holder name matched the billing name, when the bank compared them.
36
+ * @type {string}
37
+ * @memberof AdminBankAccountNameCheckDto
38
+ */
39
+ nameMatch: AdminBankAccountNameCheckDtoNameMatchEnum | null;
40
+ /**
41
+ * Name the bank holds the account in, when it returned one. Never show it to the seller.
42
+ * @type {string}
43
+ * @memberof AdminBankAccountNameCheckDto
44
+ */
45
+ resolvedAccountName: string | null;
46
+ /**
47
+ * Name of the bank, when it returned one.
48
+ * @type {string}
49
+ * @memberof AdminBankAccountNameCheckDto
50
+ */
51
+ resolvedBankName: string | null;
52
+ /**
53
+ * Billing name the bank was asked about.
54
+ * @type {string}
55
+ * @memberof AdminBankAccountNameCheckDto
56
+ */
57
+ checkedName: string;
58
+ /**
59
+ * Holder type the bank was asked about.
60
+ * @type {string}
61
+ * @memberof AdminBankAccountNameCheckDto
62
+ */
63
+ entityType: AdminBankAccountNameCheckDtoEntityTypeEnum;
64
+ /**
65
+ * When the bank answered, or could not be asked.
66
+ * @type {Date}
67
+ * @memberof AdminBankAccountNameCheckDto
68
+ */
69
+ checkedAt: Date;
70
+ /**
71
+ * Why the bank could not be asked, when it could not: the error type, HTTP status and provider codes, such as "ValidationError 400 transfer_method_unsupported".
72
+ * @type {string}
73
+ * @memberof AdminBankAccountNameCheckDto
74
+ */
75
+ error: string | null;
76
+ }
77
+
78
+
79
+ /**
80
+ * @export
81
+ */
82
+ export const AdminBankAccountNameCheckDtoSchemeEnum = {
83
+ VOP: 'vop',
84
+ COP: 'cop',
85
+ NAPAS: 'napas'
86
+ } as const;
87
+ export type AdminBankAccountNameCheckDtoSchemeEnum = typeof AdminBankAccountNameCheckDtoSchemeEnum[keyof typeof AdminBankAccountNameCheckDtoSchemeEnum];
88
+
89
+ /**
90
+ * @export
91
+ */
92
+ export const AdminBankAccountNameCheckDtoCodeEnum = {
93
+ VERIFIED: 'VERIFIED',
94
+ INVALID: 'INVALID',
95
+ CANNOT_VERIFY: 'CANNOT_VERIFY',
96
+ EXTERNAL_SERVICE_UNAVAILABLE: 'EXTERNAL_SERVICE_UNAVAILABLE',
97
+ REQUEST_FAILED: 'REQUEST_FAILED'
98
+ } as const;
99
+ export type AdminBankAccountNameCheckDtoCodeEnum = typeof AdminBankAccountNameCheckDtoCodeEnum[keyof typeof AdminBankAccountNameCheckDtoCodeEnum];
100
+
101
+ /**
102
+ * @export
103
+ */
104
+ export const AdminBankAccountNameCheckDtoNameMatchEnum = {
105
+ FULL_MATCH: 'FULL_MATCH',
106
+ PARTIAL_MATCH: 'PARTIAL_MATCH',
107
+ NOT_MATCHED: 'NOT_MATCHED',
108
+ FULL_MATCH_INCORRECT_TYPE: 'FULL_MATCH_INCORRECT_TYPE',
109
+ PARTIAL_MATCH_INCORRECT_TYPE: 'PARTIAL_MATCH_INCORRECT_TYPE'
110
+ } as const;
111
+ export type AdminBankAccountNameCheckDtoNameMatchEnum = typeof AdminBankAccountNameCheckDtoNameMatchEnum[keyof typeof AdminBankAccountNameCheckDtoNameMatchEnum];
112
+
113
+ /**
114
+ * @export
115
+ */
116
+ export const AdminBankAccountNameCheckDtoEntityTypeEnum = {
117
+ PERSONAL: 'PERSONAL',
118
+ COMPANY: 'COMPANY'
119
+ } as const;
120
+ export type AdminBankAccountNameCheckDtoEntityTypeEnum = typeof AdminBankAccountNameCheckDtoEntityTypeEnum[keyof typeof AdminBankAccountNameCheckDtoEntityTypeEnum];
121
+
122
+
123
+ /**
124
+ * Check if a given object implements the AdminBankAccountNameCheckDto interface.
125
+ */
126
+ export function instanceOfAdminBankAccountNameCheckDto(value: object): value is AdminBankAccountNameCheckDto {
127
+ if (!('scheme' in value) || value['scheme'] === undefined) return false;
128
+ if (!('code' in value) || value['code'] === undefined) return false;
129
+ if (!('nameMatch' in value) || value['nameMatch'] === undefined) return false;
130
+ if (!('resolvedAccountName' in value) || value['resolvedAccountName'] === undefined) return false;
131
+ if (!('resolvedBankName' in value) || value['resolvedBankName'] === undefined) return false;
132
+ if (!('checkedName' in value) || value['checkedName'] === undefined) return false;
133
+ if (!('entityType' in value) || value['entityType'] === undefined) return false;
134
+ if (!('checkedAt' in value) || value['checkedAt'] === undefined) return false;
135
+ if (!('error' in value) || value['error'] === undefined) return false;
136
+ return true;
137
+ }
138
+
139
+ export function AdminBankAccountNameCheckDtoFromJSON(json: any): AdminBankAccountNameCheckDto {
140
+ return AdminBankAccountNameCheckDtoFromJSONTyped(json, false);
141
+ }
142
+
143
+ export function AdminBankAccountNameCheckDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankAccountNameCheckDto {
144
+ if (json == null) {
145
+ return json;
146
+ }
147
+ return {
148
+
149
+ 'scheme': json['scheme'],
150
+ 'code': json['code'],
151
+ 'nameMatch': json['nameMatch'],
152
+ 'resolvedAccountName': json['resolvedAccountName'],
153
+ 'resolvedBankName': json['resolvedBankName'],
154
+ 'checkedName': json['checkedName'],
155
+ 'entityType': json['entityType'],
156
+ 'checkedAt': (new Date(json['checkedAt'])),
157
+ 'error': json['error'],
158
+ };
159
+ }
160
+
161
+ export function AdminBankAccountNameCheckDtoToJSON(json: any): AdminBankAccountNameCheckDto {
162
+ return AdminBankAccountNameCheckDtoToJSONTyped(json, false);
163
+ }
164
+
165
+ export function AdminBankAccountNameCheckDtoToJSONTyped(value?: AdminBankAccountNameCheckDto | null, ignoreDiscriminator: boolean = false): any {
166
+ if (value == null) {
167
+ return value;
168
+ }
169
+
170
+ return {
171
+
172
+ 'scheme': value['scheme'],
173
+ 'code': value['code'],
174
+ 'nameMatch': value['nameMatch'],
175
+ 'resolvedAccountName': value['resolvedAccountName'],
176
+ 'resolvedBankName': value['resolvedBankName'],
177
+ 'checkedName': value['checkedName'],
178
+ 'entityType': value['entityType'],
179
+ 'checkedAt': ((value['checkedAt']).toISOString()),
180
+ 'error': value['error'],
181
+ };
182
+ }
183
+
@@ -99,7 +99,8 @@ export const FeatureFlagListItemDtoNameEnum = {
99
99
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
100
100
  LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
101
101
  DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
102
- DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
102
+ DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
103
+ BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
103
104
  } as const;
104
105
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
105
106
 
@@ -185,7 +185,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
185
185
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
186
186
  LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
187
187
  DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
188
- DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
188
+ DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
189
+ BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
189
190
  } as const;
190
191
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
191
192
 
@@ -191,7 +191,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
191
191
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
192
192
  LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
193
193
  DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
194
- DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL'
194
+ DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
195
+ BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
195
196
  } as const;
196
197
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
197
198
 
@@ -50,6 +50,7 @@ export * from './AdminAccountSettingsInput';
50
50
  export * from './AdminAuctionCommissionByDateRangeInput';
51
51
  export * from './AdminAuctionConfigurationInput';
52
52
  export * from './AdminBankAccountDto';
53
+ export * from './AdminBankAccountNameCheckDto';
53
54
  export * from './AdminBankDepositAccountBankAccountDto';
54
55
  export * from './AdminBankDepositAccountDto';
55
56
  export * from './AdminBankDepositDto';