@randock/nameshift-api-client 0.0.284 → 0.0.286

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.
@@ -11,6 +11,7 @@ src/apis/BuyersApi.ts
11
11
  src/apis/BuyersPublicApi.ts
12
12
  src/apis/DomainsApi.ts
13
13
  src/apis/DomainsPublicApi.ts
14
+ src/apis/EppApi.ts
14
15
  src/apis/InvoicesApi.ts
15
16
  src/apis/LeadsApi.ts
16
17
  src/apis/LeadsPublicApi.ts
@@ -126,6 +127,7 @@ src/models/DomainTransferSellerAccountDto.ts
126
127
  src/models/DomainTransferSubscriptionDto.ts
127
128
  src/models/DomainTransferWorkflowDto.ts
128
129
  src/models/DomainUrlDto.ts
130
+ src/models/EppBatchUpdateInput.ts
129
131
  src/models/ForgotPasswordRequestInput.ts
130
132
  src/models/GetAllDomainTransfers200Response.ts
131
133
  src/models/GetAllInvoices200Response.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.284
1
+ ## @randock/nameshift-api-client@0.0.286
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.284 --save
39
+ npm install @randock/nameshift-api-client@0.0.286 --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
- e0a6e116ba98df25dec5ebde612fb7c38bb5fc62fc70ac8e4fa3c9e8deb50e909fd9bd719ea082fe833c6aa36056ca96
47
+ 99292b9870383b8d264b1635400137fff5a0e4497a17f35ca4ab873db05b036555e232fc7ad9e306d5ae02a5244a9a59
@@ -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
+ import type { EppBatchUpdateInput } from '../models/index';
14
+ export interface EppApiEppBatchUpdateDomainsRequest {
15
+ eppBatchUpdateInput: EppBatchUpdateInput;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class EppApi extends runtime.BaseAPI {
21
+ /**
22
+ *
23
+ */
24
+ eppBatchUpdateDomainsRaw(requestParameters: EppApiEppBatchUpdateDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
25
+ /**
26
+ *
27
+ */
28
+ eppBatchUpdateDomains(requestParameters: EppApiEppBatchUpdateDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
29
+ }
@@ -0,0 +1,133 @@
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.EppApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var index_1 = require("../models/index");
70
+ /**
71
+ *
72
+ */
73
+ var EppApi = /** @class */ (function (_super) {
74
+ __extends(EppApi, _super);
75
+ function EppApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ *
80
+ */
81
+ EppApi.prototype.eppBatchUpdateDomainsRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, token, tokenString, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ if (requestParameters['eppBatchUpdateInput'] == null) {
88
+ throw new runtime.RequiredError('eppBatchUpdateInput', 'Required parameter "eppBatchUpdateInput" was null or undefined when calling eppBatchUpdateDomains().');
89
+ }
90
+ queryParameters = {};
91
+ headerParameters = {};
92
+ headerParameters['Content-Type'] = 'application/json';
93
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
94
+ token = this.configuration.accessToken;
95
+ return [4 /*yield*/, token("bearer", [])];
96
+ case 1:
97
+ tokenString = _a.sent();
98
+ if (tokenString) {
99
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
100
+ }
101
+ _a.label = 2;
102
+ case 2: return [4 /*yield*/, this.request({
103
+ path: "/private/epp",
104
+ method: 'POST',
105
+ headers: headerParameters,
106
+ query: queryParameters,
107
+ body: (0, index_1.EppBatchUpdateInputToJSON)(requestParameters['eppBatchUpdateInput']),
108
+ }, initOverrides)];
109
+ case 3:
110
+ response = _a.sent();
111
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
112
+ }
113
+ });
114
+ });
115
+ };
116
+ /**
117
+ *
118
+ */
119
+ EppApi.prototype.eppBatchUpdateDomains = function (requestParameters, initOverrides) {
120
+ return __awaiter(this, void 0, void 0, function () {
121
+ return __generator(this, function (_a) {
122
+ switch (_a.label) {
123
+ case 0: return [4 /*yield*/, this.eppBatchUpdateDomainsRaw(requestParameters, initOverrides)];
124
+ case 1:
125
+ _a.sent();
126
+ return [2 /*return*/];
127
+ }
128
+ });
129
+ });
130
+ };
131
+ return EppApi;
132
+ }(runtime.BaseAPI));
133
+ exports.EppApi = EppApi;
@@ -6,6 +6,7 @@ export * from './BuyersApi';
6
6
  export * from './BuyersPublicApi';
7
7
  export * from './DomainsApi';
8
8
  export * from './DomainsPublicApi';
9
+ export * from './EppApi';
9
10
  export * from './InvoicesApi';
10
11
  export * from './LeadsApi';
11
12
  export * from './LeadsPublicApi';
@@ -24,6 +24,7 @@ __exportStar(require("./BuyersApi"), exports);
24
24
  __exportStar(require("./BuyersPublicApi"), exports);
25
25
  __exportStar(require("./DomainsApi"), exports);
26
26
  __exportStar(require("./DomainsPublicApi"), exports);
