flexinet-api 0.0.1711-prerelease0-dev → 0.0.1712
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/README.md +2 -2
- package/api.ts +0 -64
- package/dist/api.d.ts +0 -29
- package/dist/api.js +0 -59
- package/dist/esm/api.d.ts +0 -29
- package/dist/esm/api.js +0 -59
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
## flexinet-api@0.0.
|
1
|
+
## flexinet-api@0.0.1712
|
2
2
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
4
4
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
36
36
|
_published:_
|
37
37
|
|
38
38
|
```
|
39
|
-
npm install flexinet-api@0.0.
|
39
|
+
npm install flexinet-api@0.0.1712 --save
|
40
40
|
```
|
41
41
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
@@ -6324,40 +6324,6 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
|
|
6324
6324
|
|
6325
6325
|
|
6326
6326
|
|
6327
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
6328
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
6329
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
6330
|
-
|
6331
|
-
return {
|
6332
|
-
url: toPathString(localVarUrlObj),
|
6333
|
-
options: localVarRequestOptions,
|
6334
|
-
};
|
6335
|
-
},
|
6336
|
-
/**
|
6337
|
-
* List all features
|
6338
|
-
* @summary List features
|
6339
|
-
* @param {*} [options] Override http request option.
|
6340
|
-
* @throws {RequiredError}
|
6341
|
-
*/
|
6342
|
-
listUserFeatures: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
6343
|
-
const localVarPath = `/users/features`;
|
6344
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
6345
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
6346
|
-
let baseOptions;
|
6347
|
-
if (configuration) {
|
6348
|
-
baseOptions = configuration.baseOptions;
|
6349
|
-
}
|
6350
|
-
|
6351
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
6352
|
-
const localVarHeaderParameter = {} as any;
|
6353
|
-
const localVarQueryParameter = {} as any;
|
6354
|
-
|
6355
|
-
// authentication customerJWT required
|
6356
|
-
// http bearer authentication required
|
6357
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
6358
|
-
|
6359
|
-
|
6360
|
-
|
6361
6327
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
6362
6328
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
6363
6329
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
@@ -6410,16 +6376,6 @@ export const ConfigurationApiFp = function(configuration?: Configuration) {
|
|
6410
6376
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listFeatures(options);
|
6411
6377
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
6412
6378
|
},
|
6413
|
-
/**
|
6414
|
-
* List all features
|
6415
|
-
* @summary List features
|
6416
|
-
* @param {*} [options] Override http request option.
|
6417
|
-
* @throws {RequiredError}
|
6418
|
-
*/
|
6419
|
-
async listUserFeatures(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeaturesResponse>> {
|
6420
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserFeatures(options);
|
6421
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
6422
|
-
},
|
6423
6379
|
}
|
6424
6380
|
};
|
6425
6381
|
|
@@ -6460,15 +6416,6 @@ export const ConfigurationApiFactory = function (configuration?: Configuration,
|
|
6460
6416
|
listFeatures(options?: any): AxiosPromise<FeaturesResponse> {
|
6461
6417
|
return localVarFp.listFeatures(options).then((request) => request(axios, basePath));
|
6462
6418
|
},
|
6463
|
-
/**
|
6464
|
-
* List all features
|
6465
|
-
* @summary List features
|
6466
|
-
* @param {*} [options] Override http request option.
|
6467
|
-
* @throws {RequiredError}
|
6468
|
-
*/
|
6469
|
-
listUserFeatures(options?: any): AxiosPromise<FeaturesResponse> {
|
6470
|
-
return localVarFp.listUserFeatures(options).then((request) => request(axios, basePath));
|
6471
|
-
},
|
6472
6419
|
};
|
6473
6420
|
};
|
6474
6421
|
|
@@ -6514,17 +6461,6 @@ export class ConfigurationApi extends BaseAPI {
|
|
6514
6461
|
public listFeatures(options?: AxiosRequestConfig) {
|
6515
6462
|
return ConfigurationApiFp(this.configuration).listFeatures(options).then((request) => request(this.axios, this.basePath));
|
6516
6463
|
}
|
6517
|
-
|
6518
|
-
/**
|
6519
|
-
* List all features
|
6520
|
-
* @summary List features
|
6521
|
-
* @param {*} [options] Override http request option.
|
6522
|
-
* @throws {RequiredError}
|
6523
|
-
* @memberof ConfigurationApi
|
6524
|
-
*/
|
6525
|
-
public listUserFeatures(options?: AxiosRequestConfig) {
|
6526
|
-
return ConfigurationApiFp(this.configuration).listUserFeatures(options).then((request) => request(this.axios, this.basePath));
|
6527
|
-
}
|
6528
6464
|
}
|
6529
6465
|
|
6530
6466
|
|
package/dist/api.d.ts
CHANGED
@@ -5192,13 +5192,6 @@ export declare const ConfigurationApiAxiosParamCreator: (configuration?: Configu
|
|
5192
5192
|
* @throws {RequiredError}
|
5193
5193
|
*/
|
5194
5194
|
listFeatures: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5195
|
-
/**
|
5196
|
-
* List all features
|
5197
|
-
* @summary List features
|
5198
|
-
* @param {*} [options] Override http request option.
|
5199
|
-
* @throws {RequiredError}
|
5200
|
-
*/
|
5201
|
-
listUserFeatures: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5202
5195
|
};
|
5203
5196
|
/**
|
5204
5197
|
* ConfigurationApi - functional programming interface
|
@@ -5229,13 +5222,6 @@ export declare const ConfigurationApiFp: (configuration?: Configuration) => {
|
|
5229
5222
|
* @throws {RequiredError}
|
5230
5223
|
*/
|
5231
5224
|
listFeatures(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeaturesResponse>>;
|
5232
|
-
/**
|
5233
|
-
* List all features
|
5234
|
-
* @summary List features
|
5235
|
-
* @param {*} [options] Override http request option.
|
5236
|
-
* @throws {RequiredError}
|
5237
|
-
*/
|
5238
|
-
listUserFeatures(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeaturesResponse>>;
|
5239
5225
|
};
|
5240
5226
|
/**
|
5241
5227
|
* ConfigurationApi - factory interface
|
@@ -5266,13 +5252,6 @@ export declare const ConfigurationApiFactory: (configuration?: Configuration, ba
|
|
5266
5252
|
* @throws {RequiredError}
|
5267
5253
|
*/
|
5268
5254
|
listFeatures(options?: any): AxiosPromise<FeaturesResponse>;
|
5269
|
-
/**
|
5270
|
-
* List all features
|
5271
|
-
* @summary List features
|
5272
|
-
* @param {*} [options] Override http request option.
|
5273
|
-
* @throws {RequiredError}
|
5274
|
-
*/
|
5275
|
-
listUserFeatures(options?: any): AxiosPromise<FeaturesResponse>;
|
5276
5255
|
};
|
5277
5256
|
/**
|
5278
5257
|
* ConfigurationApi - object-oriented interface
|
@@ -5308,14 +5287,6 @@ export declare class ConfigurationApi extends BaseAPI {
|
|
5308
5287
|
* @memberof ConfigurationApi
|
5309
5288
|
*/
|
5310
5289
|
listFeatures(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FeaturesResponse, any>>;
|
5311
|
-
/**
|
5312
|
-
* List all features
|
5313
|
-
* @summary List features
|
5314
|
-
* @param {*} [options] Override http request option.
|
5315
|
-
* @throws {RequiredError}
|
5316
|
-
* @memberof ConfigurationApi
|
5317
|
-
*/
|
5318
|
-
listUserFeatures(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FeaturesResponse, any>>;
|
5319
5290
|
}
|
5320
5291
|
/**
|
5321
5292
|
* CustomDealsApi - axios parameter creator
|
package/dist/api.js
CHANGED
@@ -2016,34 +2016,6 @@ const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
2016
2016
|
options: localVarRequestOptions,
|
2017
2017
|
};
|
2018
2018
|
}),
|
2019
|
-
/**
|
2020
|
-
* List all features
|
2021
|
-
* @summary List features
|
2022
|
-
* @param {*} [options] Override http request option.
|
2023
|
-
* @throws {RequiredError}
|
2024
|
-
*/
|
2025
|
-
listUserFeatures: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
2026
|
-
const localVarPath = `/users/features`;
|
2027
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2028
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
2029
|
-
let baseOptions;
|
2030
|
-
if (configuration) {
|
2031
|
-
baseOptions = configuration.baseOptions;
|
2032
|
-
}
|
2033
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
2034
|
-
const localVarHeaderParameter = {};
|
2035
|
-
const localVarQueryParameter = {};
|
2036
|
-
// authentication customerJWT required
|
2037
|
-
// http bearer authentication required
|
2038
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
2039
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
2040
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2041
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
2042
|
-
return {
|
2043
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
2044
|
-
options: localVarRequestOptions,
|
2045
|
-
};
|
2046
|
-
}),
|
2047
2019
|
};
|
2048
2020
|
};
|
2049
2021
|
exports.ConfigurationApiAxiosParamCreator = ConfigurationApiAxiosParamCreator;
|
@@ -2093,18 +2065,6 @@ const ConfigurationApiFp = function (configuration) {
|
|
2093
2065
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
2094
2066
|
});
|
2095
2067
|
},
|
2096
|
-
/**
|
2097
|
-
* List all features
|
2098
|
-
* @summary List features
|
2099
|
-
* @param {*} [options] Override http request option.
|
2100
|
-
* @throws {RequiredError}
|
2101
|
-
*/
|
2102
|
-
listUserFeatures(options) {
|
2103
|
-
return __awaiter(this, void 0, void 0, function* () {
|
2104
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserFeatures(options);
|
2105
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
2106
|
-
});
|
2107
|
-
},
|
2108
2068
|
};
|
2109
2069
|
};
|
2110
2070
|
exports.ConfigurationApiFp = ConfigurationApiFp;
|
@@ -2145,15 +2105,6 @@ const ConfigurationApiFactory = function (configuration, basePath, axios) {
|
|
2145
2105
|
listFeatures(options) {
|
2146
2106
|
return localVarFp.listFeatures(options).then((request) => request(axios, basePath));
|
2147
2107
|
},
|
2148
|
-
/**
|
2149
|
-
* List all features
|
2150
|
-
* @summary List features
|
2151
|
-
* @param {*} [options] Override http request option.
|
2152
|
-
* @throws {RequiredError}
|
2153
|
-
*/
|
2154
|
-
listUserFeatures(options) {
|
2155
|
-
return localVarFp.listUserFeatures(options).then((request) => request(axios, basePath));
|
2156
|
-
},
|
2157
2108
|
};
|
2158
2109
|
};
|
2159
2110
|
exports.ConfigurationApiFactory = ConfigurationApiFactory;
|
@@ -2197,16 +2148,6 @@ class ConfigurationApi extends base_1.BaseAPI {
|
|
2197
2148
|
listFeatures(options) {
|
2198
2149
|
return (0, exports.ConfigurationApiFp)(this.configuration).listFeatures(options).then((request) => request(this.axios, this.basePath));
|
2199
2150
|
}
|
2200
|
-
/**
|
2201
|
-
* List all features
|
2202
|
-
* @summary List features
|
2203
|
-
* @param {*} [options] Override http request option.
|
2204
|
-
* @throws {RequiredError}
|
2205
|
-
* @memberof ConfigurationApi
|
2206
|
-
*/
|
2207
|
-
listUserFeatures(options) {
|
2208
|
-
return (0, exports.ConfigurationApiFp)(this.configuration).listUserFeatures(options).then((request) => request(this.axios, this.basePath));
|
2209
|
-
}
|
2210
2151
|
}
|
2211
2152
|
exports.ConfigurationApi = ConfigurationApi;
|
2212
2153
|
/**
|
package/dist/esm/api.d.ts
CHANGED
@@ -5192,13 +5192,6 @@ export declare const ConfigurationApiAxiosParamCreator: (configuration?: Configu
|
|
5192
5192
|
* @throws {RequiredError}
|
5193
5193
|
*/
|
5194
5194
|
listFeatures: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5195
|
-
/**
|
5196
|
-
* List all features
|
5197
|
-
* @summary List features
|
5198
|
-
* @param {*} [options] Override http request option.
|
5199
|
-
* @throws {RequiredError}
|
5200
|
-
*/
|
5201
|
-
listUserFeatures: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
5202
5195
|
};
|
5203
5196
|
/**
|
5204
5197
|
* ConfigurationApi - functional programming interface
|
@@ -5229,13 +5222,6 @@ export declare const ConfigurationApiFp: (configuration?: Configuration) => {
|
|
5229
5222
|
* @throws {RequiredError}
|
5230
5223
|
*/
|
5231
5224
|
listFeatures(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeaturesResponse>>;
|
5232
|
-
/**
|
5233
|
-
* List all features
|
5234
|
-
* @summary List features
|
5235
|
-
* @param {*} [options] Override http request option.
|
5236
|
-
* @throws {RequiredError}
|
5237
|
-
*/
|
5238
|
-
listUserFeatures(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeaturesResponse>>;
|
5239
5225
|
};
|
5240
5226
|
/**
|
5241
5227
|
* ConfigurationApi - factory interface
|
@@ -5266,13 +5252,6 @@ export declare const ConfigurationApiFactory: (configuration?: Configuration, ba
|
|
5266
5252
|
* @throws {RequiredError}
|
5267
5253
|
*/
|
5268
5254
|
listFeatures(options?: any): AxiosPromise<FeaturesResponse>;
|
5269
|
-
/**
|
5270
|
-
* List all features
|
5271
|
-
* @summary List features
|
5272
|
-
* @param {*} [options] Override http request option.
|
5273
|
-
* @throws {RequiredError}
|
5274
|
-
*/
|
5275
|
-
listUserFeatures(options?: any): AxiosPromise<FeaturesResponse>;
|
5276
5255
|
};
|
5277
5256
|
/**
|
5278
5257
|
* ConfigurationApi - object-oriented interface
|
@@ -5308,14 +5287,6 @@ export declare class ConfigurationApi extends BaseAPI {
|
|
5308
5287
|
* @memberof ConfigurationApi
|
5309
5288
|
*/
|
5310
5289
|
listFeatures(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FeaturesResponse, any>>;
|
5311
|
-
/**
|
5312
|
-
* List all features
|
5313
|
-
* @summary List features
|
5314
|
-
* @param {*} [options] Override http request option.
|
5315
|
-
* @throws {RequiredError}
|
5316
|
-
* @memberof ConfigurationApi
|
5317
|
-
*/
|
5318
|
-
listUserFeatures(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FeaturesResponse, any>>;
|
5319
5290
|
}
|
5320
5291
|
/**
|
5321
5292
|
* CustomDealsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
@@ -1991,34 +1991,6 @@ export const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
1991
1991
|
options: localVarRequestOptions,
|
1992
1992
|
};
|
1993
1993
|
}),
|
1994
|
-
/**
|
1995
|
-
* List all features
|
1996
|
-
* @summary List features
|
1997
|
-
* @param {*} [options] Override http request option.
|
1998
|
-
* @throws {RequiredError}
|
1999
|
-
*/
|
2000
|
-
listUserFeatures: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
2001
|
-
const localVarPath = `/users/features`;
|
2002
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2003
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2004
|
-
let baseOptions;
|
2005
|
-
if (configuration) {
|
2006
|
-
baseOptions = configuration.baseOptions;
|
2007
|
-
}
|
2008
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
2009
|
-
const localVarHeaderParameter = {};
|
2010
|
-
const localVarQueryParameter = {};
|
2011
|
-
// authentication customerJWT required
|
2012
|
-
// http bearer authentication required
|
2013
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
2014
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2015
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2016
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
2017
|
-
return {
|
2018
|
-
url: toPathString(localVarUrlObj),
|
2019
|
-
options: localVarRequestOptions,
|
2020
|
-
};
|
2021
|
-
}),
|
2022
1994
|
};
|
2023
1995
|
};
|
2024
1996
|
/**
|
@@ -2067,18 +2039,6 @@ export const ConfigurationApiFp = function (configuration) {
|
|
2067
2039
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2068
2040
|
});
|
2069
2041
|
},
|
2070
|
-
/**
|
2071
|
-
* List all features
|
2072
|
-
* @summary List features
|
2073
|
-
* @param {*} [options] Override http request option.
|
2074
|
-
* @throws {RequiredError}
|
2075
|
-
*/
|
2076
|
-
listUserFeatures(options) {
|
2077
|
-
return __awaiter(this, void 0, void 0, function* () {
|
2078
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserFeatures(options);
|
2079
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2080
|
-
});
|
2081
|
-
},
|
2082
2042
|
};
|
2083
2043
|
};
|
2084
2044
|
/**
|
@@ -2118,15 +2078,6 @@ export const ConfigurationApiFactory = function (configuration, basePath, axios)
|
|
2118
2078
|
listFeatures(options) {
|
2119
2079
|
return localVarFp.listFeatures(options).then((request) => request(axios, basePath));
|
2120
2080
|
},
|
2121
|
-
/**
|
2122
|
-
* List all features
|
2123
|
-
* @summary List features
|
2124
|
-
* @param {*} [options] Override http request option.
|
2125
|
-
* @throws {RequiredError}
|
2126
|
-
*/
|
2127
|
-
listUserFeatures(options) {
|
2128
|
-
return localVarFp.listUserFeatures(options).then((request) => request(axios, basePath));
|
2129
|
-
},
|
2130
2081
|
};
|
2131
2082
|
};
|
2132
2083
|
/**
|
@@ -2169,16 +2120,6 @@ export class ConfigurationApi extends BaseAPI {
|
|
2169
2120
|
listFeatures(options) {
|
2170
2121
|
return ConfigurationApiFp(this.configuration).listFeatures(options).then((request) => request(this.axios, this.basePath));
|
2171
2122
|
}
|
2172
|
-
/**
|
2173
|
-
* List all features
|
2174
|
-
* @summary List features
|
2175
|
-
* @param {*} [options] Override http request option.
|
2176
|
-
* @throws {RequiredError}
|
2177
|
-
* @memberof ConfigurationApi
|
2178
|
-
*/
|
2179
|
-
listUserFeatures(options) {
|
2180
|
-
return ConfigurationApiFp(this.configuration).listUserFeatures(options).then((request) => request(this.axios, this.basePath));
|
2181
|
-
}
|
2182
2123
|
}
|
2183
2124
|
/**
|
2184
2125
|
* CustomDealsApi - axios parameter creator
|