@handsondigital/idplugger-admin 2.3.0 → 2.5.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,15 @@ docs/AdminPromotionCacheClear200ResponseContent.md
32
32
  docs/AdminPromotionCacheClear500Response.md
33
33
  docs/AdminPromotionLuckyNumbersReset200Response.md
34
34
  docs/AdminPromotionLuckyNumbersReset500Response.md
35
+ docs/AdminServiceCustomerApplications200Response.md
36
+ docs/AdminServiceCustomerApplications200ResponseContentInner.md
37
+ docs/AdminServiceCustomerApplications200ResponseContentInnerClient.md
38
+ docs/AdminServiceCustomerApplications200ResponseContentInnerProduct.md
39
+ docs/AdminServiceCustomerApplications200ResponseContentInnerProductOneOf.md
40
+ docs/AdminServiceCustomerApplications200ResponseContentInnerProgrammingInner.md
41
+ docs/AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner.md
42
+ docs/AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInner.md
43
+ docs/AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow.md
35
44
  docs/AdminServiceCustomerBrands200Response.md
36
45
  docs/AdminServiceCustomerBrands200ResponseContentInner.md
37
46
  docs/AdminServiceCustomerClients200Response.md
@@ -40,7 +49,6 @@ docs/AdminServiceCustomerClients200ResponsePaging.md
40
49
  docs/AdminUsersList200Response.md
41
50
  docs/AdminUsersList200ResponsePagination.md
42
51
  docs/AdminUsersList200ResponseUsersInner.md
43
- docs/AdminUsersList200ResponseUsersInnerPermissionsInner.md
44
52
  docs/AdminUsersList500Response.md
45
53
  docs/ApiLog.md
46
54
  docs/ApiLogPaginated.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @handsondigital/idplugger-admin@2.3.0
