@handsondigital/idplugger-admin 2.2.5 → 2.4.0

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.
@@ -32,6 +32,11 @@ docs/AdminPromotionCacheClear200ResponseContent.md
32
32
  docs/AdminPromotionCacheClear500Response.md
33
33
  docs/AdminPromotionLuckyNumbersReset200Response.md
34
34
  docs/AdminPromotionLuckyNumbersReset500Response.md
35
+ docs/AdminServiceCustomerBrands200Response.md
36
+ docs/AdminServiceCustomerBrands200ResponseContentInner.md
37
+ docs/AdminServiceCustomerClients200Response.md
38
+ docs/AdminServiceCustomerClients200ResponseContentInner.md
39
+ docs/AdminServiceCustomerClients200ResponsePaging.md
35
40
  docs/AdminUsersList200Response.md
36
41
  docs/AdminUsersList200ResponsePagination.md
37
42
  docs/AdminUsersList200ResponseUsersInner.md
@@ -49,6 +54,7 @@ docs/AuthLoginRequest.md
49
54
  docs/AuthMe200Response.md
50
55
  docs/AuthMe200ResponsePromotionsInner.md
51
56
  docs/AuthRefreshTokenRequest.md
57
+ docs/CustomerServiceApi.md
52
58
  docs/ErrorReport.md
53
59
  docs/ErrorReportPaginated.md
54
60
  docs/ErrorReportsApi.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @handsondigital/idplugger-admin@2.2.5
