@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
@@ -86,6 +86,7 @@ src/models/GetBuyerTransfers200Response.ts
86
86
  src/models/HttpException.ts
87
87
  src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.ts
88
88
  src/models/IntersectionDomainDtoWithAccountDto.ts
89
+ src/models/IntersectionDomainDtoWithAccountNameDto.ts
89
90
  src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
90
91
  src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts
91
92
  src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts
@@ -104,6 +105,7 @@ src/models/LeadStatusDto.ts
104
105
  src/models/List200Response.ts
105
106
  src/models/List200Response1.ts
106
107
  src/models/List200Response2.ts
108
+ src/models/List200Response3.ts
107
109
  src/models/ListAccountDto.ts
108
110
  src/models/ListAccounts200Response.ts
109
111
  src/models/ListDomains200Response.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.168
1
+ ## @randock/nameshift-api-client@0.0.170
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.168 --save
39
+ npm install @randock/nameshift-api-client@0.0.170 --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
- f465dc44e329d58f16eb9c7f0cde6c94eb6d160973da9ab319831e738c0cb94a1d5f765988fc86971c82789a46aa2630
47
+ 595516ff3a9add8f4075051674bd0e70848e1198cbdd42ff4c6a5e9e0f78c7a5670ad26085fecfa6209529562838e2b5
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BatchImportPreviewDto, BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, DomainUrlDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, ListDomains200Response, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
13
+ import type { BatchImportPreviewDto, BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, DomainUrlDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response1, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
14
14
  export interface DomainsApiBatchImportRequest {
15
15
  file?: Blob | null;
16
16
  domains?: Array<string>;
@@ -135,11 +135,11 @@ export declare class DomainsApi extends runtime.BaseAPI {
135
135
  /**
136
136
  *
137
137
  */
138
- listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListDomains200Response>>;
138
+ listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response1>>;
139
139
  /**
140
140
  *
141
141
  */
142
- list(requestParameters?: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListDomains200Response>;
142
+ list(requestParameters?: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response1>;
143
143
  /**
144
144
  *
145
145
  */
@@ -633,7 +633,7 @@ var DomainsApi = /** @class */ (function (_super) {
633
633
  }, initOverrides)];
634
634
  case 3:
635
635
  response = _a.sent();
636
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ListDomains200ResponseFromJSON)(jsonValue); })];
636
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response1FromJSON)(jsonValue); })];
637
637
  }
638
638
  });
639
639
  });
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { IntersectionDomainSalesInformationDtoWithDomainStatsDto, List200Response2 } from '../models/index';
13
+ import type { IntersectionDomainSalesInformationDtoWithDomainStatsDto, List200Response3 } from '../models/index';
14
14
  export interface DomainsPublicApiGetDomainSalesInformationRequest {
15
15
  domainName: string;
16
16
  includeStats?: boolean;
@@ -36,9 +36,9 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
36
36
  /**
37
37
  *
38
38
  */
39
- listRaw(requestParameters: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response2>>;
39
+ listRaw(requestParameters: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response3>>;
40
40
  /**
41
41
  *
42
42
  */
43
- list(requestParameters?: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response2>;
43
+ list(requestParameters?: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response3>;
44
44
  }
@@ -153,7 +153,7 @@ var DomainsPublicApi = /** @class */ (function (_super) {
153
153
  }, initOverrides)];
154
154
  case 1:
155
155
  response = _a.sent();
156
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response2FromJSON)(jsonValue); })];
156
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response3FromJSON)(jsonValue); })];
157
157
  }
158
158
  });
159
159
  });
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { List200Response1 } from '../models/index';
13
+ import type { List200Response2 } from '../models/index';
14
14
  export interface TasksApiListRequest {
15
15
  filter?: object;
16
16
  page?: number;
@@ -24,9 +24,9 @@ export declare class TasksApi extends runtime.BaseAPI {
24
24
  /**
25
25
  *
26
26
  */
27
- listRaw(requestParameters: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response1>>;
27
+ listRaw(requestParameters: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response2>>;
28
28
  /**
29
29
  *
30
30
  */
31
- list(requestParameters?: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response1>;
31
+ list(requestParameters?: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response2>;
32
32
  }
@@ -115,7 +115,7 @@ var TasksApi = /** @class */ (function (_super) {
115
115
  }, initOverrides)];
116
116
  case 3:
117
117
  response = _a.sent();
118
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response1FromJSON)(jsonValue); })];
118
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response2FromJSON)(jsonValue); })];
119
119
  }
120
120
  });
121
121
  });
