@randock/nameshift-api-client 0.0.23 → 0.0.24

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.
@@ -27,6 +27,7 @@ src/models/DeleteDomainsInput.ts
27
27
  src/models/DomainDto.ts
28
28
  src/models/DomainSalesInformationDto.ts
29
29
  src/models/DomainSellerDto.ts
30
+ src/models/GetDomainSalesInformation404Response.ts
30
31
  src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts
31
32
  src/models/IntersectionDomainDtoWithAccountDto.ts
32
33
  src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
@@ -56,7 +57,6 @@ src/models/ObjectId.ts
56
57
  src/models/PaginateResponse.ts
57
58
  src/models/PaginateResponseLinks.ts
58
59
  src/models/PaginateResponseMeta.ts
59
- src/models/PublicDomainControllerGetDomainSalesInformation404Response.ts
60
60
  src/models/PutLeadInput.ts
61
61
  src/models/SecurityUserDto.ts
62
62
  src/models/TokenDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.23
1
+ ## @randock/nameshift-api-client@0.0.24
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.23 --save
39
+ npm install @randock/nameshift-api-client@0.0.24 --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
- 435ed382baac40796cb073264b1d9675be955b662d65434fcdf5b3a9e36350682fac2a3da9648f7411b8908839ff3f7d
47
+ ac2a900304e91014d2c4183eaea7f3de7f136f58425fa8763b35d02b3b35035910a0e28574a89975d4704762eee0700d
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import * as runtime from '../runtime';
13
13
  import type { DomainSalesInformationDto } from '../models/index';
