oci-ailanguage 2.82.1 → 2.83.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/lib/aiservicelanguage-waiter.d.ts +8 -0
  2. package/lib/aiservicelanguage-waiter.js +12 -0
  3. package/lib/aiservicelanguage-waiter.js.map +1 -1
  4. package/lib/client.d.ts +101 -36
  5. package/lib/client.js +477 -36
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/change-job-compartment-details.d.ts +30 -0
  8. package/lib/model/change-job-compartment-details.js +32 -0
  9. package/lib/model/change-job-compartment-details.js.map +1 -0
  10. package/lib/model/configuration-details.d.ts +62 -0
  11. package/lib/model/configuration-details.js +32 -0
  12. package/lib/model/configuration-details.js.map +1 -0
  13. package/lib/model/create-job-details.d.ts +47 -0
  14. package/lib/model/create-job-details.js +82 -0
  15. package/lib/model/create-job-details.js.map +1 -0
  16. package/lib/model/documents-configuration.d.ts +34 -0
  17. package/lib/model/documents-configuration.js +32 -0
  18. package/lib/model/documents-configuration.js.map +1 -0
  19. package/lib/model/index.d.ts +28 -0
  20. package/lib/model/index.js +31 -3
  21. package/lib/model/index.js.map +1 -1
  22. package/lib/model/input-configuration.d.ts +43 -0
  23. package/lib/model/input-configuration.js +61 -0
  24. package/lib/model/input-configuration.js.map +1 -0
  25. package/lib/model/input-location.d.ts +28 -0
  26. package/lib/model/input-location.js +75 -0
  27. package/lib/model/input-location.js.map +1 -0
  28. package/lib/model/job-collection.d.ts +29 -0
  29. package/lib/model/job-collection.js +64 -0
  30. package/lib/model/job-collection.js.map +1 -0
  31. package/lib/model/job-summary.d.ts +88 -0
  32. package/lib/model/job-summary.js +32 -0
  33. package/lib/model/job-summary.js.map +1 -0
  34. package/lib/model/job.d.ts +118 -0
  35. package/lib/model/job.js +98 -0
  36. package/lib/model/job.js.map +1 -0
  37. package/lib/model/model-metadata-details.d.ts +87 -0
  38. package/lib/model/model-metadata-details.js +61 -0
  39. package/lib/model/model-metadata-details.js.map +1 -0
  40. package/lib/model/object-prefix-output-location.d.ts +36 -0
  41. package/lib/model/object-prefix-output-location.js +32 -0
  42. package/lib/model/object-prefix-output-location.js.map +1 -0
  43. package/lib/model/object-storage-file-name-location.d.ts +39 -0
  44. package/lib/model/object-storage-file-name-location.js +57 -0
  45. package/lib/model/object-storage-file-name-location.js.map +1 -0
  46. package/lib/model/object-storage-prefix-location.d.ts +39 -0
  47. package/lib/model/object-storage-prefix-location.js +57 -0
  48. package/lib/model/object-storage-prefix-location.js.map +1 -0
  49. package/lib/model/translation-document-result.d.ts +67 -2
  50. package/lib/model/translation-document-result.js.map +1 -1
  51. package/lib/model/update-job-details.d.ts +32 -0
  52. package/lib/model/update-job-details.js +32 -0
  53. package/lib/model/update-job-details.js.map +1 -0
  54. package/lib/request/batch-detect-dominant-language-request.d.ts +1 -1
  55. package/lib/request/batch-detect-language-entities-request.d.ts +1 -1
  56. package/lib/request/batch-detect-language-key-phrases-request.d.ts +1 -1
  57. package/lib/request/batch-detect-language-pii-entities-request.d.ts +1 -1
  58. package/lib/request/batch-detect-language-sentiments-request.d.ts +1 -1
  59. package/lib/request/batch-detect-language-text-classification-request.d.ts +1 -1
  60. package/lib/request/batch-language-translation-request.d.ts +1 -1
  61. package/lib/request/cancel-job-request.d.ts +44 -0
  62. package/lib/request/cancel-job-request.js +15 -0
  63. package/lib/request/cancel-job-request.js.map +1 -0
  64. package/lib/request/change-endpoint-compartment-request.d.ts +1 -1
  65. package/lib/request/change-job-compartment-request.d.ts +49 -0
  66. package/lib/request/change-job-compartment-request.js +15 -0
  67. package/lib/request/change-job-compartment-request.js.map +1 -0
  68. package/lib/request/change-model-compartment-request.d.ts +1 -1
  69. package/lib/request/change-project-compartment-request.d.ts +1 -1
  70. package/lib/request/create-endpoint-request.d.ts +1 -1
  71. package/lib/request/create-job-request.d.ts +36 -0
  72. package/lib/request/create-job-request.js +15 -0
  73. package/lib/request/create-job-request.js.map +1 -0
  74. package/lib/request/create-model-request.d.ts +1 -1
  75. package/lib/request/create-project-request.d.ts +1 -1
  76. package/lib/request/delete-endpoint-request.d.ts +1 -1
  77. package/lib/request/delete-job-request.d.ts +35 -0
  78. package/lib/request/delete-job-request.js +15 -0
  79. package/lib/request/delete-job-request.js.map +1 -0
  80. package/lib/request/delete-model-request.d.ts +1 -1
  81. package/lib/request/delete-project-request.d.ts +1 -1
  82. package/lib/request/detect-dominant-language-request.d.ts +1 -1
  83. package/lib/request/detect-language-entities-request.d.ts +1 -1
  84. package/lib/request/detect-language-key-phrases-request.d.ts +1 -1
  85. package/lib/request/detect-language-sentiments-request.d.ts +1 -1
  86. package/lib/request/detect-language-text-classification-request.d.ts +1 -1
  87. package/lib/request/get-endpoint-request.d.ts +1 -1
  88. package/lib/request/get-job-request.d.ts +26 -0
  89. package/lib/request/get-job-request.js +15 -0
  90. package/lib/request/get-job-request.js.map +1 -0
  91. package/lib/request/get-model-request.d.ts +1 -1
  92. package/lib/request/get-model-type-request.d.ts +1 -1
  93. package/lib/request/get-project-request.d.ts +1 -1
  94. package/lib/request/get-work-request-request.d.ts +1 -1
  95. package/lib/request/index.d.ts +14 -0
  96. package/lib/request/index.js +3 -1
  97. package/lib/request/index.js.map +1 -1
  98. package/lib/request/list-endpoints-request.d.ts +1 -1
  99. package/lib/request/list-evaluation-results-request.d.ts +1 -1
  100. package/lib/request/list-jobs-request.d.ts +62 -0
  101. package/lib/request/list-jobs-request.js +24 -0
  102. package/lib/request/list-jobs-request.js.map +1 -0
  103. package/lib/request/list-models-request.d.ts +1 -1
  104. package/lib/request/list-projects-request.d.ts +1 -1
  105. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  106. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  107. package/lib/request/list-work-requests-request.d.ts +1 -1
  108. package/lib/request/update-endpoint-request.d.ts +1 -1
  109. package/lib/request/update-job-request.d.ts +40 -0
  110. package/lib/request/update-job-request.js +15 -0
  111. package/lib/request/update-job-request.js.map +1 -0
  112. package/lib/request/update-model-request.d.ts +1 -1
  113. package/lib/request/update-project-request.d.ts +1 -1
  114. package/lib/response/cancel-job-response.d.ts +20 -0
  115. package/lib/response/cancel-job-response.js +15 -0
  116. package/lib/response/cancel-job-response.js.map +1 -0
  117. package/lib/response/change-job-compartment-response.d.ts +20 -0
  118. package/lib/response/change-job-compartment-response.js +15 -0
  119. package/lib/response/change-job-compartment-response.js.map +1 -0
  120. package/lib/response/create-job-response.d.ts +35 -0
  121. package/lib/response/create-job-response.js +15 -0
  122. package/lib/response/create-job-response.js.map +1 -0
  123. package/lib/response/delete-job-response.d.ts +25 -0
  124. package/lib/response/delete-job-response.js +15 -0
  125. package/lib/response/delete-job-response.js.map +1 -0
  126. package/lib/response/get-job-response.d.ts +30 -0
  127. package/lib/response/get-job-response.js +15 -0
  128. package/lib/response/get-job-response.js.map +1 -0
  129. package/lib/response/index.d.ts +14 -0
  130. package/lib/response/list-jobs-response.d.ts +32 -0
  131. package/lib/response/list-jobs-response.js +15 -0
  132. package/lib/response/list-jobs-response.js.map +1 -0
  133. package/lib/response/update-job-response.d.ts +30 -0
  134. package/lib/response/update-job-response.js +15 -0
  135. package/lib/response/update-job-response.js.map +1 -0
  136. package/package.json +3 -3
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /**
3
+ * Language API
4
+ * OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
5
+ pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
6
+ This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
7
+
8
+ * OpenAPI spec version: 20221001
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
15
+ * 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.
16
+ */
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ObjectStorageFileNameLocation = void 0;
38
+ const model = __importStar(require("../model"));
39
+ var ObjectStorageFileNameLocation;
40
+ (function (ObjectStorageFileNameLocation) {
41
+ function getJsonObj(obj, isParentJsonObj) {
42
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
43
+ ? obj
44
+ : model.InputLocation.getJsonObj(obj))), {});
45
+ return jsonObj;
46
+ }
47
+ ObjectStorageFileNameLocation.getJsonObj = getJsonObj;
48
+ ObjectStorageFileNameLocation.locationType = "OBJECT_STORAGE_FILE_LIST";
49
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
50
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
51
+ ? obj
52
+ : model.InputLocation.getDeserializedJsonObj(obj))), {});
53
+ return jsonObj;
54
+ }
55
+ ObjectStorageFileNameLocation.getDeserializedJsonObj = getDeserializedJsonObj;
56
+ })(ObjectStorageFileNameLocation = exports.ObjectStorageFileNameLocation || (exports.ObjectStorageFileNameLocation = {}));
57
+ //# sourceMappingURL=object-storage-file-name-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object-storage-file-name-location.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/object-storage-file-name-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuBlC,IAAiB,6BAA6B,CA4B7C;AA5BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CACxB,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAmC,CAAC,GACxE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,wCAAU,aAYzB,CAAA;IACY,0CAAY,GAAG,0BAA0B,CAAC;IACvD,SAAgB,sBAAsB,CACpC,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAmC,CAAC,GACpF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,oDAAsB,yBAYrC,CAAA;AACH,CAAC,EA5BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA4B7C"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Language API
3
+ * OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
4
+ pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
5
+ This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
6
+
7
+ * OpenAPI spec version: 20221001
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
14
+ * 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.
15
+ */
16
+ import * as model from "../model";
17
+ /**
18
+ * Properties specific to object storage prefix location
19
+ */
20
+ export interface ObjectStoragePrefixLocation extends model.InputLocation {
21
+ /**
22
+ * Object Storage namespace name.
23
+ */
24
+ "namespaceName": string;
25
+ /**
26
+ * Object Storage bucket name.
27
+ */
28
+ "bucketName": string;
29
+ /**
30
+ * The prefix (directory) in an Object Storage bucket.
31
+ */
32
+ "prefix"?: string;
33
+ "locationType": string;
34
+ }
35
+ export declare namespace ObjectStoragePrefixLocation {
36
+ function getJsonObj(obj: ObjectStoragePrefixLocation, isParentJsonObj?: boolean): object;
37
+ const locationType = "OBJECT_STORAGE_PREFIX";
38
+ function getDeserializedJsonObj(obj: ObjectStoragePrefixLocation, isParentJsonObj?: boolean): object;
39
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /**
3
+ * Language API
4
+ * OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
5
+ pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
6
+ This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
7
+
8
+ * OpenAPI spec version: 20221001
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
15
+ * 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.
16
+ */
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ObjectStoragePrefixLocation = void 0;
38
+ const model = __importStar(require("../model"));
39
+ var ObjectStoragePrefixLocation;
40
+ (function (ObjectStoragePrefixLocation) {
41
+ function getJsonObj(obj, isParentJsonObj) {
42
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
43
+ ? obj
44
+ : model.InputLocation.getJsonObj(obj))), {});
45
+ return jsonObj;
46
+ }
47
+ ObjectStoragePrefixLocation.getJsonObj = getJsonObj;
48
+ ObjectStoragePrefixLocation.locationType = "OBJECT_STORAGE_PREFIX";
49
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
50
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
51
+ ? obj
52
+ : model.InputLocation.getDeserializedJsonObj(obj))), {});
53
+ return jsonObj;
54
+ }
55
+ ObjectStoragePrefixLocation.getDeserializedJsonObj = getDeserializedJsonObj;
56
+ })(ObjectStoragePrefixLocation = exports.ObjectStoragePrefixLocation || (exports.ObjectStoragePrefixLocation = {}));
57
+ //# sourceMappingURL=object-storage-prefix-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object-storage-prefix-location.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/object-storage-prefix-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuBlC,IAAiB,2BAA2B,CAyB3C;AAzBD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAiC,CAAC,GACtE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,sCAAU,aASzB,CAAA;IACY,wCAAY,GAAG,uBAAuB,CAAC;IACpD,SAAgB,sBAAsB,CACpC,GAAgC,EAChC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAiC,CAAC,GAClF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,kDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAyB3C"}
@@ -26,11 +26,76 @@ export interface TranslationDocumentResult {
26
26
  */
27
27
  "translatedText": string;
28
28
  /**
29
- * Language code of the document. Please refer to respective model [API documentation](https://docs.cloud.oracle.com/iaas/language/using/overview.htm) for supported languages.
29
+ * Language code supported
30
+ * Automatically detect language - auto
31
+ * Arabic - ar
32
+ * Brazilian Portuguese - pt-BR
33
+ * Canadian French - fr-CA
34
+ * Croatian - hr
35
+ * Czech - cs
36
+ * Danish - da
37
+ * Dutch - nl
38
+ * English - en
39
+ * Finnish - fi
40
+ * French - fr
41
+ * German - de
42
+ * Greek - el
43
+ * Hebrew - he
44
+ * Hungarian - hu
45
+ * Italian - it
46
+ * Japanese - ja
47
+ * Korean - ko
48
+ * Norwegian - no
49
+ * Polish - pl
50
+ * Portuguese - pt
51
+ * Romanian - ro
52
+ * Russian - ru
53
+ * Simplified Chinese - zh-CN
54
+ * Slovak - sk
55
+ * Slovenian - sl
56
+ * Spanish - es
57
+ * Swedish - sv
58
+ * Thai - th
59
+ * Traditional Chinese - zh-TW
60
+ * Turkish - tr
61
+ * Vietnamese - vi
62
+ *
30
63
  */
31
64
  "sourceLanguageCode": string;
32
65
  /**
33
- * Language code of the document. Please refer to respective model [API documentation](https://docs.cloud.oracle.com/iaas/language/using/overview.htm) for supported languages.
66
+ * Language code supported
67
+ * Arabic - ar
68
+ * Brazilian Portuguese - pt-BR
69
+ * Canadian French - fr-CA
70
+ * Croatian - hr
71
+ * Czech - cs
72
+ * Danish - da
73
+ * Dutch - nl
74
+ * English - en
75
+ * Finnish - fi
76
+ * French - fr
77
+ * German - de
78
+ * Greek - el
79
+ * Hebrew - he
80
+ * Hungarian - hu
81
+ * Italian - it
82
+ * Japanese - ja
83
+ * Korean - ko
84
+ * Norwegian - no
85
+ * Polish - pl
86
+ * Portuguese - pt
87
+ * Romanian - ro
88
+ * Russian - ru
89
+ * Simplified Chinese - zh-CN
90
+ * Slovak - sk
91
+ * Slovenian - sl
92
+ * Spanish - es
93
+ * Swedish - sv
94
+ * Thai - th
95
+ * Traditional Chinese - zh-TW
96
+ * Turkish - tr
97
+ * Vietnamese - vi
98
+ *
34
99
  */
35
100
  "targetLanguageCode": string;
36
101
  }
