@randock/nameshift-api-client 0.0.350 → 0.0.352

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 +2 -0
  2. package/README.md +3 -3
  3. package/dist/apis/DomainsPublicApi.d.ts +1 -0
  4. package/dist/apis/DomainsPublicApi.js +6 -0
  5. package/dist/apis/NickyPublicApi.d.ts +25 -0
  6. package/dist/apis/NickyPublicApi.js +118 -0
  7. package/dist/apis/OrdersPublicApi.d.ts +2 -1
  8. package/dist/apis/OrdersPublicApi.js +5 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.js +1 -0
  11. package/dist/models/CreateManualTransactionInput.d.ts +52 -0
  12. package/dist/models/CreateManualTransactionInput.js +61 -0
  13. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  14. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  15. package/dist/models/InvoiceTransactionDto.d.ts +21 -0
  16. package/dist/models/InvoiceTransactionDto.js +18 -2
  17. package/dist/models/OrderDto.d.ts +14 -0
  18. package/dist/models/OrderDto.js +12 -1
  19. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  20. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  21. package/dist/models/index.d.ts +1 -0
  22. package/dist/models/index.js +1 -0
  23. package/package.json +1 -1
  24. package/src/apis/DomainsPublicApi.ts +12 -0
  25. package/src/apis/NickyPublicApi.ts +55 -0
  26. package/src/apis/OrdersPublicApi.ts +14 -0
  27. package/src/apis/index.ts +1 -0
  28. package/src/models/CreateManualTransactionInput.ts +92 -0
  29. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  30. package/src/models/InvoiceTransactionDto.ts +29 -1
  31. package/src/models/OrderDto.ts +18 -0
  32. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  33. package/src/models/index.ts +1 -0
@@ -18,6 +18,7 @@ src/apis/EppApi.ts
18
18
  src/apis/InvoicesApi.ts
19
19
  src/apis/LeadsApi.ts
20
20
  src/apis/LeadsPublicApi.ts
21
+ src/apis/NickyPublicApi.ts
21
22
  src/apis/NotificationsApi.ts
22
23
  src/apis/OrdersPublicApi.ts
23
24
  src/apis/PartnerApi.ts
@@ -132,6 +133,7 @@ src/models/CreateBuyerLeadMessageInput.ts
132
133
  src/models/CreateLeadInput.ts
133
134
  src/models/CreateLeadMessageInput.ts
134
135
  src/models/CreateManualLeadInput.ts
136
+ src/models/CreateManualTransactionInput.ts
135
137
  src/models/CreateOrderInput.ts
136
138
  src/models/CreateSubscriptionBillingPeriodicityInput.ts
137
139
  src/models/CreateSubscriptionInput.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.350
1
+ ## @randock/nameshift-api-client@0.0.352
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.350 --save
39
+ npm install @randock/nameshift-api-client@0.0.352 --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
- 9c0c584acfb3c485db7f666b90180b8047716441063ca270623f736340772cbd0a6c29be5f08f4f29b57f790027737f9
47
+ ae3fadaf61d1e28c76cd7296d9a4fcd21fad00ee4ddaa90da84f1474c317bba964d8156d9c97b04e81d7e8fab57e1cd8
@@ -16,6 +16,7 @@ export interface DomainsPublicApiGetAllTldsRequest {
16
16
  }
17
17
  export interface DomainsPublicApiGetDomainRelatedDomainsRequest {
18
18
  domainName: string;
19
+ locale: string;
19
20
  }
