flexinet-api 0.0.1709-prerelease0-dev → 0.0.1711-prerelease0-dev
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 +64 -0
- package/dist/api.d.ts +29 -0
- package/dist/api.js +59 -0
- package/dist/esm/api.d.ts +29 -0
- package/dist/esm/api.js +59 -0
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
## flexinet-api@0.0.
|
1
|
+
## flexinet-api@0.0.1711-prerelease0-dev
|
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.1711-prerelease0-dev --save
|
40
40
|
```
|
41
41
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
@@ -6324,6 +6324,40 @@ 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
|
+
|
6327
6361
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
6328
6362
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
6329
6363
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
@@ -6376,6 +6410,16 @@ export const ConfigurationApiFp = function(configuration?: Configuration) {
|
|
6376
6410
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listFeatures(options);
|
6377
6411
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
6378
6412
|
},
|
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
|
+
},
|
6379
6423
|
}
|
6380
6424
|
};
|
6381
6425
|
|
@@ -6416,6 +6460,15 @@ export const ConfigurationApiFactory = function (configuration?: Configuration,
|
|
6416
6460
|
listFeatures(options?: any): AxiosPromise<FeaturesResponse> {
|
6417
6461
|
return localVarFp.listFeatures(options).then((request) => request(axios, basePath));
|
6418
6462
|
},
|
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
|
+
},
|
6419
6472
|
};
|
6420
6473
|
};
|
6421
6474
|
|
@@ -6461,6 +6514,17 @@ export class ConfigurationApi extends BaseAPI {
|
|
6461
6514
|
public listFeatures(options?: AxiosRequestConfig) {
|
6462
6515
|
return ConfigurationApiFp(this.configuration).listFeatures(options).then((request) => request(this.axios, this.basePath));
|
6463
6516
|
}
|
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
|
+
}
|
6464
6528
|
}
|
6465
6529
|
|
6466
6530
|
|
package/dist/api.d.ts
CHANGED
@@ -5192,6 +5192,13 @@ 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>;
|
5195
5202
|
};
|
5196
5203
|
/**
|
5197
5204
|
* ConfigurationApi - functional programming interface
|
@@ -5222,6 +5229,13 @@ export declare const ConfigurationApiFp: (configuration?: Configuration) => {
|
|
5222
5229
|
* @throws {RequiredError}
|
5223
5230
|
*/
|
5224
5231
|
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>>;
|
5225
5239
|
};
|
5226
5240
|
/**
|
5227
5241
|
* ConfigurationApi - factory interface
|
@@ -5252,6 +5266,13 @@ export declare const ConfigurationApiFactory: (configuration?: Configuration, ba
|
|
5252
5266
|
* @throws {RequiredError}
|
5253
5267
|
*/
|
5254
5268
|
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>;
|
5255
5276
|
};
|
5256
5277
|
/**
|
5257
5278
|
* ConfigurationApi - object-oriented interface
|
@@ -5287,6 +5308,14 @@ export declare class ConfigurationApi extends BaseAPI {
|
|
5287
5308
|
* @memberof ConfigurationApi
|
5288
5309
|
*/
|
5289
5310
|
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>>;
|
5290
5319
|
}
|
5291
5320
|
/**
|
5292
5321
|
* CustomDealsApi - axios parameter creator
|
package/dist/api.js
CHANGED
@@ -2016,6 +2016,34 @@ 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
|
+
}),
|
2019
2047
|
};
|
2020
2048
|
};
|
2021
2049
|
exports.ConfigurationApiAxiosParamCreator = ConfigurationApiAxiosParamCreator;
|
@@ -2065,6 +2093,18 @@ const ConfigurationApiFp = function (configuration) {
|
|
2065
2093
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
2066
2094
|
});
|
2067
2095
|
},
|
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
|
+
},
|
2068
2108
|
};
|
2069
2109
|
};
|
2070
2110
|
exports.ConfigurationApiFp = ConfigurationApiFp;
|
@@ -2105,6 +2145,15 @@ const ConfigurationApiFactory = function (configuration, basePath, axios) {
|
|
2105
2145
|
listFeatures(options) {
|
2106
2146
|
return localVarFp.listFeatures(options).then((request) => request(axios, basePath));
|
2107
2147
|
},
|
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
|
+
},
|
2108
2157
|
};
|
2109
2158
|
};
|
2110
2159
|
exports.ConfigurationApiFactory = ConfigurationApiFactory;
|
@@ -2148,6 +2197,16 @@ class ConfigurationApi extends base_1.BaseAPI {
|
|
2148
2197
|
listFeatures(options) {
|
2149
2198
|
return (0, exports.ConfigurationApiFp)(this.configuration).listFeatures(options).then((request) => request(this.axios, this.basePath));
|
2150
2199
|
}
|
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
|
+
}
|
2151
2210
|
}
|
2152
2211
|
exports.ConfigurationApi = ConfigurationApi;
|
2153
2212
|
/**
|
package/dist/esm/api.d.ts
CHANGED
@@ -5192,6 +5192,13 @@ 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>;
|
5195
5202
|
};
|
5196
5203
|
/**
|
5197
5204
|
* ConfigurationApi - functional programming interface
|
@@ -5222,6 +5229,13 @@ export declare const ConfigurationApiFp: (configuration?: Configuration) => {
|
|
5222
5229
|
* @throws {RequiredError}
|
5223
5230
|
*/
|
5224
5231
|
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>>;
|
5225
5239
|
};
|
5226
5240
|
/**
|
5227
5241
|
* ConfigurationApi - factory interface
|
@@ -5252,6 +5266,13 @@ export declare const ConfigurationApiFactory: (configuration?: Configuration, ba
|
|
5252
5266
|
* @throws {RequiredError}
|
5253
5267
|
*/
|
5254
5268
|
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>;
|
5255
5276
|
};
|
5256
5277
|
/**
|
5257
5278
|
* ConfigurationApi - object-oriented interface
|
@@ -5287,6 +5308,14 @@ export declare class ConfigurationApi extends BaseAPI {
|
|
5287
5308
|
* @memberof ConfigurationApi
|
5288
5309
|
*/
|
5289
5310
|
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>>;
|
5290
5319
|
}
|
5291
5320
|
/**
|
5292
5321
|
* CustomDealsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
@@ -1991,6 +1991,34 @@ 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
|
+
}),
|
1994
2022
|
};
|
1995
2023
|
};
|
1996
2024
|
/**
|
@@ -2039,6 +2067,18 @@ export const ConfigurationApiFp = function (configuration) {
|
|
2039
2067
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2040
2068
|
});
|
2041
2069
|
},
|
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
|
+
},
|
2042
2082
|
};
|
2043
2083
|
};
|
2044
2084
|
/**
|
@@ -2078,6 +2118,15 @@ export const ConfigurationApiFactory = function (configuration, basePath, axios)
|
|
2078
2118
|
listFeatures(options) {
|
2079
2119
|
return localVarFp.listFeatures(options).then((request) => request(axios, basePath));
|
2080
2120
|
},
|
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
|
+
},
|
2081
2130
|
};
|
2082
2131
|
};
|
2083
2132
|
/**
|
@@ -2120,6 +2169,16 @@ export class ConfigurationApi extends BaseAPI {
|
|
2120
2169
|
listFeatures(options) {
|
2121
2170
|
return ConfigurationApiFp(this.configuration).listFeatures(options).then((request) => request(this.axios, this.basePath));
|
2122
2171
|
}
|
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
|
+
}
|
2123
2182
|
}
|
2124
2183
|
/**
|
2125
2184
|
* CustomDealsApi - axios parameter creator
|