@randock/nameshift-api-client 0.0.402 → 0.0.404

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.
@@ -349,6 +349,7 @@ src/models/PaginateResponseLinks.ts
349
349
  src/models/PaginateResponseMeta.ts
350
350
  src/models/ParsedDomainDto.ts
351
351
  src/models/PartnerAuctionDto.ts
352
+ src/models/PartnerDomainFindDto.ts
352
353
  src/models/PayAccountPaymentInput.ts
353
354
  src/models/PaymentMethodsStatsDto.ts
354
355
  src/models/PrivateAccountGetMeResponse.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.402
1
+ ## @randock/nameshift-api-client@0.0.404
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.402 --save
39
+ npm install @randock/nameshift-api-client@0.0.404 --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
- df2789f3c43308947bc631d85dd21c823afdf9f9d81763cdbbb2bc8411a5009aa384af363ce8bde6ee3a71d25d1cc1f6
47
+ 22ead325c40b004018e01ee8262436ef19f9078a3e0b971d5e9c274ab7e3d056b6640ce3d2345ce580798069fb35db24
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { DomainPricesChangeDto, ListAuctions200Response, ListDomainsWithUpdatedPricing200Response } from '../models/index';
13
+ import type { ListAuctions200Response, ListDomainsWithUpdatedPricing200Response, PartnerDomainFindDto } from '../models/index';
14
14
  export interface PartnerApiDomainsFindRequest {
15
15
  rootName: string;
16
16
  tld?: string;
@@ -31,11 +31,11 @@ export declare class PartnerApi extends runtime.BaseAPI {
31
31
  /**
32
32
  *
33
33
  */
34
- domainsFindRaw(requestParameters: PartnerApiDomainsFindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<DomainPricesChangeDto>>>;
34
+ domainsFindRaw(requestParameters: PartnerApiDomainsFindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PartnerDomainFindDto>>>;
35
35
  /**
36
36
  *
37
37
  */
38
- domainsFind(requestParameters: PartnerApiDomainsFindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DomainPricesChangeDto>>;
38
+ domainsFind(requestParameters: PartnerApiDomainsFindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PartnerDomainFindDto>>;
39
39
  /**
40
40
  *
41
41
  */
@@ -107,7 +107,7 @@ var PartnerApi = /** @class */ (function (_super) {
107
107
  }, initOverrides)];
108
108
  case 3:
109
109
  response = _c.sent();
110
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.DomainPricesChangeDtoFromJSON); })];
110
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.PartnerDomainFindDtoFromJSON); })];
111
111
  }
112
112
  });
113
113
  });
@@ -141,8 +141,10 @@ export declare const BuyerNotificationDtoTypeEnum: {
141
141
  readonly AUCTION_BUYER_OUTBID: "auction.buyer_outbid";
142
142
  readonly AUCTION_BID_CREATED_FOR_BIDDER: "auction.bid_created_for_bidder";
143
143
  readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
144
+ readonly AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: "auction.finished_reserve_price_not_reached_bidder_notification";
144
145
  readonly AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: "auction.finished_with_winner_seller_notification";
145
146
  readonly AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: "auction.finished_without_winner_seller_notification";
147
+ readonly AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: "auction.finished_reserve_price_not_reached_seller_notification";
146
148
  };
147
149
  export type BuyerNotificationDtoTypeEnum = typeof BuyerNotificationDtoTypeEnum[keyof typeof BuyerNotificationDtoTypeEnum];
