@randock/nameshift-api-client 0.0.168 → 0.0.170

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 (33) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +3 -3
  3. package/dist/apis/DomainsApi.d.ts +3 -3
  4. package/dist/apis/DomainsApi.js +1 -1
  5. package/dist/apis/DomainsPublicApi.d.ts +3 -3
  6. package/dist/apis/DomainsPublicApi.js +1 -1
  7. package/dist/apis/TasksApi.d.ts +3 -3
  8. package/dist/apis/TasksApi.js +1 -1
  9. package/dist/models/DomainTransferDetailsOrderBuyerDto.d.ts +8 -2
  10. package/dist/models/DomainTransferDetailsOrderBuyerDto.js +4 -0
  11. package/dist/models/IntersectionDomainDtoWithAccountNameDto.d.ts +118 -0
  12. package/dist/models/IntersectionDomainDtoWithAccountNameDto.js +108 -0
  13. package/dist/models/List200Response1.d.ts +3 -3
  14. package/dist/models/List200Response1.js +3 -3
  15. package/dist/models/List200Response2.d.ts +3 -3
  16. package/dist/models/List200Response2.js +3 -3
  17. package/dist/models/List200Response3.d.ts +47 -0
  18. package/dist/models/List200Response3.js +62 -0
  19. package/dist/models/ListDomains200Response.d.ts +3 -3
  20. package/dist/models/ListDomains200Response.js +3 -3
  21. package/dist/models/index.d.ts +2 -0
  22. package/dist/models/index.js +2 -0
  23. package/package.json +1 -1
  24. package/src/apis/DomainsApi.ts +6 -6
  25. package/src/apis/DomainsPublicApi.ts +6 -6
  26. package/src/apis/TasksApi.ts +6 -6
  27. package/src/models/DomainTransferDetailsOrderBuyerDto.ts +11 -2
  28. package/src/models/IntersectionDomainDtoWithAccountNameDto.ts +201 -0
  29. package/src/models/List200Response1.ts +10 -10
  30. package/src/models/List200Response2.ts +10 -10
  31. package/src/models/List200Response3.ts +106 -0
  32. package/src/models/ListDomains200Response.ts +10 -10
  33. package/src/models/index.ts +2 -0
@@ -19,7 +19,7 @@ exports.ListDomains200ResponseFromJSONTyped = ListDomains200ResponseFromJSONType
19
19
  exports.ListDomains200ResponseToJSON = ListDomains200ResponseToJSON;
20
20
  exports.ListDomains200ResponseToJSONTyped = ListDomains200ResponseToJSONTyped;
21
21
  var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
- var DomainDto_1 = require("./DomainDto");
22
+ var IntersectionDomainDtoWithAccountNameDto_1 = require("./IntersectionDomainDtoWithAccountNameDto");
23
23
  var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
