@randock/nameshift-api-client 0.0.55 → 0.0.57

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.
@@ -6,6 +6,8 @@ package.json
6
6
  src/apis/AccountsApi.ts
7
7
  src/apis/AccountsPublicApi.ts
8
8
  src/apis/AdminApi.ts
9
+ src/apis/BuyersApi.ts
10
+ src/apis/BuyersPublicApi.ts
9
11
  src/apis/DashboardApi.ts
10
12
  src/apis/DomainsApi.ts
11
13
  src/apis/DomainsPublicApi.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.55
1
+ ## @randock/nameshift-api-client@0.0.57
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.55 --save
39
+ npm install @randock/nameshift-api-client@0.0.57 --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
- cba6087b6c28e37ec14f55d14af27086de71f49565012765df5ef9cd7a05ce177cd0704f8c794bd2f204c6c2afe2bbed
47
+ 3189761c199b33bfb8745f997b66ead9f435b76874c02c1fd8b49273adfbe2a5ba53a548faab95cafb2986e58796c282
@@ -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 BuyersApi extends runtime.BaseAPI {
17
+ /**
18
+ *
19
+ */
20
+ foooRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
21
+ /**
22
+ *
23
+ */
24
+ fooo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
25
+ }
@@ -0,0 +1,127 @@
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;
41
+ return g = { next: verb(0), "throw": verb(1), "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.BuyersApi = void 0;
68
+ var runtime = require("../runtime");
69
+ /**
70
+ *
71
+ */
72
+ var BuyersApi = /** @class */ (function (_super) {
73
+ __extends(BuyersApi, _super);
74
+ function BuyersApi() {
75
+ return _super !== null && _super.apply(this, arguments) || this;
76
+ }
77
+ /**
78
+ *
79
+ */
80
+ BuyersApi.prototype.foooRaw = function (initOverrides) {
81
+ return __awaiter(this, void 0, void 0, function () {
82
+ var queryParameters, headerParameters, token, tokenString, response;
83
+ return __generator(this, function (_a) {
84
+ switch (_a.label) {
85
+ case 0:
86
+ queryParameters = {};
87
+ headerParameters = {};
88
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
89
+ token = this.configuration.accessToken;
90
+ return [4 /*yield*/, token("bearer", [])];
91
+ case 1:
92
+ tokenString = _a.sent();
93
+ if (tokenString) {
94
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
95
+ }
96
+ _a.label = 2;
97
+ case 2: return [4 /*yield*/, this.request({
98
+ path: "/buyers/private/foo",
99
+ method: 'POST',
100
+ headers: headerParameters,
101
+ query: queryParameters,
102
+ }, initOverrides)];
103
+ case 3:
104
+ response = _a.sent();
105
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
106
+ }
107
+ });
108
+ });
109
+ };
110
+ /**
111
+ *
112
+ */
113
+ BuyersApi.prototype.fooo = function (initOverrides) {
114
+ return __awaiter(this, void 0, void 0, function () {
115
+ return __generator(this, function (_a) {
116
+ switch (_a.label) {
117
+ case 0: return [4 /*yield*/, this.foooRaw(initOverrides)];
118
+ case 1:
119
+ _a.sent();
120
+ return [2 /*return*/];
121
+ }
122
+ });
123
+ });
124
+ };
125
+ return BuyersApi;
126
+ }(runtime.BaseAPI));
127
+ exports.BuyersApi = BuyersApi;
@@ -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 { LoginDto, LoginInput } from '../models/index';
14
+ export interface BuyersPublicApiBuyerLoginRequest {
15
+ loginInput: LoginInput;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class BuyersPublicApi extends runtime.BaseAPI {
21
+ /**
22
+ *
23
+ */
24
+ buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginDto>>;
25
+ /**
26
+ *
27
+ */
28
+ buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginDto>;
29
+ }
@@ -0,0 +1,126 @@
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;
41
+ return g = { next: verb(0), "throw": verb(1), "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.BuyersPublicApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var index_1 = require("../models/index");
70
+ /**
71
+ *
72
+ */
73
+ var BuyersPublicApi = /** @class */ (function (_super) {
74
+ __extends(BuyersPublicApi, _super);
75
+ function BuyersPublicApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ *
80
+ */
81
+ BuyersPublicApi.prototype.buyerLoginRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ if (requestParameters['loginInput'] == null) {
88
+ throw new runtime.RequiredError('loginInput', 'Required parameter "loginInput" was null or undefined when calling buyerLogin().');
89
+ }
90
+ queryParameters = {};
91
+ headerParameters = {};
92
+ headerParameters['Content-Type'] = 'application/json';
93
+ return [4 /*yield*/, this.request({
94
+ path: "/buyers/login",
95
+ method: 'POST',
96
+ headers: headerParameters,
97
+ query: queryParameters,
98
+ body: (0, index_1.LoginInputToJSON)(requestParameters['loginInput']),
99
+ }, initOverrides)];
100
+ case 1:
101
+ response = _a.sent();
102
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.LoginDtoFromJSON)(jsonValue); })];
103
+ }
104
+ });
105
+ });
106
+ };
107
+ /**
108
+ *
109
+ */
110
+ BuyersPublicApi.prototype.buyerLogin = function (requestParameters, initOverrides) {
111
+ return __awaiter(this, void 0, void 0, function () {
112
+ var response;
113
+ return __generator(this, function (_a) {
114
+ switch (_a.label) {
115
+ case 0: return [4 /*yield*/, this.buyerLoginRaw(requestParameters, initOverrides)];
116
+ case 1:
117
+ response = _a.sent();
118
+ return [4 /*yield*/, response.value()];
119
+ case 2: return [2 /*return*/, _a.sent()];
120
+ }
121
+ });
122
+ });
123
+ };
124
+ return BuyersPublicApi;
125
+ }(runtime.BaseAPI));
126
+ exports.BuyersPublicApi = BuyersPublicApi;
@@ -1,6 +1,8 @@
1
1
  export * from './AccountsApi';
