@triveria/admin 0.0.157 → 0.0.159

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.
Files changed (3) hide show
  1. package/api.d.ts +43 -5
  2. package/api.js +58 -0
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -83,6 +83,19 @@ export interface ModelError {
83
83
  */
84
84
  'Message': string;
85
85
  }
86
+ /**
87
+ * Owner details
88
+ * @export
89
+ * @interface Owner
90
+ */
91
+ export interface Owner {
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof Owner
96
+ */
97
+ 'id': string;
98
+ }
86
99
  /**
87
100
  * DefaultApi - axios parameter creator
88
101
  * @export
@@ -121,6 +134,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
121
134
  * @throws {RequiredError}
122
135
  */
123
136
  healthCheck: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
137
+ /**
138
+ *
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ ownerGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
124
143
  };
125
144
  /**
126
145
  * DefaultApi - functional programming interface
@@ -160,6 +179,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
160
179
  * @throws {RequiredError}
161
180
  */
162
181
  healthCheck(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthStatus>>;
182
+ /**
183
+ *
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ ownerGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Owner>>;
163
188
  };
164
189
  /**
165
190
  * DefaultApi - factory interface
@@ -172,33 +197,39 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
172
197
  * @param {*} [options] Override http request option.
173
198
  * @throws {RequiredError}
174
199
  */
175
- applicationCreate(applicationCreateRequest?: ApplicationCreateRequest, options?: any): AxiosPromise<Application>;
200
+ applicationCreate(applicationCreateRequest?: ApplicationCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Application>;
176
201
  /**
177
202
  *
178
203
  * @param {string} applicationId Application ID
179
204
  * @param {*} [options] Override http request option.
180
205
  * @throws {RequiredError}
181
206
  */
182
- applicationDelete(applicationId: string, options?: any): AxiosPromise<void>;
207
+ applicationDelete(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
183
208
  /**
184
209
  *
185
210
  * @param {string} applicationId Application ID
186
211
  * @param {*} [options] Override http request option.
187
212
  * @throws {RequiredError}
188
213
  */
189
- applicationGet(applicationId: string, options?: any): AxiosPromise<Application>;
214
+ applicationGet(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Application>;
190
215
  /**
191
216
  *
192
217
  * @param {*} [options] Override http request option.
193
218
  * @throws {RequiredError}
194
219
  */
195
- applicationList(options?: any): AxiosPromise<Array<Application>>;
220
+ applicationList(options?: RawAxiosRequestConfig): AxiosPromise<Array<Application>>;
196
221
  /**
197
222
  *
198
223
  * @param {*} [options] Override http request option.
199
224
  * @throws {RequiredError}
200
225
  */
201
- healthCheck(options?: any): AxiosPromise<HealthStatus>;
226
+ healthCheck(options?: RawAxiosRequestConfig): AxiosPromise<HealthStatus>;
227
+ /**
228
+ *
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ ownerGet(options?: RawAxiosRequestConfig): AxiosPromise<Owner>;
202
233
  };
203
234
  /**
204
235
  * DefaultApi - object-oriented interface
@@ -245,4 +276,11 @@ export declare class DefaultApi extends BaseAPI {
245
276
  * @memberof DefaultApi
246
277
  */
247
278
  healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthStatus, any>>;
279
+ /**
280
+ *
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ * @memberof DefaultApi
284
+ */
285
+ ownerGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Owner, any>>;
248
286
  }
package/api.js CHANGED
@@ -186,6 +186,33 @@ const DefaultApiAxiosParamCreator = function (configuration) {
186
186
  options: localVarRequestOptions,
187
187
  };
188
188
  }),
189
+ /**
190
+ *
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ ownerGet: (options = {}) => __awaiter(this, void 0, void 0, function* () {
195
+ const localVarPath = `/owner`;
196
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
197
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
198
+ let baseOptions;
199
+ if (configuration) {
200
+ baseOptions = configuration.baseOptions;
201
+ }
202
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
203
+ const localVarHeaderParameter = {};
204
+ const localVarQueryParameter = {};
205
+ // authentication accessToken required
206
+ // http bearer authentication required
207
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
208
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
209
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
210
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
211
+ return {
212
+ url: (0, common_1.toPathString)(localVarUrlObj),
213
+ options: localVarRequestOptions,
214
+ };
215
+ }),
189
216
  };
190
217
  };
191
218
  exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
@@ -269,6 +296,20 @@ const DefaultApiFp = function (configuration) {
269
296
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
270
297
  });
271
298
  },
299
+ /**
300
+ *
301
+ * @param {*} [options] Override http request option.
302
+ * @throws {RequiredError}
303
+ */
304
+ ownerGet(options) {
305
+ var _a, _b, _c;
306
+ return __awaiter(this, void 0, void 0, function* () {
307
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.ownerGet(options);
308
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
309
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.ownerGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
310
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
311
+ });
312
+ },
272
313
  };
273
314
  };
274
315
  exports.DefaultApiFp = DefaultApiFp;
@@ -322,6 +363,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
322
363
  healthCheck(options) {
323
364
  return localVarFp.healthCheck(options).then((request) => request(axios, basePath));
324
365
  },
366
+ /**
367
+ *
368
+ * @param {*} [options] Override http request option.
369
+ * @throws {RequiredError}
370
+ */
371
+ ownerGet(options) {
372
+ return localVarFp.ownerGet(options).then((request) => request(axios, basePath));
373
+ },
325
374
  };
326
375
  };
327
376
  exports.DefaultApiFactory = DefaultApiFactory;
@@ -380,5 +429,14 @@ class DefaultApi extends base_1.BaseAPI {
380
429
  healthCheck(options) {
381
430
  return (0, exports.DefaultApiFp)(this.configuration).healthCheck(options).then((request) => request(this.axios, this.basePath));
382
431
  }
432
+ /**
433
+ *
434
+ * @param {*} [options] Override http request option.
435
+ * @throws {RequiredError}
436
+ * @memberof DefaultApi
437
+ */
438
+ ownerGet(options) {
439
+ return (0, exports.DefaultApiFp)(this.configuration).ownerGet(options).then((request) => request(this.axios, this.basePath));
440
+ }
383
441
  }
384
442
  exports.DefaultApi = DefaultApi;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/admin",
3
3
  "private": false,
4
- "version": "0.0.157",
4
+ "version": "0.0.159",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {