@randock/nameshift-api-client 0.0.487 → 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.
Files changed (76) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +23 -1
  4. package/dist/apis/AdminApi.js +77 -0
  5. package/dist/apis/BuyersApi.d.ts +33 -1
  6. package/dist/apis/BuyersApi.js +121 -0
  7. package/dist/apis/DomainAppraisalRequestsApi.d.ts +50 -0
  8. package/dist/apis/DomainAppraisalRequestsApi.js +217 -0
  9. package/dist/apis/DomainAppraisalRequestsPublicApi.d.ts +86 -0
  10. package/dist/apis/DomainAppraisalRequestsPublicApi.js +321 -0
  11. package/dist/apis/index.d.ts +2 -0
  12. package/dist/apis/index.js +2 -0
  13. package/dist/models/AccountBankAccountDto.d.ts +17 -0
  14. package/dist/models/AccountBankAccountDto.js +15 -1
  15. package/dist/models/AdminBankAccountDto.d.ts +7 -0
  16. package/dist/models/AdminBankAccountDto.js +5 -0
  17. package/dist/models/AdminBankAccountNameCheckDto.d.ts +119 -0
  18. package/dist/models/AdminBankAccountNameCheckDto.js +119 -0
  19. package/dist/models/AdminDomainAppraisalRequestListItemDto.d.ts +118 -0
  20. package/dist/models/AdminDomainAppraisalRequestListItemDto.js +109 -0
  21. package/dist/models/BuyerDomainAppraisalRequestCheckoutDto.d.ts +268 -0
  22. package/dist/models/BuyerDomainAppraisalRequestCheckoutDto.js +237 -0
  23. package/dist/models/BuyerInvoiceDto.d.ts +2 -2
  24. package/dist/models/BuyerSessionDto.d.ts +6 -0
  25. package/dist/models/BuyerSessionDto.js +4 -0
  26. package/dist/models/CreateAccountPaymentInput.d.ts +1 -0
  27. package/dist/models/CreateAccountPaymentInput.js +2 -1
  28. package/dist/models/CreateBuyerDomainAppraisalRequestInput.d.ts +44 -0
  29. package/dist/models/CreateBuyerDomainAppraisalRequestInput.js +59 -0
  30. package/dist/models/DomainAppraisalRequestListItemDto.d.ts +82 -0
  31. package/dist/models/DomainAppraisalRequestListItemDto.js +85 -0
  32. package/dist/models/DomainAppraisalRequestStatus.d.ts +27 -0
  33. package/dist/models/DomainAppraisalRequestStatus.js +53 -0
  34. package/dist/models/DomainAppraisalRequester.d.ts +25 -0
  35. package/dist/models/DomainAppraisalRequester.js +51 -0
  36. package/dist/models/DomainSalesInformationDto.d.ts +6 -0
  37. package/dist/models/DomainSalesInformationDto.js +4 -0
  38. package/dist/models/FeatureFlagListItemDto.d.ts +2 -0
  39. package/dist/models/FeatureFlagListItemDto.js +3 -1
  40. package/dist/models/GetAdminDomainAppraisalRequests200Response.d.ts +47 -0
  41. package/dist/models/GetAdminDomainAppraisalRequests200Response.js +62 -0
  42. package/dist/models/GetBuyerDomainAppraisalRequests200Response.d.ts +47 -0
  43. package/dist/models/GetBuyerDomainAppraisalRequests200Response.js +62 -0
  44. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +2 -0
  45. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +3 -1
  46. package/dist/models/InvoiceDto.d.ts +2 -2
  47. package/dist/models/PrivateAccountGetMeResponse.d.ts +2 -0
  48. package/dist/models/PrivateAccountGetMeResponse.js +3 -1
  49. package/dist/models/index.d.ts +9 -0
  50. package/dist/models/index.js +9 -0
  51. package/package.json +1 -1
  52. package/src/apis/AdminApi.ts +82 -0
  53. package/src/apis/BuyersApi.ts +113 -0
  54. package/src/apis/DomainAppraisalRequestsApi.ts +157 -0
  55. package/src/apis/DomainAppraisalRequestsPublicApi.ts +271 -0
  56. package/src/apis/index.ts +2 -0
  57. package/src/models/AccountBankAccountDto.ts +21 -0
  58. package/src/models/AdminBankAccountDto.ts +16 -0
  59. package/src/models/AdminBankAccountNameCheckDto.ts +183 -0
  60. package/src/models/AdminDomainAppraisalRequestListItemDto.ts +209 -0
  61. package/src/models/BuyerDomainAppraisalRequestCheckoutDto.ts +411 -0
  62. package/src/models/BuyerInvoiceDto.ts +2 -2
  63. package/src/models/BuyerSessionDto.ts +9 -0
  64. package/src/models/CreateAccountPaymentInput.ts +2 -1
  65. package/src/models/CreateBuyerDomainAppraisalRequestInput.ts +84 -0
  66. package/src/models/DomainAppraisalRequestListItemDto.ts +155 -0
  67. package/src/models/DomainAppraisalRequestStatus.ts +55 -0
  68. package/src/models/DomainAppraisalRequester.ts +53 -0
  69. package/src/models/DomainSalesInformationDto.ts +9 -0
  70. package/src/models/FeatureFlagListItemDto.ts +3 -1
  71. package/src/models/GetAdminDomainAppraisalRequests200Response.ts +106 -0
  72. package/src/models/GetBuyerDomainAppraisalRequests200Response.ts +106 -0
  73. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +3 -1
  74. package/src/models/InvoiceDto.ts +2 -2
  75. package/src/models/PrivateAccountGetMeResponse.ts +3 -1
  76. package/src/models/index.ts +9 -0
