oci-oda 2.80.0 → 2.81.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/lib/client.d.ts +109 -80
- package/lib/client.js +269 -80
- package/lib/client.js.map +1 -1
- package/lib/model/bot.d.ts +4 -0
- package/lib/model/bot.js.map +1 -1
- package/lib/model/bulk-create-skill-entities-details.d.ts +26 -0
- package/lib/model/bulk-create-skill-entities-details.js +61 -0
- package/lib/model/bulk-create-skill-entities-details.js.map +1 -0
- package/lib/model/composite-entity.d.ts +33 -0
- package/lib/model/composite-entity.js +78 -0
- package/lib/model/composite-entity.js.map +1 -0
- package/lib/model/create-oda-instance-attachment-details.d.ts +2 -1
- package/lib/model/create-oda-instance-attachment-details.js +1 -0
- package/lib/model/create-oda-instance-attachment-details.js.map +1 -1
- package/lib/model/create-skill-composite-entity-details.d.ts +33 -0
- package/lib/model/create-skill-composite-entity-details.js +82 -0
- package/lib/model/create-skill-composite-entity-details.js.map +1 -0
- package/lib/model/create-skill-details.d.ts +4 -0
- package/lib/model/create-skill-details.js.map +1 -1
- package/lib/model/create-skill-entity-details.d.ts +26 -0
- package/lib/model/create-skill-entity-details.js +72 -0
- package/lib/model/create-skill-entity-details.js.map +1 -0
- package/lib/model/create-skill-value-list-entity-details.d.ts +28 -0
- package/lib/model/create-skill-value-list-entity-details.js +66 -0
- package/lib/model/create-skill-value-list-entity-details.js.map +1 -0
- package/lib/model/digital-assistant.d.ts +4 -0
- package/lib/model/digital-assistant.js.map +1 -1
- package/lib/model/entity-action-argument-natural-language-mapping.d.ts +26 -0
- package/lib/model/entity-action-argument-natural-language-mapping.js +61 -0
- package/lib/model/entity-action-argument-natural-language-mapping.js.map +1 -0
- package/lib/model/entity-action-argument.d.ts +43 -0
- package/lib/model/entity-action-argument.js +57 -0
- package/lib/model/entity-action-argument.js.map +1 -0
- package/lib/model/entity-action-natural-language-mapping.d.ts +26 -0
- package/lib/model/entity-action-natural-language-mapping.js +61 -0
- package/lib/model/entity-action-natural-language-mapping.js.map +1 -0
- package/lib/model/entity-action.d.ts +35 -0
- package/lib/model/entity-action.js +67 -0
- package/lib/model/entity-action.js.map +1 -0
- package/lib/model/entity-attribute-natural-language-mapping.d.ts +26 -0
- package/lib/model/entity-attribute-natural-language-mapping.js +61 -0
- package/lib/model/entity-attribute-natural-language-mapping.js.map +1 -0
- package/lib/model/entity-attribute-type.d.ts +29 -0
- package/lib/model/entity-attribute-type.js +40 -0
- package/lib/model/entity-attribute-type.js.map +1 -0
- package/lib/model/entity-attribute.d.ts +51 -0
- package/lib/model/entity-attribute.js +57 -0
- package/lib/model/entity-attribute.js.map +1 -0
- package/lib/model/entity-natural-language-mapping.d.ts +26 -0
- package/lib/model/entity-natural-language-mapping.js +61 -0
- package/lib/model/entity-natural-language-mapping.js.map +1 -0
- package/lib/model/entity-type.d.ts +23 -0
- package/lib/model/entity-type.js +34 -0
- package/lib/model/entity-type.js.map +1 -0
- package/lib/model/entity.d.ts +30 -0
- package/lib/model/entity.js +72 -0
- package/lib/model/entity.js.map +1 -0
- package/lib/model/index.d.ts +50 -0
- package/lib/model/index.js +54 -4
- package/lib/model/index.js.map +1 -1
- package/lib/model/language-mapping.d.ts +34 -0
- package/lib/model/language-mapping.js +61 -0
- package/lib/model/language-mapping.js.map +1 -0
- package/lib/model/name-mapping.d.ts +25 -0
- package/lib/model/name-mapping.js +29 -0
- package/lib/model/name-mapping.js.map +1 -0
- package/lib/model/oda-instance-attachment-summary.d.ts +1 -0
- package/lib/model/oda-instance-attachment-summary.js +1 -0
- package/lib/model/oda-instance-attachment-summary.js.map +1 -1
- package/lib/model/oda-instance-attachment.d.ts +1 -0
- package/lib/model/oda-instance-attachment.js +1 -0
- package/lib/model/oda-instance-attachment.js.map +1 -1
- package/lib/model/skill.d.ts +4 -0
- package/lib/model/skill.js.map +1 -1
- package/lib/model/static-entity-value-natural-language-mapping.d.ts +26 -0
- package/lib/model/static-entity-value-natural-language-mapping.js +61 -0
- package/lib/model/static-entity-value-natural-language-mapping.js.map +1 -0
- package/lib/model/static-entity-value.d.ts +27 -0
- package/lib/model/static-entity-value.js +57 -0
- package/lib/model/static-entity-value.js.map +1 -0
- package/lib/model/temporal-preference.d.ts +24 -0
- package/lib/model/temporal-preference.js +35 -0
- package/lib/model/temporal-preference.js.map +1 -0
- package/lib/model/train-skill-details.d.ts +26 -0
- package/lib/model/train-skill-details.js +61 -0
- package/lib/model/train-skill-details.js.map +1 -0
- package/lib/model/train-skill-parameter-type.d.ts +22 -0
- package/lib/model/train-skill-parameter-type.js +33 -0
- package/lib/model/train-skill-parameter-type.js.map +1 -0
- package/lib/model/train-skill-parameter.d.ts +22 -0
- package/lib/model/train-skill-parameter.js +68 -0
- package/lib/model/train-skill-parameter.js.map +1 -0
- package/lib/model/train-skill-query-entity-parameter.d.ts +24 -0
- package/lib/model/train-skill-query-entity-parameter.js +54 -0
- package/lib/model/train-skill-query-entity-parameter.js.map +1 -0
- package/lib/model/value-list-entity.d.ts +28 -0
- package/lib/model/value-list-entity.js +62 -0
- package/lib/model/value-list-entity.js.map +1 -0
- package/lib/model/work-request.d.ts +3 -0
- package/lib/model/work-request.js +3 -0
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/bulk-create-skill-entities-request.d.ts +45 -0
- package/lib/request/bulk-create-skill-entities-request.js +15 -0
- package/lib/request/bulk-create-skill-entities-request.js.map +1 -0
- package/lib/request/cascading-delete-skill-custom-entities-request.d.ts +50 -0
- package/lib/request/cascading-delete-skill-custom-entities-request.js +15 -0
- package/lib/request/cascading-delete-skill-custom-entities-request.js.map +1 -0
- package/lib/request/change-oda-instance-compartment-request.d.ts +1 -1
- package/lib/request/change-oda-private-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/configure-digital-assistant-parameters-request.d.ts +1 -1
- package/lib/request/create-authentication-provider-request.d.ts +1 -1
- package/lib/request/create-channel-request.d.ts +1 -1
- package/lib/request/create-digital-assistant-request.d.ts +1 -1
- package/lib/request/create-imported-package-request.d.ts +1 -1
- package/lib/request/create-oda-instance-attachment-request.d.ts +1 -1
- package/lib/request/create-oda-instance-request.d.ts +1 -1
- package/lib/request/create-oda-private-endpoint-attachment-request.d.ts +1 -1
- package/lib/request/create-oda-private-endpoint-request.d.ts +1 -1
- package/lib/request/create-oda-private-endpoint-scan-proxy-request.d.ts +1 -1
- package/lib/request/create-skill-parameter-request.d.ts +1 -1
- package/lib/request/create-skill-request.d.ts +1 -1
- package/lib/request/create-translator-request.d.ts +1 -1
- package/lib/request/delete-authentication-provider-request.d.ts +1 -1
- package/lib/request/delete-channel-request.d.ts +1 -1
- package/lib/request/delete-digital-assistant-request.d.ts +1 -1
- package/lib/request/delete-imported-package-request.d.ts +1 -1
- package/lib/request/delete-oda-instance-attachment-request.d.ts +1 -1
- package/lib/request/delete-oda-instance-request.d.ts +1 -1
- package/lib/request/delete-oda-private-endpoint-attachment-request.d.ts +1 -1
- package/lib/request/delete-oda-private-endpoint-request.d.ts +1 -1
- package/lib/request/delete-oda-private-endpoint-scan-proxy-request.d.ts +1 -1
- package/lib/request/delete-skill-parameter-request.d.ts +1 -1
- package/lib/request/delete-skill-request.d.ts +1 -1
- package/lib/request/delete-translator-request.d.ts +1 -1
- package/lib/request/export-digital-assistant-request.d.ts +1 -1
- package/lib/request/export-skill-request.d.ts +1 -1
- package/lib/request/get-authentication-provider-request.d.ts +1 -1
- package/lib/request/get-channel-request.d.ts +1 -1
- package/lib/request/get-digital-assistant-parameter-request.d.ts +1 -1
- package/lib/request/get-digital-assistant-request.d.ts +1 -1
- package/lib/request/get-imported-package-request.d.ts +1 -1
- package/lib/request/get-oda-instance-attachment-request.d.ts +1 -1
- package/lib/request/get-oda-instance-request.d.ts +1 -1
- package/lib/request/get-oda-private-endpoint-attachment-request.d.ts +1 -1
- package/lib/request/get-oda-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-oda-private-endpoint-scan-proxy-request.d.ts +1 -1
- package/lib/request/get-package-request.d.ts +1 -1
- package/lib/request/get-skill-parameter-request.d.ts +1 -1
- package/lib/request/get-skill-request.d.ts +1 -1
- package/lib/request/get-translator-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/import-bot-request.d.ts +1 -1
- package/lib/request/index.d.ts +6 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-authentication-providers-request.d.ts +1 -1
- package/lib/request/list-channels-request.d.ts +1 -1
- package/lib/request/list-digital-assistant-parameters-request.d.ts +1 -1
- package/lib/request/list-digital-assistants-request.d.ts +1 -1
- package/lib/request/list-imported-packages-request.d.ts +1 -1
- package/lib/request/list-oda-instance-attachments-request.d.ts +1 -1
- package/lib/request/list-oda-instances-request.d.ts +1 -1
- package/lib/request/list-oda-private-endpoint-attachments-request.d.ts +1 -1
- package/lib/request/list-oda-private-endpoint-scan-proxies-request.d.ts +1 -1
- package/lib/request/list-oda-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-packages-request.d.ts +1 -1
- package/lib/request/list-skill-parameters-request.d.ts +1 -1
- package/lib/request/list-skills-request.d.ts +1 -1
- package/lib/request/list-translators-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/publish-digital-assistant-request.d.ts +1 -1
- package/lib/request/publish-skill-request.d.ts +1 -1
- package/lib/request/rotate-channel-keys-request.d.ts +1 -1
- package/lib/request/start-channel-request.d.ts +1 -1
- package/lib/request/start-oda-instance-request.d.ts +1 -1
- package/lib/request/stop-channel-request.d.ts +1 -1
- package/lib/request/stop-oda-instance-request.d.ts +1 -1
- package/lib/request/train-skill-request.d.ts +55 -0
- package/lib/request/train-skill-request.js +15 -0
- package/lib/request/train-skill-request.js.map +1 -0
- package/lib/request/update-authentication-provider-request.d.ts +1 -1
- package/lib/request/update-channel-request.d.ts +1 -1
- package/lib/request/update-digital-assistant-parameter-request.d.ts +1 -1
- package/lib/request/update-digital-assistant-request.d.ts +1 -1
- package/lib/request/update-imported-package-request.d.ts +1 -1
- package/lib/request/update-oda-instance-attachment-request.d.ts +1 -1
- package/lib/request/update-oda-instance-request.d.ts +1 -1
- package/lib/request/update-oda-private-endpoint-request.d.ts +1 -1
- package/lib/request/update-skill-parameter-request.d.ts +1 -1
- package/lib/request/update-skill-request.d.ts +1 -1
- package/lib/request/update-translator-request.d.ts +1 -1
- package/lib/response/bulk-create-skill-entities-response.d.ts +26 -0
- package/lib/response/bulk-create-skill-entities-response.js +15 -0
- package/lib/response/bulk-create-skill-entities-response.js.map +1 -0
- package/lib/response/cascading-delete-skill-custom-entities-response.d.ts +26 -0
- package/lib/response/cascading-delete-skill-custom-entities-response.js +15 -0
- package/lib/response/cascading-delete-skill-custom-entities-response.js.map +1 -0
- package/lib/response/index.d.ts +6 -0
- package/lib/response/train-skill-response.d.ts +26 -0
- package/lib/response/train-skill-response.js +15 -0
- package/lib/response/train-skill-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Digital Assistant Service Instance API
|
|
3
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
4
|
+
* OpenAPI spec version: 20190506
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Natural language mapping of an entity action argument.
|
|
16
|
+
*/
|
|
17
|
+
export interface EntityActionArgumentNaturalLanguageMapping {
|
|
18
|
+
/**
|
|
19
|
+
* List of natural language mapped values.
|
|
20
|
+
*/
|
|
21
|
+
"languages": Array<model.LanguageMapping>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace EntityActionArgumentNaturalLanguageMapping {
|
|
24
|
+
function getJsonObj(obj: EntityActionArgumentNaturalLanguageMapping): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: EntityActionArgumentNaturalLanguageMapping): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Digital Assistant Service Instance API
|
|
4
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
5
|
+
* OpenAPI spec version: 20190506
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.EntityActionArgumentNaturalLanguageMapping = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var EntityActionArgumentNaturalLanguageMapping;
|
|
37
|
+
(function (EntityActionArgumentNaturalLanguageMapping) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"languages": obj.languages
|
|
41
|
+
? obj.languages.map(item => {
|
|
42
|
+
return model.LanguageMapping.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
EntityActionArgumentNaturalLanguageMapping.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"languages": obj.languages
|
|
52
|
+
? obj.languages.map(item => {
|
|
53
|
+
return model.LanguageMapping.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
EntityActionArgumentNaturalLanguageMapping.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(EntityActionArgumentNaturalLanguageMapping = exports.EntityActionArgumentNaturalLanguageMapping || (exports.EntityActionArgumentNaturalLanguageMapping = {}));
|
|
61
|
+
//# sourceMappingURL=entity-action-argument-natural-language-mapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-action-argument-natural-language-mapping.js","sourceRoot":"","sources":["../../../../../lib/oda/lib/model/entity-action-argument-natural-language-mapping.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,0CAA0C,CA6B1D;AA7BD,WAAiB,0CAA0C;IACzD,SAAgB,UAAU,CAAC,GAA+C;QACxE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qDAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+C;QACpF,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iEAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0CAA0C,GAA1C,kDAA0C,KAA1C,kDAA0C,QA6B1D"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Digital Assistant Service Instance API
|
|
3
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
4
|
+
* OpenAPI spec version: 20190506
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Argument of an entity action
|
|
16
|
+
*/
|
|
17
|
+
export interface EntityActionArgument {
|
|
18
|
+
/**
|
|
19
|
+
* Name of an entity action argument
|
|
20
|
+
*/
|
|
21
|
+
"name": string;
|
|
22
|
+
/**
|
|
23
|
+
* Type of an entity action argument
|
|
24
|
+
*/
|
|
25
|
+
"type": model.EntityAttributeType;
|
|
26
|
+
/**
|
|
27
|
+
* Metatype of an entity action argument
|
|
28
|
+
*/
|
|
29
|
+
"metaType"?: string;
|
|
30
|
+
"naturalLanguageMapping"?: model.EntityActionArgumentNaturalLanguageMapping;
|
|
31
|
+
/**
|
|
32
|
+
* Is the entity action argument multi-value
|
|
33
|
+
*/
|
|
34
|
+
"isMultiValue"?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Name of referenced entity.
|
|
37
|
+
*/
|
|
38
|
+
"entityName"?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace EntityActionArgument {
|
|
41
|
+
function getJsonObj(obj: EntityActionArgument): object;
|
|
42
|
+
function getDeserializedJsonObj(obj: EntityActionArgument): object;
|
|
43
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Digital Assistant Service Instance API
|
|
4
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
5
|
+
* OpenAPI spec version: 20190506
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.EntityActionArgument = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var EntityActionArgument;
|
|
37
|
+
(function (EntityActionArgument) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"naturalLanguageMapping": obj.naturalLanguageMapping
|
|
41
|
+
? model.EntityActionArgumentNaturalLanguageMapping.getJsonObj(obj.naturalLanguageMapping)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
EntityActionArgument.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"naturalLanguageMapping": obj.naturalLanguageMapping
|
|
50
|
+
? model.EntityActionArgumentNaturalLanguageMapping.getDeserializedJsonObj(obj.naturalLanguageMapping)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
EntityActionArgument.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(EntityActionArgument = exports.EntityActionArgument || (exports.EntityActionArgument = {}));
|
|
57
|
+
//# sourceMappingURL=entity-action-argument.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-action-argument.js","sourceRoot":"","sources":["../../../../../lib/oda/lib/model/entity-action-argument.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8BlC,IAAiB,oBAAoB,CA2BpC;AA3BD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,0CAA0C,CAAC,UAAU,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,+BAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,0CAA0C,CAAC,sBAAsB,CACrE,GAAG,CAAC,sBAAsB,CAC3B;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2CAAsB,yBAarC,CAAA;AACH,CAAC,EA3BgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA2BpC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Digital Assistant Service Instance API
|
|
3
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
4
|
+
* OpenAPI spec version: 20190506
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Natural language mapping of an entity action.
|
|
16
|
+
*/
|
|
17
|
+
export interface EntityActionNaturalLanguageMapping {
|
|
18
|
+
/**
|
|
19
|
+
* List of natural language mapped values.
|
|
20
|
+
*/
|
|
21
|
+
"languages": Array<model.LanguageMapping>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace EntityActionNaturalLanguageMapping {
|
|
24
|
+
function getJsonObj(obj: EntityActionNaturalLanguageMapping): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: EntityActionNaturalLanguageMapping): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Digital Assistant Service Instance API
|
|
4
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
5
|
+
* OpenAPI spec version: 20190506
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.EntityActionNaturalLanguageMapping = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var EntityActionNaturalLanguageMapping;
|
|
37
|
+
(function (EntityActionNaturalLanguageMapping) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"languages": obj.languages
|
|
41
|
+
? obj.languages.map(item => {
|
|
42
|
+
return model.LanguageMapping.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
EntityActionNaturalLanguageMapping.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"languages": obj.languages
|
|
52
|
+
? obj.languages.map(item => {
|
|
53
|
+
return model.LanguageMapping.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
EntityActionNaturalLanguageMapping.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(EntityActionNaturalLanguageMapping = exports.EntityActionNaturalLanguageMapping || (exports.EntityActionNaturalLanguageMapping = {}));
|
|
61
|
+
//# sourceMappingURL=entity-action-natural-language-mapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-action-natural-language-mapping.js","sourceRoot":"","sources":["../../../../../lib/oda/lib/model/entity-action-natural-language-mapping.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,kCAAkC,CA6BlD;AA7BD,WAAiB,kCAAkC;IACjD,SAAgB,UAAU,CAAC,GAAuC;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6CAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuC;QAC5E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QA6BlD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Digital Assistant Service Instance API
|
|
3
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
4
|
+
* OpenAPI spec version: 20190506
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Action of an entity
|
|
16
|
+
*/
|
|
17
|
+
export interface EntityAction {
|
|
18
|
+
/**
|
|
19
|
+
* Name of an entity action
|
|
20
|
+
*/
|
|
21
|
+
"name": string;
|
|
22
|
+
/**
|
|
23
|
+
* Type of CRUD operation for entity action
|
|
24
|
+
*/
|
|
25
|
+
"crudType"?: string;
|
|
26
|
+
"naturalLanguageMapping"?: model.EntityActionNaturalLanguageMapping;
|
|
27
|
+
/**
|
|
28
|
+
* List of entity action arguments
|
|
29
|
+
*/
|
|
30
|
+
"arguments": Array<model.EntityActionArgument>;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace EntityAction {
|
|
33
|
+
function getJsonObj(obj: EntityAction): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: EntityAction): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Digital Assistant Service Instance API
|
|
4
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
5
|
+
* OpenAPI spec version: 20190506
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.EntityAction = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var EntityAction;
|
|
37
|
+
(function (EntityAction) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"naturalLanguageMapping": obj.naturalLanguageMapping
|
|
41
|
+
? model.EntityActionNaturalLanguageMapping.getJsonObj(obj.naturalLanguageMapping)
|
|
42
|
+
: undefined,
|
|
43
|
+
"arguments": obj.arguments
|
|
44
|
+
? obj.arguments.map(item => {
|
|
45
|
+
return model.EntityActionArgument.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
EntityAction.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"naturalLanguageMapping": obj.naturalLanguageMapping
|
|
55
|
+
? model.EntityActionNaturalLanguageMapping.getDeserializedJsonObj(obj.naturalLanguageMapping)
|
|
56
|
+
: undefined,
|
|
57
|
+
"arguments": obj.arguments
|
|
58
|
+
? obj.arguments.map(item => {
|
|
59
|
+
return model.EntityActionArgument.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
EntityAction.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(EntityAction = exports.EntityAction || (exports.EntityAction = {}));
|
|
67
|
+
//# sourceMappingURL=entity-action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-action.js","sourceRoot":"","sources":["../../../../../lib/oda/lib/model/entity-action.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsBlC,IAAiB,YAAY,CAqC5B;AArCD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,UAAU,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACjF,CAAC,CAAC,SAAS;YACb,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,uBAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CAC7D,GAAG,CAAC,sBAAsB,CAC3B;gBACH,CAAC,CAAC,SAAS;YACb,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,mCAAsB,yBAkBrC,CAAA;AACH,CAAC,EArCgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAqC5B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Digital Assistant Service Instance API
|
|
3
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
4
|
+
* OpenAPI spec version: 20190506
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Natural language mapping of an entity attribute
|
|
16
|
+
*/
|
|
17
|
+
export interface EntityAttributeNaturalLanguageMapping {
|
|
18
|
+
/**
|
|
19
|
+
* List of natural language mapped values.
|
|
20
|
+
*/
|
|
21
|
+
"languages": Array<model.LanguageMapping>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace EntityAttributeNaturalLanguageMapping {
|
|
24
|
+
function getJsonObj(obj: EntityAttributeNaturalLanguageMapping): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: EntityAttributeNaturalLanguageMapping): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Digital Assistant Service Instance API
|
|
4
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
5
|
+
* OpenAPI spec version: 20190506
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.EntityAttributeNaturalLanguageMapping = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var EntityAttributeNaturalLanguageMapping;
|
|
37
|
+
(function (EntityAttributeNaturalLanguageMapping) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"languages": obj.languages
|
|
41
|
+
? obj.languages.map(item => {
|
|
42
|
+
return model.LanguageMapping.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
EntityAttributeNaturalLanguageMapping.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"languages": obj.languages
|
|
52
|
+
? obj.languages.map(item => {
|
|
53
|
+
return model.LanguageMapping.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
EntityAttributeNaturalLanguageMapping.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(EntityAttributeNaturalLanguageMapping = exports.EntityAttributeNaturalLanguageMapping || (exports.EntityAttributeNaturalLanguageMapping = {}));
|
|
61
|
+
//# sourceMappingURL=entity-attribute-natural-language-mapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-attribute-natural-language-mapping.js","sourceRoot":"","sources":["../../../../../lib/oda/lib/model/entity-attribute-natural-language-mapping.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,qCAAqC,CA6BrD;AA7BD,WAAiB,qCAAqC;IACpD,SAAgB,UAAU,CAAC,GAA0C;QACnE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gDAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0C;QAC/E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4DAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QA6BrD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Digital Assistant Service Instance API
|
|
3
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
4
|
+
* OpenAPI spec version: 20190506
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The valid set of entity attribute type values.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum EntityAttributeType {
|
|
17
|
+
Text = "TEXT",
|
|
18
|
+
Number = "NUMBER",
|
|
19
|
+
DateTime = "DATE_TIME",
|
|
20
|
+
Date = "DATE",
|
|
21
|
+
Entity = "ENTITY",
|
|
22
|
+
CompositeEntity = "COMPOSITE_ENTITY",
|
|
23
|
+
AttributeReference = "ATTRIBUTE_REFERENCE",
|
|
24
|
+
Boolean = "BOOLEAN"
|
|
25
|
+
}
|
|
26
|
+
export declare namespace EntityAttributeType {
|
|
27
|
+
function getJsonObj(obj: EntityAttributeType): EntityAttributeType;
|
|
28
|
+
function getDeserializedJsonObj(obj: EntityAttributeType): EntityAttributeType;
|
|
29
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Digital Assistant Service Instance API
|
|
4
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
5
|
+
* OpenAPI spec version: 20190506
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.EntityAttributeType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The valid set of entity attribute type values.
|
|
18
|
+
**/
|
|
19
|
+
var EntityAttributeType;
|
|
20
|
+
(function (EntityAttributeType) {
|
|
21
|
+
EntityAttributeType["Text"] = "TEXT";
|
|
22
|
+
EntityAttributeType["Number"] = "NUMBER";
|
|
23
|
+
EntityAttributeType["DateTime"] = "DATE_TIME";
|
|
24
|
+
EntityAttributeType["Date"] = "DATE";
|
|
25
|
+
EntityAttributeType["Entity"] = "ENTITY";
|
|
26
|
+
EntityAttributeType["CompositeEntity"] = "COMPOSITE_ENTITY";
|
|
27
|
+
EntityAttributeType["AttributeReference"] = "ATTRIBUTE_REFERENCE";
|
|
28
|
+
EntityAttributeType["Boolean"] = "BOOLEAN";
|
|
29
|
+
})(EntityAttributeType = exports.EntityAttributeType || (exports.EntityAttributeType = {}));
|
|
30
|
+
(function (EntityAttributeType) {
|
|
31
|
+
function getJsonObj(obj) {
|
|
32
|
+
return obj;
|
|
33
|
+
}
|
|
34
|
+
EntityAttributeType.getJsonObj = getJsonObj;
|
|
35
|
+
function getDeserializedJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
EntityAttributeType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
39
|
+
})(EntityAttributeType = exports.EntityAttributeType || (exports.EntityAttributeType = {}));
|
|
40
|
+
//# sourceMappingURL=entity-attribute-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-attribute-type.js","sourceRoot":"","sources":["../../../../../lib/oda/lib/model/entity-attribute-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,6CAAsB,CAAA;IACtB,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,2DAAoC,CAAA;IACpC,iEAA0C,CAAA;IAC1C,0CAAmB,CAAA;AACrB,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B;AAED,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,8BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0CAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAOnC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Digital Assistant Service Instance API
|
|
3
|
+
* API to create and maintain Oracle Digital Assistant service instances.
|
|
4
|
+
* OpenAPI spec version: 20190506
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Attribute of an entity
|
|
16
|
+
*/
|
|
17
|
+
export interface EntityAttribute {
|
|
18
|
+
/**
|
|
19
|
+
* The name of an entity attribute
|
|
20
|
+
*/
|
|
21
|
+
"name": string;
|
|
22
|
+
/**
|
|
23
|
+
* The type of an entity attribute
|
|
24
|
+
*/
|
|
25
|
+
"type": model.EntityAttributeType;
|
|
26
|
+
"naturalLanguageMapping"?: model.EntityAttributeNaturalLanguageMapping;
|
|
27
|
+
/**
|
|
28
|
+
* Is the entity attribute multi-value
|
|
29
|
+
*/
|
|
30
|
+
"isMultiValue"?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Is the entity attribute a fuzzy match
|
|
33
|
+
*/
|
|
34
|
+
"isFuzzyMatch"?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Are comparisons inverted in the entity attribute
|
|
37
|
+
*/
|
|
38
|
+
"isInvertComparisons"?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Temporal preference of an attribute
|
|
41
|
+
*/
|
|
42
|
+
"temporalPreference"?: model.TemporalPreference;
|
|
43
|
+
/**
|
|
44
|
+
* Name of referenced entity.
|
|
45
|
+
*/
|
|
46
|
+
"entityName"?: string;
|
|
47
|
+
}
|
|
48
|
+
export declare namespace EntityAttribute {
|
|
49
|
+
function getJsonObj(obj: EntityAttribute): object;
|
|
50
|
+
function getDeserializedJsonObj(obj: EntityAttribute): object;
|
|
51
|
+
}
|