@autobe/agent 0.14.5 → 0.15.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.
Files changed (178) hide show
  1. package/lib/AutoBeMockAgent.js +1 -1
  2. package/lib/AutoBeMockAgent.js.map +1 -1
  3. package/lib/constants/AutoBeSystemPromptConstant.d.ts +11 -9
  4. package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
  5. package/lib/index.mjs +3557 -2635
  6. package/lib/index.mjs.map +1 -1
  7. package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.js +4 -9
  8. package/lib/orchestrate/analyze/orchestrateAnalyzeReviewer.js.map +1 -1
  9. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js +2 -8
  10. package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +1 -1
  11. package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.js +1 -1
  12. package/lib/orchestrate/analyze/transformAnalyzeReviewerHistories.js.map +1 -1
  13. package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.js +1 -1
  14. package/lib/orchestrate/analyze/transformAnalyzeWriteHistories.js.map +1 -1
  15. package/lib/orchestrate/interface/histories/transformInterfaceAssetHistories.d.ts +3 -0
  16. package/lib/orchestrate/interface/histories/transformInterfaceAssetHistories.js +65 -0
  17. package/lib/orchestrate/interface/histories/transformInterfaceAssetHistories.js.map +1 -0
  18. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.d.ts +4 -0
  19. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js +62 -0
  20. package/lib/orchestrate/interface/histories/transformInterfaceComplementHistories.js.map +1 -0
  21. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.d.ts +4 -0
  22. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js +28 -0
  23. package/lib/orchestrate/interface/histories/transformInterfaceEndpointHistories.js.map +1 -0
  24. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.d.ts +3 -0
  25. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js +28 -0
  26. package/lib/orchestrate/interface/histories/transformInterfaceGroupHistories.js.map +1 -0
  27. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.d.ts +4 -0
  28. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js +28 -0
  29. package/lib/orchestrate/interface/histories/transformInterfaceOperationHistories.js.map +1 -0
  30. package/lib/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.d.ts +3 -0
  31. package/lib/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.js +63 -0
  32. package/lib/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.js.map +1 -0
  33. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.d.ts +4 -0
  34. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js +28 -0
  35. package/lib/orchestrate/interface/histories/transformInterfaceSchemaHistories.js.map +1 -0
  36. package/lib/orchestrate/interface/orchestrateInterface.js +14 -9
  37. package/lib/orchestrate/interface/orchestrateInterface.js.map +1 -1
  38. package/lib/orchestrate/interface/orchestrateInterfaceComplement.d.ts +1 -1
  39. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js +13 -40
  40. package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -1
  41. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.d.ts +3 -2
  42. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js +52 -32
  43. package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +1 -1
  44. package/lib/orchestrate/interface/orchestrateInterfaceGroups.d.ts +4 -0
  45. package/lib/orchestrate/interface/orchestrateInterfaceGroups.js +350 -0
  46. package/lib/orchestrate/interface/orchestrateInterfaceGroups.js.map +1 -0
  47. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js +252 -226
  48. package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +1 -1
  49. package/lib/orchestrate/interface/orchestrateInterfaceSchemas.d.ts +4 -0
  50. package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js +411 -0
  51. package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js.map +1 -0
  52. package/lib/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.d.ts +55 -0
  53. package/lib/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.js +3 -0
  54. package/lib/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.js.map +1 -0
  55. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.d.ts +23 -0
  56. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.js +3 -0
  57. package/lib/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.js.map +1 -0
  58. package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.d.ts +108 -0
  59. package/lib/orchestrate/{realize/structures/IAutoBeRealizeDecoratorApplication.js → interface/structures/IAutoBeInterfaceGroupApplication.js} +1 -1
  60. package/lib/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.js.map +1 -0
  61. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.d.ts +122 -0
  62. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.js +3 -0
  63. package/lib/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.js.map +1 -0
  64. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.d.ts +75 -0
  65. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.js +3 -0
  66. package/lib/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.js.map +1 -0
  67. package/lib/orchestrate/interface/{OpenApiEndpointComparator.d.ts → utils/OpenApiEndpointComparator.d.ts} +1 -0
  68. package/lib/orchestrate/interface/{OpenApiEndpointComparator.js → utils/OpenApiEndpointComparator.js} +6 -0
  69. package/lib/orchestrate/interface/utils/OpenApiEndpointComparator.js.map +1 -0
  70. package/lib/orchestrate/realize/orchestrateRealize.js +17 -3
  71. package/lib/orchestrate/realize/orchestrateRealize.js.map +1 -1
  72. package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js +81 -88
  73. package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js.map +1 -1
  74. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.d.ts +4 -0
  75. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js +513 -0
  76. package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +1 -0
  77. package/lib/orchestrate/realize/orchestrateRealizeCoder.js +3 -2
  78. package/lib/orchestrate/realize/orchestrateRealizeCoder.js.map +1 -1
  79. package/lib/orchestrate/realize/structures/{IAutoBeRealizeDecoratorApplication.d.ts → IAutoBeRealizeAuthorizationApplication.d.ts} +9 -9
  80. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js +3 -0
  81. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationApplication.js.map +1 -0
  82. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.d.ts +33 -0
  83. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js +3 -0
  84. package/lib/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.js.map +1 -0
  85. package/lib/orchestrate/realize/structures/IAutoBeRealizeCompile.d.ts +34 -13
  86. package/lib/orchestrate/realize/transformRealizeAuthorization.d.ts +4 -0
  87. package/lib/orchestrate/realize/transformRealizeAuthorization.js +43 -0
  88. package/lib/orchestrate/realize/transformRealizeAuthorization.js.map +1 -0
  89. package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.d.ts +5 -0
  90. package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.js +71 -0
  91. package/lib/orchestrate/realize/transformRealizeAuthorizationCorrectHistories.js.map +1 -0
  92. package/lib/orchestrate/realize/transformRealizeCoderHistories.js +5 -5
  93. package/lib/orchestrate/realize/transformRealizeCoderHistories.js.map +1 -1
  94. package/lib/orchestrate/realize/utils/InternalFileSystem.d.ts +8 -0
  95. package/lib/orchestrate/realize/utils/InternalFileSystem.js +17 -0
  96. package/lib/orchestrate/realize/utils/InternalFileSystem.js.map +1 -0
  97. package/lib/orchestrate/realize/utils/ProviderFileSystem.d.ts +3 -0
  98. package/lib/orchestrate/realize/utils/ProviderFileSystem.js +8 -0
  99. package/lib/orchestrate/realize/utils/ProviderFileSystem.js.map +1 -0
  100. package/lib/orchestrate/realize/utils/replaceImportStatements.js +2 -2
  101. package/lib/orchestrate/realize/utils/replaceImportStatements.js.map +1 -1
  102. package/lib/orchestrate/realize/writeCodeUntilCompilePassed.js +36 -36
  103. package/lib/orchestrate/realize/writeCodeUntilCompilePassed.js.map +1 -1
  104. package/lib/orchestrate/test/compile/getTestScenarioArtifacts.js +1 -0
  105. package/lib/orchestrate/test/compile/getTestScenarioArtifacts.js.map +1 -1
  106. package/lib/orchestrate/test/orchestrateTestCorrect.js +2 -0
  107. package/lib/orchestrate/test/orchestrateTestCorrect.js.map +1 -1
  108. package/lib/orchestrate/test/orchestrateTestScenario.js +29 -13
  109. package/lib/orchestrate/test/orchestrateTestScenario.js.map +1 -1
  110. package/lib/orchestrate/test/orchestrateTestWrite.js +2 -0
  111. package/lib/orchestrate/test/orchestrateTestWrite.js.map +1 -1
  112. package/lib/orchestrate/test/transformTestWriteHistories.js +3 -2
  113. package/lib/orchestrate/test/transformTestWriteHistories.js.map +1 -1
  114. package/lib/utils/arrayToRecord.d.ts +17 -0
  115. package/lib/utils/arrayToRecord.js +19 -0
  116. package/lib/utils/arrayToRecord.js.map +1 -0
  117. package/lib/utils/backoffRetry.js +0 -1
  118. package/lib/utils/backoffRetry.js.map +1 -1
  119. package/package.json +6 -5
  120. package/src/AutoBeMockAgent.ts +1 -1
  121. package/src/constants/AutoBeSystemPromptConstant.ts +11 -9
  122. package/src/orchestrate/analyze/orchestrateAnalyzeReviewer.ts +1 -3
  123. package/src/orchestrate/analyze/orchestrateAnalyzeWrite.ts +1 -3
  124. package/src/orchestrate/interface/histories/transformInterfaceAssetHistories.ts +75 -0
  125. package/src/orchestrate/interface/histories/transformInterfaceComplementHistories.ts +69 -0
  126. package/src/orchestrate/interface/histories/transformInterfaceEndpointHistories.ts +34 -0
  127. package/src/orchestrate/interface/histories/transformInterfaceGroupHistories.ts +32 -0
  128. package/src/orchestrate/interface/histories/transformInterfaceOperationHistories.ts +34 -0
  129. package/src/orchestrate/interface/histories/transformInterfacePrerequisiteHistories.ts +66 -0
  130. package/src/orchestrate/interface/histories/transformInterfaceSchemaHistories.ts +34 -0
  131. package/src/orchestrate/interface/orchestrateInterface.ts +17 -8
  132. package/src/orchestrate/interface/orchestrateInterfaceComplement.ts +22 -97
  133. package/src/orchestrate/interface/orchestrateInterfaceEndpoints.ts +48 -55
  134. package/src/orchestrate/interface/orchestrateInterfaceGroups.ts +109 -0
  135. package/src/orchestrate/interface/orchestrateInterfaceOperations.ts +83 -120
  136. package/src/orchestrate/interface/orchestrateInterfaceSchemas.ts +197 -0
  137. package/src/orchestrate/interface/structures/IAutoBeInterfaceComplementApplication.ts +58 -0
  138. package/src/orchestrate/interface/structures/IAutoBeInterfaceEndpointApplication.ts +24 -0
  139. package/src/orchestrate/interface/structures/IAutoBeInterfaceGroupApplication.ts +112 -0
  140. package/src/orchestrate/interface/structures/IAutoBeInterfaceOperationApplication.ts +125 -0
  141. package/src/orchestrate/interface/structures/IAutoBeInterfaceSchemaApplication.ts +76 -0
  142. package/src/orchestrate/interface/{OpenApiEndpointComparator.ts → utils/OpenApiEndpointComparator.ts} +8 -0
  143. package/src/orchestrate/realize/orchestrateRealize.ts +25 -3
  144. package/src/orchestrate/realize/orchestrateRealizeAuthorization.ts +45 -54
  145. package/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.ts +179 -0
  146. package/src/orchestrate/realize/orchestrateRealizeCoder.ts +3 -6
  147. package/src/orchestrate/realize/structures/{IAutoBeRealizeDecoratorApplication.ts → IAutoBeRealizeAuthorizationApplication.ts} +11 -9
  148. package/src/orchestrate/realize/structures/IAutoBeRealizeAuthorizationCorrectApplication.ts +40 -0
  149. package/src/orchestrate/realize/structures/IAutoBeRealizeCompile.ts +42 -24
  150. package/src/orchestrate/realize/{transformRealizeDecorator.ts → transformRealizeAuthorization.ts} +13 -2
  151. package/src/orchestrate/realize/{transformRealizeDecoratorCorrectHistories.ts → transformRealizeAuthorizationCorrectHistories.ts} +15 -7
  152. package/src/orchestrate/realize/transformRealizeCoderHistories.ts +4 -4
  153. package/src/orchestrate/realize/utils/InternalFileSystem.ts +12 -0
  154. package/src/orchestrate/realize/utils/ProviderFileSystem.ts +4 -0
  155. package/src/orchestrate/realize/utils/replaceImportStatements.ts +2 -2
  156. package/src/orchestrate/realize/writeCodeUntilCompilePassed.ts +59 -53
  157. package/src/orchestrate/test/compile/getTestScenarioArtifacts.ts +1 -0
  158. package/src/orchestrate/test/orchestrateTestCorrect.ts +3 -0
  159. package/src/orchestrate/test/orchestrateTestScenario.ts +4 -2
  160. package/src/orchestrate/test/orchestrateTestWrite.ts +8 -1
  161. package/src/utils/arrayToRecord.ts +49 -0
  162. package/src/utils/backoffRetry.ts +0 -1
  163. package/lib/orchestrate/interface/OpenApiEndpointComparator.js.map +0 -1
  164. package/lib/orchestrate/interface/orchestrateInterfaceComponents.d.ts +0 -4
  165. package/lib/orchestrate/interface/orchestrateInterfaceComponents.js +0 -473
  166. package/lib/orchestrate/interface/orchestrateInterfaceComponents.js.map +0 -1
  167. package/lib/orchestrate/interface/transformInterfaceHistories.d.ts +0 -3
  168. package/lib/orchestrate/interface/transformInterfaceHistories.js +0 -149
  169. package/lib/orchestrate/interface/transformInterfaceHistories.js.map +0 -1
  170. package/lib/orchestrate/realize/structures/IAutoBeRealizeDecoratorApplication.js.map +0 -1
  171. package/lib/orchestrate/realize/transformRealizeDecorator.d.ts +0 -4
  172. package/lib/orchestrate/realize/transformRealizeDecorator.js +0 -32
  173. package/lib/orchestrate/realize/transformRealizeDecorator.js.map +0 -1
  174. package/lib/orchestrate/realize/transformRealizeDecoratorCorrectHistories.d.ts +0 -5
  175. package/lib/orchestrate/realize/transformRealizeDecoratorCorrectHistories.js +0 -62
  176. package/lib/orchestrate/realize/transformRealizeDecoratorCorrectHistories.js.map +0 -1
  177. package/src/orchestrate/interface/orchestrateInterfaceComponents.ts +0 -292
  178. package/src/orchestrate/interface/transformInterfaceHistories.ts +0 -152
