@mcp-abap-adt/core 8.0.0 → 8.1.1

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 (105) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/handlers/behavior_definition/high/handleCreateBehaviorDefinition.d.ts +4 -0
  3. package/dist/handlers/behavior_definition/high/handleCreateBehaviorDefinition.d.ts.map +1 -1
  4. package/dist/handlers/behavior_definition/high/handleCreateBehaviorDefinition.js +5 -0
  5. package/dist/handlers/behavior_definition/high/handleCreateBehaviorDefinition.js.map +1 -1
  6. package/dist/handlers/class/high/handleCreateClass.d.ts +5 -0
  7. package/dist/handlers/class/high/handleCreateClass.d.ts.map +1 -1
  8. package/dist/handlers/class/high/handleCreateClass.js +5 -0
  9. package/dist/handlers/class/high/handleCreateClass.js.map +1 -1
  10. package/dist/handlers/compact/high/compactSchemas.d.ts +227 -0
  11. package/dist/handlers/compact/high/compactSchemas.d.ts.map +1 -1
  12. package/dist/handlers/compact/high/compactSchemas.js +175 -0
  13. package/dist/handlers/compact/high/compactSchemas.js.map +1 -1
  14. package/dist/handlers/compact/high/handleHandlerCreate.d.ts +110 -1
  15. package/dist/handlers/compact/high/handleHandlerCreate.d.ts.map +1 -1
  16. package/dist/handlers/compact/high/handleHandlerCreate.js +1 -1
  17. package/dist/handlers/compact/high/handleHandlerCreate.js.map +1 -1
  18. package/dist/handlers/compact/high/handleHandlerDelete.d.ts +41 -1
  19. package/dist/handlers/compact/high/handleHandlerDelete.d.ts.map +1 -1
  20. package/dist/handlers/compact/high/handleHandlerDelete.js +1 -1
  21. package/dist/handlers/compact/high/handleHandlerDelete.js.map +1 -1
  22. package/dist/handlers/compact/high/handleHandlerUpdate.d.ts +79 -1
  23. package/dist/handlers/compact/high/handleHandlerUpdate.d.ts.map +1 -1
  24. package/dist/handlers/compact/high/handleHandlerUpdate.js +1 -1
  25. package/dist/handlers/compact/high/handleHandlerUpdate.js.map +1 -1
  26. package/dist/handlers/data_element/high/handleCreateDataElement.d.ts +5 -0
  27. package/dist/handlers/data_element/high/handleCreateDataElement.d.ts.map +1 -1
  28. package/dist/handlers/data_element/high/handleCreateDataElement.js +5 -0
  29. package/dist/handlers/data_element/high/handleCreateDataElement.js.map +1 -1
  30. package/dist/handlers/ddl/high/handleCreateDdl.d.ts +4 -0
  31. package/dist/handlers/ddl/high/handleCreateDdl.d.ts.map +1 -1
  32. package/dist/handlers/ddl/high/handleCreateDdl.js +5 -0
  33. package/dist/handlers/ddl/high/handleCreateDdl.js.map +1 -1
  34. package/dist/handlers/ddlx/high/handleCreateMetadataExtension.d.ts +4 -0
  35. package/dist/handlers/ddlx/high/handleCreateMetadataExtension.d.ts.map +1 -1
  36. package/dist/handlers/ddlx/high/handleCreateMetadataExtension.js +5 -0
  37. package/dist/handlers/ddlx/high/handleCreateMetadataExtension.js.map +1 -1
  38. package/dist/handlers/domain/high/handleCreateDomain.d.ts +5 -0
  39. package/dist/handlers/domain/high/handleCreateDomain.d.ts.map +1 -1
  40. package/dist/handlers/domain/high/handleCreateDomain.js +5 -0
  41. package/dist/handlers/domain/high/handleCreateDomain.js.map +1 -1
  42. package/dist/handlers/function/high/handleCreateFunctionGroup.d.ts +5 -0
  43. package/dist/handlers/function/high/handleCreateFunctionGroup.d.ts.map +1 -1
  44. package/dist/handlers/function/high/handleCreateFunctionGroup.js +5 -0
  45. package/dist/handlers/function/high/handleCreateFunctionGroup.js.map +1 -1
  46. package/dist/handlers/interface/high/handleCreateInterface.d.ts +5 -0
  47. package/dist/handlers/interface/high/handleCreateInterface.d.ts.map +1 -1
  48. package/dist/handlers/interface/high/handleCreateInterface.js +5 -0
  49. package/dist/handlers/interface/high/handleCreateInterface.js.map +1 -1
  50. package/dist/handlers/package/high/handleCreatePackage.d.ts +2 -0
  51. package/dist/handlers/package/high/handleCreatePackage.d.ts.map +1 -1
  52. package/dist/handlers/package/high/handleCreatePackage.js +7 -0
  53. package/dist/handlers/package/high/handleCreatePackage.js.map +1 -1
  54. package/dist/handlers/program/high/handleCreateProgram.d.ts +4 -0
  55. package/dist/handlers/program/high/handleCreateProgram.d.ts.map +1 -1
  56. package/dist/handlers/program/high/handleCreateProgram.js +5 -0
  57. package/dist/handlers/program/high/handleCreateProgram.js.map +1 -1
  58. package/dist/handlers/service_binding/high/handleCreateServiceBinding.d.ts +5 -0
  59. package/dist/handlers/service_binding/high/handleCreateServiceBinding.d.ts.map +1 -1
  60. package/dist/handlers/service_binding/high/handleCreateServiceBinding.js +5 -0
  61. package/dist/handlers/service_binding/high/handleCreateServiceBinding.js.map +1 -1
  62. package/dist/handlers/service_definition/high/handleCreateServiceDefinition.d.ts +5 -0
  63. package/dist/handlers/service_definition/high/handleCreateServiceDefinition.d.ts.map +1 -1
  64. package/dist/handlers/service_definition/high/handleCreateServiceDefinition.js +5 -0
  65. package/dist/handlers/service_definition/high/handleCreateServiceDefinition.js.map +1 -1
  66. package/dist/handlers/structure/high/handleCreateStructure.d.ts +5 -0
  67. package/dist/handlers/structure/high/handleCreateStructure.d.ts.map +1 -1
  68. package/dist/handlers/structure/high/handleCreateStructure.js +5 -0
  69. package/dist/handlers/structure/high/handleCreateStructure.js.map +1 -1
  70. package/dist/handlers/structure/readonly/handleGetStructuresList.d.ts.map +1 -1
  71. package/dist/handlers/structure/readonly/handleGetStructuresList.js +44 -13
  72. package/dist/handlers/structure/readonly/handleGetStructuresList.js.map +1 -1
  73. package/dist/handlers/system/readonly/handleGetWhereUsed.d.ts +18 -0
  74. package/dist/handlers/system/readonly/handleGetWhereUsed.d.ts.map +1 -1
  75. package/dist/handlers/system/readonly/handleGetWhereUsed.js +35 -0
  76. package/dist/handlers/system/readonly/handleGetWhereUsed.js.map +1 -1
  77. package/dist/handlers/table/high/handleCreateTable.d.ts +5 -0
  78. package/dist/handlers/table/high/handleCreateTable.d.ts.map +1 -1
  79. package/dist/handlers/table/high/handleCreateTable.js +5 -0
  80. package/dist/handlers/table/high/handleCreateTable.js.map +1 -1
  81. package/dist/lib/clients.d.ts.map +1 -1
  82. package/dist/lib/clients.js +9 -2
  83. package/dist/lib/clients.js.map +1 -1
  84. package/dist/lib/requestContext.d.ts +22 -0
  85. package/dist/lib/requestContext.d.ts.map +1 -0
  86. package/dist/lib/requestContext.js +19 -0
  87. package/dist/lib/requestContext.js.map +1 -0
  88. package/dist/server/BaseMcpServer.d.ts.map +1 -1
  89. package/dist/server/BaseMcpServer.js +9 -0
  90. package/dist/server/BaseMcpServer.js.map +1 -1
  91. package/dist/server/SseServer.d.ts.map +1 -1
  92. package/dist/server/SseServer.js +10 -2
  93. package/dist/server/SseServer.js.map +1 -1
  94. package/dist/server/StreamableHttpServer.d.ts.map +1 -1
  95. package/dist/server/StreamableHttpServer.js +7 -1
  96. package/dist/server/StreamableHttpServer.js.map +1 -1
  97. package/dist/server/launcher.js +1 -0
  98. package/dist/server/launcher.js.map +1 -1
  99. package/docs/user-guide/AVAILABLE_TOOLS.md +48 -4
  100. package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +46 -4
  101. package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +46 -4
  102. package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +46 -4
  103. package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +1 -1
  104. package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +3 -1
  105. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [8.1.1] - 2026-06-27
