@randock/nameshift-api-client 0.0.334 → 0.0.335

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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.334
1
+ ## @randock/nameshift-api-client@0.0.335
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.334 --save
39
+ npm install @randock/nameshift-api-client@0.0.335 --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
- 4b339cad1c27202b0e2720d5750e71180c78f18c38d733d59802f3c374e2c81c827da196bde9c250a7892382f13adb81
47
+ 3fa3cbe7495d824a05a4e6e50fa11bf71aa7061af3b37951d2a084a6c68602b86d1f78b70c1fa875122de2d7dff99d93
@@ -53,6 +53,12 @@ export interface AuctionDto {
53
53
  * @memberof AuctionDto
54
54
  */
55
55
  endDate: Date;
56
+ /**
57
+ * Auction finished
58
+ * @type {boolean}
59
+ * @memberof AuctionDto
60
+ */
61
+ finished: boolean;
56
62
  /**
57
63
  * Auction latestBids bids
58
64
  * @type {Array<AuctionBidDto>}
@@ -36,6 +36,8 @@ function instanceOfAuctionDto(value) {
36
36
  return false;
37
37
  if (!('endDate' in value) || value['endDate'] === undefined)
38
38
  return false;
39
+ if (!('finished' in value) || value['finished'] === undefined)
40
+ return false;
39
41
  if (!('latestBids' in value) || value['latestBids'] === undefined)
40
42
  return false;
41
43
  if (!('needsPhoneVerification' in value) || value['needsPhoneVerification'] === undefined)
@@ -58,6 +60,7 @@ function AuctionDtoFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
59
61
  'startDate': (new Date(json['startDate'])),
60
62
  'endDate': (new Date(json['endDate'])),
63
+ 'finished': json['finished'],
61
64
  'latestBids': (json['latestBids'].map(AuctionBidDto_1.AuctionBidDtoFromJSON)),
62
65
  'needsPhoneVerification': json['needsPhoneVerification'],
63
66
  'needsKyc': json['needsKyc'],
@@ -78,6 +81,7 @@ function AuctionDtoToJSONTyped(value, ignoreDiscriminator) {
78
81
  'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
79
82
  'startDate': ((value['startDate']).toISOString()),
80
83
  'endDate': ((value['endDate']).toISOString()),
84
+ 'finished': value['finished'],
81
85
  'latestBids': (value['latestBids'].map(AuctionBidDto_1.AuctionBidDtoToJSON)),
82
86
  'needsPhoneVerification': value['needsPhoneVerification'],
83
87
  'needsKyc': value['needsKyc'],
@@ -133,6 +133,8 @@ export declare const BuyerNotificationDtoTypeEnum: {
133
133
  readonly TASKS_REMINDER_LEAD: "tasks.reminder.lead";
134
134
  readonly TASKS_REMINDER_DOMAIN_TRANSFER: "tasks.reminder.domain_transfer";
135
135
  readonly TASKS_REMINDER_ORDER: "tasks.reminder.order";
136
+ readonly AUCTION_BID_CREATED: "auction.bid_created";
137
+ readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
136
138
  };
137
139
  export type BuyerNotificationDtoTypeEnum = typeof BuyerNotificationDtoTypeEnum[keyof typeof BuyerNotificationDtoTypeEnum];
138
140
  /**
@@ -93,7 +93,9 @@ exports.BuyerNotificationDtoTypeEnum = {
93
93
  LEAD_MESSAGE_MESSAGE: 'lead_message.message',
94
94
  TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
95
95
  TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
96
- TASKS_REMINDER_ORDER: 'tasks.reminder.order'
96
+ TASKS_REMINDER_ORDER: 'tasks.reminder.order',
97
+ AUCTION_BID_CREATED: 'auction.bid_created',
98
+ AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
97
99
  };
98
100
  /**
99
101
  * Check if a given object implements the BuyerNotificationDto interface.
@@ -126,6 +126,8 @@ export declare const BuyerNotificationListItemDtoTypeEnum: {
126
126
  readonly TASKS_REMINDER_LEAD: "tasks.reminder.lead";
127
127
  readonly TASKS_REMINDER_DOMAIN_TRANSFER: "tasks.reminder.domain_transfer";
128
128
  readonly TASKS_REMINDER_ORDER: "tasks.reminder.order";
129
+ readonly AUCTION_BID_CREATED: "auction.bid_created";
130
+ readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
129
131
  };
130
132
  export type BuyerNotificationListItemDtoTypeEnum = typeof BuyerNotificationListItemDtoTypeEnum[keyof typeof BuyerNotificationListItemDtoTypeEnum];
131
133
  /**
@@ -92,7 +92,9 @@ exports.BuyerNotificationListItemDtoTypeEnum = {
92
92
  LEAD_MESSAGE_MESSAGE: 'lead_message.message',
93
93
  TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
94
94
  TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
95
- TASKS_REMINDER_ORDER: 'tasks.reminder.order'
95
+ TASKS_REMINDER_ORDER: 'tasks.reminder.order',
96
+ AUCTION_BID_CREATED: 'auction.bid_created',
97
+ AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
96
98
  };
97
99
  /**
98
100
  * Check if a given object implements the BuyerNotificationListItemDto interface.
@@ -73,6 +73,12 @@ export interface OrderListItemDto {
73
73
  * @memberof OrderListItemDto
74
74
  */
75
75
  leadId: object | null;
76
+ /**
77
+ * The order auction ID
78
+ * @type {object}
79
+ * @memberof OrderListItemDto
80
+ */
81
+ auctionId: object | null;
76
82
  /**
77
83
  * The domain transfer
78
84
  * @type {object}
@@ -54,6 +54,8 @@ function instanceOfOrderListItemDto(value) {
54
54
  return false;
55
55
  if (!('leadId' in value) || value['leadId'] === undefined)
56
56
  return false;
57
+ if (!('auctionId' in value) || value['auctionId'] === undefined)
58
+ return false;
57
59
  if (!('domainTransferId' in value) || value['domainTransferId'] === undefined)
58
60
  return false;
59
61
  return true;
@@ -75,6 +77,7 @@ function OrderListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
75
77
  'buyerInformation': (0, OrderListItemDtoBuyerInformation_1.OrderListItemDtoBuyerInformationFromJSON)(json['buyerInformation']),
76
78
  'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
77
79
  'leadId': json['leadId'],
80
+ 'auctionId': json['auctionId'],
78
81
  'domainTransferId': json['domainTransferId'],
79
82
  };
80
83
  }
@@ -96,6 +99,7 @@ function OrderListItemDtoToJSONTyped(value, ignoreDiscriminator) {
96
99
  'buyerInformation': (0, OrderListItemDtoBuyerInformation_1.OrderListItemDtoBuyerInformationToJSON)(value['buyerInformation']),
97
100
  'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
98
101
  'leadId': value['leadId'],
102
+ 'auctionId': value['auctionId'],
99
103
  'domainTransferId': value['domainTransferId'],
100
104
  };
101
105
  }
@@ -133,6 +133,8 @@ export declare const UserNotificationDtoTypeEnum: {
133
133
  readonly TASKS_REMINDER_LEAD: "tasks.reminder.lead";
134
134
  readonly TASKS_REMINDER_DOMAIN_TRANSFER: "tasks.reminder.domain_transfer";
135
135
  readonly TASKS_REMINDER_ORDER: "tasks.reminder.order";
136
+ readonly AUCTION_BID_CREATED: "auction.bid_created";
137
+ readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
136
138
  };
137
139
  export type UserNotificationDtoTypeEnum = typeof UserNotificationDtoTypeEnum[keyof typeof UserNotificationDtoTypeEnum];
138
140
  /**
@@ -93,7 +93,9 @@ exports.UserNotificationDtoTypeEnum = {
93
93
  LEAD_MESSAGE_MESSAGE: 'lead_message.message',
94
94
  TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
95
95
  TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
96
- TASKS_REMINDER_ORDER: 'tasks.reminder.order'
96
+ TASKS_REMINDER_ORDER: 'tasks.reminder.order',
97
+ AUCTION_BID_CREATED: 'auction.bid_created',
98
+ AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
97
99
  };
98
100
  /**
99
101
  * Check if a given object implements the UserNotificationDto interface.
@@ -126,6 +126,8 @@ export declare const UserNotificationListItemDtoTypeEnum: {
126
126
  readonly TASKS_REMINDER_LEAD: "tasks.reminder.lead";
127
127
  readonly TASKS_REMINDER_DOMAIN_TRANSFER: "tasks.reminder.domain_transfer";
128
128
  readonly TASKS_REMINDER_ORDER: "tasks.reminder.order";
129
+ readonly AUCTION_BID_CREATED: "auction.bid_created";
130
+ readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
129
131
  };
130
132
  export type UserNotificationListItemDtoTypeEnum = typeof UserNotificationListItemDtoTypeEnum[keyof typeof UserNotificationListItemDtoTypeEnum];
131
133
  /**
@@ -92,7 +92,9 @@ exports.UserNotificationListItemDtoTypeEnum = {
92
92
  LEAD_MESSAGE_MESSAGE: 'lead_message.message',
93
93
  TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
94
94
  TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
95
- TASKS_REMINDER_ORDER: 'tasks.reminder.order'
95
+ TASKS_REMINDER_ORDER: 'tasks.reminder.order',
96
+ AUCTION_BID_CREATED: 'auction.bid_created',
97
+ AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
96
98
  };
97
99
  /**
98
100
  * Check if a given object implements the UserNotificationListItemDto interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.334",
3
+ "version": "0.0.335",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -70,6 +70,12 @@ export interface AuctionDto {
70
70
  * @memberof AuctionDto
71
71
  */
72
72
  endDate: Date;
73
+ /**
74
+ * Auction finished
75
+ * @type {boolean}
76
+ * @memberof AuctionDto
77
+ */
78
+ finished: boolean;
73
79
  /**
74
80
  * Auction latestBids bids
75
81
  * @type {Array<AuctionBidDto>}
@@ -100,6 +106,7 @@ export function instanceOfAuctionDto(value: object): value is AuctionDto {
100
106
  if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
101
107
  if (!('startDate' in value) || value['startDate'] === undefined) return false;
102
108
  if (!('endDate' in value) || value['endDate'] === undefined) return false;
109
+ if (!('finished' in value) || value['finished'] === undefined) return false;
103
110
  if (!('latestBids' in value) || value['latestBids'] === undefined) return false;
104
111
  if (!('needsPhoneVerification' in value) || value['needsPhoneVerification'] === undefined) return false;
105
112
  if (!('needsKyc' in value) || value['needsKyc'] === undefined) return false;
@@ -122,6 +129,7 @@ export function AuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
122
129
  'highestBid': MoneyDtoFromJSON(json['highestBid']),
123
130
  'startDate': (new Date(json['startDate'])),
124
131
  'endDate': (new Date(json['endDate'])),
132
+ 'finished': json['finished'],
125
133
  'latestBids': ((json['latestBids'] as Array<any>).map(AuctionBidDtoFromJSON)),
126
134
  'needsPhoneVerification': json['needsPhoneVerification'],
127
135
  'needsKyc': json['needsKyc'],
@@ -145,6 +153,7 @@ export function AuctionDtoToJSONTyped(value?: AuctionDto | null, ignoreDiscrimin
145
153
  'highestBid': MoneyDtoToJSON(value['highestBid']),
146
154
  'startDate': ((value['startDate']).toISOString()),
147
155
  'endDate': ((value['endDate']).toISOString()),
156
+ 'finished': value['finished'],
148
157
  'latestBids': ((value['latestBids'] as Array<any>).map(AuctionBidDtoToJSON)),
149
158
  'needsPhoneVerification': value['needsPhoneVerification'],
150
159
  'needsKyc': value['needsKyc'],
@@ -145,7 +145,9 @@ export const BuyerNotificationDtoTypeEnum = {
145
145
  LEAD_MESSAGE_MESSAGE: 'lead_message.message',
146
146
  TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
147
147
  TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
148
- TASKS_REMINDER_ORDER: 'tasks.reminder.order'
148
+ TASKS_REMINDER_ORDER: 'tasks.reminder.order',
149
+ AUCTION_BID_CREATED: 'auction.bid_created',
150
+ AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
149
151
  } as const;
150
152
  export type BuyerNotificationDtoTypeEnum = typeof BuyerNotificationDtoTypeEnum[keyof typeof BuyerNotificationDtoTypeEnum];
151
153
 
@@ -131,7 +131,9 @@ export const BuyerNotificationListItemDtoTypeEnum = {
131
131
  LEAD_MESSAGE_MESSAGE: 'lead_message.message',
132
132
  TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
133
133
  TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
134
- TASKS_REMINDER_ORDER: 'tasks.reminder.order'
134
+ TASKS_REMINDER_ORDER: 'tasks.reminder.order',
135
+ AUCTION_BID_CREATED: 'auction.bid_created',
136
+ AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
135
137
  } as const;
136
138
  export type BuyerNotificationListItemDtoTypeEnum = typeof BuyerNotificationListItemDtoTypeEnum[keyof typeof BuyerNotificationListItemDtoTypeEnum];
137
139
 
@@ -102,6 +102,12 @@ export interface OrderListItemDto {
102
102
  * @memberof OrderListItemDto
103
103
  */
104
104
  leadId: object | null;
105
+ /**
106
+ * The order auction ID
107
+ * @type {object}
108
+ * @memberof OrderListItemDto
109
+ */
110
+ auctionId: object | null;
105
111
  /**
106
112
  * The domain transfer
107
113
  * @type {object}
@@ -136,6 +142,7 @@ export function instanceOfOrderListItemDto(value: object): value is OrderListIte
136
142
  if (!('buyerInformation' in value) || value['buyerInformation'] === undefined) return false;
137
143
  if (!('basePrice' in value) || value['basePrice'] === undefined) return false;
138
144
  if (!('leadId' in value) || value['leadId'] === undefined) return false;
145
+ if (!('auctionId' in value) || value['auctionId'] === undefined) return false;
139
146
  if (!('domainTransferId' in value) || value['domainTransferId'] === undefined) return false;
140
147
  return true;
141
148
  }
@@ -159,6 +166,7 @@ export function OrderListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: bo
159
166
  'buyerInformation': OrderListItemDtoBuyerInformationFromJSON(json['buyerInformation']),
160
167
  'basePrice': MoneyDtoFromJSON(json['basePrice']),
161
168
  'leadId': json['leadId'],
169
+ 'auctionId': json['auctionId'],
162
170
  'domainTransferId': json['domainTransferId'],
163
171
  };
164
172
  }
@@ -183,6 +191,7 @@ export function OrderListItemDtoToJSONTyped(value?: OrderListItemDto | null, ign
183
191
  'buyerInformation': OrderListItemDtoBuyerInformationToJSON(value['buyerInformation']),
184
192
  'basePrice': MoneyDtoToJSON(value['basePrice']),
185
193
  'leadId': value['leadId'],
194
+ 'auctionId': value['auctionId'],
186
195
  'domainTransferId': value['domainTransferId'],
187
196
  };
188
197
  }
@@ -145,7 +145,9 @@ export const UserNotificationDtoTypeEnum = {
145
145
  LEAD_MESSAGE_MESSAGE: 'lead_message.message',
146
146
  TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
147
147
  TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
148
- TASKS_REMINDER_ORDER: 'tasks.reminder.order'
148
+ TASKS_REMINDER_ORDER: 'tasks.reminder.order',
149
+ AUCTION_BID_CREATED: 'auction.bid_created',
150
+ AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
149
151
  } as const;
150
152
  export type UserNotificationDtoTypeEnum = typeof UserNotificationDtoTypeEnum[keyof typeof UserNotificationDtoTypeEnum];
151
153
 
@@ -131,7 +131,9 @@ export const UserNotificationListItemDtoTypeEnum = {
131
131
  LEAD_MESSAGE_MESSAGE: 'lead_message.message',
132
132
  TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
133
133
  TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
134
- TASKS_REMINDER_ORDER: 'tasks.reminder.order'
134
+ TASKS_REMINDER_ORDER: 'tasks.reminder.order',
135
+ AUCTION_BID_CREATED: 'auction.bid_created',
136
+ AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
135
137
  } as const;
136
138
  export type UserNotificationListItemDtoTypeEnum = typeof UserNotificationListItemDtoTypeEnum[keyof typeof UserNotificationListItemDtoTypeEnum];
137
139