@randock/nameshift-api-client 0.0.230 → 0.0.232

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 (74) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +11 -0
  4. package/dist/apis/AdminApi.js +51 -0
  5. package/dist/models/AccountSettingsDto.d.ts +7 -0
  6. package/dist/models/AccountSettingsDto.js +5 -0
  7. package/dist/models/AccountSettingsRentConfigurationDto.d.ts +33 -0
  8. package/dist/models/AccountSettingsRentConfigurationDto.js +52 -0
  9. package/dist/models/AdminVerificationDepositDto.d.ts +3 -2
  10. package/dist/models/AdminVerificationDepositDto.js +3 -2
  11. package/dist/models/AirwallexDepositDto.d.ts +63 -0
  12. package/dist/models/AirwallexDepositDto.js +72 -0
  13. package/dist/models/AirwallexDepositDtoFee.d.ts +38 -0
  14. package/dist/models/AirwallexDepositDtoFee.js +51 -0
  15. package/dist/models/BuyerSubscriptionListItemDto.d.ts +1 -1
  16. package/dist/models/CreateManualLeadInput.d.ts +1 -0
  17. package/dist/models/CreateManualLeadInput.js +2 -1
  18. package/dist/models/CreateSubscriptionInput.d.ts +1 -1
  19. package/dist/models/DomainDto.d.ts +7 -0
  20. package/dist/models/DomainDto.js +5 -0
  21. package/dist/models/DomainSalesInformationDto.d.ts +7 -0
  22. package/dist/models/DomainSalesInformationDto.js +5 -0
  23. package/dist/models/DomainSalesInformationRentConfigurationDto.d.ts +39 -0
  24. package/dist/models/DomainSalesInformationRentConfigurationDto.js +56 -0
  25. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  26. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +1 -0
  27. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
  28. package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
  29. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  30. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  31. package/dist/models/RentConfigurationDto.d.ts +39 -0
  32. package/dist/models/RentConfigurationDto.js +56 -0
  33. package/dist/models/RentConfigurationInput.d.ts +39 -0
  34. package/dist/models/RentConfigurationInput.js +52 -0
  35. package/dist/models/RentConfigurationPresetsDto.d.ts +32 -0
  36. package/dist/models/RentConfigurationPresetsDto.js +51 -0
  37. package/dist/models/SellerSubscriptionListItemDto.d.ts +1 -1
  38. package/dist/models/SubscriptionDetailsDto.d.ts +1 -1
  39. package/dist/models/SubscriptionDto.d.ts +2 -2
  40. package/dist/models/SubscriptionListItemDto.d.ts +1 -1
  41. package/dist/models/UpdateDomainInput.d.ts +7 -0
  42. package/dist/models/UpdateDomainInput.js +3 -0
  43. package/dist/models/UpdateSubscriptionInput.d.ts +1 -1
  44. package/dist/models/WithSettingsInner.d.ts +7 -0
  45. package/dist/models/WithSettingsInner.js +5 -0
  46. package/dist/models/index.d.ts +7 -0
  47. package/dist/models/index.js +7 -0
  48. package/package.json +1 -1
  49. package/src/apis/AdminApi.ts +44 -0
  50. package/src/models/AccountSettingsDto.ts +16 -0
  51. package/src/models/AccountSettingsRentConfigurationDto.ts +74 -0
  52. package/src/models/AdminVerificationDepositDto.ts +12 -4
  53. package/src/models/AirwallexDepositDto.ts +119 -0
  54. package/src/models/AirwallexDepositDtoFee.ts +73 -0
  55. package/src/models/BuyerSubscriptionListItemDto.ts +1 -1
  56. package/src/models/CreateManualLeadInput.ts +2 -1
  57. package/src/models/CreateSubscriptionInput.ts +1 -1
  58. package/src/models/DomainDto.ts +16 -0
  59. package/src/models/DomainSalesInformationDto.ts +16 -0
  60. package/src/models/DomainSalesInformationRentConfigurationDto.ts +83 -0
  61. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +1 -0
  62. package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
  63. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  64. package/src/models/RentConfigurationDto.ts +83 -0
  65. package/src/models/RentConfigurationInput.ts +81 -0
  66. package/src/models/RentConfigurationPresetsDto.ts +66 -0
  67. package/src/models/SellerSubscriptionListItemDto.ts +1 -1
  68. package/src/models/SubscriptionDetailsDto.ts +1 -1
  69. package/src/models/SubscriptionDto.ts +2 -2
  70. package/src/models/SubscriptionListItemDto.ts +1 -1
  71. package/src/models/UpdateDomainInput.ts +15 -0
  72. package/src/models/UpdateSubscriptionInput.ts +1 -1
  73. package/src/models/WithSettingsInner.ts +16 -0
  74. package/src/models/index.ts +7 -0
