@handsondigital/idplugger-promotion 1.0.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 +267 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +367 -0
- package/api.ts +14329 -0
- package/base.ts +98 -0
- package/common.ts +150 -0
- package/configuration.ts +115 -0
- package/dist/api.d.ts +10994 -0
- package/dist/api.js +7834 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +99 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +253 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +57 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AddLuckyNumberCustom.md +26 -0
- package/docs/Article.md +40 -0
- package/docs/ArticleCustomDataInner.md +28 -0
- package/docs/ArticlesApi.md +258 -0
- package/docs/ArticlesCreate200Response.md +26 -0
- package/docs/ArticlesCreate400Response.md +26 -0
- package/docs/ArticlesCreate401Response.md +26 -0
- package/docs/ArticlesDelete200Response.md +26 -0
- package/docs/ArticlesDelete400Response.md +26 -0
- package/docs/ArticlesDelete401Response.md +26 -0
- package/docs/ArticlesIndex200Response.md +28 -0
- package/docs/ArticlesIndex400Response.md +26 -0
- package/docs/ArticlesIndex401Response.md +26 -0
- package/docs/ArticlesUpdate200Response.md +26 -0
- package/docs/ArticlesUpdate400Response.md +26 -0
- package/docs/ArticlesUpdate401Response.md +26 -0
- package/docs/AuthApi.md +105 -0
- package/docs/Award.md +40 -0
- package/docs/Awarded.md +38 -0
- package/docs/AwardedsApi.md +184 -0
- package/docs/AwardedsSearch200Response.md +28 -0
- package/docs/AwardedsSearch400Response.md +26 -0
- package/docs/AwardedsSearch401Response.md +26 -0
- package/docs/AwardedsStates200Response.md +26 -0
- package/docs/AwardedsStates200ResponseContentInner.md +22 -0
- package/docs/AwardedsUpdate200Response.md +26 -0
- package/docs/AwardedsUpdate400Response.md +26 -0
- package/docs/AwardedsUpdate401Response.md +26 -0
- package/docs/AwardsApi.md +243 -0
- package/docs/AwardsCreate200Response.md +26 -0
- package/docs/AwardsCreate400Response.md +26 -0
- package/docs/AwardsCreate401Response.md +26 -0
- package/docs/AwardsDelete200Response.md +26 -0
- package/docs/AwardsDelete400Response.md +26 -0
- package/docs/AwardsDelete401Response.md +26 -0
- package/docs/AwardsIndex200Response.md +28 -0
- package/docs/AwardsIndex400Response.md +26 -0
- package/docs/AwardsIndex401Response.md +26 -0
- package/docs/AwardsUpdate200Response.md +26 -0
- package/docs/AwardsUpdate400Response.md +26 -0
- package/docs/AwardsUpdate401Response.md +26 -0
- package/docs/BlacklistCreate200Response.md +26 -0
- package/docs/BlacklistCreate200ResponseContentInner.md +24 -0
- package/docs/BlacklistCreate400Response.md +26 -0
- package/docs/BlacklistCreate401Response.md +26 -0
- package/docs/BlacklistCreateRequest.md +20 -0
- package/docs/BlacklistDelete200Response.md +26 -0
- package/docs/BlacklistDelete400Response.md +26 -0
- package/docs/BlacklistDelete401Response.md +26 -0
- package/docs/BlacklistIndex200Response.md +28 -0
- package/docs/BlacklistIndex200ResponseContentInner.md +24 -0
- package/docs/BlacklistIndex400Response.md +26 -0
- package/docs/BlockedUsersApi.md +179 -0
- package/docs/Branding.md +54 -0
- package/docs/BrandingApi.md +120 -0
- package/docs/BrandingIndex200Response.md +26 -0
- package/docs/BrandingIndex400Response.md +26 -0
- package/docs/BrandingIndex401Response.md +26 -0
- package/docs/BrandingMenuInner.md +24 -0
- package/docs/BrandingSocial.md +28 -0
- package/docs/BrandingUpdate200Response.md +26 -0
- package/docs/BrandingUpdate400Response.md +26 -0
- package/docs/BrandingUpdate401Response.md +26 -0
- package/docs/ConfigWebhook200Response.md +26 -0
- package/docs/ConfigWebhook400Response.md +26 -0
- package/docs/ConfigWebhook401Response.md +26 -0
- package/docs/ConfigWebhookRequest.md +22 -0
- package/docs/ConfigsIndex200Response.md +26 -0
- package/docs/ConfigsIndex400Response.md +26 -0
- package/docs/ConfigsIndex401Response.md +26 -0
- package/docs/Content.md +28 -0
- package/docs/ContentApi.md +129 -0
- package/docs/ContentCreate200Response.md +26 -0
- package/docs/ContentCreate400Response.md +26 -0
- package/docs/ContentCreate401Response.md +26 -0
- package/docs/ContentIndex200Response.md +26 -0
- package/docs/ContentIndex400Response.md +26 -0
- package/docs/ContentIndex401Response.md +26 -0
- package/docs/Coupon.md +36 -0
- package/docs/CouponProductsInner.md +26 -0
- package/docs/CouponWebhookError.md +26 -0
- package/docs/CouponWebhookErrorContent.md +38 -0
- package/docs/CouponWebhookErrorContentAllOfErrors.md +22 -0
- package/docs/CouponWebhookSuccess.md +26 -0
- package/docs/CouponsApi.md +311 -0
- package/docs/CouponsCreate200Response.md +26 -0
- package/docs/CouponsCreate401Response.md +26 -0
- package/docs/CouponsCreate409Response.md +26 -0
- package/docs/CouponsCreateRequest.md +20 -0
- package/docs/CouponsDelete200Response.md +26 -0
- package/docs/CouponsDelete400Response.md +26 -0
- package/docs/CouponsDelete401Response.md +26 -0
- package/docs/CouponsIndex200Response.md +28 -0
- package/docs/CouponsIndex200ResponseContentInner.md +38 -0
- package/docs/CouponsIndex400Response.md +26 -0
- package/docs/CouponsIndex401Response.md +26 -0
- package/docs/CouponsUpdate201Response.md +26 -0
- package/docs/CouponsUpdate401Response.md +26 -0
- package/docs/CouponsUpdate409Response.md +26 -0
- package/docs/CuponsWebhookRequest.md +26 -0
- package/docs/DocumentRulesApi.md +173 -0
- package/docs/DocumentRulesIndex200Response.md +26 -0
- package/docs/DocumentRulesIndex200ResponseContent.md +24 -0
- package/docs/DocumentRulesIndex200ResponseContentRegulationsInner.md +24 -0
- package/docs/DocumentRulesIndex400Response.md +26 -0
- package/docs/DocumentRulesIndex401Response.md +26 -0
- package/docs/DocumentRulesRegulationDelete200Response.md +24 -0
- package/docs/DocumentRulesRegulationDelete400Response.md +26 -0
- package/docs/DocumentRulesRegulationDelete401Response.md +26 -0
- package/docs/DocumentRulesUpdate200Response.md +26 -0
- package/docs/DocumentRulesUpdate400Response.md +26 -0
- package/docs/DocumentRulesUpdate401Response.md +26 -0
- package/docs/DocumentRulesUpdateRequest.md +24 -0
- package/docs/DocumentRulesUpdateRequestRegulationsInner.md +24 -0
- package/docs/FAQApi.md +236 -0
- package/docs/FaqCreate200Response.md +26 -0
- package/docs/FaqCreate400Response.md +26 -0
- package/docs/FaqCreate401Response.md +26 -0
- package/docs/FaqCreateRequestInner.md +22 -0
- package/docs/FaqDelete200Response.md +26 -0
- package/docs/FaqDelete400Response.md +26 -0
- package/docs/FaqDelete401Response.md +26 -0
- package/docs/FaqIndex200Response.md +28 -0
- package/docs/FaqIndex200ResponseContentInner.md +22 -0
- package/docs/FaqIndex400Response.md +26 -0
- package/docs/FaqIndex401Response.md +26 -0
- package/docs/FaqUpdate200Response.md +26 -0
- package/docs/FaqUpdate400Response.md +26 -0
- package/docs/FaqUpdate401Response.md +26 -0
- package/docs/FilesApi.md +56 -0
- package/docs/Login200Response.md +24 -0
- package/docs/Login401Response.md +20 -0
- package/docs/LoginRequest.md +22 -0
- package/docs/LuckyNumber.md +32 -0
- package/docs/LuckyNumbersAddCustom200Response.md +26 -0
- package/docs/LuckyNumbersAddCustom400Response.md +26 -0
- package/docs/LuckyNumbersAddCustom401Response.md +26 -0
- package/docs/LuckyNumbersApi.md +202 -0
- package/docs/LuckyNumbersRemove200Response.md +26 -0
- package/docs/LuckyNumbersRemove400Response.md +26 -0
- package/docs/LuckyNumbersRemove401Response.md +26 -0
- package/docs/LuckyNumbersRemoveRequest.md +20 -0
- package/docs/LuckyNumbersRemoveRequestLuckyNumbersInner.md +22 -0
- package/docs/LuckyNumbersSearch200Response.md +28 -0
- package/docs/LuckyNumbersSearch400Response.md +26 -0
- package/docs/LuckyNumbersSearch401Response.md +26 -0
- package/docs/Me200Response.md +28 -0
- package/docs/Me200ResponsePromotionsInner.md +22 -0
- package/docs/Metrics200Response.md +26 -0
- package/docs/Metrics200ResponseContent.md +40 -0
- package/docs/Metrics200ResponseContentUsersInner.md +22 -0
- package/docs/Metrics400Response.md +20 -0
- package/docs/MetricsApi.md +75 -0
- package/docs/Order.md +42 -0
- package/docs/OrderCustomDataInner.md +26 -0
- package/docs/OrdersApi.md +204 -0
- package/docs/OrdersCreate200Response.md +26 -0
- package/docs/OrdersCreate400Response.md +26 -0
- package/docs/OrdersCreate401Response.md +26 -0
- package/docs/OrdersCreateRequest.md +20 -0
- package/docs/OrdersIndex200Response.md +28 -0
- package/docs/OrdersIndex400Response.md +26 -0
- package/docs/OrdersIndex401Response.md +26 -0
- package/docs/OrdersUpdate200Response.md +26 -0
- package/docs/OrdersUpdate400Response.md +26 -0
- package/docs/OrdersUpdate401Response.md +26 -0
- package/docs/Pagination.md +42 -0
- package/docs/PaginationLinksInner.md +24 -0
- package/docs/Product.md +32 -0
- package/docs/ProductsApi.md +242 -0
- package/docs/ProductsCreate200Response.md +26 -0
- package/docs/ProductsCreate401Response.md +26 -0
- package/docs/ProductsCreate409Response.md +26 -0
- package/docs/ProductsCreateRequest.md +20 -0
- package/docs/ProductsDelete200Response.md +26 -0
- package/docs/ProductsDelete400Response.md +26 -0
- package/docs/ProductsDelete401Response.md +26 -0
- package/docs/ProductsIndex200Response.md +28 -0
- package/docs/ProductsIndex400Response.md +26 -0
- package/docs/ProductsIndex401Response.md +26 -0
- package/docs/ProductsUpdate201Response.md +26 -0
- package/docs/ProductsUpdate401Response.md +26 -0
- package/docs/ProductsUpdate409Response.md +26 -0
- package/docs/Promotion.md +34 -0
- package/docs/PromotionDataApi.md +60 -0
- package/docs/PromotionDatetime.md +28 -0
- package/docs/PromotionDatetimeActive.md +22 -0
- package/docs/PromotionDatetimeDelivery.md +20 -0
- package/docs/PromotionDatetimeParticipate.md +22 -0
- package/docs/PromotionDatetimeShowAwardeds.md +20 -0
- package/docs/Raffle.md +44 -0
- package/docs/RafflesApi.md +309 -0
- package/docs/RafflesCreate200Response.md +26 -0
- package/docs/RafflesCreate400Response.md +26 -0
- package/docs/RafflesCreate401Response.md +26 -0
- package/docs/RafflesCreateRequestInner.md +30 -0
- package/docs/RafflesDelete200Response.md +26 -0
- package/docs/RafflesDelete400Response.md +26 -0
- package/docs/RafflesDelete401Response.md +26 -0
- package/docs/RafflesIndex200Response.md +28 -0
- package/docs/RafflesIndex400Response.md +26 -0
- package/docs/RafflesIndex401Response.md +26 -0
- package/docs/RafflesReportRequest.md +20 -0
- package/docs/RafflesUpdate200Response.md +26 -0
- package/docs/RafflesUpdate400Response.md +26 -0
- package/docs/RafflesUpdate401Response.md +26 -0
- package/docs/RafflesUpdateRequestInner.md +32 -0
- package/docs/SerieNumber.md +24 -0
- package/docs/SettingsApi.md +65 -0
- package/docs/Store.md +38 -0
- package/docs/StoresApi.md +242 -0
- package/docs/StoresCreate200Response.md +26 -0
- package/docs/StoresCreate401Response.md +26 -0
- package/docs/StoresCreate409Response.md +26 -0
- package/docs/StoresCreateRequest.md +20 -0
- package/docs/StoresDelete200Response.md +26 -0
- package/docs/StoresDelete400Response.md +26 -0
- package/docs/StoresDelete401Response.md +26 -0
- package/docs/StoresIndex200Response.md +28 -0
- package/docs/StoresIndex400Response.md +26 -0
- package/docs/StoresIndex401Response.md +26 -0
- package/docs/StoresUpdate201Response.md +26 -0
- package/docs/StoresUpdate401Response.md +26 -0
- package/docs/StoresUpdate409Response.md +26 -0
- package/docs/Ticket.md +48 -0
- package/docs/TicketsApi.md +249 -0
- package/docs/TicketsCreate200Response.md +26 -0
- package/docs/TicketsCreate400Response.md +26 -0
- package/docs/TicketsCreate401Response.md +26 -0
- package/docs/TicketsDelete200Response.md +26 -0
- package/docs/TicketsDelete400Response.md +26 -0
- package/docs/TicketsDelete401Response.md +26 -0
- package/docs/TicketsIndex200Response.md +28 -0
- package/docs/TicketsIndex400Response.md +26 -0
- package/docs/TicketsIndex401Response.md +26 -0
- package/docs/TicketsUpdate200Response.md +26 -0
- package/docs/TicketsUpdate400Response.md +26 -0
- package/docs/User.md +56 -0
- package/docs/UserCustomData.md +24 -0
- package/docs/UserWebhookError.md +26 -0
- package/docs/UserWebhookErrorContent.md +58 -0
- package/docs/UserWebhookErrorContentAllOfErrors.md +22 -0
- package/docs/UserWebhookSuccess.md +26 -0
- package/docs/UsersApi.md +304 -0
- package/docs/UsersCreate201Response.md +26 -0
- package/docs/UsersCreate401Response.md +26 -0
- package/docs/UsersCreate409Response.md +26 -0
- package/docs/UsersCreateRequest.md +20 -0
- package/docs/UsersDelete200Response.md +26 -0
- package/docs/UsersDelete400Response.md +26 -0
- package/docs/UsersDelete401Response.md +26 -0
- package/docs/UsersIndex200Response.md +28 -0
- package/docs/UsersUpdate201Response.md +26 -0
- package/docs/UsersWebhook200Response.md +20 -0
- package/docs/UsersWebhookRequest.md +26 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +31 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# OrdersUpdate401Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { OrdersUpdate401Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: OrdersUpdate401Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
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,42 @@
|
|
|
1
|
+
# Pagination
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**current_page** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**first_page_url** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**from** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**last_page** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**last_page_url** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**links** | [**Array<PaginationLinksInner>**](PaginationLinksInner.md) | | [optional] [default to undefined]
|
|
14
|
+
**next_page_url** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**path** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**per_page** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**prev_page_url** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**to** | **number** | | [optional] [default to undefined]
|
|
19
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { Pagination } from '@handsondigital/idplugger-promotion';
|
|
25
|
+
|
|
26
|
+
const instance: Pagination = {
|
|
27
|
+
current_page,
|
|
28
|
+
first_page_url,
|
|
29
|
+
from,
|
|
30
|
+
last_page,
|
|
31
|
+
last_page_url,
|
|
32
|
+
links,
|
|
33
|
+
next_page_url,
|
|
34
|
+
path,
|
|
35
|
+
per_page,
|
|
36
|
+
prev_page_url,
|
|
37
|
+
to,
|
|
38
|
+
total,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[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
|
+
# PaginationLinksInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**url** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**active** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PaginationLinksInner } from '@handsondigital/idplugger-promotion';
|
|
16
|
+
|
|
17
|
+
const instance: PaginationLinksInner = {
|
|
18
|
+
url,
|
|
19
|
+
label,
|
|
20
|
+
active,
|
|
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)
|
package/docs/Product.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Product
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | Id do produto | [optional] [default to undefined]
|
|
9
|
+
**serial_number** | **string** | Número serial do produto | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Nome do produto | [optional] [default to undefined]
|
|
11
|
+
**lucky_numbers_offer** | **number** | Quantidade de números da sorte oferecidos pelo produto | [optional] [default to undefined]
|
|
12
|
+
**lucky_numbers_multiplier** | **number** | Quantidade de vezes que o produto multiplica o total de números da sorte do cupom | [optional] [default to undefined]
|
|
13
|
+
**status** | **boolean** | Produto ativo ou inativo | [optional] [default to undefined]
|
|
14
|
+
**imagem** | **string** | URL da imagem do produto | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { Product } from '@handsondigital/idplugger-promotion';
|
|
20
|
+
|
|
21
|
+
const instance: Product = {
|
|
22
|
+
id,
|
|
23
|
+
serial_number,
|
|
24
|
+
name,
|
|
25
|
+
lucky_numbers_offer,
|
|
26
|
+
lucky_numbers_multiplier,
|
|
27
|
+
status,
|
|
28
|
+
imagem,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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,242 @@
|
|
|
1
|
+
# ProductsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**productsCreate**](#productscreate) | **POST** /v3/promotion/{promotion_id}/products | Cadastra um produto na promoção|
|
|
8
|
+
|[**productsDelete**](#productsdelete) | **DELETE** /v3/promotion/{promotion_id}/products/{product_id} | Exclui um produto cadastrado na promoção|
|
|
9
|
+
|[**productsIndex**](#productsindex) | **GET** /v3/promotion/{promotion_id}/products | Busca por produtos cadastrados na promoção|
|
|
10
|
+
|[**productsUpdate**](#productsupdate) | **PATCH** /v3/promotion/{promotion_id}/products | Cadastra ou atualiza produtos na promoção|
|
|
11
|
+
|
|
12
|
+
# **productsCreate**
|
|
13
|
+
> ProductsCreate200Response productsCreate()
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
ProductsApi,
|
|
21
|
+
Configuration,
|
|
22
|
+
ProductsCreateRequest
|
|
23
|
+
} from '@handsondigital/idplugger-promotion';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new ProductsApi(configuration);
|
|
27
|
+
|
|
28
|
+
let promotionId: string; //ID da promoção (default to undefined)
|
|
29
|
+
let productsCreateRequest: ProductsCreateRequest; // (optional)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.productsCreate(
|
|
32
|
+
promotionId,
|
|
33
|
+
productsCreateRequest
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Parameters
|
|
38
|
+
|
|
39
|
+
|Name | Type | Description | Notes|
|
|
40
|
+
|------------- | ------------- | ------------- | -------------|
|
|
41
|
+
| **productsCreateRequest** | **ProductsCreateRequest**| | |
|
|
42
|
+
| **promotionId** | [**string**] | ID da promoção | defaults to undefined|
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Return type
|
|
46
|
+
|
|
47
|
+
**ProductsCreate200Response**
|
|
48
|
+
|
|
49
|
+
### Authorization
|
|
50
|
+
|
|
51
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
52
|
+
|
|
53
|
+
### HTTP request headers
|
|
54
|
+
|
|
55
|
+
- **Content-Type**: application/json
|
|
56
|
+
- **Accept**: application/json
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### HTTP response details
|
|
60
|
+
| Status code | Description | Response headers |
|
|
61
|
+
|-------------|-------------|------------------|
|
|
62
|
+
|**200** | success | - |
|
|
63
|
+
|**401** | unauthorized | - |
|
|
64
|
+
|**409** | failed | - |
|
|
65
|
+
|
|
66
|
+
[[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)
|
|
67
|
+
|
|
68
|
+
# **productsDelete**
|
|
69
|
+
> ProductsDelete200Response productsDelete()
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Example
|
|
73
|
+
|
|
74
|
+
```typescript
|
|
75
|
+
import {
|
|
76
|
+
ProductsApi,
|
|
77
|
+
Configuration
|
|
78
|
+
} from '@handsondigital/idplugger-promotion';
|
|
79
|
+
|
|
80
|
+
const configuration = new Configuration();
|
|
81
|
+
const apiInstance = new ProductsApi(configuration);
|
|
82
|
+
|
|
83
|
+
let promotionId: string; //ID da promoção (default to undefined)
|
|
84
|
+
let productId: string; //ID do produto (default to undefined)
|
|
85
|
+
|
|
86
|
+
const { status, data } = await apiInstance.productsDelete(
|
|
87
|
+
promotionId,
|
|
88
|
+
productId
|
|
89
|
+
);
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Parameters
|
|
93
|
+
|
|
94
|
+
|Name | Type | Description | Notes|
|
|
95
|
+
|------------- | ------------- | ------------- | -------------|
|
|
96
|
+
| **promotionId** | [**string**] | ID da promoção | defaults to undefined|
|
|
97
|
+
| **productId** | [**string**] | ID do produto | defaults to undefined|
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### Return type
|
|
101
|
+
|
|
102
|
+
**ProductsDelete200Response**
|
|
103
|
+
|
|
104
|
+
### Authorization
|
|
105
|
+
|
|
106
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
107
|
+
|
|
108
|
+
### HTTP request headers
|
|
109
|
+
|
|
110
|
+
- **Content-Type**: Not defined
|
|
111
|
+
- **Accept**: application/json
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### HTTP response details
|
|
115
|
+
| Status code | Description | Response headers |
|
|
116
|
+
|-------------|-------------|------------------|
|
|
117
|
+
|**200** | success | - |
|
|
118
|
+
|**400** | failed | - |
|
|
119
|
+
|**401** | unauthorized | - |
|
|
120
|
+
|
|
121
|
+
[[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)
|
|
122
|
+
|
|
123
|
+
# **productsIndex**
|
|
124
|
+
> ProductsIndex200Response productsIndex()
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### Example
|
|
128
|
+
|
|
129
|
+
```typescript
|
|
130
|
+
import {
|
|
131
|
+
ProductsApi,
|
|
132
|
+
Configuration
|
|
133
|
+
} from '@handsondigital/idplugger-promotion';
|
|
134
|
+
|
|
135
|
+
const configuration = new Configuration();
|
|
136
|
+
const apiInstance = new ProductsApi(configuration);
|
|
137
|
+
|
|
138
|
+
let promotionId: string; //ID da promoção (default to undefined)
|
|
139
|
+
let fields: string; //Campos a serem retornados (optional) (default to undefined)
|
|
140
|
+
let include: string; //Associações a serem retornadas (optional) (default to undefined)
|
|
141
|
+
let id: string; //Id do produto (optional) (default to undefined)
|
|
142
|
+
let serialNumber: string; //Número serial do produto (optional) (default to undefined)
|
|
143
|
+
|
|
144
|
+
const { status, data } = await apiInstance.productsIndex(
|
|
145
|
+
promotionId,
|
|
146
|
+
fields,
|
|
147
|
+
include,
|
|
148
|
+
id,
|
|
149
|
+
serialNumber
|
|
150
|
+
);
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Parameters
|
|
154
|
+
|
|
155
|
+
|Name | Type | Description | Notes|
|
|
156
|
+
|------------- | ------------- | ------------- | -------------|
|
|
157
|
+
| **promotionId** | [**string**] | ID da promoção | defaults to undefined|
|
|
158
|
+
| **fields** | [**string**] | Campos a serem retornados | (optional) defaults to undefined|
|
|
159
|
+
| **include** | [**string**] | Associações a serem retornadas | (optional) defaults to undefined|
|
|
160
|
+
| **id** | [**string**] | Id do produto | (optional) defaults to undefined|
|
|
161
|
+
| **serialNumber** | [**string**] | Número serial do produto | (optional) defaults to undefined|
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
### Return type
|
|
165
|
+
|
|
166
|
+
**ProductsIndex200Response**
|
|
167
|
+
|
|
168
|
+
### Authorization
|
|
169
|
+
|
|
170
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
171
|
+
|
|
172
|
+
### HTTP request headers
|
|
173
|
+
|
|
174
|
+
- **Content-Type**: Not defined
|
|
175
|
+
- **Accept**: application/json
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
### HTTP response details
|
|
179
|
+
| Status code | Description | Response headers |
|
|
180
|
+
|-------------|-------------|------------------|
|
|
181
|
+
|**200** | success | - |
|
|
182
|
+
|**400** | failed | - |
|
|
183
|
+
|**401** | unauthorized | - |
|
|
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
|
+
# **productsUpdate**
|
|
188
|
+
> ProductsUpdate201Response productsUpdate()
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
### Example
|
|
192
|
+
|
|
193
|
+
```typescript
|
|
194
|
+
import {
|
|
195
|
+
ProductsApi,
|
|
196
|
+
Configuration,
|
|
197
|
+
ProductsCreateRequest
|
|
198
|
+
} from '@handsondigital/idplugger-promotion';
|
|
199
|
+
|
|
200
|
+
const configuration = new Configuration();
|
|
201
|
+
const apiInstance = new ProductsApi(configuration);
|
|
202
|
+
|
|
203
|
+
let promotionId: string; //ID da promoção (default to undefined)
|
|
204
|
+
let productsCreateRequest: ProductsCreateRequest; // (optional)
|
|
205
|
+
|
|
206
|
+
const { status, data } = await apiInstance.productsUpdate(
|
|
207
|
+
promotionId,
|
|
208
|
+
productsCreateRequest
|
|
209
|
+
);
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Parameters
|
|
213
|
+
|
|
214
|
+
|Name | Type | Description | Notes|
|
|
215
|
+
|------------- | ------------- | ------------- | -------------|
|
|
216
|
+
| **productsCreateRequest** | **ProductsCreateRequest**| | |
|
|
217
|
+
| **promotionId** | [**string**] | ID da promoção | defaults to undefined|
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
### Return type
|
|
221
|
+
|
|
222
|
+
**ProductsUpdate201Response**
|
|
223
|
+
|
|
224
|
+
### Authorization
|
|
225
|
+
|
|
226
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
227
|
+
|
|
228
|
+
### HTTP request headers
|
|
229
|
+
|
|
230
|
+
- **Content-Type**: application/json
|
|
231
|
+
- **Accept**: application/json
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
### HTTP response details
|
|
235
|
+
| Status code | Description | Response headers |
|
|
236
|
+
|-------------|-------------|------------------|
|
|
237
|
+
|**201** | success | - |
|
|
238
|
+
|**401** | unauthorized | - |
|
|
239
|
+
|**409** | failed | - |
|
|
240
|
+
|
|
241
|
+
[[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)
|
|
242
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# ProductsCreate200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**content** | [**Array<Product>**](Product.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductsCreate200Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ProductsCreate200Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
content,
|
|
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
|
+
# ProductsCreate401Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductsCreate401Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ProductsCreate401Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
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
|
+
# ProductsCreate409Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductsCreate409Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ProductsCreate409Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
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,20 @@
|
|
|
1
|
+
# ProductsCreateRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**products** | [**Array<Product>**](Product.md) | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ProductsCreateRequest } from '@handsondigital/idplugger-promotion';
|
|
14
|
+
|
|
15
|
+
const instance: ProductsCreateRequest = {
|
|
16
|
+
products,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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
|
+
# ProductsDelete200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**content** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductsDelete200Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ProductsDelete200Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
content,
|
|
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
|
+
# ProductsDelete400Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductsDelete400Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ProductsDelete400Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
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
|
+
# ProductsDelete401Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductsDelete401Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ProductsDelete401Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
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
|
+
# ProductsIndex200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**paging** | [**Array<Pagination>**](Pagination.md) | | [optional] [default to undefined]
|
|
12
|
+
**content** | [**Array<Product>**](Product.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ProductsIndex200Response } from '@handsondigital/idplugger-promotion';
|
|
18
|
+
|
|
19
|
+
const instance: ProductsIndex200Response = {
|
|
20
|
+
entity,
|
|
21
|
+
action,
|
|
22
|
+
result,
|
|
23
|
+
paging,
|
|
24
|
+
content,
|
|
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,26 @@
|
|
|
1
|
+
# ProductsIndex400Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductsIndex400Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ProductsIndex400Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
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
|
+
# ProductsIndex401Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductsIndex401Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ProductsIndex401Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
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
|
+
# ProductsUpdate201Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**content** | [**ProductsCreateRequest**](ProductsCreateRequest.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductsUpdate201Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ProductsUpdate201Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
content,
|
|
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
|
+
# ProductsUpdate401Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**entity** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProductsUpdate401Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ProductsUpdate401Response = {
|
|
19
|
+
entity,
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
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)
|