20
21
  export interface DomainsPublicApiGetDomainSalesInformationRequest {
21
22
  domainName: string;
@@ -132,7 +132,13 @@ var DomainsPublicApi = /** @class */ (function (_super) {
132
132
  if (requestParameters['domainName'] == null) {
133
133
  throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling getDomainRelatedDomains().');
134
134
  }
135
+ if (requestParameters['locale'] == null) {
136
+ throw new runtime.RequiredError('locale', 'Required parameter "locale" was null or undefined when calling getDomainRelatedDomains().');
137
+ }
135
138
  queryParameters = {};
139
+ if (requestParameters['locale'] != null) {
140
+ queryParameters['locale'] = requestParameters['locale'];
141
+ }
136
142
  headerParameters = {};
137
143
  return [4 /*yield*/, this.request({
138
144
  path: "/domains/by-name/{domainName}/related-domains".replace("{".concat("domainName", "}"), encodeURIComponent(String(requestParameters['domainName']))),
@@ -0,0 +1,25 @@
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
+ /**
14
+ *
15
+ */
16
+ export declare class NickyPublicApi extends runtime.BaseAPI {
17
+ /**
18
+ *
19
+ */
20
+ postNickyWebhookRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
21
+ /**
22
+ *
23
+ */
24
+ postNickyWebhook(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
25
+ }
@@ -0,0 +1,118 @@
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.NickyPublicApi = void 0;
68
+ var runtime = require("../runtime");
69
+ /**
70
+ *
71
+ */
72
+ var NickyPublicApi = /** @class */ (function (_super) {
73
+ __extends(NickyPublicApi, _super);
74
+ function NickyPublicApi() {
75
+ return _super !== null && _super.apply(this, arguments) || this;
76
+ }
77
+ /**
78
+ *
79
+ */
80
+ NickyPublicApi.prototype.postNickyWebhookRaw = function (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
+ queryParameters = {};
87
+ headerParameters = {};
88
+ return [4 /*yield*/, this.request({
89
+ path: "/nicky/webhook",
90
+ method: 'POST',
91
+ headers: headerParameters,
92
+ query: queryParameters,
93
+ }, initOverrides)];
94
+ case 1:
95
+ response = _a.sent();
96
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
97
+ }
98
+ });
99
+ });
100
+ };
101
+ /**
102
+ *
103
+ */
104
+ NickyPublicApi.prototype.postNickyWebhook = function (initOverrides) {
105
+ return __awaiter(this, void 0, void 0, function () {
106
+ return __generator(this, function (_a) {
107
+ switch (_a.label) {
108
+ case 0: return [4 /*yield*/, this.postNickyWebhookRaw(initOverrides)];
109
+ case 1:
110
+ _a.sent();
111
+ return [2 /*return*/];
112
+ }
113
+ });
114
+ });
115
+ };
116
+ return NickyPublicApi;
117
+ }(runtime.BaseAPI));
118
+ exports.NickyPublicApi = NickyPublicApi;
@@ -10,12 +10,13 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CreateOrderInput, ObjectId, OrderDto, UpdateOrderInput } from '../models/index';
13
+ import type { CreateManualTransactionInput, CreateOrderInput, ObjectId, OrderDto, UpdateOrderInput } from '../models/index';
14
14
  export interface OrdersPublicApiCreateOrderRequest {
15
15
  createOrderInput: CreateOrderInput;
16
16
  }
17
17
  export interface OrdersPublicApiCreateOrderManualTransactionRequest {
18
18
  orderId: string;
19
+ createManualTransactionInput: CreateManualTransactionInput;
19
20
  }
20
21
  export interface OrdersPublicApiGetOrderRequest {
21
22
  orderId: string;
@@ -134,13 +134,18 @@ var OrdersPublicApi = /** @class */ (function (_super) {
134
134
  if (requestParameters['orderId'] == null) {
135
135
  throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling createOrderManualTransaction().');
136
136
  }
137
+ if (requestParameters['createManualTransactionInput'] == null) {
138
+ throw new runtime.RequiredError('createManualTransactionInput', 'Required parameter "createManualTransactionInput" was null or undefined when calling createOrderManualTransaction().');
139
+ }
137
140
  queryParameters = {};
138
141
  headerParameters = {};
142
+ headerParameters['Content-Type'] = 'application/json';
139
143
  return [4 /*yield*/, this.request({
140
144
  path: "/orders/{orderId}/invoice/transactions".replace("{".concat("orderId", "}"), encodeURIComponent(String(requestParameters['orderId']))),
141
145
  method: 'POST',
142
146
  headers: headerParameters,
143
147
  query: queryParameters,
148
+ body: (0, index_1.CreateManualTransactionInputToJSON)(requestParameters['createManualTransactionInput']),
144
149
  }, initOverrides)];
145
150
  case 1:
146
151
  response = _a.sent();
@@ -13,6 +13,7 @@ export * from './EppApi';
13
13
  export * from './InvoicesApi';
14
14
  export * from './LeadsApi';
15
15
  export * from './LeadsPublicApi';
16
+ export * from './NickyPublicApi';
16
17
  export * from './NotificationsApi';
17
18
  export * from './OrdersPublicApi';
18
19
  export * from './PartnerApi';
@@ -31,6 +31,7 @@ __exportStar(require("./EppApi"), exports);
31
31
  __exportStar(require("./InvoicesApi"), exports);
32
32
  __exportStar(require("./LeadsApi"), exports);
33
33
  __exportStar(require("./LeadsPublicApi"), exports);
34
+ __exportStar(require("./NickyPublicApi"), exports);
34
35
  __exportStar(require("./NotificationsApi"), exports);
35
36
  __exportStar(require("./OrdersPublicApi"), exports);
36
37
  __exportStar(require("./PartnerApi"), exports);
@@ -0,0 +1,52 @@
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 CreateManualTransactionInput
16
+ */
17
+ export interface CreateManualTransactionInput {
18
+ /**
19
+ * Payment gateway to use for the transaction
20
+ * @type {string}
21
+ * @memberof CreateManualTransactionInput
22
+ */
23
+ gateway?: CreateManualTransactionInputGatewayEnum;
24
+ /**
25
+ * URL to redirect to when payment is successful
26
+ * @type {string}
27
+ * @memberof CreateManualTransactionInput
28
+ */
29
+ successUrl?: string;
30
+ /**
31
+ * URL to redirect to when payment is cancelled
32
+ * @type {string}
33
+ * @memberof CreateManualTransactionInput
34
+ */
35
+ cancelUrl?: string;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const CreateManualTransactionInputGatewayEnum: {
41
+ readonly COMMON: "common";
42
+ readonly CRYPTO: "crypto";
43
+ };
44
+ export type CreateManualTransactionInputGatewayEnum = typeof CreateManualTransactionInputGatewayEnum[keyof typeof CreateManualTransactionInputGatewayEnum];
45
+ /**
46
+ * Check if a given object implements the CreateManualTransactionInput interface.
47
+ */
48
+ export declare function instanceOfCreateManualTransactionInput(value: object): value is CreateManualTransactionInput;
49
+ export declare function CreateManualTransactionInputFromJSON(json: any): CreateManualTransactionInput;
50
+ export declare function CreateManualTransactionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateManualTransactionInput;
51
+ export declare function CreateManualTransactionInputToJSON(json: any): CreateManualTransactionInput;
52
+ export declare function CreateManualTransactionInputToJSONTyped(value?: CreateManualTransactionInput | 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.CreateManualTransactionInputGatewayEnum = void 0;
17
+ exports.instanceOfCreateManualTransactionInput = instanceOfCreateManualTransactionInput;
18
+ exports.CreateManualTransactionInputFromJSON = CreateManualTransactionInputFromJSON;
19
+ exports.CreateManualTransactionInputFromJSONTyped = CreateManualTransactionInputFromJSONTyped;
20
+ exports.CreateManualTransactionInputToJSON = CreateManualTransactionInputToJSON;
21
+ exports.CreateManualTransactionInputToJSONTyped = CreateManualTransactionInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.CreateManualTransactionInputGatewayEnum = {
26
+ COMMON: 'common',
27
+ CRYPTO: 'crypto'
28
+ };
29
+ /**
30
+ * Check if a given object implements the CreateManualTransactionInput interface.
31
+ */
32
+ function instanceOfCreateManualTransactionInput(value) {
33
+ return true;
34
+ }
35
+ function CreateManualTransactionInputFromJSON(json) {
36
+ return CreateManualTransactionInputFromJSONTyped(json, false);
37
+ }
38
+ function CreateManualTransactionInputFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'gateway': json['gateway'] == null ? undefined : json['gateway'],
44
+ 'successUrl': json['successUrl'] == null ? undefined : json['successUrl'],
45
+ 'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
46
+ };
47
+ }
48
+ function CreateManualTransactionInputToJSON(json) {
49
+ return CreateManualTransactionInputToJSONTyped(json, false);
50
+ }
51
+ function CreateManualTransactionInputToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'gateway': value['gateway'],
58
+ 'successUrl': value['successUrl'],
59
+ 'cancelUrl': value['cancelUrl'],
60
+ };
61
+ }
@@ -105,6 +105,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
105
105
  readonly SELLER_TRANSFER_COSTS_PAYMENT: "SELLER_TRANSFER_COSTS_PAYMENT";
106
106
  readonly NOTIFICATIONS_MANAGER: "NOTIFICATIONS_MANAGER";
107
107
  readonly DOMAIN_AUCTIONS: "DOMAIN_AUCTIONS";
108
+ readonly CRYPTO_PAYMENT_METHOD: "CRYPTO_PAYMENT_METHOD";
108
109
  };
109
110
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
110
111
  /**
@@ -41,7 +41,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
41
41
  SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD',
42
42
  SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
43
43
  NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
44
- DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS'
44
+ DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS',
45
+ CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD'
45
46
  };
46
47
  /**
47
48
  * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
@@ -27,6 +27,12 @@ export interface InvoiceTransactionDto {
27
27
  * @memberof InvoiceTransactionDto
28
28
  */
29
29
  gateway: InvoiceTransactionDtoGatewayEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof InvoiceTransactionDto
34
+ */
35
+ paymentMode: InvoiceTransactionDtoPaymentModeEnum;
30
36
  /**
31
37
  *
32
38
  * @type {string}
@@ -39,14 +45,29 @@ export interface InvoiceTransactionDto {
39
45
  * @memberof InvoiceTransactionDto
40
46
  */
41
47
  status: InvoiceTransactionDtoStatusEnum;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof InvoiceTransactionDto
52
+ */
53
+ redirectUrl: string | null;
42
54
  }
