@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 +3 -3
- package/dist/apis/LeadsApi.d.ts +4 -4
- package/dist/apis/LeadsApi.js +4 -4
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +1 -1
- package/dist/models/LeadDto.d.ts +1 -1
- package/dist/models/ListLeadsResultItem.d.ts +1 -1
- package/dist/models/SellerLeadDetails.d.ts +1 -1
- package/package.json +1 -1
- package/src/apis/LeadsApi.ts +4 -4
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +1 -1
- package/src/models/LeadDto.ts +1 -1
- package/src/models/ListLeadsResultItem.ts +1 -1
- package/src/models/SellerLeadDetails.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
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.
|
|
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
|
-
|
|
47
|
+
2e750c63f65379da3a8b2673c8b901971efed685075599363f24c01c0be670c1c3b67126b33fe701a18bab5fde5e4b6e
|
package/dist/apis/LeadsApi.d.ts
CHANGED
|
@@ -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
|
|
131
|
-
* Close an
|
|
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
|
|
136
|
-
* Close an
|
|
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
|
/**
|
package/dist/apis/LeadsApi.js
CHANGED
|
@@ -264,8 +264,8 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
264
264
|
});
|
|
265
265
|
};
|
|
266
266
|
/**
|
|
267
|
-
* Closes an
|
|
268
|
-
* Close an
|
|
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
|
|
313
|
-
* Close an
|
|
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
|
|
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
|
*/
|
package/dist/models/LeadDto.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ export interface LeadDto {
|
|
|
148
148
|
*/
|
|
149
149
|
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
150
150
|
/**
|
|
151
|
-
* Whether the lead can be closed
|
|
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
|
|
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
|
|
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
package/src/apis/LeadsApi.ts
CHANGED
|
@@ -324,8 +324,8 @@ export class LeadsApi extends runtime.BaseAPI {
|
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
|
-
* Closes an
|
|
328
|
-
* Close an
|
|
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
|
|
366
|
-
* Close an
|
|
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
|
|
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
|
*/
|
package/src/models/LeadDto.ts
CHANGED
|
@@ -189,7 +189,7 @@ export interface LeadDto {
|
|
|
189
189
|
*/
|
|
190
190
|
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
191
191
|
/**
|
|
192
|
-
* Whether the lead can be closed
|
|
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
|
|
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
|
|
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
|
*/
|