@redhat-cloud-services/notifications-client 2.5.6 → 3.0.1
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/CHANGELOG.md +2 -0
- package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts +3 -1
- package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -1
- package/dist/DrawerResourceV1GetDrawerEntries/index.js.map +1 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +2 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -1
- package/dist/EventResourceV1GetEvents/index.d.ts +3 -2
- package/dist/EventResourceV1GetEvents/index.d.ts.map +1 -1
- package/dist/EventResourceV1GetEvents/index.js.map +1 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +2 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -1
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts +3 -2
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +2 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +2 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +3 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBundleByName/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBundleByName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypes/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypes/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +3 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +2 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +2 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +2 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +2 -1
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +2 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +2 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -1
- package/dist/api.d.ts +53 -2383
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +33 -3124
- package/dist/api.js.map +1 -1
- package/dist/index.d.ts +23 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -26
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/base.d.ts +0 -55
- package/dist/base.d.ts.map +0 -1
- package/dist/base.js +0 -67
- package/dist/base.js.map +0 -1
- package/dist/common.d.ts +0 -66
- package/dist/common.d.ts.map +0 -1
- package/dist/common.js +0 -207
- package/dist/common.js.map +0 -1
- package/dist/configuration.d.ts +0 -84
- package/dist/configuration.d.ts.map +0 -1
- package/dist/configuration.js +0 -45
- package/dist/configuration.js.map +0 -1
package/dist/common.js
DELETED
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Notifications
|
|
6
|
-
* The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
17
|
-
var tslib_1 = require("tslib");
|
|
18
|
-
var base_1 = require("./base");
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
*/
|
|
23
|
-
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @throws {RequiredError}
|
|
27
|
-
* @export
|
|
28
|
-
*/
|
|
29
|
-
var assertParamExists = function (functionName, paramName, paramValue) {
|
|
30
|
-
if (paramValue === null || paramValue === undefined) {
|
|
31
|
-
throw new base_1.RequiredError(paramName, "Required parameter ".concat(paramName, " was null or undefined when calling ").concat(functionName, "."));
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
exports.assertParamExists = assertParamExists;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
*/
|
|
39
|
-
var setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
40
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
41
|
-
var localVarApiKeyValue, _a;
|
|
42
|
-
return tslib_1.__generator(this, function (_b) {
|
|
43
|
-
switch (_b.label) {
|
|
44
|
-
case 0:
|
|
45
|
-
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
46
|
-
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
47
|
-
return [4 /*yield*/, configuration.apiKey(keyParamName)];
|
|
48
|
-
case 1:
|
|
49
|
-
_a = _b.sent();
|
|
50
|
-
return [3 /*break*/, 4];
|
|
51
|
-
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
52
|
-
case 3:
|
|
53
|
-
_a = _b.sent();
|
|
54
|
-
_b.label = 4;
|
|
55
|
-
case 4:
|
|
56
|
-
localVarApiKeyValue = _a;
|
|
57
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
58
|
-
_b.label = 5;
|
|
59
|
-
case 5: return [2 /*return*/];
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
exports.setApiKeyToObject = setApiKeyToObject;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @export
|
|
68
|
-
*/
|
|
69
|
-
var setBasicAuthToObject = function (object, configuration) {
|
|
70
|
-
if (configuration && (configuration.username || configuration.password)) {
|
|
71
|
-
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @export
|
|
78
|
-
*/
|
|
79
|
-
var setBearerAuthToObject = function (object, configuration) {
|
|
80
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
81
|
-
var accessToken, _a;
|
|
82
|
-
return tslib_1.__generator(this, function (_b) {
|
|
83
|
-
switch (_b.label) {
|
|
84
|
-
case 0:
|
|
85
|
-
if (!(configuration && configuration.accessToken)) return [3 /*break*/, 5];
|
|
86
|
-
if (!(typeof configuration.accessToken === 'function')) return [3 /*break*/, 2];
|
|
87
|
-
return [4 /*yield*/, configuration.accessToken()];
|
|
88
|
-
case 1:
|
|
89
|
-
_a = _b.sent();
|
|
90
|
-
return [3 /*break*/, 4];
|
|
91
|
-
case 2: return [4 /*yield*/, configuration.accessToken];
|
|
92
|
-
case 3:
|
|
93
|
-
_a = _b.sent();
|
|
94
|
-
_b.label = 4;
|
|
95
|
-
case 4:
|
|
96
|
-
accessToken = _a;
|
|
97
|
-
object["Authorization"] = "Bearer " + accessToken;
|
|
98
|
-
_b.label = 5;
|
|
99
|
-
case 5: return [2 /*return*/];
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
});
|
|
103
|
-
};
|
|
104
|
-
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @export
|
|
108
|
-
*/
|
|
109
|
-
var setOAuthToObject = function (object, name, scopes, configuration) {
|
|
110
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
111
|
-
var localVarAccessTokenValue, _a;
|
|
112
|
-
return tslib_1.__generator(this, function (_b) {
|
|
113
|
-
switch (_b.label) {
|
|
114
|
-
case 0:
|
|
115
|
-
if (!(configuration && configuration.accessToken)) return [3 /*break*/, 5];
|
|
116
|
-
if (!(typeof configuration.accessToken === 'function')) return [3 /*break*/, 2];
|
|
117
|
-
return [4 /*yield*/, configuration.accessToken(name, scopes)];
|
|
118
|
-
case 1:
|
|
119
|
-
_a = _b.sent();
|
|
120
|
-
return [3 /*break*/, 4];
|
|
121
|
-
case 2: return [4 /*yield*/, configuration.accessToken];
|
|
122
|
-
case 3:
|
|
123
|
-
_a = _b.sent();
|
|
124
|
-
_b.label = 4;
|
|
125
|
-
case 4:
|
|
126
|
-
localVarAccessTokenValue = _a;
|
|
127
|
-
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
128
|
-
_b.label = 5;
|
|
129
|
-
case 5: return [2 /*return*/];
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
};
|
|
134
|
-
exports.setOAuthToObject = setOAuthToObject;
|
|
135
|
-
function setFlattenedQueryParams(urlSearchParams, parameter, key) {
|
|
136
|
-
if (key === void 0) { key = ""; }
|
|
137
|
-
if (parameter == null)
|
|
138
|
-
return;
|
|
139
|
-
if (typeof parameter === "object") {
|
|
140
|
-
if (Array.isArray(parameter)) {
|
|
141
|
-
parameter.forEach(function (item) { return setFlattenedQueryParams(urlSearchParams, item, key); });
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
Object.keys(parameter).forEach(function (currentKey) {
|
|
145
|
-
return setFlattenedQueryParams(urlSearchParams, parameter[currentKey], "".concat(key).concat(key !== '' ? '.' : '').concat(currentKey));
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
if (urlSearchParams.has(key)) {
|
|
151
|
-
urlSearchParams.append(key, parameter);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
urlSearchParams.set(key, parameter);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
*
|
|
160
|
-
* @export
|
|
161
|
-
*/
|
|
162
|
-
var setSearchParams = function (url) {
|
|
163
|
-
var objects = [];
|
|
164
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
165
|
-
objects[_i - 1] = arguments[_i];
|
|
166
|
-
}
|
|
167
|
-
var searchParams = new URLSearchParams(url.search);
|
|
168
|
-
setFlattenedQueryParams(searchParams, objects);
|
|
169
|
-
url.search = searchParams.toString();
|
|
170
|
-
};
|
|
171
|
-
exports.setSearchParams = setSearchParams;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @export
|
|
175
|
-
*/
|
|
176
|
-
var serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
177
|
-
var nonString = typeof value !== 'string';
|
|
178
|
-
var needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
179
|
-
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
180
|
-
: nonString;
|
|
181
|
-
return needsSerialization
|
|
182
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
183
|
-
: (value || "");
|
|
184
|
-
};
|
|
185
|
-
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
186
|
-
/**
|
|
187
|
-
*
|
|
188
|
-
* @export
|
|
189
|
-
*/
|
|
190
|
-
var toPathString = function (url) {
|
|
191
|
-
return url.pathname + url.search + url.hash;
|
|
192
|
-
};
|
|
193
|
-
exports.toPathString = toPathString;
|
|
194
|
-
/**
|
|
195
|
-
*
|
|
196
|
-
* @export
|
|
197
|
-
*/
|
|
198
|
-
var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
199
|
-
return function (axios, basePath) {
|
|
200
|
-
if (axios === void 0) { axios = globalAxios; }
|
|
201
|
-
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
202
|
-
var axiosRequestArgs = tslib_1.__assign(tslib_1.__assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || axios.defaults.baseURL || basePath) + axiosArgs.url });
|
|
203
|
-
return axios.request(axiosRequestArgs);
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
exports.createRequestFunction = createRequestFunction;
|
|
207
|
-
//# sourceMappingURL=common.js.map
|
package/dist/common.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,6BAAsB,SAAS,iDAAuC,YAAY,MAAG,CAAC,CAAC;KAC7H;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAED;;;GAGG;AACI,IAAM,iBAAiB,GAAG,UAAgB,MAAW,EAAE,YAAoB,EAAE,aAA6B;;;;;;yBACzG,CAAA,aAAa,IAAI,aAAa,CAAC,MAAM,CAAA,EAArC,wBAAqC;yBACT,CAAA,OAAO,aAAa,CAAC,MAAM,KAAK,UAAU,CAAA,EAA1C,wBAA0C;oBAChE,qBAAM,aAAa,CAAC,MAAM,CAAC,YAAY,CAAC,EAAA;;oBAAxC,KAAA,SAAwC,CAAA;;wBACxC,qBAAM,aAAa,CAAC,MAAM,EAAA;;oBAA1B,KAAA,SAA0B,CAAA;;;oBAF1B,mBAAmB,KAEO;oBAChC,MAAM,CAAC,YAAY,CAAC,GAAG,mBAAmB,CAAC;;;;;;CAElD,CAAA;AAPY,QAAA,iBAAiB,qBAO7B;AAED;;;GAGG;AACI,IAAM,oBAAoB,GAAG,UAAU,MAAW,EAAE,aAA6B;IACpF,IAAI,aAAa,IAAI,CAAC,aAAa,CAAC,QAAQ,IAAI,aAAa,CAAC,QAAQ,CAAC,EAAE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d.ts
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Notifications
|
|
3
|
-
* The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export interface ConfigurationParameters {
|
|
13
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
-
username?: string;
|
|
15
|
-
password?: string;
|
|
16
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
-
basePath?: string;
|
|
18
|
-
baseOptions?: any;
|
|
19
|
-
formDataCtor?: new () => any;
|
|
20
|
-
}
|
|
21
|
-
export declare class Configuration {
|
|
22
|
-
/**
|
|
23
|
-
* parameter for apiKey security
|
|
24
|
-
* @param name security name
|
|
25
|
-
* @memberof Configuration
|
|
26
|
-
*/
|
|
27
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
-
/**
|
|
29
|
-
* parameter for basic security
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof Configuration
|
|
33
|
-
*/
|
|
34
|
-
username?: string;
|
|
35
|
-
/**
|
|
36
|
-
* parameter for basic security
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Configuration
|
|
40
|
-
*/
|
|
41
|
-
password?: string;
|
|
42
|
-
/**
|
|
43
|
-
* parameter for oauth2 security
|
|
44
|
-
* @param name security name
|
|
45
|
-
* @param scopes oauth2 scope
|
|
46
|
-
* @memberof Configuration
|
|
47
|
-
*/
|
|
48
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
49
|
-
/**
|
|
50
|
-
* override base path
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof Configuration
|
|
54
|
-
*/
|
|
55
|
-
basePath?: string;
|
|
56
|
-
/**
|
|
57
|
-
* base options for axios calls
|
|
58
|
-
*
|
|
59
|
-
* @type {any}
|
|
60
|
-
* @memberof Configuration
|
|
61
|
-
*/
|
|
62
|
-
baseOptions?: any;
|
|
63
|
-
/**
|
|
64
|
-
* The FormData constructor that will be used to create multipart form data
|
|
65
|
-
* requests. You can inject this here so that execution environments that
|
|
66
|
-
* do not support the FormData class can still run the generated client.
|
|
67
|
-
*
|
|
68
|
-
* @type {new () => FormData}
|
|
69
|
-
*/
|
|
70
|
-
formDataCtor?: new () => any;
|
|
71
|
-
constructor(param?: ConfigurationParameters);
|
|
72
|
-
/**
|
|
73
|
-
* Check if the given MIME is a JSON MIME.
|
|
74
|
-
* JSON MIME examples:
|
|
75
|
-
* application/json
|
|
76
|
-
* application/json; charset=UTF8
|
|
77
|
-
* APPLICATION/JSON
|
|
78
|
-
* application/vnd.company+json
|
|
79
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
80
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
81
|
-
*/
|
|
82
|
-
isJsonMime(mime: string): boolean;
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=configuration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../configuration.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,MAAM,WAAW,uBAAuB;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAA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AW,CAAC,EAAE,GAAG,CAAC;IAClB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,UAAU,GAAG,CAAC;gBAEjB,KAAK,GAAE,uBAA4B;IAU/C;;;;;;;;;OASG;IACI,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;CAI3C"}
|
package/dist/configuration.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Notifications
|
|
6
|
-
* The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.Configuration = void 0;
|
|
17
|
-
var Configuration = /** @class */ (function () {
|
|
18
|
-
function Configuration(param) {
|
|
19
|
-
if (param === void 0) { param = {}; }
|
|
20
|
-
this.apiKey = param.apiKey;
|
|
21
|
-
this.username = param.username;
|
|
22
|
-
this.password = param.password;
|
|
23
|
-
this.accessToken = param.accessToken;
|
|
24
|
-
this.basePath = param.basePath;
|
|
25
|
-
this.baseOptions = param.baseOptions;
|
|
26
|
-
this.formDataCtor = param.formDataCtor;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Check if the given MIME is a JSON MIME.
|
|
30
|
-
* JSON MIME examples:
|
|
31
|
-
* application/json
|
|
32
|
-
* application/json; charset=UTF8
|
|
33
|
-
* APPLICATION/JSON
|
|
34
|
-
* application/vnd.company+json
|
|
35
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
36
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
37
|
-
*/
|
|
38
|
-
Configuration.prototype.isJsonMime = function (mime) {
|
|
39
|
-
var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
40
|
-
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
41
|
-
};
|
|
42
|
-
return Configuration;
|
|
43
|
-
}());
|
|
44
|
-
exports.Configuration = Configuration;
|
|
45
|
-
//# sourceMappingURL=configuration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAaH;IAmDI,uBAAY,KAAmC;QAAnC,sBAAA,EAAA,UAAmC;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAC3C,CAAC;IAED;;;;;;;;;OASG;IACI,kCAAU,GAAjB,UAAkB,IAAY;QAC1B,IAAM,QAAQ,GAAW,IAAI,MAAM,CAAC,+DAA+D,EAAE,GAAG,CAAC,CAAC;QAC1G,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,6BAA6B,CAAC,CAAC;IAC1G,CAAC;IACL,oBAAC;AAAD,CAAC,AA3ED,IA2EC;AA3EY,sCAAa"}
|