43
55
  /**
44
56
  * @export
45
57
  */
46
58
  export declare const InvoiceTransactionDtoGatewayEnum: {
47
59
  readonly STRIPE: "stripe";
60
+ readonly NICKY: "nicky";
48
61
  };
49
62
  export type InvoiceTransactionDtoGatewayEnum = typeof InvoiceTransactionDtoGatewayEnum[keyof typeof InvoiceTransactionDtoGatewayEnum];
63
+ /**
64
+ * @export
65
+ */
66
+ export declare const InvoiceTransactionDtoPaymentModeEnum: {
67
+ readonly COMMON: "common";
68
+ readonly CRYPTO: "crypto";
69
+ };
70
+ export type InvoiceTransactionDtoPaymentModeEnum = typeof InvoiceTransactionDtoPaymentModeEnum[keyof typeof InvoiceTransactionDtoPaymentModeEnum];
50
71
  /**
51
72
  * @export
52
73
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.InvoiceTransactionDtoStatusEnum = exports.InvoiceTransactionDtoGatewayEnum = void 0;
16
+ exports.InvoiceTransactionDtoStatusEnum = exports.InvoiceTransactionDtoPaymentModeEnum = exports.InvoiceTransactionDtoGatewayEnum = void 0;
17
17
  exports.instanceOfInvoiceTransactionDto = instanceOfInvoiceTransactionDto;
18
18
  exports.InvoiceTransactionDtoFromJSON = InvoiceTransactionDtoFromJSON;
19
19
  exports.InvoiceTransactionDtoFromJSONTyped = InvoiceTransactionDtoFromJSONTyped;
@@ -23,7 +23,15 @@ exports.InvoiceTransactionDtoToJSONTyped = InvoiceTransactionDtoToJSONTyped;
23
23
  * @export
24
24
  */
