@randock/nameshift-api-client 0.0.394 → 0.0.395

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.
@@ -195,6 +195,7 @@ src/models/CursorBasedPageInfo.ts
195
195
  src/models/CursorBasedPaginationResponse.ts
196
196
  src/models/DeleteDomainsInput.ts
197
197
  src/models/DomainAuctionDto.ts
198
+ src/models/DomainCategoryItemDto.ts
198
199
  src/models/DomainExchangeRateDto.ts
199
200
  src/models/DomainFiltersDto.ts
200
201
  src/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.394
1
+ ## @randock/nameshift-api-client@0.0.395
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.394 --save
39
+ npm install @randock/nameshift-api-client@0.0.395 --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
- 124cd933f28afa475577f86da87eb9c2fb9aba3552aeef03aea765ea80827be83eec8b147003470fc032daad6d4e4958
47
+ ea353a14548b68259ed9f7902ef5bad1642b9d6fc4548a656eb1cfe7ded122e3161e656d00e5ca54513b3f98262038c2
@@ -0,0 +1,50 @@
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 DomainCategoryItemDto
16
+ */
17
+ export interface DomainCategoryItemDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DomainCategoryItemDto
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DomainCategoryItemDto
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof DomainCategoryItemDto
34
+ */
35
+ subId: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof DomainCategoryItemDto
40
+ */
41
+ subName: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the DomainCategoryItemDto interface.
45
+ */
46
+ export declare function instanceOfDomainCategoryItemDto(value: object): value is DomainCategoryItemDto;
47
+ export declare function DomainCategoryItemDtoFromJSON(json: any): DomainCategoryItemDto;
48
+ export declare function DomainCategoryItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainCategoryItemDto;
49
+ export declare function DomainCategoryItemDtoToJSON(json: any): DomainCategoryItemDto;
50
+ export declare function DomainCategoryItemDtoToJSONTyped(value?: DomainCategoryItemDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.instanceOfDomainCategoryItemDto = instanceOfDomainCategoryItemDto;
17
+ exports.DomainCategoryItemDtoFromJSON = DomainCategoryItemDtoFromJSON;
18
+ exports.DomainCategoryItemDtoFromJSONTyped = DomainCategoryItemDtoFromJSONTyped;
19
+ exports.DomainCategoryItemDtoToJSON = DomainCategoryItemDtoToJSON;
20
+ exports.DomainCategoryItemDtoToJSONTyped = DomainCategoryItemDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the DomainCategoryItemDto interface.
23
+ */
24
+ function instanceOfDomainCategoryItemDto(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('subId' in value) || value['subId'] === undefined)
30
+ return false;
31
+ if (!('subName' in value) || value['subName'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function DomainCategoryItemDtoFromJSON(json) {
36
+ return DomainCategoryItemDtoFromJSONTyped(json, false);
37
+ }
38
+ function DomainCategoryItemDtoFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'id': json['id'],
44
+ 'name': json['name'],
45
+ 'subId': json['sub_id'],
46
+ 'subName': json['sub_name'],
47
+ };
48
+ }
49
+ function DomainCategoryItemDtoToJSON(json) {
50
+ return DomainCategoryItemDtoToJSONTyped(json, false);
51
+ }
52
+ function DomainCategoryItemDtoToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'id': value['id'],
59
+ 'name': value['name'],
60
+ 'sub_id': value['subId'],
61
+ 'sub_name': value['subName'],
62
+ };
63
+ }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
+ import type { DomainCategoryItemDto } from './DomainCategoryItemDto';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -22,6 +23,12 @@ export interface DomainPricesChangeDto {
22
23
  * @memberof DomainPricesChangeDto
23
24
  */
24
25
  id: string;
26
+ /**
27
+ * Categories of the domain (parent + subcategory)
28
+ * @type {Array<DomainCategoryItemDto>}
29
+ * @memberof DomainPricesChangeDto
30
+ */
31
+ categories: Array<DomainCategoryItemDto>;
25
32
  /**
26
33
  * The ASCII domain name (example.com, xn--maana-pta.com)
27
34
  * @type {string}
@@ -19,12 +19,15 @@ exports.DomainPricesChangeDtoFromJSONTyped = DomainPricesChangeDtoFromJSONTyped;
19
19
  exports.DomainPricesChangeDtoToJSON = DomainPricesChangeDtoToJSON;
20
20
  exports.DomainPricesChangeDtoToJSONTyped = DomainPricesChangeDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
+ var DomainCategoryItemDto_1 = require("./DomainCategoryItemDto");
22
23
  /**
23
24
  * Check if a given object implements the DomainPricesChangeDto interface.
24
25
  */
25
26
  function instanceOfDomainPricesChangeDto(value) {
26
27
  if (!('id' in value) || value['id'] === undefined)
27
28
  return false;
29
+ if (!('categories' in value) || value['categories'] === undefined)
30
+ return false;
28
31
  if (!('name' in value) || value['name'] === undefined)
29
32
  return false;
30
33
  if (!('displayName' in value) || value['displayName'] === undefined)
@@ -48,6 +51,7 @@ function DomainPricesChangeDtoFromJSONTyped(json, ignoreDiscriminator) {
48
51
  }
49
52
  return {
50
53
  'id': json['id'],
54
+ 'categories': (json['categories'].map(DomainCategoryItemDto_1.DomainCategoryItemDtoFromJSON)),
51
55
  'name': json['name'],
52
56
  'displayName': json['displayName'],
53
57
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
@@ -66,6 +70,7 @@ function DomainPricesChangeDtoToJSONTyped(value, ignoreDiscriminator) {
66
70
  }
67
71
  return {
68
72
  'id': value['id'],
73
+ 'categories': (value['categories'].map(DomainCategoryItemDto_1.DomainCategoryItemDtoToJSON)),
69
74
  'name': value['name'],
70
75
  'displayName': value['displayName'],
71
76
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
@@ -159,6 +159,7 @@ export * from './CursorBasedPageInfo';
159
159
  export * from './CursorBasedPaginationResponse';
160
160
  export * from './DeleteDomainsInput';
161
161
  export * from './DomainAuctionDto';
162
+ export * from './DomainCategoryItemDto';
162
163
  export * from './DomainExchangeRateDto';
163
164
  export * from './DomainFiltersDto';
164
165
  export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
@@ -177,6 +177,7 @@ __exportStar(require("./CursorBasedPageInfo"), exports);
177
177
  __exportStar(require("./CursorBasedPaginationResponse"), exports);
178
178
  __exportStar(require("./DeleteDomainsInput"), exports);
179
179
  __exportStar(require("./DomainAuctionDto"), exports);
180
+ __exportStar(require("./DomainCategoryItemDto"), exports);
180
181
  __exportStar(require("./DomainExchangeRateDto"), exports);
181
182
  __exportStar(require("./DomainFiltersDto"), exports);
182
183
  __exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.394",
3
+ "version": "0.0.395",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,93 @@
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
+ *
18
+ * @export
19
+ * @interface DomainCategoryItemDto
20
+ */
21
+ export interface DomainCategoryItemDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof DomainCategoryItemDto
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof DomainCategoryItemDto
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof DomainCategoryItemDto
38
+ */
39
+ subId: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof DomainCategoryItemDto
44
+ */
45
+ subName: string;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the DomainCategoryItemDto interface.
50
+ */
51
+ export function instanceOfDomainCategoryItemDto(value: object): value is DomainCategoryItemDto {
52
+ if (!('id' in value) || value['id'] === undefined) return false;
53
+ if (!('name' in value) || value['name'] === undefined) return false;
54
+ if (!('subId' in value) || value['subId'] === undefined) return false;
55
+ if (!('subName' in value) || value['subName'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function DomainCategoryItemDtoFromJSON(json: any): DomainCategoryItemDto {
60
+ return DomainCategoryItemDtoFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function DomainCategoryItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainCategoryItemDto {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'id': json['id'],
70
+ 'name': json['name'],
71
+ 'subId': json['sub_id'],
72
+ 'subName': json['sub_name'],
73
+ };
74
+ }
75
+
76
+ export function DomainCategoryItemDtoToJSON(json: any): DomainCategoryItemDto {
77
+ return DomainCategoryItemDtoToJSONTyped(json, false);
78
+ }
79
+
80
+ export function DomainCategoryItemDtoToJSONTyped(value?: DomainCategoryItemDto | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'id': value['id'],
88
+ 'name': value['name'],
89
+ 'sub_id': value['subId'],
90
+ 'sub_name': value['subName'],
91
+ };
92
+ }
93
+
@@ -20,6 +20,13 @@ import {
20
20
  MoneyDtoToJSON,
21
21
  MoneyDtoToJSONTyped,
22
22
  } from './MoneyDto';
23
+ import type { DomainCategoryItemDto } from './DomainCategoryItemDto';
24
+ import {
25
+ DomainCategoryItemDtoFromJSON,
26
+ DomainCategoryItemDtoFromJSONTyped,
27
+ DomainCategoryItemDtoToJSON,
28
+ DomainCategoryItemDtoToJSONTyped,
29
+ } from './DomainCategoryItemDto';
23
30
 
24
31
  /**
25
32
  *
@@ -33,6 +40,12 @@ export interface DomainPricesChangeDto {
33
40
  * @memberof DomainPricesChangeDto
34
41
  */
35
42
  id: string;
43
+ /**
44
+ * Categories of the domain (parent + subcategory)
45
+ * @type {Array<DomainCategoryItemDto>}
46
+ * @memberof DomainPricesChangeDto
47
+ */
48
+ categories: Array<DomainCategoryItemDto>;
36
49
  /**
37
50
  * The ASCII domain name (example.com, xn--maana-pta.com)
38
51
  * @type {string}
@@ -76,6 +89,7 @@ export interface DomainPricesChangeDto {
76
89
  */
77
90
  export function instanceOfDomainPricesChangeDto(value: object): value is DomainPricesChangeDto {
78
91
  if (!('id' in value) || value['id'] === undefined) return false;
92
+ if (!('categories' in value) || value['categories'] === undefined) return false;
79
93
  if (!('name' in value) || value['name'] === undefined) return false;
80
94
  if (!('displayName' in value) || value['displayName'] === undefined) return false;
81
95
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
@@ -96,6 +110,7 @@ export function DomainPricesChangeDtoFromJSONTyped(json: any, ignoreDiscriminato
96
110
  return {
97
111
 
98
112
  'id': json['id'],
113
+ 'categories': ((json['categories'] as Array<any>).map(DomainCategoryItemDtoFromJSON)),
99
114
  'name': json['name'],
100
115
  'displayName': json['displayName'],
101
116
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
@@ -117,6 +132,7 @@ export function DomainPricesChangeDtoToJSONTyped(value?: DomainPricesChangeDto |
117
132
  return {
118
133
 
119
134
  'id': value['id'],
135
+ 'categories': ((value['categories'] as Array<any>).map(DomainCategoryItemDtoToJSON)),
120
136
  'name': value['name'],
121
137
  'displayName': value['displayName'],
122
138
  'buyNow': MoneyDtoToJSON(value['buyNow']),
@@ -161,6 +161,7 @@ export * from './CursorBasedPageInfo';
161
161
  export * from './CursorBasedPaginationResponse';
162
162
  export * from './DeleteDomainsInput';
163
163
  export * from './DomainAuctionDto';
164
+ export * from './DomainCategoryItemDto';
164
165
  export * from './DomainExchangeRateDto';
165
166
  export * from './DomainFiltersDto';
166
167
  export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';