@randock/nameshift-api-client 0.0.479 → 0.0.481
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 +3 -1
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +73 -1
- package/dist/apis/AdminApi.js +288 -0
- package/dist/apis/LeadsApi.d.ts +3 -3
- package/dist/apis/LeadsApi.js +1 -1
- package/dist/apis/UsersPublicApi.d.ts +14 -1
- package/dist/apis/UsersPublicApi.js +48 -0
- package/dist/models/{ListRelatedLeads200Response.d.ts → ListAdminRelatedLeads200Response.d.ts} +11 -11
- package/dist/models/{ListRelatedLeads200Response.js → ListAdminRelatedLeads200Response.js} +13 -13
- package/dist/models/NotificationsUnsubscribeResultDto.d.ts +70 -0
- package/dist/models/NotificationsUnsubscribeResultDto.js +84 -0
- package/dist/models/UserSignedTokenInput.d.ts +32 -0
- package/dist/models/UserSignedTokenInput.js +51 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +271 -0
- package/src/apis/LeadsApi.ts +6 -6
- package/src/apis/UsersPublicApi.ts +48 -0
- package/src/models/{ListRelatedLeads200Response.ts → ListAdminRelatedLeads200Response.ts} +13 -13
- package/src/models/NotificationsUnsubscribeResultDto.ts +114 -0
- package/src/models/UserSignedTokenInput.ts +66 -0
- package/src/models/index.ts +3 -1
|
@@ -0,0 +1,66 @@
|
|
|
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 UserSignedTokenInput
|
|
20
|
+
*/
|
|
21
|
+
export interface UserSignedTokenInput {
|
|
22
|
+
/**
|
|
23
|
+
* Signed token carried by the link in the email
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UserSignedTokenInput
|
|
26
|
+
*/
|
|
27
|
+
token: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UserSignedTokenInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUserSignedTokenInput(value: object): value is UserSignedTokenInput {
|
|
34
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function UserSignedTokenInputFromJSON(json: any): UserSignedTokenInput {
|
|
39
|
+
return UserSignedTokenInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function UserSignedTokenInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSignedTokenInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'token': json['token'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UserSignedTokenInputToJSON(json: any): UserSignedTokenInput {
|
|
53
|
+
return UserSignedTokenInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UserSignedTokenInputToJSONTyped(value?: UserSignedTokenInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'token': value['token'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -352,6 +352,7 @@ export * from './ListAccountMetricsDto';
|
|
|
352
352
|
export * from './ListAccountPortfolioSizeDto';
|
|
353
353
|
export * from './ListAccountUserDto';
|
|
354
354
|
export * from './ListAccounts200Response';
|
|
355
|
+
export * from './ListAdminRelatedLeads200Response';
|
|
355
356
|
export * from './ListAuctions200Response';
|
|
356
357
|
export * from './ListBankAccounts200Response';
|
|
357
358
|
export * from './ListBankDeposits200Response';
|
|
@@ -365,7 +366,6 @@ export * from './ListLeadMessagesDto';
|
|
|
365
366
|
export * from './ListLeads200Response';
|
|
366
367
|
export * from './ListLeadsResultItem';
|
|
367
368
|
export * from './ListNotifications200Response';
|
|
368
|
-
export * from './ListRelatedLeads200Response';
|
|
369
369
|
export * from './LockConfigurationInput';
|
|
370
370
|
export * from './LockDurationDto';
|
|
371
371
|
export * from './LockDurationInput';
|
|
@@ -384,6 +384,7 @@ export * from './MoneyDto';
|
|
|
384
384
|
export * from './MoneyInput';
|
|
385
385
|
export * from './MozMetrics';
|
|
386
386
|
export * from './NotFoundException';
|
|
387
|
+
export * from './NotificationsUnsubscribeResultDto';
|
|
387
388
|
export * from './NzBankAccountDetails';
|
|
388
389
|
export * from './ObjectId';
|
|
389
390
|
export * from './OrderCompanyInfoDto';
|
|
@@ -556,6 +557,7 @@ export * from './UserNotificationDto';
|
|
|
556
557
|
export * from './UserNotificationListItemDto';
|
|
557
558
|
export * from './UserNotificationSettingsDto';
|
|
558
559
|
export * from './UserPasswordResetDto';
|
|
560
|
+
export * from './UserSignedTokenInput';
|
|
559
561
|
export * from './ValidateTaxNumberDto';
|
|
560
562
|
export * from './ValidateTaxNumberInput';
|
|
561
563
|
export * from './ValidationError';
|