oci-osuborganizationsubscription 2.79.1 → 2.81.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/lib/client.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare enum OrganizationSubscriptionApiKeys {
|
|
|
24
24
|
export declare class OrganizationSubscriptionClient {
|
|
25
25
|
protected static serviceEndpointTemplate: string;
|
|
26
26
|
protected static endpointServiceName: string;
|
|
27
|
-
protected "_realmSpecificEndpointTemplateEnabled": boolean;
|
|
27
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
|
|
28
28
|
protected "_endpoint": string;
|
|
29
29
|
protected "_defaultHeaders": any;
|
|
30
30
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
@@ -46,6 +46,7 @@ export declare class OrganizationSubscriptionClient {
|
|
|
46
46
|
* @param endpoint The endpoint of the service.
|
|
47
47
|
*/
|
|
48
48
|
set endpoint(endpoint: string);
|
|
49
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
49
50
|
/**
|
|
50
51
|
* Determines whether realm specific endpoint should be used or not.
|
|
51
52
|
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
@@ -78,7 +79,7 @@ export declare class OrganizationSubscriptionClient {
|
|
|
78
79
|
* @param ListOrganizationSubscriptionsRequest
|
|
79
80
|
* @return ListOrganizationSubscriptionsResponse
|
|
80
81
|
* @throws OciError when an error occurs
|
|
81
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
82
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/osuborganizationsubscription/ListOrganizationSubscriptions.ts.html |here} to see how to use ListOrganizationSubscriptions API.
|
|
82
83
|
*/
|
|
83
84
|
listOrganizationSubscriptions(listOrganizationSubscriptionsRequest: requests.ListOrganizationSubscriptionsRequest): Promise<responses.ListOrganizationSubscriptionsResponse>;
|
|
84
85
|
/**
|
package/lib/client.js
CHANGED
|
@@ -58,7 +58,7 @@ var OrganizationSubscriptionApiKeys;
|
|
|
58
58
|
*/
|
|
59
59
|
class OrganizationSubscriptionClient {
|
|
60
60
|
constructor(params, clientConfiguration) {
|
|
61
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
61
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
62
62
|
this["_endpoint"] = "";
|
|
63
63
|
this["_defaultHeaders"] = {};
|
|
64
64
|
this._circuitBreaker = null;
|
|
@@ -117,7 +117,11 @@ class OrganizationSubscriptionClient {
|
|
|
117
117
|
set endpoint(endpoint) {
|
|
118
118
|
this._endpoint = endpoint;
|
|
119
119
|
this._endpoint = this._endpoint + "/oalapp/service/onesubs/proxy/20210501";
|
|
120
|
-
|
|
120
|
+
if (this.logger)
|
|
121
|
+
this.logger.info(`OrganizationSubscriptionClient endpoint set to ${this._endpoint}`);
|
|
122
|
+
}
|
|
123
|
+
get logger() {
|
|
124
|
+
return common.LOG.logger;
|
|
121
125
|
}
|
|
122
126
|
/**
|
|
123
127
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -126,7 +130,8 @@ class OrganizationSubscriptionClient {
|
|
|
126
130
|
*/
|
|
127
131
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
128
132
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
129
|
-
|
|
133
|
+
if (this.logger)
|
|
134
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
130
135
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
131
136
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(OrganizationSubscriptionClient.serviceEndpointTemplate, this._region, OrganizationSubscriptionClient.endpointServiceName);
|
|
132
137
|
}
|
|
@@ -172,11 +177,12 @@ class OrganizationSubscriptionClient {
|
|
|
172
177
|
* @param ListOrganizationSubscriptionsRequest
|
|
173
178
|
* @return ListOrganizationSubscriptionsResponse
|
|
174
179
|
* @throws OciError when an error occurs
|
|
175
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
180
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/osuborganizationsubscription/ListOrganizationSubscriptions.ts.html |here} to see how to use ListOrganizationSubscriptions API.
|
|
176
181
|
*/
|
|
177
182
|
listOrganizationSubscriptions(listOrganizationSubscriptionsRequest) {
|
|
178
183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
-
|
|
184
|
+
if (this.logger)
|
|
185
|
+
this.logger.debug("Calling operation OrganizationSubscriptionClient#listOrganizationSubscriptions.");
|
|
180
186
|
const operationName = "listOrganizationSubscriptions";
|
|
181
187
|
const apiReferenceLink = "";
|
|
182
188
|
const pathParams = {};
|
|
@@ -195,6 +201,8 @@ class OrganizationSubscriptionClient {
|
|
|
195
201
|
};
|
|
196
202
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
197
203
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOrganizationSubscriptionsRequest.retryConfiguration, specRetryConfiguration);
|
|
204
|
+
if (this.logger)
|
|
205
|
+
retrier.logger = this.logger;
|
|
198
206
|
const request = yield oci_common_2.composeRequest({
|
|
199
207
|
baseEndpoint: this._endpoint,
|
|
200
208
|
defaultHeaders: this._defaultHeaders,
|
package/lib/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/osuborganizationsubscription/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC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BAC7C,GAAG,EAAE,cAAc;4BACnB,QAAQ,EAAE,QAAQ;yBACnB;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,WAAW,CAAC;aACpB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC;KAAA;IAED;;;;;;;OAOG;IACI,gCAAgC,CACrC,OAAsD;QAEtD,OAAO,4BAAe,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;OAMG;IACI,yCAAyC,CAC9C,OAAsD;QAEtD,OAAO,8BAAiB,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;;AAtSH,wEAuSC;AAtSkB,sDAAuB,GAAG,4BAA4B,CAAC;AACvD,kDAAmB,GAAG,EAAE,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/osuborganizationsubscription/ListOrganizationSubscriptions.ts.html |here} to see how to use ListOrganizationSubscriptionsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListOrganizationSubscriptionsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-osuborganizationsubscription",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.81.0",
|
|
4
4
|
"description": "OCI NodeJS client for Osub Organization Subscription Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.81.0",
|
|
19
|
+
"oci-workrequests": "2.81.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|