@randock/nameshift-api-client 0.0.373 → 0.0.374

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.
@@ -71,6 +71,7 @@ src/models/AdminAccountSettingsInput.ts
71
71
  src/models/AdminAuctionCommissionByDateRangeInput.ts
72
72
  src/models/AdminAuctionConfigurationInput.ts
73
73
  src/models/AdminBankAccountDto.ts
74
+ src/models/AdminBuyerLoginDto.ts
74
75
  src/models/AdminCompanyStatsDto.ts
75
76
  src/models/AdminCompanyStatsLedger.ts
76
77
  src/models/AdminDashboardStatsDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.373
1
+ ## @randock/nameshift-api-client@0.0.374
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.373 --save
39
+ npm install @randock/nameshift-api-client@0.0.374 --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
- 79216ea505e80a90fbaf77983f94b09af4fe7a4d69620aca8b1cac2ef2ffc18ef37439d9ae2fabccdffe59c10c202251
47
+ 19aefb41454d2d9af0a3565f87d90aace47f579ae4acd0f102a90f89a56b60ee6b4a63938d6d3c0490a36de32551a282
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AccountNameshiftCommissionByTypeDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, BulkCommissionActionsInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, DomainLockDto, DomainTransferDetailsDto, GetAllAuctions200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadMessageDto, LedgerMutationsDto, ListAccounts200Response, ListBankAccounts200Response, ListDomains200Response, ObjectId, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SubscriptionDetailsDto } from '../models/index';
13
+ import type { AccountNameshiftCommissionByTypeDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, BulkCommissionActionsInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, DomainLockDto, DomainTransferDetailsDto, GetAllAuctions200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadMessageDto, LedgerMutationsDto, ListAccounts200Response, ListBankAccounts200Response, ListDomains200Response, ObjectId, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SubscriptionDetailsDto } from '../models/index';
14
14
  export interface AdminApiAdminGetAllDomainTransfersRequest {
15
15
  filter?: object;
16
16
  page?: number;
@@ -127,6 +127,9 @@ export interface AdminApiListLedgerMutationsRequest {
127
127
  export interface AdminApiLoginAsRequest {
128
128
  accountId: string;
129
129
  }
130
+ export interface AdminApiLoginAsBuyerRequest {
131
+ buyerId: string;
132
+ }
130
133
  export interface AdminApiPayDomainTransferSellerInvoiceRequest {
131
134
  transferId: string;
132
135
  invoiceId: string;
@@ -390,6 +393,14 @@ export declare class AdminApi extends runtime.BaseAPI {
390
393
  *
391
394
  */
392
395
  loginAs(requestParameters: AdminApiLoginAsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminAccountLoginDto>;
396
+ /**
397
+ *
398
+ */
399
+ loginAsBuyerRaw(requestParameters: AdminApiLoginAsBuyerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminBuyerLoginDto>>;
400
+ /**
401
+ *
402
+ */
403
+ loginAsBuyer(requestParameters: AdminApiLoginAsBuyerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminBuyerLoginDto>;
393
404
  /**
394
405
  *
395
406
  */
@@ -1675,6 +1675,59 @@ var AdminApi = /** @class */ (function (_super) {
1675
1675
  });
1676
1676
  });
1677
1677
  };
1678
+ /**
1679
+ *
1680
+ */
1681
+ AdminApi.prototype.loginAsBuyerRaw = function (requestParameters, initOverrides) {
1682
+ return __awaiter(this, void 0, void 0, function () {
1683
+ var queryParameters, headerParameters, token, tokenString, response;
1684
+ return __generator(this, function (_a) {
1685
+ switch (_a.label) {
1686
+ case 0:
1687
+ if (requestParameters['buyerId'] == null) {
1688
+ throw new runtime.RequiredError('buyerId', 'Required parameter "buyerId" was null or undefined when calling loginAsBuyer().');
1689
+ }
1690
+ queryParameters = {};
1691
+ headerParameters = {};
1692
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
1693
+ token = this.configuration.accessToken;
1694
+ return [4 /*yield*/, token("bearer", [])];
1695
+ case 1:
1696
+ tokenString = _a.sent();
1697
+ if (tokenString) {
1698
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
1699
+ }
1700
+ _a.label = 2;
1701
+ case 2: return [4 /*yield*/, this.request({
1702
+ path: "/admin/buyers/{buyerId}/login-as".replace("{".concat("buyerId", "}"), encodeURIComponent(String(requestParameters['buyerId']))),
1703
+ method: 'POST',
1704
+ headers: headerParameters,
1705
+ query: queryParameters,
1706
+ }, initOverrides)];
1707
+ case 3:
1708
+ response = _a.sent();
1709
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AdminBuyerLoginDtoFromJSON)(jsonValue); })];
1710
+ }
1711
+ });
1712
+ });
1713
+ };
1714
+ /**
1715
+ *
1716
+ */
1717
+ AdminApi.prototype.loginAsBuyer = function (requestParameters, initOverrides) {
1718
+ return __awaiter(this, void 0, void 0, function () {
1719
+ var response;
1720
+ return __generator(this, function (_a) {
1721
+ switch (_a.label) {
1722
+ case 0: return [4 /*yield*/, this.loginAsBuyerRaw(requestParameters, initOverrides)];
1723
+ case 1:
1724
+ response = _a.sent();
1725
+ return [4 /*yield*/, response.value()];
1726
+ case 2: return [2 /*return*/, _a.sent()];
1727
+ }
1728
+ });
1729
+ });
1730
+ };
1678
1731
  /**
1679
1732
  *
1680
1733
  */
