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,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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
34
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
35
+ return new (P || (P = Promise))(function (resolve, reject) {
36
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
37
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
38
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
39
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
40
+ });
41
+ };
42
+ Object.defineProperty(exports, "__esModule", { value: true });
43
+ exports.AttachmentWaiter = void 0;
44
+ const models = __importStar(require("./model"));
45
+ const oci_common_1 = require("oci-common");
46
+ class AttachmentWaiter {
47
+ constructor(client, config) {
48
+ this.client = client;
49
+ this.config = config;
50
+ }
51
+ /**
52
+ * Waits forAttachment till it reaches any of the provided states
53
+ *
54
+ * @param request the request to send
55
+ * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
56
+ * @return response returns GetAttachmentResponse | null (null in case of 404 response)
57
+ */
58
+ forAttachment(request, ...targetStates) {
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getAttachment(request), response => targetStates.includes(response.attachment.lifecycleState), targetStates.includes(models.Attachment.LifecycleState.Deleted));
61
+ });
62
+ }
63
+ }
64
+ exports.AttachmentWaiter = AttachmentWaiter;
65
+ //# sourceMappingURL=attachment-waiter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachment-waiter.js","sourceRoot":"","sources":["../../../../lib/marketplaceprivateoffer/lib/attachment-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,gBAAgB;IAC3B,YACU,MAAwB,EACf,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAkB;QACf,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,aAAa,CACxB,OAA6C,EAC7C,GAAG,YAAgD;;YAEnD,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,EACxC,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAe,CAAC,EACtE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC,CAChE,CAAC;QACJ,CAAC;KAAA;CACF;AAxBD,4CAwBC"}
@@ -0,0 +1,272 @@
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 common = require("oci-common");
14
+ import * as requests from "./request";
15
+ import * as responses from "./response";
16
+ import { AttachmentWaiter } from "./attachment-waiter";
17
+ import { OfferWaiter } from "./offer-waiter";
18
+ declare const Breaker: any;
19
+ export declare enum AttachmentApiKeys {
20
+ }
21
+ /**
22
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
23
+ */
24
+ export declare class AttachmentClient {
25
+ protected static serviceEndpointTemplate: string;
26
+ protected static endpointServiceName: string;
27
+ protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
28
+ protected "_endpoint": string;
29
+ protected "_defaultHeaders": any;
30
+ protected "_waiters": AttachmentWaiter;
31
+ protected "_clientConfiguration": common.ClientConfiguration;
32
+ protected _circuitBreaker: typeof Breaker | null;
33
+ protected _httpOptions: any;
34
+ protected _bodyDuplexMode: any;
35
+ targetService: string;
36
+ protected _regionId: string;
37
+ protected "_region": common.Region;
38
+ protected _lastSetRegionOrRegionId: string;
39
+ protected _httpClient: common.HttpClient;
40
+ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
41
+ /**
42
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
43
+ */
44
+ get endpoint(): string;
45
+ /**
46
+ * Sets the endpoint to call (ex, https://www.example.com).
47
+ * @param endpoint The endpoint of the service.
48
+ */
49
+ set endpoint(endpoint: string);
50
+ get logger(): import("oci-common/lib/log").Logger;
51
+ /**
52
+ * Determines whether realm specific endpoint should be used or not.
53
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
54
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
55
+ */
56
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
57
+ /**
58
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
59
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
60
+ * @param region The region of the service.
61
+ */
62
+ set region(region: common.Region);
63
+ /**
64
+ * Sets the regionId to call (ex, 'us-phoenix-1').
65
+ *
66
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
67
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
68
+ * and then call {@link #endpoint(String) endpoint}.
69
+ * @param regionId The public region ID.
70
+ */
71
+ set regionId(regionId: string);
72
+ /**
73
+ * Creates a new AttachmentWaiter for resources for this service.
74
+ *
75
+ * @param config The waiter configuration for termination and delay strategy
76
+ * @return The service waiters.
77
+ */
78
+ createWaiters(config?: common.WaiterConfiguration): AttachmentWaiter;
79
+ /**
80
+ * Gets the waiters available for resources for this service.
81
+ *
82
+ * @return The service waiters.
83
+ */
84
+ getWaiters(): AttachmentWaiter;
85
+ /**
86
+ * Shutdown the circuit breaker used by the client when it is no longer needed
87
+ */
88
+ shutdownCircuitBreaker(): void;
89
+ /**
90
+ * Close the client once it is no longer needed
91
+ */
92
+ close(): void;
93
+ /**
94
+ * Creates a new Attachment.
95
+ *
96
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
97
+ * @param CreateAttachmentRequest
98
+ * @return CreateAttachmentResponse
99
+ * @throws OciError when an error occurs
100
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/CreateAttachment.ts.html |here} to see how to use CreateAttachment API.
101
+ */
102
+ createAttachment(createAttachmentRequest: requests.CreateAttachmentRequest): Promise<responses.CreateAttachmentResponse>;
103
+ /**
104
+ * Deletes a Attachment resource by identifier
105
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
106
+ * @param DeleteAttachmentRequest
107
+ * @return DeleteAttachmentResponse
108
+ * @throws OciError when an error occurs
109
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/DeleteAttachment.ts.html |here} to see how to use DeleteAttachment API.
110
+ */
111
+ deleteAttachment(deleteAttachmentRequest: requests.DeleteAttachmentRequest): Promise<responses.DeleteAttachmentResponse>;
112
+ /**
113
+ * Gets a Attachment by identifier
114
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
115
+ * @param GetAttachmentRequest
116
+ * @return GetAttachmentResponse
117
+ * @throws OciError when an error occurs
118
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/GetAttachment.ts.html |here} to see how to use GetAttachment API.
119
+ */
120
+ getAttachment(getAttachmentRequest: requests.GetAttachmentRequest): Promise<responses.GetAttachmentResponse>;
121
+ /**
122
+ * Gets a Attachment content by identifier
123
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
124
+ * @param GetAttachmentContentRequest
125
+ * @return GetAttachmentContentResponse
126
+ * @throws OciError when an error occurs
127
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/GetAttachmentContent.ts.html |here} to see how to use GetAttachmentContent API.
128
+ */
129
+ getAttachmentContent(getAttachmentContentRequest: requests.GetAttachmentContentRequest): Promise<responses.GetAttachmentContentResponse>;
130
+ /**
131
+ * Returns a list of Attachments. Requires either the BuyerCompartmentId or the SellerCompartmentId params. If neither or both are provided, then the API will return a 400.
132
+ *
133
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
134
+ * @param ListAttachmentsRequest
135
+ * @return ListAttachmentsResponse
136
+ * @throws OciError when an error occurs
137
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/ListAttachments.ts.html |here} to see how to use ListAttachments API.
138
+ */
139
+ listAttachments(listAttachmentsRequest: requests.ListAttachmentsRequest): Promise<responses.ListAttachmentsResponse>;
140
+ }
141
+ export declare enum OfferApiKeys {
142
+ }
143
+ /**
144
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
145
+ */
146
+ export declare class OfferClient {
147
+ protected static serviceEndpointTemplate: string;
148
+ protected static endpointServiceName: string;
149
+ protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
150
+ protected "_endpoint": string;
151
+ protected "_defaultHeaders": any;
152
+ protected "_waiters": OfferWaiter;
153
+ protected "_clientConfiguration": common.ClientConfiguration;
154
+ protected _circuitBreaker: typeof Breaker | null;
155
+ protected _httpOptions: any;
156
+ protected _bodyDuplexMode: any;
157
+ targetService: string;
158
+ protected _regionId: string;
159
+ protected "_region": common.Region;
160
+ protected _lastSetRegionOrRegionId: string;
161
+ protected _httpClient: common.HttpClient;
162
+ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
163
+ /**
164
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
165
+ */
166
+ get endpoint(): string;
167
+ /**
168
+ * Sets the endpoint to call (ex, https://www.example.com).
169
+ * @param endpoint The endpoint of the service.
170
+ */
171
+ set endpoint(endpoint: string);
172
+ get logger(): import("oci-common/lib/log").Logger;
173
+ /**
174
+ * Determines whether realm specific endpoint should be used or not.
175
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
176
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
177
+ */
178
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
179
+ /**
180
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
181
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
182
+ * @param region The region of the service.
183
+ */
184
+ set region(region: common.Region);
185
+ /**
186
+ * Sets the regionId to call (ex, 'us-phoenix-1').
187
+ *
188
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
189
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
190
+ * and then call {@link #endpoint(String) endpoint}.
191
+ * @param regionId The public region ID.
192
+ */
193
+ set regionId(regionId: string);
194
+ /**
195
+ * Creates a new OfferWaiter for resources for this service.
196
+ *
197
+ * @param config The waiter configuration for termination and delay strategy
198
+ * @return The service waiters.
199
+ */
200
+ createWaiters(config?: common.WaiterConfiguration): OfferWaiter;
201
+ /**
202
+ * Gets the waiters available for resources for this service.
203
+ *
204
+ * @return The service waiters.
205
+ */
206
+ getWaiters(): OfferWaiter;
207
+ /**
208
+ * Shutdown the circuit breaker used by the client when it is no longer needed
209
+ */
210
+ shutdownCircuitBreaker(): void;
211
+ /**
212
+ * Close the client once it is no longer needed
213
+ */
214
+ close(): void;
215
+ /**
216
+ * Creates a new Offer.
217
+ *
218
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
219
+ * @param CreateOfferRequest
220
+ * @return CreateOfferResponse
221
+ * @throws OciError when an error occurs
222
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/CreateOffer.ts.html |here} to see how to use CreateOffer API.
223
+ */
224
+ createOffer(createOfferRequest: requests.CreateOfferRequest): Promise<responses.CreateOfferResponse>;
225
+ /**
226
+ * Deletes an Offer resource by identifier
227
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
228
+ * @param DeleteOfferRequest
229
+ * @return DeleteOfferResponse
230
+ * @throws OciError when an error occurs
231
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/DeleteOffer.ts.html |here} to see how to use DeleteOffer API.
232
+ */
233
+ deleteOffer(deleteOfferRequest: requests.DeleteOfferRequest): Promise<responses.DeleteOfferResponse>;
234
+ /**
235
+ * Gets an Offer by identifier
236
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
237
+ * @param GetOfferRequest
238
+ * @return GetOfferResponse
239
+ * @throws OciError when an error occurs
240
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/GetOffer.ts.html |here} to see how to use GetOffer API.
241
+ */
242
+ getOffer(getOfferRequest: requests.GetOfferRequest): Promise<responses.GetOfferResponse>;
243
+ /**
244
+ * Gets an Offer internal details by identifier
245
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
246
+ * @param GetOfferInternalDetailRequest
247
+ * @return GetOfferInternalDetailResponse
248
+ * @throws OciError when an error occurs
249
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/GetOfferInternalDetail.ts.html |here} to see how to use GetOfferInternalDetail API.
250
+ */
251
+ getOfferInternalDetail(getOfferInternalDetailRequest: requests.GetOfferInternalDetailRequest): Promise<responses.GetOfferInternalDetailResponse>;
252
+ /**
253
+ * Returns a list of Offers. Requires either the BuyerCompartmentId or the SellerCompartmentId params. If neither or both are provided, then the API will return a 400.
254
+ *
255
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
256
+ * @param ListOffersRequest
257
+ * @return ListOffersResponse
258
+ * @throws OciError when an error occurs
259
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/ListOffers.ts.html |here} to see how to use ListOffers API.
260
+ */
261
+ listOffers(listOffersRequest: requests.ListOffersRequest): Promise<responses.ListOffersResponse>;
262
+ /**
263
+ * Updates the Offer
264
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
265
+ * @param UpdateOfferRequest
266
+ * @return UpdateOfferResponse
267
+ * @throws OciError when an error occurs
268
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.86.2/marketplaceprivateoffer/UpdateOffer.ts.html |here} to see how to use UpdateOffer API.
269
+ */
270
+ updateOffer(updateOfferRequest: requests.UpdateOfferRequest): Promise<responses.UpdateOfferResponse>;
271
+ }
272
+ export {};