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.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +25 -0
- package/index.js +48 -0
- package/index.js.map +1 -0
- package/lib/attachment-waiter.d.ts +29 -0
- package/lib/attachment-waiter.js +65 -0
- package/lib/attachment-waiter.js.map +1 -0
- package/lib/client.d.ts +272 -0
- package/lib/client.js +1065 -0
- package/lib/client.js.map +1 -0
- package/lib/model/attachment-collection.d.ts +26 -0
- package/lib/model/attachment-collection.js +61 -0
- package/lib/model/attachment-collection.js.map +1 -0
- package/lib/model/attachment-summary.d.ts +63 -0
- package/lib/model/attachment-summary.js +29 -0
- package/lib/model/attachment-summary.js.map +1 -0
- package/lib/model/attachment.d.ts +100 -0
- package/lib/model/attachment.js +56 -0
- package/lib/model/attachment.js.map +1 -0
- package/lib/model/buyer-information.d.ts +35 -0
- package/lib/model/buyer-information.js +67 -0
- package/lib/model/buyer-information.js.map +1 -0
- package/lib/model/contact.d.ts +33 -0
- package/lib/model/contact.js +29 -0
- package/lib/model/contact.js.map +1 -0
- package/lib/model/create-attachment-details.d.ts +33 -0
- package/lib/model/create-attachment-details.js +29 -0
- package/lib/model/create-attachment-details.js.map +1 -0
- package/lib/model/create-offer-details.d.ts +83 -0
- package/lib/model/create-offer-details.js +85 -0
- package/lib/model/create-offer-details.js.map +1 -0
- package/lib/model/custom-field.d.ts +29 -0
- package/lib/model/custom-field.js +29 -0
- package/lib/model/custom-field.js.map +1 -0
- package/lib/model/index.d.ts +52 -0
- package/lib/model/index.js +75 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/offer-collection.d.ts +26 -0
- package/lib/model/offer-collection.js +61 -0
- package/lib/model/offer-collection.js.map +1 -0
- package/lib/model/offer-internal-detail.d.ts +30 -0
- package/lib/model/offer-internal-detail.js +61 -0
- package/lib/model/offer-internal-detail.js.map +1 -0
- package/lib/model/offer-summary.d.ts +95 -0
- package/lib/model/offer-summary.js +65 -0
- package/lib/model/offer-summary.js.map +1 -0
- package/lib/model/offer.d.ts +137 -0
- package/lib/model/offer.js +112 -0
- package/lib/model/offer.js.map +1 -0
- package/lib/model/package-type.d.ts +28 -0
- package/lib/model/package-type.js +39 -0
- package/lib/model/package-type.js.map +1 -0
- package/lib/model/pricing.d.ts +41 -0
- package/lib/model/pricing.js +38 -0
- package/lib/model/pricing.js.map +1 -0
- package/lib/model/publisher-summary.d.ts +128 -0
- package/lib/model/publisher-summary.js +63 -0
- package/lib/model/publisher-summary.js.map +1 -0
- package/lib/model/resource-bundle.d.ts +57 -0
- package/lib/model/resource-bundle.js +51 -0
- package/lib/model/resource-bundle.js.map +1 -0
- package/lib/model/seller-information.d.ts +27 -0
- package/lib/model/seller-information.js +67 -0
- package/lib/model/seller-information.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-offer-details.d.ts +79 -0
- package/lib/model/update-offer-details.js +85 -0
- package/lib/model/update-offer-details.js.map +1 -0
- package/lib/model/upload-data.d.ts +33 -0
- package/lib/model/upload-data.js +29 -0
- package/lib/model/upload-data.js.map +1 -0
- package/lib/offer-waiter.d.ts +29 -0
- package/lib/offer-waiter.js +65 -0
- package/lib/offer-waiter.js.map +1 -0
- package/lib/request/create-attachment-request.d.ts +40 -0
- package/lib/request/create-attachment-request.js +15 -0
- package/lib/request/create-attachment-request.js.map +1 -0
- package/lib/request/create-offer-request.d.ts +36 -0
- package/lib/request/create-offer-request.js +15 -0
- package/lib/request/create-offer-request.js.map +1 -0
- package/lib/request/delete-attachment-request.d.ts +39 -0
- package/lib/request/delete-attachment-request.js +15 -0
- package/lib/request/delete-attachment-request.js.map +1 -0
- package/lib/request/delete-offer-request.d.ts +35 -0
- package/lib/request/delete-offer-request.js +15 -0
- package/lib/request/delete-offer-request.js.map +1 -0
- package/lib/request/get-attachment-content-request.d.ts +30 -0
- package/lib/request/get-attachment-content-request.js +15 -0
- package/lib/request/get-attachment-content-request.js.map +1 -0
- package/lib/request/get-attachment-request.d.ts +30 -0
- package/lib/request/get-attachment-request.js +15 -0
- package/lib/request/get-attachment-request.js.map +1 -0
- package/lib/request/get-offer-internal-detail-request.d.ts +26 -0
- package/lib/request/get-offer-internal-detail-request.js +15 -0
- package/lib/request/get-offer-internal-detail-request.js.map +1 -0
- package/lib/request/get-offer-request.d.ts +26 -0
- package/lib/request/get-offer-request.js +15 -0
- package/lib/request/get-offer-request.js.map +1 -0
- package/lib/request/index.d.ts +34 -0
- package/lib/request/index.js +39 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-attachments-request.d.ts +70 -0
- package/lib/request/list-attachments-request.js +24 -0
- package/lib/request/list-attachments-request.js.map +1 -0
- package/lib/request/list-offers-request.d.ts +66 -0
- package/lib/request/list-offers-request.js +24 -0
- package/lib/request/list-offers-request.js.map +1 -0
- package/lib/request/update-offer-request.d.ts +40 -0
- package/lib/request/update-offer-request.js +15 -0
- package/lib/request/update-offer-request.js.map +1 -0
- package/lib/response/create-attachment-response.d.ts +30 -0
- package/lib/response/create-attachment-response.js +15 -0
- package/lib/response/create-attachment-response.js.map +1 -0
- package/lib/response/create-offer-response.d.ts +30 -0
- package/lib/response/create-offer-response.js +15 -0
- package/lib/response/create-offer-response.js.map +1 -0
- package/lib/response/delete-attachment-response.d.ts +25 -0
- package/lib/response/delete-attachment-response.js +15 -0
- package/lib/response/delete-attachment-response.js.map +1 -0
- package/lib/response/delete-offer-response.d.ts +25 -0
- package/lib/response/delete-offer-response.js +15 -0
- package/lib/response/delete-offer-response.js.map +1 -0
- package/lib/response/get-attachment-content-response.d.ts +26 -0
- package/lib/response/get-attachment-content-response.js +15 -0
- package/lib/response/get-attachment-content-response.js.map +1 -0
- package/lib/response/get-attachment-response.d.ts +30 -0
- package/lib/response/get-attachment-response.js +15 -0
- package/lib/response/get-attachment-response.js.map +1 -0
- package/lib/response/get-offer-internal-detail-response.d.ts +30 -0
- package/lib/response/get-offer-internal-detail-response.js +15 -0
- package/lib/response/get-offer-internal-detail-response.js.map +1 -0
- package/lib/response/get-offer-response.d.ts +30 -0
- package/lib/response/get-offer-response.js +15 -0
- package/lib/response/get-offer-response.js.map +1 -0
- package/lib/response/index.d.ts +34 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-attachments-response.d.ts +32 -0
- package/lib/response/list-attachments-response.js +15 -0
- package/lib/response/list-attachments-response.js.map +1 -0
- package/lib/response/list-offers-response.d.ts +32 -0
- package/lib/response/list-offers-response.js +15 -0
- package/lib/response/list-offers-response.js.map +1 -0
- package/lib/response/update-offer-response.d.ts +30 -0
- package/lib/response/update-offer-response.js +15 -0
- package/lib/response/update-offer-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,128 @@
|
|
|
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
|
+
* The model for a publisher.
|
|
16
|
+
*/
|
|
17
|
+
export interface PublisherSummary {
|
|
18
|
+
/**
|
|
19
|
+
* Unique OCID identifier for the publisher.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The root compartment of the Publisher.
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The namespace for the publisher registry to persist artifacts.
|
|
28
|
+
*/
|
|
29
|
+
"registryNamespace": string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique legacy service identifier for the publisher.
|
|
32
|
+
*/
|
|
33
|
+
"legacyId"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the publisher.
|
|
36
|
+
*/
|
|
37
|
+
"displayName": string;
|
|
38
|
+
/**
|
|
39
|
+
* A description of the publisher.
|
|
40
|
+
*/
|
|
41
|
+
"description"?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The year the publisher's company or organization was founded. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
44
|
+
*/
|
|
45
|
+
"yearFounded"?: number;
|
|
46
|
+
/**
|
|
47
|
+
* The publisher's website.
|
|
48
|
+
*/
|
|
49
|
+
"websiteUrl"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The public email address of the publisher for customers.
|
|
52
|
+
*/
|
|
53
|
+
"contactEmail": string;
|
|
54
|
+
/**
|
|
55
|
+
* The phone number of the publisher in E.164 format.
|
|
56
|
+
*/
|
|
57
|
+
"contactPhone": string;
|
|
58
|
+
/**
|
|
59
|
+
* The address of the publisher's headquarters.
|
|
60
|
+
*/
|
|
61
|
+
"hqAddress"?: string;
|
|
62
|
+
"logo"?: model.UploadData;
|
|
63
|
+
/**
|
|
64
|
+
* Publisher's Facebook URL
|
|
65
|
+
*/
|
|
66
|
+
"facebookUrl"?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Publisher's Twitter URL
|
|
69
|
+
*/
|
|
70
|
+
"twitterUrl"?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Publisher's LinkedIn URL
|
|
73
|
+
*/
|
|
74
|
+
"linkedinUrl"?: string;
|
|
75
|
+
/**
|
|
76
|
+
* publisher type.
|
|
77
|
+
*/
|
|
78
|
+
"publisherType": PublisherSummary.PublisherType;
|
|
79
|
+
/**
|
|
80
|
+
* The time the publisher was created. An RFC3339 formatted datetime string.
|
|
81
|
+
*/
|
|
82
|
+
"timeCreated": Date;
|
|
83
|
+
/**
|
|
84
|
+
* The time the publisher was updated. An RFC3339 formatted datetime string.
|
|
85
|
+
*/
|
|
86
|
+
"timeUpdated": Date;
|
|
87
|
+
/**
|
|
88
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
89
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
"freeformTags"?: {
|
|
93
|
+
[key: string]: string;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
97
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
"definedTags"?: {
|
|
101
|
+
[key: string]: {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
107
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
"systemTags"?: {
|
|
111
|
+
[key: string]: {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
export declare namespace PublisherSummary {
|
|
117
|
+
enum PublisherType {
|
|
118
|
+
Internal = "INTERNAL",
|
|
119
|
+
External = "EXTERNAL",
|
|
120
|
+
/**
|
|
121
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
122
|
+
* version of the SDK.
|
|
123
|
+
*/
|
|
124
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
125
|
+
}
|
|
126
|
+
function getJsonObj(obj: PublisherSummary): object;
|
|
127
|
+
function getDeserializedJsonObj(obj: PublisherSummary): object;
|
|
128
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.PublisherSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var PublisherSummary;
|
|
37
|
+
(function (PublisherSummary) {
|
|
38
|
+
let PublisherType;
|
|
39
|
+
(function (PublisherType) {
|
|
40
|
+
PublisherType["Internal"] = "INTERNAL";
|
|
41
|
+
PublisherType["External"] = "EXTERNAL";
|
|
42
|
+
/**
|
|
43
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
44
|
+
* version of the SDK.
|
|
45
|
+
*/
|
|
46
|
+
PublisherType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
47
|
+
})(PublisherType = PublisherSummary.PublisherType || (PublisherSummary.PublisherType = {}));
|
|
48
|
+
function getJsonObj(obj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
50
|
+
"logo": obj.logo ? model.UploadData.getJsonObj(obj.logo) : undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
PublisherSummary.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"logo": obj.logo ? model.UploadData.getDeserializedJsonObj(obj.logo) : undefined
|
|
58
|
+
});
|
|
59
|
+
return jsonObj;
|
|
60
|
+
}
|
|
61
|
+
PublisherSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(PublisherSummary = exports.PublisherSummary || (exports.PublisherSummary = {}));
|
|
63
|
+
//# sourceMappingURL=publisher-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publisher-summary.js","sourceRoot":"","sources":["../../../../../lib/marketplaceprivateoffer/lib/model/publisher-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgGlC,IAAiB,gBAAgB,CA+BhC;AA/BD,WAAiB,gBAAgB;IAC/B,IAAY,aAQX;IARD,WAAY,aAAa;QACvB,sCAAqB,CAAA;QACrB,sCAAqB,CAAA;QACrB;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EARW,aAAa,GAAb,8BAAa,KAAb,8BAAa,QAQxB;IAED,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;SACrE,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,2BAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;SACjF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAsB,yBASrC,CAAA;AACH,CAAC,EA/BgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA+BhC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
* Resource Bundle associated with an Offer
|
|
15
|
+
*/
|
|
16
|
+
export interface ResourceBundle {
|
|
17
|
+
/**
|
|
18
|
+
* The type of resources in the bundle
|
|
19
|
+
*/
|
|
20
|
+
"type"?: ResourceBundle.Type;
|
|
21
|
+
/**
|
|
22
|
+
* The quantity of a resources associated with the bundle Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
23
|
+
*/
|
|
24
|
+
"quantity"?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The unit of measurement for the resource bundle
|
|
27
|
+
*/
|
|
28
|
+
"unitOfMeasurement"?: ResourceBundle.UnitOfMeasurement;
|
|
29
|
+
/**
|
|
30
|
+
* the ids of the resources in the Offer
|
|
31
|
+
*/
|
|
32
|
+
"resourceIds"?: Array<string>;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace ResourceBundle {
|
|
35
|
+
enum Type {
|
|
36
|
+
Listing = "LISTING",
|
|
37
|
+
/**
|
|
38
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
39
|
+
* version of the SDK.
|
|
40
|
+
*/
|
|
41
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
42
|
+
}
|
|
43
|
+
enum UnitOfMeasurement {
|
|
44
|
+
OcpuPerHour = "OCPU_PER_HOUR",
|
|
45
|
+
InstancePerHour = "INSTANCE_PER_HOUR",
|
|
46
|
+
Credits = "CREDITS",
|
|
47
|
+
Instances = "INSTANCES",
|
|
48
|
+
Nodes = "NODES",
|
|
49
|
+
/**
|
|
50
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
51
|
+
* version of the SDK.
|
|
52
|
+
*/
|
|
53
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
54
|
+
}
|
|
55
|
+
function getJsonObj(obj: ResourceBundle): object;
|
|
56
|
+
function getDeserializedJsonObj(obj: ResourceBundle): object;
|
|
57
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.ResourceBundle = void 0;
|
|
16
|
+
var ResourceBundle;
|
|
17
|
+
(function (ResourceBundle) {
|
|
18
|
+
let Type;
|
|
19
|
+
(function (Type) {
|
|
20
|
+
Type["Listing"] = "LISTING";
|
|
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
|
+
Type["UnknownValue"] = "UNKNOWN_VALUE";
|
|
26
|
+
})(Type = ResourceBundle.Type || (ResourceBundle.Type = {}));
|
|
27
|
+
let UnitOfMeasurement;
|
|
28
|
+
(function (UnitOfMeasurement) {
|
|
29
|
+
UnitOfMeasurement["OcpuPerHour"] = "OCPU_PER_HOUR";
|
|
30
|
+
UnitOfMeasurement["InstancePerHour"] = "INSTANCE_PER_HOUR";
|
|
31
|
+
UnitOfMeasurement["Credits"] = "CREDITS";
|
|
32
|
+
UnitOfMeasurement["Instances"] = "INSTANCES";
|
|
33
|
+
UnitOfMeasurement["Nodes"] = "NODES";
|
|
34
|
+
/**
|
|
35
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
36
|
+
* version of the SDK.
|
|
37
|
+
*/
|
|
38
|
+
UnitOfMeasurement["UnknownValue"] = "UNKNOWN_VALUE";
|
|
39
|
+
})(UnitOfMeasurement = ResourceBundle.UnitOfMeasurement || (ResourceBundle.UnitOfMeasurement = {}));
|
|
40
|
+
function getJsonObj(obj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
ResourceBundle.getJsonObj = getJsonObj;
|
|
45
|
+
function getDeserializedJsonObj(obj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
ResourceBundle.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
50
|
+
})(ResourceBundle = exports.ResourceBundle || (exports.ResourceBundle = {}));
|
|
51
|
+
//# sourceMappingURL=resource-bundle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-bundle.js","sourceRoot":"","sources":["../../../../../lib/marketplaceprivateoffer/lib/model/resource-bundle.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2BH,IAAiB,cAAc,CAiC9B;AAjCD,WAAiB,cAAc;IAC7B,IAAY,IAOX;IAPD,WAAY,IAAI;QACd,2BAAmB,CAAA;QACnB;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EAPW,IAAI,GAAJ,mBAAI,KAAJ,mBAAI,QAOf;IAED,IAAY,iBAWX;IAXD,WAAY,iBAAiB;QAC3B,kDAA6B,CAAA;QAC7B,0DAAqC,CAAA;QACrC,wCAAmB,CAAA;QACnB,4CAAuB,CAAA;QACvB,oCAAe,CAAA;QACf;;;WAGG;QACH,mDAA8B,CAAA;IAChC,CAAC,EAXW,iBAAiB,GAAjB,gCAAiB,KAAjB,gCAAiB,QAW5B;IAED,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EAjCgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAiC9B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
* The information related to the seller of an Offer
|
|
16
|
+
*/
|
|
17
|
+
export interface SellerInformation {
|
|
18
|
+
"primaryContact"?: model.Contact;
|
|
19
|
+
/**
|
|
20
|
+
* the additional contacts associated with the seller
|
|
21
|
+
*/
|
|
22
|
+
"additionalContacts"?: Array<model.Contact>;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace SellerInformation {
|
|
25
|
+
function getJsonObj(obj: SellerInformation): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: SellerInformation): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.SellerInformation = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var SellerInformation;
|
|
37
|
+
(function (SellerInformation) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"primaryContact": obj.primaryContact
|
|
41
|
+
? model.Contact.getJsonObj(obj.primaryContact)
|
|
42
|
+
: undefined,
|
|
43
|
+
"additionalContacts": obj.additionalContacts
|
|
44
|
+
? obj.additionalContacts.map(item => {
|
|
45
|
+
return model.Contact.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
SellerInformation.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"primaryContact": obj.primaryContact
|
|
55
|
+
? model.Contact.getDeserializedJsonObj(obj.primaryContact)
|
|
56
|
+
: undefined,
|
|
57
|
+
"additionalContacts": obj.additionalContacts
|
|
58
|
+
? obj.additionalContacts.map(item => {
|
|
59
|
+
return model.Contact.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
SellerInformation.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(SellerInformation = exports.SellerInformation || (exports.SellerInformation = {}));
|
|
67
|
+
//# sourceMappingURL=seller-information.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seller-information.js","sourceRoot":"","sources":["../../../../../lib/marketplaceprivateoffer/lib/model/seller-information.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,iBAAiB,CAmCjC;AAnCD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBAC9C,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,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,4BAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBAC1D,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,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,wCAAsB,yBAgBrC,CAAA;AACH,CAAC,EAnCgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAmCjC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* Sort orders.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum SortOrder {
|
|
17
|
+
Asc = "ASC",
|
|
18
|
+
Desc = "DESC"
|
|
19
|
+
}
|
|
20
|
+
export declare namespace SortOrder {
|
|
21
|
+
function getJsonObj(obj: SortOrder): SortOrder;
|
|
22
|
+
function getDeserializedJsonObj(obj: SortOrder): SortOrder;
|
|
23
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.SortOrder = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Sort orders.
|
|
18
|
+
**/
|
|
19
|
+
var SortOrder;
|
|
20
|
+
(function (SortOrder) {
|
|
21
|
+
SortOrder["Asc"] = "ASC";
|
|
22
|
+
SortOrder["Desc"] = "DESC";
|
|
23
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
24
|
+
(function (SortOrder) {
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
return obj;
|
|
27
|
+
}
|
|
28
|
+
SortOrder.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
return obj;
|
|
31
|
+
}
|
|
32
|
+
SortOrder.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
33
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
34
|
+
//# sourceMappingURL=sort-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-order.js","sourceRoot":"","sources":["../../../../../lib/marketplaceprivateoffer/lib/model/sort-order.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAED,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,gCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOzB"}
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
* The information to be updated.
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateOfferDetails {
|
|
18
|
+
/**
|
|
19
|
+
* Offers Identifier
|
|
20
|
+
*/
|
|
21
|
+
"displayName"?: string;
|
|
22
|
+
/**
|
|
23
|
+
* OCID of the buyer's tenancy (root compartment).
|
|
24
|
+
*/
|
|
25
|
+
"buyerCompartmentId"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Description of the Offer
|
|
28
|
+
*/
|
|
29
|
+
"description"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Internal notes of the Offer
|
|
32
|
+
*/
|
|
33
|
+
"internalNotes"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
|
|
36
|
+
*/
|
|
37
|
+
"timeStartDate"?: Date;
|
|
38
|
+
/**
|
|
39
|
+
* Duration the Offer will be active after its start date. An ISO8601 extended formatted string.
|
|
40
|
+
*/
|
|
41
|
+
"duration"?: string;
|
|
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
|
+
"pricing"?: model.Pricing;
|
|
47
|
+
"buyerInformation"?: model.BuyerInformation;
|
|
48
|
+
"sellerInformation"?: model.SellerInformation;
|
|
49
|
+
/**
|
|
50
|
+
* A list of Resource Bundles associated with an Offer.
|
|
51
|
+
*/
|
|
52
|
+
"resourceBundles"?: Array<model.ResourceBundle>;
|
|
53
|
+
/**
|
|
54
|
+
* A list of key value pairs specified by the seller
|
|
55
|
+
*/
|
|
56
|
+
"customFields"?: Array<model.CustomField>;
|
|
57
|
+
/**
|
|
58
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
59
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"freeformTags"?: {
|
|
63
|
+
[key: string]: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
67
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"definedTags"?: {
|
|
71
|
+
[key: string]: {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export declare namespace UpdateOfferDetails {
|
|
77
|
+
function getJsonObj(obj: UpdateOfferDetails): object;
|
|
78
|
+
function getDeserializedJsonObj(obj: UpdateOfferDetails): object;
|
|
79
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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.UpdateOfferDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var UpdateOfferDetails;
|
|
37
|
+
(function (UpdateOfferDetails) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"pricing": obj.pricing ? model.Pricing.getJsonObj(obj.pricing) : undefined,
|
|
41
|
+
"buyerInformation": obj.buyerInformation
|
|
42
|
+
? model.BuyerInformation.getJsonObj(obj.buyerInformation)
|
|
43
|
+
: undefined,
|
|
44
|
+
"sellerInformation": obj.sellerInformation
|
|
45
|
+
? model.SellerInformation.getJsonObj(obj.sellerInformation)
|
|
46
|
+
: undefined,
|
|
47
|
+
"resourceBundles": obj.resourceBundles
|
|
48
|
+
? obj.resourceBundles.map(item => {
|
|
49
|
+
return model.ResourceBundle.getJsonObj(item);
|
|
50
|
+
})
|
|
51
|
+
: undefined,
|
|
52
|
+
"customFields": obj.customFields
|
|
53
|
+
? obj.customFields.map(item => {
|
|
54
|
+
return model.CustomField.getJsonObj(item);
|
|
55
|
+
})
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
UpdateOfferDetails.getJsonObj = getJsonObj;
|
|
61
|
+
function getDeserializedJsonObj(obj) {
|
|
62
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
63
|
+
"pricing": obj.pricing ? model.Pricing.getDeserializedJsonObj(obj.pricing) : undefined,
|
|
64
|
+
"buyerInformation": obj.buyerInformation
|
|
65
|
+
? model.BuyerInformation.getDeserializedJsonObj(obj.buyerInformation)
|
|
66
|
+
: undefined,
|
|
67
|
+
"sellerInformation": obj.sellerInformation
|
|
68
|
+
? model.SellerInformation.getDeserializedJsonObj(obj.sellerInformation)
|
|
69
|
+
: undefined,
|
|
70
|
+
"resourceBundles": obj.resourceBundles
|
|
71
|
+
? obj.resourceBundles.map(item => {
|
|
72
|
+
return model.ResourceBundle.getDeserializedJsonObj(item);
|
|
73
|
+
})
|
|
74
|
+
: undefined,
|
|
75
|
+
"customFields": obj.customFields
|
|
76
|
+
? obj.customFields.map(item => {
|
|
77
|
+
return model.CustomField.getDeserializedJsonObj(item);
|
|
78
|
+
})
|
|
79
|
+
: undefined
|
|
80
|
+
});
|
|
81
|
+
return jsonObj;
|
|
82
|
+
}
|
|
83
|
+
UpdateOfferDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
84
|
+
})(UpdateOfferDetails = exports.UpdateOfferDetails || (exports.UpdateOfferDetails = {}));
|
|
85
|
+
//# sourceMappingURL=update-offer-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-offer-details.js","sourceRoot":"","sources":["../../../../../lib/marketplaceprivateoffer/lib/model/update-offer-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4DlC,IAAiB,kBAAkB,CAqDlC;AArDD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;YAC1E,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;YACb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBAC3D,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,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,6BAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,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;YACb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,yCAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAqDlC"}
|