@tsumugi-chan/client 1.0.1 → 1.0.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.
Files changed (108) hide show
  1. package/dist/apis/AiApi.d.ts +34 -2
  2. package/dist/apis/AiApi.d.ts.map +1 -1
  3. package/dist/apis/AiApi.js +89 -1
  4. package/dist/apis/AuthApi.d.ts +1 -1
  5. package/dist/apis/AuthApi.js +1 -1
  6. package/dist/apis/CharactersApi.d.ts +1 -1
  7. package/dist/apis/CharactersApi.js +1 -1
  8. package/dist/apis/HealthApi.d.ts +1 -1
  9. package/dist/apis/HealthApi.js +1 -1
  10. package/dist/apis/MemosApi.d.ts +1 -1
  11. package/dist/apis/MemosApi.js +1 -1
  12. package/dist/apis/PlotsApi.d.ts +1 -1
  13. package/dist/apis/PlotsApi.js +1 -1
  14. package/dist/apis/ProjectsApi.d.ts +61 -1
  15. package/dist/apis/ProjectsApi.d.ts.map +1 -1
  16. package/dist/apis/ProjectsApi.js +161 -1
  17. package/dist/apis/WritingsApi.d.ts +1 -1
  18. package/dist/apis/WritingsApi.js +1 -1
  19. package/dist/models/AIChatContext.d.ts +1 -1
  20. package/dist/models/AIChatContext.js +1 -1
  21. package/dist/models/AIChatContextTab.d.ts +1 -1
  22. package/dist/models/AIChatContextTab.js +1 -1
  23. package/dist/models/AIMemory.d.ts +1 -1
  24. package/dist/models/AIMemory.js +1 -1
  25. package/dist/models/AIMessage.d.ts +1 -1
  26. package/dist/models/AIMessage.js +1 -1
  27. package/dist/models/AIMessageContentInner.d.ts +1 -1
  28. package/dist/models/AIMessageContentInner.js +1 -1
  29. package/dist/models/AIModelConfig.d.ts +1 -1
  30. package/dist/models/AIModelConfig.js +1 -1
  31. package/dist/models/AIProjectUsage.d.ts +1 -1
  32. package/dist/models/AIProjectUsage.js +1 -1
  33. package/dist/models/AIProposalFeedback.d.ts +77 -0
  34. package/dist/models/AIProposalFeedback.d.ts.map +1 -0
  35. package/dist/models/AIProposalFeedback.js +79 -0
  36. package/dist/models/AIProposalResult.d.ts +40 -0
  37. package/dist/models/AIProposalResult.d.ts.map +1 -0
  38. package/dist/models/AIProposalResult.js +55 -0
  39. package/dist/models/AISession.d.ts +1 -1
  40. package/dist/models/AISession.js +1 -1
  41. package/dist/models/AISessionUsage.d.ts +1 -1
  42. package/dist/models/AISessionUsage.js +1 -1
  43. package/dist/models/AITextPart.d.ts +1 -1
  44. package/dist/models/AITextPart.js +1 -1
  45. package/dist/models/AITokenUsage.d.ts +1 -1
  46. package/dist/models/AITokenUsage.js +1 -1
  47. package/dist/models/AIToolCallPart.d.ts +1 -1
  48. package/dist/models/AIToolCallPart.js +1 -1
  49. package/dist/models/AIToolResultPart.d.ts +1 -1
  50. package/dist/models/AIToolResultPart.js +1 -1
  51. package/dist/models/AccessToken.d.ts +1 -1
  52. package/dist/models/AccessToken.js +1 -1
  53. package/dist/models/Character.d.ts +1 -1
  54. package/dist/models/Character.js +1 -1
  55. package/dist/models/ChatRequest.d.ts +1 -1
  56. package/dist/models/ChatRequest.js +1 -1
  57. package/dist/models/CreateCharacterRequest.d.ts +1 -1
  58. package/dist/models/CreateCharacterRequest.js +1 -1
  59. package/dist/models/CreateMemoRequest.d.ts +1 -1
  60. package/dist/models/CreateMemoRequest.js +1 -1
  61. package/dist/models/CreatePlotRequest.d.ts +1 -1
  62. package/dist/models/CreatePlotRequest.js +1 -1
  63. package/dist/models/CreateProjectRequest.d.ts +1 -1
  64. package/dist/models/CreateProjectRequest.js +1 -1
  65. package/dist/models/CreateSessionRequest.d.ts +1 -1
  66. package/dist/models/CreateSessionRequest.js +1 -1
  67. package/dist/models/CreateWritingRequest.d.ts +1 -1
  68. package/dist/models/CreateWritingRequest.js +1 -1
  69. package/dist/models/HealthControllerCheck200Response.d.ts +1 -1
  70. package/dist/models/HealthControllerCheck200Response.js +1 -1
  71. package/dist/models/HealthControllerCheck200ResponseInfoValue.d.ts +1 -1
  72. package/dist/models/HealthControllerCheck200ResponseInfoValue.js +1 -1
  73. package/dist/models/HealthControllerCheck503Response.d.ts +1 -1
  74. package/dist/models/HealthControllerCheck503Response.js +1 -1
  75. package/dist/models/Memo.d.ts +1 -1
  76. package/dist/models/Memo.js +1 -1
  77. package/dist/models/NodeOrderItem.d.ts +1 -1
  78. package/dist/models/NodeOrderItem.js +1 -1
  79. package/dist/models/NodeTree.d.ts +1 -1
  80. package/dist/models/NodeTree.js +1 -1
  81. package/dist/models/Plot.d.ts +1 -1
  82. package/dist/models/Plot.js +1 -1
  83. package/dist/models/Project.d.ts +1 -1
  84. package/dist/models/Project.js +1 -1
  85. package/dist/models/RefreshRequest.d.ts +1 -1
  86. package/dist/models/RefreshRequest.js +1 -1
  87. package/dist/models/RefreshToken.d.ts +1 -1
  88. package/dist/models/RefreshToken.js +1 -1
  89. package/dist/models/ReorderNodesRequest.d.ts +1 -1
  90. package/dist/models/ReorderNodesRequest.js +1 -1
  91. package/dist/models/UpdateCharacterRequest.d.ts +1 -1
  92. package/dist/models/UpdateCharacterRequest.js +1 -1
  93. package/dist/models/UpdateMemoRequest.d.ts +1 -1
  94. package/dist/models/UpdateMemoRequest.js +1 -1
  95. package/dist/models/UpdatePlotRequest.d.ts +1 -1
  96. package/dist/models/UpdatePlotRequest.js +1 -1
  97. package/dist/models/UpdateProjectRequest.d.ts +1 -1
  98. package/dist/models/UpdateProjectRequest.js +1 -1
  99. package/dist/models/UpdateWritingRequest.d.ts +1 -1
  100. package/dist/models/UpdateWritingRequest.js +1 -1
  101. package/dist/models/Writing.d.ts +1 -1
  102. package/dist/models/Writing.js +1 -1
  103. package/dist/models/index.d.ts +2 -0
  104. package/dist/models/index.d.ts.map +1 -1
  105. package/dist/models/index.js +2 -0
  106. package/dist/runtime.d.ts +1 -1
  107. package/dist/runtime.js +1 -1
  108. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,77 @@
