@randock/nameshift-api-client 0.0.521 → 0.0.523

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.521
1
+ ## @randock/nameshift-api-client@0.0.523
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.521 --save
39
+ npm install @randock/nameshift-api-client@0.0.523 --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
- 62983bcab60f847c58095adba9b58cdc943bff7d4f8bd02228a286a1d74c19f11fbc5e28c1903b1c81d5f49c48eb93db
47
+ 2e750c63f65379da3a8b2673c8b901971efed685075599363f24c01c0be670c1c3b67126b33fe701a18bab5fde5e4b6e
@@ -127,13 +127,13 @@ export declare class LeadsApi extends runtime.BaseAPI {
127
127
  */
128
128
  bulkReadSellerLeadMessage(requestParameters: LeadsApiBulkReadSellerLeadMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
129
129
  /**
130
- * Closes an active lead negotiation. Cannot close a lead accepted too recently. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
131
- * Close an active lead
130
+ * Closes an accepted lead and cancels the invoices its buyer has not paid. It also ends the lock accepting the lead set on the domain, unless another lead on the domain is still accepted. A lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
131
+ * Close an accepted lead
132
132
  */
133
133
  closeLeadRaw(requestParameters: LeadsApiCloseLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
134
134
  /**
135
- * Closes an active lead negotiation. Cannot close a lead accepted too recently. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
136
- * Close an active lead
135
+ * Closes an accepted lead and cancels the invoices its buyer has not paid. It also ends the lock accepting the lead set on the domain, unless another lead on the domain is still accepted. A lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
136
+ * Close an accepted lead
137
137
  */
138
138
  closeLead(requestParameters: LeadsApiCloseLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
139
139
  /**
@@ -264,8 +264,8 @@ var LeadsApi = /** @class */ (function (_super) {
264
264
  });
265
265
  };
266
266
  /**
267
- * Closes an active lead negotiation. Cannot close a lead accepted too recently. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
268
- * Close an active lead
267
+ * Closes an accepted lead and cancels the invoices its buyer has not paid. It also ends the lock accepting the lead set on the domain, unless another lead on the domain is still accepted. A lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
268
+ * Close an accepted lead
269
269
  */
270
270
  LeadsApi.prototype.closeLeadRaw = function (requestParameters, initOverrides) {
271
271
  return __awaiter(this, void 0, void 0, function () {
@@ -309,8 +309,8 @@ var LeadsApi = /** @class */ (function (_super) {
309
309
  });
310
310
  };
311
311
  /**
312
- * Closes an active lead negotiation. Cannot close a lead accepted too recently. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
313
- * Close an active lead
312
+ * Closes an accepted lead and cancels the invoices its buyer has not paid. It also ends the lock accepting the lead set on the domain, unless another lead on the domain is still accepted. A lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
313
+ * Close an accepted lead
314
314
  */
315
315
  LeadsApi.prototype.closeLead = function (requestParameters, initOverrides) {
316
316
  return __awaiter(this, void 0, void 0, function () {
@@ -149,7 +149,7 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
149
149
  */
150
150
  leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
151
151
  /**
152
- * Whether the lead can be closed by the seller
152
+ * Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
153
153
  * @type {boolean}
154
154
  * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
155
155
  */
@@ -148,7 +148,7 @@ export interface LeadDto {
148
148
  */
149
149
  leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
150
150
  /**
151
- * Whether the lead can be closed by the seller
151
+ * Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
152
152
  * @type {boolean}
153
153
  * @memberof LeadDto
154
154
  */
@@ -149,7 +149,7 @@ export interface ListLeadsResultItem {
149
149
  */
150
150
  leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
151
151
  /**
152
- * Whether the lead can be closed by the seller
152
+ * Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
153
153
  * @type {boolean}
154
154
  * @memberof ListLeadsResultItem
155
155
  */
@@ -150,7 +150,7 @@ export interface SellerLeadDetails {
150
150
  */
151
151
  leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
152
152
  /**
153
- * Whether the lead can be closed by the seller
153
+ * Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
154
154
  * @type {boolean}
155
155
  * @memberof SellerLeadDetails
156
156
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.521",
3
+ "version": "0.0.523",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -324,8 +324,8 @@ export class LeadsApi extends runtime.BaseAPI {
324
324
  }
325
325
 
326
326
  /**
327
- * Closes an active lead negotiation. Cannot close a lead accepted too recently. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
328
- * Close an active lead
327
+ * Closes an accepted lead and cancels the invoices its buyer has not paid. It also ends the lock accepting the lead set on the domain, unless another lead on the domain is still accepted. A lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
328
+ * Close an accepted lead
329
329
  */
330
330
  async closeLeadRaw(requestParameters: LeadsApiCloseLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
331
331
  if (requestParameters['leadId'] == null) {
@@ -362,8 +362,8 @@ export class LeadsApi extends runtime.BaseAPI {
362
362
  }
363
363
 
364
364
  /**
365
- * Closes an active lead negotiation. Cannot close a lead accepted too recently. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
366
- * Close an active lead
365
+ * Closes an accepted lead and cancels the invoices its buyer has not paid. It also ends the lock accepting the lead set on the domain, unless another lead on the domain is still accepted. A lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
366
+ * Close an accepted lead
367
367
  */
368
368
  async closeLead(requestParameters: LeadsApiCloseLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
369
369
  await this.closeLeadRaw(requestParameters, initOverrides);
@@ -196,7 +196,7 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
196
196
  */
197
197
  leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
198
198
  /**
199
- * Whether the lead can be closed by the seller
199
+ * Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
200
200
  * @type {boolean}
201
201
  * @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
202
202
  */
@@ -189,7 +189,7 @@ export interface LeadDto {
189
189
  */
190
190
  leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
191
191
  /**
192
- * Whether the lead can be closed by the seller
192
+ * Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
193
193
  * @type {boolean}
194
194
  * @memberof LeadDto
195
195
  */
@@ -196,7 +196,7 @@ export interface ListLeadsResultItem {
196
196
  */
197
197
  leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
198
198
  /**
199
- * Whether the lead can be closed by the seller
199
+ * Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
200
200
  * @type {boolean}
201
201
  * @memberof ListLeadsResultItem
202
202
  */
@@ -203,7 +203,7 @@ export interface SellerLeadDetails {
203
203
  */
204
204
  leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
205
205
  /**
206
- * Whether the lead can be closed by the seller
206
+ * Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
207
207
  * @type {boolean}
208
208
  * @memberof SellerLeadDetails
209
209
  */