2
2
  export * from './AccountsPublicApi';
3
3
  export * from './AdminApi';
4
+ export * from './BuyersApi';
5
+ export * from './BuyersPublicApi';
4
6
  export * from './DashboardApi';
5
7
  export * from './DomainsApi';
6
8
  export * from './DomainsPublicApi';
@@ -19,6 +19,8 @@ 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("./BuyersApi"), exports);
23
+ __exportStar(require("./BuyersPublicApi"), exports);
22
24
  __exportStar(require("./DashboardApi"), exports);
23
25
  __exportStar(require("./DomainsApi"), exports);
24
26
  __exportStar(require("./DomainsPublicApi"), exports);
@@ -22,6 +22,12 @@ export interface RelatedSellerDomain {
22
22
  * @memberof RelatedSellerDomain
23
23
  */
24
24
  name: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof RelatedSellerDomain
29
+ */
30
+ displayName: string;
25
31
  /**
26
32
  *
27
33
  * @type {MoneyDto}
@@ -21,6 +21,8 @@ var MoneyDto_1 = require("./MoneyDto");
21
21
  function instanceOfRelatedSellerDomain(value) {
22
22
  if (!('name' in value) || value['name'] === undefined)
23
23
  return false;
24
+ if (!('displayName' in value) || value['displayName'] === undefined)
25
+ return false;
24
26
  if (!('buyNow' in value) || value['buyNow'] === undefined)
25
27
  return false;
26
28
  if (!('minOffer' in value) || value['minOffer'] === undefined)
@@ -40,6 +42,7 @@ function RelatedSellerDomainFromJSONTyped(json, ignoreDiscriminator) {
40
42
  }
41
43
  return {
42
44
  'name': json['name'],
45
+ 'displayName': json['displayName'],
43
46
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
44
47
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
45
48
  'url': json['url'],
@@ -52,6 +55,7 @@ function RelatedSellerDomainToJSON(value) {
52
55
  }
53
56
  return {
54
57
  'name': value['name'],
58
+ 'displayName': value['displayName'],
55
59
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
56
60
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
57
61
  'url': value['url'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.55",
3
+ "version": "0.0.57",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,66 @@
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
+ ThrottlerException,
19
+ ValidationException,
20
+ } from '../models/index';
21
+ import {
22
+ ThrottlerExceptionFromJSON,
23
+ ThrottlerExceptionToJSON,
24
+ ValidationExceptionFromJSON,
25
+ ValidationExceptionToJSON,
26
+ } from '../models/index';
27
+
28
+ /**
29
+ *
30
+ */
31
+ export class BuyersApi extends runtime.BaseAPI {
32
+
33
+ /**
34
+ *
35
+ */
36
+ async foooRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
37
+ const queryParameters: any = {};
38
+
39
+ const headerParameters: runtime.HTTPHeaders = {};
40
+
41
+ if (this.configuration && this.configuration.accessToken) {
42
+ const token = this.configuration.accessToken;
43
+ const tokenString = await token("bearer", []);
44
+
45
+ if (tokenString) {
46
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
47
+ }
48
+ }
49
+ const response = await this.request({
50
+ path: `/buyers/private/foo`,
51
+ method: 'POST',
52
+ headers: headerParameters,
53
+ query: queryParameters,
54
+ }, initOverrides);
55
+
56
+ return new runtime.VoidApiResponse(response);
57
+ }
58
+
59
+ /**
60
+ *
61
+ */
62
+ async fooo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
63
+ await this.foooRaw(initOverrides);
64
+ }
65
+
66
+ }
@@ -0,0 +1,79 @@
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
+ LoginDto,
19
+ LoginInput,
20
+ ThrottlerException,
21
+ ValidationException,
22
+ } from '../models/index';
23
+ import {
24
+ LoginDtoFromJSON,
25
+ LoginDtoToJSON,
26
+ LoginInputFromJSON,
27
+ LoginInputToJSON,
28
+ ThrottlerExceptionFromJSON,
29
+ ThrottlerExceptionToJSON,
30
+ ValidationExceptionFromJSON,
31
+ ValidationExceptionToJSON,
32
+ } from '../models/index';
33
+
34
+ export interface BuyersPublicApiBuyerLoginRequest {
35
+ loginInput: LoginInput;
36
+ }
37
+
38
+ /**
39
+ *
40
+ */
41
+ export class BuyersPublicApi extends runtime.BaseAPI {
42
+
43
+ /**
44
+ *
45
+ */
46
+ async buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginDto>> {
47
+ if (requestParameters['loginInput'] == null) {
48
+ throw new runtime.RequiredError(
49
+ 'loginInput',
50
+ 'Required parameter "loginInput" was null or undefined when calling buyerLogin().'
51
+ );
52
+ }
53
+
54
+ const queryParameters: any = {};
55
+
56
+ const headerParameters: runtime.HTTPHeaders = {};
57
+
58
+ headerParameters['Content-Type'] = 'application/json';
59
+
60
+ const response = await this.request({
61
+ path: `/buyers/login`,
62
+ method: 'POST',
63
+ headers: headerParameters,
64
+ query: queryParameters,
65
+ body: LoginInputToJSON(requestParameters['loginInput']),
66
+ }, initOverrides);
67
+
68
+ return new runtime.JSONApiResponse(response, (jsonValue) => LoginDtoFromJSON(jsonValue));
69
+ }
70
+
71
+ /**
72
+ *
73
+ */
74
+ async buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginDto> {
75
+ const response = await this.buyerLoginRaw(requestParameters, initOverrides);
76
+ return await response.value();
77
+ }
78
+
79
+ }
package/src/apis/index.ts CHANGED
@@ -3,6 +3,8 @@
3
3
  export * from './AccountsApi';