1
+ ## @handsondigital/idplugger-admin@2.5.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.3.0 --save
39
+ npm install @handsondigital/idplugger-admin@2.5.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -58,6 +58,7 @@ 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* | [**adminServiceCustomerApplications**](docs/CustomerServiceApi.md#adminservicecustomerapplications) | **GET** /admin/service/customer/applications/{client_id} | Listar aplicações de um cliente no serviço de atendimento ao cliente
61
62
  *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
63
  *CustomerServiceApi* | [**adminServiceCustomerClients**](docs/CustomerServiceApi.md#adminservicecustomerclients) | **GET** /admin/service/customer/clients | Listar clientes do serviço de atendimento ao cliente
63
64
  *ErrorReportsApi* | [**adminErrorsGet**](docs/ErrorReportsApi.md#adminerrorsget) | **GET** /admin/errors | List error reports
@@ -126,6 +127,15 @@ Class | Method | HTTP request | Description
126
127
  - [AdminPromotionCacheClear500Response](docs/AdminPromotionCacheClear500Response.md)
127
128
  - [AdminPromotionLuckyNumbersReset200Response](docs/AdminPromotionLuckyNumbersReset200Response.md)
128
129
  - [AdminPromotionLuckyNumbersReset500Response](docs/AdminPromotionLuckyNumbersReset500Response.md)
130
+ - [AdminServiceCustomerApplications200Response](docs/AdminServiceCustomerApplications200Response.md)
131
+ - [AdminServiceCustomerApplications200ResponseContentInner](docs/AdminServiceCustomerApplications200ResponseContentInner.md)
132
+ - [AdminServiceCustomerApplications200ResponseContentInnerClient](docs/AdminServiceCustomerApplications200ResponseContentInnerClient.md)
133
+ - [AdminServiceCustomerApplications200ResponseContentInnerProduct](docs/AdminServiceCustomerApplications200ResponseContentInnerProduct.md)
134
+ - [AdminServiceCustomerApplications200ResponseContentInnerProductOneOf](docs/AdminServiceCustomerApplications200ResponseContentInnerProductOneOf.md)
135
+ - [AdminServiceCustomerApplications200ResponseContentInnerProgrammingInner](docs/AdminServiceCustomerApplications200ResponseContentInnerProgrammingInner.md)
136
+ - [AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner](docs/AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner.md)
137
+ - [AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInner](docs/AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInner.md)
138
+ - [AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow](docs/AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow.md)
129
139
  - [AdminServiceCustomerBrands200Response](docs/AdminServiceCustomerBrands200Response.md)
130
140
  - [AdminServiceCustomerBrands200ResponseContentInner](docs/AdminServiceCustomerBrands200ResponseContentInner.md)
131
141
  - [AdminServiceCustomerClients200Response](docs/AdminServiceCustomerClients200Response.md)
@@ -134,7 +144,6 @@ Class | Method | HTTP request | Description
134
144
  - [AdminUsersList200Response](docs/AdminUsersList200Response.md)
135
145
  - [AdminUsersList200ResponsePagination](docs/AdminUsersList200ResponsePagination.md)
136
146
  - [AdminUsersList200ResponseUsersInner](docs/AdminUsersList200ResponseUsersInner.md)
137
- - [AdminUsersList200ResponseUsersInnerPermissionsInner](docs/AdminUsersList200ResponseUsersInnerPermissionsInner.md)
138
147
  - [AdminUsersList500Response](docs/AdminUsersList500Response.md)
139
148
  - [ApiLog](docs/ApiLog.md)
140
149
  - [ApiLogPaginated](docs/ApiLogPaginated.md)
package/api.ts CHANGED
@@ -854,6 +854,392 @@ export interface AdminPromotionLuckyNumbersReset500Response {
854
854
  */
855
855
  'message'?: string;
856
856
  }
857
+ /**
858
+ *
859
+ * @export
860
+ * @interface AdminServiceCustomerApplications200Response
861
+ */
862
+ export interface AdminServiceCustomerApplications200Response {
863
+ /**
864
+ *
865
+ * @type {string}
866
+ * @memberof AdminServiceCustomerApplications200Response
867
+ */
868
+ 'entity'?: string;
869
+ /**
870
+ *
871
+ * @type {string}
872
+ * @memberof AdminServiceCustomerApplications200Response
873
+ */
874
+ 'action'?: string;
875
+ /**
876
+ *
877
+ * @type {Array<AdminServiceCustomerApplications200ResponseContentInner>}
878
+ * @memberof AdminServiceCustomerApplications200Response
879
+ */
880
+ 'content'?: Array<AdminServiceCustomerApplications200ResponseContentInner>;
881
+ /**
882
+ *
883
+ * @type {AdminServiceCustomerClients200ResponsePaging}
884
+ * @memberof AdminServiceCustomerApplications200Response
885
+ */
886
+ 'paging'?: AdminServiceCustomerClients200ResponsePaging;
887
+ }
888
+ /**
889
+ *
890
+ * @export
891
+ * @interface AdminServiceCustomerApplications200ResponseContentInner
892
+ */
893
+ export interface AdminServiceCustomerApplications200ResponseContentInner {
894
+ /**
895
+ * UUID
896
+ * @type {string}
897
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
898
+ */
899
+ 'id'?: string;
900
+ /**
901
+ *
902
+ * @type {string}
903
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
904
+ */
905
+ 'name'?: string;
906
+ /**
907
+ *
908
+ * @type {string}
909
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
910
+ */
911
+ 'framework'?: string | null;
912
+ /**
913
+ *
914
+ * @type {string}
915
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
916
+ */
917
+ 'language'?: string | null;
918
+ /**
919
+ *
920
+ * @type {string}
921
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
922
+ */
923
+ 'description'?: string | null;
924
+ /**
925
+ *
926
+ * @type {string}
927
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
928
+ */
929
+ 'version'?: string | null;
930
+ /**
931
+ *
932
+ * @type {string}
933
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
934
+ */
935
+ 'infrastructure'?: string | null;
936
+ /**
937
+ *
938
+ * @type {boolean}
939
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
940
+ */
941
+ 'status'?: boolean;
942
+ /**
943
+ *
944
+ * @type {string}
945
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
946
+ */
947
+ 'access_url'?: string | null;
948
+ /**
949
+ *
950
+ * @type {string}
951
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
952
+ */
953
+ 'access_homolog_url'?: string | null;
954
+ /**
955
+ *
956
+ * @type {string}
957
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
958
+ */
959
+ 'access_admin_url'?: string | null;
960
+ /**
961
+ *
962
+ * @type {string}
963
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
964
+ */
965
+ 'google_analytics_id'?: string | null;
966
+ /**
967
+ *
968
+ * @type {string}
969
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
970
+ */
971
+ 'google_tag_manager_id'?: string | null;
972
+ /**
973
+ *
974
+ * @type {string}
975
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
976
+ */
977
+ 'github_repository'?: string | null;
978
+ /**
979
+ *
980
+ * @type {string}
981
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
982
+ */
983
+ 'github_repository_name'?: string | null;
984
+ /**
985
+ *
986
+ * @type {string}
987
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
988
+ */
989
+ 'github_last_updated'?: string | null;
990
+ /**
991
+ *
992
+ * @type {string}
993
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
994
+ */
995
+ 'url_monitoring'?: string | null;
996
+ /**
997
+ *
998
+ * @type {object}
999
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1000
+ */
1001
+ 'notifications'?: object | null;
1002
+ /**
1003
+ *
1004
+ * @type {string}
1005
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1006
+ */
1007
+ 'date_creation'?: string | null;
1008
+ /**
1009
+ *
1010
+ * @type {string}
1011
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1012
+ */
1013
+ 'date_updated'?: string | null;
1014
+ /**
1015
+ *
1016
+ * @type {string}
1017
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1018
+ */
1019
+ 'created_at'?: string;
1020
+ /**
1021
+ *
1022
+ * @type {string}
1023
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1024
+ */
1025
+ 'updated_at'?: string;
1026
+ /**
1027
+ *
1028
+ * @type {AdminServiceCustomerApplications200ResponseContentInnerClient}
1029
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1030
+ */
1031
+ 'client'?: AdminServiceCustomerApplications200ResponseContentInnerClient;
1032
+ /**
1033
+ *
1034
+ * @type {object}
1035
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1036
+ */
1037
+ 'brand'?: object | null;
1038
+ /**
1039
+ *
1040
+ * @type {Array<object>}
1041
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1042
+ */
1043
+ 'contracts'?: Array<object>;
1044
+ /**
1045
+ *
1046
+ * @type {Array<AdminServiceCustomerApplications200ResponseContentInnerProgrammingInner>}
1047
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1048
+ */
1049
+ 'programming'?: Array<AdminServiceCustomerApplications200ResponseContentInnerProgrammingInner>;
1050
+ /**
1051
+ *
1052
+ * @type {Array<AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInner>}
1053
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1054
+ */
1055
+ 'workflow_schedules'?: Array<AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInner>;
1056
+ /**
1057
+ *
1058
+ * @type {Array<AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner>}
1059
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1060
+ */
1061
+ 'promotions'?: Array<AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner>;
1062
+ /**
1063
+ *
1064
+ * @type {AdminServiceCustomerApplications200ResponseContentInnerProduct}
1065
+ * @memberof AdminServiceCustomerApplications200ResponseContentInner
1066
+ */
1067
+ 'product'?: AdminServiceCustomerApplications200ResponseContentInnerProduct;
1068
+ }
1069
+ /**
1070
+ *
1071
+ * @export
1072
+ * @interface AdminServiceCustomerApplications200ResponseContentInnerClient
1073
+ */
1074
+ export interface AdminServiceCustomerApplications200ResponseContentInnerClient {
1075
+ /**
1076
+ *
1077
+ * @type {number}
1078
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerClient
1079
+ */
1080
+ 'id'?: number;
1081
+ /**
1082
+ *
1083
+ * @type {string}
1084
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerClient
1085
+ */
1086
+ 'nome_fantasia'?: string;
1087
+ /**
1088
+ *
1089
+ * @type {string}
1090
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerClient
1091
+ */
1092
+ 'razao_social'?: string;
1093
+ }
1094
+ /**
1095
+ * @type AdminServiceCustomerApplications200ResponseContentInnerProduct
1096
+ * @export
1097
+ */
1098
+ export type AdminServiceCustomerApplications200ResponseContentInnerProduct = AdminServiceCustomerApplications200ResponseContentInnerProductOneOf | Array<AdminServiceCustomerApplications200ResponseContentInnerProductOneOf>;
1099
+
1100
+ /**
1101
+ *
1102
+ * @export
1103
+ * @interface AdminServiceCustomerApplications200ResponseContentInnerProductOneOf
1104
+ */
1105
+ export interface AdminServiceCustomerApplications200ResponseContentInnerProductOneOf {
1106
+ /**
1107
+ *
1108
+ * @type {number}
1109
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerProductOneOf
1110
+ */
1111
+ 'id'?: number;
1112
+ /**
1113
+ *
1114
+ * @type {string}
1115
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerProductOneOf
1116
+ */
1117
+ 'descricao'?: string;
1118
+ }
1119
+ /**
1120
+ *
1121
+ * @export
1122
+ * @interface AdminServiceCustomerApplications200ResponseContentInnerProgrammingInner
1123
+ */
1124
+ export interface AdminServiceCustomerApplications200ResponseContentInnerProgrammingInner {
1125
+ /**
1126
+ *
1127
+ * @type {number}
1128
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerProgrammingInner
1129
+ */
1130
+ 'id'?: number;
1131
+ /**
1132
+ *
1133
+ * @type {string}
1134
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerProgrammingInner
1135
+ */
1136
+ 'title'?: string;
1137
+ }
1138
+ /**
1139
+ *
1140
+ * @export
1141
+ * @interface AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner
1142
+ */
1143
+ export interface AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner {
1144
+ /**
1145
+ *
1146
+ * @type {number}
1147
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner
1148
+ */
1149
+ 'id'?: number;
1150
+ /**
1151
+ *
1152
+ * @type {number}
1153
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner
1154
+ */
1155
+ 'order_id'?: number;
1156
+ /**
1157
+ *
1158
+ * @type {string}
1159
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner
1160
+ */
1161
+ 'promotion_id'?: string | null;
1162
+ /**
1163
+ *
1164
+ * @type {string}
1165
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner
1166
+ */
1167
+ 'promotion_name'?: string;
1168
+ /**
1169
+ *
1170
+ * @type {string}
1171
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner
1172
+ */
1173
+ 'url'?: string | null;
1174
+ /**
1175
+ *
1176
+ * @type {string}
1177
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner
1178
+ */
1179
+ 'start_date'?: string;
1180
+ /**
1181
+ *
1182
+ * @type {string}
1183
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner
1184
+ */
1185
+ 'end_date'?: string;
1186
+ /**
1187
+ *
1188
+ * @type {string}
1189
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner
1190
+ */
1191
+ 'start_delivery_date'?: string | null;
1192
+ /**
1193
+ *
1194
+ * @type {string}
1195
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerPromotionsInner
1196
+ */
1197
+ 'end_delivery_date'?: string | null;
1198
+ }
1199
+ /**
1200
+ *
1201
+ * @export
1202
+ * @interface AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInner
1203
+ */
1204
+ export interface AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInner {
1205
+ /**
1206
+ *
1207
+ * @type {number}
1208
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInner
1209
+ */
1210
+ 'id'?: number;
1211
+ /**
1212
+ *
1213
+ * @type {AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow}
1214
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInner
1215
+ */
1216
+ 'workflow'?: AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow;
1217
+ /**
1218
+ *
1219
+ * @type {AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow}
1220
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInner
1221
+ */
1222
+ 'current_stage'?: AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow;
1223
+ }
1224
+ /**
1225
+ *
1226
+ * @export
1227
+ * @interface AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow
1228
+ */
1229
+ export interface AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow {
1230
+ /**
1231
+ *
1232
+ * @type {number}
1233
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow
1234
+ */
1235
+ 'id'?: number;
1236
+ /**
1237
+ *
1238
+ * @type {string}
1239
+ * @memberof AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow
1240
+ */
1241
+ 'name'?: string;
1242
+ }
857
1243
  /**
858
1244
  *
859
1245
  * @export
@@ -1151,29 +1537,10 @@ export interface AdminUsersList200ResponseUsersInner {
1151
1537
  'role'?: string;
1152
1538
  /**
1153
1539
  * Incluído apenas se _include=permissions
1154
- * @type {Array<AdminUsersList200ResponseUsersInnerPermissionsInner>}
1540
+ * @type {Array<AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow>}
1155
1541
  * @memberof AdminUsersList200ResponseUsersInner
1156
1542
  */
1157
- 'permissions'?: Array<AdminUsersList200ResponseUsersInnerPermissionsInner>;
1158
- }
1159
- /**
1160
- *
1161
- * @export
1162
- * @interface AdminUsersList200ResponseUsersInnerPermissionsInner
1163
- */
1164
- export interface AdminUsersList200ResponseUsersInnerPermissionsInner {
1165
- /**
1166
- *
1167
- * @type {number}
1168
- * @memberof AdminUsersList200ResponseUsersInnerPermissionsInner
1169
- */
1170
- 'id'?: number;
1171
- /**
1172
- *
1173
- * @type {string}
1174
- * @memberof AdminUsersList200ResponseUsersInnerPermissionsInner
1175
- */
1176
- 'name'?: string;
1543
+ 'permissions'?: Array<AdminServiceCustomerApplications200ResponseContentInnerWorkflowSchedulesInnerWorkflow>;
1177
1544
  }
1178
1545
  /**
1179
1546
  *
@@ -1963,6 +2330,42 @@ export type PromotionStart200ResponseUserPermissionsEnum = typeof PromotionStart
1963
2330
  * @interface PromotionStartRequest
1964
2331
  */
1965
2332
  export interface PromotionStartRequest {
2333
+ /**
2334
+ *
2335
+ * @type {number}
2336
+ * @memberof PromotionStartRequest
2337
+ */
2338
+ 'client_id'?: number;
2339
+ /**
2340
+ *
2341
+ * @type {number}
2342
+ * @memberof PromotionStartRequest
2343
+ */
2344
+ 'brand_id'?: number;
2345
+ /**
2346
+ *
2347
+ * @type {string}
2348
+ * @memberof PromotionStartRequest
2349
+ */
2350
+ 'promotion_name'?: string;
2351
+ /**
2352
+ *
2353
+ * @type {string}
2354
+ * @memberof PromotionStartRequest
2355
+ */
2356
+ 'promotion_mechanic'?: string;
2357
+ /**
2358
+ *
2359
+ * @type {string}
2360
+ * @memberof PromotionStartRequest
2361
+ */
2362
+ 'data_inicio'?: string;
2363
+ /**
2364
+ *
2365
+ * @type {string}
2366
+ * @memberof PromotionStartRequest
2367
+ */
2368
+ 'data_fim'?: string;
1966
2369
  /**
1967
2370
  *
1968
2371
  * @type {PromotionPullConfigurationRequestDb}
@@ -4072,6 +4475,54 @@ export class AuthApi extends BaseAPI {
4072
4475
  */
4073
4476
  export const CustomerServiceApiAxiosParamCreator = function (configuration?: Configuration) {
4074
4477
  return {
4478
+ /**
4479
+ * Retorna uma lista de aplicações de um cliente específico obtidas do serviço de atendimento ao cliente.
4480
+ * @summary Listar aplicações de um cliente no serviço de atendimento ao cliente
4481
+ * @param {string} clientId ID do cliente
4482
+ * @param {number} [page] Número da página
4483
+ * @param {number} [perPage] Itens por página
4484
+ * @param {*} [options] Override http request option.
4485
+ * @throws {RequiredError}
4486
+ */
4487
+ adminServiceCustomerApplications: async (clientId: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4488
+ // verify required parameter 'clientId' is not null or undefined
4489
+ assertParamExists('adminServiceCustomerApplications', 'clientId', clientId)
4490
+ const localVarPath = `/admin/service/customer/applications/{client_id}`
4491
+ .replace(`{${"client_id"}}`, encodeURIComponent(String(clientId)));
4492
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4493
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4494
+ let baseOptions;
4495
+ if (configuration) {
4496
+ baseOptions = configuration.baseOptions;
4497
+ }
4498
+
4499
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4500
+ const localVarHeaderParameter = {} as any;
4501
+ const localVarQueryParameter = {} as any;
4502
+
4503
+ // authentication bearerAuth required
4504
+ // http bearer authentication required
4505
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4506
+
4507
+ if (page !== undefined) {
4508
+ localVarQueryParameter['page'] = page;
4509
+ }
4510
+
4511
+ if (perPage !== undefined) {
4512
+ localVarQueryParameter['perPage'] = perPage;
4513
+ }
4514
+
4515
+
4516
+
4517
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4518
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4519
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4520
+
4521
+ return {
4522
+ url: toPathString(localVarUrlObj),
4523
+ options: localVarRequestOptions,
4524
+ };
4525
+ },
4075
4526
  /**
4076
4527
  * Retorna uma lista de marcas de um cliente específico obtidas do serviço de atendimento ao cliente.
4077
4528
  * @summary Listar marcas de um cliente do serviço de atendimento ao cliente
@@ -4189,6 +4640,21 @@ export const CustomerServiceApiAxiosParamCreator = function (configuration?: Con
4189
4640
  export const CustomerServiceApiFp = function(configuration?: Configuration) {
4190
4641
  const localVarAxiosParamCreator = CustomerServiceApiAxiosParamCreator(configuration)
4191
4642
  return {
4643
+ /**
4644
+ * Retorna uma lista de aplicações de um cliente específico obtidas do serviço de atendimento ao cliente.
4645
+ * @summary Listar aplicações de um cliente no serviço de atendimento ao cliente
4646
+ * @param {string} clientId ID do cliente
4647
+ * @param {number} [page] Número da página
4648
+ * @param {number} [perPage] Itens por página
4649
+ * @param {*} [options] Override http request option.
4650
+ * @throws {RequiredError}
4651
+ */
4652
+ async adminServiceCustomerApplications(clientId: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminServiceCustomerApplications200Response>> {
4653
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminServiceCustomerApplications(clientId, page, perPage, options);
4654
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4655
+ const localVarOperationServerBasePath = operationServerMap['CustomerServiceApi.adminServiceCustomerApplications']?.[localVarOperationServerIndex]?.url;
4656
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4657
+ },
4192
4658
  /**
4193
4659
  * Retorna uma lista de marcas de um cliente específico obtidas do serviço de atendimento ao cliente.
4194
4660
  * @summary Listar marcas de um cliente do serviço de atendimento ao cliente
@@ -4231,6 +4697,16 @@ export const CustomerServiceApiFp = function(configuration?: Configuration) {
4231
4697
  export const CustomerServiceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4232
4698
  const localVarFp = CustomerServiceApiFp(configuration)
4233
4699
  return {
4700
+ /**
4701
+ * Retorna uma lista de aplicações de um cliente específico obtidas do serviço de atendimento ao cliente.
4702
+ * @summary Listar aplicações de um cliente no serviço de atendimento ao cliente
4703
+ * @param {CustomerServiceApiAdminServiceCustomerApplicationsRequest} requestParameters Request parameters.
4704
+ * @param {*} [options] Override http request option.
4705
+ * @throws {RequiredError}
4706
+ */
4707
+ adminServiceCustomerApplications(requestParameters: CustomerServiceApiAdminServiceCustomerApplicationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminServiceCustomerApplications200Response> {
4708
+ return localVarFp.adminServiceCustomerApplications(requestParameters.clientId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
4709
+ },
4234
4710
  /**
4235
4711
  * Retorna uma lista de marcas de um cliente específico obtidas do serviço de atendimento ao cliente.
4236
4712
  * @summary Listar marcas de um cliente do serviço de atendimento ao cliente
@@ -4254,6 +4730,34 @@ export const CustomerServiceApiFactory = function (configuration?: Configuration
4254
4730
  };
4255
4731
  };
4256
4732
 
4733
+ /**
4734
+ * Request parameters for adminServiceCustomerApplications operation in CustomerServiceApi.
4735
+ * @export
4736
+ * @interface CustomerServiceApiAdminServiceCustomerApplicationsRequest
4737
+ */
4738
+ export interface CustomerServiceApiAdminServiceCustomerApplicationsRequest {
4739
+ /**
4740
+ * ID do cliente
4741
+ * @type {string}
4742
+ * @memberof CustomerServiceApiAdminServiceCustomerApplications
4743
+ */
4744
+ readonly clientId: string
4745
+
4746
+ /**
4747
+ * Número da página
4748
+ * @type {number}
4749
+ * @memberof CustomerServiceApiAdminServiceCustomerApplications
4750
+ */
4751
+ readonly page?: number
4752
+
4753
+ /**
4754
+ * Itens por página
4755
+ * @type {number}
4756
+ * @memberof CustomerServiceApiAdminServiceCustomerApplications
4757
+ */
4758
+ readonly perPage?: number
4759
+ }
4760
+
4257
4761
  /**
4258
4762
  * Request parameters for adminServiceCustomerBrands operation in CustomerServiceApi.
4259
4763
  * @export
@@ -4331,6 +4835,18 @@ export interface CustomerServiceApiAdminServiceCustomerClientsRequest {
4331
4835
  * @extends {BaseAPI}
4332
4836
  */
4333
4837
  export class CustomerServiceApi extends BaseAPI {
4838
+ /**
4839
+ * Retorna uma lista de aplicações de um cliente específico obtidas do serviço de atendimento ao cliente.
4840
+ * @summary Listar aplicações de um cliente no serviço de atendimento ao cliente
4841
+ * @param {CustomerServiceApiAdminServiceCustomerApplicationsRequest} requestParameters Request parameters.
4842
+ * @param {*} [options] Override http request option.
4843
+ * @throws {RequiredError}
4844
+ * @memberof CustomerServiceApi
4845
+ */
4846
+ public adminServiceCustomerApplications(requestParameters: CustomerServiceApiAdminServiceCustomerApplicationsRequest, options?: RawAxiosRequestConfig) {
4847
+ return CustomerServiceApiFp(this.configuration).adminServiceCustomerApplications(requestParameters.clientId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
4848
+ }
4849
+
4334
4850
  /**
4335
4851
  * Retorna uma lista de marcas de um cliente específico obtidas do serviço de atendimento ao cliente.
4336
4852
  * @summary Listar marcas de um cliente do serviço de atendimento ao cliente