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,129 @@
|
|
|
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, 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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ospgateway/ListInvoices.ts.html |here} to see how to use ListInvoicesRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface ListInvoicesRequest 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
|
+
* The invoice query param (not unique).
|
|
36
|
+
*/
|
|
37
|
+
"invoiceId"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* A filter to only return resources that match the given type exactly.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"type"?: Array<ListInvoicesRequest.Type>;
|
|
43
|
+
/**
|
|
44
|
+
* A filter to only return resources that match the given value.
|
|
45
|
+
* Looking for partial matches in the following fileds:
|
|
46
|
+
* Invoice No., Reference No. (plan number), Payment Ref, Total Amount(plan number), Balance Due(plan number)
|
|
47
|
+
* and Party/Customer Name
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
"searchText"?: string;
|
|
51
|
+
/**
|
|
52
|
+
* description: Start time (UTC) of the target invoice date range for which to fetch invoice data (inclusive).
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"timeInvoiceStart"?: Date;
|
|
56
|
+
/**
|
|
57
|
+
* description: End time (UTC) of the target invoice date range for which to fetch invoice data (exclusive).
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
"timeInvoiceEnd"?: Date;
|
|
61
|
+
/**
|
|
62
|
+
* description: Start time (UTC) of the target payment date range for which to fetch invoice data (inclusive).
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
"timePaymentStart"?: Date;
|
|
66
|
+
/**
|
|
67
|
+
* description: End time (UTC) of the target payment date range for which to fetch invoice data (exclusive).
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"timePaymentEnd"?: Date;
|
|
71
|
+
/**
|
|
72
|
+
* A filter to only return resources that match one of the status elements.
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
"status"?: Array<ListInvoicesRequest.Status>;
|
|
76
|
+
/**
|
|
77
|
+
* For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
"page"?: string;
|
|
81
|
+
/**
|
|
82
|
+
* For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
"limit"?: number;
|
|
86
|
+
/**
|
|
87
|
+
* The field to sort by. Only one field can be selected for sorting.
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
"sortBy"?: ListInvoicesRequest.SortBy;
|
|
91
|
+
/**
|
|
92
|
+
* The sort order to use (ascending or descending).
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
"sortOrder"?: ListInvoicesRequest.SortOrder;
|
|
96
|
+
}
|
|
97
|
+
export declare namespace ListInvoicesRequest {
|
|
98
|
+
enum Type {
|
|
99
|
+
Hardware = "HARDWARE",
|
|
100
|
+
Subscription = "SUBSCRIPTION",
|
|
101
|
+
Support = "SUPPORT",
|
|
102
|
+
License = "LICENSE",
|
|
103
|
+
Education = "EDUCATION",
|
|
104
|
+
Consulting = "CONSULTING",
|
|
105
|
+
Service = "SERVICE",
|
|
106
|
+
Usage = "USAGE"
|
|
107
|
+
}
|
|
108
|
+
enum Status {
|
|
109
|
+
Open = "OPEN",
|
|
110
|
+
PastDue = "PAST_DUE",
|
|
111
|
+
PaymentSubmitted = "PAYMENT_SUBMITTED",
|
|
112
|
+
Closed = "CLOSED"
|
|
113
|
+
}
|
|
114
|
+
enum SortBy {
|
|
115
|
+
InvoiceNo = "INVOICE_NO",
|
|
116
|
+
RefNo = "REF_NO",
|
|
117
|
+
Status = "STATUS",
|
|
118
|
+
Type = "TYPE",
|
|
119
|
+
InvoiceDate = "INVOICE_DATE",
|
|
120
|
+
DueDate = "DUE_DATE",
|
|
121
|
+
PaymRef = "PAYM_REF",
|
|
122
|
+
TotalAmount = "TOTAL_AMOUNT",
|
|
123
|
+
BalanceDue = "BALANCE_DUE"
|
|
124
|
+
}
|
|
125
|
+
enum SortOrder {
|
|
126
|
+
Asc = "ASC",
|
|
127
|
+
Desc = "DESC"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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, 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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ListInvoicesRequest = void 0;
|
|
16
|
+
var ListInvoicesRequest;
|
|
17
|
+
(function (ListInvoicesRequest) {
|
|
18
|
+
let Type;
|
|
19
|
+
(function (Type) {
|
|
20
|
+
Type["Hardware"] = "HARDWARE";
|
|
21
|
+
Type["Subscription"] = "SUBSCRIPTION";
|
|
22
|
+
Type["Support"] = "SUPPORT";
|
|
23
|
+
Type["License"] = "LICENSE";
|
|
24
|
+
Type["Education"] = "EDUCATION";
|
|
25
|
+
Type["Consulting"] = "CONSULTING";
|
|
26
|
+
Type["Service"] = "SERVICE";
|
|
27
|
+
Type["Usage"] = "USAGE";
|
|
28
|
+
})(Type = ListInvoicesRequest.Type || (ListInvoicesRequest.Type = {}));
|
|
29
|
+
let Status;
|
|
30
|
+
(function (Status) {
|
|
31
|
+
Status["Open"] = "OPEN";
|
|
32
|
+
Status["PastDue"] = "PAST_DUE";
|
|
33
|
+
Status["PaymentSubmitted"] = "PAYMENT_SUBMITTED";
|
|
34
|
+
Status["Closed"] = "CLOSED";
|
|
35
|
+
})(Status = ListInvoicesRequest.Status || (ListInvoicesRequest.Status = {}));
|
|
36
|
+
let SortBy;
|
|
37
|
+
(function (SortBy) {
|
|
38
|
+
SortBy["InvoiceNo"] = "INVOICE_NO";
|
|
39
|
+
SortBy["RefNo"] = "REF_NO";
|
|
40
|
+
SortBy["Status"] = "STATUS";
|
|
41
|
+
SortBy["Type"] = "TYPE";
|
|
42
|
+
SortBy["InvoiceDate"] = "INVOICE_DATE";
|
|
43
|
+
SortBy["DueDate"] = "DUE_DATE";
|
|
44
|
+
SortBy["PaymRef"] = "PAYM_REF";
|
|
45
|
+
SortBy["TotalAmount"] = "TOTAL_AMOUNT";
|
|
46
|
+
SortBy["BalanceDue"] = "BALANCE_DUE";
|
|
47
|
+
})(SortBy = ListInvoicesRequest.SortBy || (ListInvoicesRequest.SortBy = {}));
|
|
48
|
+
let SortOrder;
|
|
49
|
+
(function (SortOrder) {
|
|
50
|
+
SortOrder["Asc"] = "ASC";
|
|
51
|
+
SortOrder["Desc"] = "DESC";
|
|
52
|
+
})(SortOrder = ListInvoicesRequest.SortOrder || (ListInvoicesRequest.SortOrder = {}));
|
|
53
|
+
})(ListInvoicesRequest = exports.ListInvoicesRequest || (exports.ListInvoicesRequest = {}));
|
|
54
|
+
//# sourceMappingURL=list-invoices-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-invoices-request.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/list-invoices-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAyFH,IAAiB,mBAAmB,CAmCnC;AAnCD,WAAiB,mBAAmB;IAClC,IAAY,IASX;IATD,WAAY,IAAI;QACd,6BAAqB,CAAA;QACrB,qCAA6B,CAAA;QAC7B,2BAAmB,CAAA;QACnB,2BAAmB,CAAA;QACnB,+BAAuB,CAAA;QACvB,iCAAyB,CAAA;QACzB,2BAAmB,CAAA;QACnB,uBAAe,CAAA;IACjB,CAAC,EATW,IAAI,GAAJ,wBAAI,KAAJ,wBAAI,QASf;IAED,IAAY,MAKX;IALD,WAAY,MAAM;QAChB,uBAAa,CAAA;QACb,8BAAoB,CAAA;QACpB,gDAAsC,CAAA;QACtC,2BAAiB,CAAA;IACnB,CAAC,EALW,MAAM,GAAN,0BAAM,KAAN,0BAAM,QAKjB;IAED,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,0BAAM,KAAN,0BAAM,QAUjB;IAED,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,6BAAS,KAAT,6BAAS,QAGpB;AACH,CAAC,EAnCgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAmCnC"}
|
|
@@ -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, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ospgateway/PayInvoice.ts.html |here} to see how to use PayInvoiceRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface PayInvoiceRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The home region's public name of the logged in user.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"ospHomeRegion": string;
|
|
24
|
+
/**
|
|
25
|
+
* The identifier of the invoice.
|
|
26
|
+
*/
|
|
27
|
+
"internalInvoiceId": 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
|
+
* Invoice payment request.
|
|
35
|
+
*/
|
|
36
|
+
"payInvoiceDetails": model.PayInvoiceDetails;
|
|
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, 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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=pay-invoice-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pay-invoice-request.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/pay-invoice-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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, 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
|
+
/// <reference types="node" />
|
|
14
|
+
import stream = require("stream");
|
|
15
|
+
export interface DownloadPdfContentResponse {
|
|
16
|
+
/**
|
|
17
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
18
|
+
* particular request, please provide the request ID.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
"opcRequestId": string;
|
|
22
|
+
/**
|
|
23
|
+
* Set content to download
|
|
24
|
+
*/
|
|
25
|
+
"contentDisposition": string;
|
|
26
|
+
/**
|
|
27
|
+
* The returned stream.Readable | ReadableStream instance.
|
|
28
|
+
*/
|
|
29
|
+
"value": stream.Readable | ReadableStream;
|
|
30
|
+
}
|
|
@@ -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, 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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=download-pdf-content-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download-pdf-content-response.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/response/download-pdf-content-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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, 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
|
+
export interface GetInvoiceResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For optimistic concurrency control. See `if-match`.
|
|
17
|
+
*/
|
|
18
|
+
"etag": string;
|
|
19
|
+
/**
|
|
20
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
21
|
+
* particular request, please provide the request ID.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"opcRequestId": string;
|
|
25
|
+
/**
|
|
26
|
+
* The returned model.Invoice instance.
|
|
27
|
+
*/
|
|
28
|
+
"invoice": model.Invoice;
|
|
29
|
+
}
|
|
@@ -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, 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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=get-invoice-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-invoice-response.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/response/get-invoice-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 DownloadPdfContentResponse from "./download-pdf-content-response";
|
|
14
|
+
export import DownloadPdfContentResponse = DownloadPdfContentResponse.DownloadPdfContentResponse;
|
|
15
|
+
import * as GetInvoiceResponse from "./get-invoice-response";
|
|
16
|
+
export import GetInvoiceResponse = GetInvoiceResponse.GetInvoiceResponse;
|
|
17
|
+
import * as ListInvoiceLinesResponse from "./list-invoice-lines-response";
|
|
18
|
+
export import ListInvoiceLinesResponse = ListInvoiceLinesResponse.ListInvoiceLinesResponse;
|
|
19
|
+
import * as ListInvoicesResponse from "./list-invoices-response";
|
|
20
|
+
export import ListInvoicesResponse = ListInvoicesResponse.ListInvoicesResponse;
|
|
21
|
+
import * as PayInvoiceResponse from "./pay-invoice-response";
|
|
22
|
+
export import PayInvoiceResponse = PayInvoiceResponse.PayInvoiceResponse;
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/response/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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, 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
|
+
export interface ListInvoiceLinesResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For optimistic concurrency control. See `if-match`.
|
|
17
|
+
*/
|
|
18
|
+
"etag": string;
|
|
19
|
+
/**
|
|
20
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
21
|
+
* particular request, please provide the request ID.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"opcRequestId": string;
|
|
25
|
+
/**
|
|
26
|
+
* For list pagination. If this header appears in the response, then this
|
|
27
|
+
* is a partial list of invoices. Include this value as the `page` parameter in a subsequent
|
|
28
|
+
* GET request to get the next batch of invoices.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"opcNextPage": string;
|
|
32
|
+
/**
|
|
33
|
+
* The total number of items that match the query.
|
|
34
|
+
*/
|
|
35
|
+
"opcTotalItems": number;
|
|
36
|
+
/**
|
|
37
|
+
* The returned model.InvoiceLineCollection instance.
|
|
38
|
+
*/
|
|
39
|
+
"invoiceLineCollection": model.InvoiceLineCollection;
|
|
40
|
+
}
|
|
@@ -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, 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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-invoice-lines-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-invoice-lines-response.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/response/list-invoice-lines-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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, 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
|
+
export interface ListInvoicesResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
17
|
+
* particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For list pagination. If this header appears in the response, then this
|
|
23
|
+
* is a partial list of invoices. Include this value as the `page` parameter in a subsequent
|
|
24
|
+
* GET request to get the next batch of invoices.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcNextPage": string;
|
|
28
|
+
/**
|
|
29
|
+
* The total number of items that match the query.
|
|
30
|
+
*/
|
|
31
|
+
"opcTotalItems": number;
|
|
32
|
+
/**
|
|
33
|
+
* The returned model.InvoiceCollection instance.
|
|
34
|
+
*/
|
|
35
|
+
"invoiceCollection": model.InvoiceCollection;
|
|
36
|
+
}
|
|
@@ -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, 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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-invoices-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-invoices-response.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/response/list-invoices-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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, 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
|
+
export interface PayInvoiceResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
17
|
+
* particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For optimistic concurrency control. See `if-match`.
|
|
23
|
+
*/
|
|
24
|
+
"etag": string;
|
|
25
|
+
/**
|
|
26
|
+
* The returned model.PayInvoiceReceipt instance.
|
|
27
|
+
*/
|
|
28
|
+
"payInvoiceReceipt": model.PayInvoiceReceipt;
|
|
29
|
+
}
|
|
@@ -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, 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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=pay-invoice-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pay-invoice-response.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/response/pay-invoice-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oci-ospgateway",
|
|
3
|
+
"version": "2.10.0",
|
|
4
|
+
"description": "OCI NodeJS client for Osp Gateway Service",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/oracle/oci-typescript-sdk"
|
|
8
|
+
},
|
|
9
|
+
"main": "./index.js",
|
|
10
|
+
"typings": "./index",
|
|
11
|
+
"scripts": {},
|
|
12
|
+
"author": {
|
|
13
|
+
"name": "Oracle Cloud Infrastructure",
|
|
14
|
+
"email": ""
|
|
15
|
+
},
|
|
16
|
+
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"oci-common": "2.10.0",
|
|
19
|
+
"oci-workrequests": "2.10.0"
|
|
20
|
+
},
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"registry": "https://registry.npmjs.org"
|
|
23
|
+
},
|
|
24
|
+
"contributors": [
|
|
25
|
+
"Jyoti Saini <jyoti.s.saini@oracle.com>",
|
|
26
|
+
"Joe Levy <joe.levy@oracle.com>",
|
|
27
|
+
"Walt Tran <walt.tran@oracle.com>"
|
|
28
|
+
]
|
|
29
|
+
}
|