@@ -48,14 +48,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
48
48
  exports.orchestrateRealizeAuthorization = orchestrateRealizeAuthorization;
49
49
  const __typia_transform__validateReport = __importStar(require("typia/lib/internal/_validateReport.js"));
50
50
  const core_1 = require("@agentica/core");
51
- const promises_1 = __importDefault(require("fs/promises"));
52
- const path_1 = __importDefault(require("path"));
53
51
  const typia_1 = __importDefault(require("typia"));
54
52
  const assertSchemaModel_1 = require("../../context/assertSchemaModel");
55
53
  const enforceToolCall_1 = require("../../utils/enforceToolCall");
56
- const transformRealizeDecorator_1 = require("./transformRealizeDecorator");
57
- const transformRealizeDecoratorCorrectHistories_1 = require("./transformRealizeDecoratorCorrectHistories");
54
+ const orchestrateRealizeAuthorizationCorrect_1 = require("./orchestrateRealizeAuthorizationCorrect");
55
+ const transformRealizeAuthorization_1 = require("./transformRealizeAuthorization");
56
+ const transformRealizeAuthorizationCorrectHistories_1 = require("./transformRealizeAuthorizationCorrectHistories");
58
57
  const AuthorizationFileSystem_1 = require("./utils/AuthorizationFileSystem");