6
+
7
+ ### Fixed
8
+ - **`GetStructuresList` no longer loses append structures on heavily-used objects (#128).** The append (where-used) search now scopes to append structures only (`enableOnlyTypes: ['TABL/DS']`) instead of searching all types: where-used caps the number of returned records, so on a widely-referenced base (e.g. a standard S/4 table) the append records were crowded out by other reference types and dropped, yielding `0` appends. It also resolves the base `object_type` itself (try `structure`, fall back to `table`) so a table base no longer 404s on a structures URI, and it sets `appends_unavailable: true` when the where-used lookup fails for every object_type — so callers can tell "could not determine appends" apart from "no appends" instead of getting a silent `0`.
9
+
10
+ ## [8.1.0] - 2026-06-26
11
+
12
+ ### Added
13
+ - **Per-call `master_language` parameter on the high-level `Create*` tools** (#105). Optional; lets a caller set the master/original language of a single created object (e.g. `"DE"`, `"ZH"`), overriding the session default. Threaded into the ADT client as `config.masterLanguage`. Covers class, program, interface, ddl, domain, structure, table, table type, data element, function group, service definition, service binding, behavior definition, metadata extension, package. When omitted, resolution falls back to the session language (`SAP_LANGUAGE`) then `EN`.
14
+ - **`x-sap-language` HTTP/SSE request header** (#105). Per-request/per-session master-language override for created objects (precedence: tool parameter → `x-sap-language` header → `SAP_LANGUAGE` → `EN`). Carried in a request-scoped context (`AsyncLocalStorage`), not the process-global system-context cache, so it cannot leak across requests, sessions, or connection modes.
15
+ - **Compact facade `create`/`update`/`delete` now expose every routed object type's required arguments.** Previously many type-specific args (e.g. `table_name`, `structure_name`, `service_definition_name`, `ddl_code`, `lock_handle`, `implementation_code`, `properties`, `container_class`, `test_class`, `cds_view_name`, …) were absent from the compact schemas, so schema-driven MCP clients could not construct valid calls for most object types. All missing properties have been added as optional properties to `compactCreateSchema`, `compactUpdateSchema`, and `compactDeleteSchema`. Non-breaking (additive optional properties; compact schema `required` stays `['object_type']`; no routed handler changed).
16
+ - **Runtime guard `compactSchemaCompleteness.test.ts`** — fails CI if any routed handler's top-level required arg is not present in the corresponding compact schema, preventing future drift.
17
+ - **Corrected compact facade descriptions** for `HandlerCreate`: `UNIT_TEST` now advertises `container_class*/test_class*` and `CDS_UNIT_TEST` now advertises `class_name*/package_name*/cds_view_name*` (previously both incorrectly showed `run_id*`, which is an update/delete arg).
18
+
5
19
  ## [8.0.0] - 2026-06-26
6
20
 
7
21
  ### Changed (BREAKING)
@@ -38,6 +38,10 @@ export declare const TOOL_DEFINITION: {
38
38
  readonly type: "boolean";
39
39
  readonly description: "Activate after creation. Default: true";
40
40
  };
41
+ readonly master_language: {
42
+ readonly type: "string";
43
+ readonly description: "Optional master/original language for the created object (e.g. \"EN\", \"DE\", \"ZH\"). Defaults to the session language (SAP_LANGUAGE) or EN.";
44
+ };
41
45
  };
42
46
  readonly required: readonly ["name", "package_name", "root_entity", "implementation_type"];
43
47
  };
@@ -1 +1 @@
1
- {"version":3,"file":"handleCreateBehaviorDefinition.d.ts","sourceRoot":"","sources":["../../../../src/handlers/behavior_definition/high/handleCreateBehaviorDefinition.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ClB,CAAC;AAYX,wBAAsB,8BAA8B,CAClD,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,GAAG;;;;;;GAuHZ"}
1
+ {"version":3,"file":"handleCreateBehaviorDefinition.d.ts","sourceRoot":"","sources":["../../../../src/handlers/behavior_definition/high/handleCreateBehaviorDefinition.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ClB,CAAC;AAaX,wBAAsB,8BAA8B,CAClD,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,GAAG;;;;;;GAyHZ"}
@@ -44,6 +44,10 @@ exports.TOOL_DEFINITION = {
44
44
  type: 'boolean',
45
45
  description: 'Activate after creation. Default: true',
46
46
  },
47
+ master_language: {
48
+ type: 'string',
49
+ description: 'Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.',
50
+ },
47
51
  },
48
52
  required: ['name', 'package_name', 'root_entity', 'implementation_type'],
49
53
  },
@@ -78,6 +82,7 @@ async function handleCreateBehaviorDefinition(context, params) {
78
82
  transportRequest: args.transport_request || '',
79
83
  rootEntity: args.root_entity,
80
84
  implementationType: args.implementation_type,
85
+ masterLanguage: args.master_language,
81
86
  };
82
87
  await client.getBehaviorDefinition().create(createConfig);
83
88
  // Lock - using types from adt-clients
@@ -1 +1 @@
1
- {"version":3,"file":"handleCreateBehaviorDefinition.js","sourceRoot":"","sources":["../../../../src/handlers/behavior_definition/high/handleCreateBehaviorDefinition.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAiEH,wEAyHC;AApLD,kDAAuD;AAEvD,8CAAmE;AACnE,kFAAiF;AAEpE,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,0BAA0B;IAChC,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAU;IAC1C,WAAW,EACT,uNAAuN;IACzN,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6DAA6D;aAChE;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,aAAa;aAC3B;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,cAAc;aAC5B;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;aACxC;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kCAAkC;aAChD;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,uEAAuE;gBACzE,IAAI,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,CAAC;aACzD;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,wCAAwC;aACtD;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,aAAa,EAAE,qBAAqB,CAAC;KACzE;CACO,CAAC;AAYJ,KAAK,UAAU,8BAA8B,CAClD,OAAu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AAC,EAAE,CAChI,CAAC;YACJ,CAAC;YACD,oCAAoC;YACpC,MAAM,KAAK,CAAC;QACd,CAAC;QAED,MAAM,MAAM,GAAG;YACb,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,IAAI;YACV,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,cAAc;gBACrB,CAAC,CAAC,uBAAuB,IAAI,qCAAqC;gBAClE,CAAC,CAAC,uBAAuB,IAAI,uBAAuB;SACvD,CAAC;QACF,MAAM,EAAE,IAAI,CAAC,sDAAsD,IAAI,EAAE,CAAC,CAAC;QAE3E,OAAO,IAAA,uBAAe,EAAC;YACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;YACrC,MAAM,EAAE,GAAG;YACX,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,EAAE;YACX,MAAM,EAAE,EAAS;SAClB,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,MAAM,EAAE,KAAK,CAAC,uBAAuB,IAAI,KAAK,KAAK,EAAE,OAAO,IAAI,KAAK,EAAE,CAAC,CAAC;QACzE,OAAO,IAAA,oBAAY,EAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"handleCreateBehaviorDefinition.js","sourceRoot":"","sources":["../../../../src/handlers/behavior_definition/high/handleCreateBehaviorDefinition.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAuEH,wEA2HC;AA5LD,kDAAuD;AAEvD,8CAAmE;AACnE,kFAAiF;AAEpE,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,0BAA0B;IAChC,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAU;IAC1C,WAAW,EACT,uNAAuN;IACzN,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,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,uBAAe,EAAC;YACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;YACrC,MAAM,EAAE,GAAG;YACX,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,EAAE;YACX,MAAM,EAAE,EAAS;SAClB,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,MAAM,EAAE,KAAK,CAAC,uBAAuB,IAAI,KAAK,KAAK,EAAE,OAAO,IAAI,KAAK,EAAE,CAAC,CAAC;QACzE,OAAO,IAAA,oBAAY,EAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}
@@ -43,6 +43,10 @@ export declare const TOOL_DEFINITION: {
43
43
  readonly type: "boolean";
44
44
  readonly description: "Protected constructor. Default: false";
45
45
  };
46
+ readonly master_language: {
47
+ readonly type: "string";
48
+ readonly description: "Optional master/original language for the created object (e.g. \"EN\", \"DE\", \"ZH\"). Defaults to the session language (SAP_LANGUAGE) or EN.";
49
+ };
46
50
  };
47
51
  readonly required: readonly ["class_name", "package_name"];
48
52
  };