@@ -0,0 +1,32 @@
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 AdminBuyerLoginDto
16
+ */
17
+ export interface AdminBuyerLoginDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AdminBuyerLoginDto
22
+ */
23
+ token: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AdminBuyerLoginDto interface.
27
+ */
28
+ export declare function instanceOfAdminBuyerLoginDto(value: object): value is AdminBuyerLoginDto;
29
+ export declare function AdminBuyerLoginDtoFromJSON(json: any): AdminBuyerLoginDto;
30
+ export declare function AdminBuyerLoginDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBuyerLoginDto;
31
+ export declare function AdminBuyerLoginDtoToJSON(json: any): AdminBuyerLoginDto;
32
+ export declare function AdminBuyerLoginDtoToJSONTyped(value?: AdminBuyerLoginDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAdminBuyerLoginDto = instanceOfAdminBuyerLoginDto;
17
+ exports.AdminBuyerLoginDtoFromJSON = AdminBuyerLoginDtoFromJSON;
18
+ exports.AdminBuyerLoginDtoFromJSONTyped = AdminBuyerLoginDtoFromJSONTyped;
19
+ exports.AdminBuyerLoginDtoToJSON = AdminBuyerLoginDtoToJSON;
20
+ exports.AdminBuyerLoginDtoToJSONTyped = AdminBuyerLoginDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AdminBuyerLoginDto interface.
23
+ */
24
+ function instanceOfAdminBuyerLoginDto(value) {
25
+ if (!('token' in value) || value['token'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AdminBuyerLoginDtoFromJSON(json) {
30
+ return AdminBuyerLoginDtoFromJSONTyped(json, false);
31
+ }
32
+ function AdminBuyerLoginDtoFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'token': json['token'],
38
+ };
39
+ }
40
+ function AdminBuyerLoginDtoToJSON(json) {
41
+ return AdminBuyerLoginDtoToJSONTyped(json, false);
42
+ }
43
+ function AdminBuyerLoginDtoToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'token': value['token'],
50
+ };
51
+ }
@@ -26,6 +26,12 @@ export interface DomainTransferDto {
26
26
  * @memberof DomainTransferDto
27
27
  */
28
28
  id: string;
29
+ /**
30
+ * The buyer ID
31
+ * @type {string}
32
+ * @memberof DomainTransferDto
33
+ */
34
+ buyerId: string;
29
35
  /**
30
36
  * The domain of transfer
31
37
  * @type {DomainTransferDomainDto}
@@ -50,6 +50,8 @@ exports.DomainTransferDtoStatusSellerEnum = {
50
50
  function instanceOfDomainTransferDto(value) {
51
51
  if (!('id' in value) || value['id'] === undefined)
52
52
  return false;
53
+ if (!('buyerId' in value) || value['buyerId'] === undefined)
54
+ return false;
53
55
  if (!('domain' in value) || value['domain'] === undefined)
54
56
  return false;
55
57
  if (!('status' in value) || value['status'] === undefined)
@@ -77,6 +79,7 @@ function DomainTransferDtoFromJSONTyped(json, ignoreDiscriminator) {
77
79
  }
78
80
  return {
79
81
  'id': json['id'],
82
+ 'buyerId': json['buyerId'],
80
83
  'domain': (0, DomainTransferDomainDto_1.DomainTransferDomainDtoFromJSON)(json['domain']),
81
84
  'status': json['status'],
82
85
  'statusSeller': json['statusSeller'],
@@ -97,6 +100,7 @@ function DomainTransferDtoToJSONTyped(value, ignoreDiscriminator) {
97
100
  }
98
101
  return {
99
102
  'id': value['id'],
103
+ 'buyerId': value['buyerId'],
100
104
  'domain': (0, DomainTransferDomainDto_1.DomainTransferDomainDtoToJSON)(value['domain']),
101
105
  'status': value['status'],
102
106
  'statusSeller': value['statusSeller'],
@@ -17,6 +17,12 @@ import type { AddressDto } from './AddressDto';
17
17
  * @interface OrderListItemDtoBuyerInformation
18
18
  */
19
19
  export interface OrderListItemDtoBuyerInformation {
20
+ /**
21
+ * The uuid for buyer.
22
+ * @type {string}
23
+ * @memberof OrderListItemDtoBuyerInformation
24
+ */
25
+ id: string;
20
26
  /**
21
27
  * The order buyer first name
22
28
  * @type {string}
@@ -24,6 +24,8 @@ var AddressDto_1 = require("./AddressDto");
24
24
  * Check if a given object implements the OrderListItemDtoBuyerInformation interface.
25
25
  */
26
26
  function instanceOfOrderListItemDtoBuyerInformation(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
27
29
  if (!('firstName' in value) || value['firstName'] === undefined)
28
30
  return false;
29
31
  if (!('lastName' in value) || value['lastName'] === undefined)
@@ -46,6 +48,7 @@ function OrderListItemDtoBuyerInformationFromJSONTyped(json, ignoreDiscriminator
46
48
  return json;
47
49
  }
48
50
  return {
51
+ 'id': json['id'],
49
52
  'firstName': json['firstName'],
50
53
  'lastName': json['lastName'],
51
54
  'email': json['email'],
@@ -63,6 +66,7 @@ function OrderListItemDtoBuyerInformationToJSONTyped(value, ignoreDiscriminator)
63
66
  return value;
64
67
  }
65
68
  return {
69
+ 'id': value['id'],
66
70
  'firstName': value['firstName'],
67
71
  'lastName': value['lastName'],
68
72
  'email': value['email'],
@@ -17,6 +17,12 @@ import type { AddressDto } from './AddressDto';
17
17
  * @interface SubscriptionListItemDtoBuyerInformation
18
18
  */
19
19
  export interface SubscriptionListItemDtoBuyerInformation {
20
+ /**
21
+ * The uuid for buyer.
22
+ * @type {string}
23
+ * @memberof SubscriptionListItemDtoBuyerInformation
24
+ */
25
+ id: string;
20
26
  /**
21
27
  * The subscription buyer first name
22
28
  * @type {string}
@@ -24,6 +24,8 @@ var AddressDto_1 = require("./AddressDto");
24
24
  * Check if a given object implements the SubscriptionListItemDtoBuyerInformation interface.
25
25
  */
26
26
  function instanceOfSubscriptionListItemDtoBuyerInformation(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
27
29
  if (!('firstName' in value) || value['firstName'] === undefined)
28
30
  return false;
29
31
  if (!('lastName' in value) || value['lastName'] === undefined)
@@ -46,6 +48,7 @@ function SubscriptionListItemDtoBuyerInformationFromJSONTyped(json, ignoreDiscri
46
48
  return json;
47
49
  }
48
50
  return {
51
+ 'id': json['id'],
49
52
  'firstName': json['firstName'],
50
53
  'lastName': json['lastName'],
51
54
  'email': json['email'],
@@ -63,6 +66,7 @@ function SubscriptionListItemDtoBuyerInformationToJSONTyped(value, ignoreDiscrim
63
66
  return value;
64
67
  }
65
68
  return {
69
+ 'id': value['id'],
66
70
  'firstName': value['firstName'],
67
71
  'lastName': value['lastName'],
68
72
  'email': value['email'],
@@ -36,6 +36,7 @@ export * from './AdminAccountSettingsInput';
36
36
  export * from './AdminAuctionCommissionByDateRangeInput';
37
37
  export * from './AdminAuctionConfigurationInput';
38
38
  export * from './AdminBankAccountDto';
39
+ export * from './AdminBuyerLoginDto';
39
40
  export * from './AdminCompanyStatsDto';
40
41
  export * from './AdminCompanyStatsLedger';
41
42
  export * from './AdminDashboardStatsDto';
@@ -54,6 +54,7 @@ __exportStar(require("./AdminAccountSettingsInput"), exports);
54
54
  __exportStar(require("./AdminAuctionCommissionByDateRangeInput"), exports);
55
55
  __exportStar(require("./AdminAuctionConfigurationInput"), exports);
56
56
  __exportStar(require("./AdminBankAccountDto"), exports);
57
+ __exportStar(require("./AdminBuyerLoginDto"), exports);
57
58
  __exportStar(require("./AdminCompanyStatsDto"), exports);
58
59
  __exportStar(require("./AdminCompanyStatsLedger"), exports);
59
60
  __exportStar(require("./AdminDashboardStatsDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.373",
3
+ "version": "0.0.374",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -20,6 +20,7 @@ import type {
20
20
  AccountSettingsDto,
21
21
  AdminAccountLoginDto,
22
22
  AdminAccountSettingsInput,
23
+ AdminBuyerLoginDto,
23
24
  AdminCompanyStatsDto,
24
25
  AdminDashboardStatsDto,
25
26
  AdminGetAllDomainTransfers200Response,
@@ -59,6 +60,8 @@ import {
59
60
  AdminAccountLoginDtoToJSON,
60
61
  AdminAccountSettingsInputFromJSON,
61
62
  AdminAccountSettingsInputToJSON,
63
+ AdminBuyerLoginDtoFromJSON,
64
+ AdminBuyerLoginDtoToJSON,
62
65
  AdminCompanyStatsDtoFromJSON,
63
66
  AdminCompanyStatsDtoToJSON,
64
67
  AdminDashboardStatsDtoFromJSON,
@@ -259,6 +262,10 @@ export interface AdminApiLoginAsRequest {
259
262
  accountId: string;
260
263
  }
261
264
 
265
+ export interface AdminApiLoginAsBuyerRequest {
266
+ buyerId: string;
267
+ }
268
+
262
269
  export interface AdminApiPayDomainTransferSellerInvoiceRequest {
263
270
  transferId: string;
264
271
  invoiceId: string;
@@ -1575,6 +1582,47 @@ export class AdminApi extends runtime.BaseAPI {
1575
1582
  return await response.value();
1576
1583
  }
1577
1584
 
1585
+ /**
1586
+ *
1587
+ */
1588
+ async loginAsBuyerRaw(requestParameters: AdminApiLoginAsBuyerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminBuyerLoginDto>> {
1589
+ if (requestParameters['buyerId'] == null) {
1590
+ throw new runtime.RequiredError(
1591
+ 'buyerId',
1592
+ 'Required parameter "buyerId" was null or undefined when calling loginAsBuyer().'
1593
+ );
1594
+ }
1595
+
1596
+ const queryParameters: any = {};
1597
+
1598
+ const headerParameters: runtime.HTTPHeaders = {};
1599
+
1600
+ if (this.configuration && this.configuration.accessToken) {
1601
+ const token = this.configuration.accessToken;
1602
+ const tokenString = await token("bearer", []);
1603
+
1604
+ if (tokenString) {
1605
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1606
+ }
1607
+ }
1608
+ const response = await this.request({
1609
+ path: `/admin/buyers/{buyerId}/login-as`.replace(`{${"buyerId"}}`, encodeURIComponent(String(requestParameters['buyerId']))),
1610
+ method: 'POST',
1611
+ headers: headerParameters,
1612
+ query: queryParameters,
1613
+ }, initOverrides);
1614
+
1615
+ return new runtime.JSONApiResponse(response, (jsonValue) => AdminBuyerLoginDtoFromJSON(jsonValue));
1616
+ }
1617
+
1618
+ /**
1619
+ *
1620
+ */
1621
+ async loginAsBuyer(requestParameters: AdminApiLoginAsBuyerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminBuyerLoginDto> {
1622
+ const response = await this.loginAsBuyerRaw(requestParameters, initOverrides);
1623
+ return await response.value();
1624
+ }
1625
+
1578
1626
  /**
1579
1627
  *
1580
1628
  */
@@ -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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AdminBuyerLoginDto
20
+ */
21
+ export interface AdminBuyerLoginDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof AdminBuyerLoginDto
26
+ */
27
+ token: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the AdminBuyerLoginDto interface.
32
+ */
33
+ export function instanceOfAdminBuyerLoginDto(value: object): value is AdminBuyerLoginDto {
34
+ if (!('token' in value) || value['token'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function AdminBuyerLoginDtoFromJSON(json: any): AdminBuyerLoginDto {
39
+ return AdminBuyerLoginDtoFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function AdminBuyerLoginDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBuyerLoginDto {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'token': json['token'],
49
+ };
50
+ }
51
+
52
+ export function AdminBuyerLoginDtoToJSON(json: any): AdminBuyerLoginDto {
53
+ return AdminBuyerLoginDtoToJSONTyped(json, false);
54
+ }
55
+
56
+ export function AdminBuyerLoginDtoToJSONTyped(value?: AdminBuyerLoginDto | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'token': value['token'],
64
+ };
65
+ }
66
+
@@ -61,6 +61,12 @@ export interface DomainTransferDto {
61
61
  * @memberof DomainTransferDto
62
62
  */
63
63
  id: string;
64
+ /**
65
+ * The buyer ID
66
+ * @type {string}
67
+ * @memberof DomainTransferDto
68
+ */
69
+ buyerId: string;
64
70
  /**
65
71
  * The domain of transfer
66
72
  * @type {DomainTransferDomainDto}
@@ -142,6 +148,7 @@ export type DomainTransferDtoStatusSellerEnum = typeof DomainTransferDtoStatusSe
142
148
  */
143
149
  export function instanceOfDomainTransferDto(value: object): value is DomainTransferDto {
144
150
  if (!('id' in value) || value['id'] === undefined) return false;
151
+ if (!('buyerId' in value) || value['buyerId'] === undefined) return false;
145
152
  if (!('domain' in value) || value['domain'] === undefined) return false;
146
153
  if (!('status' in value) || value['status'] === undefined) return false;
147
154
  if (!('statusSeller' in value) || value['statusSeller'] === undefined) return false;
@@ -164,6 +171,7 @@ export function DomainTransferDtoFromJSONTyped(json: any, ignoreDiscriminator: b
164
171
  return {
165
172
 
166
173
  'id': json['id'],
174
+ 'buyerId': json['buyerId'],
167
175
  'domain': DomainTransferDomainDtoFromJSON(json['domain']),
168
176
  'status': json['status'],
169
177
  'statusSeller': json['statusSeller'],
@@ -187,6 +195,7 @@ export function DomainTransferDtoToJSONTyped(value?: DomainTransferDto | null, i
187
195
  return {
188
196
 
189
197
  'id': value['id'],
198
+ 'buyerId': value['buyerId'],
190
199
  'domain': DomainTransferDomainDtoToJSON(value['domain']),
191
200
  'status': value['status'],
192
201
  'statusSeller': value['statusSeller'],
@@ -34,6 +34,12 @@ import {
34
34
  * @interface OrderListItemDtoBuyerInformation
35
35
  */
36
36
  export interface OrderListItemDtoBuyerInformation {
37
+ /**
38
+ * The uuid for buyer.
39
+ * @type {string}
40
+ * @memberof OrderListItemDtoBuyerInformation
41
+ */
42
+ id: string;
37
43
  /**
38
44
  * The order buyer first name
39
45
  * @type {string}
@@ -76,6 +82,7 @@ export interface OrderListItemDtoBuyerInformation {
76
82
  * Check if a given object implements the OrderListItemDtoBuyerInformation interface.
77
83
  */
78
84
  export function instanceOfOrderListItemDtoBuyerInformation(value: object): value is OrderListItemDtoBuyerInformation {
85
+ if (!('id' in value) || value['id'] === undefined) return false;
79
86
  if (!('firstName' in value) || value['firstName'] === undefined) return false;
80
87
  if (!('lastName' in value) || value['lastName'] === undefined) return false;
81
88
  if (!('email' in value) || value['email'] === undefined) return false;
@@ -95,6 +102,7 @@ export function OrderListItemDtoBuyerInformationFromJSONTyped(json: any, ignoreD
95
102
  }
96
103
  return {
97
104
 
105
+ 'id': json['id'],
98
106
  'firstName': json['firstName'],
99
107
  'lastName': json['lastName'],
100
108
  'email': json['email'],
@@ -115,6 +123,7 @@ export function OrderListItemDtoBuyerInformationToJSONTyped(value?: OrderListIte
115
123
 
116
124
  return {
117
125
 
126
+ 'id': value['id'],
118
127
  'firstName': value['firstName'],
119
128
  'lastName': value['lastName'],
120
129
  'email': value['email'],
@@ -34,6 +34,12 @@ import {
34
34
  * @interface SubscriptionListItemDtoBuyerInformation
35
35
  */
36
36
  export interface SubscriptionListItemDtoBuyerInformation {
37
+ /**
38
+ * The uuid for buyer.
39
+ * @type {string}
40
+ * @memberof SubscriptionListItemDtoBuyerInformation
41
+ */
42
+ id: string;
37
43
  /**
38
44
  * The subscription buyer first name
39
45
  * @type {string}
@@ -76,6 +82,7 @@ export interface SubscriptionListItemDtoBuyerInformation {
76
82
  * Check if a given object implements the SubscriptionListItemDtoBuyerInformation interface.
77
83
  */
78
84
  export function instanceOfSubscriptionListItemDtoBuyerInformation(value: object): value is SubscriptionListItemDtoBuyerInformation {
85
+ if (!('id' in value) || value['id'] === undefined) return false;
79
86
  if (!('firstName' in value) || value['firstName'] === undefined) return false;
80
87
  if (!('lastName' in value) || value['lastName'] === undefined) return false;
81
88
  if (!('email' in value) || value['email'] === undefined) return false;
@@ -95,6 +102,7 @@ export function SubscriptionListItemDtoBuyerInformationFromJSONTyped(json: any,
95
102
  }
96
103
  return {
97
104
 
105
+ 'id': json['id'],
98
106
  'firstName': json['firstName'],
99
107
  'lastName': json['lastName'],
100
108
  'email': json['email'],
@@ -115,6 +123,7 @@ export function SubscriptionListItemDtoBuyerInformationToJSONTyped(value?: Subsc
115
123
 
116
124
  return {
117
125
 
126
+ 'id': value['id'],
118
127
  'firstName': value['firstName'],
119
128
  'lastName': value['lastName'],
120
129
  'email': value['email'],
@@ -38,6 +38,7 @@ export * from './AdminAccountSettingsInput';
38
38
  export * from './AdminAuctionCommissionByDateRangeInput';
39
39
  export * from './AdminAuctionConfigurationInput';
40
40
  export * from './AdminBankAccountDto';
41
+ export * from './AdminBuyerLoginDto';
41
42
  export * from './AdminCompanyStatsDto';
42
43
  export * from './AdminCompanyStatsLedger';
43
44
  export * from './AdminDashboardStatsDto';