148
150
  /**
@@ -102,8 +102,10 @@ exports.BuyerNotificationDtoTypeEnum = {
102
102
  AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
103
103
  AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
104
104
  AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
105
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_bidder_notification',
105
106
  AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
106
- AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
107
+ AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification',
108
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification'
107
109
  };
108
110
  /**
109
111
  * Check if a given object implements the BuyerNotificationDto interface.
@@ -134,8 +134,10 @@ export declare const BuyerNotificationListItemDtoTypeEnum: {
134
134
  readonly AUCTION_BUYER_OUTBID: "auction.buyer_outbid";
135
135
  readonly AUCTION_BID_CREATED_FOR_BIDDER: "auction.bid_created_for_bidder";
136
136
  readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
137
+ readonly AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: "auction.finished_reserve_price_not_reached_bidder_notification";
137
138
  readonly AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: "auction.finished_with_winner_seller_notification";
138
139
  readonly AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: "auction.finished_without_winner_seller_notification";
140
+ readonly AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: "auction.finished_reserve_price_not_reached_seller_notification";
139
141
  };
140
142
  export type BuyerNotificationListItemDtoTypeEnum = typeof BuyerNotificationListItemDtoTypeEnum[keyof typeof BuyerNotificationListItemDtoTypeEnum];
141
143
  /**
@@ -101,8 +101,10 @@ exports.BuyerNotificationListItemDtoTypeEnum = {
101
101
  AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
102
102
  AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
103
103
  AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
104
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_bidder_notification',
104
105
  AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
105
- AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
106
+ AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification',
107
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification'
106
108
  };
107
109
  /**
108
110
  * Check if a given object implements the BuyerNotificationListItemDto interface.
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MoneyDto } from './MoneyDto';
13
+ import type { DomainCategoryItemDto } from './DomainCategoryItemDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PartnerDomainFindDto
18
+ */
19
+ export interface PartnerDomainFindDto {
20
+ /**
21
+ * The uuid for this domain.
22
+ * @type {string}
23
+ * @memberof PartnerDomainFindDto
24
+ */
25
+ id: string;
26
+ /**
27
+ * The root domain name without TLD
28
+ * @type {string}
29
+ * @memberof PartnerDomainFindDto
30
+ */
31
+ rootName: string;
32
+ /**
33
+ * The domain TLD
34
+ * @type {string}
35
+ * @memberof PartnerDomainFindDto
36
+ */
37
+ tld: string;
38
+ /**
39
+ * Categories of the domain (parent + subcategory)
40
+ * @type {Array<DomainCategoryItemDto>}
41
+ * @memberof PartnerDomainFindDto
42
+ */
43
+ categories: Array<DomainCategoryItemDto>;
44
+ /**
45
+ * The ASCII domain name (example.com, xn--maana-pta.com)
46
+ * @type {string}
47
+ * @memberof PartnerDomainFindDto
48
+ */
49
+ name: string;
50
+ /**
51
+ * The unicode domain name (example.com, manana.com)
52
+ * @type {string}
53
+ * @memberof PartnerDomainFindDto
54
+ */
55
+ displayName: string;
56
+ /**
57
+ * The buy now price
58
+ * @type {MoneyDto}
59
+ * @memberof PartnerDomainFindDto
60
+ */
61
+ buyNow: MoneyDto | null;
62
+ /**
63
+ * The minimum offer price
64
+ * @type {MoneyDto}
65
+ * @memberof PartnerDomainFindDto
66
+ */
67
+ minOffer: MoneyDto | null;
68
+ /**
69
+ * The updated date
70
+ * @type {Date}
71
+ * @memberof PartnerDomainFindDto
72
+ */
73
+ updatedAt: Date;
74
+ }
75
+ /**
76
+ * Check if a given object implements the PartnerDomainFindDto interface.
77
+ */
78
+ export declare function instanceOfPartnerDomainFindDto(value: object): value is PartnerDomainFindDto;
79
+ export declare function PartnerDomainFindDtoFromJSON(json: any): PartnerDomainFindDto;
80
+ export declare function PartnerDomainFindDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerDomainFindDto;
81
+ export declare function PartnerDomainFindDtoToJSON(json: any): PartnerDomainFindDto;
82
+ export declare function PartnerDomainFindDtoToJSONTyped(value?: PartnerDomainFindDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,85 @@
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.instanceOfPartnerDomainFindDto = instanceOfPartnerDomainFindDto;
17
+ exports.PartnerDomainFindDtoFromJSON = PartnerDomainFindDtoFromJSON;
18
+ exports.PartnerDomainFindDtoFromJSONTyped = PartnerDomainFindDtoFromJSONTyped;
19
+ exports.PartnerDomainFindDtoToJSON = PartnerDomainFindDtoToJSON;
20
+ exports.PartnerDomainFindDtoToJSONTyped = PartnerDomainFindDtoToJSONTyped;
21
+ var MoneyDto_1 = require("./MoneyDto");
22
+ var DomainCategoryItemDto_1 = require("./DomainCategoryItemDto");
23
+ /**
24
+ * Check if a given object implements the PartnerDomainFindDto interface.
25
+ */
26
+ function instanceOfPartnerDomainFindDto(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ if (!('rootName' in value) || value['rootName'] === undefined)
30
+ return false;
31
+ if (!('tld' in value) || value['tld'] === undefined)
32
+ return false;
33
+ if (!('categories' in value) || value['categories'] === undefined)
34
+ return false;
35
+ if (!('name' in value) || value['name'] === undefined)
36
+ return false;
37
+ if (!('displayName' in value) || value['displayName'] === undefined)
38
+ return false;
39
+ if (!('buyNow' in value) || value['buyNow'] === undefined)
40
+ return false;
41
+ if (!('minOffer' in value) || value['minOffer'] === undefined)
42
+ return false;
43
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
44
+ return false;
45
+ return true;
46
+ }
47
+ function PartnerDomainFindDtoFromJSON(json) {
48
+ return PartnerDomainFindDtoFromJSONTyped(json, false);
49
+ }
50
+ function PartnerDomainFindDtoFromJSONTyped(json, ignoreDiscriminator) {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+ 'id': json['id'],
56
+ 'rootName': json['rootName'],
57
+ 'tld': json['tld'],
58
+ 'categories': (json['categories'].map(DomainCategoryItemDto_1.DomainCategoryItemDtoFromJSON)),
59
+ 'name': json['name'],
60
+ 'displayName': json['displayName'],
61
+ 'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
62
+ 'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
63
+ 'updatedAt': (new Date(json['updatedAt'])),
64
+ };
65
+ }
66
+ function PartnerDomainFindDtoToJSON(json) {
67
+ return PartnerDomainFindDtoToJSONTyped(json, false);
68
+ }
69
+ function PartnerDomainFindDtoToJSONTyped(value, ignoreDiscriminator) {
70
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+ return {
75
+ 'id': value['id'],
76
+ 'rootName': value['rootName'],
77
+ 'tld': value['tld'],
78
+ 'categories': (value['categories'].map(DomainCategoryItemDto_1.DomainCategoryItemDtoToJSON)),
79
+ 'name': value['name'],
80
+ 'displayName': value['displayName'],
81
+ 'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
82
+ 'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
83
+ 'updatedAt': ((value['updatedAt']).toISOString()),
84
+ };
85
+ }
@@ -141,8 +141,10 @@ export declare const UserNotificationDtoTypeEnum: {
141
141
  readonly AUCTION_BUYER_OUTBID: "auction.buyer_outbid";
142
142
  readonly AUCTION_BID_CREATED_FOR_BIDDER: "auction.bid_created_for_bidder";
143
143
  readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
144
+ readonly AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: "auction.finished_reserve_price_not_reached_bidder_notification";
144
145
  readonly AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: "auction.finished_with_winner_seller_notification";
145
146
  readonly AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: "auction.finished_without_winner_seller_notification";
147
+ readonly AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: "auction.finished_reserve_price_not_reached_seller_notification";
146
148
  };