@@ -56,6 +60,7 @@ interface CreateClassArgs {
56
60
  final?: boolean;
57
61
  abstract?: boolean;
58
62
  create_protected?: boolean;
63
+ master_language?: string;
59
64
  }
60
65
  export declare function handleCreateClass(context: HandlerContext, params: CreateClassArgs): Promise<{
61
66
  isError: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"handleCreateClass.d.ts","sourceRoot":"","sources":["../../../../src/handlers/class/high/handleCreateClass.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAOvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyClB,CAAC;AAEX,UAAU,eAAe;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,eAAe;;;;;;GAoKxB"}
1
+ {"version":3,"file":"handleCreateClass.d.ts","sourceRoot":"","sources":["../../../../src/handlers/class/high/handleCreateClass.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAOvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8ClB,CAAC;AAEX,UAAU,eAAe;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,eAAe;;;;;;GAqKxB"}
@@ -46,6 +46,10 @@ exports.TOOL_DEFINITION = {
46
46
  type: 'boolean',
47
47
  description: 'Protected constructor. Default: false',
48
48
  },
49
+ master_language: {
50
+ type: 'string',
51
+ description: 'Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.',
52
+ },
49
53
  },
50
54
  required: ['class_name', 'package_name'],
51
55
  },
@@ -77,6 +81,7 @@ async function handleCreateClass(context, params) {
77
81
  abstract: args.abstract || false,
78
82
  createProtected: args.create_protected || false,
79
83
  sourceCode: undefined,
84
+ masterLanguage: args.master_language,
80
85
  }, {
81
86
  activateOnCreate: false,
82
87
  });