25
25
  exports.InvoiceTransactionDtoGatewayEnum = {
26
- STRIPE: 'stripe'
26
+ STRIPE: 'stripe',
27
+ NICKY: 'nicky'
28
+ };
29
+ /**
30
+ * @export
31
+ */
32
+ exports.InvoiceTransactionDtoPaymentModeEnum = {
33
+ COMMON: 'common',
34
+ CRYPTO: 'crypto'
27
35
  };
28
36
  /**
29
37
  * @export
@@ -44,10 +52,14 @@ function instanceOfInvoiceTransactionDto(value) {
44
52
  return false;
45
53
  if (!('gateway' in value) || value['gateway'] === undefined)
46
54
  return false;
55
+ if (!('paymentMode' in value) || value['paymentMode'] === undefined)
56
+ return false;
47
57
  if (!('gatewayTransferToken' in value) || value['gatewayTransferToken'] === undefined)
48
58
  return false;
49
59
  if (!('status' in value) || value['status'] === undefined)
50
60
  return false;
61
+ if (!('redirectUrl' in value) || value['redirectUrl'] === undefined)
62
+ return false;
51
63
  return true;
52
64
  }
53
65
  function InvoiceTransactionDtoFromJSON(json) {
@@ -60,8 +72,10 @@ function InvoiceTransactionDtoFromJSONTyped(json, ignoreDiscriminator) {
60
72
  return {
61
73
  'id': json['id'],
62
74
  'gateway': json['gateway'],
75
+ 'paymentMode': json['paymentMode'],
63
76
  'gatewayTransferToken': json['gatewayTransferToken'],
64
77
  'status': json['status'],
78
+ 'redirectUrl': json['redirectUrl'],
65
79
  };
66
80
  }
67
81
  function InvoiceTransactionDtoToJSON(json) {
@@ -75,7 +89,9 @@ function InvoiceTransactionDtoToJSONTyped(value, ignoreDiscriminator) {
75
89
  return {
76
90
  'id': value['id'],
77
91
  'gateway': value['gateway'],
92
+ 'paymentMode': value['paymentMode'],
78
93
  'gatewayTransferToken': value['gatewayTransferToken'],
79
94
  'status': value['status'],
95
+ 'redirectUrl': value['redirectUrl'],
80
96
  };
81
97
  }
@@ -110,6 +110,12 @@ export interface OrderDto {
110
110
  * @memberof OrderDto
111
111
  */
112
112
  hasPendingTransaction: boolean;
113
+ /**
114
+ *
115
+ * @type {Array<string>}
116
+ * @memberof OrderDto
117
+ */
118
+ enabledPaymentMethods: Array<OrderDtoEnabledPaymentMethodsEnum>;
113
119
  }
