@handsondigital/idplugger-admin 2.2.2 → 2.2.3

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @handsondigital/idplugger-admin@2.2.2
1
+ ## @handsondigital/idplugger-admin@2.2.3
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 @handsondigital/idplugger-admin@2.2.2 --save
39
+ npm install @handsondigital/idplugger-admin@2.2.3 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -7089,10 +7089,11 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
7089
7089
  *
7090
7090
  * @summary Visualizar dados do usuário na API
7091
7091
  * @param {string} uuid UUID do usuário a ser visualizado
7092
+ * @param {string} [include] Incluir relacionamentos no resultado
7092
7093
  * @param {*} [options] Override http request option.
7093
7094
  * @throws {RequiredError}
7094
7095
  */
7095
- userShow: async (uuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7096
+ userShow: async (uuid: string, include?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7096
7097
  // verify required parameter 'uuid' is not null or undefined
7097
7098
  assertParamExists('userShow', 'uuid', uuid)
7098
7099
  const localVarPath = `/v3/admin/user/{uuid}`
@@ -7112,6 +7113,10 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
7112
7113
  // http bearer authentication required
7113
7114
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
7114
7115
 
7116
+ if (include !== undefined) {
7117
+ localVarQueryParameter['_include'] = include;
7118
+ }
7119
+
7115
7120
 
7116
7121
 
7117
7122
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7237,11 +7242,12 @@ export const UserApiFp = function(configuration?: Configuration) {
7237
7242
  *
7238
7243
  * @summary Visualizar dados do usuário na API
7239
7244
  * @param {string} uuid UUID do usuário a ser visualizado
7245
+ * @param {string} [include] Incluir relacionamentos no resultado
7240
7246
  * @param {*} [options] Override http request option.
7241
7247
  * @throws {RequiredError}
7242
7248
  */
7243
- async userShow(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserShow200Response>> {
7244
- const localVarAxiosArgs = await localVarAxiosParamCreator.userShow(uuid, options);
7249
+ async userShow(uuid: string, include?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserShow200Response>> {
7250
+ const localVarAxiosArgs = await localVarAxiosParamCreator.userShow(uuid, include, options);
7245
7251
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7246
7252
  const localVarOperationServerBasePath = operationServerMap['UserApi.userShow']?.[localVarOperationServerIndex]?.url;
7247
7253
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7318,7 +7324,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
7318
7324
  * @throws {RequiredError}
7319
7325
  */
7320
7326
  userShow(requestParameters: UserApiUserShowRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserShow200Response> {
7321
- return localVarFp.userShow(requestParameters.uuid, options).then((request) => request(axios, basePath));
7327
+ return localVarFp.userShow(requestParameters.uuid, requestParameters.include, options).then((request) => request(axios, basePath));
7322
7328
  },
7323
7329
  /**
7324
7330
  *
@@ -7443,6 +7449,13 @@ export interface UserApiUserShowRequest {
7443
7449
  * @memberof UserApiUserShow
7444
7450
  */
7445
7451
  readonly uuid: string
7452
+
7453
+ /**
7454
+ * Incluir relacionamentos no resultado
7455
+ * @type {string}
7456
+ * @memberof UserApiUserShow
7457
+ */
7458
+ readonly include?: string
7446
7459
  }
7447
7460
 
7448
7461
  /**
@@ -7530,7 +7543,7 @@ export class UserApi extends BaseAPI {
7530
7543
  * @memberof UserApi
7531
7544
  */
7532
7545
  public userShow(requestParameters: UserApiUserShowRequest, options?: RawAxiosRequestConfig) {
7533
- return UserApiFp(this.configuration).userShow(requestParameters.uuid, options).then((request) => request(this.axios, this.basePath));
7546
+ return UserApiFp(this.configuration).userShow(requestParameters.uuid, requestParameters.include, options).then((request) => request(this.axios, this.basePath));
7534
7547
  }
7535
7548
 
7536
7549
  /**
package/dist/api.d.ts CHANGED
@@ -5240,10 +5240,11 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
5240
5240
  *
5241
5241
  * @summary Visualizar dados do usuário na API
5242
5242
  * @param {string} uuid UUID do usuário a ser visualizado
5243
+ * @param {string} [include] Incluir relacionamentos no resultado
5243
5244
  * @param {*} [options] Override http request option.
5244
5245
  * @throws {RequiredError}
5245
5246
  */
5246
- userShow: (uuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5247
+ userShow: (uuid: string, include?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5247
5248
  /**
5248
5249
  *
5249
5250
  * @summary Atualizar nome do usuário na API
@@ -5301,10 +5302,11 @@ export declare const UserApiFp: (configuration?: Configuration) => {
5301
5302
  *
5302
5303
  * @summary Visualizar dados do usuário na API
5303
5304
  * @param {string} uuid UUID do usuário a ser visualizado
5305
+ * @param {string} [include] Incluir relacionamentos no resultado
5304
5306
  * @param {*} [options] Override http request option.
5305
5307
  * @throws {RequiredError}
5306
5308
  */
5307
- userShow(uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserShow200Response>>;
5309
+ userShow(uuid: string, include?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserShow200Response>>;
5308
5310
  /**
5309
5311
  *
5310
5312
  * @summary Atualizar nome do usuário na API
@@ -5469,6 +5471,12 @@ export interface UserApiUserShowRequest {
5469
5471
  * @memberof UserApiUserShow
5470
5472
  */
5471
5473
  readonly uuid: string;
5474
+ /**
5475
+ * Incluir relacionamentos no resultado
5476
+ * @type {string}
5477
+ * @memberof UserApiUserShow
5478
+ */
5479
+ readonly include?: string;
5472
5480
  }
5473
5481
  /**
5474
5482
  * Request parameters for userUpdate operation in UserApi.
package/dist/api.js CHANGED
@@ -4183,15 +4183,16 @@ var UserApiAxiosParamCreator = function (configuration) {
4183
4183
  *
4184
4184
  * @summary Visualizar dados do usuário na API
4185
4185
  * @param {string} uuid UUID do usuário a ser visualizado
4186
+ * @param {string} [include] Incluir relacionamentos no resultado
4186
4187
  * @param {*} [options] Override http request option.
4187
4188
  * @throws {RequiredError}
4188
4189
  */
4189
- userShow: function (uuid_1) {
4190
+ userShow: function (uuid_1, include_1) {
4190
4191
  var args_1 = [];
4191
- for (var _i = 1; _i < arguments.length; _i++) {
4192
- args_1[_i - 1] = arguments[_i];
4192
+ for (var _i = 2; _i < arguments.length; _i++) {
4193
+ args_1[_i - 2] = arguments[_i];
4193
4194
  }
4194
- return __awaiter(_this, __spreadArray([uuid_1], args_1, true), void 0, function (uuid, options) {
4195
+ return __awaiter(_this, __spreadArray([uuid_1, include_1], args_1, true), void 0, function (uuid, include, options) {
4195
4196
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4196
4197
  if (options === void 0) { options = {}; }
4197
4198
  return __generator(this, function (_a) {
@@ -4215,6 +4216,9 @@ var UserApiAxiosParamCreator = function (configuration) {
4215
4216
  // authentication bearerAuth required
4216
4217
  // http bearer authentication required
4217
4218
  _a.sent();
4219
+ if (include !== undefined) {
4220
+ localVarQueryParameter['_include'] = include;
4221
+ }
4218
4222
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4219
4223
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4220
4224
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4388,16 +4392,17 @@ var UserApiFp = function (configuration) {
4388
4392
  *
4389
4393
  * @summary Visualizar dados do usuário na API
4390
4394
  * @param {string} uuid UUID do usuário a ser visualizado
4395
+ * @param {string} [include] Incluir relacionamentos no resultado
4391
4396
  * @param {*} [options] Override http request option.
4392
4397
  * @throws {RequiredError}
4393
4398
  */
4394
- userShow: function (uuid, options) {
4399
+ userShow: function (uuid, include, options) {
4395
4400
  return __awaiter(this, void 0, void 0, function () {
4396
4401
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4397
4402
  var _a, _b, _c;
4398
4403
  return __generator(this, function (_d) {
4399
4404
  switch (_d.label) {
4400
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.userShow(uuid, options)];
4405
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.userShow(uuid, include, options)];
4401
4406
  case 1:
4402
4407
  localVarAxiosArgs = _d.sent();
4403
4408
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -4493,7 +4498,7 @@ var UserApiFactory = function (configuration, basePath, axios) {
4493
4498
  * @throws {RequiredError}
4494
4499
  */
4495
4500
  userShow: function (requestParameters, options) {
4496
- return localVarFp.userShow(requestParameters.uuid, options).then(function (request) { return request(axios, basePath); });
4501
+ return localVarFp.userShow(requestParameters.uuid, requestParameters.include, options).then(function (request) { return request(axios, basePath); });
4497
4502
  },
4498
4503
  /**
4499
4504
  *
@@ -4581,7 +4586,7 @@ var UserApi = /** @class */ (function (_super) {
4581
4586
  */
4582
4587
  UserApi.prototype.userShow = function (requestParameters, options) {
4583
4588
  var _this = this;
4584
- return (0, exports.UserApiFp)(this.configuration).userShow(requestParameters.uuid, options).then(function (request) { return request(_this.axios, _this.basePath); });
4589
+ return (0, exports.UserApiFp)(this.configuration).userShow(requestParameters.uuid, requestParameters.include, options).then(function (request) { return request(_this.axios, _this.basePath); });
4585
4590
  };
4586
4591
  /**
4587
4592
  *
package/docs/UserApi.md CHANGED
@@ -256,9 +256,11 @@ const configuration = new Configuration();
256
256
  const apiInstance = new UserApi(configuration);
257
257
 
258
258
  let uuid: string; //UUID do usuário a ser visualizado (default to undefined)
259
+ let include: string; //Incluir relacionamentos no resultado (optional) (default to undefined)
259
260
 
260
261
  const { status, data } = await apiInstance.userShow(
261
- uuid
262
+ uuid,
263
+ include
262
264
  );
263
265
  ```
264
266
 
@@ -267,6 +269,7 @@ const { status, data } = await apiInstance.userShow(
267
269
  |Name | Type | Description | Notes|
268
270
  |------------- | ------------- | ------------- | -------------|
269
271
  | **uuid** | [**string**] | UUID do usuário a ser visualizado | defaults to undefined|
272
+ | **include** | [**string**] | Incluir relacionamentos no resultado | (optional) defaults to undefined|
270
273
 
271
274
 
272
275
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsondigital/idplugger-admin",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "OpenAPI client for @handsondigital/idplugger-admin",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {