@randock/nameshift-api-client 0.0.447 → 0.0.449
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/.openapi-generator/FILES +6 -0
- package/README.md +3 -3
- package/dist/apis/APIKeysApi.d.ts +78 -0
- package/dist/apis/APIKeysApi.js +354 -0
- package/dist/apis/AccountsApi.d.ts +36 -36
- package/dist/apis/AccountsApi.js +360 -216
- package/dist/apis/AdminApi.d.ts +26 -0
- package/dist/apis/AdminApi.js +106 -0
- package/dist/apis/AuctionsApi.d.ts +4 -4
- package/dist/apis/AuctionsApi.js +40 -24
- package/dist/apis/BankAccountsApi.d.ts +10 -10
- package/dist/apis/BankAccountsApi.js +100 -60
- package/dist/apis/ChallengesApi.d.ts +6 -6
- package/dist/apis/ChallengesApi.js +60 -36
- package/dist/apis/DomainTransfersApi.d.ts +2 -2
- package/dist/apis/DomainTransfersApi.js +20 -12
- package/dist/apis/DomainsApi.d.ts +44 -44
- package/dist/apis/DomainsApi.js +440 -264
- package/dist/apis/EppApi.d.ts +2 -2
- package/dist/apis/EppApi.js +20 -12
- package/dist/apis/InvoicesApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.js +60 -36
- package/dist/apis/LeadsApi.d.ts +38 -38
- package/dist/apis/LeadsApi.js +380 -228
- package/dist/apis/MarketApi.d.ts +2 -2
- package/dist/apis/MarketApi.js +2 -2
- package/dist/apis/NotificationsApi.d.ts +8 -8
- package/dist/apis/NotificationsApi.js +80 -48
- package/dist/apis/StatsApi.d.ts +14 -14
- package/dist/apis/StatsApi.js +140 -84
- package/dist/apis/SubscriptionsApi.d.ts +2 -2
- package/dist/apis/SubscriptionsApi.js +20 -12
- package/dist/apis/TasksApi.d.ts +6 -6
- package/dist/apis/TasksApi.js +60 -36
- package/dist/apis/UsersApi.d.ts +10 -10
- package/dist/apis/UsersApi.js +100 -60
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AdminDomainListItemDto.d.ts +6 -0
- package/dist/models/AdminDomainListItemDto.js +4 -0
- package/dist/models/ApiKeyDto.d.ts +107 -0
- package/dist/models/ApiKeyDto.js +114 -0
- package/dist/models/ApiKeyScopeDto.d.ts +83 -0
- package/dist/models/ApiKeyScopeDto.js +98 -0
- package/dist/models/CreateApiKeyInput.d.ts +83 -0
- package/dist/models/CreateApiKeyInput.js +96 -0
- package/dist/models/CreatedApiKeyDto.d.ts +113 -0
- package/dist/models/CreatedApiKeyDto.js +118 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +4 -0
- package/dist/models/UpdateApiKeyInput.d.ts +77 -0
- package/dist/models/UpdateApiKeyInput.js +90 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/APIKeysApi.ts +271 -0
- package/src/apis/AccountsApi.ts +108 -36
- package/src/apis/AdminApi.ts +92 -0
- package/src/apis/AuctionsApi.ts +12 -4
- package/src/apis/BankAccountsApi.ts +30 -10
- package/src/apis/ChallengesApi.ts +18 -6
- package/src/apis/DomainTransfersApi.ts +6 -2
- package/src/apis/DomainsApi.ts +132 -44
- package/src/apis/EppApi.ts +6 -2
- package/src/apis/InvoicesApi.ts +18 -6
- package/src/apis/LeadsApi.ts +114 -38
- package/src/apis/MarketApi.ts +2 -2
- package/src/apis/NotificationsApi.ts +24 -8
- package/src/apis/StatsApi.ts +42 -14
- package/src/apis/SubscriptionsApi.ts +6 -2
- package/src/apis/TasksApi.ts +18 -6
- package/src/apis/UsersApi.ts +30 -10
- package/src/apis/index.ts +1 -0
- package/src/models/AdminDomainListItemDto.ts +9 -0
- package/src/models/ApiKeyDto.ts +162 -0
- package/src/models/ApiKeyScopeDto.ts +126 -0
- package/src/models/CreateApiKeyInput.ts +125 -0
- package/src/models/CreatedApiKeyDto.ts +171 -0
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +9 -0
- package/src/models/UpdateApiKeyInput.ts +115 -0
- package/src/models/index.ts +5 -0
package/dist/apis/EppApi.d.ts
CHANGED
|
@@ -19,12 +19,12 @@ export interface EppApiEppBatchUpdateDomainsRequest {
|
|
|
19
19
|
*/
|
|
20
20
|
export declare class EppApi extends runtime.BaseAPI {
|
|
21
21
|
/**
|
|
22
|
-
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry.
|
|
22
|
+
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry. **API key scope required:** `EPP_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
23
23
|
* Batch update domains via EPP
|
|
24
24
|
*/
|
|
25
25
|
eppBatchUpdateDomainsRaw(requestParameters: EppApiEppBatchUpdateDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
26
26
|
/**
|
|
27
|
-
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry.
|
|
27
|
+
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry. **API key scope required:** `EPP_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
28
28
|
* Batch update domains via EPP
|
|
29
29
|
*/
|
|
30
30
|
eppBatchUpdateDomains(requestParameters: EppApiEppBatchUpdateDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
package/dist/apis/EppApi.js
CHANGED
|
@@ -76,14 +76,14 @@ var EppApi = /** @class */ (function (_super) {
|
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry.
|
|
79
|
+
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry. **API key scope required:** `EPP_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
80
80
|
* Batch update domains via EPP
|
|
81
81
|
*/
|
|
82
82
|
EppApi.prototype.eppBatchUpdateDomainsRaw = function (requestParameters, initOverrides) {
|
|
83
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
85
|
-
return __generator(this, function (
|
|
86
|
-
switch (
|
|
84
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
85
|
+
return __generator(this, function (_c) {
|
|
86
|
+
switch (_c.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['eppBatchUpdateInput'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('eppBatchUpdateInput', 'Required parameter "eppBatchUpdateInput" was null or undefined when calling eppBatchUpdateDomains().');
|
|
@@ -91,31 +91,39 @@ var EppApi = /** @class */ (function (_super) {
|
|
|
91
91
|
queryParameters = {};
|
|
92
92
|
headerParameters = {};
|
|
93
93
|
headerParameters['Content-Type'] = 'application/json';
|
|
94
|
-
if (!(this.configuration && this.configuration.
|
|
94
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
95
|
+
_a = headerParameters;
|
|
96
|
+
_b = "apikey";
|
|
97
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
98
|
+
case 1:
|
|
99
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
100
|
+
_c.label = 2;
|
|
101
|
+
case 2:
|
|
102
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
95
103
|
token = this.configuration.accessToken;
|
|
96
104
|
return [4 /*yield*/, token("bearer", [])];
|
|
97
|
-
case
|
|
98
|
-
tokenString =
|
|
105
|
+
case 3:
|
|
106
|
+
tokenString = _c.sent();
|
|
99
107
|
if (tokenString) {
|
|
100
108
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
101
109
|
}
|
|
102
|
-
|
|
103
|
-
case
|
|
110
|
+
_c.label = 4;
|
|
111
|
+
case 4: return [4 /*yield*/, this.request({
|
|
104
112
|
path: "/private/epp",
|
|
105
113
|
method: 'POST',
|
|
106
114
|
headers: headerParameters,
|
|
107
115
|
query: queryParameters,
|
|
108
116
|
body: (0, index_1.EppBatchUpdateInputToJSON)(requestParameters['eppBatchUpdateInput']),
|
|
109
117
|
}, initOverrides)];
|
|
110
|
-
case
|
|
111
|
-
response =
|
|
118
|
+
case 5:
|
|
119
|
+
response = _c.sent();
|
|
112
120
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
113
121
|
}
|
|
114
122
|
});
|
|
115
123
|
});
|
|
116
124
|
};
|
|
117
125
|
/**
|
|
118
|
-
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry.
|
|
126
|
+
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry. **API key scope required:** `EPP_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
119
127
|
* Batch update domains via EPP
|
|
120
128
|
*/
|
|
121
129
|
EppApi.prototype.eppBatchUpdateDomains = function (requestParameters, initOverrides) {
|
|
@@ -33,32 +33,32 @@ export interface InvoicesApiRequestBulkDownloadInvoicesRequest {
|
|
|
33
33
|
*/
|
|
34
34
|
export declare class InvoicesApi extends runtime.BaseAPI {
|
|
35
35
|
/**
|
|
36
|
-
* Downloads the PDF document for a specific invoice owned by the seller.
|
|
36
|
+
* Downloads the PDF document for a specific invoice owned by the seller. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
37
37
|
* Download seller invoice
|
|
38
38
|
*/
|
|
39
39
|
downloadInvoiceRaw(requestParameters: InvoicesApiDownloadInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
40
40
|
/**
|
|
41
|
-
* Downloads the PDF document for a specific invoice owned by the seller.
|
|
41
|
+
* Downloads the PDF document for a specific invoice owned by the seller. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
42
42
|
* Download seller invoice
|
|
43
43
|
*/
|
|
44
44
|
downloadInvoice(requestParameters: InvoicesApiDownloadInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
45
45
|
/**
|
|
46
|
-
* Lists invoices for the seller account.
|
|
46
|
+
* Lists invoices for the seller account. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
47
47
|
* List seller invoices
|
|
48
48
|
*/
|
|
49
49
|
getInvoicesRaw(requestParameters: InvoicesApiGetInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetInvoices200Response>>;
|
|
50
50
|
/**
|
|
51
|
-
* Lists invoices for the seller account.
|
|
51
|
+
* Lists invoices for the seller account. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
52
52
|
* List seller invoices
|
|
53
53
|
*/
|
|
54
54
|
getInvoices(requestParameters?: InvoicesApiGetInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInvoices200Response>;
|
|
55
55
|
/**
|
|
56
|
-
* Queues a bulk download of seller invoices within the specified date range. The download link is sent via email.
|
|
56
|
+
* Queues a bulk download of seller invoices within the specified date range. The download link is sent via email. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
57
57
|
* Request bulk invoice download
|
|
58
58
|
*/
|
|
59
59
|
requestBulkDownloadInvoicesRaw(requestParameters: InvoicesApiRequestBulkDownloadInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
60
60
|
/**
|
|
61
|
-
* Queues a bulk download of seller invoices within the specified date range. The download link is sent via email.
|
|
61
|
+
* Queues a bulk download of seller invoices within the specified date range. The download link is sent via email. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
62
62
|
* Request bulk invoice download
|
|
63
63
|
*/
|
|
64
64
|
requestBulkDownloadInvoices(requestParameters: InvoicesApiRequestBulkDownloadInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
package/dist/apis/InvoicesApi.js
CHANGED
|
@@ -76,44 +76,52 @@ var InvoicesApi = /** @class */ (function (_super) {
|
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Downloads the PDF document for a specific invoice owned by the seller.
|
|
79
|
+
* Downloads the PDF document for a specific invoice owned by the seller. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
80
80
|
* Download seller invoice
|
|
81
81
|
*/
|
|
82
82
|
InvoicesApi.prototype.downloadInvoiceRaw = function (requestParameters, initOverrides) {
|
|
83
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
85
|
-
return __generator(this, function (
|
|
86
|
-
switch (
|
|
84
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
85
|
+
return __generator(this, function (_c) {
|
|
86
|
+
switch (_c.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters['invoiceId'] == null) {
|
|
89
89
|
throw new runtime.RequiredError('invoiceId', 'Required parameter "invoiceId" was null or undefined when calling downloadInvoice().');
|
|
90
90
|
}
|
|
91
91
|
queryParameters = {};
|
|
92
92
|
headerParameters = {};
|
|
93
|
-
if (!(this.configuration && this.configuration.
|
|
93
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
94
|
+
_a = headerParameters;
|
|
95
|
+
_b = "apikey";
|
|
96
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
97
|
+
case 1:
|
|
98
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
99
|
+
_c.label = 2;
|
|
100
|
+
case 2:
|
|
101
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
94
102
|
token = this.configuration.accessToken;
|
|
95
103
|
return [4 /*yield*/, token("bearer", [])];
|
|
96
|
-
case
|
|
97
|
-
tokenString =
|
|
104
|
+
case 3:
|
|
105
|
+
tokenString = _c.sent();
|
|
98
106
|
if (tokenString) {
|
|
99
107
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
100
108
|
}
|
|
101
|
-
|
|
102
|
-
case
|
|
109
|
+
_c.label = 4;
|
|
110
|
+
case 4: return [4 /*yield*/, this.request({
|
|
103
111
|
path: "/private/invoices/{invoiceId}/download".replace("{".concat("invoiceId", "}"), encodeURIComponent(String(requestParameters['invoiceId']))),
|
|
104
112
|
method: 'GET',
|
|
105
113
|
headers: headerParameters,
|
|
106
114
|
query: queryParameters,
|
|
107
115
|
}, initOverrides)];
|
|
108
|
-
case
|
|
109
|
-
response =
|
|
116
|
+
case 5:
|
|
117
|
+
response = _c.sent();
|
|
110
118
|
return [2 /*return*/, new runtime.BlobApiResponse(response)];
|
|
111
119
|
}
|
|
112
120
|
});
|
|
113
121
|
});
|
|
114
122
|
};
|
|
115
123
|
/**
|
|
116
|
-
* Downloads the PDF document for a specific invoice owned by the seller.
|
|
124
|
+
* Downloads the PDF document for a specific invoice owned by the seller. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
117
125
|
* Download seller invoice
|
|
118
126
|
*/
|
|
119
127
|
InvoicesApi.prototype.downloadInvoice = function (requestParameters, initOverrides) {
|
|
@@ -131,14 +139,14 @@ var InvoicesApi = /** @class */ (function (_super) {
|
|
|
131
139
|
});
|
|
132
140
|
};
|
|
133
141
|
/**
|
|
134
|
-
* Lists invoices for the seller account.
|
|
142
|
+
* Lists invoices for the seller account. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
135
143
|
* List seller invoices
|
|
136
144
|
*/
|
|
137
145
|
InvoicesApi.prototype.getInvoicesRaw = function (requestParameters, initOverrides) {
|
|
138
146
|
return __awaiter(this, void 0, void 0, function () {
|
|
139
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
140
|
-
return __generator(this, function (
|
|
141
|
-
switch (
|
|
147
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
148
|
+
return __generator(this, function (_c) {
|
|
149
|
+
switch (_c.label) {
|
|
142
150
|
case 0:
|
|
143
151
|
queryParameters = {};
|
|
144
152
|
if (requestParameters['filter'] != null) {
|
|
@@ -163,30 +171,38 @@ var InvoicesApi = /** @class */ (function (_super) {
|
|
|
163
171
|
queryParameters['filter[status]'] = requestParameters['filterStatus'];
|
|
164
172
|
}
|
|
165
173
|
headerParameters = {};
|
|
166
|
-
if (!(this.configuration && this.configuration.
|
|
174
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
175
|
+
_a = headerParameters;
|
|
176
|
+
_b = "apikey";
|
|
177
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
178
|
+
case 1:
|
|
179
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
180
|
+
_c.label = 2;
|
|
181
|
+
case 2:
|
|
182
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
167
183
|
token = this.configuration.accessToken;
|
|
168
184
|
return [4 /*yield*/, token("bearer", [])];
|
|
169
|
-
case
|
|
170
|
-
tokenString =
|
|
185
|
+
case 3:
|
|
186
|
+
tokenString = _c.sent();
|
|
171
187
|
if (tokenString) {
|
|
172
188
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
173
189
|
}
|
|
174
|
-
|
|
175
|
-
case
|
|
190
|
+
_c.label = 4;
|
|
191
|
+
case 4: return [4 /*yield*/, this.request({
|
|
176
192
|
path: "/private/invoices",
|
|
177
193
|
method: 'GET',
|
|
178
194
|
headers: headerParameters,
|
|
179
195
|
query: queryParameters,
|
|
180
196
|
}, initOverrides)];
|
|
181
|
-
case
|
|
182
|
-
response =
|
|
197
|
+
case 5:
|
|
198
|
+
response = _c.sent();
|
|
183
199
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetInvoices200ResponseFromJSON)(jsonValue); })];
|
|
184
200
|
}
|
|
185
201
|
});
|
|
186
202
|
});
|
|
187
203
|
};
|
|
188
204
|
/**
|
|
189
|
-
* Lists invoices for the seller account.
|
|
205
|
+
* Lists invoices for the seller account. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
190
206
|
* List seller invoices
|
|
191
207
|
*/
|
|
192
208
|
InvoicesApi.prototype.getInvoices = function () {
|
|
@@ -205,14 +221,14 @@ var InvoicesApi = /** @class */ (function (_super) {
|
|
|
205
221
|
});
|
|
206
222
|
};
|
|
207
223
|
/**
|
|
208
|
-
* Queues a bulk download of seller invoices within the specified date range. The download link is sent via email.
|
|
224
|
+
* Queues a bulk download of seller invoices within the specified date range. The download link is sent via email. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
209
225
|
* Request bulk invoice download
|
|
210
226
|
*/
|
|
211
227
|
InvoicesApi.prototype.requestBulkDownloadInvoicesRaw = function (requestParameters, initOverrides) {
|
|
212
228
|
return __awaiter(this, void 0, void 0, function () {
|
|
213
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
214
|
-
return __generator(this, function (
|
|
215
|
-
switch (
|
|
229
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
230
|
+
return __generator(this, function (_c) {
|
|
231
|
+
switch (_c.label) {
|
|
216
232
|
case 0:
|
|
217
233
|
if (requestParameters['bulkDownloadInvoicesInput'] == null) {
|
|
218
234
|
throw new runtime.RequiredError('bulkDownloadInvoicesInput', 'Required parameter "bulkDownloadInvoicesInput" was null or undefined when calling requestBulkDownloadInvoices().');
|
|
@@ -220,31 +236,39 @@ var InvoicesApi = /** @class */ (function (_super) {
|
|
|
220
236
|
queryParameters = {};
|
|
221
237
|
headerParameters = {};
|
|
222
238
|
headerParameters['Content-Type'] = 'application/json';
|
|
223
|
-
if (!(this.configuration && this.configuration.
|
|
239
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
240
|
+
_a = headerParameters;
|
|
241
|
+
_b = "apikey";
|
|
242
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
243
|
+
case 1:
|
|
244
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
245
|
+
_c.label = 2;
|
|
246
|
+
case 2:
|
|
247
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
224
248
|
token = this.configuration.accessToken;
|
|
225
249
|
return [4 /*yield*/, token("bearer", [])];
|
|
226
|
-
case
|
|
227
|
-
tokenString =
|
|
250
|
+
case 3:
|
|
251
|
+
tokenString = _c.sent();
|
|
228
252
|
if (tokenString) {
|
|
229
253
|
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
230
254
|
}
|
|
231
|
-
|
|
232
|
-
case
|
|
255
|
+
_c.label = 4;
|
|
256
|
+
case 4: return [4 /*yield*/, this.request({
|
|
233
257
|
path: "/private/invoices/bulk-download",
|
|
234
258
|
method: 'POST',
|
|
235
259
|
headers: headerParameters,
|
|
236
260
|
query: queryParameters,
|
|
237
261
|
body: (0, index_1.BulkDownloadInvoicesInputToJSON)(requestParameters['bulkDownloadInvoicesInput']),
|
|
238
262
|
}, initOverrides)];
|
|
239
|
-
case
|
|
240
|
-
response =
|
|
263
|
+
case 5:
|
|
264
|
+
response = _c.sent();
|
|
241
265
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
242
266
|
}
|
|
243
267
|
});
|
|
244
268
|
});
|
|
245
269
|
};
|
|
246
270
|
/**
|
|
247
|
-
* Queues a bulk download of seller invoices within the specified date range. The download link is sent via email.
|
|
271
|
+
* Queues a bulk download of seller invoices within the specified date range. The download link is sent via email. **API key scope required:** `INVOICES_READ`. Requests authenticated with a seller session do not need any scope.
|
|
248
272
|
* Request bulk invoice download
|
|
249
273
|
*/
|
|
250
274
|
InvoicesApi.prototype.requestBulkDownloadInvoices = function (requestParameters, initOverrides) {
|
package/dist/apis/LeadsApi.d.ts
CHANGED
|
@@ -91,192 +91,192 @@ export interface LeadsApiUpdateLeadOfferExpirationConfigurationRequest {
|
|
|
91
91
|
*/
|
|
92
92
|
export declare class LeadsApi extends runtime.BaseAPI {
|
|
93
93
|
/**
|
|
94
|
-
* Accepts the current buyer offer on the lead and advances the negotiation.
|
|
94
|
+
* Accepts the current buyer offer on the lead and advances the negotiation. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
95
95
|
* Accept the buyer offer
|
|
96
96
|
*/
|
|
97
97
|
acceptLeadOfferRaw(requestParameters: LeadsApiAcceptLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
98
98
|
/**
|
|
99
|
-
* Accepts the current buyer offer on the lead and advances the negotiation.
|
|
99
|
+
* Accepts the current buyer offer on the lead and advances the negotiation. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
100
100
|
* Accept the buyer offer
|
|
101
101
|
*/
|
|
102
102
|
acceptLeadOffer(requestParameters: LeadsApiAcceptLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
103
103
|
/**
|
|
104
|
-
* Archives the lead for the seller, hiding it from the active leads list.
|
|
104
|
+
* Archives the lead for the seller, hiding it from the active leads list. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
105
105
|
* Archive a lead
|
|
106
106
|
*/
|
|
107
107
|
archiveLeadRaw(requestParameters: LeadsApiArchiveLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
108
108
|
/**
|
|
109
|
-
* Archives the lead for the seller, hiding it from the active leads list.
|
|
109
|
+
* Archives the lead for the seller, hiding it from the active leads list. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
110
110
|
* Archive a lead
|
|
111
111
|
*/
|
|
112
112
|
archiveLead(requestParameters: LeadsApiArchiveLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
113
113
|
/**
|
|
114
|
-
* Marks multiple lead messages as read for the seller account.
|
|
114
|
+
* Marks multiple lead messages as read for the seller account. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
115
115
|
* Mark lead messages as read
|
|
116
116
|
*/
|
|
117
117
|
bulkReadSellerLeadMessageRaw(requestParameters: LeadsApiBulkReadSellerLeadMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
118
118
|
/**
|
|
119
|
-
* Marks multiple lead messages as read for the seller account.
|
|
119
|
+
* Marks multiple lead messages as read for the seller account. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
120
120
|
* Mark lead messages as read
|
|
121
121
|
*/
|
|
122
122
|
bulkReadSellerLeadMessage(requestParameters: LeadsApiBulkReadSellerLeadMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
123
123
|
/**
|
|
124
|
-
* Closes an active lead negotiation. Cannot close a lead accepted too recently.
|
|
124
|
+
* 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.
|
|
125
125
|
* Close an active lead
|
|
126
126
|
*/
|
|
127
127
|
closeLeadRaw(requestParameters: LeadsApiCloseLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
128
128
|
/**
|
|
129
|
-
* Closes an active lead negotiation. Cannot close a lead accepted too recently.
|
|
129
|
+
* 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.
|
|
130
130
|
* Close an active lead
|
|
131
131
|
*/
|
|
132
132
|
closeLead(requestParameters: LeadsApiCloseLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
133
133
|
/**
|
|
134
|
-
* Creates a lead manually on behalf of a buyer for a domain in the seller account.
|
|
134
|
+
* Creates a lead manually on behalf of a buyer for a domain in the seller account. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
135
135
|
* Create a manual lead
|
|
136
136
|
*/
|
|
137
137
|
createManualLeadRaw(requestParameters: LeadsApiCreateManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
138
138
|
/**
|
|
139
|
-
* Creates a lead manually on behalf of a buyer for a domain in the seller account.
|
|
139
|
+
* Creates a lead manually on behalf of a buyer for a domain in the seller account. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
140
140
|
* Create a manual lead
|
|
141
141
|
*/
|
|
142
142
|
createManualLead(requestParameters: LeadsApiCreateManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
143
143
|
/**
|
|
144
|
-
* Sends a message from the seller in the lead conversation thread.
|
|
144
|
+
* Sends a message from the seller in the lead conversation thread. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
145
145
|
* Create a lead message
|
|
146
146
|
*/
|
|
147
147
|
createMessageRaw(requestParameters: LeadsApiCreateMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ObjectId>>;
|
|
148
148
|
/**
|
|
149
|
-
* Sends a message from the seller in the lead conversation thread.
|
|
149
|
+
* Sends a message from the seller in the lead conversation thread. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
150
150
|
* Create a lead message
|
|
151
151
|
*/
|
|
152
152
|
createMessage(requestParameters: LeadsApiCreateMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectId>;
|
|
153
153
|
/**
|
|
154
|
-
* Returns lead information. Requires account ownership.
|
|
154
|
+
* Returns lead information. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
155
155
|
* Get lead details
|
|
156
156
|
*/
|
|
157
157
|
getLeadRaw(requestParameters: LeadsApiGetLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SellerLeadDetails>>;
|
|
158
158
|
/**
|
|
159
|
-
* Returns lead information. Requires account ownership.
|
|
159
|
+
* Returns lead information. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
160
160
|
* Get lead details
|
|
161
161
|
*/
|
|
162
162
|
getLead(requestParameters: LeadsApiGetLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SellerLeadDetails>;
|
|
163
163
|
/**
|
|
164
|
-
* Returns configuration presets for lead offers.
|
|
164
|
+
* Returns configuration presets for lead offers. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
165
165
|
* Get lease-to-own configuration presets
|
|
166
166
|
*/
|
|
167
167
|
getLeadLeaseToOwnConfigurationPresetsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadLeaseToOwnAndRentConfigurationPresetsDto>>;
|
|
168
168
|
/**
|
|
169
|
-
* Returns configuration presets for lead offers.
|
|
169
|
+
* Returns configuration presets for lead offers. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
170
170
|
* Get lease-to-own configuration presets
|
|
171
171
|
*/
|
|
172
172
|
getLeadLeaseToOwnConfigurationPresets(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadLeaseToOwnAndRentConfigurationPresetsDto>;
|
|
173
173
|
/**
|
|
174
|
-
* Returns manual lead information. Requires account ownership.
|
|
174
|
+
* Returns manual lead information. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
175
175
|
* Get manual lead details
|
|
176
176
|
*/
|
|
177
177
|
getManualLeadRaw(requestParameters: LeadsApiGetManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto>>;
|
|
178
178
|
/**
|
|
179
|
-
* Returns manual lead information. Requires account ownership.
|
|
179
|
+
* Returns manual lead information. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
180
180
|
* Get manual lead details
|
|
181
181
|
*/
|
|
182
182
|
getManualLead(requestParameters: LeadsApiGetManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto>;
|
|
183
183
|
/**
|
|
184
|
-
* Lists messages in the lead conversation. Requires account ownership.
|
|
184
|
+
* Lists messages in the lead conversation. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
185
185
|
* List lead messages
|
|
186
186
|
*/
|
|
187
187
|
getMessagesRaw(requestParameters: LeadsApiGetMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListLeadMessagesDto>>;
|
|
188
188
|
/**
|
|
189
|
-
* Lists messages in the lead conversation. Requires account ownership.
|
|
189
|
+
* Lists messages in the lead conversation. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
190
190
|
* List lead messages
|
|
191
191
|
*/
|
|
192
192
|
getMessages(requestParameters: LeadsApiGetMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListLeadMessagesDto>;
|
|
193
193
|
/**
|
|
194
|
-
* Lists leads for the seller account.
|
|
194
|
+
* Lists leads for the seller account. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
195
195
|
* List seller leads
|
|
196
196
|
*/
|
|
197
197
|
listRaw(requestParameters: LeadsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response>>;
|
|
198
198
|
/**
|
|
199
|
-
* Lists leads for the seller account.
|
|
199
|
+
* Lists leads for the seller account. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
200
200
|
* List seller leads
|
|
201
201
|
*/
|
|
202
202
|
list(requestParameters?: LeadsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response>;
|
|
203
203
|
/**
|
|
204
|
-
* Lists leads related to the specified lead.
|
|
204
|
+
* Lists leads related to the specified lead. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
205
205
|
* List related leads
|
|
206
206
|
*/
|
|
207
207
|
listRelatedLeadsRaw(requestParameters: LeadsApiListRelatedLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListRelatedLeads200Response>>;
|
|
208
208
|
/**
|
|
209
|
-
* Lists leads related to the specified lead.
|
|
209
|
+
* Lists leads related to the specified lead. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
210
210
|
* List related leads
|
|
211
211
|
*/
|
|
212
212
|
listRelatedLeads(requestParameters: LeadsApiListRelatedLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListRelatedLeads200Response>;
|
|
213
213
|
/**
|
|
214
|
-
* Pauses the AI price negotiator agent for the lead.
|
|
214
|
+
* Pauses the AI price negotiator agent for the lead. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
215
215
|
* Pause AI price negotiator
|
|
216
216
|
*/
|
|
217
217
|
pauseLeadPriceNegotiatorAgentRaw(requestParameters: LeadsApiPauseLeadPriceNegotiatorAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
218
218
|
/**
|
|
219
|
-
* Pauses the AI price negotiator agent for the lead.
|
|
219
|
+
* Pauses the AI price negotiator agent for the lead. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
220
220
|
* Pause AI price negotiator
|
|
221
221
|
*/
|
|
222
222
|
pauseLeadPriceNegotiatorAgent(requestParameters: LeadsApiPauseLeadPriceNegotiatorAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
223
223
|
/**
|
|
224
|
-
* Sets or updates the seller counter-offer on a lead.
|
|
224
|
+
* Sets or updates the seller counter-offer on a lead. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
225
225
|
* Submit a seller counter-offer
|
|
226
226
|
*/
|
|
227
227
|
putOfferRaw(requestParameters: LeadsApiPutOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
228
228
|
/**
|
|
229
|
-
* Sets or updates the seller counter-offer on a lead.
|
|
229
|
+
* Sets or updates the seller counter-offer on a lead. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
230
230
|
* Submit a seller counter-offer
|
|
231
231
|
*/
|
|
232
232
|
putOffer(requestParameters: LeadsApiPutOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
233
233
|
/**
|
|
234
|
-
* Resumes a paused AI price negotiator agent for the lead.
|
|
234
|
+
* Resumes a paused AI price negotiator agent for the lead. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
235
235
|
* Resume AI price negotiator
|
|
236
236
|
*/
|
|
237
237
|
resumeLeadPriceNegotiatorAgentRaw(requestParameters: LeadsApiResumeLeadPriceNegotiatorAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
238
238
|
/**
|
|
239
|
-
* Resumes a paused AI price negotiator agent for the lead.
|
|
239
|
+
* Resumes a paused AI price negotiator agent for the lead. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
240
240
|
* Resume AI price negotiator
|
|
241
241
|
*/
|
|
242
242
|
resumeLeadPriceNegotiatorAgent(requestParameters: LeadsApiResumeLeadPriceNegotiatorAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
243
243
|
/**
|
|
244
|
-
* Restores a previously archived lead to the seller active leads list.
|
|
244
|
+
* Restores a previously archived lead to the seller active leads list. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
245
245
|
* Unarchive a lead
|
|
246
246
|
*/
|
|
247
247
|
unarchiveLeadRaw(requestParameters: LeadsApiUnarchiveLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
248
248
|
/**
|
|
249
|
-
* Restores a previously archived lead to the seller active leads list.
|
|
249
|
+
* Restores a previously archived lead to the seller active leads list. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
250
250
|
* Unarchive a lead
|
|
251
251
|
*/
|
|
252
252
|
unarchiveLead(requestParameters: LeadsApiUnarchiveLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
253
253
|
/**
|
|
254
|
-
* Updates the domain lock settings applied while the lead is active.
|
|
254
|
+
* Updates the domain lock settings applied while the lead is active. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
255
255
|
* Update domain lock configuration
|
|
256
256
|
*/
|
|
257
257
|
updateLeadDomainLockConfigurationRaw(requestParameters: LeadsApiUpdateLeadDomainLockConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
258
258
|
/**
|
|
259
|
-
* Updates the domain lock settings applied while the lead is active.
|
|
259
|
+
* Updates the domain lock settings applied while the lead is active. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
260
260
|
* Update domain lock configuration
|
|
261
261
|
*/
|
|
262
262
|
updateLeadDomainLockConfiguration(requestParameters: LeadsApiUpdateLeadDomainLockConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
263
263
|
/**
|
|
264
|
-
* Updates whether the lead is muted for the seller user.
|
|
264
|
+
* Updates whether the lead is muted for the seller user. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
265
265
|
* Mute or unmute a lead
|
|
266
266
|
*/
|
|
267
267
|
updateLeadMuteStatusRaw(requestParameters: LeadsApiUpdateLeadMuteStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
268
268
|
/**
|
|
269
|
-
* Updates whether the lead is muted for the seller user.
|
|
269
|
+
* Updates whether the lead is muted for the seller user. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
270
270
|
* Mute or unmute a lead
|
|
271
271
|
*/
|
|
272
272
|
updateLeadMuteStatus(requestParameters: LeadsApiUpdateLeadMuteStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
273
273
|
/**
|
|
274
|
-
* Updates when unanswered offers on the lead automatically expire.
|
|
274
|
+
* Updates when unanswered offers on the lead automatically expire. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
275
275
|
* Update offer expiration configuration
|
|
276
276
|
*/
|
|
277
277
|
updateLeadOfferExpirationConfigurationRaw(requestParameters: LeadsApiUpdateLeadOfferExpirationConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
278
278
|
/**
|
|
279
|
-
* Updates when unanswered offers on the lead automatically expire.
|
|
279
|
+
* Updates when unanswered offers on the lead automatically expire. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
280
280
|
* Update offer expiration configuration
|
|
281
281
|
*/
|
|
282
282
|
updateLeadOfferExpirationConfiguration(requestParameters: LeadsApiUpdateLeadOfferExpirationConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|