@@ -38,6 +38,7 @@ src/models/AccountPayoutDto.ts
38
38
  src/models/AccountSettingsDto.ts
39
39
  src/models/AccountSettingsInput.ts
40
40
  src/models/AccountSettingsLeaseToOwnConfigurationDto.ts
41
+ src/models/AccountSettingsRentConfigurationDto.ts
41
42
  src/models/AccountSettingsSidnDto.ts
42
43
  src/models/AddressDto.ts
43
44
  src/models/AdminAccountLoginDto.ts
@@ -49,6 +50,8 @@ src/models/AirwallexBankAccountDetailsDto.ts
49
50
  src/models/AirwallexBankAccountDetailsDtoInstitution.ts
50
51
  src/models/AirwallexBankAccountDetailsDtoLocalMethod.ts
51
52
  src/models/AirwallexBankAccountDetailsDtoLocalMethodCode.ts
53
+ src/models/AirwallexDepositDto.ts
54
+ src/models/AirwallexDepositDtoFee.ts
52
55
  src/models/BadRequestException.ts
53
56
  src/models/BatchDeleteBuyerLeadsInput.ts
54
57
  src/models/BatchImportPreviewDto.ts
@@ -88,6 +91,7 @@ src/models/DomainDto.ts
88
91
  src/models/DomainExchangeRateDto.ts
89
92
  src/models/DomainSalesInformationDto.ts
90
93
  src/models/DomainSalesInformationLeaseToOwnConfigurationDto.ts
94
+ src/models/DomainSalesInformationRentConfigurationDto.ts
91
95
  src/models/DomainSellerDto.ts
92
96
  src/models/DomainStatsDto.ts
93
97
  src/models/DomainTransferAgentDto.ts
@@ -188,6 +192,9 @@ src/models/PutBuyerLeadOfferInput.ts
188
192
  src/models/PutLeadOfferInput.ts
189
193
  src/models/RegisterAccountInput.ts
190
194
  src/models/RelatedSellerDomain.ts
195
+ src/models/RentConfigurationDto.ts
196
+ src/models/RentConfigurationInput.ts
197
+ src/models/RentConfigurationPresetsDto.ts
191
198
  src/models/RequestAccessTokenInput.ts
192
199
  src/models/SellerDomainTransferAuthCodeDto.ts
193
200
  src/models/SellerDomainTransferDomainDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.230
1
+ ## @randock/nameshift-api-client@0.0.232
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.230 --save
39
+ npm install @randock/nameshift-api-client@0.0.232 --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
- 4293ac9571650d9ceadb079b8553600299675a0ab3f60c27c3f23a8db9bc32d4a19f28ff6e0f68190739fca5264c05a5
47
+ a236841c9c7aa320b19221860c51af38f0c9ac45d1581cf0e5afe3c37ef79218c06631bb720d70456383854cea6d6639
@@ -104,6 +104,9 @@ export interface AdminApiUpdateAccountSettingsRequest {
104
104
  accountId: string;
105
105
  adminAccountSettingsInput: AdminAccountSettingsInput;
106
106
  }
107
+ export interface AdminApiVerifyBankAccountRequest {
108
+ bankAccountId: string;
109
+ }
107
110
  /**
108
111
  *
109
112
  */
@@ -276,4 +279,12 @@ export declare class AdminApi extends runtime.BaseAPI {
276
279
  *
277
280
  */
278
281
  updateAccountSettings(requestParameters: AdminApiUpdateAccountSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
282
+ /**
283
+ *
284
+ */
285
+ verifyBankAccountRaw(requestParameters: AdminApiVerifyBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
286
+ /**
287
+ *
288
+ */
289
+ verifyBankAccount(requestParameters: AdminApiVerifyBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
279
290
  }
@@ -1278,6 +1278,57 @@ var AdminApi = /** @class */ (function (_super) {
1278
1278
  });
1279
1279
  });
1280
1280
  };