@@ -1 +1 @@
1
- {"version":3,"file":"handleCreateClass.js","sourceRoot":"","sources":["../../../../src/handlers/class/high/handleCreateClass.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAkEH,8CAsKC;AArOD,yDAA+D;AAC/D,kDAAuD;AAEvD,8CAI4B;AAEf,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,aAAa;IACnB,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,yJAAyJ;IAC3J,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;aACtD;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6CAA6C;aAC3D;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qCAAqC;aACnD;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iEAAiE;aACpE;YACD,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,2BAA2B,EAAE;YACxE,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,qCAAqC;aACnD;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,wCAAwC;aACtD;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uCAAuC;aACrD;SACF;QACD,QAAQ,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC;KACzC;CACO,CAAC;AAaJ,KAAK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4C,SAAS,MAAM,YAAY,EAAE,CAC1E,CAAC;QACF,OAAO,IAAA,oBAAY,EAAC,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;IAC/C,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"handleCreateClass.js","sourceRoot":"","sources":["../../../../src/handlers/class/high/handleCreateClass.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAwEH,8CAuKC;AA5OD,yDAA+D;AAC/D,kDAAuD;AAEvD,8CAI4B;AAEf,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,aAAa;IACnB,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,yJAAyJ;IAC3J,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;aACtD;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6CAA6C;aAC3D;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qCAAqC;aACnD;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iEAAiE;aACpE;YACD,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,2BAA2B,EAAE;YACxE,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,qCAAqC;aACnD;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,wCAAwC;aACtD;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uCAAuC;aACrD;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,0IAA0I;aAC7I;SACF;QACD,QAAQ,EAAE,CAAC,YAAY,EAAE,cAAc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C,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5E,MAAM,EAAE,KAAK,CACX,4CAA4C,SAAS,MAAM,YAAY,EAAE,CAC1E,CAAC;QACF,OAAO,IAAA,oBAAY,EAAC,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;IAC/C,CAAC;AACH,CAAC"}
@@ -100,6 +100,115 @@ export declare const compactCreateSchema: {
100
100
  readonly required: readonly ["low", "text"];
101
101
  };
102
102
  };
103
+ readonly table_name: {
104
+ readonly type: "string";
105
+ readonly description: "Table name.";
106
+ };
107
+ readonly structure_name: {
108
+ readonly type: "string";
109
+ readonly description: "Structure name.";
110
+ };
111
+ readonly data_element_name: {
112
+ readonly type: "string";
113
+ readonly description: "Data element name.";
114
+ };
115
+ readonly interface_name: {
116
+ readonly type: "string";
117
+ readonly description: "Interface name.";
118
+ };
119
+ readonly service_definition_name: {
120
+ readonly type: "string";
121
+ readonly description: "Service definition name.";
122
+ };
123
+ readonly service_binding_name: {
124
+ readonly type: "string";
125
+ readonly description: "Service binding name.";
126
+ };
127
+ readonly name: {
128
+ readonly type: "string";
129
+ readonly description: "Object name for handlers that require a generic `name` (behavior definition, metadata extension).";
130
+ };
131
+ readonly root_entity: {
132
+ readonly type: "string";
133
+ readonly description: "Root CDS entity name (behavior definition create).";
134
+ };
135
+ readonly implementation_type: {
136
+ readonly type: "string";
137
+ readonly enum: readonly ["Managed", "Unmanaged", "Abstract", "Projection"];
138
+ readonly description: "Behavior definition implementation type.";
139
+ };
140
+ readonly behavior_definition: {
141
+ readonly type: "string";
142
+ readonly description: "Referenced behavior definition name (behavior implementation create).";
143
+ };
144
+ readonly cds_view_name: {
145
+ readonly type: "string";
146
+ readonly description: "CDS view name to validate for unit test doubles.";
147
+ };
148
+ readonly fields: {
149
+ readonly type: "array";
150
+ readonly description: "Structure fields (for STRUCTURE create).";
151
+ readonly items: {
152
+ readonly type: "object";
153
+ readonly properties: {
154
+ readonly name: {
155
+ readonly type: "string";
156
+ readonly description: "Field name.";
157
+ };
158
+ readonly data_type: {
159
+ readonly type: "string";
160
+ readonly description: "Field data type.";
161
+ };
162
+ readonly length: {
163
+ readonly type: "number";
164
+ readonly description: "Field length.";
165
+ };
166
+ readonly decimals: {
167
+ readonly type: "number";
168
+ readonly description: "Decimal places.";
169
+ };
170
+ readonly domain: {
171
+ readonly type: "string";
172
+ readonly description: "Domain reference.";
173
+ };
174
+ readonly data_element: {
175
+ readonly type: "string";
176
+ readonly description: "Data element reference.";
177
+ };
178
+ readonly structure_ref: {
179
+ readonly type: "string";
180
+ readonly description: "Included structure reference.";
181
+ };
182
+ readonly table_ref: {
183
+ readonly type: "string";
184
+ readonly description: "Table type reference.";
185
+ };
186
+ readonly description: {
187
+ readonly type: "string";
188
+ readonly description: "Field description.";
189
+ };
190
+ };
191
+ readonly required: readonly ["name"];
192
+ };
193
+ };
194
+ readonly tests: {
195
+ readonly type: "array";
196
+ readonly description: "Container/test class pairs (for UNIT_TEST create).";
197
+ readonly items: {
198
+ readonly type: "object";
199
+ readonly properties: {
200
+ readonly container_class: {
201
+ readonly type: "string";
202
+ readonly description: "Class that owns the test include.";
203
+ };
204
+ readonly test_class: {
205
+ readonly type: "string";
206
+ readonly description: "Test class inside the include.";
207
+ };
208
+ };
209
+ readonly required: readonly ["container_class", "test_class"];
210
+ };
211
+ };
103
212
  };
