oci-marketplaceprivateoffer 2.86.2

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 (152) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +25 -0
  6. package/index.js +48 -0
  7. package/index.js.map +1 -0
  8. package/lib/attachment-waiter.d.ts +29 -0
  9. package/lib/attachment-waiter.js +65 -0
  10. package/lib/attachment-waiter.js.map +1 -0
  11. package/lib/client.d.ts +272 -0
  12. package/lib/client.js +1065 -0
  13. package/lib/client.js.map +1 -0
  14. package/lib/model/attachment-collection.d.ts +26 -0
  15. package/lib/model/attachment-collection.js +61 -0
  16. package/lib/model/attachment-collection.js.map +1 -0
  17. package/lib/model/attachment-summary.d.ts +63 -0
  18. package/lib/model/attachment-summary.js +29 -0
  19. package/lib/model/attachment-summary.js.map +1 -0
  20. package/lib/model/attachment.d.ts +100 -0
  21. package/lib/model/attachment.js +56 -0
  22. package/lib/model/attachment.js.map +1 -0
  23. package/lib/model/buyer-information.d.ts +35 -0
  24. package/lib/model/buyer-information.js +67 -0
  25. package/lib/model/buyer-information.js.map +1 -0
  26. package/lib/model/contact.d.ts +33 -0
  27. package/lib/model/contact.js +29 -0
  28. package/lib/model/contact.js.map +1 -0
  29. package/lib/model/create-attachment-details.d.ts +33 -0
  30. package/lib/model/create-attachment-details.js +29 -0
  31. package/lib/model/create-attachment-details.js.map +1 -0
  32. package/lib/model/create-offer-details.d.ts +83 -0
  33. package/lib/model/create-offer-details.js +85 -0
  34. package/lib/model/create-offer-details.js.map +1 -0
  35. package/lib/model/custom-field.d.ts +29 -0
  36. package/lib/model/custom-field.js +29 -0
  37. package/lib/model/custom-field.js.map +1 -0
  38. package/lib/model/index.d.ts +52 -0
  39. package/lib/model/index.js +75 -0
  40. package/lib/model/index.js.map +1 -0
  41. package/lib/model/offer-collection.d.ts +26 -0
  42. package/lib/model/offer-collection.js +61 -0
  43. package/lib/model/offer-collection.js.map +1 -0
  44. package/lib/model/offer-internal-detail.d.ts +30 -0
  45. package/lib/model/offer-internal-detail.js +61 -0
  46. package/lib/model/offer-internal-detail.js.map +1 -0
  47. package/lib/model/offer-summary.d.ts +95 -0
  48. package/lib/model/offer-summary.js +65 -0
  49. package/lib/model/offer-summary.js.map +1 -0
  50. package/lib/model/offer.d.ts +137 -0
  51. package/lib/model/offer.js +112 -0
  52. package/lib/model/offer.js.map +1 -0
  53. package/lib/model/package-type.d.ts +28 -0
  54. package/lib/model/package-type.js +39 -0
  55. package/lib/model/package-type.js.map +1 -0
  56. package/lib/model/pricing.d.ts +41 -0
  57. package/lib/model/pricing.js +38 -0
  58. package/lib/model/pricing.js.map +1 -0
  59. package/lib/model/publisher-summary.d.ts +128 -0
  60. package/lib/model/publisher-summary.js +63 -0
  61. package/lib/model/publisher-summary.js.map +1 -0
  62. package/lib/model/resource-bundle.d.ts +57 -0
  63. package/lib/model/resource-bundle.js +51 -0
  64. package/lib/model/resource-bundle.js.map +1 -0
  65. package/lib/model/seller-information.d.ts +27 -0
  66. package/lib/model/seller-information.js +67 -0
  67. package/lib/model/seller-information.js.map +1 -0
  68. package/lib/model/sort-order.d.ts +23 -0
  69. package/lib/model/sort-order.js +34 -0
  70. package/lib/model/sort-order.js.map +1 -0
  71. package/lib/model/update-offer-details.d.ts +79 -0
  72. package/lib/model/update-offer-details.js +85 -0
  73. package/lib/model/update-offer-details.js.map +1 -0
  74. package/lib/model/upload-data.d.ts +33 -0
  75. package/lib/model/upload-data.js +29 -0
  76. package/lib/model/upload-data.js.map +1 -0
  77. package/lib/offer-waiter.d.ts +29 -0
  78. package/lib/offer-waiter.js +65 -0
  79. package/lib/offer-waiter.js.map +1 -0
  80. package/lib/request/create-attachment-request.d.ts +40 -0
  81. package/lib/request/create-attachment-request.js +15 -0
  82. package/lib/request/create-attachment-request.js.map +1 -0
  83. package/lib/request/create-offer-request.d.ts +36 -0
  84. package/lib/request/create-offer-request.js +15 -0
  85. package/lib/request/create-offer-request.js.map +1 -0
  86. package/lib/request/delete-attachment-request.d.ts +39 -0
  87. package/lib/request/delete-attachment-request.js +15 -0
  88. package/lib/request/delete-attachment-request.js.map +1 -0
  89. package/lib/request/delete-offer-request.d.ts +35 -0
  90. package/lib/request/delete-offer-request.js +15 -0
  91. package/lib/request/delete-offer-request.js.map +1 -0
  92. package/lib/request/get-attachment-content-request.d.ts +30 -0
  93. package/lib/request/get-attachment-content-request.js +15 -0
  94. package/lib/request/get-attachment-content-request.js.map +1 -0
  95. package/lib/request/get-attachment-request.d.ts +30 -0
  96. package/lib/request/get-attachment-request.js +15 -0
  97. package/lib/request/get-attachment-request.js.map +1 -0
  98. package/lib/request/get-offer-internal-detail-request.d.ts +26 -0
  99. package/lib/request/get-offer-internal-detail-request.js +15 -0
  100. package/lib/request/get-offer-internal-detail-request.js.map +1 -0
  101. package/lib/request/get-offer-request.d.ts +26 -0
  102. package/lib/request/get-offer-request.js +15 -0
  103. package/lib/request/get-offer-request.js.map +1 -0
  104. package/lib/request/index.d.ts +34 -0
  105. package/lib/request/index.js +39 -0
  106. package/lib/request/index.js.map +1 -0
  107. package/lib/request/list-attachments-request.d.ts +70 -0
  108. package/lib/request/list-attachments-request.js +24 -0
  109. package/lib/request/list-attachments-request.js.map +1 -0
  110. package/lib/request/list-offers-request.d.ts +66 -0
  111. package/lib/request/list-offers-request.js +24 -0
  112. package/lib/request/list-offers-request.js.map +1 -0
  113. package/lib/request/update-offer-request.d.ts +40 -0
  114. package/lib/request/update-offer-request.js +15 -0
  115. package/lib/request/update-offer-request.js.map +1 -0
  116. package/lib/response/create-attachment-response.d.ts +30 -0
  117. package/lib/response/create-attachment-response.js +15 -0
  118. package/lib/response/create-attachment-response.js.map +1 -0
  119. package/lib/response/create-offer-response.d.ts +30 -0
  120. package/lib/response/create-offer-response.js +15 -0
  121. package/lib/response/create-offer-response.js.map +1 -0
  122. package/lib/response/delete-attachment-response.d.ts +25 -0
  123. package/lib/response/delete-attachment-response.js +15 -0
  124. package/lib/response/delete-attachment-response.js.map +1 -0
  125. package/lib/response/delete-offer-response.d.ts +25 -0
  126. package/lib/response/delete-offer-response.js +15 -0
  127. package/lib/response/delete-offer-response.js.map +1 -0
  128. package/lib/response/get-attachment-content-response.d.ts +26 -0
  129. package/lib/response/get-attachment-content-response.js +15 -0
  130. package/lib/response/get-attachment-content-response.js.map +1 -0
  131. package/lib/response/get-attachment-response.d.ts +30 -0
  132. package/lib/response/get-attachment-response.js +15 -0
  133. package/lib/response/get-attachment-response.js.map +1 -0
  134. package/lib/response/get-offer-internal-detail-response.d.ts +30 -0
  135. package/lib/response/get-offer-internal-detail-response.js +15 -0
  136. package/lib/response/get-offer-internal-detail-response.js.map +1 -0
  137. package/lib/response/get-offer-response.d.ts +30 -0
  138. package/lib/response/get-offer-response.js +15 -0
  139. package/lib/response/get-offer-response.js.map +1 -0
  140. package/lib/response/index.d.ts +34 -0
  141. package/lib/response/index.js +15 -0
  142. package/lib/response/index.js.map +1 -0
  143. package/lib/response/list-attachments-response.d.ts +32 -0
  144. package/lib/response/list-attachments-response.js +15 -0
  145. package/lib/response/list-attachments-response.js.map +1 -0
  146. package/lib/response/list-offers-response.d.ts +32 -0
  147. package/lib/response/list-offers-response.js +15 -0
  148. package/lib/response/list-offers-response.js.map +1 -0
  149. package/lib/response/update-offer-response.d.ts +30 -0
  150. package/lib/response/update-offer-response.js +15 -0
  151. package/lib/response/update-offer-response.js.map +1 -0
  152. package/package.json +29 -0
