@randock/nameshift-api-client 0.0.17 → 0.0.18

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.
@@ -48,6 +48,8 @@ src/models/PublicDomainControllerGetDomainIdentifier404Response.ts
48
48
  src/models/PutLeadInput.ts
49
49
  src/models/TokenDto.ts
50
50
  src/models/UpdateDomainInput.ts
51
+ src/models/UpdateFinancial400Response.ts
52
+ src/models/UpdateSettings400Response.ts
51
53
  src/models/UpdateSettings401Response.ts
52
54
  src/models/UpdateSettings429Response.ts
53
55
  src/models/WithFinancialDtoInner.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.7
1
+ ## @randock/nameshift-api-client@0.0.18
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.7 --save
39
+ npm install @randock/nameshift-api-client@0.0.18 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Returned if invalid request was specified.
13
+ * Thrown in case of request errors.
14
14
  * @export
15
15
  * @interface List400Response
16
16
  */
@@ -23,10 +23,10 @@ export interface List400Response {
23
23
  statusCode: number;
24
24
  /**
25
25
  *
26
- * @type {string}
26
+ * @type {Array<object>}
27
27
  * @memberof List400Response
28
28
  */
29
- message: string;
29
+ message: Array<object>;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -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 in case of requestion validation errors.
14
+ * @export
15
+ * @interface UpdateFinancial400Response
16
+ */
17
+ export interface UpdateFinancial400Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof UpdateFinancial400Response
22
+ */
23
+ statusCode: number;
24
+ /**
25
+ *
26
+ * @type {Array<object>}
27
+ * @memberof UpdateFinancial400Response
28
+ */
29
+ message: Array<object>;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UpdateFinancial400Response
34
+ */
35
+ error?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the UpdateFinancial400Response interface.
39
+ */
40
+ export declare function instanceOfUpdateFinancial400Response(value: object): boolean;
41
+ export declare function UpdateFinancial400ResponseFromJSON(json: any): UpdateFinancial400Response;
42
+ export declare function UpdateFinancial400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFinancial400Response;
43
+ export declare function UpdateFinancial400ResponseToJSON(value?: UpdateFinancial400Response | null): any;
@@ -0,0 +1,56 @@
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.UpdateFinancial400ResponseToJSON = exports.UpdateFinancial400ResponseFromJSONTyped = exports.UpdateFinancial400ResponseFromJSON = exports.instanceOfUpdateFinancial400Response = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the UpdateFinancial400Response interface.
20
+ */
21
+ function instanceOfUpdateFinancial400Response(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "statusCode" in value;
24
+ isInstance = isInstance && "message" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfUpdateFinancial400Response = instanceOfUpdateFinancial400Response;
28
+ function UpdateFinancial400ResponseFromJSON(json) {
29
+ return UpdateFinancial400ResponseFromJSONTyped(json, false);
30
+ }
31
+ exports.UpdateFinancial400ResponseFromJSON = UpdateFinancial400ResponseFromJSON;
32
+ function UpdateFinancial400ResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'statusCode': json['statusCode'],
38
+ 'message': json['message'],
39
+ 'error': !(0, runtime_1.exists)(json, 'error') ? undefined : json['error'],
40
+ };
41
+ }
42
+ exports.UpdateFinancial400ResponseFromJSONTyped = UpdateFinancial400ResponseFromJSONTyped;
43
+ function UpdateFinancial400ResponseToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'statusCode': value.statusCode,
52
+ 'message': value.message,
53
+ 'error': value.error,
54
+ };
55
+ }
56
+ exports.UpdateFinancial400ResponseToJSON = UpdateFinancial400ResponseToJSON;
@@ -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 in case of validation errors.
14
+ * @export
15
+ * @interface UpdateSettings400Response
16
+ */
17
+ export interface UpdateSettings400Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof UpdateSettings400Response
22
+ */
23
+ statusCode: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UpdateSettings400Response
28
+ */
29
+ message: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UpdateSettings400Response
34
+ */
35
+ error?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the UpdateSettings400Response interface.
39
+ */
40
+ export declare function instanceOfUpdateSettings400Response(value: object): boolean;
41
+ export declare function UpdateSettings400ResponseFromJSON(json: any): UpdateSettings400Response;
42
+ export declare function UpdateSettings400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSettings400Response;
43
+ export declare function UpdateSettings400ResponseToJSON(value?: UpdateSettings400Response | null): any;
@@ -0,0 +1,56 @@
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.UpdateSettings400ResponseToJSON = exports.UpdateSettings400ResponseFromJSONTyped = exports.UpdateSettings400ResponseFromJSON = exports.instanceOfUpdateSettings400Response = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the UpdateSettings400Response interface.
20
+ */
21
+ function instanceOfUpdateSettings400Response(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "statusCode" in value;
24
+ isInstance = isInstance && "message" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfUpdateSettings400Response = instanceOfUpdateSettings400Response;
28
+ function UpdateSettings400ResponseFromJSON(json) {
29
+ return UpdateSettings400ResponseFromJSONTyped(json, false);
30
+ }
31
+ exports.UpdateSettings400ResponseFromJSON = UpdateSettings400ResponseFromJSON;
32
+ function UpdateSettings400ResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'statusCode': json['statusCode'],
38
+ 'message': json['message'],
39
+ 'error': !(0, runtime_1.exists)(json, 'error') ? undefined : json['error'],
40
+ };
41
+ }
42
+ exports.UpdateSettings400ResponseFromJSONTyped = UpdateSettings400ResponseFromJSONTyped;
43
+ function UpdateSettings400ResponseToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'statusCode': value.statusCode,
52
+ 'message': value.message,
53
+ 'error': value.error,
54
+ };
55
+ }
56
+ exports.UpdateSettings400ResponseToJSON = UpdateSettings400ResponseToJSON;
@@ -36,6 +36,8 @@ export * from './PublicDomainControllerGetDomainIdentifier404Response';
36
36
  export * from './PutLeadInput';