104
213
  readonly required: readonly ["object_type"];
105
214
  };
@@ -295,6 +404,84 @@ export declare const compactUpdateSchema: {
295
404
  readonly required: readonly ["low", "text"];
296
405
  };
297
406
  };
407
+ readonly table_name: {
408
+ readonly type: "string";
409
+ readonly description: "Table name.";
410
+ };
411
+ readonly structure_name: {
412
+ readonly type: "string";
413
+ readonly description: "Structure name.";
414
+ };
415
+ readonly data_element_name: {
416
+ readonly type: "string";
417
+ readonly description: "Data element name.";
418
+ };
419
+ readonly interface_name: {
420
+ readonly type: "string";
421
+ readonly description: "Interface name.";
422
+ };
423
+ readonly service_definition_name: {
424
+ readonly type: "string";
425
+ readonly description: "Service definition name.";
426
+ };
427
+ readonly service_binding_name: {
428
+ readonly type: "string";
429
+ readonly description: "Service binding name.";
430
+ };
431
+ readonly service_name: {
432
+ readonly type: "string";
433
+ readonly description: "Published service name (service binding update).";
434
+ };
435
+ readonly name: {
436
+ readonly type: "string";
437
+ readonly description: "Object name for handlers that require a generic `name` (behavior definition, metadata extension).";
438
+ };
439
+ readonly behavior_definition: {
440
+ readonly type: "string";
441
+ readonly description: "Referenced behavior definition name (behavior implementation update).";
442
+ };
443
+ readonly ddl_code: {
444
+ readonly type: "string";
445
+ readonly description: "Complete DDL source code (for TABLE/STRUCTURE update).";
446
+ };
447
+ readonly implementation_code: {
448
+ readonly type: "string";
449
+ readonly description: "Behavior implementation methods source code.";
450
+ };
451
+ readonly test_class_source: {
452
+ readonly type: "string";
453
+ readonly description: "Updated local test class source (CDS_UNIT_TEST update).";
454
+ };
455
+ readonly test_class_code: {
456
+ readonly type: "string";
457
+ readonly description: "Updated source for the local test class.";
458
+ };
459
+ readonly local_types_code: {
460
+ readonly type: "string";
461
+ readonly description: "Updated source for class local types.";
462
+ };
463
+ readonly definitions_code: {
464
+ readonly type: "string";
465
+ readonly description: "Updated source for class local definitions.";
466
+ };
467
+ readonly macros_code: {
468
+ readonly type: "string";
469
+ readonly description: "Updated source for class local macros.";
470
+ };
471
+ readonly run_id: {
472
+ readonly type: "string";
473
+ readonly description: "Unit test run id (UNIT_TEST update).";
474
+ };
475
+ readonly binding_variant: {
476
+ readonly type: "string";
477
+ readonly enum: readonly ["ODATA_V2_UI", "ODATA_V2_WEB_API", "ODATA_V4_UI", "ODATA_V4_WEB_API"];
478
+ readonly description: "Service binding variant (service binding update).";
479
+ };
480
+ readonly desired_publication_state: {
481
+ readonly type: "string";
482
+ readonly enum: readonly ["published", "unpublished", "unchanged"];
483
+ readonly description: "Target publication state (service binding update).";
484
+ };
298
485
  };