14
- export interface DomainsPublicApiPublicDomainControllerGetDomainSalesInformationRequest {
14
+ export interface DomainsPublicApiGetDomainSalesInformationRequest {
15
15
  domainName: string;
16
16
  }
17
17
  /**
@@ -19,9 +19,11 @@ export interface DomainsPublicApiPublicDomainControllerGetDomainSalesInformation
19
19
  */
20
20
  export declare class DomainsPublicApi extends runtime.BaseAPI {
21
21
  /**
22
+ *
22
23
  */
23
- publicDomainControllerGetDomainSalesInformationRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainSalesInformationDto>>;
24
+ getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainSalesInformationDto>>;
24
25
  /**
26
+ *
25
27
  */
26
- publicDomainControllerGetDomainSalesInformation(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainSalesInformationDto>;
28
+ getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainSalesInformationDto>;
27
29
  }
@@ -76,15 +76,16 @@ var DomainsPublicApi = /** @class */ (function (_super) {
76
76
  return _super !== null && _super.apply(this, arguments) || this;
77
77
  }
78
78
  /**
79
+ *
79
80
  */
80
- DomainsPublicApi.prototype.publicDomainControllerGetDomainSalesInformationRaw = function (requestParameters, initOverrides) {
81
+ DomainsPublicApi.prototype.getDomainSalesInformationRaw = function (requestParameters, initOverrides) {
81
82
  return __awaiter(this, void 0, void 0, function () {
82
83
  var queryParameters, headerParameters, response;
83
84
  return __generator(this, function (_a) {
84
85
  switch (_a.label) {
85
86
  case 0:
86
87
  if (requestParameters['domainName'] == null) {
87
- throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling publicDomainControllerGetDomainSalesInformation().');
88
+ throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling getDomainSalesInformation().');
88
89
  }
89
90
  queryParameters = {};
90
91
  headerParameters = {};
@@ -102,13 +103,14 @@ var DomainsPublicApi = /** @class */ (function (_super) {
102
103
  });
103
104
  };
104
105
  /**
106
+ *
105
107
  */
106
- DomainsPublicApi.prototype.publicDomainControllerGetDomainSalesInformation = function (requestParameters, initOverrides) {
108
+ DomainsPublicApi.prototype.getDomainSalesInformation = function (requestParameters, initOverrides) {
107
109
  return __awaiter(this, void 0, void 0, function () {
108
110
  var response;
109
111
  return __generator(this, function (_a) {
110
112
  switch (_a.label) {
111
- case 0: return [4 /*yield*/, this.publicDomainControllerGetDomainSalesInformationRaw(requestParameters, initOverrides)];
113
+ case 0: return [4 /*yield*/, this.getDomainSalesInformationRaw(requestParameters, initOverrides)];
112
114
  case 1:
113
115
  response = _a.sent();
114
116
  return [4 /*yield*/, response.value()];
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { MoneyDto } from './MoneyDto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -20,7 +21,7 @@ export interface CreateLeadInput {
20
21
  * @type {string}
21
22
  * @memberof CreateLeadInput
22
23
  */
23
- domainId: string;
24
+ domainName: string;
24
25
  /**
25
26
  *
26
27
  * @type {string}
@@ -51,7 +52,28 @@ export interface CreateLeadInput {
51
52
  * @memberof CreateLeadInput
52
53
  */
53
54
  companyName: string | null;
55
+ /**
56
+ *
57
+ * @type {MoneyDto}
58
+ * @memberof CreateLeadInput
59
+ */
60
+ offer: MoneyDto;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof CreateLeadInput
65
+ */
66
+ offeredBy: CreateLeadInputOfferedByEnum;
54
67
  }
68
+ /**
69
+ * @export
70
+ */
71
+ export declare const CreateLeadInputOfferedByEnum: {
72
+ readonly BUYER: "buyer";
73
+ readonly SELLER: "seller";
74
+ readonly ADMIN: "admin";
75
+ };
76
+ export type CreateLeadInputOfferedByEnum = typeof CreateLeadInputOfferedByEnum[keyof typeof CreateLeadInputOfferedByEnum];
55
77
  /**
56
78
  * Check if a given object implements the CreateLeadInput interface.
57
79
  */
@@ -13,12 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateLeadInputToJSON = exports.CreateLeadInputFromJSONTyped = exports.CreateLeadInputFromJSON = exports.instanceOfCreateLeadInput = void 0;
16
+ exports.CreateLeadInputToJSON = exports.CreateLeadInputFromJSONTyped = exports.CreateLeadInputFromJSON = exports.instanceOfCreateLeadInput = exports.CreateLeadInputOfferedByEnum = void 0;
17
+ var MoneyDto_1 = require("./MoneyDto");
18
+ /**
19
+ * @export
20
+ */
21
+ exports.CreateLeadInputOfferedByEnum = {
22
+ BUYER: 'buyer',
23
+ SELLER: 'seller',
24
+ ADMIN: 'admin'
25
+ };
17
26
  /**
18
27
  * Check if a given object implements the CreateLeadInput interface.
19
28
  */
20
29
  function instanceOfCreateLeadInput(value) {
21
- if (!('domainId' in value))
30
+ if (!('domainName' in value))
22
31
  return false;
23
32
  if (!('firstname' in value))
24
33
  return false;
@@ -30,6 +39,10 @@ function instanceOfCreateLeadInput(value) {
30
39
  return false;
31
40
  if (!('companyName' in value))
32
41
  return false;
42
+ if (!('offer' in value))
43
+ return false;
44
+ if (!('offeredBy' in value))
45
+ return false;
33
46
  return true;
34
47
  }
35
48
  exports.instanceOfCreateLeadInput = instanceOfCreateLeadInput;
@@ -42,12 +55,14 @@ function CreateLeadInputFromJSONTyped(json, ignoreDiscriminator) {
42
55
  return json;
43
56
  }
44
57
  return {
45
- 'domainId': json['domainId'],
58
+ 'domainName': json['domainName'],
46
59
  'firstname': json['firstname'],
47
60
  'lastname': json['lastname'],
48
61
  'email': json['email'],
49
62
  'phone': json['phone'],
50
63
  'companyName': json['companyName'],
64
+ 'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
65
+ 'offeredBy': json['offeredBy'],
51
66
  };
52
67
  }
53
68
  exports.CreateLeadInputFromJSONTyped = CreateLeadInputFromJSONTyped;
@@ -56,12 +71,14 @@ function CreateLeadInputToJSON(value) {
56
71
  return value;
57
72
  }
58
73
  return {
59
- 'domainId': value['domainId'],
74
+ 'domainName': value['domainName'],
60
75
  'firstname': value['firstname'],
61
76
  'lastname': value['lastname'],
62
77
  'email': value['email'],
63
78
  'phone': value['phone'],
64
79
  'companyName': value['companyName'],
80
+ 'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
81
+ 'offeredBy': value['offeredBy'],
65
82
  };
66
83
  }
67
84
  exports.CreateLeadInputToJSON = CreateLeadInputToJSON;
@@ -0,0 +1,43 @@
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 GetDomainSalesInformation404Response
16
+ */
17
+ export interface GetDomainSalesInformation404Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof GetDomainSalesInformation404Response
22
+ */
23
+ statusCode: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GetDomainSalesInformation404Response
28
+ */
29
+ message: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GetDomainSalesInformation404Response
34
+ */
35
+ error?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the GetDomainSalesInformation404Response interface.
39
+ */
40
+ export declare function instanceOfGetDomainSalesInformation404Response(value: object): boolean;
41
+ export declare function GetDomainSalesInformation404ResponseFromJSON(json: any): GetDomainSalesInformation404Response;
42
+ export declare function GetDomainSalesInformation404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDomainSalesInformation404Response;
43
+ export declare function GetDomainSalesInformation404ResponseToJSON(value?: GetDomainSalesInformation404Response | null): any;
@@ -0,0 +1,53 @@
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.GetDomainSalesInformation404ResponseToJSON = exports.GetDomainSalesInformation404ResponseFromJSONTyped = exports.GetDomainSalesInformation404ResponseFromJSON = exports.instanceOfGetDomainSalesInformation404Response = void 0;
17
+ /**
18
+ * Check if a given object implements the GetDomainSalesInformation404Response interface.
19
+ */
20
+ function instanceOfGetDomainSalesInformation404Response(value) {
21
+ if (!('statusCode' in value))
22
+ return false;
23
+ if (!('message' in value))
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfGetDomainSalesInformation404Response = instanceOfGetDomainSalesInformation404Response;
28
+ function GetDomainSalesInformation404ResponseFromJSON(json) {
29
+ return GetDomainSalesInformation404ResponseFromJSONTyped(json, false);
30
+ }
31
+ exports.GetDomainSalesInformation404ResponseFromJSON = GetDomainSalesInformation404ResponseFromJSON;
32
+ function GetDomainSalesInformation404ResponseFromJSONTyped(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.GetDomainSalesInformation404ResponseFromJSONTyped = GetDomainSalesInformation404ResponseFromJSONTyped;
43
+ function GetDomainSalesInformation404ResponseToJSON(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.GetDomainSalesInformation404ResponseToJSON = GetDomainSalesInformation404ResponseToJSON;
@@ -12,6 +12,7 @@ export * from './DeleteDomainsInput';
12
12
  export * from './DomainDto';
13
13
  export * from './DomainSalesInformationDto';
14
14
  export * from './DomainSellerDto';
15
+ export * from './GetDomainSalesInformation404Response';
15
16
  export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
16
17
  export * from './IntersectionDomainDtoWithAccountDto';
17
18
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
@@ -41,7 +42,6 @@ export * from './ObjectId';
41
42
  export * from './PaginateResponse';
42
43
  export * from './PaginateResponseLinks';
43
44
  export * from './PaginateResponseMeta';
44
- export * from './PublicDomainControllerGetDomainSalesInformation404Response';
45
45
  export * from './PutLeadInput';
46
46
  export * from './SecurityUserDto';
47
47
  export * from './TokenDto';
@@ -30,6 +30,7 @@ __exportStar(require("./DeleteDomainsInput"), exports);
30
30
  __exportStar(require("./DomainDto"), exports);
31
31
  __exportStar(require("./DomainSalesInformationDto"), exports);
32
32
  __exportStar(require("./DomainSellerDto"), exports);
33
+ __exportStar(require("./GetDomainSalesInformation404Response"), exports);
33
34
  __exportStar(require("./IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto"), exports);
34
35
  __exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
35
36
  __exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
@@ -59,7 +60,6 @@ __exportStar(require("./ObjectId"), exports);
59
60
  __exportStar(require("./PaginateResponse"), exports);
60
61
  __exportStar(require("./PaginateResponseLinks"), exports);
61
62
  __exportStar(require("./PaginateResponseMeta"), exports);
62
- __exportStar(require("./PublicDomainControllerGetDomainSalesInformation404Response"), exports);
63
63
  __exportStar(require("./PutLeadInput"), exports);
64
64
  __exportStar(require("./SecurityUserDto"), exports);
65
65
  __exportStar(require("./TokenDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -16,16 +16,16 @@
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
18
  DomainSalesInformationDto,
19
- PublicDomainControllerGetDomainSalesInformation404Response,
19
+ GetDomainSalesInformation404Response,
20
20
  } from '../models/index';
21
21
  import {
22
22
  DomainSalesInformationDtoFromJSON,
23
23
  DomainSalesInformationDtoToJSON,
24
- PublicDomainControllerGetDomainSalesInformation404ResponseFromJSON,
25
- PublicDomainControllerGetDomainSalesInformation404ResponseToJSON,
24
+ GetDomainSalesInformation404ResponseFromJSON,
25
+ GetDomainSalesInformation404ResponseToJSON,
26
26
  } from '../models/index';
27
27
 
28
- export interface DomainsPublicApiPublicDomainControllerGetDomainSalesInformationRequest {
28
+ export interface DomainsPublicApiGetDomainSalesInformationRequest {
29
29
  domainName: string;
30
30
  }
31
31
 
@@ -35,12 +35,13 @@ export interface DomainsPublicApiPublicDomainControllerGetDomainSalesInformation
35
35
  export class DomainsPublicApi extends runtime.BaseAPI {
36
36
 
37
37
  /**
38
+ *
38
39
  */
39
- async publicDomainControllerGetDomainSalesInformationRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainSalesInformationDto>> {
40
+ async getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainSalesInformationDto>> {
40
41
  if (requestParameters['domainName'] == null) {
41
42
  throw new runtime.RequiredError(
42
43
  'domainName',
43
- 'Required parameter "domainName" was null or undefined when calling publicDomainControllerGetDomainSalesInformation().'
44
+ 'Required parameter "domainName" was null or undefined when calling getDomainSalesInformation().'
44
45
  );
45
46
  }
46
47
 
@@ -59,9 +60,10 @@ export class DomainsPublicApi extends runtime.BaseAPI {
59
60
  }
60
61
 
61
62
  /**
63
+ *
62
64
  */
63
- async publicDomainControllerGetDomainSalesInformation(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainSalesInformationDto> {
64
- const response = await this.publicDomainControllerGetDomainSalesInformationRaw(requestParameters, initOverrides);
65
+ async getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainSalesInformationDto> {
66
+ const response = await this.getDomainSalesInformationRaw(requestParameters, initOverrides);
65
67
  return await response.value();
66
68
  }
67
69
 
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { MoneyDto } from './MoneyDto';
17
+ import {
18
+ MoneyDtoFromJSON,
19
+ MoneyDtoFromJSONTyped,
20
+ MoneyDtoToJSON,
21
+ } from './MoneyDto';
22
+
16
23
  /**
17
24
  *
18
25
  * @export
@@ -24,7 +31,7 @@ export interface CreateLeadInput {
24
31
  * @type {string}
25
32
  * @memberof CreateLeadInput
26
33
  */
27
- domainId: string;
34
+ domainName: string;
28
35
  /**
29
36
  *
30
37
  * @type {string}
@@ -55,18 +62,44 @@ export interface CreateLeadInput {
55
62
  * @memberof CreateLeadInput
56
63
  */
57
64
  companyName: string | null;
65
+ /**
66
+ *
67
+ * @type {MoneyDto}
68
+ * @memberof CreateLeadInput
69
+ */
70
+ offer: MoneyDto;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof CreateLeadInput
75
+ */
76
+ offeredBy: CreateLeadInputOfferedByEnum;
58
77
  }
59
78
 
79
+
80
+ /**
81
+ * @export
82
+ */
83
+ export const CreateLeadInputOfferedByEnum = {
84
+ BUYER: 'buyer',
85
+ SELLER: 'seller',
86
+ ADMIN: 'admin'
87
+ } as const;
88
+ export type CreateLeadInputOfferedByEnum = typeof CreateLeadInputOfferedByEnum[keyof typeof CreateLeadInputOfferedByEnum];
89
+
90
+
60
91
  /**
61
92
  * Check if a given object implements the CreateLeadInput interface.
62
93
  */
63
94
  export function instanceOfCreateLeadInput(value: object): boolean {
64
- if (!('domainId' in value)) return false;
95
+ if (!('domainName' in value)) return false;
65
96
  if (!('firstname' in value)) return false;
66
97
  if (!('lastname' in value)) return false;
67
98
  if (!('email' in value)) return false;
68
99
  if (!('phone' in value)) return false;
69
100
  if (!('companyName' in value)) return false;
101
+ if (!('offer' in value)) return false;
102
+ if (!('offeredBy' in value)) return false;
70
103
  return true;
71
104
  }
72
105
 
@@ -80,12 +113,14 @@ export function CreateLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boo
80
113
  }
81
114
  return {
82
115
 
83
- 'domainId': json['domainId'],
116
+ 'domainName': json['domainName'],
84
117
  'firstname': json['firstname'],
85
118
  'lastname': json['lastname'],
86
119
  'email': json['email'],
87
120
  'phone': json['phone'],
88
121
  'companyName': json['companyName'],
122
+ 'offer': MoneyDtoFromJSON(json['offer']),
123
+ 'offeredBy': json['offeredBy'],
89
124
  };
90
125
  }
91
126
 
@@ -95,12 +130,14 @@ export function CreateLeadInputToJSON(value?: CreateLeadInput | null): any {
95
130
  }
96
131
  return {
97
132
 
98
- 'domainId': value['domainId'],
133
+ 'domainName': value['domainName'],
99
134
  'firstname': value['firstname'],
100
135
  'lastname': value['lastname'],
101
136
  'email': value['email'],
102
137
  'phone': value['phone'],
103
138
  'companyName': value['companyName'],
139
+ 'offer': MoneyDtoToJSON(value['offer']),
140
+ 'offeredBy': value['offeredBy'],
104
141
  };
105
142
  }
106
143
 
@@ -0,0 +1,78 @@
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 GetDomainSalesInformation404Response
20
+ */
21
+ export interface GetDomainSalesInformation404Response {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof GetDomainSalesInformation404Response
26
+ */
27
+ statusCode: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GetDomainSalesInformation404Response
32
+ */
33
+ message: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GetDomainSalesInformation404Response
38
+ */
39
+ error?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GetDomainSalesInformation404Response interface.
44
+ */
45
+ export function instanceOfGetDomainSalesInformation404Response(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 GetDomainSalesInformation404ResponseFromJSON(json: any): GetDomainSalesInformation404Response {
52
+ return GetDomainSalesInformation404ResponseFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function GetDomainSalesInformation404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDomainSalesInformation404Response {
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 GetDomainSalesInformation404ResponseToJSON(value?: GetDomainSalesInformation404Response | 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
+
@@ -14,6 +14,7 @@ export * from './DeleteDomainsInput';
14
14
  export * from './DomainDto';
15
15
  export * from './DomainSalesInformationDto';
16
16
  export * from './DomainSellerDto';
17
+ export * from './GetDomainSalesInformation404Response';
17
18
  export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
18
19
  export * from './IntersectionDomainDtoWithAccountDto';
19
20
  export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
@@ -43,7 +44,6 @@ export * from './ObjectId';
43
44
  export * from './PaginateResponse';
44
45
  export * from './PaginateResponseLinks';
45
46
  export * from './PaginateResponseMeta';
46
- export * from './PublicDomainControllerGetDomainSalesInformation404Response';
47
47
  export * from './PutLeadInput';
48
48
  export * from './SecurityUserDto';
49
49
  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
-