@randock/nameshift-api-client 0.0.564 → 0.0.565
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 +5 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +36 -1
- package/dist/apis/AdminApi.js +133 -0
- package/dist/apis/SettingsSearchApi.d.ts +31 -0
- package/dist/apis/SettingsSearchApi.js +135 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/GetSettingsSearchMisses200Response.d.ts +47 -0
- package/dist/models/GetSettingsSearchMisses200Response.js +62 -0
- package/dist/models/RecordSettingsSearchMissInput.d.ts +38 -0
- package/dist/models/RecordSettingsSearchMissInput.js +55 -0
- package/dist/models/SettingsSearchMissCountDto.d.ts +50 -0
- package/dist/models/SettingsSearchMissCountDto.js +63 -0
- package/dist/models/SettingsSearchMissDto.d.ts +56 -0
- package/dist/models/SettingsSearchMissDto.js +67 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +129 -0
- package/src/apis/SettingsSearchApi.ts +82 -0
- package/src/apis/index.ts +1 -0
- package/src/models/GetSettingsSearchMisses200Response.ts +106 -0
- package/src/models/RecordSettingsSearchMissInput.ts +75 -0
- package/src/models/SettingsSearchMissCountDto.ts +93 -0
- package/src/models/SettingsSearchMissDto.ts +102 -0
- package/src/models/index.ts +4 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -37,6 +37,7 @@ src/apis/OrdersPublicApi.ts
|
|
|
37
37
|
src/apis/PartnerApi.ts
|
|
38
38
|
src/apis/QuickRepliesApi.ts
|
|
39
39
|
src/apis/SalesPublicApi.ts
|
|
40
|
+
src/apis/SettingsSearchApi.ts
|
|
40
41
|
src/apis/StatsApi.ts
|
|
41
42
|
src/apis/SubscriptionsApi.ts
|
|
42
43
|
src/apis/SubscriptionsPublicApi.ts
|
|
@@ -423,6 +424,7 @@ src/models/GetMarketingSales200Response.ts
|
|
|
423
424
|
src/models/GetQuickReplies200Response.ts
|
|
424
425
|
src/models/GetSellerChallengesListDto.ts
|
|
425
426
|
src/models/GetSellerChallengesListDtoChallengesInner.ts
|
|
427
|
+
src/models/GetSettingsSearchMisses200Response.ts
|
|
426
428
|
src/models/HistoricalMetrics.ts
|
|
427
429
|
src/models/HttpException.ts
|
|
428
430
|
src/models/ImportDomainsResponseDto.ts
|
|
@@ -634,6 +636,7 @@ src/models/QuickReplyInput.ts
|
|
|
634
636
|
src/models/QuickReplyVariableEnum.ts
|
|
635
637
|
src/models/ReauthenticateWithPasskeyInput.ts
|
|
636
638
|
src/models/ReauthenticationDto.ts
|
|
639
|
+
src/models/RecordSettingsSearchMissInput.ts
|
|
637
640
|
src/models/RecoveryCodesDto.ts
|
|
638
641
|
src/models/RegisterAccountInput.ts
|
|
639
642
|
src/models/RegisterAccountPortfolioSizeInput.ts
|
|
@@ -706,6 +709,8 @@ src/models/SetDomainTransferConfirmationInput.ts
|
|
|
706
709
|
src/models/SetNewPasswordInput.ts
|
|
707
710
|
src/models/SetPayoutFrequencyInput.ts
|
|
708
711
|
src/models/SetPayoutProviderInput.ts
|
|
712
|
+
src/models/SettingsSearchMissCountDto.ts
|
|
713
|
+
src/models/SettingsSearchMissDto.ts
|
|
709
714
|
src/models/SimulateAutomationsInput.ts
|
|
710
715
|
src/models/SimulateCommissionInput.ts
|
|
711
716
|
src/models/StartAuctionInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.565
|
|
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.565 --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
|
+
ac37b0604cc513dba155fb70acaba15015ba113420e96af7ed3b93bc2b2f8a5056730a4f2695e18e941f0b6ec670fc81
|
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 { AcceptHighestBuyerLeadOfferInput, AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AccountsStatsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminGetAllDomainTransfers200Response, AdminLandingDesignStatsDto, AdminListBrokeredLeads200Response, AdminMarketplaceDto, AdminUserNewsletterInput, AdminUserSecurityDto, AffiliatesStatsDto, AuctionsStatsDto, BulkCommissionActionsInput, ChangeDomainAppraisalRequestStatusInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CommissionsStatsDto, CreateAccountNoteInput, CreateChallengeInput, CreateNewsletterInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAdminDomainAppraisalRequests200Response, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LeadOfferSummaryDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminLandingDesignAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListBuyers200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ListUserLoginAttempts200Response, NewsStoryDto, NewsletterDto, NewsletterPreviewDto, ObjectId, OverrideBrokeredLeadNameshiftCommissionInput, PaySellerInvoicesInput, PaymentMethodsStatsDto, PlatformConfigurationBlock, PlatformConfigurationDto, SalesStatsDto, SellerLeadDetails, SellerPayoutPreviewDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SendNewsletterPreviewInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateNewsletterInput, UpdatePlatformConfigurationInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
|
|
13
|
+
import type { AcceptHighestBuyerLeadOfferInput, AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AccountsStatsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminGetAllDomainTransfers200Response, AdminLandingDesignStatsDto, AdminListBrokeredLeads200Response, AdminMarketplaceDto, AdminUserNewsletterInput, AdminUserSecurityDto, AffiliatesStatsDto, AuctionsStatsDto, BulkCommissionActionsInput, ChangeDomainAppraisalRequestStatusInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CommissionsStatsDto, CreateAccountNoteInput, CreateChallengeInput, CreateNewsletterInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAdminDomainAppraisalRequests200Response, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, GetSettingsSearchMisses200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LeadOfferSummaryDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminLandingDesignAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListBuyers200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ListUserLoginAttempts200Response, NewsStoryDto, NewsletterDto, NewsletterPreviewDto, ObjectId, OverrideBrokeredLeadNameshiftCommissionInput, PaySellerInvoicesInput, PaymentMethodsStatsDto, PlatformConfigurationBlock, PlatformConfigurationDto, SalesStatsDto, SellerLeadDetails, SellerPayoutPreviewDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SendNewsletterPreviewInput, SettingsSearchMissCountDto, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateNewsletterInput, UpdatePlatformConfigurationInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
|
|
14
14
|
export interface AdminApiAcceptHighestBuyerAdminLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
acceptHighestBuyerLeadOfferInput: AcceptHighestBuyerLeadOfferInput;
|
|
@@ -264,6 +264,21 @@ export interface AdminApiGetLedgerMutationAttachmentRequest {
|
|
|
264
264
|
export interface AdminApiGetNewsletterRequest {
|
|
265
265
|
newsletterId: string;
|
|
266
266
|
}
|
|
267
|
+
export interface AdminApiGetSettingsSearchMissCountsRequest {
|
|
268
|
+
from?: Date;
|
|
269
|
+
to?: Date;
|
|
270
|
+
limit?: number;
|
|
271
|
+
}
|
|
272
|
+
export interface AdminApiGetSettingsSearchMissesRequest {
|
|
273
|
+
from?: Date;
|
|
274
|
+
to?: Date;
|
|
275
|
+
filter?: {
|
|
276
|
+
[key: string]: string;
|
|
277
|
+
};
|
|
278
|
+
page?: number;
|
|
279
|
+
limit?: number;
|
|
280
|
+
sortBy?: Array<string>;
|
|
281
|
+
}
|
|
267
282
|
export interface AdminApiGetSubscriptionDetailsRequest {
|
|
268
283
|
subscriptionId: string;
|
|
269
284
|
}
|
|
@@ -1073,6 +1088,26 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
1073
1088
|
* Get a newsletter
|
|
1074
1089
|
*/
|
|
1075
1090
|
getNewsletter(requestParameters: AdminApiGetNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NewsletterDto>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Groups the recorded searches by query, most frequent first, capped at `limit` queries.
|
|
1093
|
+
* Count settings searches without results per query
|
|
1094
|
+
*/
|
|
1095
|
+
getSettingsSearchMissCountsRaw(requestParameters: AdminApiGetSettingsSearchMissCountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SettingsSearchMissCountDto>>>;
|
|
1096
|
+
/**
|
|
1097
|
+
* Groups the recorded searches by query, most frequent first, capped at `limit` queries.
|
|
1098
|
+
* Count settings searches without results per query
|
|
1099
|
+
*/
|
|
1100
|
+
getSettingsSearchMissCounts(requestParameters?: AdminApiGetSettingsSearchMissCountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SettingsSearchMissCountDto>>;
|
|
1101
|
+
/**
|
|
1102
|
+
* Lists the recorded settings searches that returned nothing, newest first.
|
|
1103
|
+
* List settings searches without results
|
|
1104
|
+
*/
|
|
1105
|
+
getSettingsSearchMissesRaw(requestParameters: AdminApiGetSettingsSearchMissesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSettingsSearchMisses200Response>>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Lists the recorded settings searches that returned nothing, newest first.
|
|
1108
|
+
* List settings searches without results
|
|
1109
|
+
*/
|
|
1110
|
+
getSettingsSearchMisses(requestParameters?: AdminApiGetSettingsSearchMissesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSettingsSearchMisses200Response>;
|
|
1076
1111
|
/**
|
|
1077
1112
|
* Returns subscription information.
|
|
1078
1113
|
* Get subscription details
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -3416,6 +3416,139 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
3416
3416
|
});
|
|
3417
3417
|
});
|
|
3418
3418
|
};
|
|
3419
|
+
/**
|
|
3420
|
+
* Groups the recorded searches by query, most frequent first, capped at `limit` queries.
|
|
3421
|
+
* Count settings searches without results per query
|
|
3422
|
+
*/
|
|
3423
|
+
AdminApi.prototype.getSettingsSearchMissCountsRaw = function (requestParameters, initOverrides) {
|
|
3424
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3425
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
3426
|
+
return __generator(this, function (_a) {
|
|
3427
|
+
switch (_a.label) {
|
|
3428
|
+
case 0:
|
|
3429
|
+
queryParameters = {};
|
|
3430
|
+
if (requestParameters['from'] != null) {
|
|
3431
|
+
queryParameters['from'] = requestParameters['from'].toISOString();
|
|
3432
|
+
}
|
|
3433
|
+
if (requestParameters['to'] != null) {
|
|
3434
|
+
queryParameters['to'] = requestParameters['to'].toISOString();
|
|
3435
|
+
}
|
|
3436
|
+
if (requestParameters['limit'] != null) {
|
|
3437
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
3438
|
+
}
|
|
3439
|
+
headerParameters = {};
|
|
3440
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
3441
|
+
token = this.configuration.accessToken;
|
|
3442
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
3443
|
+
case 1:
|
|
3444
|
+
tokenString = _a.sent();
|
|
3445
|
+
if (tokenString) {
|
|
3446
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
3447
|
+
}
|
|
3448
|
+
_a.label = 2;
|
|
3449
|
+
case 2: return [4 /*yield*/, this.request({
|
|
3450
|
+
path: "/admin/settings-search-misses/counts",
|
|
3451
|
+
method: 'GET',
|
|
3452
|
+
headers: headerParameters,
|
|
3453
|
+
query: queryParameters,
|
|
3454
|
+
}, initOverrides)];
|
|
3455
|
+
case 3:
|
|
3456
|
+
response = _a.sent();
|
|
3457
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.SettingsSearchMissCountDtoFromJSON); })];
|
|
3458
|
+
}
|
|
3459
|
+
});
|
|
3460
|
+
});
|
|
3461
|
+
};
|
|
3462
|
+
/**
|
|
3463
|
+
* Groups the recorded searches by query, most frequent first, capped at `limit` queries.
|
|
3464
|
+
* Count settings searches without results per query
|
|
3465
|
+
*/
|
|
3466
|
+
AdminApi.prototype.getSettingsSearchMissCounts = function () {
|
|
3467
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
3468
|
+
var response;
|
|
3469
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
3470
|
+
return __generator(this, function (_a) {
|
|
3471
|
+
switch (_a.label) {
|
|
3472
|
+
case 0: return [4 /*yield*/, this.getSettingsSearchMissCountsRaw(requestParameters, initOverrides)];
|
|
3473
|
+
case 1:
|
|
3474
|
+
response = _a.sent();
|
|
3475
|
+
return [4 /*yield*/, response.value()];
|
|
3476
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
3477
|
+
}
|
|
3478
|
+
});
|
|
3479
|
+
});
|
|
3480
|
+
};
|
|
3481
|
+
/**
|
|
3482
|
+
* Lists the recorded settings searches that returned nothing, newest first.
|
|
3483
|
+
* List settings searches without results
|
|
3484
|
+
*/
|
|
3485
|
+
AdminApi.prototype.getSettingsSearchMissesRaw = function (requestParameters, initOverrides) {
|
|
3486
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3487
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
3488
|
+
return __generator(this, function (_a) {
|
|
3489
|
+
switch (_a.label) {
|
|
3490
|
+
case 0:
|
|
3491
|
+
queryParameters = {};
|
|
3492
|
+
if (requestParameters['from'] != null) {
|
|
3493
|
+
queryParameters['from'] = requestParameters['from'].toISOString();
|
|
3494
|
+
}
|
|
3495
|
+
if (requestParameters['to'] != null) {
|
|
3496
|
+
queryParameters['to'] = requestParameters['to'].toISOString();
|
|
3497
|
+
}
|
|
3498
|
+
if (requestParameters['filter'] != null) {
|
|
3499
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
3500
|
+
}
|
|
3501
|
+
if (requestParameters['page'] != null) {
|
|
3502
|
+
queryParameters['page'] = requestParameters['page'];
|
|
3503
|
+
}
|
|
3504
|
+
if (requestParameters['limit'] != null) {
|
|
3505
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
3506
|
+
}
|
|
3507
|
+
if (requestParameters['sortBy'] != null) {
|
|
3508
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
3509
|
+
}
|
|
3510
|
+
headerParameters = {};
|
|
3511
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
3512
|
+
token = this.configuration.accessToken;
|
|
3513
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
3514
|
+
case 1:
|
|
3515
|
+
tokenString = _a.sent();
|
|
3516
|
+
if (tokenString) {
|
|
3517
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
3518
|
+
}
|
|
3519
|
+
_a.label = 2;
|
|
3520
|
+
case 2: return [4 /*yield*/, this.request({
|
|
3521
|
+
path: "/admin/settings-search-misses",
|
|
3522
|
+
method: 'GET',
|
|
3523
|
+
headers: headerParameters,
|
|
3524
|
+
query: queryParameters,
|
|
3525
|
+
}, initOverrides)];
|
|
3526
|
+
case 3:
|
|
3527
|
+
response = _a.sent();
|
|
3528
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetSettingsSearchMisses200ResponseFromJSON)(jsonValue); })];
|
|
3529
|
+
}
|
|
3530
|
+
});
|
|
3531
|
+
});
|
|
3532
|
+
};
|
|
3533
|
+
/**
|
|
3534
|
+
* Lists the recorded settings searches that returned nothing, newest first.
|
|
3535
|
+
* List settings searches without results
|
|
3536
|
+
*/
|
|
3537
|
+
AdminApi.prototype.getSettingsSearchMisses = function () {
|
|
3538
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
3539
|
+
var response;
|
|
3540
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
3541
|
+
return __generator(this, function (_a) {
|
|
3542
|
+
switch (_a.label) {
|
|
3543
|
+
case 0: return [4 /*yield*/, this.getSettingsSearchMissesRaw(requestParameters, initOverrides)];
|
|
3544
|
+
case 1:
|
|
3545
|
+
response = _a.sent();
|
|
3546
|
+
return [4 /*yield*/, response.value()];
|
|
3547
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
3548
|
+
}
|
|
3549
|
+
});
|
|
3550
|
+
});
|
|
3551
|
+
};
|
|
3419
3552
|
/**
|
|
3420
3553
|
* Returns subscription information.
|
|
3421
3554
|
* Get subscription details
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 { RecordSettingsSearchMissInput } from '../models/index';
|
|
14
|
+
export interface SettingsSearchApiRecordSettingsSearchMissRequest {
|
|
15
|
+
recordSettingsSearchMissInput: RecordSettingsSearchMissInput;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class SettingsSearchApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Records, with the seller account, a settings search that returned nothing, to learn what people cannot find. Nothing is recorded while an admin is logged in as the user; the call still answers 204.
|
|
23
|
+
* Record a settings search without results
|
|
24
|
+
*/
|
|
25
|
+
recordSettingsSearchMissRaw(requestParameters: SettingsSearchApiRecordSettingsSearchMissRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
26
|
+
/**
|
|
27
|
+
* Records, with the seller account, a settings search that returned nothing, to learn what people cannot find. Nothing is recorded while an admin is logged in as the user; the call still answers 204.
|
|
28
|
+
* Record a settings search without results
|
|
29
|
+
*/
|
|
30
|
+
recordSettingsSearchMiss(requestParameters: SettingsSearchApiRecordSettingsSearchMissRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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.SettingsSearchApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var SettingsSearchApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(SettingsSearchApi, _super);
|
|
75
|
+
function SettingsSearchApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Records, with the seller account, a settings search that returned nothing, to learn what people cannot find. Nothing is recorded while an admin is logged in as the user; the call still answers 204.
|
|
80
|
+
* Record a settings search without results
|
|
81
|
+
*/
|
|
82
|
+
SettingsSearchApi.prototype.recordSettingsSearchMissRaw = function (requestParameters, initOverrides) {
|
|
83
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
85
|
+
return __generator(this, function (_a) {
|
|
86
|
+
switch (_a.label) {
|
|
87
|
+
case 0:
|
|
88
|
+
if (requestParameters['recordSettingsSearchMissInput'] == null) {
|
|
89
|
+
throw new runtime.RequiredError('recordSettingsSearchMissInput', 'Required parameter "recordSettingsSearchMissInput" was null or undefined when calling recordSettingsSearchMiss().');
|
|
90
|
+
}
|
|
91
|
+
queryParameters = {};
|
|
92
|
+
headerParameters = {};
|
|
93
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
94
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
95
|
+
token = this.configuration.accessToken;
|
|
96
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
97
|
+
case 1:
|
|
98
|
+
tokenString = _a.sent();
|
|
99
|
+
if (tokenString) {
|
|
100
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
101
|
+
}
|
|
102
|
+
_a.label = 2;
|
|
103
|
+
case 2: return [4 /*yield*/, this.request({
|
|
104
|
+
path: "/private/settings-search-misses",
|
|
105
|
+
method: 'POST',
|
|
106
|
+
headers: headerParameters,
|
|
107
|
+
query: queryParameters,
|
|
108
|
+
body: (0, index_1.RecordSettingsSearchMissInputToJSON)(requestParameters['recordSettingsSearchMissInput']),
|
|
109
|
+
}, initOverrides)];
|
|
110
|
+
case 3:
|
|
111
|
+
response = _a.sent();
|
|
112
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Records, with the seller account, a settings search that returned nothing, to learn what people cannot find. Nothing is recorded while an admin is logged in as the user; the call still answers 204.
|
|
119
|
+
* Record a settings search without results
|
|
120
|
+
*/
|
|
121
|
+
SettingsSearchApi.prototype.recordSettingsSearchMiss = function (requestParameters, initOverrides) {
|
|
122
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
123
|
+
return __generator(this, function (_a) {
|
|
124
|
+
switch (_a.label) {
|
|
125
|
+
case 0: return [4 /*yield*/, this.recordSettingsSearchMissRaw(requestParameters, initOverrides)];
|
|
126
|
+
case 1:
|
|
127
|
+
_a.sent();
|
|
128
|
+
return [2 /*return*/];
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
return SettingsSearchApi;
|
|
134
|
+
}(runtime.BaseAPI));
|
|
135
|
+
exports.SettingsSearchApi = SettingsSearchApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export * from './OrdersPublicApi';
|
|
|
32
32
|
export * from './PartnerApi';
|
|
33
33
|
export * from './QuickRepliesApi';
|
|
34
34
|
export * from './SalesPublicApi';
|
|
35
|
+
export * from './SettingsSearchApi';
|
|
35
36
|
export * from './StatsApi';
|
|
36
37
|
export * from './SubscriptionsApi';
|
|
37
38
|
export * from './SubscriptionsPublicApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -50,6 +50,7 @@ __exportStar(require("./OrdersPublicApi"), exports);
|
|
|
50
50
|
__exportStar(require("./PartnerApi"), exports);
|
|
51
51
|
__exportStar(require("./QuickRepliesApi"), exports);
|
|
52
52
|
__exportStar(require("./SalesPublicApi"), exports);
|
|
53
|
+
__exportStar(require("./SettingsSearchApi"), exports);
|
|
53
54
|
__exportStar(require("./StatsApi"), exports);
|
|
54
55
|
__exportStar(require("./SubscriptionsApi"), exports);
|
|
55
56
|
__exportStar(require("./SubscriptionsPublicApi"), exports);
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
14
|
+
import type { SettingsSearchMissDto } from './SettingsSearchMissDto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetSettingsSearchMisses200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface GetSettingsSearchMisses200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<SettingsSearchMissDto>}
|
|
24
|
+
* @memberof GetSettingsSearchMisses200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<SettingsSearchMissDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof GetSettingsSearchMisses200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof GetSettingsSearchMisses200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetSettingsSearchMisses200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfGetSettingsSearchMisses200Response(value: object): value is GetSettingsSearchMisses200Response;
|
|
44
|
+
export declare function GetSettingsSearchMisses200ResponseFromJSON(json: any): GetSettingsSearchMisses200Response;
|
|
45
|
+
export declare function GetSettingsSearchMisses200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSettingsSearchMisses200Response;
|
|
46
|
+
export declare function GetSettingsSearchMisses200ResponseToJSON(json: any): GetSettingsSearchMisses200Response;
|
|
47
|
+
export declare function GetSettingsSearchMisses200ResponseToJSONTyped(value?: GetSettingsSearchMisses200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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.instanceOfGetSettingsSearchMisses200Response = instanceOfGetSettingsSearchMisses200Response;
|
|
17
|
+
exports.GetSettingsSearchMisses200ResponseFromJSON = GetSettingsSearchMisses200ResponseFromJSON;
|
|
18
|
+
exports.GetSettingsSearchMisses200ResponseFromJSONTyped = GetSettingsSearchMisses200ResponseFromJSONTyped;
|
|
19
|
+
exports.GetSettingsSearchMisses200ResponseToJSON = GetSettingsSearchMisses200ResponseToJSON;
|
|
20
|
+
exports.GetSettingsSearchMisses200ResponseToJSONTyped = GetSettingsSearchMisses200ResponseToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
23
|
+
var SettingsSearchMissDto_1 = require("./SettingsSearchMissDto");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GetSettingsSearchMisses200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfGetSettingsSearchMisses200Response(value) {
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('links' in value) || value['links'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function GetSettingsSearchMisses200ResponseFromJSON(json) {
|
|
37
|
+
return GetSettingsSearchMisses200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GetSettingsSearchMisses200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(SettingsSearchMissDto_1.SettingsSearchMissDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetSettingsSearchMisses200ResponseToJSON(json) {
|
|
50
|
+
return GetSettingsSearchMisses200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetSettingsSearchMisses200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(SettingsSearchMissDto_1.SettingsSearchMissDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 RecordSettingsSearchMissInput
|
|
16
|
+
*/
|
|
17
|
+
export interface RecordSettingsSearchMissInput {
|
|
18
|
+
/**
|
|
19
|
+
* What the user searched for. Trimmed; 3 to 64 characters after trimming. Longer input is rejected, not truncated.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RecordSettingsSearchMissInput
|
|
22
|
+
*/
|
|
23
|
+
query: string;
|
|
24
|
+
/**
|
|
25
|
+
* Locale of the interface the search was made in.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RecordSettingsSearchMissInput
|
|
28
|
+
*/
|
|
29
|
+
locale: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the RecordSettingsSearchMissInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfRecordSettingsSearchMissInput(value: object): value is RecordSettingsSearchMissInput;
|
|
35
|
+
export declare function RecordSettingsSearchMissInputFromJSON(json: any): RecordSettingsSearchMissInput;
|
|
36
|
+
export declare function RecordSettingsSearchMissInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordSettingsSearchMissInput;
|
|
37
|
+
export declare function RecordSettingsSearchMissInputToJSON(json: any): RecordSettingsSearchMissInput;
|
|
38
|
+
export declare function RecordSettingsSearchMissInputToJSONTyped(value?: RecordSettingsSearchMissInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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.instanceOfRecordSettingsSearchMissInput = instanceOfRecordSettingsSearchMissInput;
|
|
17
|
+
exports.RecordSettingsSearchMissInputFromJSON = RecordSettingsSearchMissInputFromJSON;
|
|
18
|
+
exports.RecordSettingsSearchMissInputFromJSONTyped = RecordSettingsSearchMissInputFromJSONTyped;
|
|
19
|
+
exports.RecordSettingsSearchMissInputToJSON = RecordSettingsSearchMissInputToJSON;
|
|
20
|
+
exports.RecordSettingsSearchMissInputToJSONTyped = RecordSettingsSearchMissInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RecordSettingsSearchMissInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRecordSettingsSearchMissInput(value) {
|
|
25
|
+
if (!('query' in value) || value['query'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('locale' in value) || value['locale'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function RecordSettingsSearchMissInputFromJSON(json) {
|
|
32
|
+
return RecordSettingsSearchMissInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function RecordSettingsSearchMissInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'query': json['query'],
|
|
40
|
+
'locale': json['locale'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function RecordSettingsSearchMissInputToJSON(json) {
|
|
44
|
+
return RecordSettingsSearchMissInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function RecordSettingsSearchMissInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'query': value['query'],
|
|
53
|
+
'locale': value['locale'],
|
|
54
|
+
};
|
|
55
|
+
}
|