114
120
  /**
115
121
  * @export
@@ -121,6 +127,14 @@ export declare const OrderDtoStatusEnum: {
121
127
  readonly CANCELLED: "cancelled";
122
128
  };
123
129
  export type OrderDtoStatusEnum = typeof OrderDtoStatusEnum[keyof typeof OrderDtoStatusEnum];
130
+ /**
131
+ * @export
132
+ */
133
+ export declare const OrderDtoEnabledPaymentMethodsEnum: {
134
+ readonly COMMON: "common";
135
+ readonly CRYPTO: "crypto";
136
+ };
137
+ export type OrderDtoEnabledPaymentMethodsEnum = typeof OrderDtoEnabledPaymentMethodsEnum[keyof typeof OrderDtoEnabledPaymentMethodsEnum];
124
138
  /**
125
139
  * Check if a given object implements the OrderDto interface.
126
140
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.OrderDtoStatusEnum = void 0;
16
+ exports.OrderDtoEnabledPaymentMethodsEnum = exports.OrderDtoStatusEnum = void 0;
17
17
  exports.instanceOfOrderDto = instanceOfOrderDto;
18
18
  exports.OrderDtoFromJSON = OrderDtoFromJSON;
19
19
  exports.OrderDtoFromJSONTyped = OrderDtoFromJSONTyped;
@@ -33,6 +33,13 @@ exports.OrderDtoStatusEnum = {
33
33
  PAID: 'paid',
34
34
  CANCELLED: 'cancelled'
35
35
  };
36
+ /**
37
+ * @export
38
+ */
39
+ exports.OrderDtoEnabledPaymentMethodsEnum = {
40
+ COMMON: 'common',
41
+ CRYPTO: 'crypto'
42
+ };
36
43
  /**
37
44
  * Check if a given object implements the OrderDto interface.
38
45
  */
@@ -67,6 +74,8 @@ function instanceOfOrderDto(value) {
67
74
  return false;
68
75
  if (!('hasPendingTransaction' in value) || value['hasPendingTransaction'] === undefined)
69
76
  return false;
77
+ if (!('enabledPaymentMethods' in value) || value['enabledPaymentMethods'] === undefined)
78
+ return false;
70
79
  return true;
71
80
  }
72
81
  function OrderDtoFromJSON(json) {
@@ -92,6 +101,7 @@ function OrderDtoFromJSONTyped(json, ignoreDiscriminator) {
92
101
  'companyInfo': (0, OrderCompanyInfoDto_1.OrderCompanyInfoDtoFromJSON)(json['companyInfo']),
93
102
  'transaction': (0, InvoiceTransactionDto_1.InvoiceTransactionDtoFromJSON)(json['transaction']),
94
103
  'hasPendingTransaction': json['hasPendingTransaction'],
104
+ 'enabledPaymentMethods': json['enabledPaymentMethods'],
95
105
  };
96
106
  }
97
107
  function OrderDtoToJSON(json) {
@@ -118,5 +128,6 @@ function OrderDtoToJSONTyped(value, ignoreDiscriminator) {
118
128
  'companyInfo': (0, OrderCompanyInfoDto_1.OrderCompanyInfoDtoToJSON)(value['companyInfo']),
119
129
  'transaction': (0, InvoiceTransactionDto_1.InvoiceTransactionDtoToJSON)(value['transaction']),
120
130
  'hasPendingTransaction': value['hasPendingTransaction'],
131
+ 'enabledPaymentMethods': value['enabledPaymentMethods'],
121
132
  };
122
133
  }
@@ -111,6 +111,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
111
111
  readonly SELLER_TRANSFER_COSTS_PAYMENT: "SELLER_TRANSFER_COSTS_PAYMENT";
112
112
  readonly NOTIFICATIONS_MANAGER: "NOTIFICATIONS_MANAGER";
113
113
  readonly DOMAIN_AUCTIONS: "DOMAIN_AUCTIONS";
114
+ readonly CRYPTO_PAYMENT_METHOD: "CRYPTO_PAYMENT_METHOD";
114
115
  };