@@ -32,13 +32,19 @@ export interface DomainTransferDetailsOrderBuyerDto {
32
32
  * @type {string}
33
33
  * @memberof DomainTransferDetailsOrderBuyerDto
34
34
  */
35
- firstName: string;
35
+ firstName: string | null;
36
36
  /**
37
37
  * The order buyer last name
38
38
  * @type {string}
39
39
  * @memberof DomainTransferDetailsOrderBuyerDto
40
40
  */
41
- lastName: string;
41
+ lastName: string | null;
42
+ /**
43
+ * The company name
44
+ * @type {string}
45
+ * @memberof DomainTransferDetailsOrderBuyerDto
46
+ */
47
+ companyName: string | null;
42
48
  }
43
49
  /**
44
50
  * Check if a given object implements the DomainTransferDetailsOrderBuyerDto interface.
@@ -30,6 +30,8 @@ function instanceOfDomainTransferDetailsOrderBuyerDto(value) {
30
30
  return false;
31
31
  if (!('lastName' in value) || value['lastName'] === undefined)
32
32
  return false;
33
+ if (!('companyName' in value) || value['companyName'] === undefined)
34
+ return false;
33
35
  return true;
34
36
  }
35
37
  function DomainTransferDetailsOrderBuyerDtoFromJSON(json) {
@@ -44,6 +46,7 @@ function DomainTransferDetailsOrderBuyerDtoFromJSONTyped(json, ignoreDiscriminat
44
46
  'email': json['email'],
45
47
  'firstName': json['firstName'],
46
48
  'lastName': json['lastName'],
49
+ 'companyName': json['companyName'],
47
50
  };
48
51
  }
49
52
  function DomainTransferDetailsOrderBuyerDtoToJSON(json) {
@@ -59,5 +62,6 @@ function DomainTransferDetailsOrderBuyerDtoToJSONTyped(value, ignoreDiscriminato
59
62
  'email': value['email'],
60
63
  'firstName': value['firstName'],
61
64
  'lastName': value['lastName'],
65
+ 'companyName': value['companyName'],
62
66
  };
63
67
  }
@@ -0,0 +1,118 @@
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
+ import type { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface IntersectionDomainDtoWithAccountNameDto
17
+ */
18
+ export interface IntersectionDomainDtoWithAccountNameDto {
19
+ /**
20
+ * The uuid for this domain.
21
+ * @type {string}
22
+ * @memberof IntersectionDomainDtoWithAccountNameDto
23
+ */
24
+ id: string;
25
+ /**
26
+ * The current owner for the domain
27
+ * @type {string}
28
+ * @memberof IntersectionDomainDtoWithAccountNameDto
29
+ */
30
+ accountId: string;
31
+ /**
32
+ * The hijacker for the domain
33
+ * @type {string}
34
+ * @memberof IntersectionDomainDtoWithAccountNameDto
35
+ */
36
+ hijackerId: string | null;
37
+ /**
38
+ * The TLD for this domain.
39
+ * @type {string}
40
+ * @memberof IntersectionDomainDtoWithAccountNameDto
41
+ */
42
+ tld: string;
43
+ /**
44
+ * Whether this domain is verified by the owner (ns3, txt) or not.
45
+ * @type {boolean}
46
+ * @memberof IntersectionDomainDtoWithAccountNameDto
47
+ */
48
+ verified: boolean;
49
+ /**
50
+ * Whether the nameservers (ns1,ns2) are set or not.
51
+ * @type {boolean}
52
+ * @memberof IntersectionDomainDtoWithAccountNameDto
53
+ */
54
+ nameservers: boolean;
55
+ /**
56
+ * The ASCII domain name (example.com, xn--maana-pta.com)
57
+ * @type {string}
58
+ * @memberof IntersectionDomainDtoWithAccountNameDto
59
+ */
60
+ name: string;
61
+ /**
62
+ * The unicode domain name (example.com, mañana.com)
63
+ * @type {string}
64
+ * @memberof IntersectionDomainDtoWithAccountNameDto
65
+ */
66
+ displayName: string;
67
+ /**
68
+ * /**
69
+ * The domain's currency code (ISO 4217)
70
+ * @type {string}
71
+ * @memberof IntersectionDomainDtoWithAccountNameDto
72
+ */
73
+ currencyCode: string;
74
+ /**
75
+ * The BIN
76
+ * @type {MoneyDto}
77
+ * @memberof IntersectionDomainDtoWithAccountNameDto
78
+ */
79
+ buyNow: MoneyDto;
80
+ /**
81
+ * The minimum offer
82
+ * @type {MoneyDto}
83
+ * @memberof IntersectionDomainDtoWithAccountNameDto
84
+ */
85
+ minOffer: MoneyDto;
86
+ /**
87
+ * The creation date
88
+ * @type {Date}
89
+ * @memberof IntersectionDomainDtoWithAccountNameDto
90
+ */
91
+ createdAt: Date;
92
+ /**
93
+ * The deletion date
94
+ * @type {Date}
95
+ * @memberof IntersectionDomainDtoWithAccountNameDto
96
+ */
97
+ deletedAt: Date | null;
98
+ /**
99
+ * The amount of pageviews for this domain, or null if none are tracked.
100
+ * @type {number}
101
+ * @memberof IntersectionDomainDtoWithAccountNameDto
102
+ */
103
+ pageviews: number;
104
+ /**
105
+ *
106
+ * @type {string}
107
+ * @memberof IntersectionDomainDtoWithAccountNameDto
108
+ */
109
+ accountName: string | null;
110
+ }
111
+ /**
112
+ * Check if a given object implements the IntersectionDomainDtoWithAccountNameDto interface.
113
+ */
114
+ export declare function instanceOfIntersectionDomainDtoWithAccountNameDto(value: object): value is IntersectionDomainDtoWithAccountNameDto;
115
+ export declare function IntersectionDomainDtoWithAccountNameDtoFromJSON(json: any): IntersectionDomainDtoWithAccountNameDto;
116
+ export declare function IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithAccountNameDto;
117
+ export declare function IntersectionDomainDtoWithAccountNameDtoToJSON(json: any): IntersectionDomainDtoWithAccountNameDto;
118
+ export declare function IntersectionDomainDtoWithAccountNameDtoToJSONTyped(value?: IntersectionDomainDtoWithAccountNameDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,108 @@
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.instanceOfIntersectionDomainDtoWithAccountNameDto = instanceOfIntersectionDomainDtoWithAccountNameDto;
17
+ exports.IntersectionDomainDtoWithAccountNameDtoFromJSON = IntersectionDomainDtoWithAccountNameDtoFromJSON;
18
+ exports.IntersectionDomainDtoWithAccountNameDtoFromJSONTyped = IntersectionDomainDtoWithAccountNameDtoFromJSONTyped;
19
+ exports.IntersectionDomainDtoWithAccountNameDtoToJSON = IntersectionDomainDtoWithAccountNameDtoToJSON;
20
+ exports.IntersectionDomainDtoWithAccountNameDtoToJSONTyped = IntersectionDomainDtoWithAccountNameDtoToJSONTyped;
21
+ var MoneyDto_1 = require("./MoneyDto");
22
+ /**
23
+ * Check if a given object implements the IntersectionDomainDtoWithAccountNameDto interface.
24
+ */
25
+ function instanceOfIntersectionDomainDtoWithAccountNameDto(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('accountId' in value) || value['accountId'] === undefined)
29
+ return false;
30
+ if (!('hijackerId' in value) || value['hijackerId'] === undefined)
31
+ return false;
32
+ if (!('tld' in value) || value['tld'] === undefined)
33
+ return false;
34
+ if (!('verified' in value) || value['verified'] === undefined)
35
+ return false;
36
+ if (!('nameservers' in value) || value['nameservers'] === undefined)
37
+ return false;
38
+ if (!('name' in value) || value['name'] === undefined)
39
+ return false;
40
+ if (!('displayName' in value) || value['displayName'] === undefined)
41
+ return false;
42
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined)
43
+ return false;
44
+ if (!('buyNow' in value) || value['buyNow'] === undefined)
45
+ return false;
46
+ if (!('minOffer' in value) || value['minOffer'] === undefined)
47
+ return false;
48
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
49
+ return false;
50
+ if (!('deletedAt' in value) || value['deletedAt'] === undefined)
51
+ return false;
52
+ if (!('pageviews' in value) || value['pageviews'] === undefined)
53
+ return false;
54
+ if (!('accountName' in value) || value['accountName'] === undefined)
55
+ return false;
56
+ return true;
57
+ }
58
+ function IntersectionDomainDtoWithAccountNameDtoFromJSON(json) {
59
+ return IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json, false);
60
+ }
61
+ function IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json, ignoreDiscriminator) {
62
+ if (json == null) {
63
+ return json;
64
+ }
65
+ return {
66
+ 'id': json['id'],
67
+ 'accountId': json['accountId'],
68
+ 'hijackerId': json['hijackerId'],
69
+ 'tld': json['tld'],
70
+ 'verified': json['verified'],
71
+ 'nameservers': json['nameservers'],
72
+ 'name': json['name'],
73
+ 'displayName': json['displayName'],
74
+ 'currencyCode': json['currencyCode'],
75
+ 'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
76
+ 'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
77
+ 'createdAt': (new Date(json['createdAt'])),
78
+ 'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
79
+ 'pageviews': json['pageviews'],
80
+ 'accountName': json['accountName'],
81
+ };
82
+ }
83
+ function IntersectionDomainDtoWithAccountNameDtoToJSON(json) {
84
+ return IntersectionDomainDtoWithAccountNameDtoToJSONTyped(json, false);
85
+ }
86
+ function IntersectionDomainDtoWithAccountNameDtoToJSONTyped(value, ignoreDiscriminator) {
87
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+ return {
92
+ 'id': value['id'],
93
+ 'accountId': value['accountId'],
94
+ 'hijackerId': value['hijackerId'],
95
+ 'tld': value['tld'],
96
+ 'verified': value['verified'],
97
+ 'nameservers': value['nameservers'],
98
+ 'name': value['name'],
99
+ 'displayName': value['displayName'],
100
+ 'currencyCode': value['currencyCode'],
101
+ 'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
102
+ 'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
103
+ 'createdAt': ((value['createdAt']).toISOString()),
104
+ 'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
105
+ 'pageviews': value['pageviews'],
106
+ 'accountName': value['accountName'],
107
+ };
108
+ }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
- import type { IntersectionTaskListTaskDto } from './IntersectionTaskListTaskDto';
13
+ import type { DomainDto } from './DomainDto';
14
14
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
15
  /**
16
16
  *
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
20
20
  export interface List200Response1 {
21
21
  /**
22
22
  *
23
- * @type {Array<IntersectionTaskListTaskDto>}
23
+ * @type {Array<DomainDto>}
24
24
  * @memberof List200Response1
25
25
  */