24
  /**
25
25
  * Check if a given object implements the ListDomains200Response interface.
@@ -41,7 +41,7 @@ function ListDomains200ResponseFromJSONTyped(json, ignoreDiscriminator) {
41
41
  return json;
42
42
  }
43
43
  return {
44
- 'data': (json['data'].map(DomainDto_1.DomainDtoFromJSON)),
44
+ 'data': (json['data'].map(IntersectionDomainDtoWithAccountNameDto_1.IntersectionDomainDtoWithAccountNameDtoFromJSON)),
45
45
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
46
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
47
  };
@@ -55,7 +55,7 @@ function ListDomains200ResponseToJSONTyped(value, ignoreDiscriminator) {
55
55
  return value;
56
56
  }
57
57
  return {
58
- 'data': (value['data'].map(DomainDto_1.DomainDtoToJSON)),
58
+ 'data': (value['data'].map(IntersectionDomainDtoWithAccountNameDto_1.IntersectionDomainDtoWithAccountNameDtoToJSON)),
59
59
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
60
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
61
  };
@@ -64,6 +64,7 @@ export * from './GetBuyerTransfers200Response';
64
64
  export * from './HttpException';
65
65
  export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDto';
66
66
  export * from './IntersectionDomainDtoWithAccountDto';
67
+ export * from './IntersectionDomainDtoWithAccountNameDto';
67
68
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
68
69
  export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
69
70
  export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
@@ -82,6 +83,7 @@ export * from './LeadStatusDto';
82
83
  export * from './List200Response';
83
84
  export * from './List200Response1';
84
85
  export * from './List200Response2';
86
+ export * from './List200Response3';
85
87
  export * from './ListAccountDto';
86
88
  export * from './ListAccounts200Response';
87
89
  export * from './ListDomains200Response';
@@ -82,6 +82,7 @@ __exportStar(require("./GetBuyerTransfers200Response"), exports);
82
82
  __exportStar(require("./HttpException"), exports);
83
83
  __exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDto"), exports);
84
84
  __exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
85
+ __exportStar(require("./IntersectionDomainDtoWithAccountNameDto"), exports);
85
86
  __exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
86
87
  __exportStar(require("./IntersectionDomainSalesInformationDtoWithDomainStatsDto"), exports);
87
88
  __exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto"), exports);
@@ -100,6 +101,7 @@ __exportStar(require("./LeadStatusDto"), exports);
100
101
  __exportStar(require("./List200Response"), exports);
101
102
  __exportStar(require("./List200Response1"), exports);
102
103
  __exportStar(require("./List200Response2"), exports);
104
+ __exportStar(require("./List200Response3"), exports);
103
105
  __exportStar(require("./ListAccountDto"), exports);
104
106
  __exportStar(require("./ListAccounts200Response"), exports);
105
107
  __exportStar(require("./ListDomains200Response"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.168",
3
+ "version": "0.0.170",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -22,7 +22,7 @@ import type {
22
22
  DomainUrlDto,
23
23
  GetAllDomainTransfers200Response,
24
24
  IntersectionDomainDtoWithHijackerDtoWithAccountDto,
25
- ListDomains200Response,
25
+ List200Response1,
26
26
  NotFoundException,
27
27
  SellerDomainTransferDto,
28
28
  ThrottlerException,
@@ -45,8 +45,8 @@ import {
45
45
  GetAllDomainTransfers200ResponseToJSON,
46
46
  IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON,
47
47
  IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON,
48
- ListDomains200ResponseFromJSON,
49
- ListDomains200ResponseToJSON,
48
+ List200Response1FromJSON,
49
+ List200Response1ToJSON,
50
50
  NotFoundExceptionFromJSON,
51
51
  NotFoundExceptionToJSON,
52
52
  SellerDomainTransferDtoFromJSON,
@@ -538,7 +538,7 @@ export class DomainsApi extends runtime.BaseAPI {
538
538
  /**
539
539
  *
540
540
  */