1281
+ /**
1282
+ *
1283
+ */
1284
+ AdminApi.prototype.verifyBankAccountRaw = function (requestParameters, initOverrides) {
1285
+ return __awaiter(this, void 0, void 0, function () {
1286
+ var queryParameters, headerParameters, token, tokenString, response;
1287
+ return __generator(this, function (_a) {
1288
+ switch (_a.label) {
1289
+ case 0:
1290
+ if (requestParameters['bankAccountId'] == null) {
1291
+ throw new runtime.RequiredError('bankAccountId', 'Required parameter "bankAccountId" was null or undefined when calling verifyBankAccount().');
1292
+ }
1293
+ queryParameters = {};
1294
+ headerParameters = {};
1295
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
1296
+ token = this.configuration.accessToken;
1297
+ return [4 /*yield*/, token("bearer", [])];
1298
+ case 1:
1299
+ tokenString = _a.sent();
1300
+ if (tokenString) {
1301
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1302
+ }
1303
+ _a.label = 2;
1304
+ case 2: return [4 /*yield*/, this.request({
1305
+ path: "/admin/bank-accounts/{bankAccountId}/verify".replace("{".concat("bankAccountId", "}"), encodeURIComponent(String(requestParameters['bankAccountId']))),
1306
+ method: 'POST',
1307
+ headers: headerParameters,
1308
+ query: queryParameters,
1309
+ }, initOverrides)];
1310
+ case 3:
1311
+ response = _a.sent();
1312
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
1313
+ }
1314
+ });
1315
+ });
1316
+ };
1317
+ /**
1318
+ *
1319
+ */
1320
+ AdminApi.prototype.verifyBankAccount = function (requestParameters, initOverrides) {
1321
+ return __awaiter(this, void 0, void 0, function () {
1322
+ return __generator(this, function (_a) {
1323
+ switch (_a.label) {
1324
+ case 0: return [4 /*yield*/, this.verifyBankAccountRaw(requestParameters, initOverrides)];
1325
+ case 1:
1326
+ _a.sent();
1327
+ return [2 /*return*/];
1328
+ }
1329
+ });
1330
+ });
1331
+ };
1281
1332
  return AdminApi;
1282
1333
  }(runtime.BaseAPI));
1283
1334
  exports.AdminApi = AdminApi;
@@ -13,6 +13,7 @@ import type { MoneyDto } from './MoneyDto';
13
13
  import type { AccountSettingsSidnDto } from './AccountSettingsSidnDto';
14
14
  import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
15
15
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
16
+ import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
16
17
  /**
17
18
  *
18
19
  * @export
@@ -43,6 +44,12 @@ export interface AccountSettingsDto {
43
44
  * @memberof AccountSettingsDto
44
45
  */
45
46
  leaseToOwn: AccountSettingsLeaseToOwnConfigurationDto;
47
+ /**
48
+ *
49
+ * @type {AccountSettingsRentConfigurationDto}
50
+ * @memberof AccountSettingsDto
51
+ */
52
+ rent: AccountSettingsRentConfigurationDto;
46
53
  /**
47
54
  *
48
55
  * @type {LandingPageSettingsDto}
@@ -22,6 +22,7 @@ var MoneyDto_1 = require("./MoneyDto");
22
22
  var AccountSettingsSidnDto_1 = require("./AccountSettingsSidnDto");
23
23
  var AccountSettingsLeaseToOwnConfigurationDto_1 = require("./AccountSettingsLeaseToOwnConfigurationDto");
24
24
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
25
+ var AccountSettingsRentConfigurationDto_1 = require("./AccountSettingsRentConfigurationDto");
25
26
  /**
26
27
  * Check if a given object implements the AccountSettingsDto interface.
27
28
  */
@@ -34,6 +35,8 @@ function instanceOfAccountSettingsDto(value) {
34
35
  return false;
35
36
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
36
37
  return false;
38
+ if (!('rent' in value) || value['rent'] === undefined)
39
+ return false;
37
40
  if (!('landing' in value) || value['landing'] === undefined)
38
41
  return false;
39
42
  if (!('sidn' in value) || value['sidn'] === undefined)
@@ -56,6 +59,7 @@ function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
56
59
  'minBuyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minBuyNow']),
57
60
  'defaultCurrencyCode': json['defaultCurrencyCode'],
58
61
  'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
62
+ 'rent': (0, AccountSettingsRentConfigurationDto_1.AccountSettingsRentConfigurationDtoFromJSON)(json['rent']),
59
63
  'landing': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landing']),
60
64
  'sidn': (0, AccountSettingsSidnDto_1.AccountSettingsSidnDtoFromJSON)(json['sidn']),
61
65
  'description': json['description'],
@@ -75,6 +79,7 @@ function AccountSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
75
79
  'minBuyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['minBuyNow']),
76
80
  'defaultCurrencyCode': value['defaultCurrencyCode'],
77
81
  'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
82
+ 'rent': (0, AccountSettingsRentConfigurationDto_1.AccountSettingsRentConfigurationDtoToJSON)(value['rent']),
78
83
  'landing': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landing']),
79
84
  'sidn': (0, AccountSettingsSidnDto_1.AccountSettingsSidnDtoToJSON)(value['sidn']),
80
85
  'description': value['description'],
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
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 { RentConfigurationPresetsDto } from './RentConfigurationPresetsDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AccountSettingsRentConfigurationDto
17
+ */
18
+ export interface AccountSettingsRentConfigurationDto {
19
+ /**
20
+ *
21
+ * @type {RentConfigurationPresetsDto}
22
+ * @memberof AccountSettingsRentConfigurationDto
23
+ */
24
+ presets: RentConfigurationPresetsDto;
25
+ }
26
+ /**
27
+ * Check if a given object implements the AccountSettingsRentConfigurationDto interface.
28
+ */
29
+ export declare function instanceOfAccountSettingsRentConfigurationDto(value: object): value is AccountSettingsRentConfigurationDto;
30
+ export declare function AccountSettingsRentConfigurationDtoFromJSON(json: any): AccountSettingsRentConfigurationDto;
31
+ export declare function AccountSettingsRentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsRentConfigurationDto;
32
+ export declare function AccountSettingsRentConfigurationDtoToJSON(json: any): AccountSettingsRentConfigurationDto;
33
+ export declare function AccountSettingsRentConfigurationDtoToJSONTyped(value?: AccountSettingsRentConfigurationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
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.instanceOfAccountSettingsRentConfigurationDto = instanceOfAccountSettingsRentConfigurationDto;
17
+ exports.AccountSettingsRentConfigurationDtoFromJSON = AccountSettingsRentConfigurationDtoFromJSON;
18
+ exports.AccountSettingsRentConfigurationDtoFromJSONTyped = AccountSettingsRentConfigurationDtoFromJSONTyped;
19
+ exports.AccountSettingsRentConfigurationDtoToJSON = AccountSettingsRentConfigurationDtoToJSON;
20
+ exports.AccountSettingsRentConfigurationDtoToJSONTyped = AccountSettingsRentConfigurationDtoToJSONTyped;
21
+ var RentConfigurationPresetsDto_1 = require("./RentConfigurationPresetsDto");
22
+ /**
23
+ * Check if a given object implements the AccountSettingsRentConfigurationDto interface.
24
+ */
25
+ function instanceOfAccountSettingsRentConfigurationDto(value) {
26
+ if (!('presets' in value) || value['presets'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function AccountSettingsRentConfigurationDtoFromJSON(json) {
31
+ return AccountSettingsRentConfigurationDtoFromJSONTyped(json, false);
32
+ }
33
+ function AccountSettingsRentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'presets': (0, RentConfigurationPresetsDto_1.RentConfigurationPresetsDtoFromJSON)(json['presets']),
39
+ };
40
+ }
41
+ function AccountSettingsRentConfigurationDtoToJSON(json) {
42
+ return AccountSettingsRentConfigurationDtoToJSONTyped(json, false);
43
+ }
44
+ function AccountSettingsRentConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'presets': (0, RentConfigurationPresetsDto_1.RentConfigurationPresetsDtoToJSON)(value['presets']),
51
+ };
52
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { AirwallexDepositDto } from './AirwallexDepositDto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -23,10 +24,10 @@ export interface AdminVerificationDepositDto {
23
24
  id: string;
24
25
  /**
25
26
  *
26
- * @type {object}
27
+ * @type {AirwallexDepositDto}
27
28
  * @memberof AdminVerificationDepositDto
28
29
  */
29
- raw: object;
30
+ raw: AirwallexDepositDto;
30
31
  }
31
32
  /**
32
33
  * Check if a given object implements the AdminVerificationDepositDto interface.
@@ -18,6 +18,7 @@ exports.AdminVerificationDepositDtoFromJSON = AdminVerificationDepositDtoFromJSO
18
18
  exports.AdminVerificationDepositDtoFromJSONTyped = AdminVerificationDepositDtoFromJSONTyped;
19
19
  exports.AdminVerificationDepositDtoToJSON = AdminVerificationDepositDtoToJSON;
20
20
  exports.AdminVerificationDepositDtoToJSONTyped = AdminVerificationDepositDtoToJSONTyped;
21
+ var AirwallexDepositDto_1 = require("./AirwallexDepositDto");
21
22
  /**
22
23
  * Check if a given object implements the AdminVerificationDepositDto interface.
23
24
  */
@@ -37,7 +38,7 @@ function AdminVerificationDepositDtoFromJSONTyped(json, ignoreDiscriminator) {
37
38
  }
38
39
  return {
39
40
  'id': json['id'],
40
- 'raw': json['raw'],
41
+ 'raw': (0, AirwallexDepositDto_1.AirwallexDepositDtoFromJSON)(json['raw']),
41
42
  };
42
43
  }
43
44
  function AdminVerificationDepositDtoToJSON(json) {
@@ -50,6 +51,6 @@ function AdminVerificationDepositDtoToJSONTyped(value, ignoreDiscriminator) {
50
51
  }
51
52
  return {
52
53
  'id': value['id'],
53
- 'raw': value['raw'],
54
+ 'raw': (0, AirwallexDepositDto_1.AirwallexDepositDtoToJSON)(value['raw']),
54
55
  };
55
56
  }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
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 { AirwallexDepositDtoFee } from './AirwallexDepositDtoFee';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AirwallexDepositDto
17
+ */
18
+ export interface AirwallexDepositDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof AirwallexDepositDto
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {object}
28
+ * @memberof AirwallexDepositDto
29
+ */
30
+ payer: object;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof AirwallexDepositDto
35
+ */
36
+ amount: number;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof AirwallexDepositDto
41
+ */
42
+ currency: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof AirwallexDepositDto
47
+ */
48
+ reference: string;
49
+ /**
50
+ *
51
+ * @type {AirwallexDepositDtoFee}
52
+ * @memberof AirwallexDepositDto
53
+ */
54
+ fee: AirwallexDepositDtoFee;
55
+ }
56
+ /**
57
+ * Check if a given object implements the AirwallexDepositDto interface.
58
+ */
59
+ export declare function instanceOfAirwallexDepositDto(value: object): value is AirwallexDepositDto;
60
+ export declare function AirwallexDepositDtoFromJSON(json: any): AirwallexDepositDto;
61
+ export declare function AirwallexDepositDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AirwallexDepositDto;
62
+ export declare function AirwallexDepositDtoToJSON(json: any): AirwallexDepositDto;
63
+ export declare function AirwallexDepositDtoToJSONTyped(value?: AirwallexDepositDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
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.instanceOfAirwallexDepositDto = instanceOfAirwallexDepositDto;
17
+ exports.AirwallexDepositDtoFromJSON = AirwallexDepositDtoFromJSON;
18
+ exports.AirwallexDepositDtoFromJSONTyped = AirwallexDepositDtoFromJSONTyped;
19
+ exports.AirwallexDepositDtoToJSON = AirwallexDepositDtoToJSON;
20
+ exports.AirwallexDepositDtoToJSONTyped = AirwallexDepositDtoToJSONTyped;
21
+ var AirwallexDepositDtoFee_1 = require("./AirwallexDepositDtoFee");
22
+ /**
23
+ * Check if a given object implements the AirwallexDepositDto interface.
24
+ */
25
+ function instanceOfAirwallexDepositDto(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('payer' in value) || value['payer'] === undefined)
29
+ return false;
30
+ if (!('amount' in value) || value['amount'] === undefined)
31
+ return false;
32
+ if (!('currency' in value) || value['currency'] === undefined)
33
+ return false;
34
+ if (!('reference' in value) || value['reference'] === undefined)
35
+ return false;
36
+ if (!('fee' in value) || value['fee'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function AirwallexDepositDtoFromJSON(json) {
41
+ return AirwallexDepositDtoFromJSONTyped(json, false);
42
+ }
43
+ function AirwallexDepositDtoFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'id': json['id'],
49
+ 'payer': json['payer'],
50
+ 'amount': json['amount'],
51
+ 'currency': json['currency'],
52
+ 'reference': json['reference'],
53
+ 'fee': (0, AirwallexDepositDtoFee_1.AirwallexDepositDtoFeeFromJSON)(json['fee']),
54
+ };
55
+ }
56
+ function AirwallexDepositDtoToJSON(json) {
57
+ return AirwallexDepositDtoToJSONTyped(json, false);
58
+ }
59
+ function AirwallexDepositDtoToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'id': value['id'],
66
+ 'payer': value['payer'],
67
+ 'amount': value['amount'],
68
+ 'currency': value['currency'],
69
+ 'reference': value['reference'],
70
+ 'fee': (0, AirwallexDepositDtoFee_1.AirwallexDepositDtoFeeToJSON)(value['fee']),
71
+ };
72
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
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 AirwallexDepositDtoFee
16
+ */
17
+ export interface AirwallexDepositDtoFee {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof AirwallexDepositDtoFee
22
+ */
23
+ amount?: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AirwallexDepositDtoFee
28
+ */
29
+ currency?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AirwallexDepositDtoFee interface.
33
+ */
34
+ export declare function instanceOfAirwallexDepositDtoFee(value: object): value is AirwallexDepositDtoFee;
35
+ export declare function AirwallexDepositDtoFeeFromJSON(json: any): AirwallexDepositDtoFee;
36
+ export declare function AirwallexDepositDtoFeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AirwallexDepositDtoFee;
37
+ export declare function AirwallexDepositDtoFeeToJSON(json: any): AirwallexDepositDtoFee;
38
+ export declare function AirwallexDepositDtoFeeToJSONTyped(value?: AirwallexDepositDtoFee | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
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.instanceOfAirwallexDepositDtoFee = instanceOfAirwallexDepositDtoFee;
17
+ exports.AirwallexDepositDtoFeeFromJSON = AirwallexDepositDtoFeeFromJSON;
18
+ exports.AirwallexDepositDtoFeeFromJSONTyped = AirwallexDepositDtoFeeFromJSONTyped;
19
+ exports.AirwallexDepositDtoFeeToJSON = AirwallexDepositDtoFeeToJSON;
20
+ exports.AirwallexDepositDtoFeeToJSONTyped = AirwallexDepositDtoFeeToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AirwallexDepositDtoFee interface.
23
+ */
24
+ function instanceOfAirwallexDepositDtoFee(value) {
25
+ return true;
26
+ }
27
+ function AirwallexDepositDtoFeeFromJSON(json) {
28
+ return AirwallexDepositDtoFeeFromJSONTyped(json, false);
29
+ }
30
+ function AirwallexDepositDtoFeeFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'amount': json['amount'] == null ? undefined : json['amount'],
36
+ 'currency': json['currency'] == null ? undefined : json['currency'],
37
+ };
38
+ }
39
+ function AirwallexDepositDtoFeeToJSON(json) {
40
+ return AirwallexDepositDtoFeeToJSONTyped(json, false);
41
+ }
42
+ function AirwallexDepositDtoFeeToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'amount': value['amount'],
49
+ 'currency': value['currency'],
50
+ };
51
+ }
@@ -76,7 +76,7 @@ export interface BuyerSubscriptionListItemDto {
76
76
  * @type {number}
77
77
  * @memberof BuyerSubscriptionListItemDto
78
78
  */
79
- installments: number;
79
+ installments: number | null;
80
80
  /**
81
81
  * The subscription buyer paid installments number
82
82
  * @type {number}
@@ -78,6 +78,7 @@ export declare const CreateManualLeadInputTypeEnum: {
78
78
  readonly BUY_NOW: "buy_now";
79
79
  readonly OFFER: "offer";
80
80
  readonly LEASE_TO_OWN: "lease_to_own";
81
+ readonly RENT: "rent";
81
82
  };
82
83
  export type CreateManualLeadInputTypeEnum = typeof CreateManualLeadInputTypeEnum[keyof typeof CreateManualLeadInputTypeEnum];
83
84
  /**
@@ -26,7 +26,8 @@ var MoneyInput_1 = require("./MoneyInput");
26
26
  exports.CreateManualLeadInputTypeEnum = {
27
27
  BUY_NOW: 'buy_now',
28
28
  OFFER: 'offer',
29
- LEASE_TO_OWN: 'lease_to_own'
29
+ LEASE_TO_OWN: 'lease_to_own',
30
+ RENT: 'rent'
30
31
  };
31
32
  /**
32
33
  * Check if a given object implements the CreateManualLeadInput interface.
@@ -28,7 +28,7 @@ export interface CreateSubscriptionInput {
28
28
  * @type {number}
29
29
  * @memberof CreateSubscriptionInput
30
30
  */
31
- installments: number;
31
+ installments: number | null;
32
32
  /**
33
33
  *
34
34
  * @type {CreateSubscriptionBillingPeriodicityInput}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
+ import type { RentConfigurationDto } from './RentConfigurationDto';
13
14
  import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
14
15
  import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
15
16
  /**
@@ -85,6 +86,12 @@ export interface DomainDto {
85
86
  * @memberof DomainDto
86
87
  */
87
88
  leaseToOwn: LeaseToOwnConfigurationDto;
89
+ /**
90
+ * The rent configuration
91
+ * @type {RentConfigurationDto}
92
+ * @memberof DomainDto
93
+ */
94
+ rent: RentConfigurationDto;
88
95
  /**
89
96
  * The lease to own configuration
90
97
  * @type {LandingPageSettingsDto}
@@ -19,6 +19,7 @@ exports.DomainDtoFromJSONTyped = DomainDtoFromJSONTyped;
19
19
  exports.DomainDtoToJSON = DomainDtoToJSON;
20
20
  exports.DomainDtoToJSONTyped = DomainDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
+ var RentConfigurationDto_1 = require("./RentConfigurationDto");
22
23
  var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
23
24
  var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
24
25
  /**
@@ -47,6 +48,8 @@ function instanceOfDomainDto(value) {
47
48
  return false;
48
49
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
49
50
  return false;
51
+ if (!('rent' in value) || value['rent'] === undefined)
52
+ return false;
50
53
  if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined)
51
54
  return false;
52
55
  if (!('minOffer' in value) || value['minOffer'] === undefined)
@@ -78,6 +81,7 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
78
81
  'currencyCode': json['currencyCode'],
79
82
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
80
83
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
84
+ 'rent': (0, RentConfigurationDto_1.RentConfigurationDtoFromJSON)(json['rent']),
81
85
  'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landingPageSettings']),
82
86
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
83
87
  'createdAt': (new Date(json['createdAt'])),
@@ -105,6 +109,7 @@ function DomainDtoToJSONTyped(value, ignoreDiscriminator) {
105
109
  'currencyCode': value['currencyCode'],
106
110
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
107
111
  'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
112
+ 'rent': (0, RentConfigurationDto_1.RentConfigurationDtoToJSON)(value['rent']),
108
113
  'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landingPageSettings']),
109
114
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
110
115
  'createdAt': ((value['createdAt']).toISOString()),
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { DomainSellerDto } from './DomainSellerDto';
13
13
  import type { MoneyDto } from './MoneyDto';
14
+ import type { DomainSalesInformationRentConfigurationDto } from './DomainSalesInformationRentConfigurationDto';
14
15
  import type { DomainStatsDto } from './DomainStatsDto';
15
16
  import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
16
17
  import type { SeoMetricsDto } from './SeoMetricsDto';
@@ -44,6 +45,12 @@ export interface DomainSalesInformationDto {
44
45
  * @memberof DomainSalesInformationDto
45
46
  */
46
47
  leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
48
+ /**
49
+ * Rent configuration or null if it is not enabled
50
+ * @type {DomainSalesInformationRentConfigurationDto}
51
+ * @memberof DomainSalesInformationDto
52
+ */
53
+ rent: DomainSalesInformationRentConfigurationDto;
47
54
  /**
48
55
  * min offer price or null if offers are not enabled
49
56
  * @type {MoneyDto}