37
37
  export * from './TokenDto';
38
38
  export * from './UpdateDomainInput';
39
+ export * from './UpdateFinancial400Response';
40
+ export * from './UpdateSettings400Response';
39
41
  export * from './UpdateSettings401Response';
40
42
  export * from './UpdateSettings429Response';
41
43
  export * from './WithFinancialDtoInner';
@@ -54,6 +54,8 @@ __exportStar(require("./PublicDomainControllerGetDomainIdentifier404Response"),
54
54
  __exportStar(require("./PutLeadInput"), exports);
55
55
  __exportStar(require("./TokenDto"), exports);
56
56
  __exportStar(require("./UpdateDomainInput"), exports);
57
+ __exportStar(require("./UpdateFinancial400Response"), exports);
58
+ __exportStar(require("./UpdateSettings400Response"), exports);
57
59
  __exportStar(require("./UpdateSettings401Response"), exports);
58
60
  __exportStar(require("./UpdateSettings429Response"), exports);
59
61
  __exportStar(require("./WithFinancialDtoInner"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -19,6 +19,8 @@ import type {
19
19
  AccountFinancialInput,
20
20
  AccountSettingsInput,
21
21
  IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto,
22
+ UpdateFinancial400Response,
23
+ UpdateSettings400Response,
22
24
  UpdateSettings401Response,
23
25
  UpdateSettings429Response,
24
26
  } from '../models/index';
@@ -31,6 +33,10 @@ import {
31
33
  AccountSettingsInputToJSON,
32
34
  IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoFromJSON,
33
35
  IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDtoToJSON,
36
+ UpdateFinancial400ResponseFromJSON,
37
+ UpdateFinancial400ResponseToJSON,
38
+ UpdateSettings400ResponseFromJSON,
39
+ UpdateSettings400ResponseToJSON,
34
40
  UpdateSettings401ResponseFromJSON,
35
41
  UpdateSettings401ResponseToJSON,
36
42
  UpdateSettings429ResponseFromJSON,
@@ -21,6 +21,7 @@ import type {
21
21
  ListLeadMessagesDto,
22
22
  ObjectId,
23
23
  PutLeadInput,
24
+ UpdateFinancial400Response,
24
25
  UpdateSettings429Response,
25
26
  } from '../models/index';
26
27
  import {
@@ -36,6 +37,8 @@ import {
36
37
  ObjectIdToJSON,
37
38
  PutLeadInputFromJSON,
38
39
  PutLeadInputToJSON,
40
+ UpdateFinancial400ResponseFromJSON,
41
+ UpdateFinancial400ResponseToJSON,
39
42
  UpdateSettings429ResponseFromJSON,
40
43
  UpdateSettings429ResponseToJSON,
41
44
  } from '../models/index';
@@ -18,6 +18,7 @@ import type {
18
18
  BatchUpdate404Response,
19
19
  CreateLeadInput,
20
20
  ObjectId,
21
+ UpdateFinancial400Response,
21
22
  UpdateSettings429Response,
22
23
  } from '../models/index';
23
24
  import {
@@ -27,6 +28,8 @@ import {
27
28
  CreateLeadInputToJSON,
28
29
  ObjectIdFromJSON,
29
30
  ObjectIdToJSON,
31
+ UpdateFinancial400ResponseFromJSON,
32
+ UpdateFinancial400ResponseToJSON,
30
33
  UpdateSettings429ResponseFromJSON,
31
34
  UpdateSettings429ResponseToJSON,
32
35
  } from '../models/index';
@@ -14,7 +14,7 @@
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
16
  /**
17
- * Returned if invalid request was specified.
17
+ * Thrown in case of request errors.
18
18
  * @export
19
19
  * @interface List400Response
20
20
  */
@@ -27,10 +27,10 @@ export interface List400Response {
27
27
  statusCode: number;
28
28
  /**
29
29
  *
30
- * @type {string}
30
+ * @type {Array<object>}
31
31
  * @memberof List400Response
32
32
  */
33
- message: string;
33
+ message: Array<object>;
34
34
  /**
35
35
  *
36
36
  * @type {string}
@@ -0,0 +1,83 @@
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 { exists, mapValues } from '../runtime';
16
+ /**
17
+ * Thrown in case of requestion validation errors.
18
+ * @export
19
+ * @interface UpdateFinancial400Response
20
+ */
21
+ export interface UpdateFinancial400Response {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof UpdateFinancial400Response
26
+ */
27
+ statusCode: number;
28
+ /**
29
+ *
30
+ * @type {Array<object>}
31
+ * @memberof UpdateFinancial400Response
32
+ */
33
+ message: Array<object>;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof UpdateFinancial400Response
38
+ */
39
+ error?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the UpdateFinancial400Response interface.
44
+ */
45
+ export function instanceOfUpdateFinancial400Response(value: object): boolean {
46
+ let isInstance = true;
47
+ isInstance = isInstance && "statusCode" in value;
48
+ isInstance = isInstance && "message" in value;
49
+
50
+ return isInstance;
51
+ }
52
+
53
+ export function UpdateFinancial400ResponseFromJSON(json: any): UpdateFinancial400Response {
54
+ return UpdateFinancial400ResponseFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function UpdateFinancial400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFinancial400Response {
58
+ if ((json === undefined) || (json === null)) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'statusCode': json['statusCode'],
64
+ 'message': json['message'],
65
+ 'error': !exists(json, 'error') ? undefined : json['error'],
66
+ };
67
+ }
68
+
69
+ export function UpdateFinancial400ResponseToJSON(value?: UpdateFinancial400Response | null): any {
70
+ if (value === undefined) {
71
+ return undefined;
72
+ }
73
+ if (value === null) {
74
+ return null;
75
+ }
76
+ return {
77
+
78
+ 'statusCode': value.statusCode,
79
+ 'message': value.message,
80
+ 'error': value.error,
81
+ };
82
+ }
83
+
@@ -0,0 +1,83 @@
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 { exists, mapValues } from '../runtime';
16
+ /**
17
+ * Thrown in case of validation errors.
18
+ * @export
19
+ * @interface UpdateSettings400Response
20
+ */
21
+ export interface UpdateSettings400Response {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof UpdateSettings400Response
26
+ */
27
+ statusCode: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof UpdateSettings400Response
32
+ */
33
+ message: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof UpdateSettings400Response
38
+ */
39
+ error?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the UpdateSettings400Response interface.
44
+ */
45
+ export function instanceOfUpdateSettings400Response(value: object): boolean {
46
+ let isInstance = true;
47
+ isInstance = isInstance && "statusCode" in value;
48
+ isInstance = isInstance && "message" in value;
49
+
50
+ return isInstance;
51
+ }
52
+
53
+ export function UpdateSettings400ResponseFromJSON(json: any): UpdateSettings400Response {
54
+ return UpdateSettings400ResponseFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function UpdateSettings400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSettings400Response {
58
+ if ((json === undefined) || (json === null)) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'statusCode': json['statusCode'],
64
+ 'message': json['message'],
65
+ 'error': !exists(json, 'error') ? undefined : json['error'],
66
+ };
67
+ }
68
+
69
+ export function UpdateSettings400ResponseToJSON(value?: UpdateSettings400Response | null): any {
70
+ if (value === undefined) {
71
+ return undefined;
72
+ }
73
+ if (value === null) {
74
+ return null;
75
+ }
76
+ return {
77
+
78
+ 'statusCode': value.statusCode,
79
+ 'message': value.message,
80
+ 'error': value.error,
81
+ };
82
+ }
83
+
@@ -38,6 +38,8 @@ export * from './PublicDomainControllerGetDomainIdentifier404Response';
38
38
  export * from './PutLeadInput';
39
39
  export * from './TokenDto';
40
40
  export * from './UpdateDomainInput';
41
+ export * from './UpdateFinancial400Response';
42
+ export * from './UpdateSettings400Response';
41
43
  export * from './UpdateSettings401Response';
42
44
  export * from './UpdateSettings429Response';
43
45
  export * from './WithFinancialDtoInner';