@randock/nameshift-api-client 0.0.18 → 0.0.20
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 +4 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +6 -4
- package/dist/apis/AccountsApi.js +18 -18
- package/dist/apis/AuthApi.js +3 -3
- package/dist/apis/DomainsApi.d.ts +1 -1
- package/dist/apis/DomainsApi.js +30 -30
- package/dist/apis/DomainsPublicApi.d.ts +4 -12
- package/dist/apis/DomainsPublicApi.js +8 -50
- package/dist/apis/LeadsApi.js +18 -18
- package/dist/apis/LeadsPublicApi.js +3 -3
- package/dist/models/AccountAddressDto.js +21 -21
- package/dist/models/AccountAddressInput.js +21 -21
- package/dist/models/AccountDto.js +10 -12
- package/dist/models/AccountFinancialInput.js +16 -16
- package/dist/models/AccountSettingsInput.js +6 -11
- package/dist/models/BatchUpdate404Response.js +12 -15
- package/dist/models/BatchUpdateDomainsInput.js +10 -12
- package/dist/models/CreateLeadInput.js +22 -20
- package/dist/models/CreateLeadMessageInput.js +7 -10
- package/dist/models/DeleteDomainsInput.js +7 -10
- package/dist/models/DomainDto.d.ts +2 -2
- package/dist/models/DomainDto.js +25 -22
- package/dist/models/DomainSalesInformationDto.d.ts +51 -0
- package/dist/models/DomainSalesInformationDto.js +61 -0
- package/dist/models/DomainSellerDto.d.ts +37 -0
- package/dist/models/DomainSellerDto.js +51 -0
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js +19 -18
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +2 -2
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +28 -24
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +2 -2
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +31 -26
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +22 -20
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +40 -32
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +7 -10
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +10 -12
- package/dist/models/LeadMessageData.js +7 -10
- package/dist/models/LeadMessageDto.js +25 -22
- package/dist/models/LeadMessageDtoData.js +7 -10
- package/dist/models/List200Response.js +13 -14
- package/dist/models/List400Response.js +12 -15
- package/dist/models/List401Response.js +12 -15
- package/dist/models/ListLeadMessagesDto.js +7 -10
- package/dist/models/Login401Response.js +12 -15
- package/dist/models/Login429Response.js +12 -15
- package/dist/models/LoginInput.js +10 -12
- package/dist/models/MoneyDto.js +10 -12
- package/dist/models/MoneyInput.js +10 -12
- package/dist/models/ObjectId.js +7 -10
- package/dist/models/PaginateResponse.js +13 -14
- package/dist/models/PaginateResponseLinks.d.ts +5 -5
- package/dist/models/PaginateResponseLinks.js +14 -19
- package/dist/models/PaginateResponseMeta.js +18 -23
- package/dist/models/PublicDomainControllerGetDomainSalesInformation404Response.d.ts +43 -0
- package/dist/models/PublicDomainControllerGetDomainSalesInformation404Response.js +53 -0
- package/dist/models/PutLeadInput.js +7 -10
- package/dist/models/TokenDto.js +7 -10
- package/dist/models/UpdateDomainInput.d.ts +2 -2
- package/dist/models/UpdateDomainInput.js +8 -13
- package/dist/models/UpdateFinancial400Response.js +12 -15
- package/dist/models/UpdateSettings400Response.js +12 -15
- package/dist/models/UpdateSettings401Response.js +12 -15
- package/dist/models/UpdateSettings429Response.js +12 -15
- package/dist/models/WithFinancialDtoInner.js +16 -16
- package/dist/models/WithSettingsInner.js +7 -10
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/runtime.d.ts +2 -3
- package/dist/runtime.js +1 -6
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +36 -18
- package/src/apis/AuthApi.ts +6 -3
- package/src/apis/DomainsApi.ts +49 -31
- package/src/apis/DomainsPublicApi.ts +17 -46
- package/src/apis/LeadsApi.ts +36 -18
- package/src/apis/LeadsPublicApi.ts +6 -3
- package/src/models/AccountAddressDto.ts +17 -22
- package/src/models/AccountAddressInput.ts +17 -22
- package/src/models/AccountDto.ts +9 -14
- package/src/models/AccountFinancialInput.ts +13 -18
- package/src/models/AccountSettingsInput.ts +7 -12
- package/src/models/BatchUpdate404Response.ts +11 -16
- package/src/models/BatchUpdateDomainsInput.ts +9 -14
- package/src/models/CreateLeadInput.ts +17 -22
- package/src/models/CreateLeadMessageInput.ts +7 -12
- package/src/models/DeleteDomainsInput.ts +7 -12
- package/src/models/DomainDto.ts +21 -26
- package/src/models/DomainSalesInformationDto.ts +101 -0
- package/src/models/DomainSellerDto.ts +70 -0
- package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +15 -20
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +23 -28
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +25 -30
- package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +17 -22
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +29 -34
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +7 -12
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +9 -14
- package/src/models/LeadMessageData.ts +7 -12
- package/src/models/LeadMessageDto.ts +19 -24
- package/src/models/LeadMessageDtoData.ts +7 -12
- package/src/models/List200Response.ts +11 -16
- package/src/models/List400Response.ts +11 -16
- package/src/models/List401Response.ts +11 -16
- package/src/models/ListLeadMessagesDto.ts +7 -12
- package/src/models/Login401Response.ts +11 -16
- package/src/models/Login429Response.ts +11 -16
- package/src/models/LoginInput.ts +9 -14
- package/src/models/MoneyDto.ts +9 -14
- package/src/models/MoneyInput.ts +9 -14
- package/src/models/ObjectId.ts +7 -12
- package/src/models/PaginateResponse.ts +11 -16
- package/src/models/PaginateResponseLinks.ts +20 -25
- package/src/models/PaginateResponseMeta.ts +19 -24
- package/src/models/PublicDomainControllerGetDomainSalesInformation404Response.ts +78 -0
- package/src/models/PutLeadInput.ts +7 -12
- package/src/models/TokenDto.ts +7 -12
- package/src/models/UpdateDomainInput.ts +11 -16
- package/src/models/UpdateFinancial400Response.ts +11 -16
- package/src/models/UpdateSettings400Response.ts +11 -16
- package/src/models/UpdateSettings401Response.ts +11 -16
- package/src/models/UpdateSettings429Response.ts +11 -16
- package/src/models/WithFinancialDtoInner.ts +13 -18
- package/src/models/WithSettingsInner.ts +7 -12
- package/src/models/index.ts +3 -1
- package/src/runtime.ts +3 -8
- package/dist/apis/TestApi.d.ts +0 -23
- package/dist/apis/TestApi.js +0 -116
- package/dist/models/CreateLeadMessageInputData.d.ts +0 -32
- package/dist/models/CreateLeadMessageInputData.js +0 -51
- package/dist/models/ImportDomainsDto.d.ts +0 -49
- package/dist/models/ImportDomainsDto.js +0 -59
- package/dist/models/IntersectionAccountDtoWithAddressDto.d.ts +0 -44
- package/dist/models/IntersectionAccountDtoWithAddressDto.js +0 -57
- package/dist/models/IntersectionAccountDtoWithFinancialDto.d.ts +0 -44
- package/dist/models/IntersectionAccountDtoWithFinancialDto.js +0 -57
- package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.d.ts +0 -49
- package/dist/models/IntersectionAccountDtoWithFinancialDtoFinancial.js +0 -56
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +0 -44
- package/dist/models/IntersectionAccountDtoWithSettingsDto.js +0 -57
- package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.d.ts +0 -32
- package/dist/models/IntersectionAccountDtoWithSettingsDtoSettings.js +0 -51
- package/dist/models/IntersectionLeadDto.d.ts +0 -52
- package/dist/models/IntersectionLeadDto.js +0 -64
- package/dist/models/LeadDto.d.ts +0 -74
- package/dist/models/LeadDto.js +0 -79
- package/dist/models/List429Response.d.ts +0 -43
- package/dist/models/List429Response.js +0 -56
- package/dist/models/PublicDomainControllerGetDomainIdentifier404Response.d.ts +0 -43
- package/dist/models/PublicDomainControllerGetDomainIdentifier404Response.js +0 -56
- package/src/apis/TestApi.ts +0 -46
- package/src/models/CreateLeadMessageInputData.ts +0 -73
- package/src/models/ImportDomainsDto.ts +0 -93
- package/src/models/IntersectionAccountDtoWithAddressDto.ts +0 -91
- package/src/models/IntersectionAccountDtoWithFinancialDto.ts +0 -91
- package/src/models/IntersectionAccountDtoWithFinancialDtoFinancial.ts +0 -89
- package/src/models/IntersectionAccountDtoWithSettingsDto.ts +0 -91
- package/src/models/IntersectionAccountDtoWithSettingsDtoSettings.ts +0 -72
- package/src/models/IntersectionLeadDto.ts +0 -96
- package/src/models/LeadDto.ts +0 -131
- package/src/models/List429Response.ts +0 -83
- package/src/models/PublicDomainControllerGetDomainIdentifier404Response.ts +0 -83
package/.openapi-generator/FILES
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.gitignore
|
|
2
2
|
.npmignore
|
|
3
|
+
.openapi-generator-ignore
|
|
3
4
|
README.md
|
|
4
5
|
package.json
|
|
5
6
|
src/apis/AccountsApi.ts
|
|
@@ -21,6 +22,8 @@ src/models/CreateLeadInput.ts
|
|
|
21
22
|
src/models/CreateLeadMessageInput.ts
|
|
22
23
|
src/models/DeleteDomainsInput.ts
|
|
23
24
|
src/models/DomainDto.ts
|
|
25
|
+
src/models/DomainSalesInformationDto.ts
|
|
26
|
+
src/models/DomainSellerDto.ts
|
|
24
27
|
src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts
|
|
25
28
|
src/models/IntersectionDomainDtoWithAccountDto.ts
|
|
26
29
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
@@ -44,7 +47,7 @@ src/models/ObjectId.ts
|
|
|
44
47
|
src/models/PaginateResponse.ts
|
|
45
48
|
src/models/PaginateResponseLinks.ts
|
|
46
49
|
src/models/PaginateResponseMeta.ts
|
|
47
|
-
src/models/
|
|
50
|
+
src/models/PublicDomainControllerGetDomainSalesInformation404Response.ts
|
|
48
51
|
src/models/PutLeadInput.ts
|
|
49
52
|
src/models/TokenDto.ts
|
|
50
53
|
src/models/UpdateDomainInput.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.6.0-SNAPSHOT
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.20
|
|
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
|
|
|
@@ -15,7 +15,7 @@ Module system
|
|
|
15
15
|
* CommonJS
|
|
16
16
|
* ES6 module system
|
|
17
17
|
|
|
18
|
-
It can be used in both TypeScript and JavaScript. In TypeScript, the definition
|
|
18
|
+
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
|
|
19
19
|
|
|
20
20
|
### Building
|
|
21
21
|
|
|
@@ -27,7 +27,7 @@ npm run build
|
|
|
27
27
|
|
|
28
28
|
### Publishing
|
|
29
29
|
|
|
30
|
-
First build the package then run
|
|
30
|
+
First build the package then run `npm publish`
|
|
31
31
|
|
|
32
32
|
### Consuming
|
|
33
33
|
|
|
@@ -36,10 +36,12 @@ 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.20 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
43
43
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
|
+
```
|
|
47
|
+
439293847a3ccb61b70b7f5ad16109f67e4171069a7192bb5cc5bef5480a6c14d522f4ebbdfeaa8ae63631f06cdc0b19
|
package/dist/apis/AccountsApi.js
CHANGED
|
@@ -134,11 +134,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
134
134
|
return __generator(this, function (_a) {
|
|
135
135
|
switch (_a.label) {
|
|
136
136
|
case 0:
|
|
137
|
-
if (requestParameters
|
|
138
|
-
throw new runtime.RequiredError('accountId', 'Required parameter
|
|
137
|
+
if (requestParameters['accountId'] == null) {
|
|
138
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling updateAddress().');
|
|
139
139
|
}
|
|
140
|
-
if (requestParameters
|
|
141
|
-
throw new runtime.RequiredError('accountAddressInput', 'Required parameter
|
|
140
|
+
if (requestParameters['accountAddressInput'] == null) {
|
|
141
|
+
throw new runtime.RequiredError('accountAddressInput', 'Required parameter "accountAddressInput" was null or undefined when calling updateAddress().');
|
|
142
142
|
}
|
|
143
143
|
queryParameters = {};
|
|
144
144
|
headerParameters = {};
|
|
@@ -153,11 +153,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
153
153
|
}
|
|
154
154
|
_a.label = 2;
|
|
155
155
|
case 2: return [4 /*yield*/, this.request({
|
|
156
|
-
path: "/accounts/{accountId}/addresses".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters
|
|
156
|
+
path: "/accounts/{accountId}/addresses".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
157
157
|
method: 'PUT',
|
|
158
158
|
headers: headerParameters,
|
|
159
159
|
query: queryParameters,
|
|
160
|
-
body: (0, index_1.AccountAddressInputToJSON)(requestParameters
|
|
160
|
+
body: (0, index_1.AccountAddressInputToJSON)(requestParameters['accountAddressInput']),
|
|
161
161
|
}, initOverrides)];
|
|
162
162
|
case 3:
|
|
163
163
|
response = _a.sent();
|
|
@@ -190,11 +190,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
190
190
|
return __generator(this, function (_a) {
|
|
191
191
|
switch (_a.label) {
|
|
192
192
|
case 0:
|
|
193
|
-
if (requestParameters
|
|
194
|
-
throw new runtime.RequiredError('accountId', 'Required parameter
|
|
193
|
+
if (requestParameters['accountId'] == null) {
|
|
194
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling updateFinancial().');
|
|
195
195
|
}
|
|
196
|
-
if (requestParameters
|
|
197
|
-
throw new runtime.RequiredError('accountFinancialInput', 'Required parameter
|
|
196
|
+
if (requestParameters['accountFinancialInput'] == null) {
|
|
197
|
+
throw new runtime.RequiredError('accountFinancialInput', 'Required parameter "accountFinancialInput" was null or undefined when calling updateFinancial().');
|
|
198
198
|
}
|
|
199
199
|
queryParameters = {};
|
|
200
200
|
headerParameters = {};
|
|
@@ -209,11 +209,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
209
209
|
}
|
|
210
210
|
_a.label = 2;
|
|
211
211
|
case 2: return [4 /*yield*/, this.request({
|
|
212
|
-
path: "/accounts/{accountId}/financial".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters
|
|
212
|
+
path: "/accounts/{accountId}/financial".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
213
213
|
method: 'PUT',
|
|
214
214
|
headers: headerParameters,
|
|
215
215
|
query: queryParameters,
|
|
216
|
-
body: (0, index_1.AccountFinancialInputToJSON)(requestParameters
|
|
216
|
+
body: (0, index_1.AccountFinancialInputToJSON)(requestParameters['accountFinancialInput']),
|
|
217
217
|
}, initOverrides)];
|
|
218
218
|
case 3:
|
|
219
219
|
response = _a.sent();
|
|
@@ -246,11 +246,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
246
246
|
return __generator(this, function (_a) {
|
|
247
247
|
switch (_a.label) {
|
|
248
248
|
case 0:
|
|
249
|
-
if (requestParameters
|
|
250
|
-
throw new runtime.RequiredError('accountId', 'Required parameter
|
|
249
|
+
if (requestParameters['accountId'] == null) {
|
|
250
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling updateSettings().');
|
|
251
251
|
}
|
|
252
|
-
if (requestParameters
|
|
253
|
-
throw new runtime.RequiredError('accountSettingsInput', 'Required parameter
|
|
252
|
+
if (requestParameters['accountSettingsInput'] == null) {
|
|
253
|
+
throw new runtime.RequiredError('accountSettingsInput', 'Required parameter "accountSettingsInput" was null or undefined when calling updateSettings().');
|
|
254
254
|
}
|
|
255
255
|
queryParameters = {};
|
|
256
256
|
headerParameters = {};
|
|
@@ -265,11 +265,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
265
265
|
}
|
|
266
266
|
_a.label = 2;
|
|
267
267
|
case 2: return [4 /*yield*/, this.request({
|
|
268
|
-
path: "/accounts/{accountId}/settings".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters
|
|
268
|
+
path: "/accounts/{accountId}/settings".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
269
269
|
method: 'PUT',
|
|
270
270
|
headers: headerParameters,
|
|
271
271
|
query: queryParameters,
|
|
272
|
-
body: (0, index_1.AccountSettingsInputToJSON)(requestParameters
|
|
272
|
+
body: (0, index_1.AccountSettingsInputToJSON)(requestParameters['accountSettingsInput']),
|
|
273
273
|
}, initOverrides)];
|
|
274
274
|
case 3:
|
|
275
275
|
response = _a.sent();
|
package/dist/apis/AuthApi.js
CHANGED
|
@@ -84,8 +84,8 @@ var AuthApi = /** @class */ (function (_super) {
|
|
|
84
84
|
return __generator(this, function (_a) {
|
|
85
85
|
switch (_a.label) {
|
|
86
86
|
case 0:
|
|
87
|
-
if (requestParameters
|
|
88
|
-
throw new runtime.RequiredError('loginInput', 'Required parameter
|
|
87
|
+
if (requestParameters['loginInput'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('loginInput', 'Required parameter "loginInput" was null or undefined when calling login().');
|
|
89
89
|
}
|
|
90
90
|
queryParameters = {};
|
|
91
91
|
headerParameters = {};
|
|
@@ -95,7 +95,7 @@ var AuthApi = /** @class */ (function (_super) {
|
|
|
95
95
|
method: 'POST',
|
|
96
96
|
headers: headerParameters,
|
|
97
97
|
query: queryParameters,
|
|
98
|
-
body: (0, index_1.LoginInputToJSON)(requestParameters
|
|
98
|
+
body: (0, index_1.LoginInputToJSON)(requestParameters['loginInput']),
|
|
99
99
|
}, initOverrides)];
|
|
100
100
|
case 1:
|
|
101
101
|
response = _a.sent();
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response, UpdateDomainInput } from '../models/index';
|
|
14
14
|
export interface DomainsApiBatchImportRequest {
|
|
15
|
-
file?: Blob
|
|
15
|
+
file?: Blob;
|
|
16
16
|
domains?: Array<string>;
|
|
17
17
|
}
|
|
18
18
|
export interface DomainsApiBatchUpdateRequest {
|
package/dist/apis/DomainsApi.js
CHANGED
|
@@ -109,11 +109,11 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
109
109
|
else {
|
|
110
110
|
formParams = new URLSearchParams();
|
|
111
111
|
}
|
|
112
|
-
if (requestParameters
|
|
113
|
-
formParams.append('file', requestParameters
|
|
112
|
+
if (requestParameters['file'] != null) {
|
|
113
|
+
formParams.append('file', requestParameters['file']);
|
|
114
114
|
}
|
|
115
|
-
if (requestParameters
|
|
116
|
-
formParams.append('domains', requestParameters
|
|
115
|
+
if (requestParameters['domains'] != null) {
|
|
116
|
+
formParams.append('domains', requestParameters['domains'].join(runtime.COLLECTION_FORMATS["csv"]));
|
|
117
117
|
}
|
|
118
118
|
return [4 /*yield*/, this.request({
|
|
119
119
|
path: "/domains",
|
|
@@ -154,8 +154,8 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
154
154
|
return __generator(this, function (_a) {
|
|
155
155
|
switch (_a.label) {
|
|
156
156
|
case 0:
|
|
157
|
-
if (requestParameters
|
|
158
|
-
throw new runtime.RequiredError('batchUpdateDomainsInput', 'Required parameter
|
|
157
|
+
if (requestParameters['batchUpdateDomainsInput'] == null) {
|
|
158
|
+
throw new runtime.RequiredError('batchUpdateDomainsInput', 'Required parameter "batchUpdateDomainsInput" was null or undefined when calling batchUpdate().');
|
|
159
159
|
}
|
|
160
160
|
queryParameters = {};
|
|
161
161
|
headerParameters = {};
|
|
@@ -174,7 +174,7 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
174
174
|
method: 'PUT',
|
|
175
175
|
headers: headerParameters,
|
|
176
176
|
query: queryParameters,
|
|
177
|
-
body: (0, index_1.BatchUpdateDomainsInputToJSON)(requestParameters
|
|
177
|
+
body: (0, index_1.BatchUpdateDomainsInputToJSON)(requestParameters['batchUpdateDomainsInput']),
|
|
178
178
|
}, initOverrides)];
|
|
179
179
|
case 3:
|
|
180
180
|
response = _a.sent();
|
|
@@ -207,8 +207,8 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
207
207
|
return __generator(this, function (_a) {
|
|
208
208
|
switch (_a.label) {
|
|
209
209
|
case 0:
|
|
210
|
-
if (requestParameters
|
|
211
|
-
throw new runtime.RequiredError('domainId', 'Required parameter
|
|
210
|
+
if (requestParameters['domainId'] == null) {
|
|
211
|
+
throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling checkDns().');
|
|
212
212
|
}
|
|
213
213
|
queryParameters = {};
|
|
214
214
|
headerParameters = {};
|
|
@@ -222,7 +222,7 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
222
222
|
}
|
|
223
223
|
_a.label = 2;
|
|
224
224
|
case 2: return [4 /*yield*/, this.request({
|
|
225
|
-
path: "/domains/{domainId}/check_ns".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters
|
|
225
|
+
path: "/domains/{domainId}/check_ns".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters['domainId']))),
|
|
226
226
|
method: 'POST',
|
|
227
227
|
headers: headerParameters,
|
|
228
228
|
query: queryParameters,
|
|
@@ -258,8 +258,8 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
258
258
|
return __generator(this, function (_a) {
|
|
259
259
|
switch (_a.label) {
|
|
260
260
|
case 0:
|
|
261
|
-
if (requestParameters
|
|
262
|
-
throw new runtime.RequiredError('deleteDomainsInput', 'Required parameter
|
|
261
|
+
if (requestParameters['deleteDomainsInput'] == null) {
|
|
262
|
+
throw new runtime.RequiredError('deleteDomainsInput', 'Required parameter "deleteDomainsInput" was null or undefined when calling deleteDomains().');
|
|
263
263
|
}
|
|
264
264
|
queryParameters = {};
|
|
265
265
|
headerParameters = {};
|
|
@@ -278,7 +278,7 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
278
278
|
method: 'DELETE',
|
|
279
279
|
headers: headerParameters,
|
|
280
280
|
query: queryParameters,
|
|
281
|
-
body: (0, index_1.DeleteDomainsInputToJSON)(requestParameters
|
|
281
|
+
body: (0, index_1.DeleteDomainsInputToJSON)(requestParameters['deleteDomainsInput']),
|
|
282
282
|
}, initOverrides)];
|
|
283
283
|
case 3:
|
|
284
284
|
response = _a.sent();
|
|
@@ -311,8 +311,8 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
311
311
|
return __generator(this, function (_a) {
|
|
312
312
|
switch (_a.label) {
|
|
313
313
|
case 0:
|
|
314
|
-
if (requestParameters
|
|
315
|
-
throw new runtime.RequiredError('domainId', 'Required parameter
|
|
314
|
+
if (requestParameters['domainId'] == null) {
|
|
315
|
+
throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling get().');
|
|
316
316
|
}
|
|
317
317
|
queryParameters = {};
|
|
318
318
|
headerParameters = {};
|
|
@@ -326,7 +326,7 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
326
326
|
}
|
|
327
327
|
_a.label = 2;
|
|
328
328
|
case 2: return [4 /*yield*/, this.request({
|
|
329
|
-
path: "/domains/{domainId}".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters
|
|
329
|
+
path: "/domains/{domainId}".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters['domainId']))),
|
|
330
330
|
method: 'GET',
|
|
331
331
|
headers: headerParameters,
|
|
332
332
|
query: queryParameters,
|
|
@@ -365,17 +365,17 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
365
365
|
switch (_a.label) {
|
|
366
366
|
case 0:
|
|
367
367
|
queryParameters = {};
|
|
368
|
-
if (requestParameters
|
|
369
|
-
queryParameters['filter'] = requestParameters
|
|
368
|
+
if (requestParameters['filter'] != null) {
|
|
369
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
370
370
|
}
|
|
371
|
-
if (requestParameters
|
|
372
|
-
queryParameters['page'] = requestParameters
|
|
371
|
+
if (requestParameters['page'] != null) {
|
|
372
|
+
queryParameters['page'] = requestParameters['page'];
|
|
373
373
|
}
|
|
374
|
-
if (requestParameters
|
|
375
|
-
queryParameters['limit'] = requestParameters
|
|
374
|
+
if (requestParameters['limit'] != null) {
|
|
375
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
376
376
|
}
|
|
377
|
-
if (requestParameters
|
|
378
|
-
queryParameters['sortBy'] = requestParameters
|
|
377
|
+
if (requestParameters['sortBy'] != null) {
|
|
378
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
379
379
|
}
|
|
380
380
|
headerParameters = {};
|
|
381
381
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
@@ -427,11 +427,11 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
427
427
|
return __generator(this, function (_a) {
|
|
428
428
|
switch (_a.label) {
|
|
429
429
|
case 0:
|
|
430
|
-
if (requestParameters
|
|
431
|
-
throw new runtime.RequiredError('domainId', 'Required parameter
|
|
430
|
+
if (requestParameters['domainId'] == null) {
|
|
431
|
+
throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling update().');
|
|
432
432
|
}
|
|
433
|
-
if (requestParameters
|
|
434
|
-
throw new runtime.RequiredError('updateDomainInput', 'Required parameter
|
|
433
|
+
if (requestParameters['updateDomainInput'] == null) {
|
|
434
|
+
throw new runtime.RequiredError('updateDomainInput', 'Required parameter "updateDomainInput" was null or undefined when calling update().');
|
|
435
435
|
}
|
|
436
436
|
queryParameters = {};
|
|
437
437
|
headerParameters = {};
|
|
@@ -446,11 +446,11 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
446
446
|
}
|
|
447
447
|
_a.label = 2;
|
|
448
448
|
case 2: return [4 /*yield*/, this.request({
|
|
449
|
-
path: "/domains/{domainId}".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters
|
|
449
|
+
path: "/domains/{domainId}".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters['domainId']))),
|
|
450
450
|
method: 'PUT',
|
|
451
451
|
headers: headerParameters,
|
|
452
452
|
query: queryParameters,
|
|
453
|
-
body: (0, index_1.UpdateDomainInputToJSON)(requestParameters
|
|
453
|
+
body: (0, index_1.UpdateDomainInputToJSON)(requestParameters['updateDomainInput']),
|
|
454
454
|
}, initOverrides)];
|
|
455
455
|
case 3:
|
|
456
456
|
response = _a.sent();
|
|
@@ -10,10 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
export interface DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest {
|
|
13
|
+
import type { DomainSalesInformationDto } from '../models/index';
|
|
14
|
+
export interface DomainsPublicApiPublicDomainControllerGetDomainSalesInformationRequest {
|
|
17
15
|
domainName: string;
|
|
18
16
|
}
|
|
19
17
|
/**
|
|
@@ -22,14 +20,8 @@ export interface DomainsPublicApiPublicDomainControllerGetDomainIdentifierReques
|
|
|
22
20
|
export declare class DomainsPublicApi extends runtime.BaseAPI {
|
|
23
21
|
/**
|
|
24
22
|
*/
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
*/
|
|
28
|
-
publicDomainControllerGetCaddy(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
29
|
-
/**
|
|
30
|
-
*/
|
|
31
|
-
publicDomainControllerGetDomainIdentifierRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
23
|
+
publicDomainControllerGetDomainSalesInformationRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainSalesInformationDto>>;
|
|
32
24
|
/**
|
|
33
25
|
*/
|
|
34
|
-
|
|
26
|
+
publicDomainControllerGetDomainSalesInformation(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainSalesInformationDto>;
|
|
35
27
|
}
|
|
@@ -66,6 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.DomainsPublicApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
69
70
|
/**
|
|
70
71
|
*
|
|
71
72
|
*/
|
|
@@ -76,81 +77,38 @@ var DomainsPublicApi = /** @class */ (function (_super) {
|
|
|
76
77
|
}
|
|
77
78
|
/**
|
|
78
79
|
*/
|
|
79
|
-
DomainsPublicApi.prototype.
|
|
80
|
+
DomainsPublicApi.prototype.publicDomainControllerGetDomainSalesInformationRaw = function (requestParameters, initOverrides) {
|
|
80
81
|
return __awaiter(this, void 0, void 0, function () {
|
|
81
82
|
var queryParameters, headerParameters, response;
|
|
82
83
|
return __generator(this, function (_a) {
|
|
83
84
|
switch (_a.label) {
|
|
84
85
|
case 0:
|
|
85
|
-
if (requestParameters
|
|
86
|
-
throw new runtime.RequiredError('
|
|
87
|
-
}
|
|
88
|
-
queryParameters = {};
|
|
89
|
-
if (requestParameters.domain !== undefined) {
|
|
90
|
-
queryParameters['domain'] = requestParameters.domain;
|
|
91
|
-
}
|
|
92
|
-
headerParameters = {};
|
|
93
|
-
return [4 /*yield*/, this.request({
|
|
94
|
-
path: "/caddy",
|
|
95
|
-
method: 'GET',
|
|
96
|
-
headers: headerParameters,
|
|
97
|
-
query: queryParameters,
|
|
98
|
-
}, initOverrides)];
|
|
99
|
-
case 1:
|
|
100
|
-
response = _a.sent();
|
|
101
|
-
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
*/
|
|
108
|
-
DomainsPublicApi.prototype.publicDomainControllerGetCaddy = function (requestParameters, initOverrides) {
|
|
109
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
110
|
-
return __generator(this, function (_a) {
|
|
111
|
-
switch (_a.label) {
|
|
112
|
-
case 0: return [4 /*yield*/, this.publicDomainControllerGetCaddyRaw(requestParameters, initOverrides)];
|
|
113
|
-
case 1:
|
|
114
|
-
_a.sent();
|
|
115
|
-
return [2 /*return*/];
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
*/
|
|
122
|
-
DomainsPublicApi.prototype.publicDomainControllerGetDomainIdentifierRaw = function (requestParameters, initOverrides) {
|
|
123
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
124
|
-
var queryParameters, headerParameters, response;
|
|
125
|
-
return __generator(this, function (_a) {
|
|
126
|
-
switch (_a.label) {
|
|
127
|
-
case 0:
|
|
128
|
-
if (requestParameters.domainName === null || requestParameters.domainName === undefined) {
|
|
129
|
-
throw new runtime.RequiredError('domainName', 'Required parameter requestParameters.domainName was null or undefined when calling publicDomainControllerGetDomainIdentifier.');
|
|
86
|
+
if (requestParameters['domainName'] == null) {
|
|
87
|
+
throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling publicDomainControllerGetDomainSalesInformation().');
|
|
130
88
|
}
|
|
131
89
|
queryParameters = {};
|
|
132
90
|
headerParameters = {};
|
|
133
91
|
return [4 /*yield*/, this.request({
|
|
134
|
-
path: "/domains/by-name/{domainName}/
|
|
92
|
+
path: "/domains/by-name/{domainName}/sales-information".replace("{".concat("domainName", "}"), encodeURIComponent(String(requestParameters['domainName']))),
|
|
135
93
|
method: 'GET',
|
|
136
94
|
headers: headerParameters,
|
|
137
95
|
query: queryParameters,
|
|
138
96
|
}, initOverrides)];
|
|
139
97
|
case 1:
|
|
140
98
|
response = _a.sent();
|
|
141
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response)];
|
|
99
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DomainSalesInformationDtoFromJSON)(jsonValue); })];
|
|
142
100
|
}
|
|
143
101
|
});
|
|
144
102
|
});
|
|
145
103
|
};
|
|
146
104
|
/**
|
|
147
105
|
*/
|
|
148
|
-
DomainsPublicApi.prototype.
|
|
106
|
+
DomainsPublicApi.prototype.publicDomainControllerGetDomainSalesInformation = function (requestParameters, initOverrides) {
|
|
149
107
|
return __awaiter(this, void 0, void 0, function () {
|
|
150
108
|
var response;
|
|
151
109
|
return __generator(this, function (_a) {
|
|
152
110
|
switch (_a.label) {
|
|
153
|
-
case 0: return [4 /*yield*/, this.
|
|
111
|
+
case 0: return [4 /*yield*/, this.publicDomainControllerGetDomainSalesInformationRaw(requestParameters, initOverrides)];
|
|
154
112
|
case 1:
|
|
155
113
|
response = _a.sent();
|
|
156
114
|
return [4 /*yield*/, response.value()];
|
package/dist/apis/LeadsApi.js
CHANGED
|
@@ -84,11 +84,11 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
84
84
|
return __generator(this, function (_a) {
|
|
85
85
|
switch (_a.label) {
|
|
86
86
|
case 0:
|
|
87
|
-
if (requestParameters
|
|
88
|
-
throw new runtime.RequiredError('leadId', 'Required parameter
|
|
87
|
+
if (requestParameters['leadId'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling createMessage().');
|
|
89
89
|
}
|
|
90
|
-
if (requestParameters
|
|
91
|
-
throw new runtime.RequiredError('createLeadMessageInput', 'Required parameter
|
|
90
|
+
if (requestParameters['createLeadMessageInput'] == null) {
|
|
91
|
+
throw new runtime.RequiredError('createLeadMessageInput', 'Required parameter "createLeadMessageInput" was null or undefined when calling createMessage().');
|
|
92
92
|
}
|
|
93
93
|
queryParameters = {};
|
|
94
94
|
headerParameters = {};
|
|
@@ -103,11 +103,11 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
103
103
|
}
|
|
104
104
|
_a.label = 2;
|
|
105
105
|
case 2: return [4 /*yield*/, this.request({
|
|
106
|
-
path: "/leads/{leadId}/messages".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters
|
|
106
|
+
path: "/leads/{leadId}/messages".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
|
|
107
107
|
method: 'POST',
|
|
108
108
|
headers: headerParameters,
|
|
109
109
|
query: queryParameters,
|
|
110
|
-
body: (0, index_1.CreateLeadMessageInputToJSON)(requestParameters
|
|
110
|
+
body: (0, index_1.CreateLeadMessageInputToJSON)(requestParameters['createLeadMessageInput']),
|
|
111
111
|
}, initOverrides)];
|
|
112
112
|
case 3:
|
|
113
113
|
response = _a.sent();
|
|
@@ -142,8 +142,8 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
142
142
|
return __generator(this, function (_a) {
|
|
143
143
|
switch (_a.label) {
|
|
144
144
|
case 0:
|
|
145
|
-
if (requestParameters
|
|
146
|
-
throw new runtime.RequiredError('leadId', 'Required parameter
|
|
145
|
+
if (requestParameters['leadId'] == null) {
|
|
146
|
+
throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling get().');
|
|
147
147
|
}
|
|
148
148
|
queryParameters = {};
|
|
149
149
|
headerParameters = {};
|
|
@@ -157,7 +157,7 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
157
157
|
}
|
|
158
158
|
_a.label = 2;
|
|
159
159
|
case 2: return [4 /*yield*/, this.request({
|
|
160
|
-
path: "/leads/{leadId}".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters
|
|
160
|
+
path: "/leads/{leadId}".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
|
|
161
161
|
method: 'GET',
|
|
162
162
|
headers: headerParameters,
|
|
163
163
|
query: queryParameters,
|
|
@@ -195,8 +195,8 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
195
195
|
return __generator(this, function (_a) {
|
|
196
196
|
switch (_a.label) {
|
|
197
197
|
case 0:
|
|
198
|
-
if (requestParameters
|
|
199
|
-
throw new runtime.RequiredError('leadId', 'Required parameter
|
|
198
|
+
if (requestParameters['leadId'] == null) {
|
|
199
|
+
throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling getMessages().');
|
|
200
200
|
}
|
|
201
201
|
queryParameters = {};
|
|
202
202
|
headerParameters = {};
|
|
@@ -210,7 +210,7 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
210
210
|
}
|
|
211
211
|
_a.label = 2;
|
|
212
212
|
case 2: return [4 /*yield*/, this.request({
|
|
213
|
-
path: "/leads/{leadId}/messages".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters
|
|
213
|
+
path: "/leads/{leadId}/messages".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
|
|
214
214
|
method: 'GET',
|
|
215
215
|
headers: headerParameters,
|
|
216
216
|
query: queryParameters,
|
|
@@ -298,11 +298,11 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
298
298
|
return __generator(this, function (_a) {
|
|
299
299
|
switch (_a.label) {
|
|
300
300
|
case 0:
|
|
301
|
-
if (requestParameters
|
|
302
|
-
throw new runtime.RequiredError('leadId', 'Required parameter
|
|
301
|
+
if (requestParameters['leadId'] == null) {
|
|
302
|
+
throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling putOffer().');
|
|
303
303
|
}
|
|
304
|
-
if (requestParameters
|
|
305
|
-
throw new runtime.RequiredError('putLeadInput', 'Required parameter
|
|
304
|
+
if (requestParameters['putLeadInput'] == null) {
|
|
305
|
+
throw new runtime.RequiredError('putLeadInput', 'Required parameter "putLeadInput" was null or undefined when calling putOffer().');
|
|
306
306
|
}
|
|
307
307
|
queryParameters = {};
|
|
308
308
|
headerParameters = {};
|
|
@@ -317,11 +317,11 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
317
317
|
}
|
|
318
318
|
_a.label = 2;
|
|
319
319
|
case 2: return [4 /*yield*/, this.request({
|
|
320
|
-
path: "/leads/{leadId}/offer".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters
|
|
320
|
+
path: "/leads/{leadId}/offer".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
|
|
321
321
|
method: 'PUT',
|
|
322
322
|
headers: headerParameters,
|
|
323
323
|
query: queryParameters,
|
|
324
|
-
body: (0, index_1.PutLeadInputToJSON)(requestParameters
|
|
324
|
+
body: (0, index_1.PutLeadInputToJSON)(requestParameters['putLeadInput']),
|
|
325
325
|
}, initOverrides)];
|
|
326
326
|
case 3:
|
|
327
327
|
response = _a.sent();
|
|
@@ -84,8 +84,8 @@ var LeadsPublicApi = /** @class */ (function (_super) {
|
|
|
84
84
|
return __generator(this, function (_a) {
|
|
85
85
|
switch (_a.label) {
|
|
86
86
|
case 0:
|
|
87
|
-
if (requestParameters
|
|
88
|
-
throw new runtime.RequiredError('createLeadInput', 'Required parameter
|
|
87
|
+
if (requestParameters['createLeadInput'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('createLeadInput', 'Required parameter "createLeadInput" was null or undefined when calling createLead().');
|
|
89
89
|
}
|
|
90
90
|
queryParameters = {};
|
|
91
91
|
headerParameters = {};
|
|
@@ -95,7 +95,7 @@ var LeadsPublicApi = /** @class */ (function (_super) {
|
|
|
95
95
|
method: 'POST',
|
|
96
96
|
headers: headerParameters,
|
|
97
97
|
query: queryParameters,
|
|
98
|
-
body: (0, index_1.CreateLeadInputToJSON)(requestParameters
|
|
98
|
+
body: (0, index_1.CreateLeadInputToJSON)(requestParameters['createLeadInput']),
|
|
99
99
|
}, initOverrides)];
|
|
100
100
|
case 1:
|
|
101
101
|
response = _a.sent();
|