oci-osubbillingschedule 2.12.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 +21 -0
- package/index.js +44 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +99 -0
- package/lib/client.js +240 -0
- package/lib/client.js.map +1 -0
- package/lib/model/billing-schedule-summary.d.ts +89 -0
- package/lib/model/billing-schedule-summary.js +64 -0
- package/lib/model/billing-schedule-summary.js.map +1 -0
- package/lib/model/index.d.ts +17 -0
- package/lib/model/index.js +40 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/product.d.ts +32 -0
- package/lib/model/product.js +30 -0
- package/lib/model/product.js.map +1 -0
- package/lib/request/index.d.ts +15 -0
- package/lib/request/index.js +38 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-billing-schedules-request.d.ts +74 -0
- package/lib/request/list-billing-schedules-request.js +29 -0
- package/lib/request/list-billing-schedules-request.js.map +1 -0
- package/lib/response/index.d.ts +15 -0
- package/lib/response/index.js +16 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-billing-schedules-response.d.ts +32 -0
- package/lib/response/list-billing-schedules-response.js +15 -0
- package/lib/response/list-billing-schedules-response.js.map +1 -0
- package/package.json +29 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription API Billing Schedule
|
|
3
|
+
* OneSubscription API for Billing Schedule information
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
* Contact: kuaskum_org_ww@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
|
+
import * as requests from "./lib/request";
|
|
15
|
+
import * as models from "./lib/model";
|
|
16
|
+
import * as responses from "./lib/response";
|
|
17
|
+
import * as client from "./lib/client";
|
|
18
|
+
export { models };
|
|
19
|
+
export { requests };
|
|
20
|
+
export { responses };
|
|
21
|
+
export import BillingScheduleClient = client.BillingScheduleClient;
|
package/index.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription API Billing Schedule
|
|
4
|
+
* OneSubscription API for Billing Schedule information
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20210501
|
|
7
|
+
* Contact: kuaskum_org_ww@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.BillingScheduleClient = exports.responses = exports.requests = exports.models = void 0;
|
|
36
|
+
const requests = __importStar(require("./lib/request"));
|
|
37
|
+
exports.requests = requests;
|
|
38
|
+
const models = __importStar(require("./lib/model"));
|
|
39
|
+
exports.models = models;
|
|
40
|
+
const responses = __importStar(require("./lib/response"));
|
|
41
|
+
exports.responses = responses;
|
|
42
|
+
const client = __importStar(require("./lib/client"));
|
|
43
|
+
exports.BillingScheduleClient = client.BillingScheduleClient;
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/osubbillingschedule/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAMjC,4BAAQ;AALjB,oDAAsC;AAI7B,wBAAM;AAHf,0DAA4C;AAKnC,8BAAS;AAJlB,qDAAuC;AAKzB,QAAA,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC"}
|
package/lib/client.d.ts
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription API Billing Schedule
|
|
3
|
+
* OneSubscription API for Billing Schedule information
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
* Contact: kuaskum_org_ww@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
|
+
import common = require("oci-common");
|
|
15
|
+
import * as requests from "./request";
|
|
16
|
+
import * as model from "./model";
|
|
17
|
+
import * as responses from "./response";
|
|
18
|
+
export declare enum BillingScheduleApiKeys {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
22
|
+
*/
|
|
23
|
+
export declare class BillingScheduleClient {
|
|
24
|
+
protected static serviceEndpointTemplate: string;
|
|
25
|
+
protected "_endpoint": string;
|
|
26
|
+
protected "_defaultHeaders": any;
|
|
27
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
28
|
+
protected _circuitBreaker: null;
|
|
29
|
+
protected _httpClient: common.HttpClient;
|
|
30
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
31
|
+
/**
|
|
32
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
33
|
+
*/
|
|
34
|
+
get endpoint(): string;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
37
|
+
* @param endpoint The endpoint of the service.
|
|
38
|
+
*/
|
|
39
|
+
set endpoint(endpoint: string);
|
|
40
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
41
|
+
/**
|
|
42
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
43
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
44
|
+
* @param region The region of the service.
|
|
45
|
+
*/
|
|
46
|
+
set region(region: common.Region);
|
|
47
|
+
/**
|
|
48
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
49
|
+
*
|
|
50
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
51
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
52
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
53
|
+
* @param regionId The public region ID.
|
|
54
|
+
*/
|
|
55
|
+
set regionId(regionId: string);
|
|
56
|
+
/**
|
|
57
|
+
* This list API returns all billing schedules for given subscription id and
|
|
58
|
+
* for a particular Subscribed Service if provided
|
|
59
|
+
*
|
|
60
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
61
|
+
* @param ListBillingSchedulesRequest
|
|
62
|
+
* @return ListBillingSchedulesResponse
|
|
63
|
+
* @throws OciError when an error occurs
|
|
64
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubbillingschedule/ListBillingSchedules.ts.html |here} to see how to use ListBillingSchedules API.
|
|
65
|
+
*/
|
|
66
|
+
listBillingSchedules(listBillingSchedulesRequest: requests.ListBillingSchedulesRequest): Promise<responses.ListBillingSchedulesResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* NOTE: This function is deprecated in favor of listBillingSchedulesRecordIterator function.
|
|
69
|
+
* Creates a new async iterator which will iterate over the models.BillingScheduleSummary objects
|
|
70
|
+
* contained in responses from the listBillingSchedules operation. This iterator will fetch more data from the
|
|
71
|
+
* server as needed.
|
|
72
|
+
*
|
|
73
|
+
* @param request a request which can be sent to the service operation
|
|
74
|
+
*/
|
|
75
|
+
listAllBillingSchedules(request: requests.ListBillingSchedulesRequest): AsyncIterableIterator<model.BillingScheduleSummary>;
|
|
76
|
+
/**
|
|
77
|
+
* NOTE: This function is deprecated in favor of listBillingSchedulesResponseIterator function.
|
|
78
|
+
* Creates a new async iterator which will iterate over the responses received from the listBillingSchedules operation. This iterator
|
|
79
|
+
* will fetch more data from the server as needed.
|
|
80
|
+
*
|
|
81
|
+
* @param request a request which can be sent to the service operation
|
|
82
|
+
*/
|
|
83
|
+
listAllBillingSchedulesResponses(request: requests.ListBillingSchedulesRequest): AsyncIterableIterator<responses.ListBillingSchedulesResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* Creates a new async iterator which will iterate over the models.BillingScheduleSummary objects
|
|
86
|
+
* contained in responses from the listBillingSchedules operation. This iterator will fetch more data from the
|
|
87
|
+
* server as needed.
|
|
88
|
+
*
|
|
89
|
+
* @param request a request which can be sent to the service operation
|
|
90
|
+
*/
|
|
91
|
+
listBillingSchedulesRecordIterator(request: requests.ListBillingSchedulesRequest): AsyncIterableIterator<model.BillingScheduleSummary>;
|
|
92
|
+
/**
|
|
93
|
+
* Creates a new async iterator which will iterate over the responses received from the listBillingSchedules operation. This iterator
|
|
94
|
+
* will fetch more data from the server as needed.
|
|
95
|
+
*
|
|
96
|
+
* @param request a request which can be sent to the service operation
|
|
97
|
+
*/
|
|
98
|
+
listBillingSchedulesResponseIterator(request: requests.ListBillingSchedulesRequest): AsyncIterableIterator<responses.ListBillingSchedulesResponse>;
|
|
99
|
+
}
|
package/lib/client.js
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription API Billing Schedule
|
|
4
|
+
* OneSubscription API for Billing Schedule information
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20210501
|
|
7
|
+
* Contact: kuaskum_org_ww@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
35
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
36
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
37
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
38
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
39
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
40
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
|
+
exports.BillingScheduleClient = exports.BillingScheduleApiKeys = void 0;
|
|
45
|
+
const common = require("oci-common");
|
|
46
|
+
const model = __importStar(require("./model"));
|
|
47
|
+
const oci_common_1 = require("oci-common");
|
|
48
|
+
const oci_common_2 = require("oci-common");
|
|
49
|
+
// ===============================================
|
|
50
|
+
// This file is autogenerated - Please do not edit
|
|
51
|
+
// ===============================================
|
|
52
|
+
var BillingScheduleApiKeys;
|
|
53
|
+
(function (BillingScheduleApiKeys) {
|
|
54
|
+
})(BillingScheduleApiKeys = exports.BillingScheduleApiKeys || (exports.BillingScheduleApiKeys = {}));
|
|
55
|
+
/**
|
|
56
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
57
|
+
*/
|
|
58
|
+
class BillingScheduleClient {
|
|
59
|
+
constructor(params, clientConfiguration) {
|
|
60
|
+
this["_endpoint"] = "";
|
|
61
|
+
this["_defaultHeaders"] = {};
|
|
62
|
+
this._circuitBreaker = null;
|
|
63
|
+
const requestSigner = params.authenticationDetailsProvider
|
|
64
|
+
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
65
|
+
: null;
|
|
66
|
+
if (clientConfiguration) {
|
|
67
|
+
this._clientConfiguration = clientConfiguration;
|
|
68
|
+
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
69
|
+
? clientConfiguration.circuitBreaker.circuit
|
|
70
|
+
: null;
|
|
71
|
+
}
|
|
72
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
73
|
+
const specCircuitBreakerEnabled = true;
|
|
74
|
+
if (!this._circuitBreaker &&
|
|
75
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
76
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
77
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
78
|
+
}
|
|
79
|
+
this._httpClient =
|
|
80
|
+
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
81
|
+
if (params.authenticationDetailsProvider &&
|
|
82
|
+
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
83
|
+
const provider = params.authenticationDetailsProvider;
|
|
84
|
+
if (provider.getRegion()) {
|
|
85
|
+
this.region = provider.getRegion();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
91
|
+
*/
|
|
92
|
+
get endpoint() {
|
|
93
|
+
return this._endpoint;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
97
|
+
* @param endpoint The endpoint of the service.
|
|
98
|
+
*/
|
|
99
|
+
set endpoint(endpoint) {
|
|
100
|
+
this._endpoint = endpoint;
|
|
101
|
+
this._endpoint = this._endpoint + "/oalapp/service/onesubs/proxy/20210501";
|
|
102
|
+
if (this.logger)
|
|
103
|
+
this.logger.info(`BillingScheduleClient endpoint set to ${this._endpoint}`);
|
|
104
|
+
}
|
|
105
|
+
get logger() {
|
|
106
|
+
return common.LOG.logger;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
110
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
111
|
+
* @param region The region of the service.
|
|
112
|
+
*/
|
|
113
|
+
set region(region) {
|
|
114
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(BillingScheduleClient.serviceEndpointTemplate, region);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
118
|
+
*
|
|
119
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
120
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
121
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
122
|
+
* @param regionId The public region ID.
|
|
123
|
+
*/
|
|
124
|
+
set regionId(regionId) {
|
|
125
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(BillingScheduleClient.serviceEndpointTemplate, regionId);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* This list API returns all billing schedules for given subscription id and
|
|
129
|
+
* for a particular Subscribed Service if provided
|
|
130
|
+
*
|
|
131
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
132
|
+
* @param ListBillingSchedulesRequest
|
|
133
|
+
* @return ListBillingSchedulesResponse
|
|
134
|
+
* @throws OciError when an error occurs
|
|
135
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubbillingschedule/ListBillingSchedules.ts.html |here} to see how to use ListBillingSchedules API.
|
|
136
|
+
*/
|
|
137
|
+
listBillingSchedules(listBillingSchedulesRequest) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
if (this.logger)
|
|
140
|
+
this.logger.debug("Calling operation BillingScheduleClient#listBillingSchedules.");
|
|
141
|
+
const pathParams = {};
|
|
142
|
+
const queryParams = {
|
|
143
|
+
"compartmentId": listBillingSchedulesRequest.compartmentId,
|
|
144
|
+
"subscriptionId": listBillingSchedulesRequest.subscriptionId,
|
|
145
|
+
"subscribedServiceId": listBillingSchedulesRequest.subscribedServiceId,
|
|
146
|
+
"limit": listBillingSchedulesRequest.limit,
|
|
147
|
+
"page": listBillingSchedulesRequest.page,
|
|
148
|
+
"sortOrder": listBillingSchedulesRequest.sortOrder,
|
|
149
|
+
"sortBy": listBillingSchedulesRequest.sortBy
|
|
150
|
+
};
|
|
151
|
+
let headerParams = {
|
|
152
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
153
|
+
"opc-request-id": listBillingSchedulesRequest.opcRequestId,
|
|
154
|
+
"x-one-origin-region": listBillingSchedulesRequest.xOneOriginRegion
|
|
155
|
+
};
|
|
156
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
157
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBillingSchedulesRequest.retryConfiguration, specRetryConfiguration);
|
|
158
|
+
if (this.logger)
|
|
159
|
+
retrier.logger = this.logger;
|
|
160
|
+
const request = yield oci_common_2.composeRequest({
|
|
161
|
+
baseEndpoint: this._endpoint,
|
|
162
|
+
defaultHeaders: this._defaultHeaders,
|
|
163
|
+
path: "/billingSchedules",
|
|
164
|
+
method: "GET",
|
|
165
|
+
pathParams: pathParams,
|
|
166
|
+
headerParams: headerParams,
|
|
167
|
+
queryParams: queryParams
|
|
168
|
+
});
|
|
169
|
+
try {
|
|
170
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
171
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
172
|
+
responseObject: {},
|
|
173
|
+
body: yield response.json(),
|
|
174
|
+
bodyKey: "items",
|
|
175
|
+
bodyModel: model.BillingScheduleSummary,
|
|
176
|
+
type: "Array<model.BillingScheduleSummary>",
|
|
177
|
+
responseHeaders: [
|
|
178
|
+
{
|
|
179
|
+
value: response.headers.get("opc-next-page"),
|
|
180
|
+
key: "opcNextPage",
|
|
181
|
+
dataType: "string"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
value: response.headers.get("opc-request-id"),
|
|
185
|
+
key: "opcRequestId",
|
|
186
|
+
dataType: "string"
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
});
|
|
190
|
+
return sdkResponse;
|
|
191
|
+
}
|
|
192
|
+
catch (err) {
|
|
193
|
+
throw err;
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* NOTE: This function is deprecated in favor of listBillingSchedulesRecordIterator function.
|
|
199
|
+
* Creates a new async iterator which will iterate over the models.BillingScheduleSummary objects
|
|
200
|
+
* contained in responses from the listBillingSchedules operation. This iterator will fetch more data from the
|
|
201
|
+
* server as needed.
|
|
202
|
+
*
|
|
203
|
+
* @param request a request which can be sent to the service operation
|
|
204
|
+
*/
|
|
205
|
+
listAllBillingSchedules(request) {
|
|
206
|
+
return oci_common_1.paginateRecords(request, req => this.listBillingSchedules(req));
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* NOTE: This function is deprecated in favor of listBillingSchedulesResponseIterator function.
|
|
210
|
+
* Creates a new async iterator which will iterate over the responses received from the listBillingSchedules operation. This iterator
|
|
211
|
+
* will fetch more data from the server as needed.
|
|
212
|
+
*
|
|
213
|
+
* @param request a request which can be sent to the service operation
|
|
214
|
+
*/
|
|
215
|
+
listAllBillingSchedulesResponses(request) {
|
|
216
|
+
return oci_common_1.paginateResponses(request, req => this.listBillingSchedules(req));
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Creates a new async iterator which will iterate over the models.BillingScheduleSummary objects
|
|
220
|
+
* contained in responses from the listBillingSchedules operation. This iterator will fetch more data from the
|
|
221
|
+
* server as needed.
|
|
222
|
+
*
|
|
223
|
+
* @param request a request which can be sent to the service operation
|
|
224
|
+
*/
|
|
225
|
+
listBillingSchedulesRecordIterator(request) {
|
|
226
|
+
return oci_common_1.paginateRecords(request, req => this.listBillingSchedules(req));
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Creates a new async iterator which will iterate over the responses received from the listBillingSchedules operation. This iterator
|
|
230
|
+
* will fetch more data from the server as needed.
|
|
231
|
+
*
|
|
232
|
+
* @param request a request which can be sent to the service operation
|
|
233
|
+
*/
|
|
234
|
+
listBillingSchedulesResponseIterator(request) {
|
|
235
|
+
return oci_common_1.paginateResponses(request, req => this.listBillingSchedules(req));
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
exports.BillingScheduleClient = BillingScheduleClient;
|
|
239
|
+
BillingScheduleClient.serviceEndpointTemplate = "https://csaap-e.oracle.com";
|
|
240
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@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ACzE,CAAC;IAED;;;;;OAKG;IACI,oCAAoC,CACzC,OAA6C;QAE7C,OAAO,8BAAiB,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3E,CAAC;;AAzNH,sDA0NC;AAzNkB,6CAAuB,GAAG,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription API Billing Schedule
|
|
3
|
+
* OneSubscription API for Billing Schedule information
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
* Contact: kuaskum_org_ww@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
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Billing schedule details related to Subscription Id
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface BillingScheduleSummary {
|
|
20
|
+
/**
|
|
21
|
+
* Billing schedule start date
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"timeStart"?: Date;
|
|
25
|
+
/**
|
|
26
|
+
* Billing schedule end date
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"timeEnd"?: Date;
|
|
30
|
+
/**
|
|
31
|
+
* Billing schedule invoicing date
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"timeInvoicing"?: Date;
|
|
35
|
+
/**
|
|
36
|
+
* Billing schedule invoice status
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"invoiceStatus"?: BillingScheduleSummary.InvoiceStatus;
|
|
40
|
+
/**
|
|
41
|
+
* Billing schedule quantity
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"quantity"?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Billing schedule net unit price
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"netUnitPrice"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Billing schedule line net amount
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"amount"?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Billing frequency
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"billingFrequency"?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Indicates the associated AR Invoice Number
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
"arInvoiceNumber"?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Indicates the associated AR Customer transaction id a unique identifier existing on AR.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"arCustomerTransactionId"?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Order number associated with the Subscribed Service
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
"orderNumber"?: string;
|
|
75
|
+
"product"?: model.Product;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace BillingScheduleSummary {
|
|
78
|
+
enum InvoiceStatus {
|
|
79
|
+
Invoiced = "INVOICED",
|
|
80
|
+
NotInvoiced = "NOT_INVOICED",
|
|
81
|
+
/**
|
|
82
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
83
|
+
* version of the SDK.
|
|
84
|
+
*/
|
|
85
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
86
|
+
}
|
|
87
|
+
function getJsonObj(obj: BillingScheduleSummary): object;
|
|
88
|
+
function getDeserializedJsonObj(obj: BillingScheduleSummary): object;
|
|
89
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription API Billing Schedule
|
|
4
|
+
* OneSubscription API for Billing Schedule information
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20210501
|
|
7
|
+
* Contact: kuaskum_org_ww@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.BillingScheduleSummary = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var BillingScheduleSummary;
|
|
38
|
+
(function (BillingScheduleSummary) {
|
|
39
|
+
let InvoiceStatus;
|
|
40
|
+
(function (InvoiceStatus) {
|
|
41
|
+
InvoiceStatus["Invoiced"] = "INVOICED";
|
|
42
|
+
InvoiceStatus["NotInvoiced"] = "NOT_INVOICED";
|
|
43
|
+
/**
|
|
44
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
45
|
+
* version of the SDK.
|
|
46
|
+
*/
|
|
47
|
+
InvoiceStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
48
|
+
})(InvoiceStatus = BillingScheduleSummary.InvoiceStatus || (BillingScheduleSummary.InvoiceStatus = {}));
|
|
49
|
+
function getJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"product": obj.product ? model.Product.getJsonObj(obj.product) : undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
BillingScheduleSummary.getJsonObj = getJsonObj;
|
|
56
|
+
function getDeserializedJsonObj(obj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
58
|
+
"product": obj.product ? model.Product.getDeserializedJsonObj(obj.product) : undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
BillingScheduleSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(BillingScheduleSummary = exports.BillingScheduleSummary || (exports.BillingScheduleSummary = {}));
|
|
64
|
+
//# sourceMappingURL=billing-schedule-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-schedule-summary.js","sourceRoot":"","sources":["../../../../../lib/osubbillingschedule/lib/model/billing-schedule-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkElC,IAAiB,sBAAsB,CA+BtC;AA/BD,WAAiB,sBAAsB;IACrC,IAAY,aAQX;IARD,WAAY,aAAa;QACvB,sCAAqB,CAAA;QACrB,6CAA4B,CAAA;QAC5B;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EARW,aAAa,GAAb,oCAAa,KAAb,oCAAa,QAQxB;IAED,SAAgB,UAAU,CAAC,GAA2B;QACpD,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;SAC3E,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,iCAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,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;SACvF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,6CAAsB,yBASrC,CAAA;AACH,CAAC,EA/BgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QA+BtC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription API Billing Schedule
|
|
3
|
+
* OneSubscription API for Billing Schedule information
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
* Contact: kuaskum_org_ww@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
|
+
import * as BillingScheduleSummary from "./billing-schedule-summary";
|
|
15
|
+
export import BillingScheduleSummary = BillingScheduleSummary.BillingScheduleSummary;
|
|
16
|
+
import * as Product from "./product";
|
|
17
|
+
export import Product = Product.Product;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription API Billing Schedule
|
|
4
|
+
* OneSubscription API for Billing Schedule information
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20210501
|
|
7
|
+
* Contact: kuaskum_org_ww@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.Product = exports.BillingScheduleSummary = void 0;
|
|
36
|
+
const BillingScheduleSummary = __importStar(require("./billing-schedule-summary"));
|
|
37
|
+
exports.BillingScheduleSummary = BillingScheduleSummary.BillingScheduleSummary;
|
|
38
|
+
const Product = __importStar(require("./product"));
|
|
39
|
+
exports.Product = Product.Product;
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/osubbillingschedule/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,mDAAqC;AACvB,QAAA,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC"}
|