147
149
  export type UserNotificationDtoTypeEnum = typeof UserNotificationDtoTypeEnum[keyof typeof UserNotificationDtoTypeEnum];
148
150
  /**
@@ -102,8 +102,10 @@ exports.UserNotificationDtoTypeEnum = {
102
102
  AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
103
103
  AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
104
104
  AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
105
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_bidder_notification',
105
106
  AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
106
- AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
107
+ AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification',
108
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification'
107
109
  };
108
110
  /**
109
111
  * Check if a given object implements the UserNotificationDto interface.
@@ -134,8 +134,10 @@ export declare const UserNotificationListItemDtoTypeEnum: {
134
134
  readonly AUCTION_BUYER_OUTBID: "auction.buyer_outbid";
135
135
  readonly AUCTION_BID_CREATED_FOR_BIDDER: "auction.bid_created_for_bidder";
136
136
  readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
137
+ readonly AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: "auction.finished_reserve_price_not_reached_bidder_notification";
137
138
  readonly AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: "auction.finished_with_winner_seller_notification";
138
139
  readonly AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: "auction.finished_without_winner_seller_notification";
140
+ readonly AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: "auction.finished_reserve_price_not_reached_seller_notification";
139
141
  };
140
142
  export type UserNotificationListItemDtoTypeEnum = typeof UserNotificationListItemDtoTypeEnum[keyof typeof UserNotificationListItemDtoTypeEnum];
141
143
  /**
@@ -101,8 +101,10 @@ exports.UserNotificationListItemDtoTypeEnum = {
101
101
  AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
102
102
  AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
103
103
  AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
104
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_bidder_notification',
104
105
  AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
105
- AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
106
+ AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification',
107
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification'
106
108
  };
107
109
  /**
108
110
  * Check if a given object implements the UserNotificationListItemDto interface.
@@ -313,6 +313,7 @@ export * from './PaginateResponseLinks';
313
313
  export * from './PaginateResponseMeta';
314
314
  export * from './ParsedDomainDto';
315
315
  export * from './PartnerAuctionDto';
316
+ export * from './PartnerDomainFindDto';
316
317
  export * from './PayAccountPaymentInput';
317
318
  export * from './PaymentMethodsStatsDto';
318
319
  export * from './PrivateAccountGetMeResponse';
@@ -331,6 +331,7 @@ __exportStar(require("./PaginateResponseLinks"), exports);
331
331
  __exportStar(require("./PaginateResponseMeta"), exports);
332
332
  __exportStar(require("./ParsedDomainDto"), exports);
333
333
  __exportStar(require("./PartnerAuctionDto"), exports);
334
+ __exportStar(require("./PartnerDomainFindDto"), exports);
334
335
  __exportStar(require("./PayAccountPaymentInput"), exports);
335
336
  __exportStar(require("./PaymentMethodsStatsDto"), exports);
336
337
  __exportStar(require("./PrivateAccountGetMeResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.402",
3
+ "version": "0.0.404",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -15,18 +15,18 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
- DomainPricesChangeDto,
19
18
  ListAuctions200Response,
20
19
  ListDomainsWithUpdatedPricing200Response,
20
+ PartnerDomainFindDto,
21
21
  ValidationException,
22
22
  } from '../models/index';
23
23
  import {
24
- DomainPricesChangeDtoFromJSON,
25
- DomainPricesChangeDtoToJSON,
26
24
  ListAuctions200ResponseFromJSON,
27
25
  ListAuctions200ResponseToJSON,
28
26
  ListDomainsWithUpdatedPricing200ResponseFromJSON,
29
27
  ListDomainsWithUpdatedPricing200ResponseToJSON,
28
+ PartnerDomainFindDtoFromJSON,
29
+ PartnerDomainFindDtoToJSON,
30
30
  ValidationExceptionFromJSON,
31
31
  ValidationExceptionToJSON,
32
32
  } from '../models/index';
@@ -55,7 +55,7 @@ export class PartnerApi extends runtime.BaseAPI {
55
55
  /**
56
56
  *
57
57
  */