@@ -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
+ }
@@ -0,0 +1,118 @@
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
+ import type { DomainAppraisalRequester } from './DomainAppraisalRequester';
13
+ import type { DomainAppraisalRequestStatus } from './DomainAppraisalRequestStatus';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AdminDomainAppraisalRequestListItemDto
18
+ */
19
+ export interface AdminDomainAppraisalRequestListItemDto {
20
+ /**
21
+ * Domain appraisal request identifier.
22
+ * @type {string}
23
+ * @memberof AdminDomainAppraisalRequestListItemDto
24
+ */
25
+ id: string;
26
+ /**
27
+ * Appraised domain identifier.
28
+ * @type {string}
29
+ * @memberof AdminDomainAppraisalRequestListItemDto
30
+ */
31
+ domainId: string;
32
+ /**
33
+ * Appraised domain name (Unicode).
34
+ * @type {string}
35
+ * @memberof AdminDomainAppraisalRequestListItemDto
36
+ */
37
+ domainName: string;
38
+ /**
39
+ * Whether a buyer or the seller of the domain requested it.
40
+ * @type {DomainAppraisalRequester}
41
+ * @memberof AdminDomainAppraisalRequestListItemDto
42
+ */
43
+ requester: DomainAppraisalRequester;
44
+ /**
45
+ * Domain appraisal request status.
46
+ * @type {DomainAppraisalRequestStatus}
47
+ * @memberof AdminDomainAppraisalRequestListItemDto
48
+ */
49
+ status: DomainAppraisalRequestStatus;
50
+ /**
51
+ * Appraised amount in EUR, once appraised.
52
+ * @type {string}
53
+ * @memberof AdminDomainAppraisalRequestListItemDto
54
+ */
55
+ appraisedAmountEur: string | null;
56
+ /**
57
+ * When it was appraised.
58
+ * @type {Date}
59
+ * @memberof AdminDomainAppraisalRequestListItemDto
60
+ */
61
+ appraisedAt: Date | null;
62
+ /**
63
+ * When it was sent to be appraised, after payment.
64
+ * @type {Date}
65
+ * @memberof AdminDomainAppraisalRequestListItemDto
66
+ */
67
+ requestedAt: Date | null;
68
+ /**
69
+ * When it was created.
70
+ * @type {Date}
71
+ * @memberof AdminDomainAppraisalRequestListItemDto
72
+ */
73
+ createdAt: Date;
74
+ /**
75
+ * Buyer that requested it, if a buyer did.
76
+ * @type {string}
77
+ * @memberof AdminDomainAppraisalRequestListItemDto
78
+ */
79
+ buyerId: string | null;
80
+ /**
81
+ * Email of the buyer that requested it, if a buyer did.
82
+ * @type {string}
83
+ * @memberof AdminDomainAppraisalRequestListItemDto
84
+ */
85
+ buyerEmail: string | null;
86
+ /**
87
+ * Account of the seller that requested it, if a seller did.
88
+ * @type {string}
89
+ * @memberof AdminDomainAppraisalRequestListItemDto
90
+ */
91
+ accountId: string | null;
92
+ /**
93
+ * Identifier of the account of the seller that requested it, if a seller did.
94
+ * @type {string}
95
+ * @memberof AdminDomainAppraisalRequestListItemDto
96
+ */
97
+ accountIdentifier: string | null;
98
+ /**
99
+ * Billing name of the account of the seller that requested it, if a seller did and it has billing information.
100
+ * @type {string}
101
+ * @memberof AdminDomainAppraisalRequestListItemDto
102
+ */
103
+ accountName: string | null;
104
+ /**
105
+ * Identifier of the domain appraisal request in the domain appraisals API.
106
+ * @type {string}
107
+ * @memberof AdminDomainAppraisalRequestListItemDto
108
+ */
109
+ externalId: string | null;
110
+ }
111
+ /**
112
+ * Check if a given object implements the AdminDomainAppraisalRequestListItemDto interface.
113
+ */
114
+ export declare function instanceOfAdminDomainAppraisalRequestListItemDto(value: object): value is AdminDomainAppraisalRequestListItemDto;
115
+ export declare function AdminDomainAppraisalRequestListItemDtoFromJSON(json: any): AdminDomainAppraisalRequestListItemDto;
116
+ export declare function AdminDomainAppraisalRequestListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminDomainAppraisalRequestListItemDto;
117
+ export declare function AdminDomainAppraisalRequestListItemDtoToJSON(json: any): AdminDomainAppraisalRequestListItemDto;
118
+ export declare function AdminDomainAppraisalRequestListItemDtoToJSONTyped(value?: AdminDomainAppraisalRequestListItemDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,109 @@
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.instanceOfAdminDomainAppraisalRequestListItemDto = instanceOfAdminDomainAppraisalRequestListItemDto;
17
+ exports.AdminDomainAppraisalRequestListItemDtoFromJSON = AdminDomainAppraisalRequestListItemDtoFromJSON;
18
+ exports.AdminDomainAppraisalRequestListItemDtoFromJSONTyped = AdminDomainAppraisalRequestListItemDtoFromJSONTyped;
19
+ exports.AdminDomainAppraisalRequestListItemDtoToJSON = AdminDomainAppraisalRequestListItemDtoToJSON;
20
+ exports.AdminDomainAppraisalRequestListItemDtoToJSONTyped = AdminDomainAppraisalRequestListItemDtoToJSONTyped;
21
+ var DomainAppraisalRequester_1 = require("./DomainAppraisalRequester");
22
+ var DomainAppraisalRequestStatus_1 = require("./DomainAppraisalRequestStatus");
23
+ /**
24
+ * Check if a given object implements the AdminDomainAppraisalRequestListItemDto interface.
25
+ */
26
+ function instanceOfAdminDomainAppraisalRequestListItemDto(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ if (!('domainId' in value) || value['domainId'] === undefined)
30
+ return false;
31
+ if (!('domainName' in value) || value['domainName'] === undefined)
32
+ return false;
33
+ if (!('requester' in value) || value['requester'] === undefined)
34
+ return false;
35
+ if (!('status' in value) || value['status'] === undefined)
36
+ return false;
37
+ if (!('appraisedAmountEur' in value) || value['appraisedAmountEur'] === undefined)
38
+ return false;
39
+ if (!('appraisedAt' in value) || value['appraisedAt'] === undefined)
40
+ return false;
41
+ if (!('requestedAt' in value) || value['requestedAt'] === undefined)
42
+ return false;
43
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
44
+ return false;
45
+ if (!('buyerId' in value) || value['buyerId'] === undefined)
46
+ return false;
47
+ if (!('buyerEmail' in value) || value['buyerEmail'] === undefined)
48
+ return false;
49
+ if (!('accountId' in value) || value['accountId'] === undefined)
50
+ return false;
51
+ if (!('accountIdentifier' in value) || value['accountIdentifier'] === undefined)
52
+ return false;
53
+ if (!('accountName' in value) || value['accountName'] === undefined)
54
+ return false;
55
+ if (!('externalId' in value) || value['externalId'] === undefined)
56
+ return false;
57
+ return true;
58
+ }
59
+ function AdminDomainAppraisalRequestListItemDtoFromJSON(json) {
60
+ return AdminDomainAppraisalRequestListItemDtoFromJSONTyped(json, false);
61
+ }
62
+ function AdminDomainAppraisalRequestListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
63
+ if (json == null) {
64
+ return json;
65
+ }
66
+ return {
67
+ 'id': json['id'],
68
+ 'domainId': json['domainId'],
69
+ 'domainName': json['domainName'],
70
+ 'requester': (0, DomainAppraisalRequester_1.DomainAppraisalRequesterFromJSON)(json['requester']),
71
+ 'status': (0, DomainAppraisalRequestStatus_1.DomainAppraisalRequestStatusFromJSON)(json['status']),
72
+ 'appraisedAmountEur': json['appraisedAmountEur'],
73
+ 'appraisedAt': (json['appraisedAt'] == null ? null : new Date(json['appraisedAt'])),
74
+ 'requestedAt': (json['requestedAt'] == null ? null : new Date(json['requestedAt'])),
75
+ 'createdAt': (new Date(json['createdAt'])),
76
+ 'buyerId': json['buyerId'],
77
+ 'buyerEmail': json['buyerEmail'],
78
+ 'accountId': json['accountId'],
79
+ 'accountIdentifier': json['accountIdentifier'],
80
+ 'accountName': json['accountName'],
81
+ 'externalId': json['externalId'],
82
+ };
83
+ }
84
+ function AdminDomainAppraisalRequestListItemDtoToJSON(json) {
85
+ return AdminDomainAppraisalRequestListItemDtoToJSONTyped(json, false);
86
+ }
87
+ function AdminDomainAppraisalRequestListItemDtoToJSONTyped(value, ignoreDiscriminator) {
88
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
89
+ if (value == null) {
90
+ return value;
91
+ }
92
+ return {
93
+ 'id': value['id'],
94
+ 'domainId': value['domainId'],
95
+ 'domainName': value['domainName'],
96
+ 'requester': (0, DomainAppraisalRequester_1.DomainAppraisalRequesterToJSON)(value['requester']),
97
+ 'status': (0, DomainAppraisalRequestStatus_1.DomainAppraisalRequestStatusToJSON)(value['status']),
98
+ 'appraisedAmountEur': value['appraisedAmountEur'],
99
+ 'appraisedAt': (value['appraisedAt'] == null ? null : value['appraisedAt'].toISOString()),
100
+ 'requestedAt': (value['requestedAt'] == null ? null : value['requestedAt'].toISOString()),
101
+ 'createdAt': ((value['createdAt']).toISOString()),
102
+ 'buyerId': value['buyerId'],
103
+ 'buyerEmail': value['buyerEmail'],
104
+ 'accountId': value['accountId'],
105
+ 'accountIdentifier': value['accountIdentifier'],
106
+ 'accountName': value['accountName'],
107
+ 'externalId': value['externalId'],
108
+ };
109
+ }