oci-functions 2.117.1 → 2.118.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/lib/model/create-function-details.d.ts +6 -0
  2. package/lib/model/create-function-details.js +12 -0
  3. package/lib/model/create-function-details.js.map +1 -1
  4. package/lib/model/failure-destination-details.d.ts +27 -0
  5. package/lib/model/failure-destination-details.js +81 -0
  6. package/lib/model/failure-destination-details.js.map +1 -0
  7. package/lib/model/function-summary.d.ts +6 -0
  8. package/lib/model/function-summary.js +12 -0
  9. package/lib/model/function-summary.js.map +1 -1
  10. package/lib/model/function.d.ts +9 -0
  11. package/lib/model/function.js +12 -0
  12. package/lib/model/function.js.map +1 -1
  13. package/lib/model/index.d.ts +20 -0
  14. package/lib/model/index.js +21 -1
  15. package/lib/model/index.js.map +1 -1
  16. package/lib/model/none-failure-destination-details.d.ts +28 -0
  17. package/lib/model/none-failure-destination-details.js +55 -0
  18. package/lib/model/none-failure-destination-details.js.map +1 -0
  19. package/lib/model/none-success-destination-details.d.ts +28 -0
  20. package/lib/model/none-success-destination-details.js +55 -0
  21. package/lib/model/none-success-destination-details.js.map +1 -0
  22. package/lib/model/notification-failure-destination-details.d.ts +33 -0
  23. package/lib/model/notification-failure-destination-details.js +55 -0
  24. package/lib/model/notification-failure-destination-details.js.map +1 -0
  25. package/lib/model/notification-success-destination-details.d.ts +33 -0
  26. package/lib/model/notification-success-destination-details.js +55 -0
  27. package/lib/model/notification-success-destination-details.js.map +1 -0
  28. package/lib/model/queue-failure-destination-details.d.ts +38 -0
  29. package/lib/model/queue-failure-destination-details.js +55 -0
  30. package/lib/model/queue-failure-destination-details.js.map +1 -0
  31. package/lib/model/queue-success-destination-details.d.ts +38 -0
  32. package/lib/model/queue-success-destination-details.js +55 -0
  33. package/lib/model/queue-success-destination-details.js.map +1 -0
  34. package/lib/model/stream-failure-destination-details.d.ts +33 -0
  35. package/lib/model/stream-failure-destination-details.js +55 -0
  36. package/lib/model/stream-failure-destination-details.js.map +1 -0
  37. package/lib/model/stream-success-destination-details.d.ts +33 -0
  38. package/lib/model/stream-success-destination-details.js +55 -0
  39. package/lib/model/stream-success-destination-details.js.map +1 -0
  40. package/lib/model/success-destination-details.d.ts +27 -0
  41. package/lib/model/success-destination-details.js +81 -0
  42. package/lib/model/success-destination-details.js.map +1 -0
  43. package/lib/model/update-function-details.d.ts +6 -0
  44. package/lib/model/update-function-details.js +12 -0
  45. package/lib/model/update-function-details.js.map +1 -1
  46. package/package.json +3 -3
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /**
3
+ * Functions Service API
4
+ * API for the Functions service.
5
+
6
+ * OpenAPI spec version: 20181201
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.NotificationFailureDestinationDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var NotificationFailureDestinationDetails;
38
+ (function (NotificationFailureDestinationDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.FailureDestinationDetails.getJsonObj(obj))), {});
43
+ return jsonObj;
44
+ }
45
+ NotificationFailureDestinationDetails.getJsonObj = getJsonObj;
46
+ NotificationFailureDestinationDetails.kind = "NOTIFICATION";
47
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.FailureDestinationDetails.getDeserializedJsonObj(obj))), {});
51
+ return jsonObj;
52
+ }
53
+ NotificationFailureDestinationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
54
+ })(NotificationFailureDestinationDetails = exports.NotificationFailureDestinationDetails || (exports.NotificationFailureDestinationDetails = {}));
55
+ //# sourceMappingURL=notification-failure-destination-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-failure-destination-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/notification-failure-destination-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,qCAAqC,CAgCrD;AAhCD,WAAiB,qCAAqC;IACpD,SAAgB,UAAU,CACxB,GAA0C,EAC1C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CACzC,GAAG,CACsC,CAAC,GAC7C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,gDAAU,aAczB,CAAA;IACY,0CAAI,GAAG,cAAc,CAAC;IACnC,SAAgB,sBAAsB,CACpC,GAA0C,EAC1C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CACsC,CAAC,GAC7C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,4DAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QAgCrD"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Functions Service API
3
+ * API for the Functions service.
4
+
5
+ * OpenAPI spec version: 20181201
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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
+ import * as model from "../model";
15
+ /**
16
+ * The destination topic in the Notifications service to which to send the response of the successful detached function invocation.
17
+ * <p>
18
+ Example: {@code {\"kind\": \"NOTIFICATION\", \"topicId\": \"topic_OCID\"}}
19
+ *
20
+ */
21
+ export interface NotificationSuccessDestinationDetails extends model.SuccessDestinationDetails {
22
+ /**
23
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic.
24
+ *
25
+ */
26
+ "topicId": string;
27
+ "kind": string;
28
+ }
29
+ export declare namespace NotificationSuccessDestinationDetails {
30
+ function getJsonObj(obj: NotificationSuccessDestinationDetails, isParentJsonObj?: boolean): object;
31
+ const kind = "NOTIFICATION";
32
+ function getDeserializedJsonObj(obj: NotificationSuccessDestinationDetails, isParentJsonObj?: boolean): object;
33
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /**
3
+ * Functions Service API
4
+ * API for the Functions service.
5
+
6
+ * OpenAPI spec version: 20181201
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.NotificationSuccessDestinationDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var NotificationSuccessDestinationDetails;
38
+ (function (NotificationSuccessDestinationDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.SuccessDestinationDetails.getJsonObj(obj))), {});
43
+ return jsonObj;
44
+ }
45
+ NotificationSuccessDestinationDetails.getJsonObj = getJsonObj;
46
+ NotificationSuccessDestinationDetails.kind = "NOTIFICATION";
47
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.SuccessDestinationDetails.getDeserializedJsonObj(obj))), {});
51
+ return jsonObj;
52
+ }
53
+ NotificationSuccessDestinationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
54
+ })(NotificationSuccessDestinationDetails = exports.NotificationSuccessDestinationDetails || (exports.NotificationSuccessDestinationDetails = {}));
55
+ //# sourceMappingURL=notification-success-destination-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-success-destination-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/notification-success-destination-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,qCAAqC,CAgCrD;AAhCD,WAAiB,qCAAqC;IACpD,SAAgB,UAAU,CACxB,GAA0C,EAC1C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CACzC,GAAG,CACsC,CAAC,GAC7C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,gDAAU,aAczB,CAAA;IACY,0CAAI,GAAG,cAAc,CAAC;IACnC,SAAgB,sBAAsB,CACpC,GAA0C,EAC1C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CACsC,CAAC,GAC7C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,4DAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QAgCrD"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Functions Service API
3
+ * API for the Functions service.
4
+
5
+ * OpenAPI spec version: 20181201
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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
+ import * as model from "../model";
15
+ /**
16
+ * The destination queue or channel in the Queue service to which to send the response of the failed detached function invocation.
17
+ * <p>
18
+ Example: {@code {\"kind\": \"QUEUE\", \"queueId\": \"queue_OCID\", \"channelId\": \"channel_Id\"}}
19
+ *
20
+ */
21
+ export interface QueueFailureDestinationDetails extends model.FailureDestinationDetails {
22
+ /**
23
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the queue.
24
+ *
25
+ */
26
+ "queueId": string;
27
+ /**
28
+ * The ID of the channel in the queue.
29
+ *
30
+ */
31
+ "channelId"?: string;
32
+ "kind": string;
33
+ }
34
+ export declare namespace QueueFailureDestinationDetails {
35
+ function getJsonObj(obj: QueueFailureDestinationDetails, isParentJsonObj?: boolean): object;
36
+ const kind = "QUEUE";
37
+ function getDeserializedJsonObj(obj: QueueFailureDestinationDetails, isParentJsonObj?: boolean): object;
38
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /**
3
+ * Functions Service API
4
+ * API for the Functions service.
5
+
6
+ * OpenAPI spec version: 20181201
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.QueueFailureDestinationDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var QueueFailureDestinationDetails;
38
+ (function (QueueFailureDestinationDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.FailureDestinationDetails.getJsonObj(obj))), {});
43
+ return jsonObj;
44
+ }
45
+ QueueFailureDestinationDetails.getJsonObj = getJsonObj;
46
+ QueueFailureDestinationDetails.kind = "QUEUE";
47
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.FailureDestinationDetails.getDeserializedJsonObj(obj))), {});
51
+ return jsonObj;
52
+ }
53
+ QueueFailureDestinationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
54
+ })(QueueFailureDestinationDetails = exports.QueueFailureDestinationDetails || (exports.QueueFailureDestinationDetails = {}));
55
+ //# sourceMappingURL=queue-failure-destination-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue-failure-destination-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/queue-failure-destination-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwBlC,IAAiB,8BAA8B,CA8B9C;AA9BD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CACxB,GAAmC,EACnC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAoC,CAAC,GACrF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,yCAAU,aAYzB,CAAA;IACY,mCAAI,GAAG,OAAO,CAAC;IAC5B,SAAgB,sBAAsB,CACpC,GAAmC,EACnC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CAC+B,CAAC,GACtC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,qDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QA8B9C"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Functions Service API
3
+ * API for the Functions service.
4
+
5
+ * OpenAPI spec version: 20181201
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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
+ import * as model from "../model";
15
+ /**
16
+ * The destination queue or channel in the Queue service to which to send the response of the successful detached function invocation.
17
+ * <p>
18
+ Example: {@code {\"kind\": \"QUEUE\", \"queueId\": \"queue_OCID\", \"channelId\": \"channel_Id\"}}
19
+ *
20
+ */
21
+ export interface QueueSuccessDestinationDetails extends model.SuccessDestinationDetails {
22
+ /**
23
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the queue.
24
+ *
25
+ */
26
+ "queueId": string;
27
+ /**
28
+ * The ID of the channel in the queue.
29
+ *
30
+ */
31
+ "channelId"?: string;
32
+ "kind": string;
33
+ }
34
+ export declare namespace QueueSuccessDestinationDetails {
35
+ function getJsonObj(obj: QueueSuccessDestinationDetails, isParentJsonObj?: boolean): object;
36
+ const kind = "QUEUE";
37
+ function getDeserializedJsonObj(obj: QueueSuccessDestinationDetails, isParentJsonObj?: boolean): object;
38
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /**
3
+ * Functions Service API
4
+ * API for the Functions service.
5
+
6
+ * OpenAPI spec version: 20181201
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.QueueSuccessDestinationDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var QueueSuccessDestinationDetails;
38
+ (function (QueueSuccessDestinationDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.SuccessDestinationDetails.getJsonObj(obj))), {});
43
+ return jsonObj;
44
+ }
45
+ QueueSuccessDestinationDetails.getJsonObj = getJsonObj;
46
+ QueueSuccessDestinationDetails.kind = "QUEUE";
47
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.SuccessDestinationDetails.getDeserializedJsonObj(obj))), {});
51
+ return jsonObj;
52
+ }
53
+ QueueSuccessDestinationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
54
+ })(QueueSuccessDestinationDetails = exports.QueueSuccessDestinationDetails || (exports.QueueSuccessDestinationDetails = {}));
55
+ //# sourceMappingURL=queue-success-destination-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue-success-destination-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/queue-success-destination-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwBlC,IAAiB,8BAA8B,CA8B9C;AA9BD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CACxB,GAAmC,EACnC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAoC,CAAC,GACrF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,yCAAU,aAYzB,CAAA;IACY,mCAAI,GAAG,OAAO,CAAC;IAC5B,SAAgB,sBAAsB,CACpC,GAAmC,EACnC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CAC+B,CAAC,GACtC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,qDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QA8B9C"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Functions Service API
3
+ * API for the Functions service.
4
+
5
+ * OpenAPI spec version: 20181201
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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
+ import * as model from "../model";
15
+ /**
16
+ * The destination stream in the Streaming service to which to send the response of the failed detached function invocation.
17
+ * <p>
18
+ Example: {@code {\"kind\": \"STREAM\", \"streamId\": \"stream_OCID\"}}
19
+ *
20
+ */
21
+ export interface StreamFailureDestinationDetails extends model.FailureDestinationDetails {
22
+ /**
23
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream.
24
+ *
25
+ */
26
+ "streamId": string;
27
+ "kind": string;
28
+ }
29
+ export declare namespace StreamFailureDestinationDetails {
30
+ function getJsonObj(obj: StreamFailureDestinationDetails, isParentJsonObj?: boolean): object;
31
+ const kind = "STREAM";
32
+ function getDeserializedJsonObj(obj: StreamFailureDestinationDetails, isParentJsonObj?: boolean): object;
33
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /**
3
+ * Functions Service API
4
+ * API for the Functions service.
5
+
6
+ * OpenAPI spec version: 20181201
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.StreamFailureDestinationDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var StreamFailureDestinationDetails;
38
+ (function (StreamFailureDestinationDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.FailureDestinationDetails.getJsonObj(obj))), {});
43
+ return jsonObj;
44
+ }
45
+ StreamFailureDestinationDetails.getJsonObj = getJsonObj;
46
+ StreamFailureDestinationDetails.kind = "STREAM";
47
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.FailureDestinationDetails.getDeserializedJsonObj(obj))), {});
51
+ return jsonObj;
52
+ }
53
+ StreamFailureDestinationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
54
+ })(StreamFailureDestinationDetails = exports.StreamFailureDestinationDetails || (exports.StreamFailureDestinationDetails = {}));
55
+ //# sourceMappingURL=stream-failure-destination-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream-failure-destination-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/stream-failure-destination-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,+BAA+B,CA8B/C;AA9BD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CACxB,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAqC,CAAC,GACtF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,0CAAU,aAYzB,CAAA;IACY,oCAAI,GAAG,QAAQ,CAAC;IAC7B,SAAgB,sBAAsB,CACpC,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CACgC,CAAC,GACvC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,sDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QA8B/C"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Functions Service API
3
+ * API for the Functions service.
4
+
5
+ * OpenAPI spec version: 20181201
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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
+ import * as model from "../model";
15
+ /**
16
+ * The destination stream in the Streaming service to which to send the response of the successful detached function invocation.
17
+ * <p>
18
+ Example: {@code {\"kind\": \"STREAM\", \"streamId\": \"stream_OCID\"}}
19
+ *
20
+ */
21
+ export interface StreamSuccessDestinationDetails extends model.SuccessDestinationDetails {
22
+ /**
23
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream.
24
+ *
25
+ */
26
+ "streamId": string;
27
+ "kind": string;
28
+ }
29
+ export declare namespace StreamSuccessDestinationDetails {
30
+ function getJsonObj(obj: StreamSuccessDestinationDetails, isParentJsonObj?: boolean): object;
31
+ const kind = "STREAM";
32
+ function getDeserializedJsonObj(obj: StreamSuccessDestinationDetails, isParentJsonObj?: boolean): object;
33
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /**
3
+ * Functions Service API
4
+ * API for the Functions service.
5
+
6
+ * OpenAPI spec version: 20181201
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.StreamSuccessDestinationDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var StreamSuccessDestinationDetails;
38
+ (function (StreamSuccessDestinationDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.SuccessDestinationDetails.getJsonObj(obj))), {});
43
+ return jsonObj;
44
+ }
45
+ StreamSuccessDestinationDetails.getJsonObj = getJsonObj;
46
+ StreamSuccessDestinationDetails.kind = "STREAM";
47
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.SuccessDestinationDetails.getDeserializedJsonObj(obj))), {});
51
+ return jsonObj;
52
+ }
53
+ StreamSuccessDestinationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
54
+ })(StreamSuccessDestinationDetails = exports.StreamSuccessDestinationDetails || (exports.StreamSuccessDestinationDetails = {}));
55
+ //# sourceMappingURL=stream-success-destination-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream-success-destination-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/stream-success-destination-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,+BAA+B,CA8B/C;AA9BD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CACxB,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAqC,CAAC,GACtF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,0CAAU,aAYzB,CAAA;IACY,oCAAI,GAAG,QAAQ,CAAC;IAC7B,SAAgB,sBAAsB,CACpC,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CACgC,CAAC,GACvC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,sDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QA8B/C"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Functions Service API
3
+ * API for the Functions service.
4
+
5
+ * OpenAPI spec version: 20181201
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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
+ /**
15
+ * An object that represents the destination to which Oracle Functions will send an invocation record with the details of the successful detached function invocation.
16
+ * A stream is an example of a success destination.
17
+ * <p>
18
+ Example: {@code {\"kind\": \"STREAM\", \"streamId\": \"stream_OCID\"}}
19
+ *
20
+ */
21
+ export interface SuccessDestinationDetails {
22
+ "kind": string;
23
+ }
24
+ export declare namespace SuccessDestinationDetails {
25
+ function getJsonObj(obj: SuccessDestinationDetails): object;
26
+ function getDeserializedJsonObj(obj: SuccessDestinationDetails): object;
27
+ }
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ /**
3
+ * Functions Service API
4
+ * API for the Functions service.
5
+
6
+ * OpenAPI spec version: 20181201
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
13
+ * 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.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.SuccessDestinationDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ const common = require("oci-common");
38
+ var SuccessDestinationDetails;
39
+ (function (SuccessDestinationDetails) {
40
+ function getJsonObj(obj) {
41
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
42
+ if (obj && "kind" in obj && obj.kind) {
43
+ switch (obj.kind) {
44
+ case "STREAM":
45
+ return model.StreamSuccessDestinationDetails.getJsonObj(jsonObj, true);
46
+ case "NOTIFICATION":
47
+ return model.NotificationSuccessDestinationDetails.getJsonObj(jsonObj, true);
48
+ case "QUEUE":
49
+ return model.QueueSuccessDestinationDetails.getJsonObj(jsonObj, true);
50
+ case "NONE":
51
+ return model.NoneSuccessDestinationDetails.getJsonObj(jsonObj, true);
52
+ default:
53
+ if (common.LOG.logger)
54
+ common.LOG.logger.info(`Unknown value for: ${obj.kind}`);
55
+ }
56
+ }
57
+ return jsonObj;
58
+ }
59
+ SuccessDestinationDetails.getJsonObj = getJsonObj;
60
+ function getDeserializedJsonObj(obj) {
61
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
62
+ if (obj && "kind" in obj && obj.kind) {
63
+ switch (obj.kind) {
64
+ case "STREAM":
65
+ return model.StreamSuccessDestinationDetails.getDeserializedJsonObj(jsonObj, true);
66
+ case "NOTIFICATION":
67
+ return model.NotificationSuccessDestinationDetails.getDeserializedJsonObj(jsonObj, true);
68
+ case "QUEUE":
69
+ return model.QueueSuccessDestinationDetails.getDeserializedJsonObj(jsonObj, true);
70
+ case "NONE":
71
+ return model.NoneSuccessDestinationDetails.getDeserializedJsonObj(jsonObj, true);
72
+ default:
73
+ if (common.LOG.logger)
74
+ common.LOG.logger.info(`Unknown value for: ${obj.kind}`);
75
+ }
76
+ }
77
+ return jsonObj;
78
+ }
79
+ SuccessDestinationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
80
+ })(SuccessDestinationDetails = exports.SuccessDestinationDetails || (exports.SuccessDestinationDetails = {}));
81
+ //# sourceMappingURL=success-destination-details.js.map