oci-functions 2.54.0 → 2.55.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 (110) hide show
  1. package/lib/client.d.ts +66 -12
  2. package/lib/client.js +356 -12
  3. package/lib/client.js.map +1 -1
  4. package/lib/functionsmanagement-waiter.d.ts +16 -0
  5. package/lib/functionsmanagement-waiter.js +24 -0
  6. package/lib/functionsmanagement-waiter.js.map +1 -1
  7. package/lib/model/config-details.d.ts +34 -0
  8. package/lib/model/config-details.js +30 -0
  9. package/lib/model/config-details.js.map +1 -0
  10. package/lib/model/create-function-details.d.ts +2 -1
  11. package/lib/model/create-function-details.js +6 -0
  12. package/lib/model/create-function-details.js.map +1 -1
  13. package/lib/model/function-source-details.d.ts +24 -0
  14. package/lib/model/function-source-details.js +69 -0
  15. package/lib/model/function-source-details.js.map +1 -0
  16. package/lib/model/function-summary.d.ts +2 -15
  17. package/lib/model/function-summary.js +6 -15
  18. package/lib/model/function-summary.js.map +1 -1
  19. package/lib/model/function.d.ts +1 -0
  20. package/lib/model/function.js +6 -0
  21. package/lib/model/function.js.map +1 -1
  22. package/lib/model/index.d.ts +30 -0
  23. package/lib/model/index.js +31 -1
  24. package/lib/model/index.js.map +1 -1
  25. package/lib/model/pbf-listing-summary.d.ts +82 -0
  26. package/lib/model/pbf-listing-summary.js +68 -0
  27. package/lib/model/pbf-listing-summary.js.map +1 -0
  28. package/lib/model/pbf-listing-version-summary.d.ts +89 -0
  29. package/lib/model/pbf-listing-version-summary.js +78 -0
  30. package/lib/model/pbf-listing-version-summary.js.map +1 -0
  31. package/lib/model/pbf-listing-version.d.ts +101 -0
  32. package/lib/model/pbf-listing-version.js +89 -0
  33. package/lib/model/pbf-listing-version.js.map +1 -0
  34. package/lib/model/pbf-listing-versions-collection.d.ts +29 -0
  35. package/lib/model/pbf-listing-versions-collection.js +62 -0
  36. package/lib/model/pbf-listing-versions-collection.js.map +1 -0
  37. package/lib/model/pbf-listing.d.ts +95 -0
  38. package/lib/model/pbf-listing.js +79 -0
  39. package/lib/model/pbf-listing.js.map +1 -0
  40. package/lib/model/pbf-listings-collection.d.ts +27 -0
  41. package/lib/model/pbf-listings-collection.js +62 -0
  42. package/lib/model/pbf-listings-collection.js.map +1 -0
  43. package/lib/model/policy-details.d.ts +30 -0
  44. package/lib/model/policy-details.js +30 -0
  45. package/lib/model/policy-details.js.map +1 -0
  46. package/lib/model/pre-built-function-source-details.d.ts +32 -0
  47. package/lib/model/pre-built-function-source-details.js +55 -0
  48. package/lib/model/pre-built-function-source-details.js.map +1 -0
  49. package/lib/model/publisher-details.d.ts +26 -0
  50. package/lib/model/publisher-details.js +30 -0
  51. package/lib/model/publisher-details.js.map +1 -0
  52. package/lib/model/requirement-details.d.ts +35 -0
  53. package/lib/model/requirement-details.js +62 -0
  54. package/lib/model/requirement-details.js.map +1 -0
  55. package/lib/model/trigger-summary.d.ts +26 -0
  56. package/lib/model/trigger-summary.js +30 -0
  57. package/lib/model/trigger-summary.js.map +1 -0
  58. package/lib/model/trigger.d.ts +26 -0
  59. package/lib/model/trigger.js +30 -0
  60. package/lib/model/trigger.js.map +1 -0
  61. package/lib/model/triggers-collection.d.ts +27 -0
  62. package/lib/model/triggers-collection.js +62 -0
  63. package/lib/model/triggers-collection.js.map +1 -0
  64. package/lib/request/change-application-compartment-request.d.ts +1 -1
  65. package/lib/request/create-application-request.d.ts +1 -1
  66. package/lib/request/create-function-request.d.ts +1 -1
  67. package/lib/request/delete-application-request.d.ts +1 -1
  68. package/lib/request/delete-function-request.d.ts +1 -1
  69. package/lib/request/get-application-request.d.ts +1 -1
  70. package/lib/request/get-function-request.d.ts +1 -1
  71. package/lib/request/get-pbf-listing-request.d.ts +28 -0
  72. package/lib/request/get-pbf-listing-request.js +15 -0
  73. package/lib/request/get-pbf-listing-request.js.map +1 -0
  74. package/lib/request/get-pbf-listing-version-request.d.ts +28 -0
  75. package/lib/request/get-pbf-listing-version-request.js +15 -0
  76. package/lib/request/get-pbf-listing-version-request.js.map +1 -0
  77. package/lib/request/index.d.ts +10 -0
  78. package/lib/request/index.js +7 -1
  79. package/lib/request/index.js.map +1 -1
  80. package/lib/request/invoke-function-request.d.ts +1 -1
  81. package/lib/request/list-applications-request.d.ts +1 -1
  82. package/lib/request/list-functions-request.d.ts +1 -1
  83. package/lib/request/list-pbf-listing-versions-request.d.ts +83 -0
  84. package/lib/request/list-pbf-listing-versions-request.js +29 -0
  85. package/lib/request/list-pbf-listing-versions-request.js.map +1 -0
  86. package/lib/request/list-pbf-listings-request.d.ts +83 -0
  87. package/lib/request/list-pbf-listings-request.js +29 -0
  88. package/lib/request/list-pbf-listings-request.js.map +1 -0
  89. package/lib/request/list-triggers-request.d.ts +54 -0
  90. package/lib/request/list-triggers-request.js +24 -0
  91. package/lib/request/list-triggers-request.js.map +1 -0
  92. package/lib/request/update-application-request.d.ts +1 -1
  93. package/lib/request/update-function-request.d.ts +1 -1
  94. package/lib/response/get-pbf-listing-response.d.ts +30 -0
  95. package/lib/response/get-pbf-listing-response.js +15 -0
  96. package/lib/response/get-pbf-listing-response.js.map +1 -0
  97. package/lib/response/get-pbf-listing-version-response.d.ts +30 -0
  98. package/lib/response/get-pbf-listing-version-response.js +15 -0
  99. package/lib/response/get-pbf-listing-version-response.js.map +1 -0
  100. package/lib/response/index.d.ts +10 -0
  101. package/lib/response/list-pbf-listing-versions-response.d.ts +32 -0
  102. package/lib/response/list-pbf-listing-versions-response.js +15 -0
  103. package/lib/response/list-pbf-listing-versions-response.js.map +1 -0
  104. package/lib/response/list-pbf-listings-response.d.ts +32 -0
  105. package/lib/response/list-pbf-listings-response.js +15 -0
  106. package/lib/response/list-pbf-listings-response.js.map +1 -0
  107. package/lib/response/list-triggers-response.d.ts +32 -0
  108. package/lib/response/list-triggers-response.js +15 -0
  109. package/lib/response/list-triggers-response.js.map +1 -0
  110. package/package.json +3 -3
