oci-ospgateway 2.12.1 → 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
package/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
|
*
|
|
@@ -18,3 +18,4 @@ export { models };
|
|
|
18
18
|
export { requests };
|
|
19
19
|
export { responses };
|
|
20
20
|
export import InvoiceServiceClient = client.InvoiceServiceClient;
|
|
21
|
+
export import SubscriptionServiceClient = client.SubscriptionServiceClient;
|
package/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,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
31
31
|
return result;
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
-
exports.InvoiceServiceClient = exports.responses = exports.requests = exports.models = void 0;
|
|
34
|
+
exports.SubscriptionServiceClient = exports.InvoiceServiceClient = exports.responses = exports.requests = exports.models = void 0;
|
|
35
35
|
const requests = __importStar(require("./lib/request"));
|
|
36
36
|
exports.requests = requests;
|
|
37
37
|
const models = __importStar(require("./lib/model"));
|
|
@@ -40,4 +40,5 @@ const responses = __importStar(require("./lib/response"));
|
|
|
40
40
|
exports.responses = responses;
|
|
41
41
|
const client = __importStar(require("./lib/client"));
|
|
42
42
|
exports.InvoiceServiceClient = client.InvoiceServiceClient;
|
|
43
|
+
exports.SubscriptionServiceClient = client.SubscriptionServiceClient;
|
|
43
44
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/ospgateway/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAMjC,4BAAQ;AALjB,oDAAsC;AAI7B,wBAAM;AAHf,0DAA4C;AAKnC,8BAAS;AAJlB,qDAAuC;AAKzB,QAAA,oBAAoB,GAAG,MAAM,CAAC,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/ospgateway/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAMjC,4BAAQ;AALjB,oDAAsC;AAI7B,wBAAM;AAHf,0DAA4C;AAKnC,8BAAS;AAJlB,qDAAuC;AAKzB,QAAA,oBAAoB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACnD,QAAA,yBAAyB,GAAG,MAAM,CAAC,yBAAyB,CAAC"}
|
package/lib/client.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,6 +20,7 @@ export declare enum InvoiceServiceApiKeys {
|
|
|
20
20
|
*/
|
|
21
21
|
export declare class InvoiceServiceClient {
|
|
22
22
|
protected static serviceEndpointTemplate: string;
|
|
23
|
+
protected static endpointServiceName: string;
|
|
23
24
|
protected "_endpoint": string;
|
|
24
25
|
protected "_defaultHeaders": any;
|
|
25
26
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
@@ -57,7 +58,7 @@ export declare class InvoiceServiceClient {
|
|
|
57
58
|
* @param DownloadPdfContentRequest
|
|
58
59
|
* @return DownloadPdfContentResponse
|
|
59
60
|
* @throws OciError when an error occurs
|
|
60
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
61
|
+
* @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 DownloadPdfContent API.
|
|
61
62
|
*/
|
|
62
63
|
downloadPdfContent(downloadPdfContentRequest: requests.DownloadPdfContentRequest): Promise<responses.DownloadPdfContentResponse>;
|
|
63
64
|
/**
|
|
@@ -66,7 +67,7 @@ export declare class InvoiceServiceClient {
|
|
|
66
67
|
* @param GetInvoiceRequest
|
|
67
68
|
* @return GetInvoiceResponse
|
|
68
69
|
* @throws OciError when an error occurs
|
|
69
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
70
|
+
* @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 GetInvoice API.
|
|
70
71
|
*/
|
|
71
72
|
getInvoice(getInvoiceRequest: requests.GetInvoiceRequest): Promise<responses.GetInvoiceResponse>;
|
|
72
73
|
/**
|
|
@@ -75,7 +76,7 @@ export declare class InvoiceServiceClient {
|
|
|
75
76
|
* @param ListInvoiceLinesRequest
|
|
76
77
|
* @return ListInvoiceLinesResponse
|
|
77
78
|
* @throws OciError when an error occurs
|
|
78
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
79
|
+
* @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 ListInvoiceLines API.
|
|
79
80
|
*/
|
|
80
81
|
listInvoiceLines(listInvoiceLinesRequest: requests.ListInvoiceLinesRequest): Promise<responses.ListInvoiceLinesResponse>;
|
|
81
82
|
/**
|
|
@@ -84,7 +85,7 @@ export declare class InvoiceServiceClient {
|
|
|
84
85
|
* @param ListInvoicesRequest
|
|
85
86
|
* @return ListInvoicesResponse
|
|
86
87
|
* @throws OciError when an error occurs
|
|
87
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
88
|
+
* @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 ListInvoices API.
|
|
88
89
|
*/
|
|
89
90
|
listInvoices(listInvoicesRequest: requests.ListInvoicesRequest): Promise<responses.ListInvoicesResponse>;
|
|
90
91
|
/**
|
|
@@ -93,7 +94,92 @@ export declare class InvoiceServiceClient {
|
|
|
93
94
|
* @param PayInvoiceRequest
|
|
94
95
|
* @return PayInvoiceResponse
|
|
95
96
|
* @throws OciError when an error occurs
|
|
96
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
97
|
+
* @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 PayInvoice API.
|
|
97
98
|
*/
|
|
98
99
|
payInvoice(payInvoiceRequest: requests.PayInvoiceRequest): Promise<responses.PayInvoiceResponse>;
|
|
99
100
|
}
|
|
101
|
+
export declare enum SubscriptionServiceApiKeys {
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
105
|
+
*/
|
|
106
|
+
export declare class SubscriptionServiceClient {
|
|
107
|
+
protected static serviceEndpointTemplate: string;
|
|
108
|
+
protected static endpointServiceName: string;
|
|
109
|
+
protected "_endpoint": string;
|
|
110
|
+
protected "_defaultHeaders": any;
|
|
111
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
112
|
+
protected _circuitBreaker: null;
|
|
113
|
+
protected _httpClient: common.HttpClient;
|
|
114
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
115
|
+
/**
|
|
116
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
117
|
+
*/
|
|
118
|
+
get endpoint(): string;
|
|
119
|
+
/**
|
|
120
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
121
|
+
* @param endpoint The endpoint of the service.
|
|
122
|
+
*/
|
|
123
|
+
set endpoint(endpoint: string);
|
|
124
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
125
|
+
/**
|
|
126
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
127
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
128
|
+
* @param region The region of the service.
|
|
129
|
+
*/
|
|
130
|
+
set region(region: common.Region);
|
|
131
|
+
/**
|
|
132
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
133
|
+
*
|
|
134
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
135
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
136
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
137
|
+
* @param regionId The public region ID.
|
|
138
|
+
*/
|
|
139
|
+
set regionId(regionId: string);
|
|
140
|
+
/**
|
|
141
|
+
* PSD2 authorization for subscription payment
|
|
142
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
143
|
+
* @param AuthorizeSubscriptionPaymentRequest
|
|
144
|
+
* @return AuthorizeSubscriptionPaymentResponse
|
|
145
|
+
* @throws OciError when an error occurs
|
|
146
|
+
* @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 AuthorizeSubscriptionPayment API.
|
|
147
|
+
*/
|
|
148
|
+
authorizeSubscriptionPayment(authorizeSubscriptionPaymentRequest: requests.AuthorizeSubscriptionPaymentRequest): Promise<responses.AuthorizeSubscriptionPaymentResponse>;
|
|
149
|
+
/**
|
|
150
|
+
* Get the subscription plan.
|
|
151
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
152
|
+
* @param GetSubscriptionRequest
|
|
153
|
+
* @return GetSubscriptionResponse
|
|
154
|
+
* @throws OciError when an error occurs
|
|
155
|
+
* @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 GetSubscription API.
|
|
156
|
+
*/
|
|
157
|
+
getSubscription(getSubscriptionRequest: requests.GetSubscriptionRequest): Promise<responses.GetSubscriptionResponse>;
|
|
158
|
+
/**
|
|
159
|
+
* Get the subscription data for the compartment
|
|
160
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
161
|
+
* @param ListSubscriptionsRequest
|
|
162
|
+
* @return ListSubscriptionsResponse
|
|
163
|
+
* @throws OciError when an error occurs
|
|
164
|
+
* @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 ListSubscriptions API.
|
|
165
|
+
*/
|
|
166
|
+
listSubscriptions(listSubscriptionsRequest: requests.ListSubscriptionsRequest): Promise<responses.ListSubscriptionsResponse>;
|
|
167
|
+
/**
|
|
168
|
+
* Pay a subscription
|
|
169
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
170
|
+
* @param PaySubscriptionRequest
|
|
171
|
+
* @return PaySubscriptionResponse
|
|
172
|
+
* @throws OciError when an error occurs
|
|
173
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/ospgateway/PaySubscription.ts.html |here} to see how to use PaySubscription API.
|
|
174
|
+
*/
|
|
175
|
+
paySubscription(paySubscriptionRequest: requests.PaySubscriptionRequest): Promise<responses.PaySubscriptionResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* Update plan of the subscription.
|
|
178
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
179
|
+
* @param UpdateSubscriptionRequest
|
|
180
|
+
* @return UpdateSubscriptionResponse
|
|
181
|
+
* @throws OciError when an error occurs
|
|
182
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.13.0/ospgateway/UpdateSubscription.ts.html |here} to see how to use UpdateSubscription API.
|
|
183
|
+
*/
|
|
184
|
+
updateSubscription(updateSubscriptionRequest: requests.UpdateSubscriptionRequest): Promise<responses.UpdateSubscriptionResponse>;
|
|
185
|
+
}
|