@randock/nameshift-api-client 0.0.412 → 0.0.414
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/AddressPublicApi.d.ts +30 -0
- package/dist/apis/AddressPublicApi.js +133 -0
- package/dist/apis/AdminApi.d.ts +15 -1
- package/dist/apis/AdminApi.js +63 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AdminLeadListItemBuyerDto.d.ts +68 -0
- package/dist/models/AdminLeadListItemBuyerDto.js +75 -0
- package/dist/models/AdminLeadListItemDomainDto.d.ts +44 -0
- package/dist/models/AdminLeadListItemDomainDto.js +59 -0
- package/dist/models/AdminLeadListItemDto.d.ts +181 -0
- package/dist/models/AdminLeadListItemDto.js +164 -0
- package/dist/models/ListLeads200Response.d.ts +47 -0
- package/dist/models/ListLeads200Response.js +62 -0
- package/dist/models/StateDto.d.ts +44 -0
- package/dist/models/StateDto.js +59 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/AddressPublicApi.ts +86 -0
- package/src/apis/AdminApi.ts +60 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AdminLeadListItemBuyerDto.ts +120 -0
- package/src/models/AdminLeadListItemDomainDto.ts +84 -0
- package/src/models/AdminLeadListItemDto.ts +295 -0
- package/src/models/ListLeads200Response.ts +106 -0
- package/src/models/StateDto.ts +84 -0
- package/src/models/index.ts +5 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -5,6 +5,7 @@ README.md
|
|
|
5
5
|
package.json
|
|
6
6
|
src/apis/AccountsApi.ts
|
|
7
7
|
src/apis/AccountsPublicApi.ts
|
|
8
|
+
src/apis/AddressPublicApi.ts
|
|
8
9
|
src/apis/AdminApi.ts
|
|
9
10
|
src/apis/AuctionsApi.ts
|
|
10
11
|
src/apis/AuctionsPublicApi.ts
|
|
@@ -86,6 +87,9 @@ src/models/AdminCompanyStatsDto.ts
|
|
|
86
87
|
src/models/AdminCompanyStatsLedger.ts
|
|
87
88
|
src/models/AdminDashboardStatsDto.ts
|
|
88
89
|
src/models/AdminGetAllDomainTransfers200Response.ts
|
|
90
|
+
src/models/AdminLeadListItemBuyerDto.ts
|
|
91
|
+
src/models/AdminLeadListItemDomainDto.ts
|
|
92
|
+
src/models/AdminLeadListItemDto.ts
|
|
89
93
|
src/models/AdminListAccountDto.ts
|
|
90
94
|
src/models/AdminVerificationDepositDto.ts
|
|
91
95
|
src/models/AffiliatesStatsDto.ts
|
|
@@ -316,6 +320,7 @@ src/models/ListBuyerNotifications200Response.ts
|
|
|
316
320
|
src/models/ListDomains200Response.ts
|
|
317
321
|
src/models/ListDomainsWithUpdatedPricing200Response.ts
|
|
318
322
|
src/models/ListLeadMessagesDto.ts
|
|
323
|
+
src/models/ListLeads200Response.ts
|
|
319
324
|
src/models/ListLeadsResultItem.ts
|
|
320
325
|
src/models/ListNotifications200Response.ts
|
|
321
326
|
src/models/ListRelatedLeads200Response.ts
|
|
@@ -427,6 +432,7 @@ src/models/SetNewPasswordInput.ts
|
|
|
427
432
|
src/models/SetPayoutProviderInput.ts
|
|
428
433
|
src/models/SortDto.ts
|
|
429
434
|
src/models/StartAuctionInput.ts
|
|
435
|
+
src/models/StateDto.ts
|
|
430
436
|
src/models/StatsFilterInputDateRange.ts
|
|
431
437
|
src/models/StoreBuyerLocaleInput.ts
|
|
432
438
|
src/models/StoreUserLocaleInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.414
|
|
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.414 --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
|
+
7a6362c975c39ecae976049bec9d06b8d81c21fce8e40fb6015fd66b20edbc02791e1a5bec27c143a08f2906dc9bf596
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { StateDto } from '../models/index';
|
|
14
|
+
export interface AddressPublicApiListStatesByCountryRequest {
|
|
15
|
+
countryCode: string;
|
|
16
|
+
locale: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export declare class AddressPublicApi extends runtime.BaseAPI {
|
|
22
|
+
/**
|
|
23
|
+
* List states by country code
|
|
24
|
+
*/
|
|
25
|
+
listStatesByCountryRaw(requestParameters: AddressPublicApiListStatesByCountryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<StateDto>>>;
|
|
26
|
+
/**
|
|
27
|
+
* List states by country code
|
|
28
|
+
*/
|
|
29
|
+
listStatesByCountry(requestParameters: AddressPublicApiListStatesByCountryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<StateDto>>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.AddressPublicApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var AddressPublicApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(AddressPublicApi, _super);
|
|
75
|
+
function AddressPublicApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* List states by country code
|
|
80
|
+
*/
|
|
81
|
+
AddressPublicApi.prototype.listStatesByCountryRaw = function (requestParameters, initOverrides) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, response;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
switch (_a.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
if (requestParameters['countryCode'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('countryCode', 'Required parameter "countryCode" was null or undefined when calling listStatesByCountry().');
|
|
89
|
+
}
|
|
90
|
+
if (requestParameters['locale'] == null) {
|
|
91
|
+
throw new runtime.RequiredError('locale', 'Required parameter "locale" was null or undefined when calling listStatesByCountry().');
|
|
92
|
+
}
|
|
93
|
+
queryParameters = {};
|
|
94
|
+
if (requestParameters['countryCode'] != null) {
|
|
95
|
+
queryParameters['countryCode'] = requestParameters['countryCode'];
|
|
96
|
+
}
|
|
97
|
+
if (requestParameters['locale'] != null) {
|
|
98
|
+
queryParameters['locale'] = requestParameters['locale'];
|
|
99
|
+
}
|
|
100
|
+
headerParameters = {};
|
|
101
|
+
return [4 /*yield*/, this.request({
|
|
102
|
+
path: "/address/states",
|
|
103
|
+
method: 'GET',
|
|
104
|
+
headers: headerParameters,
|
|
105
|
+
query: queryParameters,
|
|
106
|
+
}, initOverrides)];
|
|
107
|
+
case 1:
|
|
108
|
+
response = _a.sent();
|
|
109
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.StateDtoFromJSON); })];
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* List states by country code
|
|
116
|
+
*/
|
|
117
|
+
AddressPublicApi.prototype.listStatesByCountry = function (requestParameters, initOverrides) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
119
|
+
var response;
|
|
120
|
+
return __generator(this, function (_a) {
|
|
121
|
+
switch (_a.label) {
|
|
122
|
+
case 0: return [4 /*yield*/, this.listStatesByCountryRaw(requestParameters, initOverrides)];
|
|
123
|
+
case 1:
|
|
124
|
+
response = _a.sent();
|
|
125
|
+
return [4 /*yield*/, response.value()];
|
|
126
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
};
|
|
131
|
+
return AddressPublicApi;
|
|
132
|
+
}(runtime.BaseAPI));
|
|
133
|
+
exports.AddressPublicApi = AddressPublicApi;
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AccountNameshiftCommissionByTypeDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, BulkCommissionActionsInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadMessageDto, LedgerMutationsDto, ListAccounts200Response, ListBankAccounts200Response, ListDomains200Response, ObjectId, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateChallengeInput, UpdateFeatureFlagInput } from '../models/index';
|
|
13
|
+
import type { AccountNameshiftCommissionByTypeDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, BulkCommissionActionsInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadMessageDto, LedgerMutationsDto, ListAccounts200Response, ListBankAccounts200Response, ListDomains200Response, ListLeads200Response, ObjectId, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateChallengeInput, UpdateFeatureFlagInput } from '../models/index';
|
|
14
14
|
export interface AdminApiAdminDeleteAuctionRequest {
|
|
15
15
|
auctionId: string;
|
|
16
16
|
}
|
|
@@ -150,6 +150,12 @@ export interface AdminApiListDomainsRequest {
|
|
|
150
150
|
limit?: number;
|
|
151
151
|
sortBy?: Array<string>;
|
|
152
152
|
}
|
|
153
|
+
export interface AdminApiListLeadsRequest {
|
|
154
|
+
filter?: object;
|
|
155
|
+
page?: number;
|
|
156
|
+
limit?: number;
|
|
157
|
+
sortBy?: Array<string>;
|
|
158
|
+
}
|
|
153
159
|
export interface AdminApiListLedgerMutationsRequest {
|
|
154
160
|
ledgerId: string;
|
|
155
161
|
page: number;
|
|
@@ -507,6 +513,14 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
507
513
|
*
|
|
508
514
|
*/
|
|
509
515
|
listDomains(requestParameters?: AdminApiListDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListDomains200Response>;
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
*/
|
|
519
|
+
listLeadsRaw(requestParameters: AdminApiListLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListLeads200Response>>;
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
*/
|
|
523
|
+
listLeads(requestParameters?: AdminApiListLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListLeads200Response>;
|
|
510
524
|
/**
|
|
511
525
|
*
|
|
512
526
|
*/
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -2089,6 +2089,69 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
2089
2089
|
});
|
|
2090
2090
|
});
|
|
2091
2091
|
};
|
|
2092
|
+
/**
|
|
2093
|
+
*
|
|
2094
|
+
*/
|
|
2095
|
+
AdminApi.prototype.listLeadsRaw = function (requestParameters, initOverrides) {
|
|
2096
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2097
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
2098
|
+
return __generator(this, function (_a) {
|
|
2099
|
+
switch (_a.label) {
|
|
2100
|
+
case 0:
|
|
2101
|
+
queryParameters = {};
|
|
2102
|
+
if (requestParameters['filter'] != null) {
|
|
2103
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
2104
|
+
}
|
|
2105
|
+
if (requestParameters['page'] != null) {
|
|
2106
|
+
queryParameters['page'] = requestParameters['page'];
|
|
2107
|
+
}
|
|
2108
|
+
if (requestParameters['limit'] != null) {
|
|
2109
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
2110
|
+
}
|
|
2111
|
+
if (requestParameters['sortBy'] != null) {
|
|
2112
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
2113
|
+
}
|
|
2114
|
+
headerParameters = {};
|
|
2115
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
2116
|
+
token = this.configuration.accessToken;
|
|
2117
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
2118
|
+
case 1:
|
|
2119
|
+
tokenString = _a.sent();
|
|
2120
|
+
if (tokenString) {
|
|
2121
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
2122
|
+
}
|
|
2123
|
+
_a.label = 2;
|
|
2124
|
+
case 2: return [4 /*yield*/, this.request({
|
|
2125
|
+
path: "/admin/leads",
|
|
2126
|
+
method: 'GET',
|
|
2127
|
+
headers: headerParameters,
|
|
2128
|
+
query: queryParameters,
|
|
2129
|
+
}, initOverrides)];
|
|
2130
|
+
case 3:
|
|
2131
|
+
response = _a.sent();
|
|
2132
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ListLeads200ResponseFromJSON)(jsonValue); })];
|
|
2133
|
+
}
|
|
2134
|
+
});
|
|
2135
|
+
});
|
|
2136
|
+
};
|
|
2137
|
+
/**
|
|
2138
|
+
*
|
|
2139
|
+
*/
|
|
2140
|
+
AdminApi.prototype.listLeads = function () {
|
|
2141
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
2142
|
+
var response;
|
|
2143
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
2144
|
+
return __generator(this, function (_a) {
|
|
2145
|
+
switch (_a.label) {
|
|
2146
|
+
case 0: return [4 /*yield*/, this.listLeadsRaw(requestParameters, initOverrides)];
|
|
2147
|
+
case 1:
|
|
2148
|
+
response = _a.sent();
|
|
2149
|
+
return [4 /*yield*/, response.value()];
|
|
2150
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
2151
|
+
}
|
|
2152
|
+
});
|
|
2153
|
+
});
|
|
2154
|
+
};
|
|
2092
2155
|
/**
|
|
2093
2156
|
*
|
|
2094
2157
|
*/
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AccountsApi"), exports);
|
|
20
20
|
__exportStar(require("./AccountsPublicApi"), exports);
|
|
21
|
+
__exportStar(require("./AddressPublicApi"), exports);
|
|
21
22
|
__exportStar(require("./AdminApi"), exports);
|
|
22
23
|
__exportStar(require("./AuctionsApi"), exports);
|
|
23
24
|
__exportStar(require("./AuctionsPublicApi"), exports);
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminLeadListItemBuyerDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminLeadListItemBuyerDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AdminLeadListItemBuyerDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AdminLeadListItemBuyerDto
|
|
28
|
+
*/
|
|
29
|
+
ipCountryCode: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AdminLeadListItemBuyerDto
|
|
34
|
+
*/
|
|
35
|
+
companyName: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AdminLeadListItemBuyerDto
|
|
40
|
+
*/
|
|
41
|
+
phoneNumber: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AdminLeadListItemBuyerDto
|
|
46
|
+
*/
|
|
47
|
+
initials: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AdminLeadListItemBuyerDto
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AdminLeadListItemBuyerDto
|
|
58
|
+
*/
|
|
59
|
+
email: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the AdminLeadListItemBuyerDto interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfAdminLeadListItemBuyerDto(value: object): value is AdminLeadListItemBuyerDto;
|
|
65
|
+
export declare function AdminLeadListItemBuyerDtoFromJSON(json: any): AdminLeadListItemBuyerDto;
|
|
66
|
+
export declare function AdminLeadListItemBuyerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminLeadListItemBuyerDto;
|
|
67
|
+
export declare function AdminLeadListItemBuyerDtoToJSON(json: any): AdminLeadListItemBuyerDto;
|
|
68
|
+
export declare function AdminLeadListItemBuyerDtoToJSONTyped(value?: AdminLeadListItemBuyerDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAdminLeadListItemBuyerDto = instanceOfAdminLeadListItemBuyerDto;
|
|
17
|
+
exports.AdminLeadListItemBuyerDtoFromJSON = AdminLeadListItemBuyerDtoFromJSON;
|
|
18
|
+
exports.AdminLeadListItemBuyerDtoFromJSONTyped = AdminLeadListItemBuyerDtoFromJSONTyped;
|
|
19
|
+
exports.AdminLeadListItemBuyerDtoToJSON = AdminLeadListItemBuyerDtoToJSON;
|
|
20
|
+
exports.AdminLeadListItemBuyerDtoToJSONTyped = AdminLeadListItemBuyerDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AdminLeadListItemBuyerDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAdminLeadListItemBuyerDto(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('ipCountryCode' in value) || value['ipCountryCode'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('phoneNumber' in value) || value['phoneNumber'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('initials' in value) || value['initials'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function AdminLeadListItemBuyerDtoFromJSON(json) {
|
|
42
|
+
return AdminLeadListItemBuyerDtoFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AdminLeadListItemBuyerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'ipCountryCode': json['ipCountryCode'],
|
|
51
|
+
'companyName': json['companyName'],
|
|
52
|
+
'phoneNumber': json['phoneNumber'],
|
|
53
|
+
'initials': json['initials'],
|
|
54
|
+
'name': json['name'],
|
|
55
|
+
'email': json['email'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function AdminLeadListItemBuyerDtoToJSON(json) {
|
|
59
|
+
return AdminLeadListItemBuyerDtoToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function AdminLeadListItemBuyerDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'ipCountryCode': value['ipCountryCode'],
|
|
69
|
+
'companyName': value['companyName'],
|
|
70
|
+
'phoneNumber': value['phoneNumber'],
|
|
71
|
+
'initials': value['initials'],
|
|
72
|
+
'name': value['name'],
|
|
73
|
+
'email': value['email'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminLeadListItemDomainDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminLeadListItemDomainDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AdminLeadListItemDomainDto
|
|
22
|
+
*/
|
|
23
|
+
tld: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AdminLeadListItemDomainDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AdminLeadListItemDomainDto
|
|
34
|
+
*/
|
|
35
|
+
displayName: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AdminLeadListItemDomainDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAdminLeadListItemDomainDto(value: object): value is AdminLeadListItemDomainDto;
|
|
41
|
+
export declare function AdminLeadListItemDomainDtoFromJSON(json: any): AdminLeadListItemDomainDto;
|
|
42
|
+
export declare function AdminLeadListItemDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminLeadListItemDomainDto;
|
|
43
|
+
export declare function AdminLeadListItemDomainDtoToJSON(json: any): AdminLeadListItemDomainDto;
|
|
44
|
+
export declare function AdminLeadListItemDomainDtoToJSONTyped(value?: AdminLeadListItemDomainDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAdminLeadListItemDomainDto = instanceOfAdminLeadListItemDomainDto;
|
|
17
|
+
exports.AdminLeadListItemDomainDtoFromJSON = AdminLeadListItemDomainDtoFromJSON;
|
|
18
|
+
exports.AdminLeadListItemDomainDtoFromJSONTyped = AdminLeadListItemDomainDtoFromJSONTyped;
|
|
19
|
+
exports.AdminLeadListItemDomainDtoToJSON = AdminLeadListItemDomainDtoToJSON;
|
|
20
|
+
exports.AdminLeadListItemDomainDtoToJSONTyped = AdminLeadListItemDomainDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AdminLeadListItemDomainDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAdminLeadListItemDomainDto(value) {
|
|
25
|
+
if (!('tld' in value) || value['tld'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function AdminLeadListItemDomainDtoFromJSON(json) {
|
|
34
|
+
return AdminLeadListItemDomainDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function AdminLeadListItemDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'tld': json['tld'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'displayName': json['displayName'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function AdminLeadListItemDomainDtoToJSON(json) {
|
|
47
|
+
return AdminLeadListItemDomainDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AdminLeadListItemDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'tld': value['tld'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'displayName': value['displayName'],
|
|
58
|
+
};
|
|
59
|
+
}
|