1
+ ## @handsondigital/idplugger-admin@2.4.0
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.5 --save
39
+ npm install @handsondigital/idplugger-admin@2.4.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -58,6 +58,8 @@ Class | Method | HTTP request | Description
58
58
  *AuthApi* | [**authLoginByToken**](docs/AuthApi.md#authloginbytoken) | **POST** /admin/auth/login | Login na API via e-mail e token
59
59
  *AuthApi* | [**authMe**](docs/AuthApi.md#authme) | **GET** /v3/me | Dados na API
60
60
  *AuthApi* | [**authRefreshToken**](docs/AuthApi.md#authrefreshtoken) | **POST** /admin/auth/refresh | Renova o do token de autenticação
61
+ *CustomerServiceApi* | [**adminServiceCustomerBrands**](docs/CustomerServiceApi.md#adminservicecustomerbrands) | **GET** /admin/service/customer/brands/{client_id} | Listar marcas de um cliente do serviço de atendimento ao cliente
62
+ *CustomerServiceApi* | [**adminServiceCustomerClients**](docs/CustomerServiceApi.md#adminservicecustomerclients) | **GET** /admin/service/customer/clients | Listar clientes do serviço de atendimento ao cliente
61
63
  *ErrorReportsApi* | [**adminErrorsGet**](docs/ErrorReportsApi.md#adminerrorsget) | **GET** /admin/errors | List error reports
62
64
  *ErrorReportsApi* | [**adminErrorsIdDelete**](docs/ErrorReportsApi.md#adminerrorsiddelete) | **DELETE** /admin/errors/{id} | Delete error report
63
65
  *ErrorReportsApi* | [**adminErrorsIdGet**](docs/ErrorReportsApi.md#adminerrorsidget) | **GET** /admin/errors/{id} | Get specific error report
@@ -124,6 +126,11 @@ Class | Method | HTTP request | Description
124
126
  - [AdminPromotionCacheClear500Response](docs/AdminPromotionCacheClear500Response.md)
125
127
  - [AdminPromotionLuckyNumbersReset200Response](docs/AdminPromotionLuckyNumbersReset200Response.md)
126
128
  - [AdminPromotionLuckyNumbersReset500Response](docs/AdminPromotionLuckyNumbersReset500Response.md)
129
+ - [AdminServiceCustomerBrands200Response](docs/AdminServiceCustomerBrands200Response.md)
130
+ - [AdminServiceCustomerBrands200ResponseContentInner](docs/AdminServiceCustomerBrands200ResponseContentInner.md)
131
+ - [AdminServiceCustomerClients200Response](docs/AdminServiceCustomerClients200Response.md)
132
+ - [AdminServiceCustomerClients200ResponseContentInner](docs/AdminServiceCustomerClients200ResponseContentInner.md)
133
+ - [AdminServiceCustomerClients200ResponsePaging](docs/AdminServiceCustomerClients200ResponsePaging.md)
127
134
  - [AdminUsersList200Response](docs/AdminUsersList200Response.md)
128
135
  - [AdminUsersList200ResponsePagination](docs/AdminUsersList200ResponsePagination.md)
129
136
  - [AdminUsersList200ResponseUsersInner](docs/AdminUsersList200ResponseUsersInner.md)
package/api.ts CHANGED
@@ -854,6 +854,155 @@ export interface AdminPromotionLuckyNumbersReset500Response {
854
854
  */
855
855
  'message'?: string;
856
856
  }
857
+ /**
858
+ *
859
+ * @export
860
+ * @interface AdminServiceCustomerBrands200Response
861
+ */
862
+ export interface AdminServiceCustomerBrands200Response {
863
+ /**
864
+ *
865
+ * @type {string}
866
+ * @memberof AdminServiceCustomerBrands200Response
867
+ */
868
+ 'entity'?: string;
869
+ /**
870
+ *
871
+ * @type {string}
872
+ * @memberof AdminServiceCustomerBrands200Response
873
+ */
874
+ 'action'?: string;
875
+ /**
876
+ *
877
+ * @type {Array<AdminServiceCustomerBrands200ResponseContentInner>}
878
+ * @memberof AdminServiceCustomerBrands200Response
879
+ */
880
+ 'content'?: Array<AdminServiceCustomerBrands200ResponseContentInner>;
881
+ /**
882
+ *
883
+ * @type {AdminServiceCustomerClients200ResponsePaging}
884
+ * @memberof AdminServiceCustomerBrands200Response
885
+ */
886
+ 'paging'?: AdminServiceCustomerClients200ResponsePaging;
887
+ }
888
+ /**
889
+ *
890
+ * @export
891
+ * @interface AdminServiceCustomerBrands200ResponseContentInner
892
+ */
893
+ export interface AdminServiceCustomerBrands200ResponseContentInner {
894
+ /**
895
+ *
896
+ * @type {number}
897
+ * @memberof AdminServiceCustomerBrands200ResponseContentInner
898
+ */
899
+ 'id'?: number;
900
+ /**
901
+ *
902
+ * @type {string}
903
+ * @memberof AdminServiceCustomerBrands200ResponseContentInner
904
+ */
905
+ 'name'?: string;
906
+ /**
907
+ *
908
+ * @type {number}
909
+ * @memberof AdminServiceCustomerBrands200ResponseContentInner
910
+ */
911
+ 'client_id'?: number;
912
+ }
913
+ /**
914
+ *
915
+ * @export
916
+ * @interface AdminServiceCustomerClients200Response
917
+ */
918
+ export interface AdminServiceCustomerClients200Response {
919
+ /**
920
+ *
921
+ * @type {string}
922
+ * @memberof AdminServiceCustomerClients200Response
923
+ */
924
+ 'entity'?: string;
925
+ /**
926
+ *
927
+ * @type {string}
928
+ * @memberof AdminServiceCustomerClients200Response
929
+ */
930
+ 'action'?: string;
931
+ /**
932
+ *
933
+ * @type {Array<AdminServiceCustomerClients200ResponseContentInner>}
934
+ * @memberof AdminServiceCustomerClients200Response
935
+ */
936
+ 'content'?: Array<AdminServiceCustomerClients200ResponseContentInner>;
937
+ /**
938
+ *
939
+ * @type {AdminServiceCustomerClients200ResponsePaging}
940
+ * @memberof AdminServiceCustomerClients200Response
941
+ */
942
+ 'paging'?: AdminServiceCustomerClients200ResponsePaging;
943
+ }
944
+ /**
945
+ *
946
+ * @export
947
+ * @interface AdminServiceCustomerClients200ResponseContentInner
948
+ */
949
+ export interface AdminServiceCustomerClients200ResponseContentInner {
950
+ /**
951
+ *
952
+ * @type {number}
953
+ * @memberof AdminServiceCustomerClients200ResponseContentInner
954
+ */
955
+ 'id'?: number;
956
+ /**
957
+ *
958
+ * @type {string}
959
+ * @memberof AdminServiceCustomerClients200ResponseContentInner
960
+ */
961
+ 'nome_fantasia'?: string;
962
+ /**
963
+ *
964
+ * @type {string}
965
+ * @memberof AdminServiceCustomerClients200ResponseContentInner
966
+ */
967
+ 'razao_social'?: string;
968
+ /**
969
+ *
970
+ * @type {string}
971
+ * @memberof AdminServiceCustomerClients200ResponseContentInner
972
+ */
973
+ 'cnpj_cpf'?: string;
974
+ }
975
+ /**
976
+ *
977
+ * @export
978
+ * @interface AdminServiceCustomerClients200ResponsePaging
979
+ */
980
+ export interface AdminServiceCustomerClients200ResponsePaging {
981
+ /**
982
+ *
983
+ * @type {number}
984
+ * @memberof AdminServiceCustomerClients200ResponsePaging
985
+ */
986
+ 'current_page'?: number;
987
+ /**
988
+ *
989
+ * @type {number}
990
+ * @memberof AdminServiceCustomerClients200ResponsePaging
991
+ */
992
+ 'last_page'?: number;
993
+ /**
994
+ *
995
+ * @type {number}
996
+ * @memberof AdminServiceCustomerClients200ResponsePaging
997
+ */
998
+ 'per_page'?: number;
999
+ /**
1000
+ *
1001
+ * @type {number}
1002
+ * @memberof AdminServiceCustomerClients200ResponsePaging
1003
+ */
1004
+ 'total'?: number;
1005
+ }
857
1006
  /**
858
1007
  *
859
1008
  * @export
@@ -1814,6 +1963,42 @@ export type PromotionStart200ResponseUserPermissionsEnum = typeof PromotionStart
1814
1963
  * @interface PromotionStartRequest
1815
1964
  */
1816
1965
  export interface PromotionStartRequest {
1966
+ /**
1967
+ *
1968
+ * @type {number}
1969
+ * @memberof PromotionStartRequest
1970
+ */
1971
+ 'client_id'?: number;
1972
+ /**
1973
+ *
1974
+ * @type {number}
1975
+ * @memberof PromotionStartRequest
1976
+ */
1977
+ 'brand_id'?: number;
1978
+ /**
1979
+ *
1980
+ * @type {string}
1981
+ * @memberof PromotionStartRequest
1982
+ */
1983
+ 'promotion_name'?: string;
1984
+ /**
1985
+ *
1986
+ * @type {string}
1987
+ * @memberof PromotionStartRequest
1988
+ */
1989
+ 'promotion_mechanic'?: string;
1990
+ /**
1991
+ *
1992
+ * @type {string}
1993
+ * @memberof PromotionStartRequest
1994
+ */
1995
+ 'data_inicio'?: string;
1996
+ /**
1997
+ *
1998
+ * @type {string}
1999
+ * @memberof PromotionStartRequest
2000
+ */
2001
+ 'data_fim'?: string;
1817
2002
  /**
1818
2003
  *
1819
2004
  * @type {PromotionPullConfigurationRequestDb}
@@ -3917,6 +4102,298 @@ export class AuthApi extends BaseAPI {
3917
4102
 
3918
4103
 
3919
4104
 
4105
+ /**
4106
+ * CustomerServiceApi - axios parameter creator
4107
+ * @export
4108
+ */
4109
+ export const CustomerServiceApiAxiosParamCreator = function (configuration?: Configuration) {
4110
+ return {
4111
+ /**
4112
+ * Retorna uma lista de marcas de um cliente específico obtidas do serviço de atendimento ao cliente.
4113
+ * @summary Listar marcas de um cliente do serviço de atendimento ao cliente
4114
+ * @param {string} clientId ID do cliente
4115
+ * @param {string} [search] Termo de busca
4116
+ * @param {number} [page] Número da página
4117
+ * @param {number} [perPage] Itens por página
4118
+ * @param {*} [options] Override http request option.
4119
+ * @throws {RequiredError}
4120
+ */
4121
+ adminServiceCustomerBrands: async (clientId: string, search?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4122
+ // verify required parameter 'clientId' is not null or undefined
4123
+ assertParamExists('adminServiceCustomerBrands', 'clientId', clientId)
4124
+ const localVarPath = `/admin/service/customer/brands/{client_id}`
4125
+ .replace(`{${"client_id"}}`, encodeURIComponent(String(clientId)));
4126
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4127
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4128
+ let baseOptions;
4129
+ if (configuration) {
4130
+ baseOptions = configuration.baseOptions;
4131
+ }
4132
+
4133
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4134
+ const localVarHeaderParameter = {} as any;
4135
+ const localVarQueryParameter = {} as any;
4136
+
4137
+ // authentication bearerAuth required
4138
+ // http bearer authentication required
4139
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4140
+
4141
+ if (search !== undefined) {
4142
+ localVarQueryParameter['search'] = search;
4143
+ }
4144
+
4145
+ if (page !== undefined) {
4146
+ localVarQueryParameter['page'] = page;
4147
+ }
4148
+
4149
+ if (perPage !== undefined) {
4150
+ localVarQueryParameter['perPage'] = perPage;
4151
+ }
4152
+
4153
+
4154
+
4155
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4156
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4157
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4158
+
4159
+ return {
4160
+ url: toPathString(localVarUrlObj),
4161
+ options: localVarRequestOptions,
4162
+ };
4163
+ },
4164
+ /**
4165
+ * Retorna uma lista de clientes obtidos do serviço de atendimento ao cliente.
4166
+ * @summary Listar clientes do serviço de atendimento ao cliente
4167
+ * @param {string} [search] Termo de busca
4168
+ * @param {boolean} [isActive] Filtrar por clientes ativos (padrão true)
4169
+ * @param {number} [page] Número da página
4170
+ * @param {number} [perPage] Itens por página
4171
+ * @param {*} [options] Override http request option.
4172
+ * @throws {RequiredError}
4173
+ */
4174
+ adminServiceCustomerClients: async (search?: string, isActive?: boolean, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4175
+ const localVarPath = `/admin/service/customer/clients`;
4176
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4177
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4178
+ let baseOptions;
4179
+ if (configuration) {
4180
+ baseOptions = configuration.baseOptions;
4181
+ }
4182
+
4183
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4184
+ const localVarHeaderParameter = {} as any;
4185
+ const localVarQueryParameter = {} as any;
4186
+
4187
+ // authentication bearerAuth required
4188
+ // http bearer authentication required
4189
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4190
+
4191
+ if (search !== undefined) {
4192
+ localVarQueryParameter['search'] = search;
4193
+ }
4194
+
4195
+ if (isActive !== undefined) {
4196
+ localVarQueryParameter['isActive'] = isActive;
4197
+ }
4198
+
4199
+ if (page !== undefined) {
4200
+ localVarQueryParameter['page'] = page;
4201
+ }
4202
+
4203
+ if (perPage !== undefined) {
4204
+ localVarQueryParameter['perPage'] = perPage;
4205
+ }
4206
+
4207
+
4208
+
4209
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4211
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4212
+
4213
+ return {
4214
+ url: toPathString(localVarUrlObj),
4215
+ options: localVarRequestOptions,
4216
+ };
4217
+ },
4218
+ }
4219
+ };
4220
+
4221
+ /**
4222
+ * CustomerServiceApi - functional programming interface
4223
+ * @export
4224
+ */
4225
+ export const CustomerServiceApiFp = function(configuration?: Configuration) {
4226
+ const localVarAxiosParamCreator = CustomerServiceApiAxiosParamCreator(configuration)
4227
+ return {
4228
+ /**
4229
+ * Retorna uma lista de marcas de um cliente específico obtidas do serviço de atendimento ao cliente.
4230
+ * @summary Listar marcas de um cliente do serviço de atendimento ao cliente
4231
+ * @param {string} clientId ID do cliente
4232
+ * @param {string} [search] Termo de busca
4233
+ * @param {number} [page] Número da página
4234
+ * @param {number} [perPage] Itens por página
4235
+ * @param {*} [options] Override http request option.
4236
+ * @throws {RequiredError}
4237
+ */
4238
+ async adminServiceCustomerBrands(clientId: string, search?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminServiceCustomerBrands200Response>> {
4239
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminServiceCustomerBrands(clientId, search, page, perPage, options);
4240
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4241
+ const localVarOperationServerBasePath = operationServerMap['CustomerServiceApi.adminServiceCustomerBrands']?.[localVarOperationServerIndex]?.url;
4242
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4243
+ },
4244
+ /**
4245
+ * Retorna uma lista de clientes obtidos do serviço de atendimento ao cliente.
4246
+ * @summary Listar clientes do serviço de atendimento ao cliente
4247
+ * @param {string} [search] Termo de busca
4248
+ * @param {boolean} [isActive] Filtrar por clientes ativos (padrão true)
4249
+ * @param {number} [page] Número da página
4250
+ * @param {number} [perPage] Itens por página
4251
+ * @param {*} [options] Override http request option.
4252
+ * @throws {RequiredError}
4253
+ */
4254
+ async adminServiceCustomerClients(search?: string, isActive?: boolean, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminServiceCustomerClients200Response>> {
4255
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminServiceCustomerClients(search, isActive, page, perPage, options);
4256
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4257
+ const localVarOperationServerBasePath = operationServerMap['CustomerServiceApi.adminServiceCustomerClients']?.[localVarOperationServerIndex]?.url;
4258
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4259
+ },
4260
+ }
4261
+ };
4262
+
4263
+ /**
4264
+ * CustomerServiceApi - factory interface
4265
+ * @export
4266
+ */
4267
+ export const CustomerServiceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4268
+ const localVarFp = CustomerServiceApiFp(configuration)
4269
+ return {
4270
+ /**
4271
+ * Retorna uma lista de marcas de um cliente específico obtidas do serviço de atendimento ao cliente.
4272
+ * @summary Listar marcas de um cliente do serviço de atendimento ao cliente
4273
+ * @param {CustomerServiceApiAdminServiceCustomerBrandsRequest} requestParameters Request parameters.
4274
+ * @param {*} [options] Override http request option.
4275
+ * @throws {RequiredError}
4276
+ */
4277
+ adminServiceCustomerBrands(requestParameters: CustomerServiceApiAdminServiceCustomerBrandsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminServiceCustomerBrands200Response> {
4278
+ return localVarFp.adminServiceCustomerBrands(requestParameters.clientId, requestParameters.search, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
4279
+ },
4280
+ /**
4281
+ * Retorna uma lista de clientes obtidos do serviço de atendimento ao cliente.
4282
+ * @summary Listar clientes do serviço de atendimento ao cliente
4283
+ * @param {CustomerServiceApiAdminServiceCustomerClientsRequest} requestParameters Request parameters.
4284
+ * @param {*} [options] Override http request option.
4285
+ * @throws {RequiredError}
4286
+ */
4287
+ adminServiceCustomerClients(requestParameters: CustomerServiceApiAdminServiceCustomerClientsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AdminServiceCustomerClients200Response> {
4288
+ return localVarFp.adminServiceCustomerClients(requestParameters.search, requestParameters.isActive, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
4289
+ },
4290
+ };
4291
+ };
4292
+
4293
+ /**
4294
+ * Request parameters for adminServiceCustomerBrands operation in CustomerServiceApi.
4295
+ * @export
4296
+ * @interface CustomerServiceApiAdminServiceCustomerBrandsRequest
4297
+ */
4298
+ export interface CustomerServiceApiAdminServiceCustomerBrandsRequest {
4299
+ /**
4300
+ * ID do cliente
4301
+ * @type {string}
4302
+ * @memberof CustomerServiceApiAdminServiceCustomerBrands
4303
+ */
4304
+ readonly clientId: string
4305
+
4306
+ /**
4307
+ * Termo de busca
4308
+ * @type {string}
4309
+ * @memberof CustomerServiceApiAdminServiceCustomerBrands
4310
+ */
4311
+ readonly search?: string
4312
+
4313
+ /**
4314
+ * Número da página
4315
+ * @type {number}
4316
+ * @memberof CustomerServiceApiAdminServiceCustomerBrands
4317
+ */
4318
+ readonly page?: number
4319
+
4320
+ /**
4321
+ * Itens por página
4322
+ * @type {number}
4323
+ * @memberof CustomerServiceApiAdminServiceCustomerBrands
4324
+ */
4325
+ readonly perPage?: number
4326
+ }
4327
+
4328
+ /**
4329
+ * Request parameters for adminServiceCustomerClients operation in CustomerServiceApi.
4330
+ * @export
4331
+ * @interface CustomerServiceApiAdminServiceCustomerClientsRequest
4332
+ */
4333
+ export interface CustomerServiceApiAdminServiceCustomerClientsRequest {
4334
+ /**
4335
+ * Termo de busca
4336
+ * @type {string}
4337
+ * @memberof CustomerServiceApiAdminServiceCustomerClients
4338
+ */
4339
+ readonly search?: string
4340
+
4341
+ /**
4342
+ * Filtrar por clientes ativos (padrão true)
4343
+ * @type {boolean}
4344
+ * @memberof CustomerServiceApiAdminServiceCustomerClients
4345
+ */
4346
+ readonly isActive?: boolean
4347
+
4348
+ /**
4349
+ * Número da página
4350
+ * @type {number}
4351
+ * @memberof CustomerServiceApiAdminServiceCustomerClients
4352
+ */
4353
+ readonly page?: number
4354
+
4355
+ /**
4356
+ * Itens por página
4357
+ * @type {number}
4358
+ * @memberof CustomerServiceApiAdminServiceCustomerClients
4359
+ */
4360
+ readonly perPage?: number
4361
+ }
4362
+
4363
+ /**
4364
+ * CustomerServiceApi - object-oriented interface
4365
+ * @export
4366
+ * @class CustomerServiceApi
4367
+ * @extends {BaseAPI}
4368
+ */
4369
+ export class CustomerServiceApi extends BaseAPI {
4370
+ /**
4371
+ * Retorna uma lista de marcas de um cliente específico obtidas do serviço de atendimento ao cliente.
4372
+ * @summary Listar marcas de um cliente do serviço de atendimento ao cliente
4373
+ * @param {CustomerServiceApiAdminServiceCustomerBrandsRequest} requestParameters Request parameters.
4374
+ * @param {*} [options] Override http request option.
4375
+ * @throws {RequiredError}
4376
+ * @memberof CustomerServiceApi
4377
+ */
4378
+ public adminServiceCustomerBrands(requestParameters: CustomerServiceApiAdminServiceCustomerBrandsRequest, options?: RawAxiosRequestConfig) {
4379
+ return CustomerServiceApiFp(this.configuration).adminServiceCustomerBrands(requestParameters.clientId, requestParameters.search, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
4380
+ }
4381
+
4382
+ /**
4383
+ * Retorna uma lista de clientes obtidos do serviço de atendimento ao cliente.
4384
+ * @summary Listar clientes do serviço de atendimento ao cliente
4385
+ * @param {CustomerServiceApiAdminServiceCustomerClientsRequest} requestParameters Request parameters.
4386
+ * @param {*} [options] Override http request option.
4387
+ * @throws {RequiredError}
4388
+ * @memberof CustomerServiceApi
4389
+ */
4390
+ public adminServiceCustomerClients(requestParameters: CustomerServiceApiAdminServiceCustomerClientsRequest = {}, options?: RawAxiosRequestConfig) {
4391
+ return CustomerServiceApiFp(this.configuration).adminServiceCustomerClients(requestParameters.search, requestParameters.isActive, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
4392
+ }
4393
+ }
4394
+
4395
+
4396
+
3920
4397
  /**
3921
4398
  * ErrorReportsApi - axios parameter creator
3922
4399
  * @export