541
- async listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListDomains200Response>> {
541
+ async listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response1>> {
542
542
  const queryParameters: any = {};
543
543
 
544
544
  if (requestParameters['filter'] != null) {
@@ -574,13 +574,13 @@ export class DomainsApi extends runtime.BaseAPI {
574
574
  query: queryParameters,
575
575
  }, initOverrides);
576
576
 
577
- return new runtime.JSONApiResponse(response, (jsonValue) => ListDomains200ResponseFromJSON(jsonValue));
577
+ return new runtime.JSONApiResponse(response, (jsonValue) => List200Response1FromJSON(jsonValue));
578
578
  }
579
579
 
580
580
  /**
581
581
  *
582
582
  */
583
- async list(requestParameters: DomainsApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListDomains200Response> {
583
+ async list(requestParameters: DomainsApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response1> {
584
584
  const response = await this.listRaw(requestParameters, initOverrides);
585
585
  return await response.value();
586
586
  }
@@ -16,7 +16,7 @@
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
18
  IntersectionDomainSalesInformationDtoWithDomainStatsDto,
19
- List200Response2,
19
+ List200Response3,
20
20
  NotFoundException,
21
21
  ThrottlerException,
22
22
  ValidationException,
@@ -24,8 +24,8 @@ import type {
24
24
  import {
25
25
  IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON,
26
26
  IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON,
27
- List200Response2FromJSON,
28
- List200Response2ToJSON,
27
+ List200Response3FromJSON,
28
+ List200Response3ToJSON,
29
29
  NotFoundExceptionFromJSON,
30
30
  NotFoundExceptionToJSON,
31
31
  ThrottlerExceptionFromJSON,
@@ -91,7 +91,7 @@ export class DomainsPublicApi extends runtime.BaseAPI {
91
91
  /**
92
92
  *
93
93
  */
94
- async listRaw(requestParameters: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response2>> {
94
+ async listRaw(requestParameters: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response3>> {
95
95
  const queryParameters: any = {};
96
96
 
97
97
  if (requestParameters['filter'] != null) {
@@ -119,13 +119,13 @@ export class DomainsPublicApi extends runtime.BaseAPI {
119
119
  query: queryParameters,
120
120
  }, initOverrides);
121
121
 
122
- return new runtime.JSONApiResponse(response, (jsonValue) => List200Response2FromJSON(jsonValue));
122
+ return new runtime.JSONApiResponse(response, (jsonValue) => List200Response3FromJSON(jsonValue));
123
123
  }
124
124
 
125
125
  /**
126
126
  *
127
127
  */
128
- async list(requestParameters: DomainsPublicApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response2> {
128
+ async list(requestParameters: DomainsPublicApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response3> {
129
129
  const response = await this.listRaw(requestParameters, initOverrides);
130
130
  return await response.value();
131
131
  }
@@ -15,13 +15,13 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
- List200Response1,
18
+ List200Response2,
19
19
  ThrottlerException,
20
20
  ValidationException,
21
21
  } from '../models/index';
22
22
  import {
23
- List200Response1FromJSON,
24
- List200Response1ToJSON,
23
+ List200Response2FromJSON,
24
+ List200Response2ToJSON,
25
25
  ThrottlerExceptionFromJSON,
26
26
  ThrottlerExceptionToJSON,
27
27
  ValidationExceptionFromJSON,
@@ -43,7 +43,7 @@ export class TasksApi extends runtime.BaseAPI {
43
43
  /**
44
44
  *
45
45
  */
46
- async listRaw(requestParameters: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response1>> {
46
+ async listRaw(requestParameters: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response2>> {
47
47
  const queryParameters: any = {};
48
48
 
49
49
  if (requestParameters['filter'] != null) {
@@ -79,13 +79,13 @@ export class TasksApi extends runtime.BaseAPI {
79
79
  query: queryParameters,
80
80
  }, initOverrides);
81
81
 
82
- return new runtime.JSONApiResponse(response, (jsonValue) => List200Response1FromJSON(jsonValue));
82
+ return new runtime.JSONApiResponse(response, (jsonValue) => List200Response2FromJSON(jsonValue));
83
83
  }
84
84
 
85
85
  /**
86
86
  *
87
87
  */
88
- async list(requestParameters: TasksApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response1> {
88
+ async list(requestParameters: TasksApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response2> {
89
89
  const response = await this.listRaw(requestParameters, initOverrides);
90
90
  return await response.value();
91
91
  }
@@ -36,13 +36,19 @@ export interface DomainTransferDetailsOrderBuyerDto {
36
36
  * @type {string}
37
37
  * @memberof DomainTransferDetailsOrderBuyerDto
38
38
  */
39
- firstName: string;
39
+ firstName: string | null;
40
40
  /**
41
41
  * The order buyer last name
42
42
  * @type {string}
43
43
  * @memberof DomainTransferDetailsOrderBuyerDto
44
44
  */
45
- lastName: string;
45
+ lastName: string | null;
46
+ /**
47
+ * The company name
48
+ * @type {string}
49
+ * @memberof DomainTransferDetailsOrderBuyerDto
50
+ */
51
+ companyName: string | null;
46
52
  }
47
53
 
48
54
  /**
@@ -53,6 +59,7 @@ export function instanceOfDomainTransferDetailsOrderBuyerDto(value: object): val
53
59
  if (!('email' in value) || value['email'] === undefined) return false;
54
60
  if (!('firstName' in value) || value['firstName'] === undefined) return false;
55
61
  if (!('lastName' in value) || value['lastName'] === undefined) return false;
62
+ if (!('companyName' in value) || value['companyName'] === undefined) return false;
56
63
  return true;
57
64
  }
58
65
 
@@ -70,6 +77,7 @@ export function DomainTransferDetailsOrderBuyerDtoFromJSONTyped(json: any, ignor
70
77
  'email': json['email'],
71
78
  'firstName': json['firstName'],
72
79
  'lastName': json['lastName'],
80
+ 'companyName': json['companyName'],
73
81
  };
74
82
  }
75
83
 
@@ -88,6 +96,7 @@ export function DomainTransferDetailsOrderBuyerDtoFromJSONTyped(json: any, ignor
88
96
  'email': value['email'],
89
97
  'firstName': value['firstName'],
90
98
  'lastName': value['lastName'],
99
+ 'companyName': value['companyName'],
91
100
  };
92
101
  }
93
102
 
@@ -0,0 +1,201 @@
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
+ import type { MoneyDto } from './MoneyDto';
17
+ import {
18
+ MoneyDtoFromJSON,
19
+ MoneyDtoFromJSONTyped,
20
+ MoneyDtoToJSON,
21
+ MoneyDtoToJSONTyped,
22
+ } from './MoneyDto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface IntersectionDomainDtoWithAccountNameDto
28
+ */
29
+ export interface IntersectionDomainDtoWithAccountNameDto {
30
+ /**
31
+ * The uuid for this domain.
32
+ * @type {string}
33
+ * @memberof IntersectionDomainDtoWithAccountNameDto
34
+ */
35
+ id: string;
36
+ /**
37
+ * The current owner for the domain
38
+ * @type {string}
39
+ * @memberof IntersectionDomainDtoWithAccountNameDto
40
+ */
41
+ accountId: string;
42
+ /**
43
+ * The hijacker for the domain
44
+ * @type {string}
45
+ * @memberof IntersectionDomainDtoWithAccountNameDto
46
+ */
47
+ hijackerId: string | null;
48
+ /**
49
+ * The TLD for this domain.
50
+ * @type {string}
51
+ * @memberof IntersectionDomainDtoWithAccountNameDto
52
+ */
53
+ tld: string;
54
+ /**
55
+ * Whether this domain is verified by the owner (ns3, txt) or not.
56
+ * @type {boolean}
57
+ * @memberof IntersectionDomainDtoWithAccountNameDto
58
+ */
59
+ verified: boolean;
60
+ /**
61
+ * Whether the nameservers (ns1,ns2) are set or not.
62
+ * @type {boolean}
63
+ * @memberof IntersectionDomainDtoWithAccountNameDto
64
+ */
65
+ nameservers: boolean;
66
+ /**
67
+ * The ASCII domain name (example.com, xn--maana-pta.com)
68
+ * @type {string}
69
+ * @memberof IntersectionDomainDtoWithAccountNameDto
70
+ */
71
+ name: string;
72
+ /**
73
+ * The unicode domain name (example.com, mañana.com)
74
+ * @type {string}
75
+ * @memberof IntersectionDomainDtoWithAccountNameDto
76
+ */
77
+ displayName: string;
78
+ /**
79
+ * /**
80
+ * The domain's currency code (ISO 4217)
81
+ * @type {string}
82
+ * @memberof IntersectionDomainDtoWithAccountNameDto
83
+ */
84
+ currencyCode: string;
85
+ /**
86
+ * The BIN
87
+ * @type {MoneyDto}
88
+ * @memberof IntersectionDomainDtoWithAccountNameDto
89
+ */
90
+ buyNow: MoneyDto;
91
+ /**
92
+ * The minimum offer
93
+ * @type {MoneyDto}
94
+ * @memberof IntersectionDomainDtoWithAccountNameDto
95
+ */
96
+ minOffer: MoneyDto;
97
+ /**
98
+ * The creation date
99
+ * @type {Date}
100
+ * @memberof IntersectionDomainDtoWithAccountNameDto
101
+ */
102
+ createdAt: Date;
103
+ /**
104
+ * The deletion date
105
+ * @type {Date}
106
+ * @memberof IntersectionDomainDtoWithAccountNameDto
107
+ */
108
+ deletedAt: Date | null;
109
+ /**
110
+ * The amount of pageviews for this domain, or null if none are tracked.
111
+ * @type {number}
112
+ * @memberof IntersectionDomainDtoWithAccountNameDto
113
+ */
114
+ pageviews: number;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof IntersectionDomainDtoWithAccountNameDto
119
+ */
120
+ accountName: string | null;
121
+ }
122
+
123
+ /**
124
+ * Check if a given object implements the IntersectionDomainDtoWithAccountNameDto interface.
125
+ */
126
+ export function instanceOfIntersectionDomainDtoWithAccountNameDto(value: object): value is IntersectionDomainDtoWithAccountNameDto {
127
+ if (!('id' in value) || value['id'] === undefined) return false;
128
+ if (!('accountId' in value) || value['accountId'] === undefined) return false;
129
+ if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
130
+ if (!('tld' in value) || value['tld'] === undefined) return false;
131
+ if (!('verified' in value) || value['verified'] === undefined) return false;
132
+ if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
133
+ if (!('name' in value) || value['name'] === undefined) return false;
134
+ if (!('displayName' in value) || value['displayName'] === undefined) return false;
135
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
136
+ if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
137
+ if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
138
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
139
+ if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
140
+ if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
141
+ if (!('accountName' in value) || value['accountName'] === undefined) return false;
142
+ return true;
143
+ }
144
+
145
+ export function IntersectionDomainDtoWithAccountNameDtoFromJSON(json: any): IntersectionDomainDtoWithAccountNameDto {
146
+ return IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json, false);
147
+ }
148
+
149
+ export function IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithAccountNameDto {
150
+ if (json == null) {
151
+ return json;
152
+ }
153
+ return {
154
+
155
+ 'id': json['id'],
156
+ 'accountId': json['accountId'],
157
+ 'hijackerId': json['hijackerId'],
158
+ 'tld': json['tld'],
159
+ 'verified': json['verified'],
160
+ 'nameservers': json['nameservers'],
161
+ 'name': json['name'],
162
+ 'displayName': json['displayName'],
163
+ 'currencyCode': json['currencyCode'],
164
+ 'buyNow': MoneyDtoFromJSON(json['buyNow']),
165
+ 'minOffer': MoneyDtoFromJSON(json['minOffer']),
166
+ 'createdAt': (new Date(json['createdAt'])),
167
+ 'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
168
+ 'pageviews': json['pageviews'],
169
+ 'accountName': json['accountName'],
170
+ };
171
+ }
172
+
173
+ export function IntersectionDomainDtoWithAccountNameDtoToJSON(json: any): IntersectionDomainDtoWithAccountNameDto {
174
+ return IntersectionDomainDtoWithAccountNameDtoToJSONTyped(json, false);
175
+ }
176
+
177
+ export function IntersectionDomainDtoWithAccountNameDtoToJSONTyped(value?: IntersectionDomainDtoWithAccountNameDto | null, ignoreDiscriminator: boolean = false): any {
178
+ if (value == null) {
179
+ return value;
180
+ }
181
+
182
+ return {
183
+
184
+ 'id': value['id'],
185
+ 'accountId': value['accountId'],
186
+ 'hijackerId': value['hijackerId'],
187
+ 'tld': value['tld'],
188
+ 'verified': value['verified'],
189
+ 'nameservers': value['nameservers'],
190
+ 'name': value['name'],
191
+ 'displayName': value['displayName'],
192
+ 'currencyCode': value['currencyCode'],
193
+ 'buyNow': MoneyDtoToJSON(value['buyNow']),
194
+ 'minOffer': MoneyDtoToJSON(value['minOffer']),
195
+ 'createdAt': ((value['createdAt']).toISOString()),
196
+ 'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
197
+ 'pageviews': value['pageviews'],
198
+ 'accountName': value['accountName'],
199
+ };
200
+ }
201
+
@@ -20,13 +20,13 @@ import {
20
20
  PaginateResponseLinksToJSON,
21
21
  PaginateResponseLinksToJSONTyped,
22
22
  } from './PaginateResponseLinks';
23
- import type { IntersectionTaskListTaskDto } from './IntersectionTaskListTaskDto';
23
+ import type { DomainDto } from './DomainDto';
24
24
  import {
25
- IntersectionTaskListTaskDtoFromJSON,
26
- IntersectionTaskListTaskDtoFromJSONTyped,
27
- IntersectionTaskListTaskDtoToJSON,
28
- IntersectionTaskListTaskDtoToJSONTyped,
29
- } from './IntersectionTaskListTaskDto';
25
+ DomainDtoFromJSON,
26
+ DomainDtoFromJSONTyped,
27
+ DomainDtoToJSON,
28
+ DomainDtoToJSONTyped,
29
+ } from './DomainDto';
30
30
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
31
31
  import {
32
32
  PaginateResponseMetaFromJSON,
@@ -43,10 +43,10 @@ import {
43
43
  export interface List200Response1 {
44
44
  /**
45
45
  *
46
- * @type {Array<IntersectionTaskListTaskDto>}
46
+ * @type {Array<DomainDto>}
47
47
  * @memberof List200Response1
48
48
  */
49
- data: Array<IntersectionTaskListTaskDto>;
49
+ data: Array<DomainDto>;
50
50
  /**
51
51
  *
52
52
  * @type {PaginateResponseMeta}
@@ -81,7 +81,7 @@ export function List200Response1FromJSONTyped(json: any, ignoreDiscriminator: bo
81
81
  }
82
82
  return {
83
83
 
84
- 'data': ((json['data'] as Array<any>).map(IntersectionTaskListTaskDtoFromJSON)),
84
+ 'data': ((json['data'] as Array<any>).map(DomainDtoFromJSON)),
85
85
  'meta': PaginateResponseMetaFromJSON(json['meta']),
86
86
  'links': PaginateResponseLinksFromJSON(json['links']),
87
87
  };
@@ -98,7 +98,7 @@ export function List200Response1FromJSONTyped(json: any, ignoreDiscriminator: bo
98
98
 
99
99
  return {
100
100
 
101
- 'data': ((value['data'] as Array<any>).map(IntersectionTaskListTaskDtoToJSON)),
101
+ 'data': ((value['data'] as Array<any>).map(DomainDtoToJSON)),
102
102
  'meta': PaginateResponseMetaToJSON(value['meta']),
103
103
  'links': PaginateResponseLinksToJSON(value['links']),
104
104
  };
@@ -20,13 +20,13 @@ import {
20
20
  PaginateResponseLinksToJSON,
21
21
  PaginateResponseLinksToJSONTyped,
22
22
  } from './PaginateResponseLinks';
23
- import type { PublicDomainDto } from './PublicDomainDto';
23
+ import type { IntersectionTaskListTaskDto } from './IntersectionTaskListTaskDto';
24
24
  import {
25
- PublicDomainDtoFromJSON,
26
- PublicDomainDtoFromJSONTyped,
27
- PublicDomainDtoToJSON,
28
- PublicDomainDtoToJSONTyped,
29
- } from './PublicDomainDto';
25
+ IntersectionTaskListTaskDtoFromJSON,
26
+ IntersectionTaskListTaskDtoFromJSONTyped,
27
+ IntersectionTaskListTaskDtoToJSON,
28
+ IntersectionTaskListTaskDtoToJSONTyped,
29
+ } from './IntersectionTaskListTaskDto';
30
30
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
31
31
  import {
32
32
  PaginateResponseMetaFromJSON,
@@ -43,10 +43,10 @@ import {
43
43
  export interface List200Response2 {
44
44
  /**
45
45
  *
46
- * @type {Array<PublicDomainDto>}
46
+ * @type {Array<IntersectionTaskListTaskDto>}
47
47
  * @memberof List200Response2
48
48
  */
49
- data: Array<PublicDomainDto>;
49
+ data: Array<IntersectionTaskListTaskDto>;
50
50
  /**
51
51
  *
52
52
  * @type {PaginateResponseMeta}
@@ -81,7 +81,7 @@ export function List200Response2FromJSONTyped(json: any, ignoreDiscriminator: bo
81
81
  }
82
82
  return {
83
83
 
84
- 'data': ((json['data'] as Array<any>).map(PublicDomainDtoFromJSON)),
84
+ 'data': ((json['data'] as Array<any>).map(IntersectionTaskListTaskDtoFromJSON)),
85
85
  'meta': PaginateResponseMetaFromJSON(json['meta']),
86
86
  'links': PaginateResponseLinksFromJSON(json['links']),
87
87
  };
@@ -98,7 +98,7 @@ export function List200Response2FromJSONTyped(json: any, ignoreDiscriminator: bo
98
98
 
99
99
  return {
100
100
 
101
- 'data': ((value['data'] as Array<any>).map(PublicDomainDtoToJSON)),
101
+ 'data': ((value['data'] as Array<any>).map(IntersectionTaskListTaskDtoToJSON)),
102
102
  'meta': PaginateResponseMetaToJSON(value['meta']),
103
103
  'links': PaginateResponseLinksToJSON(value['links']),
104
104
  };
@@ -0,0 +1,106 @@
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
+ import type { PaginateResponseLinks } from './PaginateResponseLinks';
17
+ import {
18
+ PaginateResponseLinksFromJSON,
19
+ PaginateResponseLinksFromJSONTyped,
20
+ PaginateResponseLinksToJSON,
21
+ PaginateResponseLinksToJSONTyped,
22
+ } from './PaginateResponseLinks';
23
+ import type { PublicDomainDto } from './PublicDomainDto';
24
+ import {
25
+ PublicDomainDtoFromJSON,
26
+ PublicDomainDtoFromJSONTyped,
27
+ PublicDomainDtoToJSON,
28
+ PublicDomainDtoToJSONTyped,
29
+ } from './PublicDomainDto';
30
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
31
+ import {
32
+ PaginateResponseMetaFromJSON,
33
+ PaginateResponseMetaFromJSONTyped,
34
+ PaginateResponseMetaToJSON,
35
+ PaginateResponseMetaToJSONTyped,
36
+ } from './PaginateResponseMeta';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface List200Response3
42
+ */
43
+ export interface List200Response3 {
44
+ /**
45
+ *
46
+ * @type {Array<PublicDomainDto>}
47
+ * @memberof List200Response3
48
+ */
49
+ data: Array<PublicDomainDto>;
50
+ /**
51
+ *
52
+ * @type {PaginateResponseMeta}
53
+ * @memberof List200Response3
54
+ */
55
+ meta: PaginateResponseMeta;
56
+ /**
57
+ *
58
+ * @type {PaginateResponseLinks}
59
+ * @memberof List200Response3
60
+ */
61
+ links: PaginateResponseLinks;
62
+ }
63
+
64
+ /**
65
+ * Check if a given object implements the List200Response3 interface.
66
+ */
67
+ export function instanceOfList200Response3(value: object): value is List200Response3 {
68
+ if (!('data' in value) || value['data'] === undefined) return false;
69
+ if (!('meta' in value) || value['meta'] === undefined) return false;
70
+ if (!('links' in value) || value['links'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function List200Response3FromJSON(json: any): List200Response3 {
75
+ return List200Response3FromJSONTyped(json, false);
76
+ }
77
+
78
+ export function List200Response3FromJSONTyped(json: any, ignoreDiscriminator: boolean): List200Response3 {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'data': ((json['data'] as Array<any>).map(PublicDomainDtoFromJSON)),
85
+ 'meta': PaginateResponseMetaFromJSON(json['meta']),
86
+ 'links': PaginateResponseLinksFromJSON(json['links']),
87
+ };
88
+ }
89
+
90
+ export function List200Response3ToJSON(json: any): List200Response3 {
91
+ return List200Response3ToJSONTyped(json, false);
92
+ }
93
+
94
+ export function List200Response3ToJSONTyped(value?: List200Response3 | null, ignoreDiscriminator: boolean = false): any {
95
+ if (value == null) {
96
+ return value;
97
+ }
98
+
99
+ return {
100
+
101
+ 'data': ((value['data'] as Array<any>).map(PublicDomainDtoToJSON)),
102
+ 'meta': PaginateResponseMetaToJSON(value['meta']),
103
+ 'links': PaginateResponseLinksToJSON(value['links']),
104
+ };
105
+ }
106
+