@handsondigital/idplugger-admin 2.6.2 → 2.7.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.
@@ -0,0 +1,26 @@
1
+ # AdminPromotionConfigsIndex200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **action** | **string** | | [optional] [default to undefined]
9
+ **result** | **string** | | [optional] [default to undefined]
10
+ **configs** | [**Array<AdminPromotionConfigsIndex200ResponseConfigsInner>**](AdminPromotionConfigsIndex200ResponseConfigsInner.md) | | [optional] [default to undefined]
11
+ **pagination** | **object** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminPromotionConfigsIndex200Response } from '@handsondigital/idplugger-admin';
17
+
18
+ const instance: AdminPromotionConfigsIndex200Response = {
19
+ action,
20
+ result,
21
+ configs,
22
+ pagination,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # AdminPromotionConfigsIndex200ResponseConfigsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [optional] [default to undefined]
9
+ **key** | **string** | | [optional] [default to undefined]
10
+ **value** | **string** | | [optional] [default to undefined]
11
+ **type** | **string** | | [optional] [default to undefined]
12
+ **grupo** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { AdminPromotionConfigsIndex200ResponseConfigsInner } from '@handsondigital/idplugger-admin';
18
+
19
+ const instance: AdminPromotionConfigsIndex200ResponseConfigsInner = {
20
+ id,
21
+ key,
22
+ value,
23
+ type,
24
+ grupo,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # AdminPromotionConfigsIndex500Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **action** | **string** | | [optional] [default to undefined]
9
+ **result** | **string** | | [optional] [default to undefined]
10
+ **message** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AdminPromotionConfigsIndex500Response } from '@handsondigital/idplugger-admin';
16
+
17
+ const instance: AdminPromotionConfigsIndex500Response = {
18
+ action,
19
+ result,
20
+ message,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # AdminPromotionConfigsShow200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **action** | **string** | | [optional] [default to undefined]
9
+ **result** | **string** | | [optional] [default to undefined]
10
+ **message** | **string** | | [optional] [default to undefined]
11
+ **config** | [**AdminPromotionConfigsShow200ResponseConfig**](AdminPromotionConfigsShow200ResponseConfig.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminPromotionConfigsShow200Response } from '@handsondigital/idplugger-admin';
17
+
18
+ const instance: AdminPromotionConfigsShow200Response = {
19
+ action,
20
+ result,
21
+ message,
22
+ config,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # AdminPromotionConfigsShow200ResponseConfig
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [optional] [default to undefined]
9
+ **key** | **string** | | [optional] [default to undefined]
10
+ **value** | **string** | | [optional] [default to undefined]
11
+ **type** | **string** | | [optional] [default to undefined]
12
+ **grupo** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { AdminPromotionConfigsShow200ResponseConfig } from '@handsondigital/idplugger-admin';
18
+
19
+ const instance: AdminPromotionConfigsShow200ResponseConfig = {
20
+ id,
21
+ key,
22
+ value,
23
+ type,
24
+ grupo,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # AdminPromotionConfigsShow404Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **action** | **string** | | [optional] [default to undefined]
9
+ **result** | **string** | | [optional] [default to undefined]
10
+ **message** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AdminPromotionConfigsShow404Response } from '@handsondigital/idplugger-admin';
16
+
17
+ const instance: AdminPromotionConfigsShow404Response = {
18
+ action,
19
+ result,
20
+ message,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # AdminPromotionConfigsStore201Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **action** | **string** | | [optional] [default to undefined]
9
+ **result** | **string** | | [optional] [default to undefined]
10
+ **message** | **string** | | [optional] [default to undefined]
11
+ **config** | **object** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminPromotionConfigsStore201Response } from '@handsondigital/idplugger-admin';
17
+
18
+ const instance: AdminPromotionConfigsStore201Response = {
19
+ action,
20
+ result,
21
+ message,
22
+ config,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # AdminPromotionConfigsStoreRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **key** | **string** | Chave da configuração (deve estar no ConfigKeyEnum) | [default to undefined]
9
+ **value** | **any** | Valor da configuração (string, object ou array - será encodado se type for json) | [optional] [default to undefined]
10
+ **type** | **string** | | [optional] [default to TypeEnum_Text]
11
+ **grupo** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminPromotionConfigsStoreRequest } from '@handsondigital/idplugger-admin';
17
+
18
+ const instance: AdminPromotionConfigsStoreRequest = {
19
+ key,
20
+ value,
21
+ type,
22
+ grupo,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # AdminPromotionConfigsUpdate200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **action** | **string** | | [optional] [default to undefined]
9
+ **result** | **string** | | [optional] [default to undefined]
10
+ **message** | **string** | | [optional] [default to undefined]
11
+ **config** | **object** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminPromotionConfigsUpdate200Response } from '@handsondigital/idplugger-admin';
17
+
18
+ const instance: AdminPromotionConfigsUpdate200Response = {
19
+ action,
20
+ result,
21
+ message,
22
+ config,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # AdminPromotionConfigsUpdateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **value** | **any** | Novo valor da configuração (string, object ou array - será encodado se type for json) | [optional] [default to undefined]
9
+ **type** | **string** | | [optional] [default to undefined]
10
+ **grupo** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AdminPromotionConfigsUpdateRequest } from '@handsondigital/idplugger-admin';
16
+
17
+ const instance: AdminPromotionConfigsUpdateRequest = {
18
+ value,
19
+ type,
20
+ grupo,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # AdminPromotionConfigsUpsert200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **action** | **string** | | [optional] [default to undefined]
9
+ **result** | **string** | | [optional] [default to undefined]
10
+ **message** | **string** | | [optional] [default to undefined]
11
+ **config** | **object** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminPromotionConfigsUpsert200Response } from '@handsondigital/idplugger-admin';
17
+
18
+ const instance: AdminPromotionConfigsUpsert200Response = {
19
+ action,
20
+ result,
21
+ message,
22
+ config,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # AdminPromotionConfigsValidKeys200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **action** | **string** | | [optional] [default to undefined]
9
+ **result** | **string** | | [optional] [default to undefined]
10
+ **valid_keys** | [**Array<AdminPromotionConfigsValidKeys200ResponseValidKeysInner>**](AdminPromotionConfigsValidKeys200ResponseValidKeysInner.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AdminPromotionConfigsValidKeys200Response } from '@handsondigital/idplugger-admin';
16
+
17
+ const instance: AdminPromotionConfigsValidKeys200Response = {
18
+ action,
19
+ result,
20
+ valid_keys,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # AdminPromotionConfigsValidKeys200ResponseValidKeysInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [optional] [default to undefined]
9
+ **value** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AdminPromotionConfigsValidKeys200ResponseValidKeysInner } from '@handsondigital/idplugger-admin';
15
+
16
+ const instance: AdminPromotionConfigsValidKeys200ResponseValidKeysInner = {
17
+ name,
18
+ value,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,348 @@
1
+ # ConfigsApi
2
+
3
+ All URIs are relative to *https://api.idplugger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**adminPromotionConfigsIndex**](#adminpromotionconfigsindex) | **GET** /v3/admin/promotion/{promotion_id}/configs | Listar configurações de uma promoção|
8
+ |[**adminPromotionConfigsShow**](#adminpromotionconfigsshow) | **GET** /v3/admin/promotion/{promotion_id}/configs/{key} | Buscar configuração por chave|
9
+ |[**adminPromotionConfigsStore**](#adminpromotionconfigsstore) | **POST** /v3/admin/promotion/{promotion_id}/configs | Criar nova configuração|
10
+ |[**adminPromotionConfigsUpdate**](#adminpromotionconfigsupdate) | **PUT** /v3/admin/promotion/{promotion_id}/configs/{key} | Atualizar configuração por chave|
11
+ |[**adminPromotionConfigsUpsert**](#adminpromotionconfigsupsert) | **POST** /v3/admin/promotion/{promotion_id}/configs/upsert | Criar ou atualizar configuração por chave (upsert)|
12
+ |[**adminPromotionConfigsValidKeys**](#adminpromotionconfigsvalidkeys) | **GET** /v3/admin/promotion/{promotion_id}/configs/valid-keys | Listar chaves válidas do ConfigKeyEnum|
13
+
14
+ # **adminPromotionConfigsIndex**
15
+ > AdminPromotionConfigsIndex200Response adminPromotionConfigsIndex()
16
+
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ ConfigsApi,
23
+ Configuration
24
+ } from '@handsondigital/idplugger-admin';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new ConfigsApi(configuration);
28
+
29
+ let promotionId: string; //UUID da promoção (default to undefined)
30
+ let key: string; //Filtrar por chave (busca parcial) (optional) (default to undefined)
31
+ let grupo: string; //Filtrar por grupo (optional) (default to undefined)
32
+ let type: 'text' | 'uuid' | 'html' | 'url' | 'path_url' | 'integer' | 'double' | 'file' | 'json' | 'date' | 'datetime'; //Filtrar por tipo (optional) (default to undefined)
33
+ let perPage: number; //Itens por página (optional) (default to 15)
34
+
35
+ const { status, data } = await apiInstance.adminPromotionConfigsIndex(
36
+ promotionId,
37
+ key,
38
+ grupo,
39
+ type,
40
+ perPage
41
+ );
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+ |Name | Type | Description | Notes|
47
+ |------------- | ------------- | ------------- | -------------|
48
+ | **promotionId** | [**string**] | UUID da promoção | defaults to undefined|
49
+ | **key** | [**string**] | Filtrar por chave (busca parcial) | (optional) defaults to undefined|
50
+ | **grupo** | [**string**] | Filtrar por grupo | (optional) defaults to undefined|
51
+ | **type** | [**&#39;text&#39; | &#39;uuid&#39; | &#39;html&#39; | &#39;url&#39; | &#39;path_url&#39; | &#39;integer&#39; | &#39;double&#39; | &#39;file&#39; | &#39;json&#39; | &#39;date&#39; | &#39;datetime&#39;**]**Array<&#39;text&#39; &#124; &#39;uuid&#39; &#124; &#39;html&#39; &#124; &#39;url&#39; &#124; &#39;path_url&#39; &#124; &#39;integer&#39; &#124; &#39;double&#39; &#124; &#39;file&#39; &#124; &#39;json&#39; &#124; &#39;date&#39; &#124; &#39;datetime&#39;>** | Filtrar por tipo | (optional) defaults to undefined|
52
+ | **perPage** | [**number**] | Itens por página | (optional) defaults to 15|
53
+
54
+
55
+ ### Return type
56
+
57
+ **AdminPromotionConfigsIndex200Response**
58
+
59
+ ### Authorization
60
+
61
+ [bearerAuth](../README.md#bearerAuth)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: Not defined
66
+ - **Accept**: application/json
67
+
68
+
69
+ ### HTTP response details
70
+ | Status code | Description | Response headers |
71
+ |-------------|-------------|------------------|
72
+ |**200** | success | - |
73
+ |**500** | failed | - |
74
+
75
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
76
+
77
+ # **adminPromotionConfigsShow**
78
+ > AdminPromotionConfigsShow200Response adminPromotionConfigsShow()
79
+
80
+
81
+ ### Example
82
+
83
+ ```typescript
84
+ import {
85
+ ConfigsApi,
86
+ Configuration
87
+ } from '@handsondigital/idplugger-admin';
88
+
89
+ const configuration = new Configuration();
90
+ const apiInstance = new ConfigsApi(configuration);
91
+
92
+ let promotionId: string; //UUID da promoção (default to undefined)
93
+ let key: string; //Chave da configuração (default to undefined)
94
+
95
+ const { status, data } = await apiInstance.adminPromotionConfigsShow(
96
+ promotionId,
97
+ key
98
+ );
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+ |Name | Type | Description | Notes|
104
+ |------------- | ------------- | ------------- | -------------|
105
+ | **promotionId** | [**string**] | UUID da promoção | defaults to undefined|
106
+ | **key** | [**string**] | Chave da configuração | defaults to undefined|
107
+
108
+
109
+ ### Return type
110
+
111
+ **AdminPromotionConfigsShow200Response**
112
+
113
+ ### Authorization
114
+
115
+ [bearerAuth](../README.md#bearerAuth)
116
+
117
+ ### HTTP request headers
118
+
119
+ - **Content-Type**: Not defined
120
+ - **Accept**: application/json
121
+
122
+
123
+ ### HTTP response details
124
+ | Status code | Description | Response headers |
125
+ |-------------|-------------|------------------|
126
+ |**200** | success | - |
127
+ |**404** | not found | - |
128
+
129
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
130
+
131
+ # **adminPromotionConfigsStore**
132
+ > AdminPromotionConfigsStore201Response adminPromotionConfigsStore(adminPromotionConfigsStoreRequest)
133
+
134
+
135
+ ### Example
136
+
137
+ ```typescript
138
+ import {
139
+ ConfigsApi,
140
+ Configuration,
141
+ AdminPromotionConfigsStoreRequest
142
+ } from '@handsondigital/idplugger-admin';
143
+
144
+ const configuration = new Configuration();
145
+ const apiInstance = new ConfigsApi(configuration);
146
+
147
+ let promotionId: string; //UUID da promoção (default to undefined)
148
+ let adminPromotionConfigsStoreRequest: AdminPromotionConfigsStoreRequest; //
149
+
150
+ const { status, data } = await apiInstance.adminPromotionConfigsStore(
151
+ promotionId,
152
+ adminPromotionConfigsStoreRequest
153
+ );
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+ |Name | Type | Description | Notes|
159
+ |------------- | ------------- | ------------- | -------------|
160
+ | **adminPromotionConfigsStoreRequest** | **AdminPromotionConfigsStoreRequest**| | |
161
+ | **promotionId** | [**string**] | UUID da promoção | defaults to undefined|
162
+
163
+
164
+ ### Return type
165
+
166
+ **AdminPromotionConfigsStore201Response**
167
+
168
+ ### Authorization
169
+
170
+ [bearerAuth](../README.md#bearerAuth)
171
+
172
+ ### HTTP request headers
173
+
174
+ - **Content-Type**: application/json
175
+ - **Accept**: application/json
176
+
177
+
178
+ ### HTTP response details
179
+ | Status code | Description | Response headers |
180
+ |-------------|-------------|------------------|
181
+ |**201** | success | - |
182
+ |**422** | Validation error | - |
183
+ |**500** | failed | - |
184
+
185
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
186
+
187
+ # **adminPromotionConfigsUpdate**
188
+ > AdminPromotionConfigsUpdate200Response adminPromotionConfigsUpdate(adminPromotionConfigsUpdateRequest)
189
+
190
+
191
+ ### Example
192
+
193
+ ```typescript
194
+ import {
195
+ ConfigsApi,
196
+ Configuration,
197
+ AdminPromotionConfigsUpdateRequest
198
+ } from '@handsondigital/idplugger-admin';
199
+
200
+ const configuration = new Configuration();
201
+ const apiInstance = new ConfigsApi(configuration);
202
+
203
+ let promotionId: string; //UUID da promoção (default to undefined)
204
+ let key: string; //Chave da configuração (default to undefined)
205
+ let adminPromotionConfigsUpdateRequest: AdminPromotionConfigsUpdateRequest; //
206
+
207
+ const { status, data } = await apiInstance.adminPromotionConfigsUpdate(
208
+ promotionId,
209
+ key,
210
+ adminPromotionConfigsUpdateRequest
211
+ );
212
+ ```
213
+
214
+ ### Parameters
215
+
216
+ |Name | Type | Description | Notes|
217
+ |------------- | ------------- | ------------- | -------------|
218
+ | **adminPromotionConfigsUpdateRequest** | **AdminPromotionConfigsUpdateRequest**| | |
219
+ | **promotionId** | [**string**] | UUID da promoção | defaults to undefined|
220
+ | **key** | [**string**] | Chave da configuração | defaults to undefined|
221
+
222
+
223
+ ### Return type
224
+
225
+ **AdminPromotionConfigsUpdate200Response**
226
+
227
+ ### Authorization
228
+
229
+ [bearerAuth](../README.md#bearerAuth)
230
+
231
+ ### HTTP request headers
232
+
233
+ - **Content-Type**: application/json
234
+ - **Accept**: application/json
235
+
236
+
237
+ ### HTTP response details
238
+ | Status code | Description | Response headers |
239
+ |-------------|-------------|------------------|
240
+ |**200** | success | - |
241
+ |**404** | not found | - |
242
+
243
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
244
+
245
+ # **adminPromotionConfigsUpsert**
246
+ > AdminPromotionConfigsUpsert200Response adminPromotionConfigsUpsert(adminPromotionConfigsStoreRequest)
247
+
248
+
249
+ ### Example
250
+
251
+ ```typescript
252
+ import {
253
+ ConfigsApi,
254
+ Configuration,
255
+ AdminPromotionConfigsStoreRequest
256
+ } from '@handsondigital/idplugger-admin';
257
+
258
+ const configuration = new Configuration();
259
+ const apiInstance = new ConfigsApi(configuration);
260
+
261
+ let promotionId: string; //UUID da promoção (default to undefined)
262
+ let adminPromotionConfigsStoreRequest: AdminPromotionConfigsStoreRequest; //
263
+
264
+ const { status, data } = await apiInstance.adminPromotionConfigsUpsert(
265
+ promotionId,
266
+ adminPromotionConfigsStoreRequest
267
+ );
268
+ ```
269
+
270
+ ### Parameters
271
+
272
+ |Name | Type | Description | Notes|
273
+ |------------- | ------------- | ------------- | -------------|
274
+ | **adminPromotionConfigsStoreRequest** | **AdminPromotionConfigsStoreRequest**| | |
275
+ | **promotionId** | [**string**] | UUID da promoção | defaults to undefined|
276
+
277
+
278
+ ### Return type
279
+
280
+ **AdminPromotionConfigsUpsert200Response**
281
+
282
+ ### Authorization
283
+
284
+ [bearerAuth](../README.md#bearerAuth)
285
+
286
+ ### HTTP request headers
287
+
288
+ - **Content-Type**: application/json
289
+ - **Accept**: application/json
290
+
291
+
292
+ ### HTTP response details
293
+ | Status code | Description | Response headers |
294
+ |-------------|-------------|------------------|
295
+ |**200** | success | - |
296
+
297
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
298
+
299
+ # **adminPromotionConfigsValidKeys**
300
+ > AdminPromotionConfigsValidKeys200Response adminPromotionConfigsValidKeys()
301
+
302
+
303
+ ### Example
304
+
305
+ ```typescript
306
+ import {
307
+ ConfigsApi,
308
+ Configuration
309
+ } from '@handsondigital/idplugger-admin';
310
+
311
+ const configuration = new Configuration();
312
+ const apiInstance = new ConfigsApi(configuration);
313
+
314
+ let promotionId: string; //UUID da promoção (default to undefined)
315
+
316
+ const { status, data } = await apiInstance.adminPromotionConfigsValidKeys(
317
+ promotionId
318
+ );
319
+ ```
320
+
321
+ ### Parameters
322
+
323
+ |Name | Type | Description | Notes|
324
+ |------------- | ------------- | ------------- | -------------|
325
+ | **promotionId** | [**string**] | UUID da promoção | defaults to undefined|
326
+
327
+
328
+ ### Return type
329
+
330
+ **AdminPromotionConfigsValidKeys200Response**
331
+
332
+ ### Authorization
333
+
334
+ [bearerAuth](../README.md#bearerAuth)
335
+
336
+ ### HTTP request headers
337
+
338
+ - **Content-Type**: Not defined
339
+ - **Accept**: application/json
340
+
341
+
342
+ ### HTTP response details
343
+ | Status code | Description | Response headers |
344
+ |-------------|-------------|------------------|
345
+ |**200** | success | - |
346
+
347
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
348
+