@handsondigital/idplugger-admin 1.0.1 → 2.0.2
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 +3 -0
- package/README.md +6 -2
- package/api.ts +612 -136
- package/dist/api.d.ts +503 -96
- package/dist/api.js +236 -136
- package/docs/AdminPromotionCacheClear200Response.md +26 -0
- package/docs/AdminPromotionCacheClear200ResponseContent.md +20 -0
- package/docs/AdminPromotionCacheClear500Response.md +24 -0
- package/docs/PromotionApi.md +53 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -7,6 +7,9 @@ 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
|
|
10
13
|
docs/AuthApi.md
|
|
11
14
|
docs/AuthLogin200Response.md
|
|
12
15
|
docs/AuthLogin401Response.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @handsondigital/idplugger-admin@
|
|
1
|
+
## @handsondigital/idplugger-admin@2.0.2
|
|
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@
|
|
39
|
+
npm install @handsondigital/idplugger-admin@2.0.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -57,6 +57,7 @@ Class | Method | HTTP request | Description
|
|
|
57
57
|
*AuthApi* | [**authMe**](docs/AuthApi.md#authme) | **GET** /v3/me | Dados na API
|
|
58
58
|
*AuthApi* | [**authRefreshToken**](docs/AuthApi.md#authrefreshtoken) | **POST** /admin/auth/refresh | Renova o do token de autenticação
|
|
59
59
|
*MetricsApi* | [**metrics**](docs/MetricsApi.md#metrics) | **GET** /v3/metrics | Devolve as métricas da promoção
|
|
60
|
+
*PromotionApi* | [**adminPromotionCacheClear**](docs/PromotionApi.md#adminpromotioncacheclear) | **POST** /v3/admin/promotion/{promotion_id}/cache/clear | Renova o cache de uma promoção na API
|
|
60
61
|
*PromotionApi* | [**promotionPullConfiguration**](docs/PromotionApi.md#promotionpullconfiguration) | **POST** /v3/admin/pullconfiguration | Adicionar/Atualizar configurações de uma promoção ao orquestrador
|
|
61
62
|
*PromotionApi* | [**promotionStart**](docs/PromotionApi.md#promotionstart) | **POST** /v3/admin/promotion/start | Iniciar uma promoção na API
|
|
62
63
|
*RolesApi* | [**rolesAttachPermissions**](docs/RolesApi.md#rolesattachpermissions) | **POST** /v3/admin/roles/{id}/permissions | Atualizar permissões de uma role
|
|
@@ -79,6 +80,9 @@ Class | Method | HTTP request | Description
|
|
|
79
80
|
|
|
80
81
|
- [AdminAuthRequestToken200Response](docs/AdminAuthRequestToken200Response.md)
|
|
81
82
|
- [AdminAuthRequestTokenRequest](docs/AdminAuthRequestTokenRequest.md)
|
|
83
|
+
- [AdminPromotionCacheClear200Response](docs/AdminPromotionCacheClear200Response.md)
|
|
84
|
+
- [AdminPromotionCacheClear200ResponseContent](docs/AdminPromotionCacheClear200ResponseContent.md)
|
|
85
|
+
- [AdminPromotionCacheClear500Response](docs/AdminPromotionCacheClear500Response.md)
|
|
82
86
|
- [AuthLogin200Response](docs/AuthLogin200Response.md)
|
|
83
87
|
- [AuthLogin401Response](docs/AuthLogin401Response.md)
|
|
84
88
|
- [AuthLoginByToken200Response](docs/AuthLoginByToken200Response.md)
|