299
486
  readonly required: readonly ["object_type"];
300
487
  };
@@ -334,6 +521,46 @@ export declare const compactDeleteSchema: {
334
521
  readonly type: "string";
335
522
  readonly description: "Transport request id (if required by system).";
336
523
  };
524
+ readonly table_name: {
525
+ readonly type: "string";
526
+ readonly description: "Table name.";
527
+ };
528
+ readonly structure_name: {
529
+ readonly type: "string";
530
+ readonly description: "Structure name.";
531
+ };
532
+ readonly data_element_name: {
533
+ readonly type: "string";
534
+ readonly description: "Data element name.";
535
+ };
536
+ readonly interface_name: {
537
+ readonly type: "string";
538
+ readonly description: "Interface name.";
539
+ };
540
+ readonly service_definition_name: {
541
+ readonly type: "string";
542
+ readonly description: "Service definition name.";
543
+ };
544
+ readonly service_binding_name: {
545
+ readonly type: "string";
546
+ readonly description: "Service binding name.";
547
+ };
548
+ readonly behavior_definition_name: {
549
+ readonly type: "string";
550
+ readonly description: "Behavior definition name.";
551
+ };
552
+ readonly behavior_implementation_name: {
553
+ readonly type: "string";
554
+ readonly description: "Behavior implementation name.";
555
+ };
556
+ readonly metadata_extension_name: {
557
+ readonly type: "string";
558
+ readonly description: "Metadata extension name.";
559
+ };
560
+ readonly run_id: {
561
+ readonly type: "string";
562
+ readonly description: "Unit test run id (UNIT_TEST delete).";
563
+ };
337
564
  };
