oci-osuborganizationsubscription 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 +98 -0
- package/lib/client.js +238 -0
- package/lib/client.js.map +1 -0
- package/lib/model/currency.d.ts +38 -0
- package/lib/model/currency.js +30 -0
- package/lib/model/currency.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/subscription-summary.d.ts +60 -0
- package/lib/model/subscription-summary.js +54 -0
- package/lib/model/subscription-summary.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-organization-subscriptions-request.d.ts +68 -0
- package/lib/request/list-organization-subscriptions-request.js +29 -0
- package/lib/request/list-organization-subscriptions-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-organization-subscriptions-response.d.ts +32 -0
- package/lib/response/list-organization-subscriptions-response.js +15 -0
- package/lib/response/list-organization-subscriptions-response.js.map +1 -0
- package/package.json +29 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription Gateway API Organization's Subscription
|
|
3
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
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 OrganizationSubscriptionClient = client.OrganizationSubscriptionClient;
|
package/index.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription Gateway API Organization's Subscription
|
|
4
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
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.OrganizationSubscriptionClient = 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.OrganizationSubscriptionClient = client.OrganizationSubscriptionClient;
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/osuborganizationsubscription/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAMjC,4BAAQ;AALjB,oDAAsC;AAI7B,wBAAM;AAHf,0DAA4C;AAKnC,8BAAS;AAJlB,qDAAuC;AAKzB,QAAA,8BAA8B,GAAG,MAAM,CAAC,8BAA8B,CAAC"}
|
package/lib/client.d.ts
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription Gateway API Organization's Subscription
|
|
3
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
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 OrganizationSubscriptionApiKeys {
|
|
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 OrganizationSubscriptionClient {
|
|
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
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
58
|
+
*
|
|
59
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
60
|
+
* @param ListOrganizationSubscriptionsRequest
|
|
61
|
+
* @return ListOrganizationSubscriptionsResponse
|
|
62
|
+
* @throws OciError when an error occurs
|
|
63
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osuborganizationsubscription/ListOrganizationSubscriptions.ts.html |here} to see how to use ListOrganizationSubscriptions API.
|
|
64
|
+
*/
|
|
65
|
+
listOrganizationSubscriptions(listOrganizationSubscriptionsRequest: requests.ListOrganizationSubscriptionsRequest): Promise<responses.ListOrganizationSubscriptionsResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* NOTE: This function is deprecated in favor of listOrganizationSubscriptionsRecordIterator function.
|
|
68
|
+
* Creates a new async iterator which will iterate over the models.SubscriptionSummary objects
|
|
69
|
+
* contained in responses from the listOrganizationSubscriptions operation. This iterator will fetch more data from the
|
|
70
|
+
* server as needed.
|
|
71
|
+
*
|
|
72
|
+
* @param request a request which can be sent to the service operation
|
|
73
|
+
*/
|
|
74
|
+
listAllOrganizationSubscriptions(request: requests.ListOrganizationSubscriptionsRequest): AsyncIterableIterator<model.SubscriptionSummary>;
|
|
75
|
+
/**
|
|
76
|
+
* NOTE: This function is deprecated in favor of listOrganizationSubscriptionsResponseIterator function.
|
|
77
|
+
* Creates a new async iterator which will iterate over the responses received from the listOrganizationSubscriptions operation. This iterator
|
|
78
|
+
* will fetch more data from the server as needed.
|
|
79
|
+
*
|
|
80
|
+
* @param request a request which can be sent to the service operation
|
|
81
|
+
*/
|
|
82
|
+
listAllOrganizationSubscriptionsResponses(request: requests.ListOrganizationSubscriptionsRequest): AsyncIterableIterator<responses.ListOrganizationSubscriptionsResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Creates a new async iterator which will iterate over the models.SubscriptionSummary objects
|
|
85
|
+
* contained in responses from the listOrganizationSubscriptions operation. This iterator will fetch more data from the
|
|
86
|
+
* server as needed.
|
|
87
|
+
*
|
|
88
|
+
* @param request a request which can be sent to the service operation
|
|
89
|
+
*/
|
|
90
|
+
listOrganizationSubscriptionsRecordIterator(request: requests.ListOrganizationSubscriptionsRequest): AsyncIterableIterator<model.SubscriptionSummary>;
|
|
91
|
+
/**
|
|
92
|
+
* Creates a new async iterator which will iterate over the responses received from the listOrganizationSubscriptions operation. This iterator
|
|
93
|
+
* will fetch more data from the server as needed.
|
|
94
|
+
*
|
|
95
|
+
* @param request a request which can be sent to the service operation
|
|
96
|
+
*/
|
|
97
|
+
listOrganizationSubscriptionsResponseIterator(request: requests.ListOrganizationSubscriptionsRequest): AsyncIterableIterator<responses.ListOrganizationSubscriptionsResponse>;
|
|
98
|
+
}
|
package/lib/client.js
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription Gateway API Organization's Subscription
|
|
4
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
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.OrganizationSubscriptionClient = exports.OrganizationSubscriptionApiKeys = 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 OrganizationSubscriptionApiKeys;
|
|
53
|
+
(function (OrganizationSubscriptionApiKeys) {
|
|
54
|
+
})(OrganizationSubscriptionApiKeys = exports.OrganizationSubscriptionApiKeys || (exports.OrganizationSubscriptionApiKeys = {}));
|
|
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 OrganizationSubscriptionClient {
|
|
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(`OrganizationSubscriptionClient 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(OrganizationSubscriptionClient.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(OrganizationSubscriptionClient.serviceEndpointTemplate, regionId);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
129
|
+
*
|
|
130
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
131
|
+
* @param ListOrganizationSubscriptionsRequest
|
|
132
|
+
* @return ListOrganizationSubscriptionsResponse
|
|
133
|
+
* @throws OciError when an error occurs
|
|
134
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osuborganizationsubscription/ListOrganizationSubscriptions.ts.html |here} to see how to use ListOrganizationSubscriptions API.
|
|
135
|
+
*/
|
|
136
|
+
listOrganizationSubscriptions(listOrganizationSubscriptionsRequest) {
|
|
137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
+
if (this.logger)
|
|
139
|
+
this.logger.debug("Calling operation OrganizationSubscriptionClient#listOrganizationSubscriptions.");
|
|
140
|
+
const pathParams = {};
|
|
141
|
+
const queryParams = {
|
|
142
|
+
"compartmentId": listOrganizationSubscriptionsRequest.compartmentId,
|
|
143
|
+
"subscriptionIds": listOrganizationSubscriptionsRequest.subscriptionIds,
|
|
144
|
+
"limit": listOrganizationSubscriptionsRequest.limit,
|
|
145
|
+
"page": listOrganizationSubscriptionsRequest.page,
|
|
146
|
+
"sortOrder": listOrganizationSubscriptionsRequest.sortOrder,
|
|
147
|
+
"sortBy": listOrganizationSubscriptionsRequest.sortBy
|
|
148
|
+
};
|
|
149
|
+
let headerParams = {
|
|
150
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
151
|
+
"opc-request-id": listOrganizationSubscriptionsRequest.opcRequestId,
|
|
152
|
+
"x-one-origin-region": listOrganizationSubscriptionsRequest.xOneOriginRegion
|
|
153
|
+
};
|
|
154
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
155
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOrganizationSubscriptionsRequest.retryConfiguration, specRetryConfiguration);
|
|
156
|
+
if (this.logger)
|
|
157
|
+
retrier.logger = this.logger;
|
|
158
|
+
const request = yield oci_common_2.composeRequest({
|
|
159
|
+
baseEndpoint: this._endpoint,
|
|
160
|
+
defaultHeaders: this._defaultHeaders,
|
|
161
|
+
path: "/organizationSubscription",
|
|
162
|
+
method: "GET",
|
|
163
|
+
pathParams: pathParams,
|
|
164
|
+
headerParams: headerParams,
|
|
165
|
+
queryParams: queryParams
|
|
166
|
+
});
|
|
167
|
+
try {
|
|
168
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
169
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
170
|
+
responseObject: {},
|
|
171
|
+
body: yield response.json(),
|
|
172
|
+
bodyKey: "items",
|
|
173
|
+
bodyModel: model.SubscriptionSummary,
|
|
174
|
+
type: "Array<model.SubscriptionSummary>",
|
|
175
|
+
responseHeaders: [
|
|
176
|
+
{
|
|
177
|
+
value: response.headers.get("opc-next-page"),
|
|
178
|
+
key: "opcNextPage",
|
|
179
|
+
dataType: "string"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
value: response.headers.get("opc-request-id"),
|
|
183
|
+
key: "opcRequestId",
|
|
184
|
+
dataType: "string"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
});
|
|
188
|
+
return sdkResponse;
|
|
189
|
+
}
|
|
190
|
+
catch (err) {
|
|
191
|
+
throw err;
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* NOTE: This function is deprecated in favor of listOrganizationSubscriptionsRecordIterator function.
|
|
197
|
+
* Creates a new async iterator which will iterate over the models.SubscriptionSummary objects
|
|
198
|
+
* contained in responses from the listOrganizationSubscriptions operation. This iterator will fetch more data from the
|
|
199
|
+
* server as needed.
|
|
200
|
+
*
|
|
201
|
+
* @param request a request which can be sent to the service operation
|
|
202
|
+
*/
|
|
203
|
+
listAllOrganizationSubscriptions(request) {
|
|
204
|
+
return oci_common_1.paginateRecords(request, req => this.listOrganizationSubscriptions(req));
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* NOTE: This function is deprecated in favor of listOrganizationSubscriptionsResponseIterator function.
|
|
208
|
+
* Creates a new async iterator which will iterate over the responses received from the listOrganizationSubscriptions operation. This iterator
|
|
209
|
+
* will fetch more data from the server as needed.
|
|
210
|
+
*
|
|
211
|
+
* @param request a request which can be sent to the service operation
|
|
212
|
+
*/
|
|
213
|
+
listAllOrganizationSubscriptionsResponses(request) {
|
|
214
|
+
return oci_common_1.paginateResponses(request, req => this.listOrganizationSubscriptions(req));
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Creates a new async iterator which will iterate over the models.SubscriptionSummary objects
|
|
218
|
+
* contained in responses from the listOrganizationSubscriptions operation. This iterator will fetch more data from the
|
|
219
|
+
* server as needed.
|
|
220
|
+
*
|
|
221
|
+
* @param request a request which can be sent to the service operation
|
|
222
|
+
*/
|
|
223
|
+
listOrganizationSubscriptionsRecordIterator(request) {
|
|
224
|
+
return oci_common_1.paginateRecords(request, req => this.listOrganizationSubscriptions(req));
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Creates a new async iterator which will iterate over the responses received from the listOrganizationSubscriptions operation. This iterator
|
|
228
|
+
* will fetch more data from the server as needed.
|
|
229
|
+
*
|
|
230
|
+
* @param request a request which can be sent to the service operation
|
|
231
|
+
*/
|
|
232
|
+
listOrganizationSubscriptionsResponseIterator(request) {
|
|
233
|
+
return oci_common_1.paginateResponses(request, req => this.listOrganizationSubscriptions(req));
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
exports.OrganizationSubscriptionClient = OrganizationSubscriptionClient;
|
|
237
|
+
OrganizationSubscriptionClient.serviceEndpointTemplate = "https://csaap-e.oracle.com";
|
|
238
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/osuborganizationsubscription/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,+BAAkC;AAA9C,WAAY,+BAA+B;AAAE,CAAC,EAAlC,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAAG;AAC9C;;GAEG;AACH,MAAa,8BAA8B;IASzC,YAAY,MAAyB,EAAE,mBAAgD;QAP7E,iBAAW,GAAW,EAAE,CAAC;QACzB,uBAAiB,GAAQ,EAAE,CAAC;QAE5B,oBAAe,GAAG,IAAI,CAAC;QAK/B,MAAM,aAAa,GAAG,MAAM,CAAC,6BAA6B;YACxD,CAAC,CAAC,IAAI,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,6BAA6B,CAAC;YACvE,CAAC,CAAC,IAAI,CAAC;QACT,IAAI,mBAAmB,EAAE;YACvB,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;YAChD,IAAI,CAAC,eAAe,GAAG,mBAAmB,CAAC,cAAc;gBACvD,CAAC,CAAC,mBAAmB,CAAC,cAAe,CAAC,OAAO;gBAC7C,CAAC,CAAC,IAAI,CAAC;SACV;QACD,+GAA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BAAiB,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;OAMG;IACI,2CAA2C,CAChD,OAAsD;QAEtD,OAAO,4BAAe,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAC,CAAC;IAClF,CAAC;IAED;;;;;OAKG;IACI,6CAA6C,CAClD,OAAsD;QAEtD,OAAO,8BAAiB,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAC,CAAC;IACpF,CAAC;;AA1NH,wEA2NC;AA1NkB,sDAAuB,GAAG,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription Gateway API Organization's Subscription
|
|
3
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
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
|
+
/**
|
|
15
|
+
* Currency details
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface Currency {
|
|
19
|
+
/**
|
|
20
|
+
* Currency name
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"name"?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Currency Code
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"isoCode": string;
|
|
29
|
+
/**
|
|
30
|
+
* Standard Precision of the Currency
|
|
31
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
32
|
+
*/
|
|
33
|
+
"stdPrecision"?: number;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace Currency {
|
|
36
|
+
function getJsonObj(obj: Currency): object;
|
|
37
|
+
function getDeserializedJsonObj(obj: Currency): object;
|
|
38
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription Gateway API Organization's Subscription
|
|
4
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.Currency = void 0;
|
|
17
|
+
var Currency;
|
|
18
|
+
(function (Currency) {
|
|
19
|
+
function getJsonObj(obj) {
|
|
20
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
|
+
return jsonObj;
|
|
22
|
+
}
|
|
23
|
+
Currency.getJsonObj = getJsonObj;
|
|
24
|
+
function getDeserializedJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
Currency.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
29
|
+
})(Currency = exports.Currency || (exports.Currency = {}));
|
|
30
|
+
//# sourceMappingURL=currency.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currency.js","sourceRoot":"","sources":["../../../../../lib/osuborganizationsubscription/lib/model/currency.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AA2BH,IAAiB,QAAQ,CAWxB;AAXD,WAAiB,QAAQ;IACvB,SAAgB,UAAU,CAAC,GAAa;QACtC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAa;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAWxB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription Gateway API Organization's Subscription
|
|
3
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
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 Currency from "./currency";
|
|
15
|
+
export import Currency = Currency.Currency;
|
|
16
|
+
import * as SubscriptionSummary from "./subscription-summary";
|
|
17
|
+
export import SubscriptionSummary = SubscriptionSummary.SubscriptionSummary;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription Gateway API Organization's Subscription
|
|
4
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
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.SubscriptionSummary = exports.Currency = void 0;
|
|
36
|
+
const Currency = __importStar(require("./currency"));
|
|
37
|
+
exports.Currency = Currency.Currency;
|
|
38
|
+
const SubscriptionSummary = __importStar(require("./subscription-summary"));
|
|
39
|
+
exports.SubscriptionSummary = SubscriptionSummary.SubscriptionSummary;
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/osuborganizationsubscription/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,qDAAuC;AACzB,QAAA,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;AAC3C,4EAA8D;AAChD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription Gateway API Organization's Subscription
|
|
3
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
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
|
+
* Subscription summary
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface SubscriptionSummary {
|
|
20
|
+
/**
|
|
21
|
+
* SPM internal Subscription ID
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"id": string;
|
|
25
|
+
/**
|
|
26
|
+
* Customer friendly service name provided by PRG
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"serviceName"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Subscription Type i.e. IAAS,SAAS,PAAS
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"type"?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Status of the plan
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"status"?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Represents the date when the first service of the subscription was activated
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"timeStart"?: Date;
|
|
45
|
+
/**
|
|
46
|
+
* Represents the date when the last service of the subscription ends
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"timeEnd"?: Date;
|
|
50
|
+
"currency"?: model.Currency;
|
|
51
|
+
/**
|
|
52
|
+
* Total aggregate TCLV of all lines for the subscription including expired, active, and signed
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"totalValue"?: string;
|
|
56
|
+
}
|
|
57
|
+
export declare namespace SubscriptionSummary {
|
|
58
|
+
function getJsonObj(obj: SubscriptionSummary): object;
|
|
59
|
+
function getDeserializedJsonObj(obj: SubscriptionSummary): object;
|
|
60
|
+
}
|