oci-ospgateway 2.11.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -2
- package/index.js +4 -3
- package/index.js.map +1 -1
- package/lib/client.d.ts +93 -7
- package/lib/client.js +425 -10
- package/lib/client.js.map +1 -1
- package/lib/model/authorize-subscription-payment-details.d.ts +31 -0
- package/lib/model/authorize-subscription-payment-details.js +57 -0
- package/lib/model/authorize-subscription-payment-details.js.map +1 -0
- package/lib/model/authorize-subscription-payment-receipt.d.ts +33 -0
- package/lib/model/authorize-subscription-payment-receipt.js +29 -0
- package/lib/model/authorize-subscription-payment-receipt.js.map +1 -0
- package/lib/model/{address.d.ts → bill-to-address.d.ts} +6 -6
- package/lib/model/{address.js → bill-to-address.js} +9 -9
- package/lib/model/bill-to-address.js.map +1 -0
- package/lib/model/billing-address.d.ts +65 -0
- package/lib/model/billing-address.js +29 -0
- package/lib/model/billing-address.js.map +1 -0
- package/lib/model/country.d.ts +2 -2
- package/lib/model/country.js +2 -2
- package/lib/model/credit-card-payment-detail.d.ts +2 -2
- package/lib/model/credit-card-payment-detail.js +2 -2
- package/lib/model/credit-card-payment-option.d.ts +24 -0
- package/lib/model/credit-card-payment-option.js +52 -0
- package/lib/model/credit-card-payment-option.js.map +1 -0
- package/lib/model/credit-card-type.d.ts +28 -0
- package/lib/model/credit-card-type.js +39 -0
- package/lib/model/credit-card-type.js.map +1 -0
- package/lib/model/currency.d.ts +2 -2
- package/lib/model/currency.js +2 -2
- package/lib/model/index.d.ts +38 -4
- package/lib/model/index.js +39 -5
- package/lib/model/index.js.map +1 -1
- package/lib/model/invoice-collection.d.ts +2 -2
- package/lib/model/invoice-collection.js +2 -2
- package/lib/model/invoice-line-collection.d.ts +2 -2
- package/lib/model/invoice-line-collection.js +2 -2
- package/lib/model/invoice-line-summary.d.ts +2 -2
- package/lib/model/invoice-line-summary.js +2 -2
- package/lib/model/invoice-summary.d.ts +2 -2
- package/lib/model/invoice-summary.js +2 -2
- package/lib/model/invoice.d.ts +3 -3
- package/lib/model/invoice.js +6 -4
- package/lib/model/invoice.js.map +1 -1
- package/lib/model/merchant-defined-data.d.ts +29 -0
- package/lib/model/merchant-defined-data.js +29 -0
- package/lib/model/merchant-defined-data.js.map +1 -0
- package/lib/model/other-payment-detail.d.ts +2 -2
- package/lib/model/other-payment-detail.js +2 -2
- package/lib/model/pay-invoice-details.d.ts +2 -2
- package/lib/model/pay-invoice-details.js +2 -2
- package/lib/model/pay-invoice-receipt.d.ts +2 -2
- package/lib/model/pay-invoice-receipt.js +2 -2
- package/lib/model/pay-subscription-details.d.ts +31 -0
- package/lib/model/pay-subscription-details.js +57 -0
- package/lib/model/pay-subscription-details.js.map +1 -0
- package/lib/model/pay-subscription-receipt.d.ts +33 -0
- package/lib/model/pay-subscription-receipt.js +29 -0
- package/lib/model/pay-subscription-receipt.js.map +1 -0
- package/lib/model/payment-detail.d.ts +2 -2
- package/lib/model/payment-detail.js +2 -2
- package/lib/model/payment-gateway.d.ts +23 -0
- package/lib/model/payment-gateway.js +57 -0
- package/lib/model/payment-gateway.js.map +1 -0
- package/lib/model/payment-method.d.ts +28 -0
- package/lib/model/payment-method.js +39 -0
- package/lib/model/payment-method.js.map +1 -0
- package/lib/model/payment-option.d.ts +30 -0
- package/lib/model/payment-option.js +69 -0
- package/lib/model/payment-option.js.map +1 -0
- package/lib/model/paypal-payment-detail.d.ts +2 -2
- package/lib/model/paypal-payment-detail.js +2 -2
- package/lib/model/paypal-payment-option.d.ts +24 -0
- package/lib/model/paypal-payment-option.js +52 -0
- package/lib/model/paypal-payment-option.js.map +1 -0
- package/lib/model/subscription-collection.d.ts +26 -0
- package/lib/model/subscription-collection.js +61 -0
- package/lib/model/subscription-collection.js.map +1 -0
- package/lib/model/subscription-summary.d.ts +118 -0
- package/lib/model/subscription-summary.js +107 -0
- package/lib/model/subscription-summary.js.map +1 -0
- package/lib/model/subscription.d.ts +118 -0
- package/lib/model/subscription.js +107 -0
- package/lib/model/subscription.js.map +1 -0
- package/lib/model/tax-info.d.ts +41 -0
- package/lib/model/tax-info.js +29 -0
- package/lib/model/tax-info.js.map +1 -0
- package/lib/model/update-subscription-details.d.ts +27 -0
- package/lib/model/update-subscription-details.js +57 -0
- package/lib/model/update-subscription-details.js.map +1 -0
- package/lib/request/authorize-subscription-payment-request.d.ts +58 -0
- package/lib/request/authorize-subscription-payment-request.js +15 -0
- package/lib/request/authorize-subscription-payment-request.js.map +1 -0
- package/lib/request/download-pdf-content-request.d.ts +1 -1
- package/lib/request/get-invoice-request.d.ts +1 -1
- package/lib/request/get-subscription-request.d.ts +38 -0
- package/lib/request/get-subscription-request.js +15 -0
- package/lib/request/get-subscription-request.js.map +1 -0
- package/lib/request/index.d.ts +12 -2
- package/lib/request/index.js +5 -3
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-invoice-lines-request.d.ts +1 -1
- package/lib/request/list-invoices-request.d.ts +1 -1
- package/lib/request/list-subscriptions-request.d.ts +71 -0
- package/lib/request/list-subscriptions-request.js +36 -0
- package/lib/request/list-subscriptions-request.js.map +1 -0
- package/lib/request/pay-invoice-request.d.ts +1 -1
- package/lib/request/pay-subscription-request.d.ts +58 -0
- package/lib/request/pay-subscription-request.js +15 -0
- package/lib/request/pay-subscription-request.js.map +1 -0
- package/lib/request/update-subscription-request.d.ts +52 -0
- package/lib/request/update-subscription-request.js +15 -0
- package/lib/request/update-subscription-request.js.map +1 -0
- package/lib/response/authorize-subscription-payment-response.d.ts +29 -0
- package/lib/response/authorize-subscription-payment-response.js +15 -0
- package/lib/response/authorize-subscription-payment-response.js.map +1 -0
- package/lib/response/get-subscription-response.d.ts +29 -0
- package/lib/response/get-subscription-response.js +15 -0
- package/lib/response/get-subscription-response.js.map +1 -0
- package/lib/response/index.d.ts +12 -2
- package/lib/response/index.js +2 -2
- package/lib/response/list-subscriptions-response.d.ts +36 -0
- package/lib/response/list-subscriptions-response.js +15 -0
- package/lib/response/list-subscriptions-response.js.map +1 -0
- package/lib/response/pay-subscription-response.d.ts +29 -0
- package/lib/response/pay-subscription-response.js +15 -0
- package/lib/response/pay-subscription-response.js.map +1 -0
- package/lib/response/update-subscription-response.d.ts +29 -0
- package/lib/response/update-subscription-response.js +15 -0
- package/lib/response/update-subscription-response.js.map +1 -0
- package/package.json +3 -3
- package/lib/model/address.js.map +0 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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.Subscription = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var Subscription;
|
|
37
|
+
(function (Subscription) {
|
|
38
|
+
let PlanType;
|
|
39
|
+
(function (PlanType) {
|
|
40
|
+
PlanType["FreeTier"] = "FREE_TIER";
|
|
41
|
+
PlanType["Payg"] = "PAYG";
|
|
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
|
+
PlanType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
47
|
+
})(PlanType = Subscription.PlanType || (Subscription.PlanType = {}));
|
|
48
|
+
let UpgradeState;
|
|
49
|
+
(function (UpgradeState) {
|
|
50
|
+
UpgradeState["Promo"] = "PROMO";
|
|
51
|
+
UpgradeState["Submitted"] = "SUBMITTED";
|
|
52
|
+
UpgradeState["Error"] = "ERROR";
|
|
53
|
+
UpgradeState["Upgraded"] = "UPGRADED";
|
|
54
|
+
/**
|
|
55
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
56
|
+
* version of the SDK.
|
|
57
|
+
*/
|
|
58
|
+
UpgradeState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
59
|
+
})(UpgradeState = Subscription.UpgradeState || (Subscription.UpgradeState = {}));
|
|
60
|
+
let UpgradeStateDetails;
|
|
61
|
+
(function (UpgradeStateDetails) {
|
|
62
|
+
UpgradeStateDetails["TaxError"] = "TAX_ERROR";
|
|
63
|
+
UpgradeStateDetails["UpgradeError"] = "UPGRADE_ERROR";
|
|
64
|
+
/**
|
|
65
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
66
|
+
* version of the SDK.
|
|
67
|
+
*/
|
|
68
|
+
UpgradeStateDetails["UnknownValue"] = "UNKNOWN_VALUE";
|
|
69
|
+
})(UpgradeStateDetails = Subscription.UpgradeStateDetails || (Subscription.UpgradeStateDetails = {}));
|
|
70
|
+
function getJsonObj(obj) {
|
|
71
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
72
|
+
"taxInfo": obj.taxInfo ? model.TaxInfo.getJsonObj(obj.taxInfo) : undefined,
|
|
73
|
+
"paymentOptions": obj.paymentOptions
|
|
74
|
+
? obj.paymentOptions.map(item => {
|
|
75
|
+
return model.PaymentOption.getJsonObj(item);
|
|
76
|
+
})
|
|
77
|
+
: undefined,
|
|
78
|
+
"paymentGateway": obj.paymentGateway
|
|
79
|
+
? model.PaymentGateway.getJsonObj(obj.paymentGateway)
|
|
80
|
+
: undefined,
|
|
81
|
+
"billingAddress": obj.billingAddress
|
|
82
|
+
? model.BillingAddress.getJsonObj(obj.billingAddress)
|
|
83
|
+
: undefined
|
|
84
|
+
});
|
|
85
|
+
return jsonObj;
|
|
86
|
+
}
|
|
87
|
+
Subscription.getJsonObj = getJsonObj;
|
|
88
|
+
function getDeserializedJsonObj(obj) {
|
|
89
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
90
|
+
"taxInfo": obj.taxInfo ? model.TaxInfo.getDeserializedJsonObj(obj.taxInfo) : undefined,
|
|
91
|
+
"paymentOptions": obj.paymentOptions
|
|
92
|
+
? obj.paymentOptions.map(item => {
|
|
93
|
+
return model.PaymentOption.getDeserializedJsonObj(item);
|
|
94
|
+
})
|
|
95
|
+
: undefined,
|
|
96
|
+
"paymentGateway": obj.paymentGateway
|
|
97
|
+
? model.PaymentGateway.getDeserializedJsonObj(obj.paymentGateway)
|
|
98
|
+
: undefined,
|
|
99
|
+
"billingAddress": obj.billingAddress
|
|
100
|
+
? model.BillingAddress.getDeserializedJsonObj(obj.billingAddress)
|
|
101
|
+
: undefined
|
|
102
|
+
});
|
|
103
|
+
return jsonObj;
|
|
104
|
+
}
|
|
105
|
+
Subscription.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
106
|
+
})(Subscription = exports.Subscription || (exports.Subscription = {}));
|
|
107
|
+
//# sourceMappingURL=subscription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/subscription.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4ElC,IAAiB,YAAY,CA2E5B;AA3ED,WAAiB,YAAY;IAC3B,IAAY,QAQX;IARD,WAAY,QAAQ;QAClB,kCAAsB,CAAA;QACtB,yBAAa,CAAA;QACb;;;WAGG;QACH,0CAA8B,CAAA;IAChC,CAAC,EARW,QAAQ,GAAR,qBAAQ,KAAR,qBAAQ,QAQnB;IAED,IAAY,YAUX;IAVD,WAAY,YAAY;QACtB,+BAAe,CAAA;QACf,uCAAuB,CAAA;QACvB,+BAAe,CAAA;QACf,qCAAqB,CAAA;QACrB;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EAVW,YAAY,GAAZ,yBAAY,KAAZ,yBAAY,QAUvB;IAED,IAAY,mBAQX;IARD,WAAY,mBAAmB;QAC7B,6CAAsB,CAAA;QACtB,qDAA8B,CAAA;QAC9B;;;WAGG;QACH,qDAA8B,CAAA;IAChC,CAAC,EARW,mBAAmB,GAAnB,gCAAmB,KAAnB,gCAAmB,QAQ9B;IAED,SAAgB,UAAU,CAAC,GAAiB;QAC1C,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,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC5B,OAAO,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC9C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,uBAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,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,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC5B,OAAO,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,mCAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3EgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA2E5B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, 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
|
+
* Tax details.
|
|
15
|
+
*/
|
|
16
|
+
export interface TaxInfo {
|
|
17
|
+
/**
|
|
18
|
+
* Tay payer identifier.
|
|
19
|
+
*/
|
|
20
|
+
"taxPayerId"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Tax registration number.
|
|
23
|
+
*/
|
|
24
|
+
"taxRegNumber"?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Tax exemption reason code.
|
|
27
|
+
*/
|
|
28
|
+
"noTaxReasonCode"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Tax exemption reason description.
|
|
31
|
+
*/
|
|
32
|
+
"noTaxReasonCodeDetails"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Brazilian companies' CNPJ number.
|
|
35
|
+
*/
|
|
36
|
+
"taxCnpj"?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace TaxInfo {
|
|
39
|
+
function getJsonObj(obj: TaxInfo): object;
|
|
40
|
+
function getDeserializedJsonObj(obj: TaxInfo): object;
|
|
41
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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.TaxInfo = void 0;
|
|
16
|
+
var TaxInfo;
|
|
17
|
+
(function (TaxInfo) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
TaxInfo.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
TaxInfo.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(TaxInfo = exports.TaxInfo || (exports.TaxInfo = {}));
|
|
29
|
+
//# sourceMappingURL=tax-info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tax-info.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/tax-info.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+BH,IAAiB,OAAO,CAWvB;AAXD,WAAiB,OAAO;IACtB,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,EAXgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAWvB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, 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
|
+
* Request object for updating a subscription
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateSubscriptionDetails {
|
|
18
|
+
"subscription": model.Subscription;
|
|
19
|
+
/**
|
|
20
|
+
* User email
|
|
21
|
+
*/
|
|
22
|
+
"email": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace UpdateSubscriptionDetails {
|
|
25
|
+
function getJsonObj(obj: UpdateSubscriptionDetails): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: UpdateSubscriptionDetails): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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.UpdateSubscriptionDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var UpdateSubscriptionDetails;
|
|
37
|
+
(function (UpdateSubscriptionDetails) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"subscription": obj.subscription
|
|
41
|
+
? model.Subscription.getJsonObj(obj.subscription)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
UpdateSubscriptionDetails.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"subscription": obj.subscription
|
|
50
|
+
? model.Subscription.getDeserializedJsonObj(obj.subscription)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
UpdateSubscriptionDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(UpdateSubscriptionDetails = exports.UpdateSubscriptionDetails || (exports.UpdateSubscriptionDetails = {}));
|
|
57
|
+
//# sourceMappingURL=update-subscription-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-subscription-details.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/update-subscription-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,yBAAyB,CAyBzC;AAzBD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,oCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,gDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAyBzC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/ospgateway/AuthorizeSubscriptionPayment.ts.html |here} to see how to use AuthorizeSubscriptionPaymentRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface AuthorizeSubscriptionPaymentRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The home region's public name of the logged in user.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"ospHomeRegion": string;
|
|
24
|
+
/**
|
|
25
|
+
* Subscription id(OCID).
|
|
26
|
+
*/
|
|
27
|
+
"subscriptionId": string;
|
|
28
|
+
/**
|
|
29
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"compartmentId": string;
|
|
33
|
+
/**
|
|
34
|
+
* subscription payment request.
|
|
35
|
+
*/
|
|
36
|
+
"authorizeSubscriptionPaymentDetails": model.AuthorizeSubscriptionPaymentDetails;
|
|
37
|
+
/**
|
|
38
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
39
|
+
* for a resource, set the `if-match` parameter to the value of the
|
|
40
|
+
* etag from a previous GET or POST response for that resource.
|
|
41
|
+
* The resource will be updated or deleted only if the etag you
|
|
42
|
+
* provide matches the resource's current etag value.
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
"ifMatch"?: string;
|
|
46
|
+
/**
|
|
47
|
+
* For requests that are not idempotent (creates being the main place of interest), THE APIs should take a header
|
|
48
|
+
* called opc-retry-token to identify the customer desire across requests, to introduce some level of idempotency.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
"opcRetryToken"?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
54
|
+
* particular request, please provide the request ID.
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
"opcRequestId"?: string;
|
|
58
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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
|
+
//# sourceMappingURL=authorize-subscription-payment-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorize-subscription-payment-request.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/authorize-subscription-payment-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/ospgateway/DownloadPdfContent.ts.html |here} to see how to use DownloadPdfContentRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface DownloadPdfContentRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/ospgateway/GetInvoice.ts.html |here} to see how to use GetInvoiceRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetInvoiceRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, 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
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/ospgateway/GetSubscription.ts.html |here} to see how to use GetSubscriptionRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetSubscriptionRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Subscription id(OCID).
|
|
20
|
+
*/
|
|
21
|
+
"subscriptionId": string;
|
|
22
|
+
/**
|
|
23
|
+
* The home region's public name of the logged in user.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"ospHomeRegion": string;
|
|
27
|
+
/**
|
|
28
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"compartmentId": string;
|
|
32
|
+
/**
|
|
33
|
+
* The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
34
|
+
* particular request, please provide the request ID.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"opcRequestId"?: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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
|
+
//# sourceMappingURL=get-subscription-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subscription-request.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/get-subscription-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
package/lib/request/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* This site describes all the Rest endpoints of
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
4
|
* OpenAPI spec version: 20191001
|
|
5
5
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
6
|
*
|
|
@@ -20,3 +20,13 @@ import * as ListInvoicesRequest from "./list-invoices-request";
|
|
|
20
20
|
export import ListInvoicesRequest = ListInvoicesRequest.ListInvoicesRequest;
|
|
21
21
|
import * as PayInvoiceRequest from "./pay-invoice-request";
|
|
22
22
|
export import PayInvoiceRequest = PayInvoiceRequest.PayInvoiceRequest;
|
|
23
|
+
import * as AuthorizeSubscriptionPaymentRequest from "./authorize-subscription-payment-request";
|
|
24
|
+
export import AuthorizeSubscriptionPaymentRequest = AuthorizeSubscriptionPaymentRequest.AuthorizeSubscriptionPaymentRequest;
|
|
25
|
+
import * as GetSubscriptionRequest from "./get-subscription-request";
|
|
26
|
+
export import GetSubscriptionRequest = GetSubscriptionRequest.GetSubscriptionRequest;
|
|
27
|
+
import * as ListSubscriptionsRequest from "./list-subscriptions-request";
|
|
28
|
+
export import ListSubscriptionsRequest = ListSubscriptionsRequest.ListSubscriptionsRequest;
|
|
29
|
+
import * as PaySubscriptionRequest from "./pay-subscription-request";
|
|
30
|
+
export import PaySubscriptionRequest = PaySubscriptionRequest.PaySubscriptionRequest;
|
|
31
|
+
import * as UpdateSubscriptionRequest from "./update-subscription-request";
|
|
32
|
+
export import UpdateSubscriptionRequest = UpdateSubscriptionRequest.UpdateSubscriptionRequest;
|
package/lib/request/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This site describes all the Rest endpoints of
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
5
|
* OpenAPI spec version: 20191001
|
|
6
6
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
7
|
*
|
|
@@ -31,7 +31,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
31
31
|
return result;
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
-
exports.ListInvoicesRequest = void 0;
|
|
34
|
+
exports.ListSubscriptionsRequest = exports.ListInvoicesRequest = void 0;
|
|
35
35
|
const ListInvoicesRequest = __importStar(require("./list-invoices-request"));
|
|
36
36
|
exports.ListInvoicesRequest = ListInvoicesRequest.ListInvoicesRequest;
|
|
37
|
+
const ListSubscriptionsRequest = __importStar(require("./list-subscriptions-request"));
|
|
38
|
+
exports.ListSubscriptionsRequest = ListSubscriptionsRequest.ListSubscriptionsRequest;
|
|
37
39
|
//# sourceMappingURL=index.js.map
|
package/lib/request/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAQH,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAQH,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAO5E,uFAAyE;AAC3D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/ospgateway/ListInvoiceLines.ts.html |here} to see how to use ListInvoiceLinesRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListInvoiceLinesRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/ospgateway/ListInvoices.ts.html |here} to see how to use ListInvoicesRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListInvoicesRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, 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
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/ospgateway/ListSubscriptions.ts.html |here} to see how to use ListSubscriptionsRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface ListSubscriptionsRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The home region's public name of the logged in user.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
"ospHomeRegion": string;
|
|
23
|
+
/**
|
|
24
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"compartmentId": string;
|
|
28
|
+
/**
|
|
29
|
+
* The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
30
|
+
* particular request, please provide the request ID.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"opcRequestId"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"page"?: string;
|
|
39
|
+
/**
|
|
40
|
+
* For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"limit"?: number;
|
|
44
|
+
/**
|
|
45
|
+
* The field to sort by. Only one field can be selected for sorting.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"sortBy"?: ListSubscriptionsRequest.SortBy;
|
|
49
|
+
/**
|
|
50
|
+
* The sort order to use (ascending or descending).
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"sortOrder"?: ListSubscriptionsRequest.SortOrder;
|
|
54
|
+
}
|
|
55
|
+
export declare namespace ListSubscriptionsRequest {
|
|
56
|
+
enum SortBy {
|
|
57
|
+
InvoiceNo = "INVOICE_NO",
|
|
58
|
+
RefNo = "REF_NO",
|
|
59
|
+
Status = "STATUS",
|
|
60
|
+
Type = "TYPE",
|
|
61
|
+
InvoiceDate = "INVOICE_DATE",
|
|
62
|
+
DueDate = "DUE_DATE",
|
|
63
|
+
PaymRef = "PAYM_REF",
|
|
64
|
+
TotalAmount = "TOTAL_AMOUNT",
|
|
65
|
+
BalanceDue = "BALANCE_DUE"
|
|
66
|
+
}
|
|
67
|
+
enum SortOrder {
|
|
68
|
+
Asc = "ASC",
|
|
69
|
+
Desc = "DESC"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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.ListSubscriptionsRequest = void 0;
|
|
16
|
+
var ListSubscriptionsRequest;
|
|
17
|
+
(function (ListSubscriptionsRequest) {
|
|
18
|
+
let SortBy;
|
|
19
|
+
(function (SortBy) {
|
|
20
|
+
SortBy["InvoiceNo"] = "INVOICE_NO";
|
|
21
|
+
SortBy["RefNo"] = "REF_NO";
|
|
22
|
+
SortBy["Status"] = "STATUS";
|
|
23
|
+
SortBy["Type"] = "TYPE";
|
|
24
|
+
SortBy["InvoiceDate"] = "INVOICE_DATE";
|
|
25
|
+
SortBy["DueDate"] = "DUE_DATE";
|
|
26
|
+
SortBy["PaymRef"] = "PAYM_REF";
|
|
27
|
+
SortBy["TotalAmount"] = "TOTAL_AMOUNT";
|
|
28
|
+
SortBy["BalanceDue"] = "BALANCE_DUE";
|
|
29
|
+
})(SortBy = ListSubscriptionsRequest.SortBy || (ListSubscriptionsRequest.SortBy = {}));
|
|
30
|
+
let SortOrder;
|
|
31
|
+
(function (SortOrder) {
|
|
32
|
+
SortOrder["Asc"] = "ASC";
|
|
33
|
+
SortOrder["Desc"] = "DESC";
|
|
34
|
+
})(SortOrder = ListSubscriptionsRequest.SortOrder || (ListSubscriptionsRequest.SortOrder = {}));
|
|
35
|
+
})(ListSubscriptionsRequest = exports.ListSubscriptionsRequest || (exports.ListSubscriptionsRequest = {}));
|
|
36
|
+
//# sourceMappingURL=list-subscriptions-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-subscriptions-request.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/list-subscriptions-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+CH,IAAiB,wBAAwB,CAiBxC;AAjBD,WAAiB,wBAAwB;IACvC,IAAY,MAUX;IAVD,WAAY,MAAM;QAChB,kCAAwB,CAAA;QACxB,0BAAgB,CAAA;QAChB,2BAAiB,CAAA;QACjB,uBAAa,CAAA;QACb,sCAA4B,CAAA;QAC5B,8BAAoB,CAAA;QACpB,8BAAoB,CAAA;QACpB,sCAA4B,CAAA;QAC5B,oCAA0B,CAAA;IAC5B,CAAC,EAVW,MAAM,GAAN,+BAAM,KAAN,+BAAM,QAUjB;IAED,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,kCAAS,KAAT,kCAAS,QAGpB;AACH,CAAC,EAjBgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAiBxC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/ospgateway/PayInvoice.ts.html |here} to see how to use PayInvoiceRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface PayInvoiceRequest extends common.BaseRequest {
|
|
19
19
|
/**
|