115
116
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
116
117
  /**
@@ -41,7 +41,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
41
41
  SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD',
42
42
  SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
43
43
  NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
44
- DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS'
44
+ DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS',
45
+ CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD'
45
46
  };
46
47
  /**
47
48
  * Check if a given object implements the PrivateAccountGetMeResponse interface.
@@ -98,6 +98,7 @@ export * from './CreateBuyerLeadMessageInput';
98
98
  export * from './CreateLeadInput';
99
99
  export * from './CreateLeadMessageInput';
100
100
  export * from './CreateManualLeadInput';
101
+ export * from './CreateManualTransactionInput';
101
102
  export * from './CreateOrderInput';
102
103
  export * from './CreateSubscriptionBillingPeriodicityInput';
103
104
  export * from './CreateSubscriptionInput';
@@ -116,6 +116,7 @@ __exportStar(require("./CreateBuyerLeadMessageInput"), exports);
116
116
  __exportStar(require("./CreateLeadInput"), exports);
117
117
  __exportStar(require("./CreateLeadMessageInput"), exports);
118
118
  __exportStar(require("./CreateManualLeadInput"), exports);
119
+ __exportStar(require("./CreateManualTransactionInput"), exports);
119
120
  __exportStar(require("./CreateOrderInput"), exports);
120
121
  __exportStar(require("./CreateSubscriptionBillingPeriodicityInput"), exports);
121
122
  __exportStar(require("./CreateSubscriptionInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.350",
3
+ "version": "0.0.352",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -49,6 +49,7 @@ export interface DomainsPublicApiGetAllTldsRequest {
49
49
 
50
50
  export interface DomainsPublicApiGetDomainRelatedDomainsRequest {
51
51
  domainName: string;
52
+ locale: string;
52
53
  }
53
54
 
54
55
  export interface DomainsPublicApiGetDomainSalesInformationRequest {
@@ -116,8 +117,19 @@ export class DomainsPublicApi extends runtime.BaseAPI {
116
117
  );
117
118
  }
118
119
 
120
+ if (requestParameters['locale'] == null) {
121
+ throw new runtime.RequiredError(
122
+ 'locale',
123
+ 'Required parameter "locale" was null or undefined when calling getDomainRelatedDomains().'
124
+ );
125
+ }
126
+
119
127
  const queryParameters: any = {};
120
128
 
129
+ if (requestParameters['locale'] != null) {
130
+ queryParameters['locale'] = requestParameters['locale'];
131
+ }
132
+
121
133
  const headerParameters: runtime.HTTPHeaders = {};
122
134
 
123
135
  const response = await this.request({
@@ -0,0 +1,55 @@
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
+ ValidationException,
19
+ } from '../models/index';
20
+ import {
21
+ ValidationExceptionFromJSON,
22
+ ValidationExceptionToJSON,
23
+ } from '../models/index';
24
+
25
+ /**
26
+ *
27
+ */
28
+ export class NickyPublicApi extends runtime.BaseAPI {
29
+
30
+ /**
31
+ *
32
+ */
33
+ async postNickyWebhookRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
34
+ const queryParameters: any = {};
35
+
36
+ const headerParameters: runtime.HTTPHeaders = {};
37
+
38
+ const response = await this.request({
39
+ path: `/nicky/webhook`,
40
+ method: 'POST',
41
+ headers: headerParameters,
42
+ query: queryParameters,
43
+ }, initOverrides);
44
+
45
+ return new runtime.VoidApiResponse(response);
46
+ }
47
+
48
+ /**
49
+ *
50
+ */
51
+ async postNickyWebhook(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
52
+ await this.postNickyWebhookRaw(initOverrides);
53
+ }
54
+
55
+ }
@@ -16,6 +16,7 @@
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
18
  BadRequestException,
19
+ CreateManualTransactionInput,
19
20
  CreateOrderInput,
20
21
  NotFoundException,
21
22
  ObjectId,