27
+ __exportStar(require("./EppApi"), exports);
27
28
  __exportStar(require("./InvoicesApi"), exports);
28
29
  __exportStar(require("./LeadsApi"), exports);
29
30
  __exportStar(require("./LeadsPublicApi"), exports);
@@ -41,6 +41,7 @@ export interface DomainTransferDetailSellerPayoutInvoiceDto {
41
41
  export declare const DomainTransferDetailSellerPayoutInvoiceDtoTransactionStatusEnum: {
42
42
  readonly OPEN: "open";
43
43
  readonly PAID: "paid";
44
+ readonly PENDING: "pending";
44
45
  readonly ERROR: "error";
45
46
  readonly CANCELLED: "cancelled";
46
47
  readonly REFUNDED: "refunded";
@@ -26,6 +26,7 @@ var MoneyDto_1 = require("./MoneyDto");
26
26
  exports.DomainTransferDetailSellerPayoutInvoiceDtoTransactionStatusEnum = {
27
27
  OPEN: 'open',
28
28
  PAID: 'paid',
29
+ PENDING: 'pending',
29
30
  ERROR: 'error',
30
31
  CANCELLED: 'cancelled',
31
32
  REFUNDED: 'refunded'
@@ -0,0 +1,92 @@
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 EppBatchUpdateInput
16
+ */
17
+ export interface EppBatchUpdateInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof EppBatchUpdateInput
22
+ */
23
+ eppServer: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof EppBatchUpdateInput
28
+ */
29
+ eppPort: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof EppBatchUpdateInput
34
+ */
35
+ eppUsername: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof EppBatchUpdateInput
40
+ */
41
+ eppPassword: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof EppBatchUpdateInput
46
+ */
47
+ action: EppBatchUpdateInputActionEnum;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof EppBatchUpdateInput
52
+ */
53
+ domainSelector: EppBatchUpdateInputDomainSelectorEnum;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof EppBatchUpdateInput
58
+ */
59
+ domains: Array<string> | null;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof EppBatchUpdateInput
64
+ */
65
+ tld: string | null;
66
+ }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const EppBatchUpdateInputActionEnum: {
71
+ readonly DNSSEC: "dnssec";
72
+ readonly NAMESERVERS: "nameservers";
73
+ readonly DNSSEC_AND_NAMESERVERS: "dnssec_and_nameservers";
74
+ };
75
+ export type EppBatchUpdateInputActionEnum = typeof EppBatchUpdateInputActionEnum[keyof typeof EppBatchUpdateInputActionEnum];
76
+ /**
77
+ * @export
78
+ */
79
+ export declare const EppBatchUpdateInputDomainSelectorEnum: {
80
+ readonly ALL: "all";
81
+ readonly SPECIFIED: "specified";
82
+ readonly TLD: "tld";
83
+ };
84
+ export type EppBatchUpdateInputDomainSelectorEnum = typeof EppBatchUpdateInputDomainSelectorEnum[keyof typeof EppBatchUpdateInputDomainSelectorEnum];
85
+ /**
86
+ * Check if a given object implements the EppBatchUpdateInput interface.
87
+ */
88
+ export declare function instanceOfEppBatchUpdateInput(value: object): value is EppBatchUpdateInput;
89
+ export declare function EppBatchUpdateInputFromJSON(json: any): EppBatchUpdateInput;
90
+ export declare function EppBatchUpdateInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): EppBatchUpdateInput;
91
+ export declare function EppBatchUpdateInputToJSON(json: any): EppBatchUpdateInput;
92
+ export declare function EppBatchUpdateInputToJSONTyped(value?: EppBatchUpdateInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,96 @@
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.EppBatchUpdateInputDomainSelectorEnum = exports.EppBatchUpdateInputActionEnum = void 0;
17
+ exports.instanceOfEppBatchUpdateInput = instanceOfEppBatchUpdateInput;
18
+ exports.EppBatchUpdateInputFromJSON = EppBatchUpdateInputFromJSON;
19
+ exports.EppBatchUpdateInputFromJSONTyped = EppBatchUpdateInputFromJSONTyped;
20
+ exports.EppBatchUpdateInputToJSON = EppBatchUpdateInputToJSON;
21
+ exports.EppBatchUpdateInputToJSONTyped = EppBatchUpdateInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.EppBatchUpdateInputActionEnum = {
26
+ DNSSEC: 'dnssec',
27
+ NAMESERVERS: 'nameservers',
28
+ DNSSEC_AND_NAMESERVERS: 'dnssec_and_nameservers'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.EppBatchUpdateInputDomainSelectorEnum = {
34
+ ALL: 'all',
35
+ SPECIFIED: 'specified',
36
+ TLD: 'tld'
37
+ };
38
+ /**
39
+ * Check if a given object implements the EppBatchUpdateInput interface.
40
+ */
41
+ function instanceOfEppBatchUpdateInput(value) {
42
+ if (!('eppServer' in value) || value['eppServer'] === undefined)
43
+ return false;
44
+ if (!('eppPort' in value) || value['eppPort'] === undefined)
45
+ return false;
46
+ if (!('eppUsername' in value) || value['eppUsername'] === undefined)
47
+ return false;
48
+ if (!('eppPassword' in value) || value['eppPassword'] === undefined)
49
+ return false;
50
+ if (!('action' in value) || value['action'] === undefined)
51
+ return false;
52
+ if (!('domainSelector' in value) || value['domainSelector'] === undefined)
53
+ return false;
54
+ if (!('domains' in value) || value['domains'] === undefined)
55
+ return false;
56
+ if (!('tld' in value) || value['tld'] === undefined)
57
+ return false;
58
+ return true;
59
+ }
60
+ function EppBatchUpdateInputFromJSON(json) {
61
+ return EppBatchUpdateInputFromJSONTyped(json, false);
62
+ }
63
+ function EppBatchUpdateInputFromJSONTyped(json, ignoreDiscriminator) {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+ 'eppServer': json['eppServer'],
69
+ 'eppPort': json['eppPort'],
70
+ 'eppUsername': json['eppUsername'],
71
+ 'eppPassword': json['eppPassword'],
72
+ 'action': json['action'],
73
+ 'domainSelector': json['domainSelector'],
74
+ 'domains': json['domains'] == null ? null : json['domains'],
75
+ 'tld': json['tld'],
76
+ };
77
+ }
78
+ function EppBatchUpdateInputToJSON(json) {
79
+ return EppBatchUpdateInputToJSONTyped(json, false);
80
+ }
81
+ function EppBatchUpdateInputToJSONTyped(value, ignoreDiscriminator) {
82
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+ return {
87
+ 'eppServer': value['eppServer'],
88
+ 'eppPort': value['eppPort'],
89
+ 'eppUsername': value['eppUsername'],
90
+ 'eppPassword': value['eppPassword'],
91
+ 'action': value['action'],
92
+ 'domainSelector': value['domainSelector'],
93
+ 'domains': value['domains'],
94
+ 'tld': value['tld'],
95
+ };
96
+ }
@@ -33,6 +33,12 @@ export interface InvoiceTransactionDto {
33
33
  * @memberof InvoiceTransactionDto
34
34
  */
35
35
  gatewayTransferToken: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof InvoiceTransactionDto
40
+ */
41
+ status: InvoiceTransactionDtoStatusEnum;
36
42
  }
37
43
  /**
38
44
  * @export
@@ -41,6 +47,18 @@ export declare const InvoiceTransactionDtoGatewayEnum: {
41
47
  readonly STRIPE: "stripe";
42
48
  };
43
49
  export type InvoiceTransactionDtoGatewayEnum = typeof InvoiceTransactionDtoGatewayEnum[keyof typeof InvoiceTransactionDtoGatewayEnum];
50
+ /**
51
+ * @export
52
+ */
53
+ export declare const InvoiceTransactionDtoStatusEnum: {
54
+ readonly OPEN: "open";
55
+ readonly PAID: "paid";
56
+ readonly PENDING: "pending";
57
+ readonly ERROR: "error";
58
+ readonly CANCELLED: "cancelled";
59
+ readonly REFUNDED: "refunded";
60
+ };
61
+ export type InvoiceTransactionDtoStatusEnum = typeof InvoiceTransactionDtoStatusEnum[keyof typeof InvoiceTransactionDtoStatusEnum];
44
62
  /**
45
63
  * Check if a given object implements the InvoiceTransactionDto interface.
46
64
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.InvoiceTransactionDtoGatewayEnum = void 0;
16
+ exports.InvoiceTransactionDtoStatusEnum = exports.InvoiceTransactionDtoGatewayEnum = void 0;
17
17
  exports.instanceOfInvoiceTransactionDto = instanceOfInvoiceTransactionDto;
18
18
  exports.InvoiceTransactionDtoFromJSON = InvoiceTransactionDtoFromJSON;
19
19
  exports.InvoiceTransactionDtoFromJSONTyped = InvoiceTransactionDtoFromJSONTyped;
@@ -25,6 +25,17 @@ exports.InvoiceTransactionDtoToJSONTyped = InvoiceTransactionDtoToJSONTyped;
25
25
  exports.InvoiceTransactionDtoGatewayEnum = {
26
26
  STRIPE: 'stripe'
27
27
  };
28
+ /**
29
+ * @export
30
+ */
31
+ exports.InvoiceTransactionDtoStatusEnum = {
32
+ OPEN: 'open',
33
+ PAID: 'paid',
34
+ PENDING: 'pending',
35
+ ERROR: 'error',
36
+ CANCELLED: 'cancelled',
37
+ REFUNDED: 'refunded'
38
+ };
28
39
  /**
29
40
  * Check if a given object implements the InvoiceTransactionDto interface.
30
41
  */
@@ -35,6 +46,8 @@ function instanceOfInvoiceTransactionDto(value) {
35
46
  return false;
36
47
  if (!('gatewayTransferToken' in value) || value['gatewayTransferToken'] === undefined)
37
48
  return false;
49
+ if (!('status' in value) || value['status'] === undefined)
50
+ return false;
38
51
  return true;
39
52
  }
40
53
  function InvoiceTransactionDtoFromJSON(json) {
@@ -48,6 +61,7 @@ function InvoiceTransactionDtoFromJSONTyped(json, ignoreDiscriminator) {
48
61
  'id': json['id'],
49
62
  'gateway': json['gateway'],
50
63
  'gatewayTransferToken': json['gatewayTransferToken'],
64
+ 'status': json['status'],
51
65
  };
52
66
  }
53
67
  function InvoiceTransactionDtoToJSON(json) {
@@ -62,5 +76,6 @@ function InvoiceTransactionDtoToJSONTyped(value, ignoreDiscriminator) {
62
76
  'id': value['id'],
63
77
  'gateway': value['gateway'],
64
78
  'gatewayTransferToken': value['gatewayTransferToken'],
79
+ 'status': value['status'],
65
80
  };
66
81
  }
@@ -104,6 +104,12 @@ export interface OrderDto {
104
104
  * @memberof OrderDto
105
105
  */
106
106
  transaction: InvoiceTransactionDto;
107
+ /**
108
+ *
109
+ * @type {boolean}
110
+ * @memberof OrderDto
111
+ */
112
+ hasPendingTransaction: boolean;
107
113
  }
108
114
  /**
109
115
  * @export
@@ -65,6 +65,8 @@ function instanceOfOrderDto(value) {
65
65
  return false;
66
66
  if (!('transaction' in value) || value['transaction'] === undefined)
67
67
  return false;
68
+ if (!('hasPendingTransaction' in value) || value['hasPendingTransaction'] === undefined)
69
+ return false;
68
70
  return true;
69
71
  }
70
72
  function OrderDtoFromJSON(json) {
@@ -89,6 +91,7 @@ function OrderDtoFromJSONTyped(json, ignoreDiscriminator) {
89
91
  'locale': json['locale'],
90
92
  'companyInfo': (0, OrderCompanyInfoDto_1.OrderCompanyInfoDtoFromJSON)(json['companyInfo']),
91
93
  'transaction': (0, InvoiceTransactionDto_1.InvoiceTransactionDtoFromJSON)(json['transaction']),
94
+ 'hasPendingTransaction': json['hasPendingTransaction'],
92
95
  };
93
96
  }
94
97
  function OrderDtoToJSON(json) {
@@ -114,5 +117,6 @@ function OrderDtoToJSONTyped(value, ignoreDiscriminator) {
114
117
  'locale': value['locale'],
115
118
  'companyInfo': (0, OrderCompanyInfoDto_1.OrderCompanyInfoDtoToJSON)(value['companyInfo']),
116
119
  'transaction': (0, InvoiceTransactionDto_1.InvoiceTransactionDtoToJSON)(value['transaction']),
120
+ 'hasPendingTransaction': value['hasPendingTransaction'],
117
121
  };
118
122
  }
@@ -29,6 +29,12 @@ export interface SubscriptionDto {
29
29
  * @memberof SubscriptionDto
30
30
  */
31
31
  id: string;
32
+ /**
33
+ * The uuid for this subscription invoice.
34
+ * @type {string}
35
+ * @memberof SubscriptionDto
36
+ */
37
+ invoiceId: string;
32
38
  /**
33
39
  *
34
40
  * @type {string}
@@ -107,6 +113,12 @@ export interface SubscriptionDto {
107
113
  * @memberof SubscriptionDto
108
114
  */
109
115
  transaction: InvoiceTransactionDto;
116
+ /**
117
+ *
118
+ * @type {boolean}
119
+ * @memberof SubscriptionDto
120
+ */
121
+ hasPendingTransaction: boolean;
110
122
  /**
111
123
  *
112
124
  * @type {SubscriptionDomainDto}
@@ -60,6 +60,8 @@ exports.SubscriptionDtoLeadStatusEnum = {
60
60
  function instanceOfSubscriptionDto(value) {
61
61
  if (!('id' in value) || value['id'] === undefined)
62
62
  return false;
63
+ if (!('invoiceId' in value) || value['invoiceId'] === undefined)
64
+ return false;
63
65
  if (!('status' in value) || value['status'] === undefined)
64
66
  return false;
65
67
  if (!('basePrice' in value) || value['basePrice'] === undefined)
@@ -86,6 +88,8 @@ function instanceOfSubscriptionDto(value) {
86
88
  return false;
87
89
  if (!('transaction' in value) || value['transaction'] === undefined)
88
90
  return false;
91
+ if (!('hasPendingTransaction' in value) || value['hasPendingTransaction'] === undefined)
92
+ return false;
89
93
  if (!('domain' in value) || value['domain'] === undefined)
90
94
  return false;
91
95
  if (!('type' in value) || value['type'] === undefined)
@@ -115,6 +119,7 @@ function SubscriptionDtoFromJSONTyped(json, ignoreDiscriminator) {
115
119
  }
116
120
  return {
117
121
  'id': json['id'],
122
+ 'invoiceId': json['invoiceId'],
118
123
  'status': json['status'],
119
124
  'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
120
125
  'recurringPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['recurringPrice']),
@@ -128,6 +133,7 @@ function SubscriptionDtoFromJSONTyped(json, ignoreDiscriminator) {
128
133
  'locale': json['locale'],
129
134
  'companyInfo': (0, SubscriptionCompanyInfoDto_1.SubscriptionCompanyInfoDtoFromJSON)(json['companyInfo']),
130
135
  'transaction': (0, InvoiceTransactionDto_1.InvoiceTransactionDtoFromJSON)(json['transaction']),
136
+ 'hasPendingTransaction': json['hasPendingTransaction'],
131
137
  'domain': (0, SubscriptionDomainDto_1.SubscriptionDomainDtoFromJSON)(json['domain']),
132
138
  'type': json['type'],
133
139
  'installments': json['installments'],
@@ -149,6 +155,7 @@ function SubscriptionDtoToJSONTyped(value, ignoreDiscriminator) {
149
155
  }
150
156
  return {
151
157
  'id': value['id'],
158
+ 'invoiceId': value['invoiceId'],
152
159
  'status': value['status'],
153
160
  'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
154
161
  'recurringPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['recurringPrice']),
@@ -162,6 +169,7 @@ function SubscriptionDtoToJSONTyped(value, ignoreDiscriminator) {
162
169
  'locale': value['locale'],
163
170
  'companyInfo': (0, SubscriptionCompanyInfoDto_1.SubscriptionCompanyInfoDtoToJSON)(value['companyInfo']),
164
171
  'transaction': (0, InvoiceTransactionDto_1.InvoiceTransactionDtoToJSON)(value['transaction']),
172
+ 'hasPendingTransaction': value['hasPendingTransaction'],
165
173
  'domain': (0, SubscriptionDomainDto_1.SubscriptionDomainDtoToJSON)(value['domain']),
166
174
  'type': value['type'],
167
175
  'installments': value['installments'],
@@ -99,6 +99,7 @@ export * from './DomainTransferSellerAccountDto';
99
99
  export * from './DomainTransferSubscriptionDto';
100
100
  export * from './DomainTransferWorkflowDto';
101
101
  export * from './DomainUrlDto';
102
+ export * from './EppBatchUpdateInput';
102
103
  export * from './ForgotPasswordRequestInput';
103
104
  export * from './GetAllDomainTransfers200Response';
104
105
  export * from './GetAllInvoices200Response';
@@ -117,6 +117,7 @@ __exportStar(require("./DomainTransferSellerAccountDto"), exports);
117
117
  __exportStar(require("./DomainTransferSubscriptionDto"), exports);
118
118
  __exportStar(require("./DomainTransferWorkflowDto"), exports);
119
119
  __exportStar(require("./DomainUrlDto"), exports);
120
+ __exportStar(require("./EppBatchUpdateInput"), exports);
120
121
  __exportStar(require("./ForgotPasswordRequestInput"), exports);
121
122
  __exportStar(require("./GetAllDomainTransfers200Response"), exports);
122
123
  __exportStar(require("./GetAllInvoices200Response"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.284",
3
+ "version": "0.0.286",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,80 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import * as runtime from '../runtime';
17
+ import type {
18
+ EppBatchUpdateInput,
19
+ ThrottlerException,
20
+ } from '../models/index';
21
+ import {
22
+ EppBatchUpdateInputFromJSON,
23
+ EppBatchUpdateInputToJSON,
24
+ ThrottlerExceptionFromJSON,
25
+ ThrottlerExceptionToJSON,
26
+ } from '../models/index';
27
+
28
+ export interface EppApiEppBatchUpdateDomainsRequest {
29
+ eppBatchUpdateInput: EppBatchUpdateInput;
30
+ }
31
+
32
+ /**
33
+ *
34
+ */
35
+ export class EppApi extends runtime.BaseAPI {
36
+
37
+ /**
38
+ *
39
+ */
40
+ async eppBatchUpdateDomainsRaw(requestParameters: EppApiEppBatchUpdateDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
41
+ if (requestParameters['eppBatchUpdateInput'] == null) {
42
+ throw new runtime.RequiredError(
43
+ 'eppBatchUpdateInput',
44
+ 'Required parameter "eppBatchUpdateInput" was null or undefined when calling eppBatchUpdateDomains().'
45
+ );
46
+ }
47
+
48
+ const queryParameters: any = {};
49
+
50
+ const headerParameters: runtime.HTTPHeaders = {};
51
+
52
+ headerParameters['Content-Type'] = 'application/json';
53
+
54
+ if (this.configuration && this.configuration.accessToken) {
55
+ const token = this.configuration.accessToken;
56
+ const tokenString = await token("bearer", []);
57
+
58
+ if (tokenString) {
59
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
60
+ }
61
+ }
62
+ const response = await this.request({
63
+ path: `/private/epp`,
64
+ method: 'POST',
65
+ headers: headerParameters,
66
+ query: queryParameters,
67
+ body: EppBatchUpdateInputToJSON(requestParameters['eppBatchUpdateInput']),
68
+ }, initOverrides);
69
+
70
+ return new runtime.VoidApiResponse(response);
71
+ }
72
+
73
+ /**
74
+ *
75
+ */
76
+ async eppBatchUpdateDomains(requestParameters: EppApiEppBatchUpdateDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
77
+ await this.eppBatchUpdateDomainsRaw(requestParameters, initOverrides);
78
+ }
79
+
80
+ }
package/src/apis/index.ts CHANGED
@@ -8,6 +8,7 @@ export * from './BuyersApi';
8
8
  export * from './BuyersPublicApi';
9
9
  export * from './DomainsApi';
10
10
  export * from './DomainsPublicApi';
11
+ export * from './EppApi';
11
12
  export * from './InvoicesApi';
12
13
  export * from './LeadsApi';
13
14
  export * from './LeadsPublicApi';
@@ -54,6 +54,7 @@ export interface DomainTransferDetailSellerPayoutInvoiceDto {
54
54
  export const DomainTransferDetailSellerPayoutInvoiceDtoTransactionStatusEnum = {
55
55
  OPEN: 'open',
56
56
  PAID: 'paid',
57
+ PENDING: 'pending',
57
58
  ERROR: 'error',
58
59
  CANCELLED: 'cancelled',
59
60
  REFUNDED: 'refunded'
@@ -0,0 +1,151 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface EppBatchUpdateInput
20
+ */
21
+ export interface EppBatchUpdateInput {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof EppBatchUpdateInput
26
+ */
27
+ eppServer: string;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof EppBatchUpdateInput
32
+ */
33
+ eppPort: number;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof EppBatchUpdateInput
38
+ */
39
+ eppUsername: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof EppBatchUpdateInput
44
+ */
45
+ eppPassword: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof EppBatchUpdateInput
50
+ */
51
+ action: EppBatchUpdateInputActionEnum;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof EppBatchUpdateInput
56
+ */
57
+ domainSelector: EppBatchUpdateInputDomainSelectorEnum;
58
+ /**
59
+ *
60
+ * @type {Array<string>}
61
+ * @memberof EppBatchUpdateInput
62
+ */
63
+ domains: Array<string> | null;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof EppBatchUpdateInput
68
+ */
69
+ tld: string | null;
70
+ }
71
+
72
+
73
+ /**
74
+ * @export
75
+ */
76
+ export const EppBatchUpdateInputActionEnum = {
77
+ DNSSEC: 'dnssec',
78
+ NAMESERVERS: 'nameservers',
79
+ DNSSEC_AND_NAMESERVERS: 'dnssec_and_nameservers'
80
+ } as const;
81
+ export type EppBatchUpdateInputActionEnum = typeof EppBatchUpdateInputActionEnum[keyof typeof EppBatchUpdateInputActionEnum];
82
+
83
+ /**
84
+ * @export
85
+ */
86
+ export const EppBatchUpdateInputDomainSelectorEnum = {
87
+ ALL: 'all',
88
+ SPECIFIED: 'specified',
89
+ TLD: 'tld'
90
+ } as const;
91
+ export type EppBatchUpdateInputDomainSelectorEnum = typeof EppBatchUpdateInputDomainSelectorEnum[keyof typeof EppBatchUpdateInputDomainSelectorEnum];
92
+
93
+
94
+ /**
95
+ * Check if a given object implements the EppBatchUpdateInput interface.
96
+ */
97
+ export function instanceOfEppBatchUpdateInput(value: object): value is EppBatchUpdateInput {
98
+ if (!('eppServer' in value) || value['eppServer'] === undefined) return false;
99
+ if (!('eppPort' in value) || value['eppPort'] === undefined) return false;
100
+ if (!('eppUsername' in value) || value['eppUsername'] === undefined) return false;
101
+ if (!('eppPassword' in value) || value['eppPassword'] === undefined) return false;
102
+ if (!('action' in value) || value['action'] === undefined) return false;
103
+ if (!('domainSelector' in value) || value['domainSelector'] === undefined) return false;
104
+ if (!('domains' in value) || value['domains'] === undefined) return false;
105
+ if (!('tld' in value) || value['tld'] === undefined) return false;
106
+ return true;
107
+ }
108
+
109
+ export function EppBatchUpdateInputFromJSON(json: any): EppBatchUpdateInput {
110
+ return EppBatchUpdateInputFromJSONTyped(json, false);
111
+ }
112
+
113
+ export function EppBatchUpdateInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): EppBatchUpdateInput {
114
+ if (json == null) {
115
+ return json;
116
+ }
117
+ return {
118
+
119
+ 'eppServer': json['eppServer'],
120
+ 'eppPort': json['eppPort'],
121
+ 'eppUsername': json['eppUsername'],
122
+ 'eppPassword': json['eppPassword'],
123
+ 'action': json['action'],
124
+ 'domainSelector': json['domainSelector'],
125
+ 'domains': json['domains'] == null ? null : json['domains'],
126
+ 'tld': json['tld'],
127
+ };
128
+ }
129
+
130
+ export function EppBatchUpdateInputToJSON(json: any): EppBatchUpdateInput {
131
+ return EppBatchUpdateInputToJSONTyped(json, false);
132
+ }
133
+
134
+ export function EppBatchUpdateInputToJSONTyped(value?: EppBatchUpdateInput | null, ignoreDiscriminator: boolean = false): any {
135
+ if (value == null) {
136
+ return value;
137
+ }
138
+
139
+ return {
140
+
141
+ 'eppServer': value['eppServer'],
142
+ 'eppPort': value['eppPort'],
143
+ 'eppUsername': value['eppUsername'],
144
+ 'eppPassword': value['eppPassword'],
145
+ 'action': value['action'],
146
+ 'domainSelector': value['domainSelector'],
147
+ 'domains': value['domains'],
148
+ 'tld': value['tld'],
149
+ };
150
+ }
151
+
@@ -37,6 +37,12 @@ export interface InvoiceTransactionDto {
37
37
  * @memberof InvoiceTransactionDto
38
38
  */
39
39
  gatewayTransferToken: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof InvoiceTransactionDto
44
+ */
45
+ status: InvoiceTransactionDtoStatusEnum;
40
46
  }
41
47
 
42
48
 
@@ -48,6 +54,19 @@ export const InvoiceTransactionDtoGatewayEnum = {
48
54
  } as const;
49
55
  export type InvoiceTransactionDtoGatewayEnum = typeof InvoiceTransactionDtoGatewayEnum[keyof typeof InvoiceTransactionDtoGatewayEnum];
50
56
 
57
+ /**
58
+ * @export
59
+ */
60
+ export const InvoiceTransactionDtoStatusEnum = {
61
+ OPEN: 'open',
62
+ PAID: 'paid',
63
+ PENDING: 'pending',
64
+ ERROR: 'error',
65
+ CANCELLED: 'cancelled',
66
+ REFUNDED: 'refunded'
67
+ } as const;
68
+ export type InvoiceTransactionDtoStatusEnum = typeof InvoiceTransactionDtoStatusEnum[keyof typeof InvoiceTransactionDtoStatusEnum];
69
+
51
70
 
52
71
  /**
53
72
  * Check if a given object implements the InvoiceTransactionDto interface.
@@ -56,6 +75,7 @@ export function instanceOfInvoiceTransactionDto(value: object): value is Invoice
56
75
  if (!('id' in value) || value['id'] === undefined) return false;
57
76
  if (!('gateway' in value) || value['gateway'] === undefined) return false;
58
77
  if (!('gatewayTransferToken' in value) || value['gatewayTransferToken'] === undefined) return false;
78
+ if (!('status' in value) || value['status'] === undefined) return false;
59
79
  return true;
60
80
  }
61
81
 
@@ -72,6 +92,7 @@ export function InvoiceTransactionDtoFromJSONTyped(json: any, ignoreDiscriminato
72
92
  'id': json['id'],
73
93
  'gateway': json['gateway'],
74
94
  'gatewayTransferToken': json['gatewayTransferToken'],
95
+ 'status': json['status'],
75
96
  };
76
97
  }
77
98
 
@@ -89,6 +110,7 @@ export function InvoiceTransactionDtoToJSONTyped(value?: InvoiceTransactionDto |
89
110
  'id': value['id'],
90
111
  'gateway': value['gateway'],
91
112
  'gatewayTransferToken': value['gatewayTransferToken'],
113
+ 'status': value['status'],
92
114
  };
93
115
  }
94
116
 
@@ -139,6 +139,12 @@ export interface OrderDto {
139
139
  * @memberof OrderDto
140
140
  */
141
141
  transaction: InvoiceTransactionDto;
142
+ /**
143
+ *
144
+ * @type {boolean}
145
+ * @memberof OrderDto
146
+ */
147
+ hasPendingTransaction: boolean;
142
148
  }
143
149
 
144
150
 
@@ -172,6 +178,7 @@ export function instanceOfOrderDto(value: object): value is OrderDto {
172
178
  if (!('locale' in value) || value['locale'] === undefined) return false;
173
179
  if (!('companyInfo' in value) || value['companyInfo'] === undefined) return false;
174
180
  if (!('transaction' in value) || value['transaction'] === undefined) return false;
181
+ if (!('hasPendingTransaction' in value) || value['hasPendingTransaction'] === undefined) return false;
175
182
  return true;
176
183
  }
177
184
 
@@ -199,6 +206,7 @@ export function OrderDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
199
206
  'locale': json['locale'],
200
207
  'companyInfo': OrderCompanyInfoDtoFromJSON(json['companyInfo']),
201
208
  'transaction': InvoiceTransactionDtoFromJSON(json['transaction']),
209
+ 'hasPendingTransaction': json['hasPendingTransaction'],
202
210
  };
203
211
  }