58
- async domainsFindRaw(requestParameters: PartnerApiDomainsFindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<DomainPricesChangeDto>>> {
58
+ async domainsFindRaw(requestParameters: PartnerApiDomainsFindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PartnerDomainFindDto>>> {
59
59
  if (requestParameters['rootName'] == null) {
60
60
  throw new runtime.RequiredError(
61
61
  'rootName',
@@ -82,13 +82,13 @@ export class PartnerApi extends runtime.BaseAPI {
82
82
  query: queryParameters,
83
83
  }, initOverrides);
84
84
 
85
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(DomainPricesChangeDtoFromJSON));
85
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(PartnerDomainFindDtoFromJSON));
86
86
  }
87
87
 
88
88
  /**
89
89
  *
90
90
  */
91
- async domainsFind(requestParameters: PartnerApiDomainsFindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DomainPricesChangeDto>> {
91
+ async domainsFind(requestParameters: PartnerApiDomainsFindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PartnerDomainFindDto>> {
92
92
  const response = await this.domainsFindRaw(requestParameters, initOverrides);
93
93
  return await response.value();
94
94
  }
@@ -154,8 +154,10 @@ export const BuyerNotificationDtoTypeEnum = {
154
154
  AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
155
155
  AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
156
156
  AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
157
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_bidder_notification',
157
158
  AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
158
- AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
159
+ AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification',
160
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification'
159
161
  } as const;
160
162
  export type BuyerNotificationDtoTypeEnum = typeof BuyerNotificationDtoTypeEnum[keyof typeof BuyerNotificationDtoTypeEnum];
161
163
 
@@ -140,8 +140,10 @@ export const BuyerNotificationListItemDtoTypeEnum = {
140
140
  AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
141
141
  AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
142
142
  AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
143
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_bidder_notification',
143
144
  AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
144
- AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
145
+ AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification',
146
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification'
145
147
  } as const;
146
148
  export type BuyerNotificationListItemDtoTypeEnum = typeof BuyerNotificationListItemDtoTypeEnum[keyof typeof BuyerNotificationListItemDtoTypeEnum];
147
149
 
@@ -0,0 +1,153 @@
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
+ import type { MoneyDto } from './MoneyDto';
17
+ import {
18
+ MoneyDtoFromJSON,
19
+ MoneyDtoFromJSONTyped,
20
+ MoneyDtoToJSON,
21
+ MoneyDtoToJSONTyped,
22
+ } from './MoneyDto';
23
+ import type { DomainCategoryItemDto } from './DomainCategoryItemDto';
24
+ import {
25
+ DomainCategoryItemDtoFromJSON,
26
+ DomainCategoryItemDtoFromJSONTyped,
27
+ DomainCategoryItemDtoToJSON,
28
+ DomainCategoryItemDtoToJSONTyped,
29
+ } from './DomainCategoryItemDto';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface PartnerDomainFindDto
35
+ */
36
+ export interface PartnerDomainFindDto {
37
+ /**
38
+ * The uuid for this domain.
39
+ * @type {string}
40
+ * @memberof PartnerDomainFindDto
41
+ */
42
+ id: string;
43
+ /**
44
+ * The root domain name without TLD
45
+ * @type {string}
46
+ * @memberof PartnerDomainFindDto
47
+ */
48
+ rootName: string;
49
+ /**
50
+ * The domain TLD
51
+ * @type {string}
52
+ * @memberof PartnerDomainFindDto
53
+ */
54
+ tld: string;
55
+ /**
56
+ * Categories of the domain (parent + subcategory)
57
+ * @type {Array<DomainCategoryItemDto>}
58
+ * @memberof PartnerDomainFindDto
59
+ */
60
+ categories: Array<DomainCategoryItemDto>;
61
+ /**
62
+ * The ASCII domain name (example.com, xn--maana-pta.com)
63
+ * @type {string}
64
+ * @memberof PartnerDomainFindDto
65
+ */
66
+ name: string;
67
+ /**
68
+ * The unicode domain name (example.com, manana.com)
69
+ * @type {string}
70
+ * @memberof PartnerDomainFindDto
71
+ */
72
+ displayName: string;
73
+ /**
74
+ * The buy now price
75
+ * @type {MoneyDto}
76
+ * @memberof PartnerDomainFindDto
77
+ */
78
+ buyNow: MoneyDto | null;
79
+ /**
80
+ * The minimum offer price
81
+ * @type {MoneyDto}
82
+ * @memberof PartnerDomainFindDto
83
+ */
84
+ minOffer: MoneyDto | null;
85
+ /**
86
+ * The updated date
87
+ * @type {Date}
88
+ * @memberof PartnerDomainFindDto
89
+ */
90
+ updatedAt: Date;
91
+ }
92
+
93
+ /**
94
+ * Check if a given object implements the PartnerDomainFindDto interface.
95
+ */
96
+ export function instanceOfPartnerDomainFindDto(value: object): value is PartnerDomainFindDto {
97
+ if (!('id' in value) || value['id'] === undefined) return false;
98
+ if (!('rootName' in value) || value['rootName'] === undefined) return false;
99
+ if (!('tld' in value) || value['tld'] === undefined) return false;
100
+ if (!('categories' in value) || value['categories'] === undefined) return false;
101
+ if (!('name' in value) || value['name'] === undefined) return false;
102
+ if (!('displayName' in value) || value['displayName'] === undefined) return false;
103
+ if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
104
+ if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
105
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
106
+ return true;
107
+ }
108
+
109
+ export function PartnerDomainFindDtoFromJSON(json: any): PartnerDomainFindDto {
110
+ return PartnerDomainFindDtoFromJSONTyped(json, false);
111
+ }
112
+
113
+ export function PartnerDomainFindDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerDomainFindDto {
114
+ if (json == null) {
115
+ return json;
116
+ }
117
+ return {
118
+
119
+ 'id': json['id'],
120
+ 'rootName': json['rootName'],
121
+ 'tld': json['tld'],
122
+ 'categories': ((json['categories'] as Array<any>).map(DomainCategoryItemDtoFromJSON)),
123
+ 'name': json['name'],
124
+ 'displayName': json['displayName'],
125
+ 'buyNow': MoneyDtoFromJSON(json['buyNow']),
126
+ 'minOffer': MoneyDtoFromJSON(json['minOffer']),
127
+ 'updatedAt': (new Date(json['updatedAt'])),
128
+ };
129
+ }
130
+
131
+ export function PartnerDomainFindDtoToJSON(json: any): PartnerDomainFindDto {
132
+ return PartnerDomainFindDtoToJSONTyped(json, false);
133
+ }
134
+
135
+ export function PartnerDomainFindDtoToJSONTyped(value?: PartnerDomainFindDto | null, ignoreDiscriminator: boolean = false): any {
136
+ if (value == null) {
137
+ return value;
138
+ }
139
+
140
+ return {
141
+
142
+ 'id': value['id'],
143
+ 'rootName': value['rootName'],
144
+ 'tld': value['tld'],
145
+ 'categories': ((value['categories'] as Array<any>).map(DomainCategoryItemDtoToJSON)),
146
+ 'name': value['name'],
147
+ 'displayName': value['displayName'],
148
+ 'buyNow': MoneyDtoToJSON(value['buyNow']),
149
+ 'minOffer': MoneyDtoToJSON(value['minOffer']),
150
+ 'updatedAt': ((value['updatedAt']).toISOString()),
151
+ };
152
+ }
153
+
@@ -154,8 +154,10 @@ export const UserNotificationDtoTypeEnum = {
154
154
  AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
155
155
  AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
156
156
  AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
157
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_bidder_notification',
157
158
  AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
158
- AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
159
+ AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification',
160
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification'
159
161
  } as const;
160
162
  export type UserNotificationDtoTypeEnum = typeof UserNotificationDtoTypeEnum[keyof typeof UserNotificationDtoTypeEnum];
161
163
 
@@ -140,8 +140,10 @@ export const UserNotificationListItemDtoTypeEnum = {
140
140
  AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
141
141
  AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
142
142
  AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
143
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_bidder_notification',
143
144
  AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
144
- AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
145
+ AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification',
146
+ AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification'
145
147
  } as const;
146
148
  export type UserNotificationListItemDtoTypeEnum = typeof UserNotificationListItemDtoTypeEnum[keyof typeof UserNotificationListItemDtoTypeEnum];
147
149
 
@@ -315,6 +315,7 @@ export * from './PaginateResponseLinks';
315
315
  export * from './PaginateResponseMeta';
316
316
  export * from './ParsedDomainDto';
317
317
  export * from './PartnerAuctionDto';
318
+ export * from './PartnerDomainFindDto';
318
319
  export * from './PayAccountPaymentInput';
319
320
  export * from './PaymentMethodsStatsDto';
320
321
  export * from './PrivateAccountGetMeResponse';