@randock/nameshift-api-client 0.0.23 → 0.0.25

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.
Files changed (36) hide show
  1. package/.openapi-generator/FILES +2 -1
  2. package/README.md +3 -3
  3. package/dist/apis/DomainsPublicApi.d.ts +18 -4
  4. package/dist/apis/DomainsPublicApi.js +55 -4
  5. package/dist/models/AccountSettingsInput.d.ts +6 -0
  6. package/dist/models/AccountSettingsInput.js +2 -0
  7. package/dist/models/BuyDomainInput.d.ts +85 -0
  8. package/dist/models/BuyDomainInput.js +83 -0
  9. package/dist/models/CreateLeadInput.d.ts +23 -1
  10. package/dist/models/CreateLeadInput.js +21 -4
  11. package/dist/models/DomainDto.d.ts +7 -0
  12. package/dist/models/DomainDto.js +4 -0
  13. package/dist/models/GetDomainSalesInformation404Response.d.ts +43 -0
  14. package/dist/models/GetDomainSalesInformation404Response.js +53 -0
  15. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
  16. package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
  17. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  18. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
  19. package/dist/models/WithSettingsInner.d.ts +6 -0
  20. package/dist/models/WithSettingsInner.js +4 -0
  21. package/dist/models/index.d.ts +2 -1
  22. package/dist/models/index.js +2 -1
  23. package/package.json +1 -1
  24. package/src/apis/DomainsPublicApi.ts +67 -8
  25. package/src/models/AccountSettingsInput.ts +8 -0
  26. package/src/models/BuyDomainInput.ts +142 -0
  27. package/src/models/CreateLeadInput.ts +41 -4
  28. package/src/models/DomainDto.ts +10 -0
  29. package/src/models/GetDomainSalesInformation404Response.ts +78 -0
  30. package/src/models/IntersectionDomainDtoWithAccountDto.ts +10 -0
  31. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +10 -0
  32. package/src/models/WithSettingsInner.ts +9 -0
  33. package/src/models/index.ts +2 -1
  34. package/dist/models/PublicDomainControllerGetDomainSalesInformation404Response.d.ts +0 -43
  35. package/dist/models/PublicDomainControllerGetDomainSalesInformation404Response.js +0 -53
  36. package/src/models/PublicDomainControllerGetDomainSalesInformation404Response.ts +0 -78
@@ -62,6 +62,13 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
62
62
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
63
63
  */
64
64
  name: string;
65
+ /**
66
+ * /**
67
+ * The domain's currency
68
+ * @type {string}
69
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
70
+ */
71
+ currency: string;
65
72
  /**
66
73
  * The BIN
67
74
  * @type {MoneyDto}
@@ -97,6 +104,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
97
104
  if (!('verified' in value)) return false;
98
105
  if (!('nameservers' in value)) return false;
99
106
  if (!('name' in value)) return false;
107
+ if (!('currency' in value)) return false;
100
108
  if (!('buyNow' in value)) return false;
101
109
  if (!('minOffer' in value)) return false;
102
110
  if (!('hijacker' in value)) return false;
@@ -119,6 +127,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
119
127
  'verified': json['verified'],
120
128
  'nameservers': json['nameservers'],
121
129
  'name': json['name'],
130
+ 'currency': json['currency'],
122
131
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
123
132
  'minOffer': MoneyDtoFromJSON(json['minOffer']),
124
133
  'hijacker': AccountDtoFromJSON(json['hijacker']),
@@ -137,6 +146,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value?:
137
146
  'verified': value['verified'],
138
147
  'nameservers': value['nameservers'],
139
148
  'name': value['name'],
149
+ 'currency': value['currency'],
140
150
  'buyNow': MoneyDtoToJSON(value['buyNow']),
141
151
  'minOffer': MoneyDtoToJSON(value['minOffer']),
142
152
  'hijacker': AccountDtoToJSON(value['hijacker']),
@@ -26,6 +26,12 @@ import {
26
26
  * @interface WithSettingsInner
27
27
  */
28
28
  export interface WithSettingsInner {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof WithSettingsInner
33
+ */
34
+ defaultCurrencyCode: string;
29
35
  /**
30
36
  *
31
37
  * @type {MoneyDto}
@@ -38,6 +44,7 @@ export interface WithSettingsInner {
38
44
  * Check if a given object implements the WithSettingsInner interface.
39
45
  */
40
46
  export function instanceOfWithSettingsInner(value: object): boolean {
47
+ if (!('defaultCurrencyCode' in value)) return false;
41
48
  if (!('defaultStartingOffer' in value)) return false;
42
49
  return true;
43
50
  }
@@ -52,6 +59,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
52
59
  }
53
60
  return {
54
61
 
62
+ 'defaultCurrencyCode': json['defaultCurrencyCode'],
55
63
  'defaultStartingOffer': MoneyDtoFromJSON(json['defaultStartingOffer']),
56
64
  };
57
65
  }
@@ -62,6 +70,7 @@ export function WithSettingsInnerToJSON(value?: WithSettingsInner | null): any {
62
70
  }
63
71
  return {
64
72
 
73
+ 'defaultCurrencyCode': value['defaultCurrencyCode'],
65
74
  'defaultStartingOffer': MoneyDtoToJSON(value['defaultStartingOffer']),
66
75
  };
67
76
  }
@@ -7,6 +7,7 @@ export * from './AccountFinancialInput';
7
7
  export * from './AccountSettingsInput';
8
8
  export * from './BatchUpdate404Response';
9
9
  export * from './BatchUpdateDomainsInput';
10
+ export * from './BuyDomainInput';
10
11
  export * from './CreateLeadInput';
11
12
  export * from './CreateLeadMessageInput';
12
13
  export * from './DashboardStatsDto';
@@ -14,6 +15,7 @@ export * from './DeleteDomainsInput';
14
15
  export * from './DomainDto';
15
16
  export * from './DomainSalesInformationDto';
16
17
  export * from './DomainSellerDto';
18
+ export * from './GetDomainSalesInformation404Response';
17
19
  export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
18
20
  export * from './IntersectionDomainDtoWithAccountDto';
19
21
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
@@ -43,7 +45,6 @@ export * from './ObjectId';
43
45
  export * from './PaginateResponse';
44
46
  export * from './PaginateResponseLinks';
45
47
  export * from './PaginateResponseMeta';
46
- export * from './PublicDomainControllerGetDomainSalesInformation404Response';
47
48
  export * from './PutLeadInput';
48
49
  export * from './SecurityUserDto';
49
50
  export * from './TokenDto';
