@handsondigital/idplugger-admin 2.0.1 → 2.1.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.
- package/.openapi-generator/FILES +13 -0
- package/README.md +19 -2
- package/api.ts +975 -15
- package/dist/api.d.ts +689 -0
- package/dist/api.js +614 -1
- package/docs/AdminPromotionCacheClear200Response.md +26 -0
- package/docs/AdminPromotionCacheClear200ResponseContent.md +20 -0
- package/docs/AdminPromotionCacheClear500Response.md +24 -0
- package/docs/ApiLog.md +38 -0
- package/docs/ApiLogPaginated.md +22 -0
- package/docs/ApiLogPaginatedResult.md +28 -0
- package/docs/ApiLogsApi.md +113 -0
- package/docs/ErrorReport.md +34 -0
- package/docs/ErrorReportPaginated.md +22 -0
- package/docs/ErrorReportPaginatedResult.md +28 -0
- package/docs/ErrorReportsApi.md +168 -0
- package/docs/ErrorResponse.md +22 -0
- package/docs/PromotionApi.md +53 -0
- package/docs/SuccessResponse.md +20 -0
- package/openapitools.json +7 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -7,6 +7,13 @@ common.ts
|
|
|
7
7
|
configuration.ts
|
|
8
8
|
docs/AdminAuthRequestToken200Response.md
|
|
9
9
|
docs/AdminAuthRequestTokenRequest.md
|
|
10
|
+
docs/AdminPromotionCacheClear200Response.md
|
|
11
|
+
docs/AdminPromotionCacheClear200ResponseContent.md
|
|
12
|
+
docs/AdminPromotionCacheClear500Response.md
|
|
13
|
+
docs/ApiLog.md
|
|
14
|
+
docs/ApiLogPaginated.md
|
|
15
|
+
docs/ApiLogPaginatedResult.md
|
|
16
|
+
docs/ApiLogsApi.md
|
|
10
17
|
docs/AuthApi.md
|
|
11
18
|
docs/AuthLogin200Response.md
|
|
12
19
|
docs/AuthLogin401Response.md
|
|
@@ -16,6 +23,11 @@ docs/AuthLoginRequest.md
|
|
|
16
23
|
docs/AuthMe200Response.md
|
|
17
24
|
docs/AuthMe200ResponsePromotionsInner.md
|
|
18
25
|
docs/AuthRefreshTokenRequest.md
|
|
26
|
+
docs/ErrorReport.md
|
|
27
|
+
docs/ErrorReportPaginated.md
|
|
28
|
+
docs/ErrorReportPaginatedResult.md
|
|
29
|
+
docs/ErrorReportsApi.md
|
|
30
|
+
docs/ErrorResponse.md
|
|
19
31
|
docs/Metrics200Response.md
|
|
20
32
|
docs/Metrics200ResponseUsersInner.md
|
|
21
33
|
docs/Metrics400Response.md
|
|
@@ -55,6 +67,7 @@ docs/StepsIndex200Response.md
|
|
|
55
67
|
docs/StepsIndex200ResponseStepsValueValue.md
|
|
56
68
|
docs/StepsUnallow201Response.md
|
|
57
69
|
docs/StepsUnallow409Response.md
|
|
70
|
+
docs/SuccessResponse.md
|
|
58
71
|
docs/UserApi.md
|
|
59
72
|
docs/UserGrantPermissions200Response.md
|
|
60
73
|
docs/UserGrantPermissions200ResponseUserInner.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @handsondigital/idplugger-admin@2.0
|
|
1
|
+
## @handsondigital/idplugger-admin@2.1.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.0
|
|
39
|
+
npm install @handsondigital/idplugger-admin@2.1.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -51,12 +51,18 @@ All URIs are relative to *https://api.idplugger.com*
|
|
|
51
51
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
|
+
*ApiLogsApi* | [**adminLogsGet**](docs/ApiLogsApi.md#adminlogsget) | **GET** /admin/logs | List API logs
|
|
55
|
+
*ApiLogsApi* | [**adminLogsIdGet**](docs/ApiLogsApi.md#adminlogsidget) | **GET** /admin/logs/{id} | Get specific API log
|
|
54
56
|
*AuthApi* | [**adminAuthRequestToken**](docs/AuthApi.md#adminauthrequesttoken) | **POST** /admin/auth/request-token | Solicita envio de token de login por email
|
|
55
57
|
*AuthApi* | [**authLogin**](docs/AuthApi.md#authlogin) | **POST** /v3/login | Login na API
|
|
56
58
|
*AuthApi* | [**authLoginByToken**](docs/AuthApi.md#authloginbytoken) | **POST** /admin/auth/login | Login na API via e-mail e token
|
|
57
59
|
*AuthApi* | [**authMe**](docs/AuthApi.md#authme) | **GET** /v3/me | Dados na API
|
|
58
60
|
*AuthApi* | [**authRefreshToken**](docs/AuthApi.md#authrefreshtoken) | **POST** /admin/auth/refresh | Renova o do token de autenticação
|
|
61
|
+
*ErrorReportsApi* | [**adminErrorsGet**](docs/ErrorReportsApi.md#adminerrorsget) | **GET** /admin/errors | List error reports
|
|
62
|
+
*ErrorReportsApi* | [**adminErrorsIdDelete**](docs/ErrorReportsApi.md#adminerrorsiddelete) | **DELETE** /admin/errors/{id} | Delete error report
|
|
63
|
+
*ErrorReportsApi* | [**adminErrorsIdGet**](docs/ErrorReportsApi.md#adminerrorsidget) | **GET** /admin/errors/{id} | Get specific error report
|
|
59
64
|
*MetricsApi* | [**metrics**](docs/MetricsApi.md#metrics) | **GET** /v3/metrics | Devolve as métricas da promoção
|
|
65
|
+
*PromotionApi* | [**adminPromotionCacheClear**](docs/PromotionApi.md#adminpromotioncacheclear) | **POST** /v3/admin/promotion/{promotion_id}/cache/clear | Renova o cache de uma promoção na API
|
|
60
66
|
*PromotionApi* | [**promotionPullConfiguration**](docs/PromotionApi.md#promotionpullconfiguration) | **POST** /v3/admin/pullconfiguration | Adicionar/Atualizar configurações de uma promoção ao orquestrador
|
|
61
67
|
*PromotionApi* | [**promotionStart**](docs/PromotionApi.md#promotionstart) | **POST** /v3/admin/promotion/start | Iniciar uma promoção na API
|
|
62
68
|
*RolesApi* | [**rolesAttachPermissions**](docs/RolesApi.md#rolesattachpermissions) | **POST** /v3/admin/roles/{id}/permissions | Atualizar permissões de uma role
|
|
@@ -79,6 +85,12 @@ Class | Method | HTTP request | Description
|
|
|
79
85
|
|
|
80
86
|
- [AdminAuthRequestToken200Response](docs/AdminAuthRequestToken200Response.md)
|
|
81
87
|
- [AdminAuthRequestTokenRequest](docs/AdminAuthRequestTokenRequest.md)
|
|
88
|
+
- [AdminPromotionCacheClear200Response](docs/AdminPromotionCacheClear200Response.md)
|
|
89
|
+
- [AdminPromotionCacheClear200ResponseContent](docs/AdminPromotionCacheClear200ResponseContent.md)
|
|
90
|
+
- [AdminPromotionCacheClear500Response](docs/AdminPromotionCacheClear500Response.md)
|
|
91
|
+
- [ApiLog](docs/ApiLog.md)
|
|
92
|
+
- [ApiLogPaginated](docs/ApiLogPaginated.md)
|
|
93
|
+
- [ApiLogPaginatedResult](docs/ApiLogPaginatedResult.md)
|
|
82
94
|
- [AuthLogin200Response](docs/AuthLogin200Response.md)
|
|
83
95
|
- [AuthLogin401Response](docs/AuthLogin401Response.md)
|
|
84
96
|
- [AuthLoginByToken200Response](docs/AuthLoginByToken200Response.md)
|
|
@@ -87,6 +99,10 @@ Class | Method | HTTP request | Description
|
|
|
87
99
|
- [AuthMe200Response](docs/AuthMe200Response.md)
|
|
88
100
|
- [AuthMe200ResponsePromotionsInner](docs/AuthMe200ResponsePromotionsInner.md)
|
|
89
101
|
- [AuthRefreshTokenRequest](docs/AuthRefreshTokenRequest.md)
|
|
102
|
+
- [ErrorReport](docs/ErrorReport.md)
|
|
103
|
+
- [ErrorReportPaginated](docs/ErrorReportPaginated.md)
|
|
104
|
+
- [ErrorReportPaginatedResult](docs/ErrorReportPaginatedResult.md)
|
|
105
|
+
- [ErrorResponse](docs/ErrorResponse.md)
|
|
90
106
|
- [Metrics200Response](docs/Metrics200Response.md)
|
|
91
107
|
- [Metrics200ResponseUsersInner](docs/Metrics200ResponseUsersInner.md)
|
|
92
108
|
- [Metrics400Response](docs/Metrics400Response.md)
|
|
@@ -122,6 +138,7 @@ Class | Method | HTTP request | Description
|
|
|
122
138
|
- [StepsIndex200ResponseStepsValueValue](docs/StepsIndex200ResponseStepsValueValue.md)
|
|
123
139
|
- [StepsUnallow201Response](docs/StepsUnallow201Response.md)
|
|
124
140
|
- [StepsUnallow409Response](docs/StepsUnallow409Response.md)
|
|
141
|
+
- [SuccessResponse](docs/SuccessResponse.md)
|
|
125
142
|
- [UserGrantPermissions200Response](docs/UserGrantPermissions200Response.md)
|
|
126
143
|
- [UserGrantPermissions200ResponseUserInner](docs/UserGrantPermissions200ResponseUserInner.md)
|
|
127
144
|
- [UserGrantPermissions500Response](docs/UserGrantPermissions500Response.md)
|