@sap-ux/axios-extension 1.25.23 → 1.25.25

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.
@@ -29,16 +29,18 @@ class V4CatalogService extends base_1.CatalogService {
29
29
  .filter((group) => group?.DefaultSystem?.[entitySet]?.length > 0)
30
30
  .forEach((group) => {
31
31
  services.push(...group.DefaultSystem[entitySet].flatMap((service) => {
32
+ const servicePath = service.ServiceUrl.split('?').shift();
32
33
  if (dedup) {
33
- if (uniqueServiceIds.has(service.ServiceId)) {
34
+ const key = `${service.ServiceId}|${servicePath}`;
35
+ if (uniqueServiceIds.has(key)) {
34
36
  return [];
35
37
  }
36
- uniqueServiceIds.add(service.ServiceId);
38
+ uniqueServiceIds.add(key);
37
39
  }
38
40
  return {
39
41
  id: service.ServiceId,
40
42
  group: group.GroupId,
41
- path: service.ServiceUrl.split('?').shift(),
43
+ path: servicePath,
42
44
  name: `${group.GroupId} > ${service.ServiceAlias || service.ServiceId}`,
43
45
  serviceVersion: service.ServiceVersion,
44
46
  odataVersion: odata_service_1.ODataVersion.v4,
@@ -1,5 +1,5 @@
1
1
  export { AppInfo, BspConfig, DeployConfig, Ui5AbapRepositoryService, UndeployConfig } from './ui5-abap-repository-service';
2
- export { LayeredRepositoryService, AdaptationConfig, MergedAppDescriptor, SystemInfo, AdaptationProjectType, Inbound, InboundContent, AdaptationsResponse, AdaptationDescriptor, KeyUserDataResponse, KeyUserChangeContent, FlexVersion } from './lrep-service';
2
+ export { LayeredRepositoryService, AdaptationConfig, MergedAppDescriptor, SystemInfo, AdaptationProjectType, Inbound, InboundContent, AdaptationsResponse, AdaptationDescriptor, KeyUserDataResponse, KeyUserChangeContent, KeyUserTextTranslations, FlexVersion } from './lrep-service';
3
3
  export { AbapServiceProvider } from './abap-service-provider';
4
4
  export { AppIndex, AppIndexService, Ui5AppInfo, Ui5AppInfoContent, App } from './app-index-service';
5
5
  export * from './message';
@@ -110,9 +110,20 @@ export interface AdaptationDescriptor {
110
110
  export interface AdaptationsResponse {
111
111
  adaptations: AdaptationDescriptor[];
112
112
  }
113
+ /**
114
+ * Shape of a single text entry in the top-level `texts` object of a key-user change response.
115
+ */
116
+ export interface TextTranslation {
117
+ type?: string;
118
+ values?: Record<string, string>;
119
+ }
120
+ /**
121
+ * Shape of the `texts` object in the key-user change response, which is a record of text IDs to their translations.
122
+ */
123
+ export type KeyUserTextTranslations = Record<string, TextTranslation>;
113
124
  export interface KeyUserChangeContent {
114
125
  content: Record<string, unknown>;
115
- texts?: Record<string, unknown>;
126
+ texts?: KeyUserTextTranslations;
116
127
  }
117
128
  export interface KeyUserDataResponse {
118
129
  contents: KeyUserChangeContent[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/axios-extension",
3
- "version": "1.25.23",
3
+ "version": "1.25.25",
4
4
  "description": "Extension of the Axios module adding convenience methods to interact with SAP systems especially with OData services.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "nock": "14.0.11",
36
36
  "supertest": "7.2.2",
37
37
  "@types/proxy-from-env": "1.0.1",
38
- "@sap-ux/project-access": "1.35.13"
38
+ "@sap-ux/project-access": "1.35.14"
39
39
  },
40
40
  "files": [
41
41
  "dist",