oci-ospgateway 2.10.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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +1521 -0
- package/index.d.ts +20 -0
- package/index.js +43 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +99 -0
- package/lib/client.js +477 -0
- package/lib/client.js.map +1 -0
- package/lib/model/address.d.ts +75 -0
- package/lib/model/address.js +53 -0
- package/lib/model/address.js.map +1 -0
- package/lib/model/country.d.ts +41 -0
- package/lib/model/country.js +29 -0
- package/lib/model/country.js.map +1 -0
- package/lib/model/credit-card-payment-detail.d.ts +24 -0
- package/lib/model/credit-card-payment-detail.js +52 -0
- package/lib/model/credit-card-payment-detail.js.map +1 -0
- package/lib/model/currency.d.ts +41 -0
- package/lib/model/currency.js +29 -0
- package/lib/model/currency.js.map +1 -0
- package/lib/model/index.d.ts +40 -0
- package/lib/model/index.js +63 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/invoice-collection.d.ts +26 -0
- package/lib/model/invoice-collection.js +61 -0
- package/lib/model/invoice-collection.js.map +1 -0
- package/lib/model/invoice-line-collection.d.ts +26 -0
- package/lib/model/invoice-line-collection.js +61 -0
- package/lib/model/invoice-line-collection.js.map +1 -0
- package/lib/model/invoice-line-summary.d.ts +55 -0
- package/lib/model/invoice-line-summary.js +53 -0
- package/lib/model/invoice-line-summary.js.map +1 -0
- package/lib/model/invoice-summary.d.ts +146 -0
- package/lib/model/invoice-summary.js +87 -0
- package/lib/model/invoice-summary.js.map +1 -0
- package/lib/model/invoice.d.ts +139 -0
- package/lib/model/invoice.js +91 -0
- package/lib/model/invoice.js.map +1 -0
- package/lib/model/other-payment-detail.d.ts +24 -0
- package/lib/model/other-payment-detail.js +52 -0
- package/lib/model/other-payment-detail.js.map +1 -0
- package/lib/model/pay-invoice-details.d.ts +33 -0
- package/lib/model/pay-invoice-details.js +29 -0
- package/lib/model/pay-invoice-details.js.map +1 -0
- package/lib/model/pay-invoice-receipt.d.ts +33 -0
- package/lib/model/pay-invoice-receipt.js +29 -0
- package/lib/model/pay-invoice-receipt.js.map +1 -0
- package/lib/model/payment-detail.d.ts +34 -0
- package/lib/model/payment-detail.js +73 -0
- package/lib/model/payment-detail.js.map +1 -0
- package/lib/model/paypal-payment-detail.d.ts +24 -0
- package/lib/model/paypal-payment-detail.js +52 -0
- package/lib/model/paypal-payment-detail.js.map +1 -0
- package/lib/request/download-pdf-content-request.d.ts +38 -0
- package/lib/request/download-pdf-content-request.js +15 -0
- package/lib/request/download-pdf-content-request.js.map +1 -0
- package/lib/request/get-invoice-request.d.ts +38 -0
- package/lib/request/get-invoice-request.js +15 -0
- package/lib/request/get-invoice-request.js.map +1 -0
- package/lib/request/index.d.ts +22 -0
- package/lib/request/index.js +37 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-invoice-lines-request.d.ts +48 -0
- package/lib/request/list-invoice-lines-request.js +15 -0
- package/lib/request/list-invoice-lines-request.js.map +1 -0
- package/lib/request/list-invoices-request.d.ts +129 -0
- package/lib/request/list-invoices-request.js +54 -0
- package/lib/request/list-invoices-request.js.map +1 -0
- package/lib/request/pay-invoice-request.d.ts +58 -0
- package/lib/request/pay-invoice-request.js +15 -0
- package/lib/request/pay-invoice-request.js.map +1 -0
- package/lib/response/download-pdf-content-response.d.ts +30 -0
- package/lib/response/download-pdf-content-response.js +15 -0
- package/lib/response/download-pdf-content-response.js.map +1 -0
- package/lib/response/get-invoice-response.d.ts +29 -0
- package/lib/response/get-invoice-response.js +15 -0
- package/lib/response/get-invoice-response.js.map +1 -0
- package/lib/response/index.d.ts +22 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-invoice-lines-response.d.ts +40 -0
- package/lib/response/list-invoice-lines-response.js +15 -0
- package/lib/response/list-invoice-lines-response.js.map +1 -0
- package/lib/response/list-invoices-response.d.ts +36 -0
- package/lib/response/list-invoices-response.js +15 -0
- package/lib/response/list-invoices-response.js.map +1 -0
- package/lib/response/pay-invoice-response.d.ts +29 -0
- package/lib/response/pay-invoice-response.js +15 -0
- package/lib/response/pay-invoice-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice-line-collection.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/invoice-line-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,qBAAqB,CA6BrC;AA7BD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA6BrC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing Center Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of Billing Center 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, 2021, 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
|
+
* Product items of the invoice
|
|
16
|
+
*/
|
|
17
|
+
export interface InvoiceLineSummary {
|
|
18
|
+
/**
|
|
19
|
+
* Product of the item
|
|
20
|
+
*/
|
|
21
|
+
"product": string;
|
|
22
|
+
/**
|
|
23
|
+
* Product of the item
|
|
24
|
+
*/
|
|
25
|
+
"orderNo"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Part number
|
|
28
|
+
*/
|
|
29
|
+
"partNumber"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Start date
|
|
32
|
+
*/
|
|
33
|
+
"timeStart"?: Date;
|
|
34
|
+
/**
|
|
35
|
+
* End date
|
|
36
|
+
*/
|
|
37
|
+
"timeEnd"?: Date;
|
|
38
|
+
/**
|
|
39
|
+
* Quantity of the ordered product Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
40
|
+
*/
|
|
41
|
+
"quantity"?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Unit price of the ordered product Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
44
|
+
*/
|
|
45
|
+
"netUnitPrice"?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Total price of the ordered product (Net unit price x quantity) Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
48
|
+
*/
|
|
49
|
+
"totalPrice"?: number;
|
|
50
|
+
"currency"?: model.Currency;
|
|
51
|
+
}
|
|
52
|
+
export declare namespace InvoiceLineSummary {
|
|
53
|
+
function getJsonObj(obj: InvoiceLineSummary): object;
|
|
54
|
+
function getDeserializedJsonObj(obj: InvoiceLineSummary): object;
|
|
55
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Billing Center Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of Billing Center 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, 2021, 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.InvoiceLineSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var InvoiceLineSummary;
|
|
37
|
+
(function (InvoiceLineSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"currency": obj.currency ? model.Currency.getJsonObj(obj.currency) : undefined
|
|
41
|
+
});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
InvoiceLineSummary.getJsonObj = getJsonObj;
|
|
45
|
+
function getDeserializedJsonObj(obj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
47
|
+
"currency": obj.currency ? model.Currency.getDeserializedJsonObj(obj.currency) : undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
InvoiceLineSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
52
|
+
})(InvoiceLineSummary = exports.InvoiceLineSummary || (exports.InvoiceLineSummary = {}));
|
|
53
|
+
//# sourceMappingURL=invoice-line-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice-line-summary.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/invoice-line-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0ClC,IAAiB,kBAAkB,CAqBlC;AArBD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;SAC/E,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,6BAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,yCAAsB,yBASrC,CAAA;AACH,CAAC,EArBgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAqBlC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing Center Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of Billing Center 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, 2021, 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
|
+
* Invoice list elements
|
|
16
|
+
*/
|
|
17
|
+
export interface InvoiceSummary {
|
|
18
|
+
/**
|
|
19
|
+
* Invoice identifier
|
|
20
|
+
*/
|
|
21
|
+
"invoiceId": string;
|
|
22
|
+
/**
|
|
23
|
+
* Invoice external reference
|
|
24
|
+
*/
|
|
25
|
+
"invoiceNumber"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* PC invoice identifier
|
|
28
|
+
*/
|
|
29
|
+
"internalInvoiceId"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Is credit card payment eligible
|
|
32
|
+
*/
|
|
33
|
+
"isCreditCardPayable"?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Invoice status
|
|
36
|
+
*/
|
|
37
|
+
"invoiceStatus"?: InvoiceSummary.InvoiceStatus;
|
|
38
|
+
/**
|
|
39
|
+
* Type of invoice
|
|
40
|
+
*/
|
|
41
|
+
"invoiceType"?: InvoiceSummary.InvoiceType;
|
|
42
|
+
/**
|
|
43
|
+
* Is the invoice has been already payed
|
|
44
|
+
*/
|
|
45
|
+
"isPaid"?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Whether invoice can be payed
|
|
48
|
+
*/
|
|
49
|
+
"isPayable"?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Invoice amount Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
52
|
+
*/
|
|
53
|
+
"invoiceAmount"?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Invoice amount due Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
56
|
+
*/
|
|
57
|
+
"invoiceAmountDue"?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Invoice amount credit Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
60
|
+
*/
|
|
61
|
+
"invoiceAmountCredited"?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Invoice amount adjust Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
64
|
+
*/
|
|
65
|
+
"invoiceAmountAdjusted"?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Invoice amount applied Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
68
|
+
*/
|
|
69
|
+
"invoiceAmountApplied"?: number;
|
|
70
|
+
/**
|
|
71
|
+
* Due date of invoice amount
|
|
72
|
+
*/
|
|
73
|
+
"timeInvoiceDue"?: Date;
|
|
74
|
+
/**
|
|
75
|
+
* Is the last payment failed
|
|
76
|
+
*/
|
|
77
|
+
"isPaymentFailed"?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Invoice amount in dispute Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
80
|
+
*/
|
|
81
|
+
"invoiceAmountInDispute"?: number;
|
|
82
|
+
/**
|
|
83
|
+
* Invoice reference number
|
|
84
|
+
*/
|
|
85
|
+
"invoiceRefNumber"?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Invoice PO number
|
|
88
|
+
*/
|
|
89
|
+
"invoicePoNumber"?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Date of invoice
|
|
92
|
+
*/
|
|
93
|
+
"timeInvoice"?: Date;
|
|
94
|
+
"currency"?: model.Currency;
|
|
95
|
+
/**
|
|
96
|
+
* Is emailing pdf allowed
|
|
97
|
+
*/
|
|
98
|
+
"isPdfEmailAvailable"?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Is view access allowed
|
|
101
|
+
*/
|
|
102
|
+
"isDisplayViewPdf"?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Is pdf download access allowed
|
|
105
|
+
*/
|
|
106
|
+
"isDisplayDownloadPdf"?: boolean;
|
|
107
|
+
"lastPaymentDetail"?: model.OtherPaymentDetail | model.PaypalPaymentDetail | model.CreditCardPaymentDetail;
|
|
108
|
+
/**
|
|
109
|
+
* Name of the bill to customer
|
|
110
|
+
*/
|
|
111
|
+
"partyName"?: string;
|
|
112
|
+
/**
|
|
113
|
+
* List of subscription identifiers
|
|
114
|
+
*/
|
|
115
|
+
"subscriptionIds"?: Array<string>;
|
|
116
|
+
}
|
|
117
|
+
export declare namespace InvoiceSummary {
|
|
118
|
+
enum InvoiceStatus {
|
|
119
|
+
Open = "OPEN",
|
|
120
|
+
PastDue = "PAST_DUE",
|
|
121
|
+
PaymentSubmitted = "PAYMENT_SUBMITTED",
|
|
122
|
+
Closed = "CLOSED",
|
|
123
|
+
/**
|
|
124
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
125
|
+
* version of the SDK.
|
|
126
|
+
*/
|
|
127
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
128
|
+
}
|
|
129
|
+
enum InvoiceType {
|
|
130
|
+
Hardware = "HARDWARE",
|
|
131
|
+
Subscription = "SUBSCRIPTION",
|
|
132
|
+
Support = "SUPPORT",
|
|
133
|
+
License = "LICENSE",
|
|
134
|
+
Education = "EDUCATION",
|
|
135
|
+
Consulting = "CONSULTING",
|
|
136
|
+
Service = "SERVICE",
|
|
137
|
+
Usage = "USAGE",
|
|
138
|
+
/**
|
|
139
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
140
|
+
* version of the SDK.
|
|
141
|
+
*/
|
|
142
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
143
|
+
}
|
|
144
|
+
function getJsonObj(obj: InvoiceSummary): object;
|
|
145
|
+
function getDeserializedJsonObj(obj: InvoiceSummary): object;
|
|
146
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Billing Center Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of Billing Center 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, 2021, 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.InvoiceSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var InvoiceSummary;
|
|
37
|
+
(function (InvoiceSummary) {
|
|
38
|
+
let InvoiceStatus;
|
|
39
|
+
(function (InvoiceStatus) {
|
|
40
|
+
InvoiceStatus["Open"] = "OPEN";
|
|
41
|
+
InvoiceStatus["PastDue"] = "PAST_DUE";
|
|
42
|
+
InvoiceStatus["PaymentSubmitted"] = "PAYMENT_SUBMITTED";
|
|
43
|
+
InvoiceStatus["Closed"] = "CLOSED";
|
|
44
|
+
/**
|
|
45
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
46
|
+
* version of the SDK.
|
|
47
|
+
*/
|
|
48
|
+
InvoiceStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
49
|
+
})(InvoiceStatus = InvoiceSummary.InvoiceStatus || (InvoiceSummary.InvoiceStatus = {}));
|
|
50
|
+
let InvoiceType;
|
|
51
|
+
(function (InvoiceType) {
|
|
52
|
+
InvoiceType["Hardware"] = "HARDWARE";
|
|
53
|
+
InvoiceType["Subscription"] = "SUBSCRIPTION";
|
|
54
|
+
InvoiceType["Support"] = "SUPPORT";
|
|
55
|
+
InvoiceType["License"] = "LICENSE";
|
|
56
|
+
InvoiceType["Education"] = "EDUCATION";
|
|
57
|
+
InvoiceType["Consulting"] = "CONSULTING";
|
|
58
|
+
InvoiceType["Service"] = "SERVICE";
|
|
59
|
+
InvoiceType["Usage"] = "USAGE";
|
|
60
|
+
/**
|
|
61
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
62
|
+
* version of the SDK.
|
|
63
|
+
*/
|
|
64
|
+
InvoiceType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
65
|
+
})(InvoiceType = InvoiceSummary.InvoiceType || (InvoiceSummary.InvoiceType = {}));
|
|
66
|
+
function getJsonObj(obj) {
|
|
67
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
68
|
+
"currency": obj.currency ? model.Currency.getJsonObj(obj.currency) : undefined,
|
|
69
|
+
"lastPaymentDetail": obj.lastPaymentDetail
|
|
70
|
+
? model.PaymentDetail.getJsonObj(obj.lastPaymentDetail)
|
|
71
|
+
: undefined
|
|
72
|
+
});
|
|
73
|
+
return jsonObj;
|
|
74
|
+
}
|
|
75
|
+
InvoiceSummary.getJsonObj = getJsonObj;
|
|
76
|
+
function getDeserializedJsonObj(obj) {
|
|
77
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
78
|
+
"currency": obj.currency ? model.Currency.getDeserializedJsonObj(obj.currency) : undefined,
|
|
79
|
+
"lastPaymentDetail": obj.lastPaymentDetail
|
|
80
|
+
? model.PaymentDetail.getDeserializedJsonObj(obj.lastPaymentDetail)
|
|
81
|
+
: undefined
|
|
82
|
+
});
|
|
83
|
+
return jsonObj;
|
|
84
|
+
}
|
|
85
|
+
InvoiceSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
86
|
+
})(InvoiceSummary = exports.InvoiceSummary || (exports.InvoiceSummary = {}));
|
|
87
|
+
//# sourceMappingURL=invoice-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice-summary.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/invoice-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8GlC,IAAiB,cAAc,CAyD9B;AAzDD,WAAiB,cAAc;IAC7B,IAAY,aAUX;IAVD,WAAY,aAAa;QACvB,8BAAa,CAAA;QACb,qCAAoB,CAAA;QACpB,uDAAsC,CAAA;QACtC,kCAAiB,CAAA;QACjB;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EAVW,aAAa,GAAb,4BAAa,KAAb,4BAAa,QAUxB;IAED,IAAY,WAcX;IAdD,WAAY,WAAW;QACrB,oCAAqB,CAAA;QACrB,4CAA6B,CAAA;QAC7B,kCAAmB,CAAA;QACnB,kCAAmB,CAAA;QACnB,sCAAuB,CAAA;QACvB,wCAAyB,CAAA;QACzB,kCAAmB,CAAA;QACnB,8BAAe,CAAA;QACf;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EAdW,WAAW,GAAX,0BAAW,KAAX,0BAAW,QActB;IAED,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YAE9E,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YAE1F,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACnE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAsB,yBAarC,CAAA;AACH,CAAC,EAzDgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAyD9B"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing Center Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of Billing Center 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, 2021, 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
|
+
* Invoice details
|
|
16
|
+
*/
|
|
17
|
+
export interface Invoice {
|
|
18
|
+
/**
|
|
19
|
+
* Invoice identifier which is generated on the on-premise sie. Pls note this is not an OCID
|
|
20
|
+
*/
|
|
21
|
+
"invoiceId": string;
|
|
22
|
+
/**
|
|
23
|
+
* Invoice external reference
|
|
24
|
+
*/
|
|
25
|
+
"invoiceNumber"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Transaction identifier
|
|
28
|
+
*/
|
|
29
|
+
"internalInvoiceId"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Is credit card payment eligible
|
|
32
|
+
*/
|
|
33
|
+
"isCreditCardPayable"?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Date of invoice
|
|
36
|
+
*/
|
|
37
|
+
"timeInvoice"?: Date;
|
|
38
|
+
/**
|
|
39
|
+
* Tax of invoice amount Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
40
|
+
*/
|
|
41
|
+
"tax"?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Total amount of invoice Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
44
|
+
*/
|
|
45
|
+
"invoiceAmount"?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Balance of invoice Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
48
|
+
*/
|
|
49
|
+
"invoiceAmountDue"?: number;
|
|
50
|
+
/**
|
|
51
|
+
* Invoice amount credit Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
52
|
+
*/
|
|
53
|
+
"invoiceAmountCredited"?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Invoice amount adjust Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
56
|
+
*/
|
|
57
|
+
"invoiceAmountAdjusted"?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Invoice amount applied Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
60
|
+
*/
|
|
61
|
+
"invoiceAmountApplied"?: number;
|
|
62
|
+
"currency"?: model.Currency;
|
|
63
|
+
/**
|
|
64
|
+
* Type of invoice
|
|
65
|
+
*/
|
|
66
|
+
"invoiceType"?: Invoice.InvoiceType;
|
|
67
|
+
/**
|
|
68
|
+
* Due date of invoice
|
|
69
|
+
*/
|
|
70
|
+
"timeInvoiceDue"?: Date;
|
|
71
|
+
/**
|
|
72
|
+
* Invoice reference number
|
|
73
|
+
*/
|
|
74
|
+
"invoiceRefNumber"?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Invoice PO number
|
|
77
|
+
*/
|
|
78
|
+
"invoicePoNumber"?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Invoice status
|
|
81
|
+
*/
|
|
82
|
+
"invoiceStatus"?: Invoice.InvoiceStatus;
|
|
83
|
+
/**
|
|
84
|
+
* Preferred Email on the invoice
|
|
85
|
+
*/
|
|
86
|
+
"preferredEmail"?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Is emailing pdf allowed
|
|
89
|
+
*/
|
|
90
|
+
"isPdfEmailAvailable"?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Is pdf download access allowed
|
|
93
|
+
*/
|
|
94
|
+
"isDisplayDownloadPdf"?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Whether invoice can be payed
|
|
97
|
+
*/
|
|
98
|
+
"isPayable"?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Payment terms
|
|
101
|
+
*/
|
|
102
|
+
"paymentTerms"?: string;
|
|
103
|
+
"lastPaymentDetail"?: model.OtherPaymentDetail | model.PaypalPaymentDetail | model.CreditCardPaymentDetail;
|
|
104
|
+
"billToAddress"?: model.Address;
|
|
105
|
+
/**
|
|
106
|
+
* List of subscription identifiers
|
|
107
|
+
*/
|
|
108
|
+
"subscriptionIds"?: Array<string>;
|
|
109
|
+
}
|
|
110
|
+
export declare namespace Invoice {
|
|
111
|
+
enum InvoiceType {
|
|
112
|
+
Hardware = "HARDWARE",
|
|
113
|
+
Subscription = "SUBSCRIPTION",
|
|
114
|
+
Support = "SUPPORT",
|
|
115
|
+
License = "LICENSE",
|
|
116
|
+
Education = "EDUCATION",
|
|
117
|
+
Consulting = "CONSULTING",
|
|
118
|
+
Service = "SERVICE",
|
|
119
|
+
Usage = "USAGE",
|
|
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
|
+
enum InvoiceStatus {
|
|
127
|
+
Open = "OPEN",
|
|
128
|
+
PastDue = "PAST_DUE",
|
|
129
|
+
PaymentSubmitted = "PAYMENT_SUBMITTED",
|
|
130
|
+
Closed = "CLOSED",
|
|
131
|
+
/**
|
|
132
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
133
|
+
* version of the SDK.
|
|
134
|
+
*/
|
|
135
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
136
|
+
}
|
|
137
|
+
function getJsonObj(obj: Invoice): object;
|
|
138
|
+
function getDeserializedJsonObj(obj: Invoice): object;
|
|
139
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Billing Center Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of Billing Center 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, 2021, 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.Invoice = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var Invoice;
|
|
37
|
+
(function (Invoice) {
|
|
38
|
+
let InvoiceType;
|
|
39
|
+
(function (InvoiceType) {
|
|
40
|
+
InvoiceType["Hardware"] = "HARDWARE";
|
|
41
|
+
InvoiceType["Subscription"] = "SUBSCRIPTION";
|
|
42
|
+
InvoiceType["Support"] = "SUPPORT";
|
|
43
|
+
InvoiceType["License"] = "LICENSE";
|
|
44
|
+
InvoiceType["Education"] = "EDUCATION";
|
|
45
|
+
InvoiceType["Consulting"] = "CONSULTING";
|
|
46
|
+
InvoiceType["Service"] = "SERVICE";
|
|
47
|
+
InvoiceType["Usage"] = "USAGE";
|
|
48
|
+
/**
|
|
49
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
50
|
+
* version of the SDK.
|
|
51
|
+
*/
|
|
52
|
+
InvoiceType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
53
|
+
})(InvoiceType = Invoice.InvoiceType || (Invoice.InvoiceType = {}));
|
|
54
|
+
let InvoiceStatus;
|
|
55
|
+
(function (InvoiceStatus) {
|
|
56
|
+
InvoiceStatus["Open"] = "OPEN";
|
|
57
|
+
InvoiceStatus["PastDue"] = "PAST_DUE";
|
|
58
|
+
InvoiceStatus["PaymentSubmitted"] = "PAYMENT_SUBMITTED";
|
|
59
|
+
InvoiceStatus["Closed"] = "CLOSED";
|
|
60
|
+
/**
|
|
61
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
62
|
+
* version of the SDK.
|
|
63
|
+
*/
|
|
64
|
+
InvoiceStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
65
|
+
})(InvoiceStatus = Invoice.InvoiceStatus || (Invoice.InvoiceStatus = {}));
|
|
66
|
+
function getJsonObj(obj) {
|
|
67
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
68
|
+
"currency": obj.currency ? model.Currency.getJsonObj(obj.currency) : undefined,
|
|
69
|
+
"lastPaymentDetail": obj.lastPaymentDetail
|
|
70
|
+
? model.PaymentDetail.getJsonObj(obj.lastPaymentDetail)
|
|
71
|
+
: undefined,
|
|
72
|
+
"billToAddress": obj.billToAddress ? model.Address.getJsonObj(obj.billToAddress) : undefined
|
|
73
|
+
});
|
|
74
|
+
return jsonObj;
|
|
75
|
+
}
|
|
76
|
+
Invoice.getJsonObj = getJsonObj;
|
|
77
|
+
function getDeserializedJsonObj(obj) {
|
|
78
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
79
|
+
"currency": obj.currency ? model.Currency.getDeserializedJsonObj(obj.currency) : undefined,
|
|
80
|
+
"lastPaymentDetail": obj.lastPaymentDetail
|
|
81
|
+
? model.PaymentDetail.getDeserializedJsonObj(obj.lastPaymentDetail)
|
|
82
|
+
: undefined,
|
|
83
|
+
"billToAddress": obj.billToAddress
|
|
84
|
+
? model.Address.getDeserializedJsonObj(obj.billToAddress)
|
|
85
|
+
: undefined
|
|
86
|
+
});
|
|
87
|
+
return jsonObj;
|
|
88
|
+
}
|
|
89
|
+
Invoice.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
90
|
+
})(Invoice = exports.Invoice || (exports.Invoice = {}));
|
|
91
|
+
//# sourceMappingURL=invoice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/invoice.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuGlC,IAAiB,OAAO,CA6DvB;AA7DD,WAAiB,OAAO;IACtB,IAAY,WAcX;IAdD,WAAY,WAAW;QACrB,oCAAqB,CAAA;QACrB,4CAA6B,CAAA;QAC7B,kCAAmB,CAAA;QACnB,kCAAmB,CAAA;QACnB,sCAAuB,CAAA;QACvB,wCAAyB,CAAA;QACzB,kCAAmB,CAAA;QACnB,8BAAe,CAAA;QACf;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EAdW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QActB;IAED,IAAY,aAUX;IAVD,WAAY,aAAa;QACvB,8BAAa,CAAA;QACb,qCAAoB,CAAA;QACpB,uDAAsC,CAAA;QACtC,kCAAiB,CAAA;QACjB;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EAVW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAUxB;IAED,SAAgB,UAAU,CAAC,GAAY;QACrC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YAE9E,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACvD,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS;SAC7F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,kBAAU,aAczB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAY;QACjD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YAE1F,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACnE,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,8BAAsB,yBAgBrC,CAAA;AACH,CAAC,EA7DgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA6DvB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing Center Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of Billing Center 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, 2021, 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
|
+
* Other Payment related details
|
|
16
|
+
*/
|
|
17
|
+
export interface OtherPaymentDetail extends model.PaymentDetail {
|
|
18
|
+
"paymentMethod": string;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace OtherPaymentDetail {
|
|
21
|
+
function getJsonObj(obj: OtherPaymentDetail, isParentJsonObj?: boolean): object;
|
|
22
|
+
const paymentMethod = "OTHER";
|
|
23
|
+
function getDeserializedJsonObj(obj: OtherPaymentDetail, isParentJsonObj?: boolean): object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Billing Center Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of Billing Center 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, 2021, 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.OtherPaymentDetail = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var OtherPaymentDetail;
|
|
37
|
+
(function (OtherPaymentDetail) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.PaymentDetail.getJsonObj(obj))), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
OtherPaymentDetail.getJsonObj = getJsonObj;
|
|
43
|
+
OtherPaymentDetail.paymentMethod = "OTHER";
|
|
44
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
46
|
+
? obj
|
|
47
|
+
: model.PaymentDetail.getDeserializedJsonObj(obj))), {});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
OtherPaymentDetail.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
51
|
+
})(OtherPaymentDetail = exports.OtherPaymentDetail || (exports.OtherPaymentDetail = {}));
|
|
52
|
+
//# sourceMappingURL=other-payment-detail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"other-payment-detail.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/other-payment-detail.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,kBAAkB,CAuBlC;AAvBD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB,EAAE,eAAyB;QAC3E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAwB,CAAC,GACrF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,6BAAU,aAOzB,CAAA;IACY,gCAAa,GAAG,OAAO,CAAC;IACrC,SAAgB,sBAAsB,CACpC,GAAuB,EACvB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAwB,CAAC,GACzE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,yCAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAuBlC"}
|