26
- data: Array<IntersectionTaskListTaskDto>;
26
+ data: Array<DomainDto>;
27
27
  /**
28
28
  *
29
29
  * @type {PaginateResponseMeta}
@@ -19,7 +19,7 @@ exports.List200Response1FromJSONTyped = List200Response1FromJSONTyped;
19
19
  exports.List200Response1ToJSON = List200Response1ToJSON;
20
20
  exports.List200Response1ToJSONTyped = List200Response1ToJSONTyped;
21
21
  var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
- var IntersectionTaskListTaskDto_1 = require("./IntersectionTaskListTaskDto");
22
+ var DomainDto_1 = require("./DomainDto");
23
23
  var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
24
  /**
25
25
  * Check if a given object implements the List200Response1 interface.
@@ -41,7 +41,7 @@ function List200Response1FromJSONTyped(json, ignoreDiscriminator) {
41
41
  return json;
42
42
  }
43
43
  return {
44
- 'data': (json['data'].map(IntersectionTaskListTaskDto_1.IntersectionTaskListTaskDtoFromJSON)),
44
+ 'data': (json['data'].map(DomainDto_1.DomainDtoFromJSON)),
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 List200Response1ToJSONTyped(value, ignoreDiscriminator) {
55
55
  return value;
56
56
  }
57
57
  return {
58
- 'data': (value['data'].map(IntersectionTaskListTaskDto_1.IntersectionTaskListTaskDtoToJSON)),
58
+ 'data': (value['data'].map(DomainDto_1.DomainDtoToJSON)),
59
59
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
60
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
61
  };
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
- import type { PublicDomainDto } from './PublicDomainDto';
13
+ import type { IntersectionTaskListTaskDto } from './IntersectionTaskListTaskDto';
14
14
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
15
  /**
16
16
  *
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
20
20
  export interface List200Response2 {
21
21
  /**
22
22
  *
23
- * @type {Array<PublicDomainDto>}
23
+ * @type {Array<IntersectionTaskListTaskDto>}
24
24
  * @memberof List200Response2
25
25
  */
