@tsumugi-chan/client 1.0.0
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.
- package/README.md +36 -0
- package/dist/apis/AiApi.d.ts +95 -0
- package/dist/apis/AiApi.d.ts.map +1 -0
- package/dist/apis/AiApi.js +259 -0
- package/dist/apis/AuthApi.d.ts +76 -0
- package/dist/apis/AuthApi.d.ts.map +1 -0
- package/dist/apis/AuthApi.js +181 -0
- package/dist/apis/CharactersApi.d.ts +65 -0
- package/dist/apis/CharactersApi.d.ts.map +1 -0
- package/dist/apis/CharactersApi.js +181 -0
- package/dist/apis/HealthApi.d.ts +29 -0
- package/dist/apis/HealthApi.d.ts.map +1 -0
- package/dist/apis/HealthApi.js +84 -0
- package/dist/apis/MemosApi.d.ts +65 -0
- package/dist/apis/MemosApi.d.ts.map +1 -0
- package/dist/apis/MemosApi.js +181 -0
- package/dist/apis/PlotsApi.d.ts +65 -0
- package/dist/apis/PlotsApi.d.ts.map +1 -0
- package/dist/apis/PlotsApi.js +181 -0
- package/dist/apis/ProjectsApi.d.ts +262 -0
- package/dist/apis/ProjectsApi.d.ts.map +1 -0
- package/dist/apis/ProjectsApi.js +705 -0
- package/dist/apis/WritingsApi.d.ts +65 -0
- package/dist/apis/WritingsApi.d.ts.map +1 -0
- package/dist/apis/WritingsApi.js +181 -0
- package/dist/apis/index.d.ts +9 -0
- package/dist/apis/index.d.ts.map +1 -0
- package/dist/apis/index.js +26 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/models/AIChatContext.d.ts +34 -0
- package/dist/models/AIChatContext.d.ts.map +1 -0
- package/dist/models/AIChatContext.js +49 -0
- package/dist/models/AIChatContextTab.d.ts +62 -0
- package/dist/models/AIChatContextTab.d.ts.map +1 -0
- package/dist/models/AIChatContextTab.js +71 -0
- package/dist/models/AIMemory.d.ts +45 -0
- package/dist/models/AIMemory.d.ts.map +1 -0
- package/dist/models/AIMemory.js +58 -0
- package/dist/models/AIMessage.d.ts +114 -0
- package/dist/models/AIMessage.d.ts.map +1 -0
- package/dist/models/AIMessage.js +111 -0
- package/dist/models/AIMessageContentInner.d.ts +31 -0
- package/dist/models/AIMessageContentInner.d.ts.map +1 -0
- package/dist/models/AIMessageContentInner.js +58 -0
- package/dist/models/AIModelConfig.d.ts +54 -0
- package/dist/models/AIModelConfig.d.ts.map +1 -0
- package/dist/models/AIModelConfig.js +61 -0
- package/dist/models/AIProjectUsage.d.ts +47 -0
- package/dist/models/AIProjectUsage.d.ts.map +1 -0
- package/dist/models/AIProjectUsage.js +60 -0
- package/dist/models/AISession.d.ts +72 -0
- package/dist/models/AISession.d.ts.map +1 -0
- package/dist/models/AISession.js +79 -0
- package/dist/models/AISessionUsage.d.ts +46 -0
- package/dist/models/AISessionUsage.d.ts.map +1 -0
- package/dist/models/AISessionUsage.js +59 -0
- package/dist/models/AITextPart.d.ts +46 -0
- package/dist/models/AITextPart.d.ts.map +1 -0
- package/dist/models/AITextPart.js +61 -0
- package/dist/models/AITokenUsage.d.ts +45 -0
- package/dist/models/AITokenUsage.d.ts.map +1 -0
- package/dist/models/AITokenUsage.js +58 -0
- package/dist/models/AIToolCallPart.d.ts +60 -0
- package/dist/models/AIToolCallPart.d.ts.map +1 -0
- package/dist/models/AIToolCallPart.js +69 -0
- package/dist/models/AIToolResultPart.d.ts +60 -0
- package/dist/models/AIToolResultPart.d.ts.map +1 -0
- package/dist/models/AIToolResultPart.js +69 -0
- package/dist/models/AccessToken.d.ts +33 -0
- package/dist/models/AccessToken.d.ts.map +1 -0
- package/dist/models/AccessToken.js +50 -0
- package/dist/models/Character.d.ts +146 -0
- package/dist/models/Character.d.ts.map +1 -0
- package/dist/models/Character.js +129 -0
- package/dist/models/ChatRequest.d.ts +67 -0
- package/dist/models/ChatRequest.d.ts.map +1 -0
- package/dist/models/ChatRequest.js +70 -0
- package/dist/models/CreateCharacterRequest.d.ts +99 -0
- package/dist/models/CreateCharacterRequest.d.ts.map +1 -0
- package/dist/models/CreateCharacterRequest.js +72 -0
- package/dist/models/CreateMemoRequest.d.ts +51 -0
- package/dist/models/CreateMemoRequest.d.ts.map +1 -0
- package/dist/models/CreateMemoRequest.js +56 -0
- package/dist/models/CreatePlotRequest.d.ts +81 -0
- package/dist/models/CreatePlotRequest.d.ts.map +1 -0
- package/dist/models/CreatePlotRequest.js +66 -0
- package/dist/models/CreateProjectRequest.d.ts +63 -0
- package/dist/models/CreateProjectRequest.d.ts.map +1 -0
- package/dist/models/CreateProjectRequest.js +60 -0
- package/dist/models/CreateSessionRequest.d.ts +61 -0
- package/dist/models/CreateSessionRequest.d.ts.map +1 -0
- package/dist/models/CreateSessionRequest.js +68 -0
- package/dist/models/CreateWritingRequest.d.ts +45 -0
- package/dist/models/CreateWritingRequest.d.ts.map +1 -0
- package/dist/models/CreateWritingRequest.js +54 -0
- package/dist/models/HealthControllerCheck200Response.d.ts +58 -0
- package/dist/models/HealthControllerCheck200Response.d.ts.map +1 -0
- package/dist/models/HealthControllerCheck200Response.js +56 -0
- package/dist/models/HealthControllerCheck200ResponseInfoValue.d.ts +34 -0
- package/dist/models/HealthControllerCheck200ResponseInfoValue.d.ts.map +1 -0
- package/dist/models/HealthControllerCheck200ResponseInfoValue.js +52 -0
- package/dist/models/HealthControllerCheck503Response.d.ts +58 -0
- package/dist/models/HealthControllerCheck503Response.d.ts.map +1 -0
- package/dist/models/HealthControllerCheck503Response.js +56 -0
- package/dist/models/Memo.d.ts +98 -0
- package/dist/models/Memo.d.ts.map +1 -0
- package/dist/models/Memo.js +97 -0
- package/dist/models/NodeOrderItem.d.ts +45 -0
- package/dist/models/NodeOrderItem.d.ts.map +1 -0
- package/dist/models/NodeOrderItem.js +56 -0
- package/dist/models/NodeTree.d.ts +92 -0
- package/dist/models/NodeTree.d.ts.map +1 -0
- package/dist/models/NodeTree.js +93 -0
- package/dist/models/Plot.d.ts +128 -0
- package/dist/models/Plot.d.ts.map +1 -0
- package/dist/models/Plot.js +117 -0
- package/dist/models/Project.d.ts +81 -0
- package/dist/models/Project.d.ts.map +1 -0
- package/dist/models/Project.js +72 -0
- package/dist/models/RefreshRequest.d.ts +33 -0
- package/dist/models/RefreshRequest.d.ts.map +1 -0
- package/dist/models/RefreshRequest.js +48 -0
- package/dist/models/RefreshToken.d.ts +45 -0
- package/dist/models/RefreshToken.d.ts.map +1 -0
- package/dist/models/RefreshToken.js +56 -0
- package/dist/models/ReorderNodesRequest.d.ts +34 -0
- package/dist/models/ReorderNodesRequest.d.ts.map +1 -0
- package/dist/models/ReorderNodesRequest.js +51 -0
- package/dist/models/UpdateCharacterRequest.d.ts +93 -0
- package/dist/models/UpdateCharacterRequest.d.ts.map +1 -0
- package/dist/models/UpdateCharacterRequest.js +68 -0
- package/dist/models/UpdateMemoRequest.d.ts +45 -0
- package/dist/models/UpdateMemoRequest.d.ts.map +1 -0
- package/dist/models/UpdateMemoRequest.js +52 -0
- package/dist/models/UpdatePlotRequest.d.ts +75 -0
- package/dist/models/UpdatePlotRequest.d.ts.map +1 -0
- package/dist/models/UpdatePlotRequest.js +62 -0
- package/dist/models/UpdateProjectRequest.d.ts +63 -0
- package/dist/models/UpdateProjectRequest.d.ts.map +1 -0
- package/dist/models/UpdateProjectRequest.js +58 -0
- package/dist/models/UpdateWritingRequest.d.ts +39 -0
- package/dist/models/UpdateWritingRequest.d.ts.map +1 -0
- package/dist/models/UpdateWritingRequest.js +50 -0
- package/dist/models/Writing.d.ts +92 -0
- package/dist/models/Writing.d.ts.map +1 -0
- package/dist/models/Writing.js +93 -0
- package/dist/models/index.d.ts +40 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +57 -0
- package/dist/runtime.d.ts +185 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +338 -0
- package/package.json +28 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tsumugi API
|
|
3
|
+
* The Tsumugi API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { HealthControllerCheck200ResponseInfoValue } from './HealthControllerCheck200ResponseInfoValue';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HealthControllerCheck200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface HealthControllerCheck200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof HealthControllerCheck200Response
|
|
23
|
+
*/
|
|
24
|
+
status?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {{ [key: string]: HealthControllerCheck200ResponseInfoValue; }}
|
|
28
|
+
* @memberof HealthControllerCheck200Response
|
|
29
|
+
*/
|
|
30
|
+
info?: {
|
|
31
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
32
|
+
} | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {{ [key: string]: HealthControllerCheck200ResponseInfoValue; }}
|
|
36
|
+
* @memberof HealthControllerCheck200Response
|
|
37
|
+
*/
|
|
38
|
+
error?: {
|
|
39
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
40
|
+
} | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: HealthControllerCheck200ResponseInfoValue; }}
|
|
44
|
+
* @memberof HealthControllerCheck200Response
|
|
45
|
+
*/
|
|
46
|
+
details?: {
|
|
47
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the HealthControllerCheck200Response interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfHealthControllerCheck200Response(value: object): value is HealthControllerCheck200Response;
|
|
54
|
+
export declare function HealthControllerCheck200ResponseFromJSON(json: any): HealthControllerCheck200Response;
|
|
55
|
+
export declare function HealthControllerCheck200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthControllerCheck200Response;
|
|
56
|
+
export declare function HealthControllerCheck200ResponseToJSON(json: any): HealthControllerCheck200Response;
|
|
57
|
+
export declare function HealthControllerCheck200ResponseToJSONTyped(value?: HealthControllerCheck200Response | null, ignoreDiscriminator?: boolean): any;
|
|
58
|
+
//# sourceMappingURL=HealthControllerCheck200Response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthControllerCheck200Response.d.ts","sourceRoot":"","sources":["../../src/models/HealthControllerCheck200Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAC;AAQ7G;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,yCAAyC,CAAC;KAAE,GAAG,IAAI,CAAC;IAC5E;;;;OAIG;IACH,KAAK,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,yCAAyC,CAAC;KAAE,GAAG,IAAI,CAAC;IAC7E;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,yCAAyC,CAAC;KAAE,CAAC;CAC3E;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAEnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAWvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYtJ"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tsumugi API
|
|
6
|
+
* The Tsumugi API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.instanceOfHealthControllerCheck200Response = instanceOfHealthControllerCheck200Response;
|
|
17
|
+
exports.HealthControllerCheck200ResponseFromJSON = HealthControllerCheck200ResponseFromJSON;
|
|
18
|
+
exports.HealthControllerCheck200ResponseFromJSONTyped = HealthControllerCheck200ResponseFromJSONTyped;
|
|
19
|
+
exports.HealthControllerCheck200ResponseToJSON = HealthControllerCheck200ResponseToJSON;
|
|
20
|
+
exports.HealthControllerCheck200ResponseToJSONTyped = HealthControllerCheck200ResponseToJSONTyped;
|
|
21
|
+
const runtime_1 = require("../runtime");
|
|
22
|
+
const HealthControllerCheck200ResponseInfoValue_1 = require("./HealthControllerCheck200ResponseInfoValue");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the HealthControllerCheck200Response interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfHealthControllerCheck200Response(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function HealthControllerCheck200ResponseFromJSON(json) {
|
|
30
|
+
return HealthControllerCheck200ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function HealthControllerCheck200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
38
|
+
'info': json['info'] == null ? undefined : ((0, runtime_1.mapValues)(json['info'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueFromJSON)),
|
|
39
|
+
'error': json['error'] == null ? undefined : ((0, runtime_1.mapValues)(json['error'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueFromJSON)),
|
|
40
|
+
'details': json['details'] == null ? undefined : ((0, runtime_1.mapValues)(json['details'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function HealthControllerCheck200ResponseToJSON(json) {
|
|
44
|
+
return HealthControllerCheck200ResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function HealthControllerCheck200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'status': value['status'],
|
|
52
|
+
'info': value['info'] == null ? undefined : ((0, runtime_1.mapValues)(value['info'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueToJSON)),
|
|
53
|
+
'error': value['error'] == null ? undefined : ((0, runtime_1.mapValues)(value['error'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueToJSON)),
|
|
54
|
+
'details': value['details'] == null ? undefined : ((0, runtime_1.mapValues)(value['details'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tsumugi API
|
|
3
|
+
* The Tsumugi API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HealthControllerCheck200ResponseInfoValue
|
|
16
|
+
*/
|
|
17
|
+
export interface HealthControllerCheck200ResponseInfoValue {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof HealthControllerCheck200ResponseInfoValue
|
|
23
|
+
*/
|
|
24
|
+
status: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the HealthControllerCheck200ResponseInfoValue interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfHealthControllerCheck200ResponseInfoValue(value: object): value is HealthControllerCheck200ResponseInfoValue;
|
|
30
|
+
export declare function HealthControllerCheck200ResponseInfoValueFromJSON(json: any): HealthControllerCheck200ResponseInfoValue;
|
|
31
|
+
export declare function HealthControllerCheck200ResponseInfoValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthControllerCheck200ResponseInfoValue;
|
|
32
|
+
export declare function HealthControllerCheck200ResponseInfoValueToJSON(json: any): HealthControllerCheck200ResponseInfoValue;
|
|
33
|
+
export declare function HealthControllerCheck200ResponseInfoValueToJSONTyped(value?: HealthControllerCheck200ResponseInfoValue | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=HealthControllerCheck200ResponseInfoValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthControllerCheck200ResponseInfoValue.d.ts","sourceRoot":"","sources":["../../src/models/HealthControllerCheck200ResponseInfoValue.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,yCAAyC;IACtD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,GAAG,CAAC;IACzB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,mDAAmD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yCAAyC,CAGrI;AAED,wBAAgB,iDAAiD,CAAC,IAAI,EAAE,GAAG,GAAG,yCAAyC,CAEtH;AAED,wBAAgB,sDAAsD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yCAAyC,CASzJ;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,GAAG,yCAAyC,CAEpH;AAED,wBAAgB,oDAAoD,CAAC,KAAK,CAAC,EAAE,yCAAyC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxK"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tsumugi API
|
|
6
|
+
* The Tsumugi API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.instanceOfHealthControllerCheck200ResponseInfoValue = instanceOfHealthControllerCheck200ResponseInfoValue;
|
|
17
|
+
exports.HealthControllerCheck200ResponseInfoValueFromJSON = HealthControllerCheck200ResponseInfoValueFromJSON;
|
|
18
|
+
exports.HealthControllerCheck200ResponseInfoValueFromJSONTyped = HealthControllerCheck200ResponseInfoValueFromJSONTyped;
|
|
19
|
+
exports.HealthControllerCheck200ResponseInfoValueToJSON = HealthControllerCheck200ResponseInfoValueToJSON;
|
|
20
|
+
exports.HealthControllerCheck200ResponseInfoValueToJSONTyped = HealthControllerCheck200ResponseInfoValueToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the HealthControllerCheck200ResponseInfoValue interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfHealthControllerCheck200ResponseInfoValue(value) {
|
|
25
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function HealthControllerCheck200ResponseInfoValueFromJSON(json) {
|
|
30
|
+
return HealthControllerCheck200ResponseInfoValueFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function HealthControllerCheck200ResponseInfoValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
...json,
|
|
38
|
+
'status': json['status'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function HealthControllerCheck200ResponseInfoValueToJSON(json) {
|
|
42
|
+
return HealthControllerCheck200ResponseInfoValueToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function HealthControllerCheck200ResponseInfoValueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
...value,
|
|
50
|
+
'status': value['status'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tsumugi API
|
|
3
|
+
* The Tsumugi API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { HealthControllerCheck200ResponseInfoValue } from './HealthControllerCheck200ResponseInfoValue';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HealthControllerCheck503Response
|
|
17
|
+
*/
|
|
18
|
+
export interface HealthControllerCheck503Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof HealthControllerCheck503Response
|
|
23
|
+
*/
|
|
24
|
+
status?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {{ [key: string]: HealthControllerCheck200ResponseInfoValue; }}
|
|
28
|
+
* @memberof HealthControllerCheck503Response
|
|
29
|
+
*/
|
|
30
|
+
info?: {
|
|
31
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
32
|
+
} | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {{ [key: string]: HealthControllerCheck200ResponseInfoValue; }}
|
|
36
|
+
* @memberof HealthControllerCheck503Response
|
|
37
|
+
*/
|
|
38
|
+
error?: {
|
|
39
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
40
|
+
} | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: HealthControllerCheck200ResponseInfoValue; }}
|
|
44
|
+
* @memberof HealthControllerCheck503Response
|
|
45
|
+
*/
|
|
46
|
+
details?: {
|
|
47
|
+
[key: string]: HealthControllerCheck200ResponseInfoValue;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the HealthControllerCheck503Response interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfHealthControllerCheck503Response(value: object): value is HealthControllerCheck503Response;
|
|
54
|
+
export declare function HealthControllerCheck503ResponseFromJSON(json: any): HealthControllerCheck503Response;
|
|
55
|
+
export declare function HealthControllerCheck503ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthControllerCheck503Response;
|
|
56
|
+
export declare function HealthControllerCheck503ResponseToJSON(json: any): HealthControllerCheck503Response;
|
|
57
|
+
export declare function HealthControllerCheck503ResponseToJSONTyped(value?: HealthControllerCheck503Response | null, ignoreDiscriminator?: boolean): any;
|
|
58
|
+
//# sourceMappingURL=HealthControllerCheck503Response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthControllerCheck503Response.d.ts","sourceRoot":"","sources":["../../src/models/HealthControllerCheck503Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAC;AAQ7G;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,yCAAyC,CAAC;KAAE,GAAG,IAAI,CAAC;IAC5E;;;;OAIG;IACH,KAAK,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,yCAAyC,CAAC;KAAE,GAAG,IAAI,CAAC;IAC7E;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,yCAAyC,CAAC;KAAE,CAAC;CAC3E;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAEnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAWvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYtJ"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tsumugi API
|
|
6
|
+
* The Tsumugi API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.instanceOfHealthControllerCheck503Response = instanceOfHealthControllerCheck503Response;
|
|
17
|
+
exports.HealthControllerCheck503ResponseFromJSON = HealthControllerCheck503ResponseFromJSON;
|
|
18
|
+
exports.HealthControllerCheck503ResponseFromJSONTyped = HealthControllerCheck503ResponseFromJSONTyped;
|
|
19
|
+
exports.HealthControllerCheck503ResponseToJSON = HealthControllerCheck503ResponseToJSON;
|
|
20
|
+
exports.HealthControllerCheck503ResponseToJSONTyped = HealthControllerCheck503ResponseToJSONTyped;
|
|
21
|
+
const runtime_1 = require("../runtime");
|
|
22
|
+
const HealthControllerCheck200ResponseInfoValue_1 = require("./HealthControllerCheck200ResponseInfoValue");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the HealthControllerCheck503Response interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfHealthControllerCheck503Response(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function HealthControllerCheck503ResponseFromJSON(json) {
|
|
30
|
+
return HealthControllerCheck503ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function HealthControllerCheck503ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
38
|
+
'info': json['info'] == null ? undefined : ((0, runtime_1.mapValues)(json['info'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueFromJSON)),
|
|
39
|
+
'error': json['error'] == null ? undefined : ((0, runtime_1.mapValues)(json['error'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueFromJSON)),
|
|
40
|
+
'details': json['details'] == null ? undefined : ((0, runtime_1.mapValues)(json['details'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function HealthControllerCheck503ResponseToJSON(json) {
|
|
44
|
+
return HealthControllerCheck503ResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function HealthControllerCheck503ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'status': value['status'],
|
|
52
|
+
'info': value['info'] == null ? undefined : ((0, runtime_1.mapValues)(value['info'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueToJSON)),
|
|
53
|
+
'error': value['error'] == null ? undefined : ((0, runtime_1.mapValues)(value['error'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueToJSON)),
|
|
54
|
+
'details': value['details'] == null ? undefined : ((0, runtime_1.mapValues)(value['details'], HealthControllerCheck200ResponseInfoValue_1.HealthControllerCheck200ResponseInfoValueToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tsumugi API
|
|
3
|
+
* The Tsumugi API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Memo
|
|
16
|
+
*/
|
|
17
|
+
export interface Memo {
|
|
18
|
+
/**
|
|
19
|
+
* ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Memo
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* 作成日時
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof Memo
|
|
28
|
+
*/
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
/**
|
|
31
|
+
* 更新日時
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof Memo
|
|
34
|
+
*/
|
|
35
|
+
updatedAt: Date;
|
|
36
|
+
/**
|
|
37
|
+
* プロジェクトID
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Memo
|
|
40
|
+
*/
|
|
41
|
+
projectId: string;
|
|
42
|
+
/**
|
|
43
|
+
* 親ノードID
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Memo
|
|
46
|
+
*/
|
|
47
|
+
parentId: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* ノード名
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Memo
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
* ノードタイプ
|
|
56
|
+
* @type {MemoNodeTypeEnum}
|
|
57
|
+
* @memberof Memo
|
|
58
|
+
*/
|
|
59
|
+
nodeType: MemoNodeTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
* 表示順序
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof Memo
|
|
64
|
+
*/
|
|
65
|
+
order: number;
|
|
66
|
+
/**
|
|
67
|
+
* メモ内容
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof Memo
|
|
70
|
+
*/
|
|
71
|
+
content: string;
|
|
72
|
+
/**
|
|
73
|
+
* タグ
|
|
74
|
+
* @type {Array<string>}
|
|
75
|
+
* @memberof Memo
|
|
76
|
+
*/
|
|
77
|
+
tags: Array<string>;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const MemoNodeTypeEnum: {
|
|
83
|
+
readonly Folder: "folder";
|
|
84
|
+
readonly Plot: "plot";
|
|
85
|
+
readonly Character: "character";
|
|
86
|
+
readonly Memo: "memo";
|
|
87
|
+
readonly Writing: "writing";
|
|
88
|
+
};
|
|
89
|
+
export type MemoNodeTypeEnum = typeof MemoNodeTypeEnum[keyof typeof MemoNodeTypeEnum];
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the Memo interface.
|
|
92
|
+
*/
|
|
93
|
+
export declare function instanceOfMemo(value: object): value is Memo;
|
|
94
|
+
export declare function MemoFromJSON(json: any): Memo;
|
|
95
|
+
export declare function MemoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Memo;
|
|
96
|
+
export declare function MemoToJSON(json: any): Memo;
|
|
97
|
+
export declare function MemoToJSONTyped(value?: Memo | null, ignoreDiscriminator?: boolean): any;
|
|
98
|
+
//# sourceMappingURL=Memo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Memo.d.ts","sourceRoot":"","sources":["../../src/models/Memo.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,QAAQ,EAAE,gBAAgB,CAAC;IAC3B;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvB;AAGD;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;CAMnB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAGtF;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,IAAI,CAY3D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAiB/E;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE1C;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkB9F"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tsumugi API
|
|
6
|
+
* The Tsumugi API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.MemoNodeTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfMemo = instanceOfMemo;
|
|
18
|
+
exports.MemoFromJSON = MemoFromJSON;
|
|
19
|
+
exports.MemoFromJSONTyped = MemoFromJSONTyped;
|
|
20
|
+
exports.MemoToJSON = MemoToJSON;
|
|
21
|
+
exports.MemoToJSONTyped = MemoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.MemoNodeTypeEnum = {
|
|
26
|
+
Folder: 'folder',
|
|
27
|
+
Plot: 'plot',
|
|
28
|
+
Character: 'character',
|
|
29
|
+
Memo: 'memo',
|
|
30
|
+
Writing: 'writing'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the Memo interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfMemo(value) {
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('projectId' in value) || value['projectId'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('parentId' in value) || value['parentId'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('nodeType' in value) || value['nodeType'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('order' in value) || value['order'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('tags' in value) || value['tags'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
function MemoFromJSON(json) {
|
|
59
|
+
return MemoFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function MemoFromJSONTyped(json, ignoreDiscriminator) {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': json['id'],
|
|
67
|
+
'createdAt': (new Date(json['created_at'])),
|
|
68
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
69
|
+
'projectId': json['project_id'],
|
|
70
|
+
'parentId': json['parent_id'],
|
|
71
|
+
'name': json['name'],
|
|
72
|
+
'nodeType': json['node_type'],
|
|
73
|
+
'order': json['order'],
|
|
74
|
+
'content': json['content'],
|
|
75
|
+
'tags': json['tags'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function MemoToJSON(json) {
|
|
79
|
+
return MemoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
function MemoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
'id': value['id'],
|
|
87
|
+
'created_at': value['createdAt'].toISOString(),
|
|
88
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
89
|
+
'project_id': value['projectId'],
|
|
90
|
+
'parent_id': value['parentId'],
|
|
91
|
+
'name': value['name'],
|
|
92
|
+
'node_type': value['nodeType'],
|
|
93
|
+
'order': value['order'],
|
|
94
|
+
'content': value['content'],
|
|
95
|
+
'tags': value['tags'],
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tsumugi API
|
|
3
|
+
* The Tsumugi API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface NodeOrderItem
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeOrderItem {
|
|
18
|
+
/**
|
|
19
|
+
* ノードID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NodeOrderItem
|
|
22
|
+
*/
|
|
23
|
+
nodeId: string;
|
|
24
|
+
/**
|
|
25
|
+
* 親ノードID
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NodeOrderItem
|
|
28
|
+
*/
|
|
29
|
+
parentId?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* 順序(0始まり)
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof NodeOrderItem
|
|
34
|
+
*/
|
|
35
|
+
order: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NodeOrderItem interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfNodeOrderItem(value: object): value is NodeOrderItem;
|
|
41
|
+
export declare function NodeOrderItemFromJSON(json: any): NodeOrderItem;
|
|
42
|
+
export declare function NodeOrderItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeOrderItem;
|
|
43
|
+
export declare function NodeOrderItemToJSON(json: any): NodeOrderItem;
|
|
44
|
+
export declare function NodeOrderItemToJSONTyped(value?: NodeOrderItem | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=NodeOrderItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NodeOrderItem.d.ts","sourceRoot":"","sources":["../../src/models/NodeOrderItem.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAI7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAUjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhH"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tsumugi API
|
|
6
|
+
* The Tsumugi API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.instanceOfNodeOrderItem = instanceOfNodeOrderItem;
|
|
17
|
+
exports.NodeOrderItemFromJSON = NodeOrderItemFromJSON;
|
|
18
|
+
exports.NodeOrderItemFromJSONTyped = NodeOrderItemFromJSONTyped;
|
|
19
|
+
exports.NodeOrderItemToJSON = NodeOrderItemToJSON;
|
|
20
|
+
exports.NodeOrderItemToJSONTyped = NodeOrderItemToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeOrderItem interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeOrderItem(value) {
|
|
25
|
+
if (!('nodeId' in value) || value['nodeId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('order' in value) || value['order'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function NodeOrderItemFromJSON(json) {
|
|
32
|
+
return NodeOrderItemFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function NodeOrderItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'nodeId': json['node_id'],
|
|
40
|
+
'parentId': json['parent_id'] == null ? undefined : json['parent_id'],
|
|
41
|
+
'order': json['order'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function NodeOrderItemToJSON(json) {
|
|
45
|
+
return NodeOrderItemToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function NodeOrderItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'node_id': value['nodeId'],
|
|
53
|
+
'parent_id': value['parentId'],
|
|
54
|
+
'order': value['order'],
|
|
55
|
+
};
|
|
56
|
+
}
|