@@ -1 +1 @@
1
- {"version":3,"file":"translation-document-result.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/translation-document-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA2BH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
1
+ {"version":3,"file":"translation-document-result.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/translation-document-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA4FH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Language API
3
+ * OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
4
+ pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
5
+ This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
6
+
7
+ * OpenAPI spec version: 20221001
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
14
+ * 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.
15
+ */
16
+ /**
17
+ * The information to be updated.
18
+ */
19
+ export interface UpdateJobDetails {
20
+ /**
21
+ * A user-friendly display name for the job.
22
+ */
23
+ "displayName"?: string;
24
+ /**
25
+ * A short description of the job.
26
+ */
27
+ "description"?: string;
28
+ }
29
+ export declare namespace UpdateJobDetails {
30
+ function getJsonObj(obj: UpdateJobDetails): object;
31
+ function getDeserializedJsonObj(obj: UpdateJobDetails): object;
32
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * Language API
4
+ * OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
5
+ pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
6
+ This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
7
+
8
+ * OpenAPI spec version: 20221001
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
15
+ * 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.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UpdateJobDetails = void 0;
19
+ var UpdateJobDetails;
20
+ (function (UpdateJobDetails) {
21
+ function getJsonObj(obj) {
22
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
23
+ return jsonObj;
24
+ }
25
+ UpdateJobDetails.getJsonObj = getJsonObj;
26
+ function getDeserializedJsonObj(obj) {
27
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
28
+ return jsonObj;
29
+ }
30
+ UpdateJobDetails.getDeserializedJsonObj = getDeserializedJsonObj;
31
+ })(UpdateJobDetails = exports.UpdateJobDetails || (exports.UpdateJobDetails = {}));
32
+ //# sourceMappingURL=update-job-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-job-details.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/update-job-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAmBH,IAAiB,gBAAgB,CAWhC;AAXD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAWhC"}
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/BatchDetectDominantLanguage.ts.html |here} to see how to use BatchDetectDominantLanguageRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/BatchDetectDominantLanguage.ts.html |here} to see how to use BatchDetectDominantLanguageRequest.
17
17
  */
18
18
  export interface BatchDetectDominantLanguageRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/BatchDetectLanguageEntities.ts.html |here} to see how to use BatchDetectLanguageEntitiesRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/BatchDetectLanguageEntities.ts.html |here} to see how to use BatchDetectLanguageEntitiesRequest.