338
565
  readonly required: readonly ["object_type"];
339
566
  };
@@ -1 +1 @@
1
- {"version":3,"file":"compactSchemas.d.ts","sourceRoot":"","sources":["../../../../src/handlers/compact/high/compactSchemas.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DtB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDnB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCtB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCxB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BxB,CAAC"}
@@ -69,6 +69,82 @@ exports.compactCreateSchema = {
69
69
  required: ['low', 'text'],
70
70
  },
71
71
  },
72
+ table_name: { type: 'string', description: 'Table name.' },
73
+ structure_name: { type: 'string', description: 'Structure name.' },
74
+ data_element_name: { type: 'string', description: 'Data element name.' },
75
+ interface_name: { type: 'string', description: 'Interface name.' },
76
+ service_definition_name: {
77
+ type: 'string',
78
+ description: 'Service definition name.',
79
+ },
80
+ service_binding_name: {
81
+ type: 'string',
82
+ description: 'Service binding name.',
83
+ },
84
+ name: {
85
+ type: 'string',
86
+ description: 'Object name for handlers that require a generic `name` (behavior definition, metadata extension).',
87
+ },
88
+ root_entity: {
89
+ type: 'string',
90
+ description: 'Root CDS entity name (behavior definition create).',
91
+ },
92
+ implementation_type: {
93
+ type: 'string',
94
+ enum: ['Managed', 'Unmanaged', 'Abstract', 'Projection'],
95
+ description: 'Behavior definition implementation type.',
96
+ },
97
+ behavior_definition: {
98
+ type: 'string',
99
+ description: 'Referenced behavior definition name (behavior implementation create).',
100
+ },
101
+ cds_view_name: {
102
+ type: 'string',
103
+ description: 'CDS view name to validate for unit test doubles.',
104
+ },
105
+ fields: {
106
+ type: 'array',
107
+ description: 'Structure fields (for STRUCTURE create).',
108
+ items: {
109
+ type: 'object',
110
+ properties: {
111
+ name: { type: 'string', description: 'Field name.' },
112
+ data_type: { type: 'string', description: 'Field data type.' },
113
+ length: { type: 'number', description: 'Field length.' },
114
+ decimals: { type: 'number', description: 'Decimal places.' },
115
+ domain: { type: 'string', description: 'Domain reference.' },
116
+ data_element: {
117
+ type: 'string',
118
+ description: 'Data element reference.',
119
+ },
120
+ structure_ref: {
121
+ type: 'string',
122
+ description: 'Included structure reference.',
123
+ },
124
+ table_ref: { type: 'string', description: 'Table type reference.' },
125
+ description: { type: 'string', description: 'Field description.' },
126
+ },
127
+ required: ['name'],
128
+ },
129
+ },
130
+ tests: {
131
+ type: 'array',
132
+ description: 'Container/test class pairs (for UNIT_TEST create).',
133
+ items: {
134
+ type: 'object',
135
+ properties: {
136
+ container_class: {
137
+ type: 'string',
138
+ description: 'Class that owns the test include.',
139
+ },
140
+ test_class: {
141
+ type: 'string',
142
+ description: 'Test class inside the include.',
143
+ },
144
+ },
145
+ required: ['container_class', 'test_class'],
146
+ },
147
+ },
72
148
  },
