@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
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RecordSettingsSearchMissInput
|
|
20
|
+
*/
|
|
21
|
+
export interface RecordSettingsSearchMissInput {
|
|
22
|
+
/**
|
|
23
|
+
* What the user searched for. Trimmed; 3 to 64 characters after trimming. Longer input is rejected, not truncated.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RecordSettingsSearchMissInput
|
|
26
|
+
*/
|
|
27
|
+
query: string;
|
|
28
|
+
/**
|
|
29
|
+
* Locale of the interface the search was made in.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof RecordSettingsSearchMissInput
|
|
32
|
+
*/
|
|
33
|
+
locale: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the RecordSettingsSearchMissInput interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfRecordSettingsSearchMissInput(value: object): value is RecordSettingsSearchMissInput {
|
|
40
|
+
if (!('query' in value) || value['query'] === undefined) return false;
|
|
41
|
+
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function RecordSettingsSearchMissInputFromJSON(json: any): RecordSettingsSearchMissInput {
|
|
46
|
+
return RecordSettingsSearchMissInputFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function RecordSettingsSearchMissInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordSettingsSearchMissInput {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'query': json['query'],
|
|
56
|
+
'locale': json['locale'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function RecordSettingsSearchMissInputToJSON(json: any): RecordSettingsSearchMissInput {
|
|
61
|
+
return RecordSettingsSearchMissInputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function RecordSettingsSearchMissInputToJSONTyped(value?: RecordSettingsSearchMissInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'query': value['query'],
|
|
72
|
+
'locale': value['locale'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SettingsSearchMissCountDto
|
|
20
|
+
*/
|
|
21
|
+
export interface SettingsSearchMissCountDto {
|
|
22
|
+
/**
|
|
23
|
+
* Trimmed, lower-cased query.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SettingsSearchMissCountDto
|
|
26
|
+
*/
|
|
27
|
+
query: string;
|
|
28
|
+
/**
|
|
29
|
+
* Number of times it came back empty.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof SettingsSearchMissCountDto
|
|
32
|
+
*/
|
|
33
|
+
count: number;
|
|
34
|
+
/**
|
|
35
|
+
* Number of distinct accounts that searched it.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof SettingsSearchMissCountDto
|
|
38
|
+
*/
|
|
39
|
+
accounts: number;
|
|
40
|
+
/**
|
|
41
|
+
* Most recent time it came back empty.
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof SettingsSearchMissCountDto
|
|
44
|
+
*/
|
|
45
|
+
lastSeenAt: Date;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the SettingsSearchMissCountDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfSettingsSearchMissCountDto(value: object): value is SettingsSearchMissCountDto {
|
|
52
|
+
if (!('query' in value) || value['query'] === undefined) return false;
|
|
53
|
+
if (!('count' in value) || value['count'] === undefined) return false;
|
|
54
|
+
if (!('accounts' in value) || value['accounts'] === undefined) return false;
|
|
55
|
+
if (!('lastSeenAt' in value) || value['lastSeenAt'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function SettingsSearchMissCountDtoFromJSON(json: any): SettingsSearchMissCountDto {
|
|
60
|
+
return SettingsSearchMissCountDtoFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SettingsSearchMissCountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsSearchMissCountDto {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'query': json['query'],
|
|
70
|
+
'count': json['count'],
|
|
71
|
+
'accounts': json['accounts'],
|
|
72
|
+
'lastSeenAt': (new Date(json['lastSeenAt'])),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function SettingsSearchMissCountDtoToJSON(json: any): SettingsSearchMissCountDto {
|
|
77
|
+
return SettingsSearchMissCountDtoToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function SettingsSearchMissCountDtoToJSONTyped(value?: SettingsSearchMissCountDto | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'query': value['query'],
|
|
88
|
+
'count': value['count'],
|
|
89
|
+
'accounts': value['accounts'],
|
|
90
|
+
'lastSeenAt': ((value['lastSeenAt']).toISOString()),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SettingsSearchMissDto
|
|
20
|
+
*/
|
|
21
|
+
export interface SettingsSearchMissDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SettingsSearchMissDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* What was searched for: trimmed and lower-cased user input.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SettingsSearchMissDto
|
|
32
|
+
*/
|
|
33
|
+
query: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SettingsSearchMissDto
|
|
38
|
+
*/
|
|
39
|
+
locale: string;
|
|
40
|
+
/**
|
|
41
|
+
* Account the search came from; null once it was deleted.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof SettingsSearchMissDto
|
|
44
|
+
*/
|
|
45
|
+
accountId: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof SettingsSearchMissDto
|
|
50
|
+
*/
|
|
51
|
+
createdAt: Date;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the SettingsSearchMissDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfSettingsSearchMissDto(value: object): value is SettingsSearchMissDto {
|
|
58
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
59
|
+
if (!('query' in value) || value['query'] === undefined) return false;
|
|
60
|
+
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
61
|
+
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
62
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function SettingsSearchMissDtoFromJSON(json: any): SettingsSearchMissDto {
|
|
67
|
+
return SettingsSearchMissDtoFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function SettingsSearchMissDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsSearchMissDto {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'id': json['id'],
|
|
77
|
+
'query': json['query'],
|
|
78
|
+
'locale': json['locale'],
|
|
79
|
+
'accountId': json['accountId'],
|
|
80
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function SettingsSearchMissDtoToJSON(json: any): SettingsSearchMissDto {
|
|
85
|
+
return SettingsSearchMissDtoToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function SettingsSearchMissDtoToJSONTyped(value?: SettingsSearchMissDto | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'id': value['id'],
|
|
96
|
+
'query': value['query'],
|
|
97
|
+
'locale': value['locale'],
|
|
98
|
+
'accountId': value['accountId'],
|
|
99
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -376,6 +376,7 @@ export * from './GetMarketingSales200Response';
|
|
|
376
376
|
export * from './GetQuickReplies200Response';
|
|
377
377
|
export * from './GetSellerChallengesListDto';
|
|
378
378
|
export * from './GetSellerChallengesListDtoChallengesInner';
|
|
379
|
+
export * from './GetSettingsSearchMisses200Response';
|
|
379
380
|
export * from './HistoricalMetrics';
|
|
380
381
|
export * from './HttpException';
|
|
381
382
|
export * from './ImportDomainsResponseDto';
|
|
@@ -587,6 +588,7 @@ export * from './QuickReplyInput';
|
|
|
587
588
|
export * from './QuickReplyVariableEnum';
|
|
588
589
|
export * from './ReauthenticateWithPasskeyInput';
|
|
589
590
|
export * from './ReauthenticationDto';
|
|
591
|
+
export * from './RecordSettingsSearchMissInput';
|
|
590
592
|
export * from './RecoveryCodesDto';
|
|
591
593
|
export * from './RegisterAccountInput';
|
|
592
594
|
export * from './RegisterAccountPortfolioSizeInput';
|
|
@@ -659,6 +661,8 @@ export * from './SetDomainTransferConfirmationInput';
|
|
|
659
661
|
export * from './SetNewPasswordInput';
|
|
660
662
|
export * from './SetPayoutFrequencyInput';
|
|
661
663
|
export * from './SetPayoutProviderInput';
|
|
664
|
+
export * from './SettingsSearchMissCountDto';
|
|
665
|
+
export * from './SettingsSearchMissDto';
|
|
662
666
|
export * from './SimulateAutomationsInput';
|
|
663
667
|
export * from './SimulateCommissionInput';
|
|
664
668
|
export * from './StartAuctionInput';
|