@@ -0,0 +1,62 @@
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, 2023, 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.PbfListingVersionsCollection = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var PbfListingVersionsCollection;
38
+ (function (PbfListingVersionsCollection) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "items": obj.items
42
+ ? obj.items.map(item => {
43
+ return model.PbfListingVersionSummary.getJsonObj(item);
44
+ })
45
+ : undefined
46
+ });
47
+ return jsonObj;
48
+ }
49
+ PbfListingVersionsCollection.getJsonObj = getJsonObj;
50
+ function getDeserializedJsonObj(obj) {
51
+ const jsonObj = Object.assign(Object.assign({}, obj), {
52
+ "items": obj.items
53
+ ? obj.items.map(item => {
54
+ return model.PbfListingVersionSummary.getDeserializedJsonObj(item);
55
+ })
56
+ : undefined
57
+ });
58
+ return jsonObj;
59
+ }
60
+ PbfListingVersionsCollection.getDeserializedJsonObj = getDeserializedJsonObj;
61
+ })(PbfListingVersionsCollection = exports.PbfListingVersionsCollection || (exports.PbfListingVersionsCollection = {}));
62
+ //# sourceMappingURL=pbf-listing-versions-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pbf-listing-versions-collection.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/pbf-listing-versions-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
@@ -0,0 +1,95 @@
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, 2023, 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
+ * PbfListing resources provide details about the available PBFs for consumption by the user.
17
+ * This resource contains details about PBF's functionality, policies required, configuration parameters expected
18
+ * etc.
19
+ *
20
+ */
21
+ export interface PbfListing {
22
+ /**
23
+ * Unique identifier that is immutable on creation.
24
+ */
25
+ "id": string;
26
+ /**
27
+ * A brief descriptive name for the PBF listing. The PBF listing name must be unique, and not match and existing
28
+ * PBF.
29
+ *
30
+ */
31
+ "name": string;
32
+ /**
33
+ * A short overview of the PBF Listing: the purpose of the PBF and and associated information.
34
+ */
35
+ "description": string;
36
+ "publisherDetails": model.PublisherDetails;
37
+ /**
38
+ * An array of Trigger. A list of triggers that may activate the PBF.
39
+ */
40
+ "triggers"?: Array<model.Trigger>;
41
+ /**
42
+ * The time the PbfListing was created. An RFC3339 formatted datetime string.
43
+ */
44
+ "timeCreated": Date;
45
+ /**
46
+ * The last time the PbfListing was updated. An RFC3339 formatted datetime string.
47
+ */
48
+ "timeUpdated": Date;
49
+ /**
50
+ * The current state of the PBF resource.
51
+ */
52
+ "lifecycleState": PbfListing.LifecycleState;
53
+ /**
54
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
55
+ * Example: `{\"bar-key\": \"value\"}`
56
+ *
57
+ */
58
+ "freeformTags"?: {
59
+ [key: string]: string;
60
+ };
61
+ /**
62
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
63
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
64
+ *
65
+ */
66
+ "definedTags"?: {
67
+ [key: string]: {
68
+ [key: string]: any;
69
+ };
70
+ };
71
+ /**
72
+ * System tags for this resource. Each key is predefined and scoped to a namespace.
73
+ * Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
74
+ *
75
+ */
76
+ "systemTags"?: {
77
+ [key: string]: {
78
+ [key: string]: any;
79
+ };
80
+ };
81
+ }
82
+ export declare namespace PbfListing {
83
+ enum LifecycleState {
84
+ Active = "ACTIVE",
85
+ Inactive = "INACTIVE",
86
+ Deleted = "DELETED",
87
+ /**
88
+ * This value is used if a service returns a value for this enum that is not recognized by this
89
+ * version of the SDK.
90
+ */
91
+ UnknownValue = "UNKNOWN_VALUE"
92
+ }
93
+ function getJsonObj(obj: PbfListing): object;
94
+ function getDeserializedJsonObj(obj: PbfListing): object;
95
+ }
@@ -0,0 +1,79 @@
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, 2023, 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.PbfListing = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var PbfListing;
38
+ (function (PbfListing) {
39
+ let LifecycleState;
40
+ (function (LifecycleState) {
41
+ LifecycleState["Active"] = "ACTIVE";
42
+ LifecycleState["Inactive"] = "INACTIVE";
43
+ LifecycleState["Deleted"] = "DELETED";
44
+ /**
45
+ * This value is used if a service returns a value for this enum that is not recognized by this
46
+ * version of the SDK.
47
+ */
48
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
49
+ })(LifecycleState = PbfListing.LifecycleState || (PbfListing.LifecycleState = {}));
50
+ function getJsonObj(obj) {
51
+ const jsonObj = Object.assign(Object.assign({}, obj), {
52
+ "publisherDetails": obj.publisherDetails
53
+ ? model.PublisherDetails.getJsonObj(obj.publisherDetails)
54
+ : undefined,
55
+ "triggers": obj.triggers
56
+ ? obj.triggers.map(item => {
57
+ return model.Trigger.getJsonObj(item);
58
+ })
59
+ : undefined
60
+ });
61
+ return jsonObj;
62
+ }
63
+ PbfListing.getJsonObj = getJsonObj;
64
+ function getDeserializedJsonObj(obj) {
65
+ const jsonObj = Object.assign(Object.assign({}, obj), {
66
+ "publisherDetails": obj.publisherDetails
67
+ ? model.PublisherDetails.getDeserializedJsonObj(obj.publisherDetails)
68
+ : undefined,
69
+ "triggers": obj.triggers
70
+ ? obj.triggers.map(item => {
71
+ return model.Trigger.getDeserializedJsonObj(item);
72
+ })
73
+ : undefined
74
+ });
75
+ return jsonObj;
76
+ }
77
+ PbfListing.getDeserializedJsonObj = getDeserializedJsonObj;
78
+ })(PbfListing = exports.PbfListing || (exports.PbfListing = {}));
79
+ //# sourceMappingURL=pbf-listing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pbf-listing.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/pbf-listing.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6DlC,IAAiB,UAAU,CA8C1B;AA9CD,WAAiB,UAAU;IACzB,IAAY,cASX;IATD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EATW,cAAc,GAAd,yBAAc,KAAd,yBAAc,QASzB;IAED,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;YACb,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtB,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACxC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,qBAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;YACb,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtB,OAAO,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,iCAAsB,yBAgBrC,CAAA;AACH,CAAC,EA9CgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA8C1B"}
@@ -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, 2023, 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
+ * Results of a PbfListing search. Contains boh PbfListingSummary items and other information, such as metadata.
17
+ */
18
+ export interface PbfListingsCollection {
19
+ /**
20
+ * List of PbfListingSummary.
21
+ */
22
+ "items": Array<model.PbfListingSummary>;
23
+ }
24
+ export declare namespace PbfListingsCollection {
25
+ function getJsonObj(obj: PbfListingsCollection): object;
26
+ function getDeserializedJsonObj(obj: PbfListingsCollection): object;
27
+ }
@@ -0,0 +1,62 @@
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, 2023, 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.PbfListingsCollection = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var PbfListingsCollection;
38
+ (function (PbfListingsCollection) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "items": obj.items
42
+ ? obj.items.map(item => {
43
+ return model.PbfListingSummary.getJsonObj(item);
44
+ })
45
+ : undefined
46
+ });
47
+ return jsonObj;
48
+ }
49
+ PbfListingsCollection.getJsonObj = getJsonObj;
50
+ function getDeserializedJsonObj(obj) {
51
+ const jsonObj = Object.assign(Object.assign({}, obj), {
52
+ "items": obj.items
53
+ ? obj.items.map(item => {
54
+ return model.PbfListingSummary.getDeserializedJsonObj(item);
55
+ })
56
+ : undefined
57
+ });
58
+ return jsonObj;
59
+ }
60
+ PbfListingsCollection.getDeserializedJsonObj = getDeserializedJsonObj;
61
+ })(PbfListingsCollection = exports.PbfListingsCollection || (exports.PbfListingsCollection = {}));
62
+ //# sourceMappingURL=pbf-listings-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pbf-listings-collection.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/pbf-listings-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,qBAAqB,CA6BrC;AA7BD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA6BrC"}
@@ -0,0 +1,30 @@
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, 2023, 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
+ * A policy required for this PBF execution.
16
+ */
17
+ export interface PolicyDetails {
18
+ /**
19
+ * Policy required for PBF execution
20
+ */
21
+ "policy": string;
22
+ /**
23
+ * Details about why this policy is required and what it will be used for.
24
+ */
25
+ "description": string;
26
+ }
27
+ export declare namespace PolicyDetails {
28
+ function getJsonObj(obj: PolicyDetails): object;
29
+ function getDeserializedJsonObj(obj: PolicyDetails): object;
30
+ }
@@ -0,0 +1,30 @@
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, 2023, 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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PolicyDetails = void 0;
17
+ var PolicyDetails;
18
+ (function (PolicyDetails) {
19
+ function getJsonObj(obj) {
20
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
21
+ return jsonObj;
22
+ }
23
+ PolicyDetails.getJsonObj = getJsonObj;
24
+ function getDeserializedJsonObj(obj) {
25
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
26
+ return jsonObj;
27
+ }
28
+ PolicyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
29
+ })(PolicyDetails = exports.PolicyDetails || (exports.PolicyDetails = {}));
30
+ //# sourceMappingURL=policy-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policy-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/policy-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAmBH,IAAiB,aAAa,CAW7B;AAXD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAW7B"}
@@ -0,0 +1,32 @@
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, 2023, 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 source of the Function which is based on a Pre-Built Function Listing (PbfListing).
17
+ *
18
+ */
19
+ export interface PreBuiltFunctionSourceDetails extends model.FunctionSourceDetails {
20
+ /**
21
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PbfListing this
22
+ * function is sourced from.
23
+ *
24
+ */
25
+ "pbfListingId": string;
26
+ "sourceType": string;
27
+ }
28
+ export declare namespace PreBuiltFunctionSourceDetails {
29
+ function getJsonObj(obj: PreBuiltFunctionSourceDetails, isParentJsonObj?: boolean): object;
30
+ const sourceType = "PRE_BUILT_FUNCTIONS";
31
+ function getDeserializedJsonObj(obj: PreBuiltFunctionSourceDetails, isParentJsonObj?: boolean): object;
32
+ }
@@ -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, 2023, 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.PreBuiltFunctionSourceDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var PreBuiltFunctionSourceDetails;
38
+ (function (PreBuiltFunctionSourceDetails) {
39
+ function getJsonObj(obj, isParentJsonObj) {
40
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
41
+ ? obj
42
+ : model.FunctionSourceDetails.getJsonObj(obj))), {});
43
+ return jsonObj;
44
+ }
45
+ PreBuiltFunctionSourceDetails.getJsonObj = getJsonObj;
46
+ PreBuiltFunctionSourceDetails.sourceType = "PRE_BUILT_FUNCTIONS";
47
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
48
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
49
+ ? obj
50
+ : model.FunctionSourceDetails.getDeserializedJsonObj(obj))), {});
51
+ return jsonObj;
52
+ }
53
+ PreBuiltFunctionSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
54
+ })(PreBuiltFunctionSourceDetails = exports.PreBuiltFunctionSourceDetails || (exports.PreBuiltFunctionSourceDetails = {}));
55
+ //# sourceMappingURL=pre-built-function-source-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pre-built-function-source-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/pre-built-function-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,6BAA6B,CA8B7C;AA9BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CACxB,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAmC,CAAC,GAChF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,wCAAU,aAYzB,CAAA;IACY,wCAAU,GAAG,qBAAqB,CAAC;IAChD,SAAgB,sBAAsB,CACpC,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjD,GAAG,CAC8B,CAAC,GACrC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,oDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA8B7C"}
@@ -0,0 +1,26 @@
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, 2023, 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
+ * Contains details about the publisher of this PBF Listing.
16
+ */
17
+ export interface PublisherDetails {
18
+ /**
19
+ * Name of the Publisher
20
+ */
21
+ "name": string;
22
+ }
23
+ export declare namespace PublisherDetails {
24
+ function getJsonObj(obj: PublisherDetails): object;
25
+ function getDeserializedJsonObj(obj: PublisherDetails): object;
26
+ }
@@ -0,0 +1,30 @@
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, 2023, 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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PublisherDetails = void 0;
17
+ var PublisherDetails;
18
+ (function (PublisherDetails) {
19
+ function getJsonObj(obj) {
20
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
21
+ return jsonObj;
22
+ }
23
+ PublisherDetails.getJsonObj = getJsonObj;
24
+ function getDeserializedJsonObj(obj) {
25
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
26
+ return jsonObj;
27
+ }
28
+ PublisherDetails.getDeserializedJsonObj = getDeserializedJsonObj;
29
+ })(PublisherDetails = exports.PublisherDetails || (exports.PublisherDetails = {}));
30
+ //# sourceMappingURL=publisher-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publisher-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/publisher-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAeH,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"}
@@ -0,0 +1,35 @@
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, 2023, 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
+ * Minimum memory required by this PBF. The user should use memory greater than or equal to this value
17
+ * while configuring the Function.
18
+ *
19
+ */
20
+ export interface RequirementDetails {
21
+ /**
22
+ * Minimum memory required by this PBF. The user should use memory greater than or equal to
23
+ * this value while configuring the Function.
24
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
25
+ */
26
+ "minMemoryRequiredInMBs": number;
27
+ /**
28
+ * List of policies required for this PBF execution.
29
+ */
30
+ "policies"?: Array<model.PolicyDetails>;
31
+ }
32
+ export declare namespace RequirementDetails {
33
+ function getJsonObj(obj: RequirementDetails): object;
34
+ function getDeserializedJsonObj(obj: RequirementDetails): object;
35
+ }
@@ -0,0 +1,62 @@
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, 2023, 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.RequirementDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var RequirementDetails;
38
+ (function (RequirementDetails) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "policies": obj.policies
42
+ ? obj.policies.map(item => {
43
+ return model.PolicyDetails.getJsonObj(item);
44
+ })
45
+ : undefined
46
+ });
47
+ return jsonObj;
48
+ }
49
+ RequirementDetails.getJsonObj = getJsonObj;
50
+ function getDeserializedJsonObj(obj) {
51
+ const jsonObj = Object.assign(Object.assign({}, obj), {
52
+ "policies": obj.policies
53
+ ? obj.policies.map(item => {
54
+ return model.PolicyDetails.getDeserializedJsonObj(item);
55
+ })
56
+ : undefined
57
+ });
58
+ return jsonObj;
59
+ }
60
+ RequirementDetails.getDeserializedJsonObj = getDeserializedJsonObj;
61
+ })(RequirementDetails = exports.RequirementDetails || (exports.RequirementDetails = {}));
62
+ //# sourceMappingURL=requirement-details.js.map