17
17
  */
18
18
  export interface BatchDetectLanguageEntitiesRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/BatchDetectLanguageKeyPhrases.ts.html |here} to see how to use BatchDetectLanguageKeyPhrasesRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/BatchDetectLanguageKeyPhrases.ts.html |here} to see how to use BatchDetectLanguageKeyPhrasesRequest.
17
17
  */
18
18
  export interface BatchDetectLanguageKeyPhrasesRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/BatchDetectLanguagePiiEntities.ts.html |here} to see how to use BatchDetectLanguagePiiEntitiesRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/BatchDetectLanguagePiiEntities.ts.html |here} to see how to use BatchDetectLanguagePiiEntitiesRequest.
17
17
  */
18
18
  export interface BatchDetectLanguagePiiEntitiesRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/BatchDetectLanguageSentiments.ts.html |here} to see how to use BatchDetectLanguageSentimentsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/BatchDetectLanguageSentiments.ts.html |here} to see how to use BatchDetectLanguageSentimentsRequest.
17
17
  */
18
18
  export interface BatchDetectLanguageSentimentsRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/BatchDetectLanguageTextClassification.ts.html |here} to see how to use BatchDetectLanguageTextClassificationRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/BatchDetectLanguageTextClassification.ts.html |here} to see how to use BatchDetectLanguageTextClassificationRequest.