@@ -0,0 +1,95 @@
1
+ /**
2
+ * MarketplacePrivateOffer API
3
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace.
4
+ * OpenAPI spec version: 20220901
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Summary of the Offers.
16
+ */
17
+ export interface OfferSummary {
18
+ /**
19
+ * Unique identifier that is immutable on creation
20
+ */
21
+ "id": string;
22
+ /**
23
+ * Offer Identifier, can be renamed
24
+ */
25
+ "displayName": string;
26
+ /**
27
+ * Ocid of the buyer tenancy.
28
+ */
29
+ "buyerCompartmentId": string;
30
+ /**
31
+ * Ocid of the seller tenancy.
32
+ */
33
+ "sellerCompartmentId": string;
34
+ /**
35
+ * The time the the Offer was created. An RFC3339 formatted datetime string
36
+ */
37
+ "timeCreated": Date;
38
+ /**
39
+ * The time the Offer was updated. An RFC3339 formatted datetime string
40
+ */
41
+ "timeUpdated"?: Date;
42
+ /**
43
+ * The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
44
+ */
45
+ "timeAcceptBy"?: Date;
46
+ /**
47
+ * The time the Offer was accepted by the Buyer of the Offer. An RFC3339 formatted datetime string
48
+ */
49
+ "timeAccepted"?: Date;
50
+ /**
51
+ * The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
52
+ */
53
+ "timeStartDate"?: Date;
54
+ /**
55
+ * The time the accepted Offer will end. An RFC3339 formatted datetime string
56
+ */
57
+ "timeOfferEnd"?: Date;
58
+ /**
59
+ * The current state of the Offer.
60
+ */
61
+ "lifecycleState": string;
62
+ /**
63
+ * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
64
+ */
65
+ "lifecycleDetails"?: string;
66
+ /**
67
+ * The human readable representation of where the offer is at in it's contract lifecycle.
68
+ */
69
+ "offerStatus"?: string;
70
+ "buyerInformation"?: model.BuyerInformation;
71
+ "sellerInformation"?: model.SellerInformation;
72
+ "pricing"?: model.Pricing;
73
+ /**
74
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
75
+ * Example: {@code {\"bar-key\": \"value\"}}
76
+ *
77
+ */
78
+ "freeformTags": {
79
+ [key: string]: string;
80
+ };
81
+ /**
82
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
83
+ * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
84
+ *
85
+ */
86
+ "definedTags": {
87
+ [key: string]: {
88
+ [key: string]: any;
89
+ };
90
+ };
91
+ }
92
+ export declare namespace OfferSummary {
93
+ function getJsonObj(obj: OfferSummary): object;
94
+ function getDeserializedJsonObj(obj: OfferSummary): object;
95
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /**
3
+ * MarketplacePrivateOffer API
4
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace.
5
+ * OpenAPI spec version: 20220901
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.OfferSummary = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var OfferSummary;
37
+ (function (OfferSummary) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "buyerInformation": obj.buyerInformation
41
+ ? model.BuyerInformation.getJsonObj(obj.buyerInformation)
42
+ : undefined,
43
+ "sellerInformation": obj.sellerInformation
44
+ ? model.SellerInformation.getJsonObj(obj.sellerInformation)
45
+ : undefined,
46
+ "pricing": obj.pricing ? model.Pricing.getJsonObj(obj.pricing) : undefined
47
+ });
48
+ return jsonObj;
49
+ }
50
+ OfferSummary.getJsonObj = getJsonObj;
51
+ function getDeserializedJsonObj(obj) {
52
+ const jsonObj = Object.assign(Object.assign({}, obj), {
53
+ "buyerInformation": obj.buyerInformation
54
+ ? model.BuyerInformation.getDeserializedJsonObj(obj.buyerInformation)
55
+ : undefined,
56
+ "sellerInformation": obj.sellerInformation
57
+ ? model.SellerInformation.getDeserializedJsonObj(obj.sellerInformation)
58
+ : undefined,
59
+ "pricing": obj.pricing ? model.Pricing.getDeserializedJsonObj(obj.pricing) : undefined
60
+ });
61
+ return jsonObj;
62
+ }
63
+ OfferSummary.getDeserializedJsonObj = getDeserializedJsonObj;
64
+ })(OfferSummary = exports.OfferSummary || (exports.OfferSummary = {}));
65
+ //# sourceMappingURL=offer-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer-summary.js","sourceRoot":"","sources":["../../../../../lib/marketplaceprivateoffer/lib/model/offer-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4ElC,IAAiB,YAAY,CAiC5B;AAjCD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC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 @@
1
+ /**
2
+ * MarketplacePrivateOffer API
3
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace.
4
+ * OpenAPI spec version: 20220901
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Description of Offer.
16
+ */
17
+ export interface Offer {
18
+ /**
19
+ * Unique identifier that is immutable on creation
20
+ */
21
+ "id": string;
22
+ /**
23
+ * Offer Identifier, can be renamed
24
+ */
25
+ "displayName": string;
26
+ /**
27
+ * OCID of the seller's tenancy (root compartment).
28
+ */
29
+ "sellerCompartmentId": string;
30
+ /**
31
+ * OCID of the buyer's tenancy (root compartment).
32
+ */
33
+ "buyerCompartmentId"?: string;
34
+ /**
35
+ * The description of the offer
36
+ */
37
+ "description"?: string;
38
+ /**
39
+ * The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
40
+ */
41
+ "timeStartDate"?: Date;
42
+ /**
43
+ * Duration the Offer will be active after its start date. An ISO8601 extended formatted string.
44
+ */
45
+ "duration"?: string;
46
+ /**
47
+ * The time the the Offer was created. An RFC3339 formatted datetime string
48
+ */
49
+ "timeCreated": Date;
50
+ /**
51
+ * The time the Offer was updated. An RFC3339 formatted datetime string
52
+ */
53
+ "timeUpdated"?: Date;
54
+ /**
55
+ * The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
56
+ */
57
+ "timeAcceptBy"?: Date;
58
+ /**
59
+ * The time the Offer was accepted by the Buyer of the Offer. An RFC3339 formatted datetime string
60
+ */
61
+ "timeAccepted"?: Date;
62
+ /**
63
+ * The time the accepted Offer will end. An RFC3339 formatted datetime string
64
+ */
65
+ "timeOfferEnd"?: Date;
66
+ /**
67
+ * The current state of the Offer.
68
+ */
69
+ "lifecycleState": Offer.LifecycleState;
70
+ /**
71
+ * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
72
+ */
73
+ "lifecycleDetails"?: string;
74
+ /**
75
+ * A substate for lifeCycleStatus to give a more human readable version of the offer
76
+ */
77
+ "offerStatus"?: Offer.OfferStatus;
78
+ "publisherSummary"?: model.PublisherSummary;
79
+ "pricing"?: model.Pricing;
80
+ "buyerInformation"?: model.BuyerInformation;
81
+ "sellerInformation"?: model.SellerInformation;
82
+ /**
83
+ * A list of Resource Bundles associated with an Offer.
84
+ */
85
+ "resourceBundles"?: Array<model.ResourceBundle>;
86
+ /**
87
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
88
+ * Example: {@code {\"bar-key\": \"value\"}}
89
+ *
90
+ */
91
+ "freeformTags": {
92
+ [key: string]: string;
93
+ };
94
+ /**
95
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
96
+ * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
97
+ *
98
+ */
99
+ "definedTags": {
100
+ [key: string]: {
101
+ [key: string]: any;
102
+ };
103
+ };
104
+ }
105
+ export declare namespace Offer {
106
+ enum LifecycleState {
107
+ Creating = "CREATING",
108
+ Updating = "UPDATING",
109
+ Active = "ACTIVE",
110
+ Deleting = "DELETING",
111
+ Deleted = "DELETED",
112
+ Failed = "FAILED",
113
+ /**
114
+ * This value is used if a service returns a value for this enum that is not recognized by this
115
+ * version of the SDK.
116
+ */
117
+ UnknownValue = "UNKNOWN_VALUE"
118
+ }
119
+ enum OfferStatus {
120
+ Draft = "DRAFT",
121
+ PendingMarketplace = "PENDING_MARKETPLACE",
122
+ PendingBuyer = "PENDING_BUYER",
123
+ Expired = "EXPIRED",
124
+ Accepted = "ACCEPTED",
125
+ Active = "ACTIVE",
126
+ Ended = "ENDED",
127
+ FailedSend = "FAILED_SEND",
128
+ FailedAccept = "FAILED_ACCEPT",
129
+ /**
130
+ * This value is used if a service returns a value for this enum that is not recognized by this
131
+ * version of the SDK.
132
+ */
133
+ UnknownValue = "UNKNOWN_VALUE"
134
+ }
135
+ function getJsonObj(obj: Offer): object;
136
+ function getDeserializedJsonObj(obj: Offer): object;
137
+ }
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ /**
3
+ * MarketplacePrivateOffer API
4
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace.
5
+ * OpenAPI spec version: 20220901
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.Offer = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var Offer;
37
+ (function (Offer) {
38
+ let LifecycleState;
39
+ (function (LifecycleState) {
40
+ LifecycleState["Creating"] = "CREATING";
41
+ LifecycleState["Updating"] = "UPDATING";
42
+ LifecycleState["Active"] = "ACTIVE";
43
+ LifecycleState["Deleting"] = "DELETING";
44
+ LifecycleState["Deleted"] = "DELETED";
45
+ LifecycleState["Failed"] = "FAILED";
46
+ /**
47
+ * This value is used if a service returns a value for this enum that is not recognized by this
48
+ * version of the SDK.
49
+ */
50
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
51
+ })(LifecycleState = Offer.LifecycleState || (Offer.LifecycleState = {}));
52
+ let OfferStatus;
53
+ (function (OfferStatus) {
54
+ OfferStatus["Draft"] = "DRAFT";
55
+ OfferStatus["PendingMarketplace"] = "PENDING_MARKETPLACE";
56
+ OfferStatus["PendingBuyer"] = "PENDING_BUYER";
57
+ OfferStatus["Expired"] = "EXPIRED";
58
+ OfferStatus["Accepted"] = "ACCEPTED";
59
+ OfferStatus["Active"] = "ACTIVE";
60
+ OfferStatus["Ended"] = "ENDED";
61
+ OfferStatus["FailedSend"] = "FAILED_SEND";
62
+ OfferStatus["FailedAccept"] = "FAILED_ACCEPT";
63
+ /**
64
+ * This value is used if a service returns a value for this enum that is not recognized by this
65
+ * version of the SDK.
66
+ */
67
+ OfferStatus["UnknownValue"] = "UNKNOWN_VALUE";
68
+ })(OfferStatus = Offer.OfferStatus || (Offer.OfferStatus = {}));
69
+ function getJsonObj(obj) {
70
+ const jsonObj = Object.assign(Object.assign({}, obj), {
71
+ "publisherSummary": obj.publisherSummary
72
+ ? model.PublisherSummary.getJsonObj(obj.publisherSummary)
73
+ : undefined,
74
+ "pricing": obj.pricing ? model.Pricing.getJsonObj(obj.pricing) : undefined,
75
+ "buyerInformation": obj.buyerInformation
76
+ ? model.BuyerInformation.getJsonObj(obj.buyerInformation)
77
+ : undefined,
78
+ "sellerInformation": obj.sellerInformation
79
+ ? model.SellerInformation.getJsonObj(obj.sellerInformation)
80
+ : undefined,
81
+ "resourceBundles": obj.resourceBundles
82
+ ? obj.resourceBundles.map(item => {
83
+ return model.ResourceBundle.getJsonObj(item);
84
+ })
85
+ : undefined
86
+ });
87
+ return jsonObj;
88
+ }
89
+ Offer.getJsonObj = getJsonObj;
90
+ function getDeserializedJsonObj(obj) {
91
+ const jsonObj = Object.assign(Object.assign({}, obj), {
92
+ "publisherSummary": obj.publisherSummary
93
+ ? model.PublisherSummary.getDeserializedJsonObj(obj.publisherSummary)
94
+ : undefined,
95
+ "pricing": obj.pricing ? model.Pricing.getDeserializedJsonObj(obj.pricing) : undefined,
96
+ "buyerInformation": obj.buyerInformation
97
+ ? model.BuyerInformation.getDeserializedJsonObj(obj.buyerInformation)
98
+ : undefined,
99
+ "sellerInformation": obj.sellerInformation
100
+ ? model.SellerInformation.getDeserializedJsonObj(obj.sellerInformation)
101
+ : undefined,
102
+ "resourceBundles": obj.resourceBundles
103
+ ? obj.resourceBundles.map(item => {
104
+ return model.ResourceBundle.getDeserializedJsonObj(item);
105
+ })
106
+ : undefined
107
+ });
108
+ return jsonObj;
109
+ }
110
+ Offer.getDeserializedJsonObj = getDeserializedJsonObj;
111
+ })(Offer = exports.Offer || (exports.Offer = {}));
112
+ //# sourceMappingURL=offer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer.js","sourceRoot":"","sources":["../../../../../lib/marketplaceprivateoffer/lib/model/offer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyFlC,IAAiB,KAAK,CAgFrB;AAhFD,WAAiB,KAAK;IACpB,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZ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d,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,gBAAU,aAuBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,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,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;YACtF,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;YACb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,4BAAsB,yBAuBrC,CAAA;AACH,CAAC,EAhFgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAgFrB"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * MarketplacePrivateOffer API
3
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace.
4
+ * OpenAPI spec version: 20220901
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ /**
14
+ * Possible values for a package type.
15
+ **/
16
+ export declare enum PackageType {
17
+ ContainerImage = "CONTAINER_IMAGE",
18
+ HelmChart = "HELM_CHART",
19
+ /**
20
+ * This value is used if a service returns a value for this enum that is not recognized by this
21
+ * version of the SDK.
22
+ */
23
+ UnknownValue = "UNKNOWN_VALUE"
24
+ }
25
+ export declare namespace PackageType {
26
+ function getJsonObj(obj: PackageType): PackageType;
27
+ function getDeserializedJsonObj(obj: PackageType): PackageType;
28
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * MarketplacePrivateOffer API
4
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace.
5
+ * OpenAPI spec version: 20220901
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.PackageType = void 0;
16
+ /**
17
+ * Possible values for a package type.
18
+ **/
19
+ var PackageType;
20
+ (function (PackageType) {
21
+ PackageType["ContainerImage"] = "CONTAINER_IMAGE";
22
+ PackageType["HelmChart"] = "HELM_CHART";
23
+ /**
24
+ * This value is used if a service returns a value for this enum that is not recognized by this
25
+ * version of the SDK.
26
+ */
27
+ PackageType["UnknownValue"] = "UNKNOWN_VALUE";
28
+ })(PackageType = exports.PackageType || (exports.PackageType = {}));
29
+ (function (PackageType) {
30
+ function getJsonObj(obj) {
31
+ return obj;
32
+ }
33
+ PackageType.getJsonObj = getJsonObj;
34
+ function getDeserializedJsonObj(obj) {
35
+ return obj;
36
+ }
37
+ PackageType.getDeserializedJsonObj = getDeserializedJsonObj;
38
+ })(PackageType = exports.PackageType || (exports.PackageType = {}));
39
+ //# sourceMappingURL=package-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-type.js","sourceRoot":"","sources":["../../../../../lib/marketplaceprivateoffer/lib/model/package-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,WASX;AATD,WAAY,WAAW;IACrB,iDAAkC,CAAA;IAClC,uCAAwB,CAAA;IAExB;;;OAGG;IACH,6CAA8B,CAAA;AAChC,CAAC,EATW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAStB;AAED,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,kCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAO3B"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * MarketplacePrivateOffer API
3
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace.
4
+ * OpenAPI spec version: 20220901
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ /**
14
+ * the pricing information for the offer
15
+ */
16
+ export interface Pricing {
17
+ /**
18
+ * The currency supported for a given Offer, in the format specified by ISO-4217
19
+ */
20
+ "currencyType"?: string;
21
+ /**
22
+ * The total amount an Offer costs Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
23
+ */
24
+ "totalAmount"?: number;
25
+ /**
26
+ * The frequency at which the customer is billed for the Offer
27
+ */
28
+ "billingCycle"?: Pricing.BillingCycle;
29
+ }
30
+ export declare namespace Pricing {
31
+ enum BillingCycle {
32
+ OneTime = "ONE_TIME",
33
+ /**
34
+ * This value is used if a service returns a value for this enum that is not recognized by this
35
+ * version of the SDK.
36
+ */
37
+ UnknownValue = "UNKNOWN_VALUE"
38
+ }
39
+ function getJsonObj(obj: Pricing): object;
40
+ function getDeserializedJsonObj(obj: Pricing): object;
41
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ * MarketplacePrivateOffer API
4
+ * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace.
5
+ * OpenAPI spec version: 20220901
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Pricing = void 0;
16
+ var Pricing;
17
+ (function (Pricing) {
18
+ let BillingCycle;
19
+ (function (BillingCycle) {
20
+ BillingCycle["OneTime"] = "ONE_TIME";
21
+ /**
22
+ * This value is used if a service returns a value for this enum that is not recognized by this
23
+ * version of the SDK.
24
+ */
25
+ BillingCycle["UnknownValue"] = "UNKNOWN_VALUE";
26
+ })(BillingCycle = Pricing.BillingCycle || (Pricing.BillingCycle = {}));
27
+ function getJsonObj(obj) {
28
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
29
+ return jsonObj;
30
+ }
31
+ Pricing.getJsonObj = getJsonObj;
32
+ function getDeserializedJsonObj(obj) {
33
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
34
+ return jsonObj;
35
+ }
36
+ Pricing.getDeserializedJsonObj = getDeserializedJsonObj;
37
+ })(Pricing = exports.Pricing || (exports.Pricing = {}));
38
+ //# sourceMappingURL=pricing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing.js","sourceRoot":"","sources":["../../../../../lib/marketplaceprivateoffer/lib/model/pricing.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,OAAO,CAoBvB;AApBD,WAAiB,OAAO;IACtB,IAAY,YAOX;IAPD,WAAY,YAAY;QACtB,oCAAoB,CAAA;QACpB;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EAPW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAOvB;IAED,SAAgB,UAAU,CAAC,GAAY;QACrC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAY;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAsB,yBAIrC,CAAA;AACH,CAAC,EApBgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAoBvB"}