73
149
  required: ['object_type'],
74
150
  };
@@ -182,6 +258,77 @@ exports.compactUpdateSchema = {
182
258
  required: ['low', 'text'],
183
259
  },
184
260
  },
261
+ table_name: { type: 'string', description: 'Table name.' },
262
+ structure_name: { type: 'string', description: 'Structure name.' },
263
+ data_element_name: { type: 'string', description: 'Data element name.' },
264
+ interface_name: { type: 'string', description: 'Interface name.' },
265
+ service_definition_name: {
266
+ type: 'string',
267
+ description: 'Service definition name.',
268
+ },
269
+ service_binding_name: {
270
+ type: 'string',
271
+ description: 'Service binding name.',
272
+ },
273
+ service_name: {
274
+ type: 'string',
275
+ description: 'Published service name (service binding update).',
276
+ },
277
+ name: {
278
+ type: 'string',
279
+ description: 'Object name for handlers that require a generic `name` (behavior definition, metadata extension).',
280
+ },
281
+ behavior_definition: {
282
+ type: 'string',
283
+ description: 'Referenced behavior definition name (behavior implementation update).',
284
+ },
285
+ ddl_code: {
286
+ type: 'string',
287
+ description: 'Complete DDL source code (for TABLE/STRUCTURE update).',
288
+ },
289
+ implementation_code: {
290
+ type: 'string',
291
+ description: 'Behavior implementation methods source code.',
292
+ },
293
+ test_class_source: {
294
+ type: 'string',
295
+ description: 'Updated local test class source (CDS_UNIT_TEST update).',
296
+ },
297
+ test_class_code: {
298
+ type: 'string',
299
+ description: 'Updated source for the local test class.',
300
+ },
301
+ local_types_code: {
302
+ type: 'string',
303
+ description: 'Updated source for class local types.',
304
+ },
305
+ definitions_code: {
306
+ type: 'string',
307
+ description: 'Updated source for class local definitions.',
308
+ },
309
+ macros_code: {
310
+ type: 'string',
311
+ description: 'Updated source for class local macros.',
312
+ },
313
+ run_id: {
314
+ type: 'string',
315
+ description: 'Unit test run id (UNIT_TEST update).',
316
+ },
317
+ binding_variant: {
318
+ type: 'string',
319
+ enum: [
320
+ 'ODATA_V2_UI',
321
+ 'ODATA_V2_WEB_API',
322
+ 'ODATA_V4_UI',
323
+ 'ODATA_V4_WEB_API',
324
+ ],
325
+ description: 'Service binding variant (service binding update).',
326
+ },
327
+ desired_publication_state: {
328
+ type: 'string',
329
+ enum: ['published', 'unpublished', 'unchanged'],
330
+ description: 'Target publication state (service binding update).',
331
+ },
185
332
  },
186
333
  required: ['object_type'],
187
334
  };
@@ -208,6 +355,34 @@ exports.compactDeleteSchema = {
208
355
  type: 'string',
209
356
  description: 'Transport request id (if required by system).',
210
357
  },
358
+ table_name: { type: 'string', description: 'Table name.' },
359
+ structure_name: { type: 'string', description: 'Structure name.' },
360
+ data_element_name: { type: 'string', description: 'Data element name.' },
361
+ interface_name: { type: 'string', description: 'Interface name.' },
362
+ service_definition_name: {
363
+ type: 'string',
364
+ description: 'Service definition name.',
365
+ },
366
+ service_binding_name: {
367
+ type: 'string',
368
+ description: 'Service binding name.',
369
+ },
370
+ behavior_definition_name: {
371
+ type: 'string',
372
+ description: 'Behavior definition name.',
373
+ },
374
+ behavior_implementation_name: {
375
+ type: 'string',
376
+ description: 'Behavior implementation name.',
377
+ },
378
+ metadata_extension_name: {
379
+ type: 'string',
380
+ description: 'Metadata extension name.',
381
+ },
382
+ run_id: {
383
+ type: 'string',
384
+ description: 'Unit test run id (UNIT_TEST delete).',
385
+ },
211
386
  },
212
387
  required: ['object_type'],
213
388
  };