@@ -26,6 +27,8 @@ import type {
26
27
  import {
27
28
  BadRequestExceptionFromJSON,
28
29
  BadRequestExceptionToJSON,
30
+ CreateManualTransactionInputFromJSON,
31
+ CreateManualTransactionInputToJSON,
29
32
  CreateOrderInputFromJSON,
30
33
  CreateOrderInputToJSON,
31
34
  NotFoundExceptionFromJSON,
@@ -46,6 +49,7 @@ export interface OrdersPublicApiCreateOrderRequest {
46
49
 
47
50
  export interface OrdersPublicApiCreateOrderManualTransactionRequest {
48
51
  orderId: string;
52
+ createManualTransactionInput: CreateManualTransactionInput;
49
53
  }
50
54
 
51
55
  export interface OrdersPublicApiGetOrderRequest {
@@ -110,15 +114,25 @@ export class OrdersPublicApi extends runtime.BaseAPI {
110
114
  );
111
115
  }
112
116
 
117
+ if (requestParameters['createManualTransactionInput'] == null) {
118
+ throw new runtime.RequiredError(
119
+ 'createManualTransactionInput',
120
+ 'Required parameter "createManualTransactionInput" was null or undefined when calling createOrderManualTransaction().'
121
+ );
122
+ }
123
+
113
124
  const queryParameters: any = {};
114
125
 
115
126
  const headerParameters: runtime.HTTPHeaders = {};
116
127
 
128
+ headerParameters['Content-Type'] = 'application/json';
129
+
117
130
  const response = await this.request({
118
131
  path: `/orders/{orderId}/invoice/transactions`.replace(`{${"orderId"}}`, encodeURIComponent(String(requestParameters['orderId']))),
119
132
  method: 'POST',
120
133
  headers: headerParameters,
121
134
  query: queryParameters,
135
+ body: CreateManualTransactionInputToJSON(requestParameters['createManualTransactionInput']),
122
136
  }, initOverrides);
123
137
 
124
138
  return new runtime.VoidApiResponse(response);
package/src/apis/index.ts CHANGED
@@ -15,6 +15,7 @@ export * from './EppApi';
15
15
  export * from './InvoicesApi';
16
16
  export * from './LeadsApi';
17
17
  export * from './LeadsPublicApi';
18
+ export * from './NickyPublicApi';
18
19
  export * from './NotificationsApi';
19
20
  export * from './OrdersPublicApi';
20
21
  export * from './PartnerApi';
@@ -0,0 +1,92 @@
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 CreateManualTransactionInput
20
+ */
21
+ export interface CreateManualTransactionInput {
22
+ /**
23
+ * Payment gateway to use for the transaction
24
+ * @type {string}
25
+ * @memberof CreateManualTransactionInput
26
+ */
27
+ gateway?: CreateManualTransactionInputGatewayEnum;
28
+ /**
29
+ * URL to redirect to when payment is successful
30
+ * @type {string}
31
+ * @memberof CreateManualTransactionInput
32
+ */
33
+ successUrl?: string;
34
+ /**
35
+ * URL to redirect to when payment is cancelled
36
+ * @type {string}
37
+ * @memberof CreateManualTransactionInput
38
+ */
39
+ cancelUrl?: string;
40
+ }
41
+
42
+
43
+ /**
44
+ * @export
45
+ */
46
+ export const CreateManualTransactionInputGatewayEnum = {
47
+ COMMON: 'common',
48
+ CRYPTO: 'crypto'
49
+ } as const;
50
+ export type CreateManualTransactionInputGatewayEnum = typeof CreateManualTransactionInputGatewayEnum[keyof typeof CreateManualTransactionInputGatewayEnum];
51
+
52
+
53
+ /**
54
+ * Check if a given object implements the CreateManualTransactionInput interface.
55
+ */
56
+ export function instanceOfCreateManualTransactionInput(value: object): value is CreateManualTransactionInput {
57
+ return true;
58
+ }
59
+
60
+ export function CreateManualTransactionInputFromJSON(json: any): CreateManualTransactionInput {
61
+ return CreateManualTransactionInputFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function CreateManualTransactionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateManualTransactionInput {
65
+ if (json == null) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'gateway': json['gateway'] == null ? undefined : json['gateway'],
71
+ 'successUrl': json['successUrl'] == null ? undefined : json['successUrl'],
72
+ 'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
73
+ };
74
+ }
75
+
76
+ export function CreateManualTransactionInputToJSON(json: any): CreateManualTransactionInput {
77
+ return CreateManualTransactionInputToJSONTyped(json, false);
78
+ }
79
+
80
+ export function CreateManualTransactionInputToJSONTyped(value?: CreateManualTransactionInput | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'gateway': value['gateway'],
88
+ 'successUrl': value['successUrl'],
89
+ 'cancelUrl': value['cancelUrl'],
90
+ };
91
+ }
92
+
@@ -147,7 +147,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
147
147
  SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD',
148
148
  SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
149
149
  NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
150
- DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS'
150
+ DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS',
151
+ CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD'
151
152
  } as const;
152
153
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
153
154
 
@@ -31,6 +31,12 @@ export interface InvoiceTransactionDto {
31
31
  * @memberof InvoiceTransactionDto
32
32
  */
33
33
  gateway: InvoiceTransactionDtoGatewayEnum;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof InvoiceTransactionDto
38
+ */
39
+ paymentMode: InvoiceTransactionDtoPaymentModeEnum;
34
40
  /**
35
41
  *
36
42
  * @type {string}
@@ -43,6 +49,12 @@ export interface InvoiceTransactionDto {
43
49
  * @memberof InvoiceTransactionDto
44
50
  */
45
51
  status: InvoiceTransactionDtoStatusEnum;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof InvoiceTransactionDto
56
+ */
57
+ redirectUrl: string | null;
46
58
  }
47
59
 
48
60
 
@@ -50,10 +62,20 @@ export interface InvoiceTransactionDto {
50
62
  * @export
51
63
  */
52
64
  export const InvoiceTransactionDtoGatewayEnum = {
53
- STRIPE: 'stripe'
65
+ STRIPE: 'stripe',
66
+ NICKY: 'nicky'
54
67
  } as const;
55
68
  export type InvoiceTransactionDtoGatewayEnum = typeof InvoiceTransactionDtoGatewayEnum[keyof typeof InvoiceTransactionDtoGatewayEnum];
56
69
 
70
+ /**
71
+ * @export
72
+ */
73
+ export const InvoiceTransactionDtoPaymentModeEnum = {
74
+ COMMON: 'common',
75
+ CRYPTO: 'crypto'
76
+ } as const;
77
+ export type InvoiceTransactionDtoPaymentModeEnum = typeof InvoiceTransactionDtoPaymentModeEnum[keyof typeof InvoiceTransactionDtoPaymentModeEnum];
78
+
57
79
  /**
58
80
  * @export
59
81
  */
@@ -74,8 +96,10 @@ export type InvoiceTransactionDtoStatusEnum = typeof InvoiceTransactionDtoStatus
74
96
  export function instanceOfInvoiceTransactionDto(value: object): value is InvoiceTransactionDto {
75
97
  if (!('id' in value) || value['id'] === undefined) return false;
76
98
  if (!('gateway' in value) || value['gateway'] === undefined) return false;
99
+ if (!('paymentMode' in value) || value['paymentMode'] === undefined) return false;
77
100
  if (!('gatewayTransferToken' in value) || value['gatewayTransferToken'] === undefined) return false;
78
101
  if (!('status' in value) || value['status'] === undefined) return false;
102
+ if (!('redirectUrl' in value) || value['redirectUrl'] === undefined) return false;
79
103
  return true;
80
104
  }
81
105
 
@@ -91,8 +115,10 @@ export function InvoiceTransactionDtoFromJSONTyped(json: any, ignoreDiscriminato
91
115
 
92
116
  'id': json['id'],
93
117
  'gateway': json['gateway'],
118
+ 'paymentMode': json['paymentMode'],
94
119
  'gatewayTransferToken': json['gatewayTransferToken'],
95
120
  'status': json['status'],
121
+ 'redirectUrl': json['redirectUrl'],
96
122
  };
97
123
  }
98
124
 
@@ -109,8 +135,10 @@ export function InvoiceTransactionDtoToJSONTyped(value?: InvoiceTransactionDto |
109
135
 
110
136
  'id': value['id'],
111
137
  'gateway': value['gateway'],
138
+ 'paymentMode': value['paymentMode'],
112
139
  'gatewayTransferToken': value['gatewayTransferToken'],
113
140
  'status': value['status'],
141
+ 'redirectUrl': value['redirectUrl'],
114
142
  };
115
143
  }