17
17
  */
18
18
  export interface BatchDetectLanguageTextClassificationRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/BatchLanguageTranslation.ts.html |here} to see how to use BatchLanguageTranslationRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/BatchLanguageTranslation.ts.html |here} to see how to use BatchLanguageTranslationRequest.
17
17
  */
18
18
  export interface BatchLanguageTranslationRequest extends common.BaseRequest {
19
19
  /**
@@ -0,0 +1,44 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20221001
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 common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/CancelJob.ts.html |here} to see how to use CancelJobRequest.
16
+ */
17
+ export interface CancelJobRequest extends common.BaseRequest {
18
+ /**
19
+ * Unique Transcription Job identifier.
20
+ */
21
+ "jobId": string;
22
+ /**
23
+ * For optimistic concurrency control. In the PUT or DELETE call
24
+ * for a resource, set the {@code if-match} parameter to the value of the
25
+ * etag from a previous GET or POST response for that resource.
26
+ * The resource will be updated or deleted only if the etag you
27
+ * provide matches the resource's current etag value.
28
+ *
29
+ */
30
+ "ifMatch"?: string;
31
+ /**
32
+ * The client request ID for tracing.
33
+ */
34
+ "opcRequestId"?: string;
35
+ /**
36
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
37
+ * server error without risk of executing that same action again. Retry tokens expire after 24
38
+ * hours, but can be invalidated before then due to conflicting operations. For example, if a resource
39
+ * has been deleted and purged from the system, then a retry of the original creation request
40
+ * might be rejected.
41
+ *
42
+ */
43
+ "opcRetryToken"?: string;
44
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20221001
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
+ //# sourceMappingURL=cancel-job-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-job-request.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/request/cancel-job-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/ChangeEndpointCompartment.ts.html |here} to see how to use ChangeEndpointCompartmentRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/ChangeEndpointCompartment.ts.html |here} to see how to use ChangeEndpointCompartmentRequest.
17
17
  */
18
18
  export interface ChangeEndpointCompartmentRequest extends common.BaseRequest {
19
19
  /**
@@ -0,0 +1,49 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20221001
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
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartmentRequest.
17
+ */
18
+ export interface ChangeJobCompartmentRequest extends common.BaseRequest {
19
+ /**
20
+ * unique job OCID.
21
+ */
22
+ "jobId": string;
23
+ /**
24
+ *
25
+ */
26
+ "changeJobCompartmentDetails": model.ChangeJobCompartmentDetails;
27
+ /**
28
+ * Unique identifier for the request.
29
+ * If you need to contact Oracle about a particular request, please provide the request ID.
30
+ *
31
+ */
32
+ "opcRequestId"?: string;
33
+ /**
34
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match}
35
+ * parameter to the value of the etag from a previous GET or POST response for that resource. The resource
36
+ * will be updated or deleted only if the etag you provide matches the resource's current etag value.
37
+ *
38
+ */
39
+ "ifMatch"?: string;
40
+ /**
41
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
42
+ * server error without risk of executing that same action again. Retry tokens expire after 24
43
+ * hours, but can be invalidated before then due to conflicting operations (for example, if a resource
44
+ * has been deleted and purged from the system, then a retry of the original creation request
45
+ * may be rejected).
46
+ *
47
+ */
48
+ "opcRetryToken"?: string;
49
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20221001
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
+ //# sourceMappingURL=change-job-compartment-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"change-job-compartment-request.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/request/change-job-compartment-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartmentRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartmentRequest.
17
17
  */
18
18
  export interface ChangeModelCompartmentRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartmentRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartmentRequest.
17
17
  */
18
18
  export interface ChangeProjectCompartmentRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/CreateEndpoint.ts.html |here} to see how to use CreateEndpointRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/CreateEndpoint.ts.html |here} to see how to use CreateEndpointRequest.
17
17
  */
18
18
  export interface CreateEndpointRequest extends common.BaseRequest {
19
19
  /**
@@ -0,0 +1,36 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20221001
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
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/CreateJob.ts.html |here} to see how to use CreateJobRequest.
17
+ */
18
+ export interface CreateJobRequest extends common.BaseRequest {
19
+ /**
20
+ * Details for the new job.
21
+ */
22
+ "createJobDetails": model.CreateJobDetails;
23
+ /**
24
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
25
+ * server error without risk of executing that same action again. Retry tokens expire after 24
26
+ * hours, but can be invalidated before then due to conflicting operations. For example, if a resource
27
+ * has been deleted and purged from the system, then a retry of the original creation request
28
+ * might be rejected.
29
+ *
30
+ */
31
+ "opcRetryToken"?: string;
32
+ /**
33
+ * The client request ID for tracing.
34
+ */
35
+ "opcRequestId"?: string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20221001
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
+ //# sourceMappingURL=create-job-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-job-request.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/request/create-job-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/ailanguage/CreateModel.ts.html |here} to see how to use CreateModelRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/ailanguage/CreateModel.ts.html |here} to see how to use CreateModelRequest.
17
17
  */
18
18
  export interface CreateModelRequest extends common.BaseRequest {
19
19
  /**