@triveria/admin 0.0.162 → 0.0.163

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/api.d.ts CHANGED
@@ -13,11 +13,6 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @enum {string}
20
- */
21
16
  export declare const AdminRole: {
22
17
  readonly UserManager: "User Manager";
23
18
  readonly WalletManager: "Wallet Manager";
@@ -25,53 +20,19 @@ export declare const AdminRole: {
25
20
  export type AdminRole = typeof AdminRole[keyof typeof AdminRole];
26
21
  /**
27
22
  * Application to access Wallet API
28
- * @export
29
- * @interface Application
30
23
  */
31
24
  export interface Application {
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof Application
36
- */
37
25
  'name': string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof Application
42
- */
43
26
  'id': string;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof Application
48
- */
49
27
  'secret'?: string;
50
28
  }
51
- /**
52
- *
53
- * @export
54
- * @interface ApplicationCreateRequest
55
- */
56
29
  export interface ApplicationCreateRequest {
57
- /**
58
- *
59
- * @type {string}
60
- * @memberof ApplicationCreateRequest
61
- */
62
30
  'name': string;
63
31
  }
64
32
  /**
65
33
  * Health status of the system
66
- * @export
67
- * @interface HealthStatus
68
34
  */
69
35
  export interface HealthStatus {
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof HealthStatus
74
- */
75
36
  'status': HealthStatusStatusEnum;
76
37
  }
77
38
  export declare const HealthStatusStatusEnum: {
@@ -82,119 +43,46 @@ export declare const HealthStatusStatusEnum: {
82
43
  export type HealthStatusStatusEnum = typeof HealthStatusStatusEnum[keyof typeof HealthStatusStatusEnum];
83
44
  /**
84
45
  * Common error message
85
- * @export
86
- * @interface ModelError
87
46
  */
88
47
  export interface ModelError {
89
- /**
90
- *
91
- * @type {string}
92
- * @memberof ModelError
93
- */
94
48
  'Message': string;
95
49
  }
96
50
  /**
97
51
  * Owner details
98
- * @export
99
- * @interface Owner
100
52
  */
101
53
  export interface Owner {
102
- /**
103
- *
104
- * @type {string}
105
- * @memberof Owner
106
- */
107
54
  'id': string;
108
- /**
109
- *
110
- * @type {string}
111
- * @memberof Owner
112
- */
113
55
  'tenantId': string;
114
- /**
115
- *
116
- * @type {string}
117
- * @memberof Owner
118
- */
119
56
  'email'?: string;
120
- /**
121
- *
122
- * @type {string}
123
- * @memberof Owner
124
- */
125
57
  'name'?: string;
126
- /**
127
- *
128
- * @type {string}
129
- * @memberof Owner
130
- */
131
58
  'created'?: string;
132
- /**
133
- *
134
- * @type {string}
135
- * @memberof Owner
136
- */
137
59
  'updated'?: string;
138
- /**
139
- *
140
- * @type {string}
141
- * @memberof Owner
142
- */
143
60
  'lastLogin'?: string;
144
- /**
145
- *
146
- * @type {Array<AdminRole>}
147
- * @memberof Owner
148
- */
149
61
  'adminRoles'?: Array<AdminRole>;
150
62
  }
151
63
  /**
152
64
  * Owner patch payload
153
- * @export
154
- * @interface OwnerPatchPayload
155
65
  */
156
66
  export interface OwnerPatchPayload {
157
- /**
158
- *
159
- * @type {string}
160
- * @memberof OwnerPatchPayload
161
- */
162
67
  'tenantId'?: string;
163
68
  /**
164
69
  * Admin Roles delimited by the comma character
165
- * @type {string}
166
- * @memberof OwnerPatchPayload
167
70
  */
168
71
  'adminRoles'?: string;
169
72
  }
170
73
  /**
171
74
  * Owner details including M2M apps list
172
- * @export
173
- * @interface OwnerWithExtras
174
75
  */
175
76
  export interface OwnerWithExtras {
176
- /**
177
- *
178
- * @type {Owner}
179
- * @memberof OwnerWithExtras
180
- */
181
77
  'owner': Owner;
182
- /**
183
- *
184
- * @type {Array<Application>}
185
- * @memberof OwnerWithExtras
186
- */
187
78
  'apps'?: Array<Application>;
188
79
  /**
189
80
  * Owner user management URL
190
- * @type {string}
191
- * @memberof OwnerWithExtras
192
81
  */
193
82
  'url': string;
194
83
  }
195
84
  /**
196
85
  * DefaultApi - axios parameter creator
197
- * @export
198
86
  */
199
87
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
200
88
  /**
@@ -260,7 +148,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
260
148
  };
261
149
  /**
262
150
  * DefaultApi - functional programming interface
263
- * @export
264
151
  */
265
152
  export declare const DefaultApiFp: (configuration?: Configuration) => {
266
153
  /**
@@ -326,7 +213,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
326
213
  };
327
214
  /**
328
215
  * DefaultApi - factory interface
329
- * @export
330
216
  */
331
217
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
332
218
  /**
@@ -392,9 +278,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
392
278
  };
393
279
  /**
394
280
  * DefaultApi - object-oriented interface
395
- * @export
396
- * @class DefaultApi
397
- * @extends {BaseAPI}
398
281
  */
399
282
  export declare class DefaultApi extends BaseAPI {
400
283
  /**
@@ -402,7 +285,6 @@ export declare class DefaultApi extends BaseAPI {
402
285
  * @param {ApplicationCreateRequest} [applicationCreateRequest]
403
286
  * @param {*} [options] Override http request option.
404
287
  * @throws {RequiredError}
405
- * @memberof DefaultApi
406
288
  */
407
289
  applicationCreate(applicationCreateRequest?: ApplicationCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Application, any>>;
408
290
  /**
@@ -410,7 +292,6 @@ export declare class DefaultApi extends BaseAPI {
410
292
  * @param {string} applicationId Application ID
411
293
  * @param {*} [options] Override http request option.
412
294
  * @throws {RequiredError}
413
- * @memberof DefaultApi
414
295
  */
415
296
  applicationDelete(applicationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
416
297
  /**
@@ -418,28 +299,24 @@ export declare class DefaultApi extends BaseAPI {
418
299
  * @param {string} applicationId Application ID
419
300
  * @param {*} [options] Override http request option.
420
301
  * @throws {RequiredError}
421
- * @memberof DefaultApi
422
302
  */
423
303
  applicationGet(applicationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Application, any>>;
424
304
  /**
425
305
  * Lists applications / clients for the authenticated user
426
306
  * @param {*} [options] Override http request option.
427
307
  * @throws {RequiredError}
428
- * @memberof DefaultApi
429
308
  */
430
309
  applicationList(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Application[], any>>;
431
310
  /**
432
311
  *
433
312
  * @param {*} [options] Override http request option.
434
313
  * @throws {RequiredError}
435
- * @memberof DefaultApi
436
314
  */
437
315
  healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthStatus, any>>;
438
316
  /**
439
317
  *
440
318
  * @param {*} [options] Override http request option.
441
319
  * @throws {RequiredError}
442
- * @memberof DefaultApi
443
320
  */
444
321
  ownerGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Owner, any>>;
445
322
  /**
@@ -447,7 +324,6 @@ export declare class DefaultApi extends BaseAPI {
447
324
  * @param {string} ownerId
448
325
  * @param {*} [options] Override http request option.
449
326
  * @throws {RequiredError}
450
- * @memberof DefaultApi
451
327
  */
452
328
  ownerGetById(ownerId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OwnerWithExtras, any>>;
453
329
  /**
@@ -456,14 +332,12 @@ export declare class DefaultApi extends BaseAPI {
456
332
  * @param {OwnerPatchPayload} [ownerPatchPayload]
457
333
  * @param {*} [options] Override http request option.
458
334
  * @throws {RequiredError}
459
- * @memberof DefaultApi
460
335
  */
461
336
  ownerUpdate(ownerId: string, ownerPatchPayload?: OwnerPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
462
337
  /**
463
338
  * Retrieves owners
464
339
  * @param {*} [options] Override http request option.
465
340
  * @throws {RequiredError}
466
- * @memberof DefaultApi
467
341
  */
468
342
  ownersList(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Owner[], any>>;
469
343
  }
package/api.js CHANGED
@@ -32,11 +32,6 @@ const axios_1 = __importDefault(require("axios"));
32
32
  const common_1 = require("./common");
33
33
  // @ts-ignore
34
34
  const base_1 = require("./base");
35
- /**
36
- *
37
- * @export
38
- * @enum {string}
39
- */
40
35
  exports.AdminRole = {
41
36
  UserManager: 'User Manager',
42
37
  WalletManager: 'Wallet Manager'
@@ -48,7 +43,6 @@ exports.HealthStatusStatusEnum = {
48
43
  };
49
44
  /**
50
45
  * DefaultApi - axios parameter creator
51
- * @export
52
46
  */
53
47
  const DefaultApiAxiosParamCreator = function (configuration) {
54
48
  return {
@@ -319,7 +313,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
319
313
  exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
320
314
  /**
321
315
  * DefaultApi - functional programming interface
322
- * @export
323
316
  */
324
317
  const DefaultApiFp = function (configuration) {
325
318
  const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
@@ -461,7 +454,6 @@ const DefaultApiFp = function (configuration) {
461
454
  exports.DefaultApiFp = DefaultApiFp;
462
455
  /**
463
456
  * DefaultApi - factory interface
464
- * @export
465
457
  */
466
458
  const DefaultApiFactory = function (configuration, basePath, axios) {
467
459
  const localVarFp = (0, exports.DefaultApiFp)(configuration);
@@ -549,9 +541,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
549
541
  exports.DefaultApiFactory = DefaultApiFactory;
550
542
  /**
551
543
  * DefaultApi - object-oriented interface
552
- * @export
553
- * @class DefaultApi
554
- * @extends {BaseAPI}
555
544
  */
556
545
  class DefaultApi extends base_1.BaseAPI {
557
546
  /**
@@ -559,7 +548,6 @@ class DefaultApi extends base_1.BaseAPI {
559
548
  * @param {ApplicationCreateRequest} [applicationCreateRequest]
560
549
  * @param {*} [options] Override http request option.
561
550
  * @throws {RequiredError}
562
- * @memberof DefaultApi
563
551
  */
564
552
  applicationCreate(applicationCreateRequest, options) {
565
553
  return (0, exports.DefaultApiFp)(this.configuration).applicationCreate(applicationCreateRequest, options).then((request) => request(this.axios, this.basePath));
@@ -569,7 +557,6 @@ class DefaultApi extends base_1.BaseAPI {
569
557
  * @param {string} applicationId Application ID
570
558
  * @param {*} [options] Override http request option.
571
559
  * @throws {RequiredError}
572
- * @memberof DefaultApi
573
560
  */
574
561
  applicationDelete(applicationId, options) {
575
562
  return (0, exports.DefaultApiFp)(this.configuration).applicationDelete(applicationId, options).then((request) => request(this.axios, this.basePath));
@@ -579,7 +566,6 @@ class DefaultApi extends base_1.BaseAPI {
579
566
  * @param {string} applicationId Application ID
580
567
  * @param {*} [options] Override http request option.
581
568
  * @throws {RequiredError}
582
- * @memberof DefaultApi
583
569
  */
584
570
  applicationGet(applicationId, options) {
585
571
  return (0, exports.DefaultApiFp)(this.configuration).applicationGet(applicationId, options).then((request) => request(this.axios, this.basePath));
@@ -588,7 +574,6 @@ class DefaultApi extends base_1.BaseAPI {
588
574
  * Lists applications / clients for the authenticated user
589
575
  * @param {*} [options] Override http request option.
590
576
  * @throws {RequiredError}
591
- * @memberof DefaultApi
592
577
  */
593
578
  applicationList(options) {
594
579
  return (0, exports.DefaultApiFp)(this.configuration).applicationList(options).then((request) => request(this.axios, this.basePath));
@@ -597,7 +582,6 @@ class DefaultApi extends base_1.BaseAPI {
597
582
  *
598
583
  * @param {*} [options] Override http request option.
599
584
  * @throws {RequiredError}
600
- * @memberof DefaultApi
601
585
  */
602
586
  healthCheck(options) {
603
587
  return (0, exports.DefaultApiFp)(this.configuration).healthCheck(options).then((request) => request(this.axios, this.basePath));
@@ -606,7 +590,6 @@ class DefaultApi extends base_1.BaseAPI {
606
590
  *
607
591
  * @param {*} [options] Override http request option.
608
592
  * @throws {RequiredError}
609
- * @memberof DefaultApi
610
593
  */
611
594
  ownerGet(options) {
612
595
  return (0, exports.DefaultApiFp)(this.configuration).ownerGet(options).then((request) => request(this.axios, this.basePath));
@@ -616,7 +599,6 @@ class DefaultApi extends base_1.BaseAPI {
616
599
  * @param {string} ownerId
617
600
  * @param {*} [options] Override http request option.
618
601
  * @throws {RequiredError}
619
- * @memberof DefaultApi
620
602
  */
621
603
  ownerGetById(ownerId, options) {
622
604
  return (0, exports.DefaultApiFp)(this.configuration).ownerGetById(ownerId, options).then((request) => request(this.axios, this.basePath));
@@ -627,7 +609,6 @@ class DefaultApi extends base_1.BaseAPI {
627
609
  * @param {OwnerPatchPayload} [ownerPatchPayload]
628
610
  * @param {*} [options] Override http request option.
629
611
  * @throws {RequiredError}
630
- * @memberof DefaultApi
631
612
  */
632
613
  ownerUpdate(ownerId, ownerPatchPayload, options) {
633
614
  return (0, exports.DefaultApiFp)(this.configuration).ownerUpdate(ownerId, ownerPatchPayload, options).then((request) => request(this.axios, this.basePath));
@@ -636,7 +617,6 @@ class DefaultApi extends base_1.BaseAPI {
636
617
  * Retrieves owners
637
618
  * @param {*} [options] Override http request option.
638
619
  * @throws {RequiredError}
639
- * @memberof DefaultApi
640
620
  */
641
621
  ownersList(options) {
642
622
  return (0, exports.DefaultApiFp)(this.configuration).ownersList(options).then((request) => request(this.axios, this.basePath));
package/base.d.ts CHANGED
@@ -12,42 +12,22 @@
12
12
  import type { Configuration } from './configuration';
13
13
  import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const COLLECTION_FORMATS: {
20
16
  csv: string;
21
17
  ssv: string;
22
18
  tsv: string;
23
19
  pipes: string;
24
20
  };
25
- /**
26
- *
27
- * @export
28
- * @interface RequestArgs
29
- */
30
21
  export interface RequestArgs {
31
22
  url: string;
32
23
  options: RawAxiosRequestConfig;
33
24
  }
34
- /**
35
- *
36
- * @export
37
- * @class BaseAPI
38
- */
39
25
  export declare class BaseAPI {
40
26
  protected basePath: string;
41
27
  protected axios: AxiosInstance;
42
28
  protected configuration: Configuration | undefined;
43
29
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
30
  }
45
- /**
46
- *
47
- * @export
48
- * @class RequiredError
49
- * @extends {Error}
50
- */
51
31
  export declare class RequiredError extends Error {
52
32
  field: string;
53
33
  constructor(field: string, msg?: string);
@@ -58,9 +38,5 @@ interface ServerMap {
58
38
  description: string;
59
39
  }[];
60
40
  }
61
- /**
62
- *
63
- * @export
64
- */
65
41
  export declare const operationServerMap: ServerMap;
66
42
  export {};
package/base.js CHANGED
@@ -19,21 +19,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  exports.BASE_PATH = "/api/v1".replace(/\/+$/, "");
22
- /**
23
- *
24
- * @export
25
- */
26
22
  exports.COLLECTION_FORMATS = {
27
23
  csv: ",",
28
24
  ssv: " ",
29
25
  tsv: "\t",
30
26
  pipes: "|",
31
27
  };
32
- /**
33
- *
34
- * @export
35
- * @class BaseAPI
36
- */
37
28
  class BaseAPI {
38
29
  constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
39
30
  var _a;
@@ -47,12 +38,6 @@ class BaseAPI {
47
38
  }
48
39
  exports.BaseAPI = BaseAPI;
49
40
  ;
50
- /**
51
- *
52
- * @export
53
- * @class RequiredError
54
- * @extends {Error}
55
- */
56
41
  class RequiredError extends Error {
57
42
  constructor(field, msg) {
58
43
  super(msg);
@@ -61,8 +46,4 @@ class RequiredError extends Error {
61
46
  }
62
47
  }
63
48
  exports.RequiredError = RequiredError;
64
- /**
65
- *
66
- * @export
67
- */
68
49
  exports.operationServerMap = {};
package/common.d.ts CHANGED
@@ -12,54 +12,17 @@
12
12
  import type { Configuration } from "./configuration";
13
13
  import type { RequestArgs } from "./base";
14
14
  import type { AxiosInstance, AxiosResponse } from 'axios';
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const DUMMY_BASE_URL = "https://example.com";
20
16
  /**
21
17
  *
22
18
  * @throws {RequiredError}
23
- * @export
24
19
  */
25
20
  export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
- /**
27
- *
28
- * @export
29
- */
30
21
  export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
- /**
32
- *
33
- * @export
34
- */
35
22
  export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
- /**
37
- *
38
- * @export
39
- */
40
23
  export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
- /**
42
- *
43
- * @export
44
- */
45
24
  export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
- /**
47
- *
48
- * @export
49
- */
50
25
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
- /**
52
- *
53
- * @export
54
- */
55
26
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
- /**
57
- *
58
- * @export
59
- */
60
27
  export declare const toPathString: (url: URL) => string;
61
- /**
62
- *
63
- * @export
64
- */
65
28
  export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/common.js CHANGED
@@ -24,15 +24,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
26
26
  const base_1 = require("./base");
27
- /**
28
- *
29
- * @export
30
- */
31
27
  exports.DUMMY_BASE_URL = 'https://example.com';
32
28
  /**
33
29
  *
34
30
  * @throws {RequiredError}
35
- * @export
36
31
  */
37
32
  const assertParamExists = function (functionName, paramName, paramValue) {
38
33
  if (paramValue === null || paramValue === undefined) {
@@ -40,10 +35,6 @@ const assertParamExists = function (functionName, paramName, paramValue) {
40
35
  }
41
36
  };
42
37
  exports.assertParamExists = assertParamExists;
43
- /**
44
- *
45
- * @export
46
- */
47
38
  const setApiKeyToObject = function (object, keyParamName, configuration) {
48
39
  return __awaiter(this, void 0, void 0, function* () {
49
40
  if (configuration && configuration.apiKey) {
@@ -55,20 +46,12 @@ const setApiKeyToObject = function (object, keyParamName, configuration) {
55
46
  });
56
47
  };
57
48
  exports.setApiKeyToObject = setApiKeyToObject;
58
- /**
59
- *
60
- * @export
61
- */
62
49
  const setBasicAuthToObject = function (object, configuration) {
63
50
  if (configuration && (configuration.username || configuration.password)) {
64
51
  object["auth"] = { username: configuration.username, password: configuration.password };
65
52
  }
66
53
  };
67
54
  exports.setBasicAuthToObject = setBasicAuthToObject;
68
- /**
69
- *
70
- * @export
71
- */
72
55
  const setBearerAuthToObject = function (object, configuration) {
73
56
  return __awaiter(this, void 0, void 0, function* () {
74
57
  if (configuration && configuration.accessToken) {
@@ -80,10 +63,6 @@ const setBearerAuthToObject = function (object, configuration) {
80
63
  });
81
64
  };
82
65
  exports.setBearerAuthToObject = setBearerAuthToObject;
83
- /**
84
- *
85
- * @export
86
- */
87
66
  const setOAuthToObject = function (object, name, scopes, configuration) {
88
67
  return __awaiter(this, void 0, void 0, function* () {
89
68
  if (configuration && configuration.accessToken) {
@@ -115,20 +94,12 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
115
94
  }
116
95
  }
117
96
  }
118
- /**
119
- *
120
- * @export
121
- */
122
97
  const setSearchParams = function (url, ...objects) {
123
98
  const searchParams = new URLSearchParams(url.search);
124
99
  setFlattenedQueryParams(searchParams, objects);
125
100
  url.search = searchParams.toString();
126
101
  };
127
102
  exports.setSearchParams = setSearchParams;
128
- /**
129
- *
130
- * @export
131
- */
132
103
  const serializeDataIfNeeded = function (value, requestOptions, configuration) {
133
104
  const nonString = typeof value !== 'string';
134
105
  const needsSerialization = nonString && configuration && configuration.isJsonMime
@@ -139,18 +110,10 @@ const serializeDataIfNeeded = function (value, requestOptions, configuration) {
139
110
  : (value || "");
140
111
  };
141
112
  exports.serializeDataIfNeeded = serializeDataIfNeeded;
142
- /**
143
- *
144
- * @export
145
- */
146
113
  const toPathString = function (url) {
147
114
  return url.pathname + url.search + url.hash;
148
115
  };
149
116
  exports.toPathString = toPathString;
150
- /**
151
- *
152
- * @export
153
- */
154
117
  const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
155
118
  return (axios = globalAxios, basePath = BASE_PATH) => {
156
119
  var _a;
@@ -23,49 +23,32 @@ export declare class Configuration {
23
23
  /**
24
24
  * parameter for apiKey security
25
25
  * @param name security name
26
- * @memberof Configuration
27
26
  */
28
27
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
28
  /**
30
29
  * parameter for basic security
31
- *
32
- * @type {string}
33
- * @memberof Configuration
34
30
  */
35
31
  username?: string;
36
32
  /**
37
33
  * parameter for basic security
38
- *
39
- * @type {string}
40
- * @memberof Configuration
41
34
  */
42
35
  password?: string;
43
36
  /**
44
37
  * parameter for oauth2 security
45
38
  * @param name security name
46
39
  * @param scopes oauth2 scope
47
- * @memberof Configuration
48
40
  */
49
41
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
50
42
  /**
51
43
  * override base path
52
- *
53
- * @type {string}
54
- * @memberof Configuration
55
44
  */
56
45
  basePath?: string;
57
46
  /**
58
47
  * override server index
59
- *
60
- * @type {number}
61
- * @memberof Configuration
62
48
  */
63
49
  serverIndex?: number;
64
50
  /**
65
51
  * base options for axios calls
66
- *
67
- * @type {any}
68
- * @memberof Configuration
69
52
  */
70
53
  baseOptions?: any;
71
54
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/admin",
3
3
  "private": false,
4
- "version": "0.0.162",
4
+ "version": "0.0.163",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {