@randock/nameshift-api-client 0.0.228 → 0.0.230

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 (33) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +15 -1
  4. package/dist/apis/AdminApi.js +63 -0
  5. package/dist/apis/AirwallexPublicApi.d.ts +29 -0
  6. package/dist/apis/AirwallexPublicApi.js +130 -0
  7. package/dist/apis/DomainsApi.d.ts +13 -1
  8. package/dist/apis/DomainsApi.js +56 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.js +1 -0
  11. package/dist/models/AdminBankAccountDto.d.ts +46 -0
  12. package/dist/models/AdminBankAccountDto.js +61 -0
  13. package/dist/models/AdminVerificationDepositDto.d.ts +38 -0
  14. package/dist/models/AdminVerificationDepositDto.js +55 -0
  15. package/dist/models/ConcreteDomainTransferTaskData.d.ts +1 -0
  16. package/dist/models/ConcreteDomainTransferTaskData.js +2 -1
  17. package/dist/models/ListBankAccounts200Response.d.ts +47 -0
  18. package/dist/models/ListBankAccounts200Response.js +62 -0
  19. package/dist/models/UpdateDomainTransferIpsTagInput.d.ts +32 -0
  20. package/dist/models/UpdateDomainTransferIpsTagInput.js +51 -0
  21. package/dist/models/index.d.ts +4 -0
  22. package/dist/models/index.js +4 -0
  23. package/package.json +1 -1
  24. package/src/apis/AdminApi.ts +60 -0
  25. package/src/apis/AirwallexPublicApi.ts +85 -0
  26. package/src/apis/DomainsApi.ts +58 -0
  27. package/src/apis/index.ts +1 -0
  28. package/src/models/AdminBankAccountDto.ts +99 -0
  29. package/src/models/AdminVerificationDepositDto.ts +75 -0
  30. package/src/models/ConcreteDomainTransferTaskData.ts +2 -1
  31. package/src/models/ListBankAccounts200Response.ts +106 -0
  32. package/src/models/UpdateDomainTransferIpsTagInput.ts +66 -0
  33. package/src/models/index.ts +4 -0
@@ -6,6 +6,7 @@ package.json
6
6
  src/apis/AccountsApi.ts
7
7
  src/apis/AccountsPublicApi.ts
8
8
  src/apis/AdminApi.ts
9
+ src/apis/AirwallexPublicApi.ts
9
10
  src/apis/BankAccountsApi.ts
10
11
  src/apis/BuyersApi.ts
11
12
  src/apis/BuyersPublicApi.ts
@@ -41,7 +42,9 @@ src/models/AccountSettingsSidnDto.ts
41
42
  src/models/AddressDto.ts
42
43
  src/models/AdminAccountLoginDto.ts
43
44
  src/models/AdminAccountSettingsInput.ts
45
+ src/models/AdminBankAccountDto.ts
44
46
  src/models/AdminGetAllDomainTransfers200Response.ts
47
+ src/models/AdminVerificationDepositDto.ts
45
48
  src/models/AirwallexBankAccountDetailsDto.ts
46
49
  src/models/AirwallexBankAccountDetailsDtoInstitution.ts
47
50
  src/models/AirwallexBankAccountDetailsDtoLocalMethod.ts
@@ -151,6 +154,7 @@ src/models/ListAccountDto.ts
151
154
  src/models/ListAccountMetricsDto.ts
152
155
  src/models/ListAccountUserDto.ts
153
156
  src/models/ListAccounts200Response.ts
157
+ src/models/ListBankAccounts200Response.ts
154
158
  src/models/ListDomains200Response.ts
155
159
  src/models/ListLeadMessagesDto.ts
156
160
  src/models/LoginDto.ts
@@ -226,6 +230,7 @@ src/models/UpdateAccountBillingInformationInput.ts
226
230
  src/models/UpdateBuyerDomainTransferIpsTagInputDto.ts
227
231
  src/models/UpdateDomainInput.ts
228
232
  src/models/UpdateDomainTransferAuthCodeInput.ts
233
+ src/models/UpdateDomainTransferIpsTagInput.ts
229
234
  src/models/UpdateLeadInput.ts
230
235
  src/models/UpdateOrderInput.ts
231
236
  src/models/UpdateSubscriptionBillingPeriodicityInput.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.228
1
+ ## @randock/nameshift-api-client@0.0.230
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.228 --save
39
+ npm install @randock/nameshift-api-client@0.0.230 --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
- 01dcf8e8243bb3614aac31618f47d631ff77c38e3d1237895528b0607e11b957a6e24ded3ef4e257a87a444454278a6d
47
+ 4293ac9571650d9ceadb079b8553600299675a0ab3f60c27c3f23a8db9bc32d4a19f28ff6e0f68190739fca5264c05a5
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminGetAllDomainTransfers200Response, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, DomainTransferDetailsDto, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, ListAccounts200Response, ListDomains200Response, SubscriptionDetailsDto } from '../models/index';
13
+ import type { AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminGetAllDomainTransfers200Response, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, DomainTransferDetailsDto, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, ListAccounts200Response, ListBankAccounts200Response, ListDomains200Response, SubscriptionDetailsDto } from '../models/index';
14
14
  export interface AdminApiAdminGetAllDomainTransfersRequest {
15
15
  filter?: object;
16
16
  page?: number;
@@ -70,6 +70,12 @@ export interface AdminApiListAccountsRequest {
70
70
  limit?: number;
71
71
  sortBy?: Array<string>;
72
72
  }
73
+ export interface AdminApiListBankAccountsRequest {
74
+ filter?: object;
75
+ page?: number;
76
+ limit?: number;
77
+ sortBy?: Array<string>;
78
+ }
73
79
  export interface AdminApiListDomainsRequest {
74
80
  filter?: object;
75
81
  page?: number;
@@ -206,6 +212,14 @@ export declare class AdminApi extends runtime.BaseAPI {
206
212
  *
207
213
  */
208
214
  listAccounts(requestParameters?: AdminApiListAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListAccounts200Response>;
215
+ /**
216
+ *
217
+ */
218
+ listBankAccountsRaw(requestParameters: AdminApiListBankAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListBankAccounts200Response>>;
219
+ /**
220
+ *
221
+ */
222
+ listBankAccounts(requestParameters?: AdminApiListBankAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListBankAccounts200Response>;
209
223
  /**
210
224
  *
211
225
  */
@@ -830,6 +830,69 @@ var AdminApi = /** @class */ (function (_super) {
830
830
  });
831
831
  });
832
832
  };
833
+ /**
834
+ *
835
+ */
836
+ AdminApi.prototype.listBankAccountsRaw = function (requestParameters, initOverrides) {
837
+ return __awaiter(this, void 0, void 0, function () {
838
+ var queryParameters, headerParameters, token, tokenString, response;
839
+ return __generator(this, function (_a) {
840
+ switch (_a.label) {
841
+ case 0:
842
+ queryParameters = {};
843
+ if (requestParameters['filter'] != null) {
844
+ queryParameters['filter'] = requestParameters['filter'];
845
+ }
846
+ if (requestParameters['page'] != null) {
847
+ queryParameters['page'] = requestParameters['page'];
848
+ }
849
+ if (requestParameters['limit'] != null) {
850
+ queryParameters['limit'] = requestParameters['limit'];
851
+ }
852
+ if (requestParameters['sortBy'] != null) {
853
+ queryParameters['sortBy'] = requestParameters['sortBy'];
854
+ }
855
+ headerParameters = {};
856
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
857
+ token = this.configuration.accessToken;
858
+ return [4 /*yield*/, token("bearer", [])];
859
+ case 1:
860
+ tokenString = _a.sent();
861
+ if (tokenString) {
862
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
863
+ }
864
+ _a.label = 2;
865
+ case 2: return [4 /*yield*/, this.request({
866
+ path: "/admin/bank-accounts/list",
867
+ method: 'GET',
868
+ headers: headerParameters,
869
+ query: queryParameters,
870
+ }, initOverrides)];
871
+ case 3:
872
+ response = _a.sent();
873
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ListBankAccounts200ResponseFromJSON)(jsonValue); })];
874
+ }
875
+ });
876
+ });
877
+ };
878
+ /**
879
+ *
880
+ */
881
+ AdminApi.prototype.listBankAccounts = function () {
882
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
883
+ var response;
884
+ if (requestParameters === void 0) { requestParameters = {}; }
885
+ return __generator(this, function (_a) {
886
+ switch (_a.label) {
887
+ case 0: return [4 /*yield*/, this.listBankAccountsRaw(requestParameters, initOverrides)];
888
+ case 1:
889
+ response = _a.sent();
890
+ return [4 /*yield*/, response.value()];
891
+ case 2: return [2 /*return*/, _a.sent()];
892
+ }
893
+ });
894
+ });
895
+ };
833
896
  /**
834
897
  *
835
898
  */