116
144
 
@@ -145,6 +145,12 @@ export interface OrderDto {
145
145
  * @memberof OrderDto
146
146
  */
147
147
  hasPendingTransaction: boolean;
148
+ /**
149
+ *
150
+ * @type {Array<string>}
151
+ * @memberof OrderDto
152
+ */
153
+ enabledPaymentMethods: Array<OrderDtoEnabledPaymentMethodsEnum>;
148
154
  }
149
155
 
150
156
 
@@ -159,6 +165,15 @@ export const OrderDtoStatusEnum = {
159
165
  } as const;
160
166
  export type OrderDtoStatusEnum = typeof OrderDtoStatusEnum[keyof typeof OrderDtoStatusEnum];
161
167
 
168
+ /**
169
+ * @export
170
+ */
171
+ export const OrderDtoEnabledPaymentMethodsEnum = {
172
+ COMMON: 'common',
173
+ CRYPTO: 'crypto'
174
+ } as const;
175
+ export type OrderDtoEnabledPaymentMethodsEnum = typeof OrderDtoEnabledPaymentMethodsEnum[keyof typeof OrderDtoEnabledPaymentMethodsEnum];
176
+
162
177
 
163
178
  /**
164
179
  * Check if a given object implements the OrderDto interface.
@@ -179,6 +194,7 @@ export function instanceOfOrderDto(value: object): value is OrderDto {
179
194
  if (!('companyInfo' in value) || value['companyInfo'] === undefined) return false;
180
195
  if (!('transaction' in value) || value['transaction'] === undefined) return false;
181
196
  if (!('hasPendingTransaction' in value) || value['hasPendingTransaction'] === undefined) return false;
197
+ if (!('enabledPaymentMethods' in value) || value['enabledPaymentMethods'] === undefined) return false;
182
198
  return true;
183
199
  }
184
200
 
@@ -207,6 +223,7 @@ export function OrderDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
207
223
  'companyInfo': OrderCompanyInfoDtoFromJSON(json['companyInfo']),
208
224
  'transaction': InvoiceTransactionDtoFromJSON(json['transaction']),
209
225
  'hasPendingTransaction': json['hasPendingTransaction'],
226
+ 'enabledPaymentMethods': json['enabledPaymentMethods'],
210
227
  };
211
228
  }
212
229
 
@@ -236,6 +253,7 @@ export function OrderDtoToJSONTyped(value?: OrderDto | null, ignoreDiscriminator
236
253
  'companyInfo': OrderCompanyInfoDtoToJSON(value['companyInfo']),
237
254
  'transaction': InvoiceTransactionDtoToJSON(value['transaction']),
238
255
  'hasPendingTransaction': value['hasPendingTransaction'],
256
+ 'enabledPaymentMethods': value['enabledPaymentMethods'],
239
257
  };
240
258
  }
241
259
 
@@ -153,7 +153,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
153
153
  SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD',
154
154
  SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
155
155
  NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
156
- DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS'
156
+ DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS',
157
+ CRYPTO_PAYMENT_METHOD: 'CRYPTO_PAYMENT_METHOD'
157
158
  } as const;
158
159
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
159
160
 
@@ -100,6 +100,7 @@ export * from './CreateBuyerLeadMessageInput';
100
100
  export * from './CreateLeadInput';
101
101
  export * from './CreateLeadMessageInput';
102
102
  export * from './CreateManualLeadInput';
103
+ export * from './CreateManualTransactionInput';
103
104
  export * from './CreateOrderInput';
104
105
  export * from './CreateSubscriptionBillingPeriodicityInput';
105
106
  export * from './CreateSubscriptionInput';