26
- data: Array<PublicDomainDto>;
26
+ data: Array<IntersectionTaskListTaskDto>;
27
27
  /**
28
28
  *
29
29
  * @type {PaginateResponseMeta}
@@ -19,7 +19,7 @@ exports.List200Response2FromJSONTyped = List200Response2FromJSONTyped;
19
19
  exports.List200Response2ToJSON = List200Response2ToJSON;
20
20
  exports.List200Response2ToJSONTyped = List200Response2ToJSONTyped;
21
21
  var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
- var PublicDomainDto_1 = require("./PublicDomainDto");
22
+ var IntersectionTaskListTaskDto_1 = require("./IntersectionTaskListTaskDto");
23
23
  var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
24
  /**
25
25
  * Check if a given object implements the List200Response2 interface.
@@ -41,7 +41,7 @@ function List200Response2FromJSONTyped(json, ignoreDiscriminator) {
41
41
  return json;
42
42
  }
43
43
  return {
44
- 'data': (json['data'].map(PublicDomainDto_1.PublicDomainDtoFromJSON)),
44
+ 'data': (json['data'].map(IntersectionTaskListTaskDto_1.IntersectionTaskListTaskDtoFromJSON)),
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 List200Response2ToJSONTyped(value, ignoreDiscriminator) {
55
55
  return value;
56
56
  }
57
57
  return {
58
- 'data': (value['data'].map(PublicDomainDto_1.PublicDomainDtoToJSON)),
58
+ 'data': (value['data'].map(IntersectionTaskListTaskDto_1.IntersectionTaskListTaskDtoToJSON)),
59
59
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
60
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
61
  };
@@ -0,0 +1,47 @@
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
+ import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
+ import type { PublicDomainDto } from './PublicDomainDto';
14
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface List200Response3
19
+ */
20
+ export interface List200Response3 {
21
+ /**
22
+ *
23
+ * @type {Array<PublicDomainDto>}
24
+ * @memberof List200Response3
25
+ */
26
+ data: Array<PublicDomainDto>;
27
+ /**
28
+ *
29
+ * @type {PaginateResponseMeta}
30
+ * @memberof List200Response3
31
+ */
32
+ meta: PaginateResponseMeta;
33
+ /**
34
+ *
35
+ * @type {PaginateResponseLinks}
36
+ * @memberof List200Response3
37
+ */
38
+ links: PaginateResponseLinks;
39
+ }
40
+ /**
41
+ * Check if a given object implements the List200Response3 interface.
42
+ */
43
+ export declare function instanceOfList200Response3(value: object): value is List200Response3;
44
+ export declare function List200Response3FromJSON(json: any): List200Response3;
45
+ export declare function List200Response3FromJSONTyped(json: any, ignoreDiscriminator: boolean): List200Response3;
46
+ export declare function List200Response3ToJSON(json: any): List200Response3;
47
+ export declare function List200Response3ToJSONTyped(value?: List200Response3 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfList200Response3 = instanceOfList200Response3;
17
+ exports.List200Response3FromJSON = List200Response3FromJSON;
18
+ exports.List200Response3FromJSONTyped = List200Response3FromJSONTyped;
19
+ exports.List200Response3ToJSON = List200Response3ToJSON;
20
+ exports.List200Response3ToJSONTyped = List200Response3ToJSONTyped;
21
+ var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
+ var PublicDomainDto_1 = require("./PublicDomainDto");
23
+ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
+ /**
25
+ * Check if a given object implements the List200Response3 interface.
26
+ */
27
+ function instanceOfList200Response3(value) {
28
+ if (!('data' in value) || value['data'] === undefined)
29
+ return false;
30
+ if (!('meta' in value) || value['meta'] === undefined)
31
+ return false;
32
+ if (!('links' in value) || value['links'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function List200Response3FromJSON(json) {
37
+ return List200Response3FromJSONTyped(json, false);
38
+ }
39
+ function List200Response3FromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'data': (json['data'].map(PublicDomainDto_1.PublicDomainDtoFromJSON)),
45
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
+ };
48
+ }
49
+ function List200Response3ToJSON(json) {
50
+ return List200Response3ToJSONTyped(json, false);
51
+ }
52
+ function List200Response3ToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'data': (value['data'].map(PublicDomainDto_1.PublicDomainDtoToJSON)),
59
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
+ };
62
+ }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
- import type { DomainDto } from './DomainDto';
13
+ import type { IntersectionDomainDtoWithAccountNameDto } from './IntersectionDomainDtoWithAccountNameDto';
14
14
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
15
  /**
16
16
  *
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
20
20
  export interface ListDomains200Response {
21
21
  /**
22
22
  *
23
- * @type {Array<DomainDto>}
23
+ * @type {Array<IntersectionDomainDtoWithAccountNameDto>}
24
24
  * @memberof ListDomains200Response
25
25
  */
26
- data: Array<DomainDto>;
26
+ data: Array<IntersectionDomainDtoWithAccountNameDto>;
27
27
  /**
28
28
  *
29
29
  * @type {PaginateResponseMeta}