blanche-client-sdk 0.6.2 → 0.6.3

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.
@@ -20,6 +20,7 @@ docs/ApiV1ChatsIdReadPostRequest.md
20
20
  docs/ApiV1ChatsIdReportsPost200Response.md
21
21
  docs/ApiV1ChatsIdReportsPost200ResponseRowsInner.md
22
22
  docs/ApiV1ChatsIdReportsPost200ResponseSourceMetadata.md
23
+ docs/ApiV1ChatsIdReportsPost410Response.md
23
24
  docs/ApiV1ChatsIdReportsPost422Response.md
24
25
  docs/ApiV1ChatsIdReportsPostRequest.md
25
26
  docs/ApiV1ChatsIdReportsPostRequestPlanner.md
@@ -66,7 +67,6 @@ docs/ApiV1TemplatesGet200ResponseTemplatesInner.md
66
67
  docs/ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.md
67
68
  docs/ApiV1TemplatesIdGet200Response.md
68
69
  docs/ApiV1TemplatesIdGet200ResponseSchemasInner.md
69
- docs/ApiV1TemplatesIdGet404Response.md
70
70
  docs/ApiV1TemplatesIdPutRequest.md
71
71
  docs/ApiV1TemplatesIdPutRequestTemplate.md
72
72
  docs/ApiV1TemplatesPost201Response.md
@@ -122,6 +122,7 @@ src/models/ApiV1ChatsIdReadPostRequest.ts
122
122
  src/models/ApiV1ChatsIdReportsPost200Response.ts
123
123
  src/models/ApiV1ChatsIdReportsPost200ResponseRowsInner.ts
124
124
  src/models/ApiV1ChatsIdReportsPost200ResponseSourceMetadata.ts
125
+ src/models/ApiV1ChatsIdReportsPost410Response.ts
125
126
  src/models/ApiV1ChatsIdReportsPost422Response.ts
126
127
  src/models/ApiV1ChatsIdReportsPostRequest.ts
127
128
  src/models/ApiV1ChatsIdReportsPostRequestPlanner.ts
@@ -168,7 +169,6 @@ src/models/ApiV1TemplatesGet200ResponseTemplatesInner.ts
168
169
  src/models/ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.ts
169
170
  src/models/ApiV1TemplatesIdGet200Response.ts
170
171
  src/models/ApiV1TemplatesIdGet200ResponseSchemasInner.ts
171
- src/models/ApiV1TemplatesIdGet404Response.ts
172
172
  src/models/ApiV1TemplatesIdPutRequest.ts
173
173
  src/models/ApiV1TemplatesIdPutRequestTemplate.ts
174
174
  src/models/ApiV1TemplatesPost201Response.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # blanche-client-sdk@0.6.2
1
+ # blanche-client-sdk@0.6.3
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -122,6 +122,7 @@ All URIs are relative to *http://localhost:3000*
122
122
  - [ApiV1ChatsIdReportsPost200Response](docs/ApiV1ChatsIdReportsPost200Response.md)
123
123
  - [ApiV1ChatsIdReportsPost200ResponseRowsInner](docs/ApiV1ChatsIdReportsPost200ResponseRowsInner.md)
124
124
  - [ApiV1ChatsIdReportsPost200ResponseSourceMetadata](docs/ApiV1ChatsIdReportsPost200ResponseSourceMetadata.md)
125
+ - [ApiV1ChatsIdReportsPost410Response](docs/ApiV1ChatsIdReportsPost410Response.md)
125
126
  - [ApiV1ChatsIdReportsPost422Response](docs/ApiV1ChatsIdReportsPost422Response.md)
126
127
  - [ApiV1ChatsIdReportsPostRequest](docs/ApiV1ChatsIdReportsPostRequest.md)
127
128
  - [ApiV1ChatsIdReportsPostRequestPlanner](docs/ApiV1ChatsIdReportsPostRequestPlanner.md)
@@ -168,7 +169,6 @@ All URIs are relative to *http://localhost:3000*
168
169
  - [ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema](docs/ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema.md)
169
170
  - [ApiV1TemplatesIdGet200Response](docs/ApiV1TemplatesIdGet200Response.md)
170
171
  - [ApiV1TemplatesIdGet200ResponseSchemasInner](docs/ApiV1TemplatesIdGet200ResponseSchemasInner.md)
