@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,92 @@
|
|
|
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 NodeTree
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeTree {
|
|
18
|
+
/**
|
|
19
|
+
* ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NodeTree
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* 作成日時
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof NodeTree
|
|
28
|
+
*/
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
/**
|
|
31
|
+
* 更新日時
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof NodeTree
|
|
34
|
+
*/
|
|
35
|
+
updatedAt: Date;
|
|
36
|
+
/**
|
|
37
|
+
* プロジェクトID
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof NodeTree
|
|
40
|
+
*/
|
|
41
|
+
projectId: string;
|
|
42
|
+
/**
|
|
43
|
+
* 親ノードID
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof NodeTree
|
|
46
|
+
*/
|
|
47
|
+
parentId: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* ノード名
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof NodeTree
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
* ノードタイプ
|
|
56
|
+
* @type {NodeTreeNodeTypeEnum}
|
|
57
|
+
* @memberof NodeTree
|
|
58
|
+
*/
|
|
59
|
+
nodeType: NodeTreeNodeTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
* 表示順序
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof NodeTree
|
|
64
|
+
*/
|
|
65
|
+
order: number;
|
|
66
|
+
/**
|
|
67
|
+
* 子ノードのリスト
|
|
68
|
+
* @type {Array<NodeTree>}
|
|
69
|
+
* @memberof NodeTree
|
|
70
|
+
*/
|
|
71
|
+
children: Array<NodeTree>;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const NodeTreeNodeTypeEnum: {
|
|
77
|
+
readonly Folder: "folder";
|
|
78
|
+
readonly Plot: "plot";
|
|
79
|
+
readonly Character: "character";
|
|
80
|
+
readonly Memo: "memo";
|
|
81
|
+
readonly Writing: "writing";
|
|
82
|
+
};
|
|
83
|
+
export type NodeTreeNodeTypeEnum = typeof NodeTreeNodeTypeEnum[keyof typeof NodeTreeNodeTypeEnum];
|
|
84
|
+
/**
|
|
85
|
+
* Check if a given object implements the NodeTree interface.
|
|
86
|
+
*/
|
|
87
|
+
export declare function instanceOfNodeTree(value: object): value is NodeTree;
|
|
88
|
+
export declare function NodeTreeFromJSON(json: any): NodeTree;
|
|
89
|
+
export declare function NodeTreeFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeTree;
|
|
90
|
+
export declare function NodeTreeToJSON(json: any): NodeTree;
|
|
91
|
+
export declare function NodeTreeToJSONTyped(value?: NodeTree | null, ignoreDiscriminator?: boolean): any;
|
|
92
|
+
//# sourceMappingURL=NodeTree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NodeTree.d.ts","sourceRoot":"","sources":["../../src/models/NodeTree.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;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,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;CAC7B;AAGD;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;CAMvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAGlG;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAWnE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAgBvF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAElD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBtG"}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.NodeTreeNodeTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeTree = instanceOfNodeTree;
|
|
18
|
+
exports.NodeTreeFromJSON = NodeTreeFromJSON;
|
|
19
|
+
exports.NodeTreeFromJSONTyped = NodeTreeFromJSONTyped;
|
|
20
|
+
exports.NodeTreeToJSON = NodeTreeToJSON;
|
|
21
|
+
exports.NodeTreeToJSONTyped = NodeTreeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.NodeTreeNodeTypeEnum = {
|
|
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 NodeTree interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfNodeTree(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 (!('children' in value) || value['children'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
function NodeTreeFromJSON(json) {
|
|
57
|
+
return NodeTreeFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function NodeTreeFromJSONTyped(json, ignoreDiscriminator) {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': json['id'],
|
|
65
|
+
'createdAt': (new Date(json['created_at'])),
|
|
66
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
67
|
+
'projectId': json['project_id'],
|
|
68
|
+
'parentId': json['parent_id'],
|
|
69
|
+
'name': json['name'],
|
|
70
|
+
'nodeType': json['node_type'],
|
|
71
|
+
'order': json['order'],
|
|
72
|
+
'children': (json['children'].map(NodeTreeFromJSON)),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function NodeTreeToJSON(json) {
|
|
76
|
+
return NodeTreeToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
function NodeTreeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
'id': value['id'],
|
|
84
|
+
'created_at': value['createdAt'].toISOString(),
|
|
85
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
86
|
+
'project_id': value['projectId'],
|
|
87
|
+
'parent_id': value['parentId'],
|
|
88
|
+
'name': value['name'],
|
|
89
|
+
'node_type': value['nodeType'],
|
|
90
|
+
'order': value['order'],
|
|
91
|
+
'children': (value['children'].map(NodeTreeToJSON)),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
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 Plot
|
|
16
|
+
*/
|
|
17
|
+
export interface Plot {
|
|
18
|
+
/**
|
|
19
|
+
* ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Plot
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* 作成日時
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof Plot
|
|
28
|
+
*/
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
/**
|
|
31
|
+
* 更新日時
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof Plot
|
|
34
|
+
*/
|
|
35
|
+
updatedAt: Date;
|
|
36
|
+
/**
|
|
37
|
+
* プロジェクトID
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Plot
|
|
40
|
+
*/
|
|
41
|
+
projectId: string;
|
|
42
|
+
/**
|
|
43
|
+
* 親ノードID
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Plot
|
|
46
|
+
*/
|
|
47
|
+
parentId: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* ノード名
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Plot
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
* ノードタイプ
|
|
56
|
+
* @type {PlotNodeTypeEnum}
|
|
57
|
+
* @memberof Plot
|
|
58
|
+
*/
|
|
59
|
+
nodeType: PlotNodeTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
* 表示順序
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof Plot
|
|
64
|
+
*/
|
|
65
|
+
order: number;
|
|
66
|
+
/**
|
|
67
|
+
* あらすじ
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof Plot
|
|
70
|
+
*/
|
|
71
|
+
synopsis: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* 舞台設定
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof Plot
|
|
76
|
+
*/
|
|
77
|
+
setting: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* テーマ
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof Plot
|
|
82
|
+
*/
|
|
83
|
+
theme: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* 構成
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Plot
|
|
88
|
+
*/
|
|
89
|
+
structure: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* 葛藤
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof Plot
|
|
94
|
+
*/
|
|
95
|
+
conflict: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* 解決
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof Plot
|
|
100
|
+
*/
|
|
101
|
+
resolution: string | null;
|
|
102
|
+
/**
|
|
103
|
+
* メモ
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof Plot
|
|
106
|
+
*/
|
|
107
|
+
notes: string | null;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export declare const PlotNodeTypeEnum: {
|
|
113
|
+
readonly Folder: "folder";
|
|
114
|
+
readonly Plot: "plot";
|
|
115
|
+
readonly Character: "character";
|
|
116
|
+
readonly Memo: "memo";
|
|
117
|
+
readonly Writing: "writing";
|
|
118
|
+
};
|
|
119
|
+
export type PlotNodeTypeEnum = typeof PlotNodeTypeEnum[keyof typeof PlotNodeTypeEnum];
|
|
120
|
+
/**
|
|
121
|
+
* Check if a given object implements the Plot interface.
|
|
122
|
+
*/
|
|
123
|
+
export declare function instanceOfPlot(value: object): value is Plot;
|
|
124
|
+
export declare function PlotFromJSON(json: any): Plot;
|
|
125
|
+
export declare function PlotFromJSONTyped(json: any, ignoreDiscriminator: boolean): Plot;
|
|
126
|
+
export declare function PlotToJSON(json: any): Plot;
|
|
127
|
+
export declare function PlotToJSONTyped(value?: Plot | null, ignoreDiscriminator?: boolean): any;
|
|
128
|
+
//# sourceMappingURL=Plot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plot.d.ts","sourceRoot":"","sources":["../../src/models/Plot.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,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;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,CAiB3D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAsB/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,CAuB9F"}
|
|
@@ -0,0 +1,117 @@
|
|
|
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.PlotNodeTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfPlot = instanceOfPlot;
|
|
18
|
+
exports.PlotFromJSON = PlotFromJSON;
|
|
19
|
+
exports.PlotFromJSONTyped = PlotFromJSONTyped;
|
|
20
|
+
exports.PlotToJSON = PlotToJSON;
|
|
21
|
+
exports.PlotToJSONTyped = PlotToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PlotNodeTypeEnum = {
|
|
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 Plot interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfPlot(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 (!('synopsis' in value) || value['synopsis'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('setting' in value) || value['setting'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('theme' in value) || value['theme'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('structure' in value) || value['structure'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('conflict' in value) || value['conflict'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('resolution' in value) || value['resolution'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
if (!('notes' in value) || value['notes'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
function PlotFromJSON(json) {
|
|
69
|
+
return PlotFromJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
function PlotFromJSONTyped(json, ignoreDiscriminator) {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'id': json['id'],
|
|
77
|
+
'createdAt': (new Date(json['created_at'])),
|
|
78
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
79
|
+
'projectId': json['project_id'],
|
|
80
|
+
'parentId': json['parent_id'],
|
|
81
|
+
'name': json['name'],
|
|
82
|
+
'nodeType': json['node_type'],
|
|
83
|
+
'order': json['order'],
|
|
84
|
+
'synopsis': json['synopsis'],
|
|
85
|
+
'setting': json['setting'],
|
|
86
|
+
'theme': json['theme'],
|
|
87
|
+
'structure': json['structure'],
|
|
88
|
+
'conflict': json['conflict'],
|
|
89
|
+
'resolution': json['resolution'],
|
|
90
|
+
'notes': json['notes'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function PlotToJSON(json) {
|
|
94
|
+
return PlotToJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
function PlotToJSONTyped(value, ignoreDiscriminator = false) {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
'id': value['id'],
|
|
102
|
+
'created_at': value['createdAt'].toISOString(),
|
|
103
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
104
|
+
'project_id': value['projectId'],
|
|
105
|
+
'parent_id': value['parentId'],
|
|
106
|
+
'name': value['name'],
|
|
107
|
+
'node_type': value['nodeType'],
|
|
108
|
+
'order': value['order'],
|
|
109
|
+
'synopsis': value['synopsis'],
|
|
110
|
+
'setting': value['setting'],
|
|
111
|
+
'theme': value['theme'],
|
|
112
|
+
'structure': value['structure'],
|
|
113
|
+
'conflict': value['conflict'],
|
|
114
|
+
'resolution': value['resolution'],
|
|
115
|
+
'notes': value['notes'],
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 Project
|
|
16
|
+
*/
|
|
17
|
+
export interface Project {
|
|
18
|
+
/**
|
|
19
|
+
* プロジェクトID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Project
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* プロジェクト名
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Project
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* あらすじ
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Project
|
|
34
|
+
*/
|
|
35
|
+
synopsis?: string;
|
|
36
|
+
/**
|
|
37
|
+
* テーマ
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Project
|
|
40
|
+
*/
|
|
41
|
+
theme?: string;
|
|
42
|
+
/**
|
|
43
|
+
* 目標
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Project
|
|
46
|
+
*/
|
|
47
|
+
goal?: string;
|
|
48
|
+
/**
|
|
49
|
+
* 目標文字数
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof Project
|
|
52
|
+
*/
|
|
53
|
+
targetWordCount?: number;
|
|
54
|
+
/**
|
|
55
|
+
* ターゲット読者
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Project
|
|
58
|
+
*/
|
|
59
|
+
targetAudience?: string;
|
|
60
|
+
/**
|
|
61
|
+
* 作成日時
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof Project
|
|
64
|
+
*/
|
|
65
|
+
createdAt: Date;
|
|
66
|
+
/**
|
|
67
|
+
* 更新日時
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof Project
|
|
70
|
+
*/
|
|
71
|
+
updatedAt: Date;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the Project interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfProject(value: object): value is Project;
|
|
77
|
+
export declare function ProjectFromJSON(json: any): Project;
|
|
78
|
+
export declare function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): Project;
|
|
79
|
+
export declare function ProjectToJSON(json: any): Project;
|
|
80
|
+
export declare function ProjectToJSONTyped(value?: Project | null, ignoreDiscriminator?: boolean): any;
|
|
81
|
+
//# sourceMappingURL=Project.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Project.d.ts","sourceRoot":"","sources":["../../src/models/Project.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAMjE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CAgBrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAEhD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBpG"}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.instanceOfProject = instanceOfProject;
|
|
17
|
+
exports.ProjectFromJSON = ProjectFromJSON;
|
|
18
|
+
exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
|
|
19
|
+
exports.ProjectToJSON = ProjectToJSON;
|
|
20
|
+
exports.ProjectToJSONTyped = ProjectToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Project interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProject(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ProjectFromJSON(json) {
|
|
36
|
+
return ProjectFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'name': json['name'],
|
|
45
|
+
'synopsis': json['synopsis'] == null ? undefined : json['synopsis'],
|
|
46
|
+
'theme': json['theme'] == null ? undefined : json['theme'],
|
|
47
|
+
'goal': json['goal'] == null ? undefined : json['goal'],
|
|
48
|
+
'targetWordCount': json['target_word_count'] == null ? undefined : json['target_word_count'],
|
|
49
|
+
'targetAudience': json['target_audience'] == null ? undefined : json['target_audience'],
|
|
50
|
+
'createdAt': (new Date(json['created_at'])),
|
|
51
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function ProjectToJSON(json) {
|
|
55
|
+
return ProjectToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function ProjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'synopsis': value['synopsis'],
|
|
65
|
+
'theme': value['theme'],
|
|
66
|
+
'goal': value['goal'],
|
|
67
|
+
'target_word_count': value['targetWordCount'],
|
|
68
|
+
'target_audience': value['targetAudience'],
|
|
69
|
+
'created_at': value['createdAt'].toISOString(),
|
|
70
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 RefreshRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RefreshRequest {
|
|
18
|
+
/**
|
|
19
|
+
* リフレッシュトークン
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RefreshRequest
|
|
22
|
+
*/
|
|
23
|
+
refreshToken?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RefreshRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRefreshRequest(value: object): value is RefreshRequest;
|
|
29
|
+
export declare function RefreshRequestFromJSON(json: any): RefreshRequest;
|
|
30
|
+
export declare function RefreshRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshRequest;
|
|
31
|
+
export declare function RefreshRequestToJSON(json: any): RefreshRequest;
|
|
32
|
+
export declare function RefreshRequestToJSONTyped(value?: RefreshRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=RefreshRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefreshRequest.d.ts","sourceRoot":"","sources":["../../src/models/RefreshRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAE/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAQnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASlH"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.instanceOfRefreshRequest = instanceOfRefreshRequest;
|
|
17
|
+
exports.RefreshRequestFromJSON = RefreshRequestFromJSON;
|
|
18
|
+
exports.RefreshRequestFromJSONTyped = RefreshRequestFromJSONTyped;
|
|
19
|
+
exports.RefreshRequestToJSON = RefreshRequestToJSON;
|
|
20
|
+
exports.RefreshRequestToJSONTyped = RefreshRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RefreshRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRefreshRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function RefreshRequestFromJSON(json) {
|
|
28
|
+
return RefreshRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function RefreshRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'refreshToken': json['refresh_token'] == null ? undefined : json['refresh_token'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function RefreshRequestToJSON(json) {
|
|
39
|
+
return RefreshRequestToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function RefreshRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'refresh_token': value['refreshToken'],
|
|
47
|
+
};
|
|
48
|
+
}
|