4
4
  export * from './AccountsPublicApi';
5
5
  export * from './AdminApi';
6
+ export * from './BuyersApi';
7
+ export * from './BuyersPublicApi';
6
8
  export * from './DashboardApi';
7
9
  export * from './DomainsApi';
8
10
  export * from './DomainsPublicApi';
@@ -32,6 +32,12 @@ export interface RelatedSellerDomain {
32
32
  * @memberof RelatedSellerDomain
33
33
  */
34
34
  name: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof RelatedSellerDomain
39
+ */
40
+ displayName: string;
35
41
  /**
36
42
  *
37
43
  * @type {MoneyDto}
@@ -57,6 +63,7 @@ export interface RelatedSellerDomain {
57
63
  */
58
64
  export function instanceOfRelatedSellerDomain(value: object): value is RelatedSellerDomain {
59
65
  if (!('name' in value) || value['name'] === undefined) return false;
66
+ if (!('displayName' in value) || value['displayName'] === undefined) return false;
60
67
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
61
68
  if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
62
69
  if (!('url' in value) || value['url'] === undefined) return false;
@@ -74,6 +81,7 @@ export function RelatedSellerDomainFromJSONTyped(json: any, ignoreDiscriminator:
74
81
  return {
75
82
 
76
83
  'name': json['name'],
84
+ 'displayName': json['displayName'],
77
85
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
78
86
  'minOffer': MoneyDtoFromJSON(json['minOffer']),
79
87
  'url': json['url'],
@@ -87,6 +95,7 @@ export function RelatedSellerDomainToJSON(value?: RelatedSellerDomain | null): a
87
95
  return {
88
96
 
89
97
  'name': value['name'],
98
+ 'displayName': value['displayName'],
90
99
  'buyNow': MoneyDtoToJSON(value['buyNow']),
91
100
  'minOffer': MoneyDtoToJSON(value['minOffer']),
92
101
  'url': value['url'],