@@ -1,43 +0,0 @@
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
- * Thrown if domain is not found.
14
- * @export
15
- * @interface PublicDomainControllerGetDomainSalesInformation404Response
16
- */
17
- export interface PublicDomainControllerGetDomainSalesInformation404Response {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof PublicDomainControllerGetDomainSalesInformation404Response
22
- */
23
- statusCode: number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof PublicDomainControllerGetDomainSalesInformation404Response
28
- */
29
- message: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof PublicDomainControllerGetDomainSalesInformation404Response
34
- */
35
- error?: string;
36
- }
37
- /**
38
- * Check if a given object implements the PublicDomainControllerGetDomainSalesInformation404Response interface.
39
- */
40
- export declare function instanceOfPublicDomainControllerGetDomainSalesInformation404Response(value: object): boolean;
41
- export declare function PublicDomainControllerGetDomainSalesInformation404ResponseFromJSON(json: any): PublicDomainControllerGetDomainSalesInformation404Response;
42
- export declare function PublicDomainControllerGetDomainSalesInformation404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicDomainControllerGetDomainSalesInformation404Response;
43
- export declare function PublicDomainControllerGetDomainSalesInformation404ResponseToJSON(value?: PublicDomainControllerGetDomainSalesInformation404Response | null): any;
@@ -1,53 +0,0 @@
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.PublicDomainControllerGetDomainSalesInformation404ResponseToJSON = exports.PublicDomainControllerGetDomainSalesInformation404ResponseFromJSONTyped = exports.PublicDomainControllerGetDomainSalesInformation404ResponseFromJSON = exports.instanceOfPublicDomainControllerGetDomainSalesInformation404Response = void 0;
17
- /**
18
- * Check if a given object implements the PublicDomainControllerGetDomainSalesInformation404Response interface.
19
- */
20
- function instanceOfPublicDomainControllerGetDomainSalesInformation404Response(value) {
21
- if (!('statusCode' in value))
22
- return false;
23
- if (!('message' in value))
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfPublicDomainControllerGetDomainSalesInformation404Response = instanceOfPublicDomainControllerGetDomainSalesInformation404Response;
28
- function PublicDomainControllerGetDomainSalesInformation404ResponseFromJSON(json) {
29
- return PublicDomainControllerGetDomainSalesInformation404ResponseFromJSONTyped(json, false);
30
- }
31
- exports.PublicDomainControllerGetDomainSalesInformation404ResponseFromJSON = PublicDomainControllerGetDomainSalesInformation404ResponseFromJSON;
32
- function PublicDomainControllerGetDomainSalesInformation404ResponseFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'statusCode': json['statusCode'],
38
- 'message': json['message'],
39
- 'error': json['error'] == null ? undefined : json['error'],
40
- };
41
- }
42
- exports.PublicDomainControllerGetDomainSalesInformation404ResponseFromJSONTyped = PublicDomainControllerGetDomainSalesInformation404ResponseFromJSONTyped;
43
- function PublicDomainControllerGetDomainSalesInformation404ResponseToJSON(value) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'statusCode': value['statusCode'],
49
- 'message': value['message'],
50
- 'error': value['error'],
51
- };
52
- }
53
- exports.PublicDomainControllerGetDomainSalesInformation404ResponseToJSON = PublicDomainControllerGetDomainSalesInformation404ResponseToJSON;
@@ -1,78 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Nameshift
5
- * Nameshift API
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
- * Thrown if domain is not found.
18
- * @export
19
- * @interface PublicDomainControllerGetDomainSalesInformation404Response
20
- */
21
- export interface PublicDomainControllerGetDomainSalesInformation404Response {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof PublicDomainControllerGetDomainSalesInformation404Response
26
- */
27
- statusCode: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof PublicDomainControllerGetDomainSalesInformation404Response
32
- */
33
- message: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof PublicDomainControllerGetDomainSalesInformation404Response
38
- */
39
- error?: string;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the PublicDomainControllerGetDomainSalesInformation404Response interface.
44
- */
45
- export function instanceOfPublicDomainControllerGetDomainSalesInformation404Response(value: object): boolean {
46
- if (!('statusCode' in value)) return false;
47
- if (!('message' in value)) return false;
48
- return true;
49
- }
50
-
51
- export function PublicDomainControllerGetDomainSalesInformation404ResponseFromJSON(json: any): PublicDomainControllerGetDomainSalesInformation404Response {
52
- return PublicDomainControllerGetDomainSalesInformation404ResponseFromJSONTyped(json, false);
53
- }
54
-
55
- export function PublicDomainControllerGetDomainSalesInformation404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicDomainControllerGetDomainSalesInformation404Response {
56
- if (json == null) {
57
- return json;
58
- }
59
- return {
60
-
61
- 'statusCode': json['statusCode'],
62
- 'message': json['message'],
63
- 'error': json['error'] == null ? undefined : json['error'],
64
- };
65
- }
66
-
67
- export function PublicDomainControllerGetDomainSalesInformation404ResponseToJSON(value?: PublicDomainControllerGetDomainSalesInformation404Response | null): any {
68
- if (value == null) {
69
- return value;
70
- }
71
- return {
72
-
73
- 'statusCode': value['statusCode'],
74
- 'message': value['message'],
75
- 'error': value['error'],
76
- };
77
- }
78
-