@@ -0,0 +1,29 @@
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 * as runtime from '../runtime';
13
+ export interface AirwallexPublicApiPostAirwallexWebhookRequest {
14
+ xSignature: string;
15
+ xTimestamp: string;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class AirwallexPublicApi extends runtime.BaseAPI {
21
+ /**
22
+ *
23
+ */
24
+ postAirwallexWebhookRaw(requestParameters: AirwallexPublicApiPostAirwallexWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
25
+ /**
26
+ *
27
+ */
28
+ postAirwallexWebhook(requestParameters: AirwallexPublicApiPostAirwallexWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
29
+ }
@@ -0,0 +1,130 @@
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
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
+ return new (P || (P = Promise))(function (resolve, reject) {
33
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
34
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
35
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
36
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
37
+ });
38
+ };
39
+ var __generator = (this && this.__generator) || function (thisArg, body) {
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
+ function verb(n) { return function (v) { return step([n, v]); }; }
43
+ function step(op) {
44
+ if (f) throw new TypeError("Generator is already executing.");
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
+ if (y = 0, t) op = [op[0] & 2, t.value];
48
+ switch (op[0]) {
49
+ case 0: case 1: t = op; break;
50
+ case 4: _.label++; return { value: op[1], done: false };
51
+ case 5: _.label++; y = op[1]; op = [0]; continue;
52
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
53
+ default:
54
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
55
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
56
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
57
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
58
+ if (t[2]) _.ops.pop();
59
+ _.trys.pop(); continue;
60
+ }
61
+ op = body.call(thisArg, _);
62
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
63
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
64
+ }
65
+ };
66
+ Object.defineProperty(exports, "__esModule", { value: true });
67
+ exports.AirwallexPublicApi = void 0;
68
+ var runtime = require("../runtime");
69
+ /**
70
+ *
71
+ */
72
+ var AirwallexPublicApi = /** @class */ (function (_super) {
73
+ __extends(AirwallexPublicApi, _super);
74
+ function AirwallexPublicApi() {
75
+ return _super !== null && _super.apply(this, arguments) || this;
76
+ }
77
+ /**
78
+ *
79
+ */
80
+ AirwallexPublicApi.prototype.postAirwallexWebhookRaw = function (requestParameters, initOverrides) {
81
+ return __awaiter(this, void 0, void 0, function () {
82
+ var queryParameters, headerParameters, response;
83
+ return __generator(this, function (_a) {
84
+ switch (_a.label) {
85
+ case 0:
86
+ if (requestParameters['xSignature'] == null) {
87
+ throw new runtime.RequiredError('xSignature', 'Required parameter "xSignature" was null or undefined when calling postAirwallexWebhook().');
88
+ }
89
+ if (requestParameters['xTimestamp'] == null) {
90
+ throw new runtime.RequiredError('xTimestamp', 'Required parameter "xTimestamp" was null or undefined when calling postAirwallexWebhook().');
91
+ }
92
+ queryParameters = {};
93
+ headerParameters = {};
94
+ if (requestParameters['xSignature'] != null) {
95
+ headerParameters['x-signature'] = String(requestParameters['xSignature']);
96
+ }
97
+ if (requestParameters['xTimestamp'] != null) {
98
+ headerParameters['x-timestamp'] = String(requestParameters['xTimestamp']);
99
+ }
100
+ return [4 /*yield*/, this.request({
101
+ path: "/airwallex/webhook",
102
+ method: 'POST',
103
+ headers: headerParameters,
104
+ query: queryParameters,
105
+ }, initOverrides)];
106
+ case 1:
107
+ response = _a.sent();
108
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
109
+ }
110
+ });
111
+ });
112
+ };
113
+ /**
114
+ *
115
+ */
116
+ AirwallexPublicApi.prototype.postAirwallexWebhook = function (requestParameters, initOverrides) {
117
+ return __awaiter(this, void 0, void 0, function () {
118
+ return __generator(this, function (_a) {
119
+ switch (_a.label) {
120
+ case 0: return [4 /*yield*/, this.postAirwallexWebhookRaw(requestParameters, initOverrides)];
121
+ case 1:
122
+ _a.sent();
123
+ return [2 /*return*/];
124
+ }
125
+ });
126
+ });
127
+ };
128
+ return AirwallexPublicApi;
129
+ }(runtime.BaseAPI));
130
+ exports.AirwallexPublicApi = AirwallexPublicApi;
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BatchImportPreviewDto, BatchUpdateDomainsInput, DeleteDomainsInput, DomainExchangeRateDto, DomainUrlDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response2, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
13
+ import type { BatchImportPreviewDto, BatchUpdateDomainsInput, DeleteDomainsInput, DomainExchangeRateDto, DomainUrlDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response2, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput, UpdateDomainTransferIpsTagInput } from '../models/index';
14
14
  export interface DomainsApiBatchImportRequest {
15
15
  file?: Blob | null;
16
16
  domains?: Array<string>;
@@ -59,6 +59,10 @@ export interface DomainsApiUpdateDomainTransferAuthCodeRequest {
59
59
  transferId: string;
60
60
  updateDomainTransferAuthCodeInput: UpdateDomainTransferAuthCodeInput;
61
61
  }
62
+ export interface DomainsApiUpdateDomainTransferIpsTagRequest {
63
+ transferId: string;
64
+ updateDomainTransferIpsTagInput: UpdateDomainTransferIpsTagInput;
65
+ }
62
66
  /**
63
67
  *
64
68
  */
@@ -175,4 +179,12 @@ export declare class DomainsApi extends runtime.BaseAPI {
175
179
  *
176
180
  */
177
181
  updateDomainTransferAuthCode(requestParameters: DomainsApiUpdateDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
182
+ /**
183
+ *
184
+ */
185
+ updateDomainTransferIpsTagRaw(requestParameters: DomainsApiUpdateDomainTransferIpsTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
186
+ /**
187
+ *
188
+ */
189
+ updateDomainTransferIpsTag(requestParameters: DomainsApiUpdateDomainTransferIpsTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
178
190
  }
@@ -869,6 +869,62 @@ var DomainsApi = /** @class */ (function (_super) {
869
869
  });
870
870
  });
871
871
  };
872
+ /**
873
+ *
874
+ */
875
+ DomainsApi.prototype.updateDomainTransferIpsTagRaw = function (requestParameters, initOverrides) {
876
+ return __awaiter(this, void 0, void 0, function () {
877
+ var queryParameters, headerParameters, token, tokenString, response;
878
+ return __generator(this, function (_a) {
879
+ switch (_a.label) {
880
+ case 0:
881
+ if (requestParameters['transferId'] == null) {
882
+ throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling updateDomainTransferIpsTag().');
883
+ }
884
+ if (requestParameters['updateDomainTransferIpsTagInput'] == null) {
885
+ throw new runtime.RequiredError('updateDomainTransferIpsTagInput', 'Required parameter "updateDomainTransferIpsTagInput" was null or undefined when calling updateDomainTransferIpsTag().');
886
+ }
887
+ queryParameters = {};
888
+ headerParameters = {};
889
+ headerParameters['Content-Type'] = 'application/json';
890
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
891
+ token = this.configuration.accessToken;
892
+ return [4 /*yield*/, token("bearer", [])];
893
+ case 1:
894
+ tokenString = _a.sent();
895
+ if (tokenString) {
896
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
897
+ }
898
+ _a.label = 2;
899
+ case 2: return [4 /*yield*/, this.request({
900
+ path: "/private/domains/transfers/{transferId}/ips-tag".replace("{".concat("transferId", "}"), encodeURIComponent(String(requestParameters['transferId']))),
901
+ method: 'PATCH',
902
+ headers: headerParameters,
903
+ query: queryParameters,
904
+ body: (0, index_1.UpdateDomainTransferIpsTagInputToJSON)(requestParameters['updateDomainTransferIpsTagInput']),
905
+ }, initOverrides)];
906
+ case 3:
907
+ response = _a.sent();
908
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
909
+ }
910
+ });
911
+ });
912
+ };
913
+ /**
914
+ *
915
+ */
916
+ DomainsApi.prototype.updateDomainTransferIpsTag = function (requestParameters, initOverrides) {
917
+ return __awaiter(this, void 0, void 0, function () {
918
+ return __generator(this, function (_a) {
919
+ switch (_a.label) {
920
+ case 0: return [4 /*yield*/, this.updateDomainTransferIpsTagRaw(requestParameters, initOverrides)];
921
+ case 1:
922
+ _a.sent();
923
+ return [2 /*return*/];
924
+ }
925
+ });
926
+ });
927
+ };
872
928
  return DomainsApi;
873
929
  }(runtime.BaseAPI));
874
930
  exports.DomainsApi = DomainsApi;
@@ -1,6 +1,7 @@
1
1
  export * from './AccountsApi';
2
2
  export * from './AccountsPublicApi';
3
3
  export * from './AdminApi';
4
+ export * from './AirwallexPublicApi';
4
5
  export * from './BankAccountsApi';
5
6
  export * from './BuyersApi';
6
7
  export * from './BuyersPublicApi';
@@ -19,6 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  __exportStar(require("./AccountsApi"), exports);
20
20
  __exportStar(require("./AccountsPublicApi"), exports);
21
21
  __exportStar(require("./AdminApi"), exports);
22
+ __exportStar(require("./AirwallexPublicApi"), exports);
22
23
  __exportStar(require("./BankAccountsApi"), exports);
23
24
  __exportStar(require("./BuyersApi"), exports);
24
25
  __exportStar(require("./BuyersPublicApi"), exports);
@@ -0,0 +1,46 @@
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 { AccountBankAccountDto } from './AccountBankAccountDto';
13
+ import type { AdminVerificationDepositDto } from './AdminVerificationDepositDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AdminBankAccountDto
18
+ */
19
+ export interface AdminBankAccountDto {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof AdminBankAccountDto
24
+ */
25
+ accountName: string;
26
+ /**
27
+ *
28
+ * @type {AccountBankAccountDto}
29
+ * @memberof AdminBankAccountDto
30
+ */
31
+ bankAccount: AccountBankAccountDto;
32
+ /**
33
+ *
34
+ * @type {Array<AdminVerificationDepositDto>}
35
+ * @memberof AdminBankAccountDto
36
+ */
37
+ relatedVerificationDeposits: Array<AdminVerificationDepositDto>;
38
+ }
39
+ /**
40
+ * Check if a given object implements the AdminBankAccountDto interface.
41
+ */
42
+ export declare function instanceOfAdminBankAccountDto(value: object): value is AdminBankAccountDto;
43
+ export declare function AdminBankAccountDtoFromJSON(json: any): AdminBankAccountDto;
44
+ export declare function AdminBankAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankAccountDto;
45
+ export declare function AdminBankAccountDtoToJSON(json: any): AdminBankAccountDto;
46
+ export declare function AdminBankAccountDtoToJSONTyped(value?: AdminBankAccountDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
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.instanceOfAdminBankAccountDto = instanceOfAdminBankAccountDto;
17
+ exports.AdminBankAccountDtoFromJSON = AdminBankAccountDtoFromJSON;
18
+ exports.AdminBankAccountDtoFromJSONTyped = AdminBankAccountDtoFromJSONTyped;
19
+ exports.AdminBankAccountDtoToJSON = AdminBankAccountDtoToJSON;
20
+ exports.AdminBankAccountDtoToJSONTyped = AdminBankAccountDtoToJSONTyped;
21
+ var AccountBankAccountDto_1 = require("./AccountBankAccountDto");
22
+ var AdminVerificationDepositDto_1 = require("./AdminVerificationDepositDto");
23
+ /**
24
+ * Check if a given object implements the AdminBankAccountDto interface.
25
+ */
26
+ function instanceOfAdminBankAccountDto(value) {
27
+ if (!('accountName' in value) || value['accountName'] === undefined)
28
+ return false;
29
+ if (!('bankAccount' in value) || value['bankAccount'] === undefined)
30
+ return false;
31
+ if (!('relatedVerificationDeposits' in value) || value['relatedVerificationDeposits'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function AdminBankAccountDtoFromJSON(json) {
36
+ return AdminBankAccountDtoFromJSONTyped(json, false);
37
+ }
38
+ function AdminBankAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'accountName': json['accountName'],
44
+ 'bankAccount': (0, AccountBankAccountDto_1.AccountBankAccountDtoFromJSON)(json['bankAccount']),
45
+ 'relatedVerificationDeposits': (json['relatedVerificationDeposits'].map(AdminVerificationDepositDto_1.AdminVerificationDepositDtoFromJSON)),
46
+ };
47
+ }
48
+ function AdminBankAccountDtoToJSON(json) {
49
+ return AdminBankAccountDtoToJSONTyped(json, false);
50
+ }
51
+ function AdminBankAccountDtoToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'accountName': value['accountName'],
58
+ 'bankAccount': (0, AccountBankAccountDto_1.AccountBankAccountDtoToJSON)(value['bankAccount']),
59
+ 'relatedVerificationDeposits': (value['relatedVerificationDeposits'].map(AdminVerificationDepositDto_1.AdminVerificationDepositDtoToJSON)),
60
+ };
61
+ }
@@ -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 AdminVerificationDepositDto
16
+ */
17
+ export interface AdminVerificationDepositDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AdminVerificationDepositDto
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {object}
27
+ * @memberof AdminVerificationDepositDto
28
+ */
29
+ raw: object;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AdminVerificationDepositDto interface.
33
+ */
34
+ export declare function instanceOfAdminVerificationDepositDto(value: object): value is AdminVerificationDepositDto;
35
+ export declare function AdminVerificationDepositDtoFromJSON(json: any): AdminVerificationDepositDto;
36
+ export declare function AdminVerificationDepositDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminVerificationDepositDto;
37
+ export declare function AdminVerificationDepositDtoToJSON(json: any): AdminVerificationDepositDto;
38
+ export declare function AdminVerificationDepositDtoToJSONTyped(value?: AdminVerificationDepositDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfAdminVerificationDepositDto = instanceOfAdminVerificationDepositDto;
17
+ exports.AdminVerificationDepositDtoFromJSON = AdminVerificationDepositDtoFromJSON;
18
+ exports.AdminVerificationDepositDtoFromJSONTyped = AdminVerificationDepositDtoFromJSONTyped;
19
+ exports.AdminVerificationDepositDtoToJSON = AdminVerificationDepositDtoToJSON;
20
+ exports.AdminVerificationDepositDtoToJSONTyped = AdminVerificationDepositDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AdminVerificationDepositDto interface.
23
+ */
24
+ function instanceOfAdminVerificationDepositDto(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('raw' in value) || value['raw'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function AdminVerificationDepositDtoFromJSON(json) {
32
+ return AdminVerificationDepositDtoFromJSONTyped(json, false);
33
+ }
34
+ function AdminVerificationDepositDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'raw': json['raw'],
41
+ };
42
+ }
43
+ function AdminVerificationDepositDtoToJSON(json) {
44
+ return AdminVerificationDepositDtoToJSONTyped(json, false);
45
+ }
46
+ function AdminVerificationDepositDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'id': value['id'],
53
+ 'raw': value['raw'],
54
+ };
55
+ }
@@ -32,6 +32,7 @@ export declare const ConcreteDomainTransferTaskDataRequirementsEnum: {
32
32
  readonly OWNED_DOMAIN_TAKEN_BY_BUYER: "owned_domain_taken_by_buyer";
33
33
  readonly OWNED_DOMAIN_TAKEN_BY_SELLER: "owned_domain_taken_by_seller";
34
34
  readonly DOMAIN_IPS_TAG: "domain_ips_tag";
35
+ readonly DOMAIN_IPS_TAG_SELLER: "domain_ips_tag_seller";
35
36
  };
36
37
  export type ConcreteDomainTransferTaskDataRequirementsEnum = typeof ConcreteDomainTransferTaskDataRequirementsEnum[keyof typeof ConcreteDomainTransferTaskDataRequirementsEnum];
37
38
  /**
@@ -28,7 +28,8 @@ exports.ConcreteDomainTransferTaskDataRequirementsEnum = {
28
28
  OWNED_DOMAIN: 'owned_domain',
29
29
  OWNED_DOMAIN_TAKEN_BY_BUYER: 'owned_domain_taken_by_buyer',
30
30
  OWNED_DOMAIN_TAKEN_BY_SELLER: 'owned_domain_taken_by_seller',
31
- DOMAIN_IPS_TAG: 'domain_ips_tag'
31
+ DOMAIN_IPS_TAG: 'domain_ips_tag',
32
+ DOMAIN_IPS_TAG_SELLER: 'domain_ips_tag_seller'
32
33
  };
33
34
  /**
34
35
  * Check if a given object implements the ConcreteDomainTransferTaskData interface.