171
- - [ApiV1TemplatesIdGet404Response](docs/ApiV1TemplatesIdGet404Response.md)
172
172
  - [ApiV1TemplatesIdPutRequest](docs/ApiV1TemplatesIdPutRequest.md)
173
173
  - [ApiV1TemplatesIdPutRequestTemplate](docs/ApiV1TemplatesIdPutRequestTemplate.md)
174
174
  - [ApiV1TemplatesPost201Response](docs/ApiV1TemplatesPost201Response.md)
@@ -202,7 +202,7 @@ and is automatically generated by the
202
202
  [OpenAPI Generator](https://openapi-generator.tech) project:
203
203
 
204
204
  - API version: `v1`
205
- - Package version: `0.6.2`
205
+ - Package version: `0.6.3`
206
206
  - Generator version: `7.20.0`
207
207
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
208
208
 
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Blanche API
3
+ * AI-powered life tracking system API
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApiV1ChatsIdReportsPost410Response
16
+ */
17
+ export interface ApiV1ChatsIdReportsPost410Response {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiV1ChatsIdReportsPost410Response
22
+ */
23
+ error: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ApiV1ChatsIdReportsPost410Response interface.
27
+ */
28
+ export declare function instanceOfApiV1ChatsIdReportsPost410Response(value: object): value is ApiV1ChatsIdReportsPost410Response;
29
+ export declare function ApiV1ChatsIdReportsPost410ResponseFromJSON(json: any): ApiV1ChatsIdReportsPost410Response;
30
+ export declare function ApiV1ChatsIdReportsPost410ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdReportsPost410Response;
31
+ export declare function ApiV1ChatsIdReportsPost410ResponseToJSON(json: any): ApiV1ChatsIdReportsPost410Response;
32
+ export declare function ApiV1ChatsIdReportsPost410ResponseToJSONTyped(value?: ApiV1ChatsIdReportsPost410Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Blanche API
6
+ * AI-powered life tracking system API
7
+ *
8
+ * The version of the OpenAPI document: v1
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.instanceOfApiV1ChatsIdReportsPost410Response = instanceOfApiV1ChatsIdReportsPost410Response;
17
+ exports.ApiV1ChatsIdReportsPost410ResponseFromJSON = ApiV1ChatsIdReportsPost410ResponseFromJSON;
18
+ exports.ApiV1ChatsIdReportsPost410ResponseFromJSONTyped = ApiV1ChatsIdReportsPost410ResponseFromJSONTyped;
19
+ exports.ApiV1ChatsIdReportsPost410ResponseToJSON = ApiV1ChatsIdReportsPost410ResponseToJSON;
20
+ exports.ApiV1ChatsIdReportsPost410ResponseToJSONTyped = ApiV1ChatsIdReportsPost410ResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApiV1ChatsIdReportsPost410Response interface.
23
+ */
24
+ function instanceOfApiV1ChatsIdReportsPost410Response(value) {
25
+ if (!('error' in value) || value['error'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function ApiV1ChatsIdReportsPost410ResponseFromJSON(json) {
30
+ return ApiV1ChatsIdReportsPost410ResponseFromJSONTyped(json, false);
31
+ }
32
+ function ApiV1ChatsIdReportsPost410ResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'error': json['error'],
38
+ };
39
+ }
40
+ function ApiV1ChatsIdReportsPost410ResponseToJSON(json) {
41
+ return ApiV1ChatsIdReportsPost410ResponseToJSONTyped(json, false);
42
+ }
43
+ function ApiV1ChatsIdReportsPost410ResponseToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'error': value['error'],
50
+ };
51
+ }
@@ -16,6 +16,7 @@ export * from './ApiV1ChatsIdReadPostRequest';
16
16
  export * from './ApiV1ChatsIdReportsPost200Response';
17
17
  export * from './ApiV1ChatsIdReportsPost200ResponseRowsInner';
18
18
  export * from './ApiV1ChatsIdReportsPost200ResponseSourceMetadata';
19
+ export * from './ApiV1ChatsIdReportsPost410Response';
19
20
  export * from './ApiV1ChatsIdReportsPost422Response';
20
21
  export * from './ApiV1ChatsIdReportsPostRequest';
21
22
  export * from './ApiV1ChatsIdReportsPostRequestPlanner';
@@ -62,7 +63,6 @@ export * from './ApiV1TemplatesGet200ResponseTemplatesInner';
62
63
  export * from './ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema';
63
64
  export * from './ApiV1TemplatesIdGet200Response';
64
65
  export * from './ApiV1TemplatesIdGet200ResponseSchemasInner';
65
- export * from './ApiV1TemplatesIdGet404Response';
66
66
  export * from './ApiV1TemplatesIdPutRequest';
67
67
  export * from './ApiV1TemplatesIdPutRequestTemplate';
68
68
  export * from './ApiV1TemplatesPost201Response';
@@ -34,6 +34,7 @@ __exportStar(require("./ApiV1ChatsIdReadPostRequest"), exports);
34
34
  __exportStar(require("./ApiV1ChatsIdReportsPost200Response"), exports);
35
35
  __exportStar(require("./ApiV1ChatsIdReportsPost200ResponseRowsInner"), exports);
36
36
  __exportStar(require("./ApiV1ChatsIdReportsPost200ResponseSourceMetadata"), exports);
37
+ __exportStar(require("./ApiV1ChatsIdReportsPost410Response"), exports);
37
38
  __exportStar(require("./ApiV1ChatsIdReportsPost422Response"), exports);
38
39
  __exportStar(require("./ApiV1ChatsIdReportsPostRequest"), exports);
39
40
  __exportStar(require("./ApiV1ChatsIdReportsPostRequestPlanner"), exports);
@@ -80,7 +81,6 @@ __exportStar(require("./ApiV1TemplatesGet200ResponseTemplatesInner"), exports);
80
81
  __exportStar(require("./ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema"), exports);
81
82
  __exportStar(require("./ApiV1TemplatesIdGet200Response"), exports);
82
83
  __exportStar(require("./ApiV1TemplatesIdGet200ResponseSchemasInner"), exports);
83
- __exportStar(require("./ApiV1TemplatesIdGet404Response"), exports);
84
84
  __exportStar(require("./ApiV1TemplatesIdPutRequest"), exports);
85
85
  __exportStar(require("./ApiV1TemplatesIdPutRequestTemplate"), exports);
86
86
  __exportStar(require("./ApiV1TemplatesPost201Response"), exports);
@@ -1,5 +1,5 @@
1
1
 
2
- # ApiV1TemplatesIdGet404Response
2
+ # ApiV1ChatsIdReportsPost410Response
3
3
 
4
4
 
5
5
  ## Properties
@@ -11,12 +11,12 @@ Name | Type
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { ApiV1TemplatesIdGet404Response } from 'blanche-client-sdk'
14
+ import type { ApiV1ChatsIdReportsPost410Response } from 'blanche-client-sdk'
15
15
 
16
16
  // TODO: Update the object below with actual values
17
17
  const example = {
18
18
  "error": null,
19
- } satisfies ApiV1TemplatesIdGet404Response
19
+ } satisfies ApiV1ChatsIdReportsPost410Response
20
20
 
21
21
  console.log(example)
22
22
 
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
25
25
  console.log(exampleJSON)
26
26
 
27
27
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as ApiV1TemplatesIdGet404Response
28
+ const exampleParsed = JSON.parse(exampleJSON) as ApiV1ChatsIdReportsPost410Response
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
package/docs/ChatsApi.md CHANGED
@@ -642,6 +642,7 @@ No authorization required
642
642
  |-------------|-------------|------------------|
643
643
  | **200** | report returned | - |
644
644
  | **422** | invalid request | - |
645
+ | **410** | legacy reports compatibility disabled | - |
645
646
 
646
647
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
647
648
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blanche-client-sdk",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "OpenAPI client for blanche-client-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -27,6 +27,7 @@ import type {
27
27
  ApiV1ChatsIdReadPost200Response,
28
28
  ApiV1ChatsIdReadPostRequest,
29
29
  ApiV1ChatsIdReportsPost200Response,
30
+ ApiV1ChatsIdReportsPost410Response,
30
31
  ApiV1ChatsIdReportsPost422Response,
31
32
  ApiV1ChatsIdReportsPostRequest,
32
33
  ApiV1ChatsIdRunsRunIdArtifactsGet200Response,
@@ -69,6 +70,8 @@ import {
69
70
  ApiV1ChatsIdReadPostRequestToJSON,
70
71
  ApiV1ChatsIdReportsPost200ResponseFromJSON,
71
72
  ApiV1ChatsIdReportsPost200ResponseToJSON,
73
+ ApiV1ChatsIdReportsPost410ResponseFromJSON,
74
+ ApiV1ChatsIdReportsPost410ResponseToJSON,
72
75
  ApiV1ChatsIdReportsPost422ResponseFromJSON,
73
76
  ApiV1ChatsIdReportsPost422ResponseToJSON,
74
77
  ApiV1ChatsIdReportsPostRequestFromJSON,
@@ -15,23 +15,23 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
+ ApiV1ChatsIdReportsPost410Response,
18
19
  ApiV1ChatsIdReportsPost422Response,
19
20
  ApiV1TemplatesGet200Response,
20
21
  ApiV1TemplatesIdGet200Response,
21
- ApiV1TemplatesIdGet404Response,
22
22
  ApiV1TemplatesIdPutRequest,
23
23
  ApiV1TemplatesPost201Response,
24
24
  ApiV1TemplatesPostRequest,
25
25
  } from '../models/index';
26
26
  import {
27
+ ApiV1ChatsIdReportsPost410ResponseFromJSON,
28
+ ApiV1ChatsIdReportsPost410ResponseToJSON,
27
29
  ApiV1ChatsIdReportsPost422ResponseFromJSON,
28
30
  ApiV1ChatsIdReportsPost422ResponseToJSON,
29
31
  ApiV1TemplatesGet200ResponseFromJSON,
30
32
  ApiV1TemplatesGet200ResponseToJSON,
31
33
  ApiV1TemplatesIdGet200ResponseFromJSON,
32
34
  ApiV1TemplatesIdGet200ResponseToJSON,
33
- ApiV1TemplatesIdGet404ResponseFromJSON,
34
- ApiV1TemplatesIdGet404ResponseToJSON,
35
35
  ApiV1TemplatesIdPutRequestFromJSON,
36
36
  ApiV1TemplatesIdPutRequestToJSON,
37
37
  ApiV1TemplatesPost201ResponseFromJSON,
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Blanche API
5
+ * AI-powered life tracking system API
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiV1ChatsIdReportsPost410Response
20
+ */
21
+ export interface ApiV1ChatsIdReportsPost410Response {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiV1ChatsIdReportsPost410Response
26
+ */
27
+ error: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the ApiV1ChatsIdReportsPost410Response interface.
32
+ */
33
+ export function instanceOfApiV1ChatsIdReportsPost410Response(value: object): value is ApiV1ChatsIdReportsPost410Response {
34
+ if (!('error' in value) || value['error'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function ApiV1ChatsIdReportsPost410ResponseFromJSON(json: any): ApiV1ChatsIdReportsPost410Response {
39
+ return ApiV1ChatsIdReportsPost410ResponseFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function ApiV1ChatsIdReportsPost410ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1ChatsIdReportsPost410Response {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'error': json['error'],
49
+ };
50
+ }
51
+
52
+ export function ApiV1ChatsIdReportsPost410ResponseToJSON(json: any): ApiV1ChatsIdReportsPost410Response {
53
+ return ApiV1ChatsIdReportsPost410ResponseToJSONTyped(json, false);
54
+ }
55
+
56
+ export function ApiV1ChatsIdReportsPost410ResponseToJSONTyped(value?: ApiV1ChatsIdReportsPost410Response | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'error': value['error'],
64
+ };
65
+ }
66
+
@@ -18,6 +18,7 @@ export * from './ApiV1ChatsIdReadPostRequest';
18
18
  export * from './ApiV1ChatsIdReportsPost200Response';
19
19
  export * from './ApiV1ChatsIdReportsPost200ResponseRowsInner';
20
20
  export * from './ApiV1ChatsIdReportsPost200ResponseSourceMetadata';
21
+ export * from './ApiV1ChatsIdReportsPost410Response';
21
22
  export * from './ApiV1ChatsIdReportsPost422Response';
22
23
  export * from './ApiV1ChatsIdReportsPostRequest';
23
24
  export * from './ApiV1ChatsIdReportsPostRequestPlanner';
@@ -64,7 +65,6 @@ export * from './ApiV1TemplatesGet200ResponseTemplatesInner';
64
65
  export * from './ApiV1TemplatesGet200ResponseTemplatesInnerActiveSchema';
65
66
  export * from './ApiV1TemplatesIdGet200Response';
66
67
  export * from './ApiV1TemplatesIdGet200ResponseSchemasInner';
67
- export * from './ApiV1TemplatesIdGet404Response';
68
68
  export * from './ApiV1TemplatesIdPutRequest';
69
69
  export * from './ApiV1TemplatesIdPutRequestTemplate';
70
70
  export * from './ApiV1TemplatesPost201Response';
@@ -1,32 +0,0 @@
1
- /**
2
- * Blanche API
3
- * AI-powered life tracking system API
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ApiV1TemplatesIdGet404Response
16
- */
17
- export interface ApiV1TemplatesIdGet404Response {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ApiV1TemplatesIdGet404Response
22
- */
23
- error: string;
24
- }
25
- /**
26
- * Check if a given object implements the ApiV1TemplatesIdGet404Response interface.
27
- */
28
- export declare function instanceOfApiV1TemplatesIdGet404Response(value: object): value is ApiV1TemplatesIdGet404Response;
29
- export declare function ApiV1TemplatesIdGet404ResponseFromJSON(json: any): ApiV1TemplatesIdGet404Response;
30
- export declare function ApiV1TemplatesIdGet404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1TemplatesIdGet404Response;
31
- export declare function ApiV1TemplatesIdGet404ResponseToJSON(json: any): ApiV1TemplatesIdGet404Response;
32
- export declare function ApiV1TemplatesIdGet404ResponseToJSONTyped(value?: ApiV1TemplatesIdGet404Response | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Blanche API
6
- * AI-powered life tracking system API
7
- *
8
- * The version of the OpenAPI document: v1
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.instanceOfApiV1TemplatesIdGet404Response = instanceOfApiV1TemplatesIdGet404Response;
17
- exports.ApiV1TemplatesIdGet404ResponseFromJSON = ApiV1TemplatesIdGet404ResponseFromJSON;
18
- exports.ApiV1TemplatesIdGet404ResponseFromJSONTyped = ApiV1TemplatesIdGet404ResponseFromJSONTyped;
19
- exports.ApiV1TemplatesIdGet404ResponseToJSON = ApiV1TemplatesIdGet404ResponseToJSON;
20
- exports.ApiV1TemplatesIdGet404ResponseToJSONTyped = ApiV1TemplatesIdGet404ResponseToJSONTyped;
21
- /**
22
- * Check if a given object implements the ApiV1TemplatesIdGet404Response interface.
23
- */
24
- function instanceOfApiV1TemplatesIdGet404Response(value) {
25
- if (!('error' in value) || value['error'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function ApiV1TemplatesIdGet404ResponseFromJSON(json) {
30
- return ApiV1TemplatesIdGet404ResponseFromJSONTyped(json, false);
31
- }
32
- function ApiV1TemplatesIdGet404ResponseFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'error': json['error'],
38
- };
39
- }
40
- function ApiV1TemplatesIdGet404ResponseToJSON(json) {
41
- return ApiV1TemplatesIdGet404ResponseToJSONTyped(json, false);
42
- }
43
- function ApiV1TemplatesIdGet404ResponseToJSONTyped(value, ignoreDiscriminator) {
44
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'error': value['error'],
50
- };
51
- }
@@ -1,66 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Blanche API
5
- * AI-powered life tracking system API
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface ApiV1TemplatesIdGet404Response
20
- */
21
- export interface ApiV1TemplatesIdGet404Response {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof ApiV1TemplatesIdGet404Response
26
- */
27
- error: string;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the ApiV1TemplatesIdGet404Response interface.
32
- */
33
- export function instanceOfApiV1TemplatesIdGet404Response(value: object): value is ApiV1TemplatesIdGet404Response {
34
- if (!('error' in value) || value['error'] === undefined) return false;
35
- return true;
36
- }
37
-
38
- export function ApiV1TemplatesIdGet404ResponseFromJSON(json: any): ApiV1TemplatesIdGet404Response {
39
- return ApiV1TemplatesIdGet404ResponseFromJSONTyped(json, false);
40
- }
41
-
42
- export function ApiV1TemplatesIdGet404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1TemplatesIdGet404Response {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
-
48
- 'error': json['error'],
49
- };
50
- }
51
-
52
- export function ApiV1TemplatesIdGet404ResponseToJSON(json: any): ApiV1TemplatesIdGet404Response {
53
- return ApiV1TemplatesIdGet404ResponseToJSONTyped(json, false);
54
- }
55
-
56
- export function ApiV1TemplatesIdGet404ResponseToJSONTyped(value?: ApiV1TemplatesIdGet404Response | null, ignoreDiscriminator: boolean = false): any {
57
- if (value == null) {
58
- return value;
59
- }
60
-
61
- return {
62
-
63
- 'error': value['error'],
64
- };
65
- }
66
-