204
212
 
@@ -227,6 +235,7 @@ export function OrderDtoToJSONTyped(value?: OrderDto | null, ignoreDiscriminator
227
235
  'locale': value['locale'],
228
236
  'companyInfo': OrderCompanyInfoDtoToJSON(value['companyInfo']),
229
237
  'transaction': InvoiceTransactionDtoToJSON(value['transaction']),
238
+ 'hasPendingTransaction': value['hasPendingTransaction'],
230
239
  };
231
240
  }
232
241
 
@@ -82,6 +82,12 @@ export interface SubscriptionDto {
82
82
  * @memberof SubscriptionDto
83
83
  */
84
84
  id: string;
85
+ /**
86
+ * The uuid for this subscription invoice.
87
+ * @type {string}
88
+ * @memberof SubscriptionDto
89
+ */
90
+ invoiceId: string;
85
91
  /**
86
92
  *
87
93
  * @type {string}
@@ -160,6 +166,12 @@ export interface SubscriptionDto {
160
166
  * @memberof SubscriptionDto
161
167
  */
162
168
  transaction: InvoiceTransactionDto;
169
+ /**
170
+ *
171
+ * @type {boolean}
172
+ * @memberof SubscriptionDto
173
+ */
174
+ hasPendingTransaction: boolean;
163
175
  /**
164
176
  *
165
177
  * @type {SubscriptionDomainDto}
@@ -256,6 +268,7 @@ export type SubscriptionDtoLeadStatusEnum = typeof SubscriptionDtoLeadStatusEnum
256
268
  */
257
269
  export function instanceOfSubscriptionDto(value: object): value is SubscriptionDto {
258
270
  if (!('id' in value) || value['id'] === undefined) return false;
271
+ if (!('invoiceId' in value) || value['invoiceId'] === undefined) return false;
259
272
  if (!('status' in value) || value['status'] === undefined) return false;
260
273
  if (!('basePrice' in value) || value['basePrice'] === undefined) return false;
261
274
  if (!('recurringPrice' in value) || value['recurringPrice'] === undefined) return false;
@@ -269,6 +282,7 @@ export function instanceOfSubscriptionDto(value: object): value is SubscriptionD
269
282
  if (!('locale' in value) || value['locale'] === undefined) return false;
270
283
  if (!('companyInfo' in value) || value['companyInfo'] === undefined) return false;
271
284
  if (!('transaction' in value) || value['transaction'] === undefined) return false;
285
+ if (!('hasPendingTransaction' in value) || value['hasPendingTransaction'] === undefined) return false;
272
286
  if (!('domain' in value) || value['domain'] === undefined) return false;
273
287
  if (!('type' in value) || value['type'] === undefined) return false;
274
288
  if (!('installments' in value) || value['installments'] === undefined) return false;
@@ -292,6 +306,7 @@ export function SubscriptionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
292
306
  return {
293
307
 
294
308
  'id': json['id'],
309
+ 'invoiceId': json['invoiceId'],
295
310
  'status': json['status'],
296
311
  'basePrice': MoneyDtoFromJSON(json['basePrice']),
297
312
  'recurringPrice': MoneyDtoFromJSON(json['recurringPrice']),
@@ -305,6 +320,7 @@ export function SubscriptionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
305
320
  'locale': json['locale'],
306
321
  'companyInfo': SubscriptionCompanyInfoDtoFromJSON(json['companyInfo']),
307
322
  'transaction': InvoiceTransactionDtoFromJSON(json['transaction']),
323
+ 'hasPendingTransaction': json['hasPendingTransaction'],
308
324
  'domain': SubscriptionDomainDtoFromJSON(json['domain']),
309
325
  'type': json['type'],
310
326
  'installments': json['installments'],
@@ -329,6 +345,7 @@ export function SubscriptionDtoToJSONTyped(value?: SubscriptionDto | null, ignor
329
345
  return {
330
346
 
331
347
  'id': value['id'],
348
+ 'invoiceId': value['invoiceId'],
332
349
  'status': value['status'],
333
350
  'basePrice': MoneyDtoToJSON(value['basePrice']),
334
351
  'recurringPrice': MoneyDtoToJSON(value['recurringPrice']),
@@ -342,6 +359,7 @@ export function SubscriptionDtoToJSONTyped(value?: SubscriptionDto | null, ignor
342
359
  'locale': value['locale'],
343
360
  'companyInfo': SubscriptionCompanyInfoDtoToJSON(value['companyInfo']),
344
361
  'transaction': InvoiceTransactionDtoToJSON(value['transaction']),
362
+ 'hasPendingTransaction': value['hasPendingTransaction'],
345
363
  'domain': SubscriptionDomainDtoToJSON(value['domain']),
346
364
  'type': value['type'],
347
365
  'installments': value['installments'],
@@ -101,6 +101,7 @@ export * from './DomainTransferSellerAccountDto';
101
101
  export * from './DomainTransferSubscriptionDto';
102
102
  export * from './DomainTransferWorkflowDto';
103
103
  export * from './DomainUrlDto';
104
+ export * from './EppBatchUpdateInput';
104
105
  export * from './ForgotPasswordRequestInput';
105
106
  export * from './GetAllDomainTransfers200Response';
106
107
  export * from './GetAllInvoices200Response';