1
+ /**
2
+ * Tsumugi API
3
+ * The Tsumugi API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0.3
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 AIProposalFeedback
16
+ */
17
+ export interface AIProposalFeedback {
18
+ /**
19
+ * 対象の提案ID
20
+ * @type {string}
21
+ * @memberof AIProposalFeedback
22
+ */
23
+ proposalId: string;
24
+ /**
25
+ * フィードバックステータス
26
+ * @type {AIProposalFeedbackStatusEnum}
27
+ * @memberof AIProposalFeedback
28
+ */
29
+ status: AIProposalFeedbackStatusEnum;
30
+ /**
31
+ * 対象コンテンツの種別
32
+ * @type {AIProposalFeedbackContentTypeEnum}
33
+ * @memberof AIProposalFeedback
34
+ */
35
+ contentType?: AIProposalFeedbackContentTypeEnum;
36
+ /**
37
+ * 対象コンテンツのID
38
+ * @type {string}
39
+ * @memberof AIProposalFeedback
40
+ */
41
+ targetId?: string;
42
+ /**
43
+ * コンフリクト時の詳細
44
+ * @type {string}
45
+ * @memberof AIProposalFeedback
46
+ */
47
+ conflictDetails?: string;
48
+ }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const AIProposalFeedbackStatusEnum: {
53
+ readonly Accepted: "accepted";
54
+ readonly Rejected: "rejected";
55
+ readonly Conflict: "conflict";
56
+ };
57
+ export type AIProposalFeedbackStatusEnum = typeof AIProposalFeedbackStatusEnum[keyof typeof AIProposalFeedbackStatusEnum];
58
+ /**
59
+ * @export
60
+ */
61
+ export declare const AIProposalFeedbackContentTypeEnum: {
62
+ readonly Plot: "plot";
63
+ readonly Character: "character";
64
+ readonly Memo: "memo";
65
+ readonly Writing: "writing";
66
+ readonly Project: "project";
67
+ };
68
+ export type AIProposalFeedbackContentTypeEnum = typeof AIProposalFeedbackContentTypeEnum[keyof typeof AIProposalFeedbackContentTypeEnum];
69
+ /**
70
+ * Check if a given object implements the AIProposalFeedback interface.
71
+ */
72
+ export declare function instanceOfAIProposalFeedback(value: object): value is AIProposalFeedback;
73
+ export declare function AIProposalFeedbackFromJSON(json: any): AIProposalFeedback;
74
+ export declare function AIProposalFeedbackFromJSONTyped(json: any, ignoreDiscriminator: boolean): AIProposalFeedback;
75
+ export declare function AIProposalFeedbackToJSON(json: any): AIProposalFeedback;
76
+ export declare function AIProposalFeedbackToJSONTyped(value?: AIProposalFeedback | null, ignoreDiscriminator?: boolean): any;
77
+ //# sourceMappingURL=AIProposalFeedback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AIProposalFeedback.d.ts","sourceRoot":"","sources":["../../src/models/AIProposalFeedback.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,4BAA4B,CAAC;IACrC;;;;OAIG;IACH,WAAW,CAAC,EAAE,iCAAiC,CAAC;IAChD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAGD;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAE1H;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;;;CAMpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAIvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAY3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa1H"}
@@ -0,0 +1,79 @@
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.3
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.AIProposalFeedbackContentTypeEnum = exports.AIProposalFeedbackStatusEnum = void 0;
17
+ exports.instanceOfAIProposalFeedback = instanceOfAIProposalFeedback;
18
+ exports.AIProposalFeedbackFromJSON = AIProposalFeedbackFromJSON;
19
+ exports.AIProposalFeedbackFromJSONTyped = AIProposalFeedbackFromJSONTyped;
20
+ exports.AIProposalFeedbackToJSON = AIProposalFeedbackToJSON;
21
+ exports.AIProposalFeedbackToJSONTyped = AIProposalFeedbackToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.AIProposalFeedbackStatusEnum = {
26
+ Accepted: 'accepted',
27
+ Rejected: 'rejected',
28
+ Conflict: 'conflict'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.AIProposalFeedbackContentTypeEnum = {
34
+ Plot: 'plot',
35
+ Character: 'character',
36
+ Memo: 'memo',
37
+ Writing: 'writing',
38
+ Project: 'project'
39
+ };
40
+ /**
41
+ * Check if a given object implements the AIProposalFeedback interface.
42
+ */
43
+ function instanceOfAIProposalFeedback(value) {
44
+ if (!('proposalId' in value) || value['proposalId'] === undefined)
45
+ return false;
46
+ if (!('status' in value) || value['status'] === undefined)
47
+ return false;
48
+ return true;
49
+ }
50
+ function AIProposalFeedbackFromJSON(json) {
51
+ return AIProposalFeedbackFromJSONTyped(json, false);
52
+ }
53
+ function AIProposalFeedbackFromJSONTyped(json, ignoreDiscriminator) {
54
+ if (json == null) {
55
+ return json;
56
+ }
57
+ return {
58
+ 'proposalId': json['proposal_id'],
59
+ 'status': json['status'],
60
+ 'contentType': json['content_type'] == null ? undefined : json['content_type'],
61
+ 'targetId': json['target_id'] == null ? undefined : json['target_id'],
62
+ 'conflictDetails': json['conflict_details'] == null ? undefined : json['conflict_details'],
63
+ };
64
+ }
65
+ function AIProposalFeedbackToJSON(json) {
66
+ return AIProposalFeedbackToJSONTyped(json, false);
67
+ }
68
+ function AIProposalFeedbackToJSONTyped(value, ignoreDiscriminator = false) {
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+ return {
73
+ 'proposal_id': value['proposalId'],
74
+ 'status': value['status'],
75
+ 'content_type': value['contentType'],
76
+ 'target_id': value['targetId'],
77
+ 'conflict_details': value['conflictDetails'],
78
+ };
79
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Tsumugi API
3
+ * The Tsumugi API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0.3
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 { AIProposalFeedback } from './AIProposalFeedback';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AIProposalResult
17
+ */
18
+ export interface AIProposalResult {
19
+ /**
20
+ * 提案のフィードバック
21
+ * @type {AIProposalFeedback}
22
+ * @memberof AIProposalResult
23
+ */
24
+ feedback: AIProposalFeedback;
25
+ /**
26
+ * 全提案処理済みでAI応答ストリームが開始されたか
27
+ * @type {boolean}
28
+ * @memberof AIProposalResult
29
+ */
30
+ hasStream: boolean;
31
+ }
32
+ /**
33
+ * Check if a given object implements the AIProposalResult interface.
34
+ */
35
+ export declare function instanceOfAIProposalResult(value: object): value is AIProposalResult;
36
+ export declare function AIProposalResultFromJSON(json: any): AIProposalResult;
37
+ export declare function AIProposalResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): AIProposalResult;
38
+ export declare function AIProposalResultToJSON(json: any): AIProposalResult;
39
+ export declare function AIProposalResultToJSONTyped(value?: AIProposalResult | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=AIProposalResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AIProposalResult.d.ts","sourceRoot":"","sources":["../../src/models/AIProposalResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,kBAAkB,CAAC;IAC7B;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAInF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CASvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtH"}
@@ -0,0 +1,55 @@
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.3
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.instanceOfAIProposalResult = instanceOfAIProposalResult;
17
+ exports.AIProposalResultFromJSON = AIProposalResultFromJSON;
18
+ exports.AIProposalResultFromJSONTyped = AIProposalResultFromJSONTyped;
19
+ exports.AIProposalResultToJSON = AIProposalResultToJSON;
20
+ exports.AIProposalResultToJSONTyped = AIProposalResultToJSONTyped;
21
+ const AIProposalFeedback_1 = require("./AIProposalFeedback");
22
+ /**
23
+ * Check if a given object implements the AIProposalResult interface.
24
+ */
25
+ function instanceOfAIProposalResult(value) {
26
+ if (!('feedback' in value) || value['feedback'] === undefined)
27
+ return false;
28
+ if (!('hasStream' in value) || value['hasStream'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function AIProposalResultFromJSON(json) {
33
+ return AIProposalResultFromJSONTyped(json, false);
34
+ }
35
+ function AIProposalResultFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'feedback': (0, AIProposalFeedback_1.AIProposalFeedbackFromJSON)(json['feedback']),
41
+ 'hasStream': json['has_stream'],
42
+ };
43
+ }
44
+ function AIProposalResultToJSON(json) {
45
+ return AIProposalResultToJSONTyped(json, false);
46
+ }
47
+ function AIProposalResultToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'feedback': (0, AIProposalFeedback_1.AIProposalFeedbackToJSON)(value['feedback']),
53
+ 'has_stream': value['hasStream'],
54
+ };
55
+ }
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Tsumugi API
6
6
  * The Tsumugi API description
7
7
  *
8
- * The version of the OpenAPI document: 1.0.1
8
+ * The version of the OpenAPI document: 1.0.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Tsumugi API
3
3
  * The Tsumugi API description
4
4
  *
5
- * The version of the OpenAPI document: 1.0.1
5
+ * The version of the OpenAPI document: 1.0.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).