@sap-ai-sdk/context-registry 2.15.1-20261002123857.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +49 -0
- package/dist/client/context-registry/data-destinations-api.d.ts +97 -0
- package/dist/client/context-registry/data-destinations-api.d.ts.map +1 -0
- package/dist/client/context-registry/data-destinations-api.js +114 -0
- package/dist/client/context-registry/data-destinations-api.js.map +1 -0
- package/dist/client/context-registry/index.d.ts +5 -0
- package/dist/client/context-registry/index.d.ts.map +1 -0
- package/dist/client/context-registry/index.js +10 -0
- package/dist/client/context-registry/index.js.map +1 -0
- package/dist/client/context-registry/scenario-configuration-manager-api.d.ts +76 -0
- package/dist/client/context-registry/scenario-configuration-manager-api.d.ts.map +1 -0
- package/dist/client/context-registry/scenario-configuration-manager-api.js +90 -0
- package/dist/client/context-registry/scenario-configuration-manager-api.js.map +1 -0
- package/dist/client/context-registry/schema/api-error.d.ts +24 -0
- package/dist/client/context-registry/schema/api-error.d.ts.map +1 -0
- package/dist/client/context-registry/schema/api-error.js +7 -0
- package/dist/client/context-registry/schema/api-error.js.map +1 -0
- package/dist/client/context-registry/schema/async-create-data-destination-response.d.ts +14 -0
- package/dist/client/context-registry/schema/async-create-data-destination-response.d.ts.map +1 -0
- package/dist/client/context-registry/schema/async-create-data-destination-response.js +7 -0
- package/dist/client/context-registry/schema/async-create-data-destination-response.js.map +1 -0
- package/dist/client/context-registry/schema/auto-definition.d.ts +28 -0
- package/dist/client/context-registry/schema/auto-definition.d.ts.map +1 -0
- package/dist/client/context-registry/schema/auto-definition.js +7 -0
- package/dist/client/context-registry/schema/auto-definition.js.map +1 -0
- package/dist/client/context-registry/schema/azure-connection-config-base.d.ts +22 -0
- package/dist/client/context-registry/schema/azure-connection-config-base.d.ts.map +1 -0
- package/dist/client/context-registry/schema/azure-connection-config-base.js +7 -0
- package/dist/client/context-registry/schema/azure-connection-config-base.js.map +1 -0
- package/dist/client/context-registry/schema/azure-connection-config.d.ts +6 -0
- package/dist/client/context-registry/schema/azure-connection-config.d.ts.map +1 -0
- package/dist/client/context-registry/schema/azure-connection-config.js +7 -0
- package/dist/client/context-registry/schema/azure-connection-config.js.map +1 -0
- package/dist/client/context-registry/schema/azure-data-destination-create-request.d.ts +10 -0
- package/dist/client/context-registry/schema/azure-data-destination-create-request.d.ts.map +1 -0
- package/dist/client/context-registry/schema/azure-data-destination-create-request.js +7 -0
- package/dist/client/context-registry/schema/azure-data-destination-create-request.js.map +1 -0
- package/dist/client/context-registry/schema/azure-patch-config.d.ts +11 -0
- package/dist/client/context-registry/schema/azure-patch-config.d.ts.map +1 -0
- package/dist/client/context-registry/schema/azure-patch-config.js +7 -0
- package/dist/client/context-registry/schema/azure-patch-config.js.map +1 -0
- package/dist/client/context-registry/schema/base-data-destination-response.d.ts +24 -0
- package/dist/client/context-registry/schema/base-data-destination-response.d.ts.map +1 -0
- package/dist/client/context-registry/schema/base-data-destination-response.js +7 -0
- package/dist/client/context-registry/schema/base-data-destination-response.js.map +1 -0
- package/dist/client/context-registry/schema/context-selection-strategy.d.ts +7 -0
- package/dist/client/context-registry/schema/context-selection-strategy.d.ts.map +1 -0
- package/dist/client/context-registry/schema/context-selection-strategy.js +7 -0
- package/dist/client/context-registry/schema/context-selection-strategy.js.map +1 -0
- package/dist/client/context-registry/schema/create-data-destination.d.ts +20 -0
- package/dist/client/context-registry/schema/create-data-destination.d.ts.map +1 -0
- package/dist/client/context-registry/schema/create-data-destination.js +7 -0
- package/dist/client/context-registry/schema/create-data-destination.js.map +1 -0
- package/dist/client/context-registry/schema/create-scenario-configuration.d.ts +25 -0
- package/dist/client/context-registry/schema/create-scenario-configuration.d.ts.map +1 -0
- package/dist/client/context-registry/schema/create-scenario-configuration.js +7 -0
- package/dist/client/context-registry/schema/create-scenario-configuration.js.map +1 -0
- package/dist/client/context-registry/schema/create-ta-request.d.ts +47 -0
- package/dist/client/context-registry/schema/create-ta-request.d.ts.map +1 -0
- package/dist/client/context-registry/schema/create-ta-request.js +7 -0
- package/dist/client/context-registry/schema/create-ta-request.js.map +1 -0
- package/dist/client/context-registry/schema/csn-definition.d.ts +14 -0
- package/dist/client/context-registry/schema/csn-definition.d.ts.map +1 -0
- package/dist/client/context-registry/schema/csn-definition.js +7 -0
- package/dist/client/context-registry/schema/csn-definition.js.map +1 -0
- package/dist/client/context-registry/schema/data-destination-create-base.d.ts +18 -0
- package/dist/client/context-registry/schema/data-destination-create-base.d.ts.map +1 -0
- package/dist/client/context-registry/schema/data-destination-create-base.js +7 -0
- package/dist/client/context-registry/schema/data-destination-create-base.js.map +1 -0
- package/dist/client/context-registry/schema/data-destination-error-message.d.ts +5 -0
- package/dist/client/context-registry/schema/data-destination-error-message.d.ts.map +1 -0
- package/dist/client/context-registry/schema/data-destination-error-message.js +7 -0
- package/dist/client/context-registry/schema/data-destination-error-message.js.map +1 -0
- package/dist/client/context-registry/schema/data-destination-status.d.ts +6 -0
- package/dist/client/context-registry/schema/data-destination-status.d.ts.map +1 -0
- package/dist/client/context-registry/schema/data-destination-status.js +7 -0
- package/dist/client/context-registry/schema/data-destination-status.js.map +1 -0
- package/dist/client/context-registry/schema/definition-type.d.ts +5 -0
- package/dist/client/context-registry/schema/definition-type.d.ts.map +1 -0
- package/dist/client/context-registry/schema/definition-type.js +7 -0
- package/dist/client/context-registry/schema/definition-type.js.map +1 -0
- package/dist/client/context-registry/schema/delta-sharing-connection-config.d.ts +16 -0
- package/dist/client/context-registry/schema/delta-sharing-connection-config.d.ts.map +1 -0
- package/dist/client/context-registry/schema/delta-sharing-connection-config.js +7 -0
- package/dist/client/context-registry/schema/delta-sharing-connection-config.js.map +1 -0
- package/dist/client/context-registry/schema/delta-sharing-data-destination-create-request.d.ts +15 -0
- package/dist/client/context-registry/schema/delta-sharing-data-destination-create-request.d.ts.map +1 -0
- package/dist/client/context-registry/schema/delta-sharing-data-destination-create-request.js +7 -0
- package/dist/client/context-registry/schema/delta-sharing-data-destination-create-request.js.map +1 -0
- package/dist/client/context-registry/schema/delta-sharing-data-destination-get-response.d.ts +9 -0
- package/dist/client/context-registry/schema/delta-sharing-data-destination-get-response.d.ts.map +1 -0
- package/dist/client/context-registry/schema/delta-sharing-data-destination-get-response.js +7 -0
- package/dist/client/context-registry/schema/delta-sharing-data-destination-get-response.js.map +1 -0
- package/dist/client/context-registry/schema/details-error-response.d.ts +14 -0
- package/dist/client/context-registry/schema/details-error-response.d.ts.map +1 -0
- package/dist/client/context-registry/schema/details-error-response.js +7 -0
- package/dist/client/context-registry/schema/details-error-response.js.map +1 -0
- package/dist/client/context-registry/schema/document-definition.d.ts +12 -0
- package/dist/client/context-registry/schema/document-definition.d.ts.map +1 -0
- package/dist/client/context-registry/schema/document-definition.js +7 -0
- package/dist/client/context-registry/schema/document-definition.js.map +1 -0
- package/dist/client/context-registry/schema/gcs-connection-config-base.d.ts +18 -0
- package/dist/client/context-registry/schema/gcs-connection-config-base.d.ts.map +1 -0
- package/dist/client/context-registry/schema/gcs-connection-config-base.js +7 -0
- package/dist/client/context-registry/schema/gcs-connection-config-base.js.map +1 -0
- package/dist/client/context-registry/schema/gcs-connection-config.d.ts +6 -0
- package/dist/client/context-registry/schema/gcs-connection-config.d.ts.map +1 -0
- package/dist/client/context-registry/schema/gcs-connection-config.js +7 -0
- package/dist/client/context-registry/schema/gcs-connection-config.js.map +1 -0
- package/dist/client/context-registry/schema/gcs-data-destination-create-request.d.ts +10 -0
- package/dist/client/context-registry/schema/gcs-data-destination-create-request.d.ts.map +1 -0
- package/dist/client/context-registry/schema/gcs-data-destination-create-request.js +7 -0
- package/dist/client/context-registry/schema/gcs-data-destination-create-request.js.map +1 -0
- package/dist/client/context-registry/schema/gcs-patch-config.d.ts +12 -0
- package/dist/client/context-registry/schema/gcs-patch-config.d.ts.map +1 -0
- package/dist/client/context-registry/schema/gcs-patch-config.js +7 -0
- package/dist/client/context-registry/schema/gcs-patch-config.js.map +1 -0
- package/dist/client/context-registry/schema/get-data-destination.d.ts +18 -0
- package/dist/client/context-registry/schema/get-data-destination.d.ts.map +1 -0
- package/dist/client/context-registry/schema/get-data-destination.js +7 -0
- package/dist/client/context-registry/schema/get-data-destination.js.map +1 -0
- package/dist/client/context-registry/schema/get-data-destinations.d.ts +9 -0
- package/dist/client/context-registry/schema/get-data-destinations.d.ts.map +1 -0
- package/dist/client/context-registry/schema/get-data-destinations.js +7 -0
- package/dist/client/context-registry/schema/get-data-destinations.js.map +1 -0
- package/dist/client/context-registry/schema/get-scenario-configurations.d.ts +9 -0
- package/dist/client/context-registry/schema/get-scenario-configurations.d.ts.map +1 -0
- package/dist/client/context-registry/schema/get-scenario-configurations.js +7 -0
- package/dist/client/context-registry/schema/get-scenario-configurations.js.map +1 -0
- package/dist/client/context-registry/schema/hdl-connection-config.d.ts +12 -0
- package/dist/client/context-registry/schema/hdl-connection-config.d.ts.map +1 -0
- package/dist/client/context-registry/schema/hdl-connection-config.js +7 -0
- package/dist/client/context-registry/schema/hdl-connection-config.js.map +1 -0
- package/dist/client/context-registry/schema/hdl-data-destination-create-request.d.ts +10 -0
- package/dist/client/context-registry/schema/hdl-data-destination-create-request.d.ts.map +1 -0
- package/dist/client/context-registry/schema/hdl-data-destination-create-request.js +7 -0
- package/dist/client/context-registry/schema/hdl-data-destination-create-request.js.map +1 -0
- package/dist/client/context-registry/schema/hdl-data-destination-get-response.d.ts +13 -0
- package/dist/client/context-registry/schema/hdl-data-destination-get-response.d.ts.map +1 -0
- package/dist/client/context-registry/schema/hdl-data-destination-get-response.js +7 -0
- package/dist/client/context-registry/schema/hdl-data-destination-get-response.js.map +1 -0
- package/dist/client/context-registry/schema/index.d.ts +63 -0
- package/dist/client/context-registry/schema/index.d.ts.map +1 -0
- package/dist/client/context-registry/schema/index.js +68 -0
- package/dist/client/context-registry/schema/index.js.map +1 -0
- package/dist/client/context-registry/schema/label-key-value-pair.d.ts +20 -0
- package/dist/client/context-registry/schema/label-key-value-pair.d.ts.map +1 -0
- package/dist/client/context-registry/schema/label-key-value-pair.js +7 -0
- package/dist/client/context-registry/schema/label-key-value-pair.js.map +1 -0
- package/dist/client/context-registry/schema/label.d.ts +22 -0
- package/dist/client/context-registry/schema/label.d.ts.map +1 -0
- package/dist/client/context-registry/schema/label.js +7 -0
- package/dist/client/context-registry/schema/label.js.map +1 -0
- package/dist/client/context-registry/schema/labels.d.ts +12 -0
- package/dist/client/context-registry/schema/labels.d.ts.map +1 -0
- package/dist/client/context-registry/schema/labels.js +7 -0
- package/dist/client/context-registry/schema/labels.js.map +1 -0
- package/dist/client/context-registry/schema/object-store-data-destination-get-response.d.ts +9 -0
- package/dist/client/context-registry/schema/object-store-data-destination-get-response.d.ts.map +1 -0
- package/dist/client/context-registry/schema/object-store-data-destination-get-response.js +7 -0
- package/dist/client/context-registry/schema/object-store-data-destination-get-response.js.map +1 -0
- package/dist/client/context-registry/schema/patch-data-destination.d.ts +20 -0
- package/dist/client/context-registry/schema/patch-data-destination.d.ts.map +1 -0
- package/dist/client/context-registry/schema/patch-data-destination.js +7 -0
- package/dist/client/context-registry/schema/patch-data-destination.js.map +1 -0
- package/dist/client/context-registry/schema/patch-scenario-configuration.d.ts +24 -0
- package/dist/client/context-registry/schema/patch-scenario-configuration.d.ts.map +1 -0
- package/dist/client/context-registry/schema/patch-scenario-configuration.js +7 -0
- package/dist/client/context-registry/schema/patch-scenario-configuration.js.map +1 -0
- package/dist/client/context-registry/schema/reference-definition.d.ts +16 -0
- package/dist/client/context-registry/schema/reference-definition.d.ts.map +1 -0
- package/dist/client/context-registry/schema/reference-definition.js +7 -0
- package/dist/client/context-registry/schema/reference-definition.js.map +1 -0
- package/dist/client/context-registry/schema/s-3-connection-config-base.d.ts +26 -0
- package/dist/client/context-registry/schema/s-3-connection-config-base.d.ts.map +1 -0
- package/dist/client/context-registry/schema/s-3-connection-config-base.js +7 -0
- package/dist/client/context-registry/schema/s-3-connection-config-base.js.map +1 -0
- package/dist/client/context-registry/schema/s-3-connection-config.d.ts +6 -0
- package/dist/client/context-registry/schema/s-3-connection-config.d.ts.map +1 -0
- package/dist/client/context-registry/schema/s-3-connection-config.js +7 -0
- package/dist/client/context-registry/schema/s-3-connection-config.js.map +1 -0
- package/dist/client/context-registry/schema/s-3-data-destination-create-request.d.ts +10 -0
- package/dist/client/context-registry/schema/s-3-data-destination-create-request.d.ts.map +1 -0
- package/dist/client/context-registry/schema/s-3-data-destination-create-request.js +7 -0
- package/dist/client/context-registry/schema/s-3-data-destination-create-request.js.map +1 -0
- package/dist/client/context-registry/schema/s-3-patch-config.d.ts +16 -0
- package/dist/client/context-registry/schema/s-3-patch-config.d.ts.map +1 -0
- package/dist/client/context-registry/schema/s-3-patch-config.js +7 -0
- package/dist/client/context-registry/schema/s-3-patch-config.js.map +1 -0
- package/dist/client/context-registry/schema/scenario-configuration-error-message.d.ts +5 -0
- package/dist/client/context-registry/schema/scenario-configuration-error-message.d.ts.map +1 -0
- package/dist/client/context-registry/schema/scenario-configuration-error-message.js +7 -0
- package/dist/client/context-registry/schema/scenario-configuration-error-message.js.map +1 -0
- package/dist/client/context-registry/schema/scenario-configuration-name-object.d.ts +10 -0
- package/dist/client/context-registry/schema/scenario-configuration-name-object.d.ts.map +1 -0
- package/dist/client/context-registry/schema/scenario-configuration-name-object.js +7 -0
- package/dist/client/context-registry/schema/scenario-configuration-name-object.js.map +1 -0
- package/dist/client/context-registry/schema/scenario-configuration-object.d.ts +42 -0
- package/dist/client/context-registry/schema/scenario-configuration-object.d.ts.map +1 -0
- package/dist/client/context-registry/schema/scenario-configuration-object.js +7 -0
- package/dist/client/context-registry/schema/scenario-configuration-object.js.map +1 -0
- package/dist/client/context-registry/schema/scenario-configuration-status.d.ts +6 -0
- package/dist/client/context-registry/schema/scenario-configuration-status.d.ts.map +1 -0
- package/dist/client/context-registry/schema/scenario-configuration-status.js +7 -0
- package/dist/client/context-registry/schema/scenario-configuration-status.js.map +1 -0
- package/dist/client/context-registry/schema/search-scenario-configuration.d.ts +12 -0
- package/dist/client/context-registry/schema/search-scenario-configuration.d.ts.map +1 -0
- package/dist/client/context-registry/schema/search-scenario-configuration.js +7 -0
- package/dist/client/context-registry/schema/search-scenario-configuration.js.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-config.d.ts +14 -0
- package/dist/client/context-registry/schema/tabular-artifact-config.d.ts.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-config.js +7 -0
- package/dist/client/context-registry/schema/tabular-artifact-config.js.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-data-preview.d.ts +18 -0
- package/dist/client/context-registry/schema/tabular-artifact-data-preview.d.ts.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-data-preview.js +7 -0
- package/dist/client/context-registry/schema/tabular-artifact-data-preview.js.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-details.d.ts +93 -0
- package/dist/client/context-registry/schema/tabular-artifact-details.d.ts.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-details.js +7 -0
- package/dist/client/context-registry/schema/tabular-artifact-details.js.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-error-message.d.ts +5 -0
- package/dist/client/context-registry/schema/tabular-artifact-error-message.d.ts.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-error-message.js +7 -0
- package/dist/client/context-registry/schema/tabular-artifact-error-message.js.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-list-response.d.ts +12 -0
- package/dist/client/context-registry/schema/tabular-artifact-list-response.d.ts.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-list-response.js +7 -0
- package/dist/client/context-registry/schema/tabular-artifact-list-response.js.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-status.d.ts +6 -0
- package/dist/client/context-registry/schema/tabular-artifact-status.d.ts.map +1 -0
- package/dist/client/context-registry/schema/tabular-artifact-status.js +7 -0
- package/dist/client/context-registry/schema/tabular-artifact-status.js.map +1 -0
- package/dist/client/context-registry/schema/url.d.ts +6 -0
- package/dist/client/context-registry/schema/url.d.ts.map +1 -0
- package/dist/client/context-registry/schema/url.js +7 -0
- package/dist/client/context-registry/schema/url.js.map +1 -0
- package/dist/client/context-registry/schema/validate-azure-request.d.ts +13 -0
- package/dist/client/context-registry/schema/validate-azure-request.d.ts.map +1 -0
- package/dist/client/context-registry/schema/validate-azure-request.js +7 -0
- package/dist/client/context-registry/schema/validate-azure-request.js.map +1 -0
- package/dist/client/context-registry/schema/validate-data-destination-request.d.ts +14 -0
- package/dist/client/context-registry/schema/validate-data-destination-request.d.ts.map +1 -0
- package/dist/client/context-registry/schema/validate-data-destination-request.js +7 -0
- package/dist/client/context-registry/schema/validate-data-destination-request.js.map +1 -0
- package/dist/client/context-registry/schema/validate-data-destination-response.d.ts +11 -0
- package/dist/client/context-registry/schema/validate-data-destination-response.d.ts.map +1 -0
- package/dist/client/context-registry/schema/validate-data-destination-response.js +7 -0
- package/dist/client/context-registry/schema/validate-data-destination-response.js.map +1 -0
- package/dist/client/context-registry/schema/validate-gcs-request.d.ts +13 -0
- package/dist/client/context-registry/schema/validate-gcs-request.d.ts.map +1 -0
- package/dist/client/context-registry/schema/validate-gcs-request.js +7 -0
- package/dist/client/context-registry/schema/validate-gcs-request.js.map +1 -0
- package/dist/client/context-registry/schema/validate-s-3-request.d.ts +13 -0
- package/dist/client/context-registry/schema/validate-s-3-request.d.ts.map +1 -0
- package/dist/client/context-registry/schema/validate-s-3-request.js +7 -0
- package/dist/client/context-registry/schema/validate-s-3-request.js.map +1 -0
- package/dist/client/context-registry/schema/validation-failed-response.d.ts +11 -0
- package/dist/client/context-registry/schema/validation-failed-response.d.ts.map +1 -0
- package/dist/client/context-registry/schema/validation-failed-response.js +7 -0
- package/dist/client/context-registry/schema/validation-failed-response.js.map +1 -0
- package/dist/client/context-registry/schema/validation-ok-response.d.ts +7 -0
- package/dist/client/context-registry/schema/validation-ok-response.d.ts.map +1 -0
- package/dist/client/context-registry/schema/validation-ok-response.js +7 -0
- package/dist/client/context-registry/schema/validation-ok-response.js.map +1 -0
- package/dist/client/context-registry/tabular-artifacts-api.d.ts +70 -0
- package/dist/client/context-registry/tabular-artifacts-api.d.ts.map +1 -0
- package/dist/client/context-registry/tabular-artifacts-api.js +74 -0
- package/dist/client/context-registry/tabular-artifacts-api.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/internal.d.ts +2 -0
- package/dist/internal.d.ts.map +1 -0
- package/dist/internal.js +2 -0
- package/dist/internal.js.map +1 -0
- package/package.json +48 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# @sap-ai-sdk/context-registry
|
|
2
|
+
|
|
3
|
+
> [!warning]
|
|
4
|
+
> This package is still in **beta** and is subject to breaking changes. Use it with caution.
|
|
5
|
+
|
|
6
|
+
SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.
|
|
7
|
+
|
|
8
|
+
This package provides a client for SAP’s Context Registry, managing the context for Tabular Orchestration service predictions.
|
|
9
|
+
|
|
10
|
+
As part of this you can list, create, update, and delete Data Destinations, Scenario Configurations and Tabular Artifacts.
|
|
11
|
+
|
|
12
|
+
```mermaid
|
|
13
|
+
flowchart TD
|
|
14
|
+
subgraph ctx ["@sap-ai-sdk/context-registry"]
|
|
15
|
+
DD[Data Destination]
|
|
16
|
+
TA[Tabular Artifact]
|
|
17
|
+
SC[Scenario Configuration]
|
|
18
|
+
DD --> TA --> SC
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
SC -- scenarioConfigName --> PC["@sap-ai-sdk/tabular-orchestration (future)"]
|
|
22
|
+
PC --> Result[Prediction Result]
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Table of Contents
|
|
26
|
+
|
|
27
|
+
- [Installation](#installation)
|
|
28
|
+
- [Documentation](#documentation)
|
|
29
|
+
- [Support, Feedback, Contribution](#support-feedback-contribution)
|
|
30
|
+
- [License](#license)
|
|
31
|
+
|
|
32
|
+
## Installation
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
$ npm install @sap-ai-sdk/context-registry
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Documentation
|
|
39
|
+
|
|
40
|
+
Visit the [SAP Cloud SDK for AI (JavaScript)](https://sap.github.io/ai-sdk/docs/js/overview-cloud-sdk-for-ai-js) documentation portal to learn more about its capabilities and detailed usage.
|
|
41
|
+
|
|
42
|
+
## Support, Feedback, Contribution
|
|
43
|
+
|
|
44
|
+
Contribution and feedback are encouraged and always welcome.
|
|
45
|
+
For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](https://github.com/SAP/ai-sdk-js/blob/main/CONTRIBUTING.md).
|
|
46
|
+
|
|
47
|
+
## License
|
|
48
|
+
|
|
49
|
+
The SAP Cloud SDK for AI is released under the [Apache License Version 2.0](http://www.apache.org/licenses/).
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
2
|
+
import type { GetDataDestinations, Labels, ValidateDataDestinationRequest, ValidateDataDestinationResponse, GetDataDestination, CreateDataDestination, AsyncCreateDataDestinationResponse, PatchDataDestination } from './schema/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'DataDestinationsApi'.
|
|
5
|
+
* This API is part of the 'context-registry' service.
|
|
6
|
+
*/
|
|
7
|
+
export declare const DataDestinationsApi: {
|
|
8
|
+
_defaultBasePath: string;
|
|
9
|
+
/**
|
|
10
|
+
* Get all data destinations in the tenant (resource group)
|
|
11
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
12
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
13
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
14
|
+
*/
|
|
15
|
+
getAllDataDestinations: (queryParameters: {
|
|
16
|
+
$top?: number;
|
|
17
|
+
$skip?: number;
|
|
18
|
+
$count?: boolean;
|
|
19
|
+
}, headerParameters: {
|
|
20
|
+
'AI-Resource-Group': string;
|
|
21
|
+
}) => OpenApiRequestBuilder<GetDataDestinations>;
|
|
22
|
+
/**
|
|
23
|
+
* Search data destinations by label key-value pairs
|
|
24
|
+
* @param body - Request body.
|
|
25
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
26
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
27
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
28
|
+
*/
|
|
29
|
+
searchDestinations: (body: {
|
|
30
|
+
labels: Labels;
|
|
31
|
+
} & Record<string, any>, queryParameters: {
|
|
32
|
+
$top?: number;
|
|
33
|
+
$skip?: number;
|
|
34
|
+
$count?: boolean;
|
|
35
|
+
}, headerParameters: {
|
|
36
|
+
'AI-Resource-Group': string;
|
|
37
|
+
}) => OpenApiRequestBuilder<GetDataDestinations>;
|
|
38
|
+
/**
|
|
39
|
+
* Test provider connectivity before saving. Nothing is persisted.
|
|
40
|
+
* @param body - Request body.
|
|
41
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
42
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
43
|
+
*/
|
|
44
|
+
validateDataDestination: (body: ValidateDataDestinationRequest, headerParameters: {
|
|
45
|
+
'AI-Resource-Group': string;
|
|
46
|
+
}) => OpenApiRequestBuilder<ValidateDataDestinationResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Get metadata of a specific data destination (excluding credentials)
|
|
49
|
+
* @param dataDestinationName - The ID of the data destination to get
|
|
50
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
51
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
52
|
+
*/
|
|
53
|
+
getDataDestinationByName: (dataDestinationName: string, headerParameters: {
|
|
54
|
+
'AI-Resource-Group': string;
|
|
55
|
+
}) => OpenApiRequestBuilder<GetDataDestination>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a data destination asynchronously. Schema validation happens synchronously; credential validation and secret storage run in a background task. Poll GET /dataDestinations/{name} to track progress via status and errorMessage. Returns 202 (not exists or ERROR retry), 409 (ACTIVE or DELETING), 422 (retry exhausted).
|
|
58
|
+
*
|
|
59
|
+
* @param dataDestinationName - Unique identifier for the data destination
|
|
60
|
+
* @param body - Request body.
|
|
61
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
62
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
63
|
+
*/
|
|
64
|
+
createUpdateDataDestination: (dataDestinationName: string, body: CreateDataDestination, headerParameters: {
|
|
65
|
+
'AI-Resource-Group': string;
|
|
66
|
+
}) => OpenApiRequestBuilder<AsyncCreateDataDestinationResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Update a data destination (excluding name and type)
|
|
69
|
+
* @param dataDestinationName - The ID of the data destination to update
|
|
70
|
+
* @param body - Request body.
|
|
71
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
72
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
73
|
+
*/
|
|
74
|
+
patchDataDestinationByName: (dataDestinationName: string, body: PatchDataDestination, headerParameters: {
|
|
75
|
+
'AI-Resource-Group': string;
|
|
76
|
+
}) => OpenApiRequestBuilder<any>;
|
|
77
|
+
/**
|
|
78
|
+
* Mark the data destination for deletion. Synchronously checks for dependent TabularArtifacts; returns 202 immediately after marking DELETING. The cron reaper handles secret deletion and hard delete.
|
|
79
|
+
*
|
|
80
|
+
* @param dataDestinationName - The ID of the data destination to delete
|
|
81
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
82
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
83
|
+
*/
|
|
84
|
+
deleteDataDestinationByName: (dataDestinationName: string, headerParameters: {
|
|
85
|
+
'AI-Resource-Group': string;
|
|
86
|
+
}) => OpenApiRequestBuilder<any>;
|
|
87
|
+
/**
|
|
88
|
+
* Re-verify an already-saved destination using stored credentials.
|
|
89
|
+
* @param dataDestinationName - The name of the data destination to validate
|
|
90
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
91
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
92
|
+
*/
|
|
93
|
+
validateDataDestinationByName: (dataDestinationName: string, headerParameters: {
|
|
94
|
+
'AI-Resource-Group': string;
|
|
95
|
+
}) => OpenApiRequestBuilder<ValidateDataDestinationResponse>;
|
|
96
|
+
};
|
|
97
|
+
//# sourceMappingURL=data-destinations-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-destinations-api.d.ts","sourceRoot":"","sources":["../../../src/client/context-registry/data-destinations-api.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,KAAK,EACV,mBAAmB,EACnB,MAAM,EACN,8BAA8B,EAC9B,+BAA+B,EAC/B,kBAAkB,EAClB,qBAAqB,EACrB,kCAAkC,EAClC,oBAAoB,EACrB,MAAM,mBAAmB,CAAC;AAC3B;;;GAGG;AACH,eAAO,MAAM,mBAAmB;IAC9B,gBAAgB;IAChB;;;;;OAKG;IACH,sBAAsB,oBACH;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,oBAClD;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAWnD;;;;;;OAMG;IACH,kBAAkB,SACV;QACJ,MAAM,EAAE,MAAM,CAAC;KAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,mBACN;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,oBAClD;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAenD;;;;;OAKG;IACH,uBAAuB,SACf,8BAA8B,oBAClB;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAcnD;;;;;OAKG;IACH,wBAAwB,wBACD,MAAM,oBACT;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAWnD;;;;;;;OAOG;IACH,2BAA2B,wBACJ,MAAM,QACrB,qBAAqB,oBACT;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAenD;;;;;;OAMG;IACH,0BAA0B,wBACH,MAAM,QACrB,oBAAoB,oBACR;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAenD;;;;;;OAMG;IACH,2BAA2B,wBACJ,MAAM,oBACT;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAWnD;;;;;OAKG;IACH,6BAA6B,wBACN,MAAM,oBACT;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;CAWpD,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026 SAP SE or an SAP affiliate company. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
|
|
5
|
+
*/
|
|
6
|
+
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
7
|
+
/**
|
|
8
|
+
* Representation of the 'DataDestinationsApi'.
|
|
9
|
+
* This API is part of the 'context-registry' service.
|
|
10
|
+
*/
|
|
11
|
+
export const DataDestinationsApi = {
|
|
12
|
+
_defaultBasePath: '/tcr',
|
|
13
|
+
/**
|
|
14
|
+
* Get all data destinations in the tenant (resource group)
|
|
15
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
16
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
17
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
18
|
+
*/
|
|
19
|
+
getAllDataDestinations: (queryParameters, headerParameters) => new OpenApiRequestBuilder('get', '/dataDestinations', {
|
|
20
|
+
headerParameters,
|
|
21
|
+
queryParameters
|
|
22
|
+
}, DataDestinationsApi._defaultBasePath),
|
|
23
|
+
/**
|
|
24
|
+
* Search data destinations by label key-value pairs
|
|
25
|
+
* @param body - Request body.
|
|
26
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
27
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
28
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
29
|
+
*/
|
|
30
|
+
searchDestinations: (body, queryParameters, headerParameters) => new OpenApiRequestBuilder('post', '/dataDestinations/search', {
|
|
31
|
+
body,
|
|
32
|
+
headerParameters: {
|
|
33
|
+
'content-type': 'application/json',
|
|
34
|
+
...headerParameters
|
|
35
|
+
},
|
|
36
|
+
queryParameters
|
|
37
|
+
}, DataDestinationsApi._defaultBasePath),
|
|
38
|
+
/**
|
|
39
|
+
* Test provider connectivity before saving. Nothing is persisted.
|
|
40
|
+
* @param body - Request body.
|
|
41
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
42
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
43
|
+
*/
|
|
44
|
+
validateDataDestination: (body, headerParameters) => new OpenApiRequestBuilder('post', '/dataDestinations/validate', {
|
|
45
|
+
body,
|
|
46
|
+
headerParameters: {
|
|
47
|
+
'content-type': 'application/json',
|
|
48
|
+
...headerParameters
|
|
49
|
+
}
|
|
50
|
+
}, DataDestinationsApi._defaultBasePath),
|
|
51
|
+
/**
|
|
52
|
+
* Get metadata of a specific data destination (excluding credentials)
|
|
53
|
+
* @param dataDestinationName - The ID of the data destination to get
|
|
54
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
55
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
56
|
+
*/
|
|
57
|
+
getDataDestinationByName: (dataDestinationName, headerParameters) => new OpenApiRequestBuilder('get', '/dataDestinations/{dataDestinationName}', {
|
|
58
|
+
pathParameters: { dataDestinationName },
|
|
59
|
+
headerParameters
|
|
60
|
+
}, DataDestinationsApi._defaultBasePath),
|
|
61
|
+
/**
|
|
62
|
+
* Create a data destination asynchronously. Schema validation happens synchronously; credential validation and secret storage run in a background task. Poll GET /dataDestinations/{name} to track progress via status and errorMessage. Returns 202 (not exists or ERROR retry), 409 (ACTIVE or DELETING), 422 (retry exhausted).
|
|
63
|
+
*
|
|
64
|
+
* @param dataDestinationName - Unique identifier for the data destination
|
|
65
|
+
* @param body - Request body.
|
|
66
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
67
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
68
|
+
*/
|
|
69
|
+
createUpdateDataDestination: (dataDestinationName, body, headerParameters) => new OpenApiRequestBuilder('put', '/dataDestinations/{dataDestinationName}', {
|
|
70
|
+
pathParameters: { dataDestinationName },
|
|
71
|
+
body,
|
|
72
|
+
headerParameters: {
|
|
73
|
+
'content-type': 'application/json',
|
|
74
|
+
...headerParameters
|
|
75
|
+
}
|
|
76
|
+
}, DataDestinationsApi._defaultBasePath),
|
|
77
|
+
/**
|
|
78
|
+
* Update a data destination (excluding name and type)
|
|
79
|
+
* @param dataDestinationName - The ID of the data destination to update
|
|
80
|
+
* @param body - Request body.
|
|
81
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
82
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
83
|
+
*/
|
|
84
|
+
patchDataDestinationByName: (dataDestinationName, body, headerParameters) => new OpenApiRequestBuilder('patch', '/dataDestinations/{dataDestinationName}', {
|
|
85
|
+
pathParameters: { dataDestinationName },
|
|
86
|
+
body,
|
|
87
|
+
headerParameters: {
|
|
88
|
+
'content-type': 'application/json',
|
|
89
|
+
...headerParameters
|
|
90
|
+
}
|
|
91
|
+
}, DataDestinationsApi._defaultBasePath),
|
|
92
|
+
/**
|
|
93
|
+
* Mark the data destination for deletion. Synchronously checks for dependent TabularArtifacts; returns 202 immediately after marking DELETING. The cron reaper handles secret deletion and hard delete.
|
|
94
|
+
*
|
|
95
|
+
* @param dataDestinationName - The ID of the data destination to delete
|
|
96
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
97
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
98
|
+
*/
|
|
99
|
+
deleteDataDestinationByName: (dataDestinationName, headerParameters) => new OpenApiRequestBuilder('delete', '/dataDestinations/{dataDestinationName}', {
|
|
100
|
+
pathParameters: { dataDestinationName },
|
|
101
|
+
headerParameters
|
|
102
|
+
}, DataDestinationsApi._defaultBasePath),
|
|
103
|
+
/**
|
|
104
|
+
* Re-verify an already-saved destination using stored credentials.
|
|
105
|
+
* @param dataDestinationName - The name of the data destination to validate
|
|
106
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
107
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
108
|
+
*/
|
|
109
|
+
validateDataDestinationByName: (dataDestinationName, headerParameters) => new OpenApiRequestBuilder('post', '/dataDestinations/{dataDestinationName}/validate', {
|
|
110
|
+
pathParameters: { dataDestinationName },
|
|
111
|
+
headerParameters
|
|
112
|
+
}, DataDestinationsApi._defaultBasePath)
|
|
113
|
+
};
|
|
114
|
+
//# sourceMappingURL=data-destinations-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-destinations-api.js","sourceRoot":"","sources":["../../../src/client/context-registry/data-destinations-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAYzD;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,gBAAgB,EAAE,MAAM;IACxB;;;;;OAKG;IACH,sBAAsB,EAAE,CACtB,eAAoE,EACpE,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,mBAAmB,EACnB;QACE,gBAAgB;QAChB,eAAe;KAChB,EACD,mBAAmB,CAAC,gBAAgB,CACrC;IACH;;;;;;OAMG;IACH,kBAAkB,EAAE,CAClB,IAEuB,EACvB,eAAoE,EACpE,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,MAAM,EACN,0BAA0B,EAC1B;QACE,IAAI;QACJ,gBAAgB,EAAE;YAChB,cAAc,EAAE,kBAAkB;YAClC,GAAG,gBAAgB;SACpB;QACD,eAAe;KAChB,EACD,mBAAmB,CAAC,gBAAgB,CACrC;IACH;;;;;OAKG;IACH,uBAAuB,EAAE,CACvB,IAAoC,EACpC,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,MAAM,EACN,4BAA4B,EAC5B;QACE,IAAI;QACJ,gBAAgB,EAAE;YAChB,cAAc,EAAE,kBAAkB;YAClC,GAAG,gBAAgB;SACpB;KACF,EACD,mBAAmB,CAAC,gBAAgB,CACrC;IACH;;;;;OAKG;IACH,wBAAwB,EAAE,CACxB,mBAA2B,EAC3B,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,yCAAyC,EACzC;QACE,cAAc,EAAE,EAAE,mBAAmB,EAAE;QACvC,gBAAgB;KACjB,EACD,mBAAmB,CAAC,gBAAgB,CACrC;IACH;;;;;;;OAOG;IACH,2BAA2B,EAAE,CAC3B,mBAA2B,EAC3B,IAA2B,EAC3B,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,yCAAyC,EACzC;QACE,cAAc,EAAE,EAAE,mBAAmB,EAAE;QACvC,IAAI;QACJ,gBAAgB,EAAE;YAChB,cAAc,EAAE,kBAAkB;YAClC,GAAG,gBAAgB;SACpB;KACF,EACD,mBAAmB,CAAC,gBAAgB,CACrC;IACH;;;;;;OAMG;IACH,0BAA0B,EAAE,CAC1B,mBAA2B,EAC3B,IAA0B,EAC1B,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,OAAO,EACP,yCAAyC,EACzC;QACE,cAAc,EAAE,EAAE,mBAAmB,EAAE;QACvC,IAAI;QACJ,gBAAgB,EAAE;YAChB,cAAc,EAAE,kBAAkB;YAClC,GAAG,gBAAgB;SACpB;KACF,EACD,mBAAmB,CAAC,gBAAgB,CACrC;IACH;;;;;;OAMG;IACH,2BAA2B,EAAE,CAC3B,mBAA2B,EAC3B,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,QAAQ,EACR,yCAAyC,EACzC;QACE,cAAc,EAAE,EAAE,mBAAmB,EAAE;QACvC,gBAAgB;KACjB,EACD,mBAAmB,CAAC,gBAAgB,CACrC;IACH;;;;;OAKG;IACH,6BAA6B,EAAE,CAC7B,mBAA2B,EAC3B,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,MAAM,EACN,kDAAkD,EAClD;QACE,cAAc,EAAE,EAAE,mBAAmB,EAAE;QACvC,gBAAgB;KACjB,EACD,mBAAmB,CAAC,gBAAgB,CACrC;CACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/context-registry/index.ts"],"names":[],"mappings":"AAMA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026 SAP SE or an SAP affiliate company. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
|
|
5
|
+
*/
|
|
6
|
+
export * from './data-destinations-api.js';
|
|
7
|
+
export * from './tabular-artifacts-api.js';
|
|
8
|
+
export * from './scenario-configuration-manager-api.js';
|
|
9
|
+
export * from './schema/index.js';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/client/context-registry/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
2
|
+
import type { GetScenarioConfigurations, SearchScenarioConfiguration, ScenarioConfigurationObject, CreateScenarioConfiguration, ScenarioConfigurationNameObject, PatchScenarioConfiguration } from './schema/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'ScenarioConfigurationManagerApi'.
|
|
5
|
+
* This API is part of the 'context-registry' service.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ScenarioConfigurationManagerApi: {
|
|
8
|
+
_defaultBasePath: string;
|
|
9
|
+
/**
|
|
10
|
+
* Get all scenario configurations in the tenant (resource group)
|
|
11
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
12
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
13
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
14
|
+
*/
|
|
15
|
+
getAllScenarioConfigurations: (queryParameters: {
|
|
16
|
+
$top?: number;
|
|
17
|
+
$skip?: number;
|
|
18
|
+
$count?: boolean;
|
|
19
|
+
}, headerParameters: {
|
|
20
|
+
'AI-Resource-Group': string;
|
|
21
|
+
}) => OpenApiRequestBuilder<GetScenarioConfigurations>;
|
|
22
|
+
/**
|
|
23
|
+
* Search for scenario configurations that match ALL specified labels (AND logic)
|
|
24
|
+
* @param body - Request body.
|
|
25
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
26
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
27
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
28
|
+
*/
|
|
29
|
+
searchScenarioConfigurationsByLabel: (body: SearchScenarioConfiguration, queryParameters: {
|
|
30
|
+
$top?: number;
|
|
31
|
+
$skip?: number;
|
|
32
|
+
$count?: boolean;
|
|
33
|
+
}, headerParameters: {
|
|
34
|
+
'AI-Resource-Group': string;
|
|
35
|
+
}) => OpenApiRequestBuilder<GetScenarioConfigurations>;
|
|
36
|
+
/**
|
|
37
|
+
* Get a scenario configuration by its name
|
|
38
|
+
* @param scenarioConfigurationName - The name of the scenario configuration to retrieve
|
|
39
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
40
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
41
|
+
*/
|
|
42
|
+
getScenarioConfigurationByName: (scenarioConfigurationName: string, headerParameters: {
|
|
43
|
+
'AI-Resource-Group': string;
|
|
44
|
+
}) => OpenApiRequestBuilder<ScenarioConfigurationObject>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a scenario configuration asynchronously. Schema validation happens synchronously; background processing runs asynchronously. Poll GET /scenarioConfigurations/{name} to track progress via status and errorMessage. Returns 202 (not exists or ERROR retry), 409 (ACTIVE or DELETING), 422 (retry exhausted).
|
|
47
|
+
*
|
|
48
|
+
* @param scenarioConfigurationName - Name of the scenario configuration
|
|
49
|
+
* @param body - Request body.
|
|
50
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
51
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
52
|
+
*/
|
|
53
|
+
createScenarioConfiguration: (scenarioConfigurationName: string, body: CreateScenarioConfiguration, headerParameters: {
|
|
54
|
+
'AI-Resource-Group': string;
|
|
55
|
+
}) => OpenApiRequestBuilder<ScenarioConfigurationNameObject>;
|
|
56
|
+
/**
|
|
57
|
+
* Update a scenario configuration (excluding name)
|
|
58
|
+
* @param scenarioConfigurationName - The name of the scenario configuration to update
|
|
59
|
+
* @param body - Request body.
|
|
60
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
61
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
62
|
+
*/
|
|
63
|
+
patchScenarioConfigurationByName: (scenarioConfigurationName: string, body: PatchScenarioConfiguration, headerParameters: {
|
|
64
|
+
'AI-Resource-Group': string;
|
|
65
|
+
}) => OpenApiRequestBuilder<any>;
|
|
66
|
+
/**
|
|
67
|
+
* Delete a scenario configuration by name
|
|
68
|
+
* @param scenarioConfigurationName - The name of the scenario configuration to delete
|
|
69
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
70
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
71
|
+
*/
|
|
72
|
+
deleteScenarioConfigurationByName: (scenarioConfigurationName: string, headerParameters: {
|
|
73
|
+
'AI-Resource-Group': string;
|
|
74
|
+
}) => OpenApiRequestBuilder<any>;
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=scenario-configuration-manager-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scenario-configuration-manager-api.d.ts","sourceRoot":"","sources":["../../../src/client/context-registry/scenario-configuration-manager-api.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,KAAK,EACV,yBAAyB,EACzB,2BAA2B,EAC3B,2BAA2B,EAC3B,2BAA2B,EAC3B,+BAA+B,EAC/B,0BAA0B,EAC3B,MAAM,mBAAmB,CAAC;AAC3B;;;GAGG;AACH,eAAO,MAAM,+BAA+B;IAC1C,gBAAgB;IAChB;;;;;OAKG;IACH,4BAA4B,oBACT;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,oBAClD;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAWnD;;;;;;OAMG;IACH,mCAAmC,SAC3B,2BAA2B,mBAChB;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,oBAClD;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAenD;;;;;OAKG;IACH,8BAA8B,8BACD,MAAM,oBACf;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAWnD;;;;;;;OAOG;IACH,2BAA2B,8BACE,MAAM,QAC3B,2BAA2B,oBACf;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAenD;;;;;;OAMG;IACH,gCAAgC,8BACH,MAAM,QAC3B,0BAA0B,oBACd;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAenD;;;;;OAKG;IACH,iCAAiC,8BACJ,MAAM,oBACf;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;CAWpD,CAAC"}
|