58
+ const InternalFileSystem_1 = require("./utils/InternalFileSystem");
59
59
  /**
60
60
  * 1. Create decorator and its parameters. and design the Authorization Provider.
61
61
  * 2. According to Authorization Provider design, create the Provider.
@@ -69,10 +69,7 @@ function orchestrateRealizeAuthorization(ctx) {
69
69
  .state()
70
70
  .interface) === null || _a === void 0 ? void 0 : _a.document.components.authorization) === null || _b === void 0 ? void 0 : _b.map((auth) => auth.name)) !== null && _c !== void 0 ? _c : [];
71
71
  let completed = 0;
72
- const templateFiles = {
73
- "src/MyGlobal.ts": yield promises_1.default.readFile(path_1.default.join(__dirname, "../../../../../internals/template/realize/src/MyGlobal.ts"), "utf-8"),
74
- "src/authentications/jwtAuthorize.ts": yield promises_1.default.readFile(path_1.default.join(__dirname, "../../../../../internals/template/realize/src/providers/jwtAuthorize.ts"), "utf-8"),
75
- };
72
+ const templateFiles = yield (yield ctx.compiler()).realize.getTemplate();
76
73
  ctx.dispatch({
77
74
  type: "realizeAuthorizationStart",
78
75
  step: (_e = (_d = ctx.state().test) === null || _d === void 0 ? void 0 : _d.step) !== null && _e !== void 0 ? _e : 0,
@@ -80,7 +77,9 @@ function orchestrateRealizeAuthorization(ctx) {
80
77
  });
81
78
  const authorizations = yield Promise.all(roles.map((role) => __awaiter(this, void 0, void 0, function* () {
82
79
  var _a, _b;
83
- const authorization = yield process(ctx, role, templateFiles);
80
+ const authorization = yield process(ctx, role, InternalFileSystem_1.InternalFileSystem.DEFAULT.map((el) => ({
81
+ [el]: templateFiles[el],
82
+ })).reduce((acc, cur) => Object.assign(acc, cur), {}));
84
83
  ctx.dispatch({
85
84
  type: "realizeAuthorizationWrite",
86
85
  created_at: new Date().toISOString(),
@@ -111,7 +110,7 @@ function process(ctx, role, templateFiles) {
111
110
  config: Object.assign(Object.assign({}, ((_a = ctx.config) !== null && _a !== void 0 ? _a : {})), { executor: {
112
111
  describe: null,
113
112
  } }),
114
- histories: (0, transformRealizeDecorator_1.transformRealizeDecoratorHistories)(ctx, role),
113
+ histories: (0, transformRealizeAuthorization_1.transformRealizeAuthorizationHistories)(ctx, role),
115
114
  controllers: [
116
115
  createApplication({
117
116
  model: ctx.model,
@@ -135,17 +134,17 @@ function process(ctx, role, templateFiles) {
135
134
  decorator: {
136
135
  location: AuthorizationFileSystem_1.AuthorizationFileSystem.decoratorPath(pointer.value.decorator.name),
137
136
  name: pointer.value.decorator.name,
138
- content: pointer.value.decorator.code,
137
+ content: pointer.value.decorator.content,
139
138
  },
140
139
  payload: {
141
140
  location: AuthorizationFileSystem_1.AuthorizationFileSystem.payloadPath(pointer.value.payload.name),
142
141
  name: pointer.value.payload.name,
143
- content: pointer.value.payload.code,
142
+ content: pointer.value.payload.content,
144
143
  },
145
144
  provider: {
146
145
  location: AuthorizationFileSystem_1.AuthorizationFileSystem.providerPath(pointer.value.provider.name),
147
146
  name: pointer.value.provider.name,
148
- content: pointer.value.provider.code,
147
+ content: pointer.value.provider.content,
149
148
  },
150
149
  };
151
150
  const compiled = (_b = ctx.state().prisma) === null || _b === void 0 ? void 0 : _b.compiled;
@@ -155,7 +154,7 @@ function process(ctx, role, templateFiles) {
155
154
  }
156
155
  function correctDecorator(ctx_1, auth_1, prismaClients_1, templateFiles_1) {
157
156
  return __awaiter(this, arguments, void 0, function* (ctx, auth, prismaClients, templateFiles, life = 4) {
158
- var _a, _b, _c, _d, _e;
157
+ var _a, _b, _c;
159
158
  // Check Compile
160
159
  const files = Object.assign(Object.assign(Object.assign({}, templateFiles), prismaClients), { [auth.decorator.location]: auth.decorator.content, [auth.payload.location]: auth.payload.content, [auth.provider.location]: auth.provider.content });
161
160
  const compiler = yield ctx.compiler();
@@ -184,7 +183,7 @@ function correctDecorator(ctx_1, auth_1, prismaClients_1, templateFiles_1) {
184
183
  config: Object.assign(Object.assign({}, ((_c = ctx.config) !== null && _c !== void 0 ? _c : {})), { executor: {
185
184
  describe: null,
186
185
  } }),
187
- histories: (0, transformRealizeDecoratorCorrectHistories_1.transformRealizeDecoratorCorrectHistories)(ctx, auth, templateFiles, result.diagnostics),
186
+ histories: (0, transformRealizeAuthorizationCorrectHistories_1.transformRealizeAuthorizationCorrectHistories)(ctx, auth, templateFiles, result.diagnostics),
188
187
  controllers: [
189
188
  createApplication({
190
189
  model: ctx.model,
@@ -208,27 +207,21 @@ function correctDecorator(ctx_1, auth_1, prismaClients_1, templateFiles_1) {
208
207
  decorator: {
209
208
  location: auth.decorator.location,
210
209
  name: pointer.value.decorator.name,
211
- content: pointer.value.decorator.code,
210
+ content: pointer.value.decorator.content,
212
211
  },
213
212
  payload: {
214
213
  location: auth.payload.location,
215
214
  name: pointer.value.payload.name,
216
- content: pointer.value.payload.code,
215
+ content: pointer.value.payload.content,
217
216
  },
218
217
  provider: {
219
218
  location: auth.provider.location,
220
219
  name: pointer.value.provider.name,
221
- content: pointer.value.provider.code,
220
+ content: pointer.value.provider.content,
222
221
  },
223
222
  };
224
- ctx.dispatch({
225
- type: "realizeAuthorizationCorrect",
226
- created_at: new Date().toISOString(),
227
- authorization: corrected,
228
- result: result,
229
- step: (_e = (_d = ctx.state().test) === null || _d === void 0 ? void 0 : _d.step) !== null && _e !== void 0 ? _e : 0,
230
- });
231
- return yield correctDecorator(ctx, corrected, prismaClients, templateFiles, life - 1);
223
+ const res = yield (0, orchestrateRealizeAuthorizationCorrect_1.orchestrateRealizeAuthorizationCorrect)(ctx, corrected, prismaClients, templateFiles, life - 1);
224
+ return Object.assign(Object.assign({}, res), { role: auth.role });
232
225
  });
233
226
  }
234
227
  function createApplication(props) {
@@ -255,20 +248,20 @@ const claude = {
255
248
  {
256
249
  name: "createDecorator",
257
250
  parameters: {
258
- description: "Current Type: {@link IAutoBeRealizeDecoratorApplication.IProps}",
251
+ description: "Current Type: {@link IAutoBeRealizeAuthorizationApplication.IProps}",
259
252
  type: "object",
260
253
  properties: {
261
254
  provider: {
262
255
  description: "Authentication Provider function configuration containing the function\nname and implementation code. The Provider handles JWT token\nverification, role validation, and database queries to authenticate\nusers.",
263
- $ref: "#/$defs/IAutoBeRealizeDecoratorApplication.IProvider"
256
+ $ref: "#/$defs/IAutoBeRealizeAuthorizationApplication.IProvider"
264
257
  },
265
258
  decorator: {
266
259
  description: "Authentication Decorator configuration containing the decorator name and\nimplementation code. The Decorator integrates with NestJS parameter\ndecorators to automatically inject authenticated user data into\nController methods.",
267
- $ref: "#/$defs/IAutoBeRealizeDecoratorApplication.IDecorator"
260
+ $ref: "#/$defs/IAutoBeRealizeAuthorizationApplication.IDecorator"
268
261
  },
269
262
  payload: {
270
263
  description: "Authentication Payload Type configuration containing the payload type\nname and implementation code. The Payload Type is used to define the\nstructure of the authenticated user data that will be injected into\nController methods when using the decorator. It serves as the TypeScript\ntype for the parameter in Controller method signatures.",
271
- $ref: "#/$defs/IAutoBeRealizeDecoratorApplication.IPayloadType"
264
+ $ref: "#/$defs/IAutoBeRealizeAuthorizationApplication.IPayloadType"
272
265
  }
273
266
  },
274
267
  required: [
@@ -278,118 +271,118 @@ const claude = {
278
271
  ],
279
272
  additionalProperties: false,
280
273
  $defs: {
281
- "IAutoBeRealizeDecoratorApplication.IProvider": {
274
+ "IAutoBeRealizeAuthorizationApplication.IProvider": {
282
275
  type: "object",
283
276
  properties: {
284
277
  name: {
285
278
  description: "The name of the authentication Provider function in {role}Authorize\nformat (e.g., adminAuthorize, userAuthorize). This function will be\ncalled by the decorator to verify JWT tokens and return authenticated\nuser information for the specified role.",
286
279
  type: "string"
287
280
  },
288
- code: {
281
+ content: {
289
282
  description: "Complete TypeScript code for the authentication Provider function and its\ncorresponding Payload interface. Must include: JWT token verification\nusing jwtAuthorize function, role type checking against payload.type,\ndatabase query using MyGlobal.prisma.{tableName} pattern to verify user\nexistence, proper error handling with ForbiddenException and\nUnauthorizedException, and the Payload interface definition with id (UUID\nformat) and type (role discriminator) fields using typia tags.",
290
283
  type: "string"
291
284
  }
292
285
  },
293
286
  required: [
294
287
  "name",
295
- "code"
288
+ "content"
296
289
  ]
297
290
  },
298
- "IAutoBeRealizeDecoratorApplication.IDecorator": {
291
+ "IAutoBeRealizeAuthorizationApplication.IDecorator": {
299
292
  type: "object",
300
293
  properties: {
301
294
  name: {
302
295
  description: "The name of the Decorator to be generated in {Role}Auth format (e.g.,\nAdminAuth, UserAuth). This decorator will be used as a parameter\ndecorator in Controller methods to automatically authenticate and\nauthorize users for the specific role, injecting the authenticated user\npayload as a method parameter.",
303
296
  type: "string"
304
297
  },
305
- code: {
298
+ content: {
306
299
  description: "Complete TypeScript code for the authentication Decorator implementation.\nMust include: SwaggerCustomizer integration to add bearer token security\nschema to API documentation, createParamDecorator implementation that\ncalls the corresponding Provider function for authentication, Singleton\npattern using tstl library for efficient decorator instance management,\nand proper TypeScript typing for the ParameterDecorator interface.",
307
300
  type: "string"
308
301
  }
309
302
  },
310
303
  required: [
311
304
  "name",
312
- "code"
305
+ "content"
313
306
  ]
314
307
  },
315
- "IAutoBeRealizeDecoratorApplication.IPayloadType": {
308
+ "IAutoBeRealizeAuthorizationApplication.IPayloadType": {
316
309
  type: "object",
317
310
  properties: {
318
311
  name: {
319
312
  description: "The name of the Decorator to be generated in {Role}Auth format (e.g.,\nAdminAuth, UserAuth). This decorator will be used as a parameter\ndecorator in Controller methods to automatically authenticate and\nauthorize users for the specific role, injecting the authenticated user\npayload as a method parameter.",
320
313
  type: "string"
321
314
  },
322
- code: {
315
+ content: {
323
316
  description: "The TypeScript code for the Payload type in {Role}Payload format (e.g.,\nAdminPayload, UserPayload). This interface defines the structure of the\nauthenticated user data that will be injected into Controller methods\nwhen using the decorator. It serves as the TypeScript type for the\nparameter in Controller method signatures.",
324
317
  type: "string"
325
318
  }
326
319
  },
327
320
  required: [
328
321
  "name",
329
- "code"
322
+ "content"
330
323
  ]
331
324
  }
332
325
  }
333
326
  },
334
- validate: (() => { const _io0 = input => "object" === typeof input.provider && null !== input.provider && _io1(input.provider) && ("object" === typeof input.decorator && null !== input.decorator && _io2(input.decorator)) && ("object" === typeof input.payload && null !== input.payload && _io3(input.payload)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.code; const _io2 = input => "string" === typeof input.name && "string" === typeof input.code; const _io3 = input => "string" === typeof input.name && "string" === typeof input.code; const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.provider && null !== input.provider || _report(_exceptionable, {
327
+ validate: (() => { const _io0 = input => "object" === typeof input.provider && null !== input.provider && _io1(input.provider) && ("object" === typeof input.decorator && null !== input.decorator && _io2(input.decorator)) && ("object" === typeof input.payload && null !== input.payload && _io3(input.payload)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.content; const _io2 = input => "string" === typeof input.name && "string" === typeof input.content; const _io3 = input => "string" === typeof input.name && "string" === typeof input.content; const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.provider && null !== input.provider || _report(_exceptionable, {
335
328
  path: _path + ".provider",
336
- expected: "IAutoBeRealizeDecoratorApplication.IProvider",
329
+ expected: "IAutoBeRealizeAuthorizationApplication.IProvider",
337
330
  value: input.provider
338
331
  })) && _vo1(input.provider, _path + ".provider", true && _exceptionable) || _report(_exceptionable, {
339
332
  path: _path + ".provider",
340
- expected: "IAutoBeRealizeDecoratorApplication.IProvider",
333
+ expected: "IAutoBeRealizeAuthorizationApplication.IProvider",
341
334
  value: input.provider
342
335
  }), ("object" === typeof input.decorator && null !== input.decorator || _report(_exceptionable, {
343
336
  path: _path + ".decorator",
344
- expected: "IAutoBeRealizeDecoratorApplication.IDecorator",
337
+ expected: "IAutoBeRealizeAuthorizationApplication.IDecorator",
345
338
  value: input.decorator
346
339
  })) && _vo2(input.decorator, _path + ".decorator", true && _exceptionable) || _report(_exceptionable, {
347
340
  path: _path + ".decorator",
348
- expected: "IAutoBeRealizeDecoratorApplication.IDecorator",
341
+ expected: "IAutoBeRealizeAuthorizationApplication.IDecorator",
349
342
  value: input.decorator
350
343
  }), ("object" === typeof input.payload && null !== input.payload || _report(_exceptionable, {
351
344
  path: _path + ".payload",
352
- expected: "IAutoBeRealizeDecoratorApplication.IPayloadType",
345
+ expected: "IAutoBeRealizeAuthorizationApplication.IPayloadType",
353
346
  value: input.payload
354
347
  })) && _vo3(input.payload, _path + ".payload", true && _exceptionable) || _report(_exceptionable, {
355
348
  path: _path + ".payload",
356
- expected: "IAutoBeRealizeDecoratorApplication.IPayloadType",
349
+ expected: "IAutoBeRealizeAuthorizationApplication.IPayloadType",
357
350
  value: input.payload
358
351
  })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
359
352
  path: _path + ".name",
360
353
  expected: "string",
361
354
  value: input.name
362
- }), "string" === typeof input.code || _report(_exceptionable, {
363
- path: _path + ".code",
355
+ }), "string" === typeof input.content || _report(_exceptionable, {
356
+ path: _path + ".content",
364
357
  expected: "string",
365
- value: input.code
358
+ value: input.content
366
359
  })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
367
360
  path: _path + ".name",
368
361
  expected: "string",
369
362
  value: input.name
370
- }), "string" === typeof input.code || _report(_exceptionable, {
371
- path: _path + ".code",
363
+ }), "string" === typeof input.content || _report(_exceptionable, {
364
+ path: _path + ".content",
372
365
  expected: "string",
373
- value: input.code
366
+ value: input.content
374
367
  })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
375
368
  path: _path + ".name",
376
369
  expected: "string",
377
370
  value: input.name
378
- }), "string" === typeof input.code || _report(_exceptionable, {
379
- path: _path + ".code",
371
+ }), "string" === typeof input.content || _report(_exceptionable, {
372
+ path: _path + ".content",
380
373
  expected: "string",
381
- value: input.code
374
+ value: input.content
382
375
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
383
376
  if (false === __is(input)) {
384
377
  errors = [];
385
378
  _report = __typia_transform__validateReport._validateReport(errors);
386
379
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
387
380
  path: _path + "",
388
- expected: "IAutoBeRealizeDecoratorApplication.IProps",
381
+ expected: "IAutoBeRealizeAuthorizationApplication.IProps",
389
382
  value: input
390
383
  })) && _vo0(input, _path + "", true) || _report(true, {
391
384
  path: _path + "",
392
- expected: "IAutoBeRealizeDecoratorApplication.IProps",
385
+ expected: "IAutoBeRealizeAuthorizationApplication.IProps",
393
386
  value: input
394
387
  }))(input, "$input", true);
395
388
  const success = 0 === errors.length;
@@ -422,17 +415,17 @@ const collection = {
422
415
  {
423
416
  name: "createDecorator",
424
417
  parameters: {
425
- description: "Current Type: {@link IAutoBeRealizeDecoratorApplication.IProps}\n\n### Description of {@link provider} property:\n\n> Authentication Provider function configuration containing the function\n> name and implementation code. The Provider handles JWT token\n> verification, role validation, and database queries to authenticate\n> users.\n\n### Description of {@link decorator} property:\n\n> Authentication Decorator configuration containing the decorator name and\n> implementation code. The Decorator integrates with NestJS parameter\n> decorators to automatically inject authenticated user data into\n> Controller methods.\n\n### Description of {@link payload} property:\n\n> Authentication Payload Type configuration containing the payload type\n> name and implementation code. The Payload Type is used to define the\n> structure of the authenticated user data that will be injected into\n> Controller methods when using the decorator. It serves as the TypeScript\n> type for the parameter in Controller method signatures.",
418
+ description: "Current Type: {@link IAutoBeRealizeAuthorizationApplication.IProps}\n\n### Description of {@link provider} property:\n\n> Authentication Provider function configuration containing the function\n> name and implementation code. The Provider handles JWT token\n> verification, role validation, and database queries to authenticate\n> users.\n\n### Description of {@link decorator} property:\n\n> Authentication Decorator configuration containing the decorator name and\n> implementation code. The Decorator integrates with NestJS parameter\n> decorators to automatically inject authenticated user data into\n> Controller methods.\n\n### Description of {@link payload} property:\n\n> Authentication Payload Type configuration containing the payload type\n> name and implementation code. The Payload Type is used to define the\n> structure of the authenticated user data that will be injected into\n> Controller methods when using the decorator. It serves as the TypeScript\n> type for the parameter in Controller method signatures.",
426
419
  type: "object",
427
420
  properties: {
428
421
  provider: {
429
- $ref: "#/$defs/IAutoBeRealizeDecoratorApplication.IProvider"
422
+ $ref: "#/$defs/IAutoBeRealizeAuthorizationApplication.IProvider"
430
423
  },
431
424
  decorator: {
432
- $ref: "#/$defs/IAutoBeRealizeDecoratorApplication.IDecorator"
425
+ $ref: "#/$defs/IAutoBeRealizeAuthorizationApplication.IDecorator"
433
426
  },
434
427
  payload: {
435
- $ref: "#/$defs/IAutoBeRealizeDecoratorApplication.IPayloadType"
428
+ $ref: "#/$defs/IAutoBeRealizeAuthorizationApplication.IPayloadType"
436
429
  }
437
430
  },
438
431
  required: [
@@ -442,118 +435,118 @@ const collection = {
442
435
  ],
443
436
  additionalProperties: false,
444
437
  $defs: {
445
- "IAutoBeRealizeDecoratorApplication.IProvider": {
438
+ "IAutoBeRealizeAuthorizationApplication.IProvider": {
446
439
  type: "object",
447
440
  properties: {
448
441
  name: {
449
442
  description: "The name of the authentication Provider function in {role}Authorize\nformat (e.g., adminAuthorize, userAuthorize). This function will be\ncalled by the decorator to verify JWT tokens and return authenticated\nuser information for the specified role.",
450
443
  type: "string"
451
444
  },
452
- code: {
445
+ content: {
453
446
  description: "Complete TypeScript code for the authentication Provider function and its\ncorresponding Payload interface. Must include: JWT token verification\nusing jwtAuthorize function, role type checking against payload.type,\ndatabase query using MyGlobal.prisma.{tableName} pattern to verify user\nexistence, proper error handling with ForbiddenException and\nUnauthorizedException, and the Payload interface definition with id (UUID\nformat) and type (role discriminator) fields using typia tags.",
454
447
  type: "string"
455
448
  }
456
449
  },
457
450
  required: [
458
451
  "name",
459
- "code"
452
+ "content"
460
453
  ]
461
454
  },
462
- "IAutoBeRealizeDecoratorApplication.IDecorator": {
455
+ "IAutoBeRealizeAuthorizationApplication.IDecorator": {
463
456
  type: "object",
464
457
  properties: {
465
458
  name: {
466
459
  description: "The name of the Decorator to be generated in {Role}Auth format (e.g.,\nAdminAuth, UserAuth). This decorator will be used as a parameter\ndecorator in Controller methods to automatically authenticate and\nauthorize users for the specific role, injecting the authenticated user\npayload as a method parameter.",
467
460
  type: "string"
468
461
  },
469
- code: {
462
+ content: {
470
463
  description: "Complete TypeScript code for the authentication Decorator implementation.\nMust include: SwaggerCustomizer integration to add bearer token security\nschema to API documentation, createParamDecorator implementation that\ncalls the corresponding Provider function for authentication, Singleton\npattern using tstl library for efficient decorator instance management,\nand proper TypeScript typing for the ParameterDecorator interface.",
471
464
  type: "string"
472
465
  }
473
466
  },
474
467
  required: [
475
468
  "name",
476
- "code"
469
+ "content"
477
470
  ]
478
471
  },
479
- "IAutoBeRealizeDecoratorApplication.IPayloadType": {
472
+ "IAutoBeRealizeAuthorizationApplication.IPayloadType": {
480
473
  type: "object",
481
474
  properties: {
482
475
  name: {
483
476
  description: "The name of the Decorator to be generated in {Role}Auth format (e.g.,\nAdminAuth, UserAuth). This decorator will be used as a parameter\ndecorator in Controller methods to automatically authenticate and\nauthorize users for the specific role, injecting the authenticated user\npayload as a method parameter.",
484
477
  type: "string"
485
478
  },
486
- code: {
479
+ content: {
487
480
  description: "The TypeScript code for the Payload type in {Role}Payload format (e.g.,\nAdminPayload, UserPayload). This interface defines the structure of the\nauthenticated user data that will be injected into Controller methods\nwhen using the decorator. It serves as the TypeScript type for the\nparameter in Controller method signatures.",
488
481
  type: "string"
489
482
  }
490
483
  },
491
484
  required: [
492
485
  "name",
493
- "code"
486
+ "content"
494
487
  ]
495
488
  }
496
489
  }
497
490
  },
498
- validate: (() => { const _io0 = input => "object" === typeof input.provider && null !== input.provider && _io1(input.provider) && ("object" === typeof input.decorator && null !== input.decorator && _io2(input.decorator)) && ("object" === typeof input.payload && null !== input.payload && _io3(input.payload)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.code; const _io2 = input => "string" === typeof input.name && "string" === typeof input.code; const _io3 = input => "string" === typeof input.name && "string" === typeof input.code; const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.provider && null !== input.provider || _report(_exceptionable, {
491
+ validate: (() => { const _io0 = input => "object" === typeof input.provider && null !== input.provider && _io1(input.provider) && ("object" === typeof input.decorator && null !== input.decorator && _io2(input.decorator)) && ("object" === typeof input.payload && null !== input.payload && _io3(input.payload)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.content; const _io2 = input => "string" === typeof input.name && "string" === typeof input.content; const _io3 = input => "string" === typeof input.name && "string" === typeof input.content; const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.provider && null !== input.provider || _report(_exceptionable, {
499
492
  path: _path + ".provider",
500
- expected: "IAutoBeRealizeDecoratorApplication.IProvider",
493
+ expected: "IAutoBeRealizeAuthorizationApplication.IProvider",
501
494
  value: input.provider
502
495
  })) && _vo1(input.provider, _path + ".provider", true && _exceptionable) || _report(_exceptionable, {
503
496
  path: _path + ".provider",
504
- expected: "IAutoBeRealizeDecoratorApplication.IProvider",
497
+ expected: "IAutoBeRealizeAuthorizationApplication.IProvider",
505
498
  value: input.provider
506
499
  }), ("object" === typeof input.decorator && null !== input.decorator || _report(_exceptionable, {
507
500
  path: _path + ".decorator",
508
- expected: "IAutoBeRealizeDecoratorApplication.IDecorator",
501
+ expected: "IAutoBeRealizeAuthorizationApplication.IDecorator",
509
502
  value: input.decorator
510
503
  })) && _vo2(input.decorator, _path + ".decorator", true && _exceptionable) || _report(_exceptionable, {
511
504
  path: _path + ".decorator",
512
- expected: "IAutoBeRealizeDecoratorApplication.IDecorator",
505
+ expected: "IAutoBeRealizeAuthorizationApplication.IDecorator",
513
506
  value: input.decorator
514
507
  }), ("object" === typeof input.payload && null !== input.payload || _report(_exceptionable, {
515
508
  path: _path + ".payload",
516
- expected: "IAutoBeRealizeDecoratorApplication.IPayloadType",
509
+ expected: "IAutoBeRealizeAuthorizationApplication.IPayloadType",
517
510
  value: input.payload
518
511
  })) && _vo3(input.payload, _path + ".payload", true && _exceptionable) || _report(_exceptionable, {
519
512
  path: _path + ".payload",
520
- expected: "IAutoBeRealizeDecoratorApplication.IPayloadType",
513
+ expected: "IAutoBeRealizeAuthorizationApplication.IPayloadType",
521
514
  value: input.payload
522
515
  })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
523
516
  path: _path + ".name",
524
517
  expected: "string",
525
518
  value: input.name
526
- }), "string" === typeof input.code || _report(_exceptionable, {
527
- path: _path + ".code",
519
+ }), "string" === typeof input.content || _report(_exceptionable, {
520
+ path: _path + ".content",
528
521
  expected: "string",
529
- value: input.code
522
+ value: input.content
530
523
  })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
531
524
  path: _path + ".name",
532
525
  expected: "string",
533
526
  value: input.name
534
- }), "string" === typeof input.code || _report(_exceptionable, {
535
- path: _path + ".code",
527
+ }), "string" === typeof input.content || _report(_exceptionable, {
528
+ path: _path + ".content",
536
529
  expected: "string",
537
- value: input.code
530
+ value: input.content
538
531
  })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
539
532
  path: _path + ".name",
540
533
  expected: "string",
541
534
  value: input.name
542
- }), "string" === typeof input.code || _report(_exceptionable, {
543
- path: _path + ".code",
535
+ }), "string" === typeof input.content || _report(_exceptionable, {
536
+ path: _path + ".content",
544
537
  expected: "string",
545
- value: input.code
538
+ value: input.content
546
539
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
547
540
  if (false === __is(input)) {
548
541
  errors = [];
549
542
  _report = __typia_transform__validateReport._validateReport(errors);
550
543
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
551
544
  path: _path + "",
552
- expected: "IAutoBeRealizeDecoratorApplication.IProps",
545
+ expected: "IAutoBeRealizeAuthorizationApplication.IProps",
553
546
  value: input
554
547
  })) && _vo0(input, _path + "", true) || _report(true, {
555
548
  path: _path + "",
556
- expected: "IAutoBeRealizeDecoratorApplication.IProps",
549
+ expected: "IAutoBeRealizeAuthorizationApplication.IProps",
557
550
  value: input
558
551
  }))(input, "$input", true);
559
552
  const success = 0 === errors.length;
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrateRealizeAuthorization.js","sourceRoot":"","sources":["../../../src/orchestrate/realize/orchestrateRealizeAuthorization.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,0EAyDC;;AAnFD,yCAAoE;AAOpE,2DAA6B;AAC7B,gDAAwB;AAExB,kDAA0B;AAG1B,uEAAoE;AACpE,iEAA8D;AAE9D,2EAAiF;AACjF,2GAAwG;AACxG,6EAA0E;AAE1E;;;;;GAKG;AACH,SAAsB,+BAA+B,CAEnD,GAAyB;;;QACzB,MAAM,KAAK,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,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIJ;IACH,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;CACd,CAAC"}
1
+ {"version":3,"file":"orchestrateRealizeAuthorization.js","sourceRoot":"","sources":["../../../src/orchestrate/realize/orchestrateRealizeAuthorization.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,0EA6CC;;AAvED,yCAAoE;AAQpE,kDAA0B;AAG1B,uEAAoE;AACpE,iEAA8D;AAC9D,qGAAkG;AAElG,mFAAyF;AACzF,mHAAgH;AAChH,6EAA0E;AAC1E,mEAAgE;AAEhE;;;;;GAKG;AACH,SAAsB,+BAA+B,CAEnD,GAAyB;;;QACzB,MAAM,KAAK,GACT,MAAA,MAAA,MAAA,GAAG;aACA,KAAK,EAAE;aACP,SAAS,0CAAE,QAAQ,CAAC,UAAU,CAAC,aAAa,0CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,mCACzE,EAAE,CAAC;QAEL,IAAI,SAAS,GAAG,CAAC,CAAC;QAElB,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;QAEzE,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,2BAA2B;YACjC,IAAI,EAAE,MAAA,MAAA,GAAG,CAAC,KAAK,EAAE,CAAC,IAAI,0CAAE,IAAI,mCAAI,CAAC;YACjC,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC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A;AAED,SAAS,iBAAiB,CAAiC,KAG1D;IACC,IAAA,qCAAiB,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAE/B,MAAM,WAAW,GAA2B,UAAU,CACpD,KAAK,CAAC,KAAK,CACyB,CAAC;IAEvC,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,kBAAkB;QACxB,WAAW;QACX,OAAO,EAAE;YACP,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE;gBACxB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACpB,CAAC;SAC+C;KACnD,CAAC;AACJ,CAAC;AAED,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMT,CAAC;AACJ,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIJ;IACH,MAAM;IACN,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;CACd,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { AutoBeRealizeAuthorization } from "@autobe/interface";
2
+ import { ILlmSchema } from "@samchon/openapi";
3
+ import { AutoBeContext } from "../../context/AutoBeContext";
4
+ export declare function orchestrateRealizeAuthorizationCorrect<Model extends ILlmSchema.Model>(ctx: AutoBeContext<Model>, authorization: AutoBeRealizeAuthorization, prismaClients: Record<string, string>, templateFiles: Record<string, string>, life?: number): Promise<AutoBeRealizeAuthorization>;