@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
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plataforma de Promoção - Documentação da API
|
|
3
|
+
* # Introdução Bem-vindo à documentação oficial da API da Plataforma de Promoção IdPlugger! Esta API foi desenvolvida para oferecer acesso seguro e eficiente aos recursos e serviços essenciais da Plataforma. # Sobre a API Esta API é baseada em REST, proporcionando uma arquitetura flexível e de fácil integração para desenvolvedores e empresas. Esta documentação foi elaborada com o intuito de fornecer uma referência abrangente e detalhada para desenvolvedores, parceiros e clientes que desejam utilizar a API da Plataforma de Promoção IdPlugger em seus próprios aplicativos, sistemas e plataformas. Aqui, você encontrará informações sobre os endpoints disponíveis, parâmetros de solicitação, respostas esperadas, autenticação, webhooks, exemplos de uso e muito mais. # Começando Para começar a explorar e utilizar a API da Plataforma de Promoção IdPlugger, recomendamos que você siga os seguintes passos: 1. **Autenticação**: Obtenha suas credenciais de autenticação (\'username\' e \'password\'), junto ao nosso time comercial, para acessar a API. 2. **Explorar Endpoints**: Navegue pela lista de endpoints disponíveis e suas respectivas funcionalidades. 3. **Experimentar**: Utilize os exemplos de solicitação fornecidos para testar os endpoints e compreender melhor seu funcionamento. 4. **Integrar**: Integre a API da Plataforma de Promoção IdPlugger em seus próprios projetos e sistemas para aproveitar ao máximo suas capacidades. # Autenticação Todos os endpoints requerem token de autenticação válido, que pode ser obtido através de requisição à API enviando as credenciais obtidas junto a equipe da Plataforma de Promoção. Este token é do tipo JWT e deve ser enviado no header da requisição no seguinte formato: | Header | Valor | | - | - | | Authorization | bearer `{token}` | Substitua `{token}` pelo token obtido na autenticação. IMPORTANTE: O token JWT tem um tempo de validade, o ideal é armazenar o token JWT e solicitar um novo token apenas quando o seu token expirar. A validade do token é enviada junto com o token na resposta do endpoint de autenticação. # Webhooks Ao cadastrar um usuário ou um cupom, a API irá armazenar os dados informados para processar em segundo plano. Por tanto, para obter a informação de cadastro com sucesso ou falha no cadastro de um usuário ou um cupom, é necessário ter um webhook cadastrado na API. Para cadastrar o webhook da promoção na API, utilize o endpoint <a href=\"#/Settings/config.webhook\">`/webhook`</a>. # Ambiente de testes Atualmente a Plataforma de Promoção IdPlugger não possui ambiente de homologação para testes de integração do cliente. Todos as validações devem ser realizadas em produção, **sem ônus à pessoa desenvolvedora**. Todos os dados de testes serão excluídos da Plataforma antes do início oficial da Promoção. Estamos empolgados por você ter escolhido a API de Promoção da IdPlugger para impulsionar suas iniciativas promocionais. Se surgirem dúvidas ou precisar de suporte, não hesite em contatar nossa equipe de suporte técnico. Vamos começar a promover o sucesso juntos! # Postman Collection [<img src=\"https://run.pstmn.io/button.svg\" alt=\"Run In \" style=\"width: 128px; height: 32px;\">](https://god.gw.postman.com/run-collection/13619232-20687020-3c58-488d-bd15-9f9d1a8164b1?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D13619232-20687020-3c58-488d-bd15-9f9d1a8164b1%26entityType%3Dcollection%26workspaceId%3Df86d7ea0-5224-4351-bf69-54ada2ca328d)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.3.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export * from "./api";
|
|
13
|
+
export * from "./configuration";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Plataforma de Promoção - Documentação da API
|
|
6
|
+
* # Introdução Bem-vindo à documentação oficial da API da Plataforma de Promoção IdPlugger! Esta API foi desenvolvida para oferecer acesso seguro e eficiente aos recursos e serviços essenciais da Plataforma. # Sobre a API Esta API é baseada em REST, proporcionando uma arquitetura flexível e de fácil integração para desenvolvedores e empresas. Esta documentação foi elaborada com o intuito de fornecer uma referência abrangente e detalhada para desenvolvedores, parceiros e clientes que desejam utilizar a API da Plataforma de Promoção IdPlugger em seus próprios aplicativos, sistemas e plataformas. Aqui, você encontrará informações sobre os endpoints disponíveis, parâmetros de solicitação, respostas esperadas, autenticação, webhooks, exemplos de uso e muito mais. # Começando Para começar a explorar e utilizar a API da Plataforma de Promoção IdPlugger, recomendamos que você siga os seguintes passos: 1. **Autenticação**: Obtenha suas credenciais de autenticação (\'username\' e \'password\'), junto ao nosso time comercial, para acessar a API. 2. **Explorar Endpoints**: Navegue pela lista de endpoints disponíveis e suas respectivas funcionalidades. 3. **Experimentar**: Utilize os exemplos de solicitação fornecidos para testar os endpoints e compreender melhor seu funcionamento. 4. **Integrar**: Integre a API da Plataforma de Promoção IdPlugger em seus próprios projetos e sistemas para aproveitar ao máximo suas capacidades. # Autenticação Todos os endpoints requerem token de autenticação válido, que pode ser obtido através de requisição à API enviando as credenciais obtidas junto a equipe da Plataforma de Promoção. Este token é do tipo JWT e deve ser enviado no header da requisição no seguinte formato: | Header | Valor | | - | - | | Authorization | bearer `{token}` | Substitua `{token}` pelo token obtido na autenticação. IMPORTANTE: O token JWT tem um tempo de validade, o ideal é armazenar o token JWT e solicitar um novo token apenas quando o seu token expirar. A validade do token é enviada junto com o token na resposta do endpoint de autenticação. # Webhooks Ao cadastrar um usuário ou um cupom, a API irá armazenar os dados informados para processar em segundo plano. Por tanto, para obter a informação de cadastro com sucesso ou falha no cadastro de um usuário ou um cupom, é necessário ter um webhook cadastrado na API. Para cadastrar o webhook da promoção na API, utilize o endpoint <a href=\"#/Settings/config.webhook\">`/webhook`</a>. # Ambiente de testes Atualmente a Plataforma de Promoção IdPlugger não possui ambiente de homologação para testes de integração do cliente. Todos as validações devem ser realizadas em produção, **sem ônus à pessoa desenvolvedora**. Todos os dados de testes serão excluídos da Plataforma antes do início oficial da Promoção. Estamos empolgados por você ter escolhido a API de Promoção da IdPlugger para impulsionar suas iniciativas promocionais. Se surgirem dúvidas ou precisar de suporte, não hesite em contatar nossa equipe de suporte técnico. Vamos começar a promover o sucesso juntos! # Postman Collection [<img src=\"https://run.pstmn.io/button.svg\" alt=\"Run In \" style=\"width: 128px; height: 32px;\">](https://god.gw.postman.com/run-collection/13619232-20687020-3c58-488d-bd15-9f9d1a8164b1?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D13619232-20687020-3c58-488d-bd15-9f9d1a8164b1%26entityType%3Dcollection%26workspaceId%3Df86d7ea0-5224-4351-bf69-54ada2ca328d)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.3.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./api"), exports);
|
|
31
|
+
__exportStar(require("./configuration"), exports);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# AddLuckyNumberCustom
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**lucky_numbers** | **Array<number>** | | [default to undefined]
|
|
9
|
+
**serie** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**valid_from** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**valid_until** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { AddLuckyNumberCustom } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: AddLuckyNumberCustom = {
|
|
19
|
+
lucky_numbers,
|
|
20
|
+
serie,
|
|
21
|
+
valid_from,
|
|
22
|
+
valid_until,
|
|
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)
|
package/docs/Article.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Article
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | Identificador único da publicação na promoção | [optional] [default to undefined]
|
|
9
|
+
**author_id** | **number** | Identificador do usuário da promoção autor da publicação | [optional] [default to undefined]
|
|
10
|
+
**title** | **string** | Título da publicação | [default to undefined]
|
|
11
|
+
**guid** | **string** | Identificador global da publicação (será usado na url da publicação) | [optional] [default to undefined]
|
|
12
|
+
**content** | **string** | Conteúdo da publicação | [optional] [default to undefined]
|
|
13
|
+
**description** | **string** | Resumo da publicação | [optional] [default to undefined]
|
|
14
|
+
**status** | **string** | Status da publicação. Opções: publish,future,draft,pending,private | [optional] [default to undefined]
|
|
15
|
+
**date** | **string** | Data em que a publicação será publicada | [optional] [default to undefined]
|
|
16
|
+
**custom_data** | [**Array<ArticleCustomDataInner>**](ArticleCustomDataInner.md) | | [optional] [default to undefined]
|
|
17
|
+
**created_at** | **string** | Data em que a publicação foi criada | [optional] [default to undefined]
|
|
18
|
+
**updated_at** | **string** | Data em que a publicação foi atualizada | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { Article } from '@handsondigital/idplugger-promotion';
|
|
24
|
+
|
|
25
|
+
const instance: Article = {
|
|
26
|
+
id,
|
|
27
|
+
author_id,
|
|
28
|
+
title,
|
|
29
|
+
guid,
|
|
30
|
+
content,
|
|
31
|
+
description,
|
|
32
|
+
status,
|
|
33
|
+
date,
|
|
34
|
+
custom_data,
|
|
35
|
+
created_at,
|
|
36
|
+
updated_at,
|
|
37
|
+
};
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[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
|
+
# ArticleCustomDataInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**key** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**value** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**type** | **string** | | [optional] [default to 'string']
|
|
11
|
+
**group** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**details** | **object** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ArticleCustomDataInner } from '@handsondigital/idplugger-promotion';
|
|
18
|
+
|
|
19
|
+
const instance: ArticleCustomDataInner = {
|
|
20
|
+
key,
|
|
21
|
+
value,
|
|
22
|
+
type,
|
|
23
|
+
group,
|
|
24
|
+
details,
|
|
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,258 @@
|
|
|
1
|
+
# ArticlesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**articlesCreate**](#articlescreate) | **POST** /v3/promotion/{promotion_id}/cms/articles | Cadastra publicações na promoção|
|
|
8
|
+
|[**articlesDelete**](#articlesdelete) | **DELETE** /v3/promotion/{promotion_id}/cms/articles/{id} | Exclui uma publicação da promoção|
|
|
9
|
+
|[**articlesIndex**](#articlesindex) | **GET** /v3/promotion/{promotion_id}/cms/articles | Lista as publicações cadastradas na promoção|
|
|
10
|
+
|[**articlesUpdate**](#articlesupdate) | **PATCH** /v3/promotion/{promotion_id}/cms/articles | Cadastra ou atualiza publicações na promoção|
|
|
11
|
+
|
|
12
|
+
# **articlesCreate**
|
|
13
|
+
> ArticlesCreate200Response articlesCreate()
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
ArticlesApi,
|
|
21
|
+
Configuration
|
|
22
|
+
} from '@handsondigital/idplugger-promotion';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new ArticlesApi(configuration);
|
|
26
|
+
|
|
27
|
+
let promotionId: string; //ID da promoção (default to undefined)
|
|
28
|
+
let article: Array<Article>; // (optional)
|
|
29
|
+
|
|
30
|
+
const { status, data } = await apiInstance.articlesCreate(
|
|
31
|
+
promotionId,
|
|
32
|
+
article
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
|Name | Type | Description | Notes|
|
|
39
|
+
|------------- | ------------- | ------------- | -------------|
|
|
40
|
+
| **article** | **Array<Article>**| | |
|
|
41
|
+
| **promotionId** | [**string**] | ID da promoção | defaults to undefined|
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Return type
|
|
45
|
+
|
|
46
|
+
**ArticlesCreate200Response**
|
|
47
|
+
|
|
48
|
+
### Authorization
|
|
49
|
+
|
|
50
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
51
|
+
|
|
52
|
+
### HTTP request headers
|
|
53
|
+
|
|
54
|
+
- **Content-Type**: application/json
|
|
55
|
+
- **Accept**: application/json
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### HTTP response details
|
|
59
|
+
| Status code | Description | Response headers |
|
|
60
|
+
|-------------|-------------|------------------|
|
|
61
|
+
|**200** | success | - |
|
|
62
|
+
|**400** | failed | - |
|
|
63
|
+
|**401** | unauthorized | - |
|
|
64
|
+
|
|
65
|
+
[[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)
|
|
66
|
+
|
|
67
|
+
# **articlesDelete**
|
|
68
|
+
> ArticlesDelete200Response articlesDelete()
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
### Example
|
|
72
|
+
|
|
73
|
+
```typescript
|
|
74
|
+
import {
|
|
75
|
+
ArticlesApi,
|
|
76
|
+
Configuration
|
|
77
|
+
} from '@handsondigital/idplugger-promotion';
|
|
78
|
+
|
|
79
|
+
const configuration = new Configuration();
|
|
80
|
+
const apiInstance = new ArticlesApi(configuration);
|
|
81
|
+
|
|
82
|
+
let promotionId: string; //ID da promoção (default to undefined)
|
|
83
|
+
let id: string; //ID da publicação (default to undefined)
|
|
84
|
+
|
|
85
|
+
const { status, data } = await apiInstance.articlesDelete(
|
|
86
|
+
promotionId,
|
|
87
|
+
id
|
|
88
|
+
);
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Parameters
|
|
92
|
+
|
|
93
|
+
|Name | Type | Description | Notes|
|
|
94
|
+
|------------- | ------------- | ------------- | -------------|
|
|
95
|
+
| **promotionId** | [**string**] | ID da promoção | defaults to undefined|
|
|
96
|
+
| **id** | [**string**] | ID da publicação | defaults to undefined|
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### Return type
|
|
100
|
+
|
|
101
|
+
**ArticlesDelete200Response**
|
|
102
|
+
|
|
103
|
+
### Authorization
|
|
104
|
+
|
|
105
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
106
|
+
|
|
107
|
+
### HTTP request headers
|
|
108
|
+
|
|
109
|
+
- **Content-Type**: Not defined
|
|
110
|
+
- **Accept**: application/json
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### HTTP response details
|
|
114
|
+
| Status code | Description | Response headers |
|
|
115
|
+
|-------------|-------------|------------------|
|
|
116
|
+
|**200** | success | - |
|
|
117
|
+
|**400** | failed | - |
|
|
118
|
+
|**401** | unauthorized | - |
|
|
119
|
+
|
|
120
|
+
[[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)
|
|
121
|
+
|
|
122
|
+
# **articlesIndex**
|
|
123
|
+
> ArticlesIndex200Response articlesIndex()
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
### Example
|
|
127
|
+
|
|
128
|
+
```typescript
|
|
129
|
+
import {
|
|
130
|
+
ArticlesApi,
|
|
131
|
+
Configuration
|
|
132
|
+
} from '@handsondigital/idplugger-promotion';
|
|
133
|
+
|
|
134
|
+
const configuration = new Configuration();
|
|
135
|
+
const apiInstance = new ArticlesApi(configuration);
|
|
136
|
+
|
|
137
|
+
let promotionId: string; //ID da promoção (default to undefined)
|
|
138
|
+
let fields: string; //Informa quais campos devem ser retornados na pesquisa pela API (optional) (default to undefined)
|
|
139
|
+
let include: string; //Informa se os dados do autor da publicação também deve ser retornado na pesquisa pela API (optional) (default to undefined)
|
|
140
|
+
let page: number; //Informa o número da página da pesquisa (optional) (default to undefined)
|
|
141
|
+
let perPage: number; //Informa o número de publicações por página na pesquisa (optional) (default to undefined)
|
|
142
|
+
let id: string; //Pesquisa publicações cadastradas na promoção pelo id das mesmas (optional) (default to undefined)
|
|
143
|
+
let title: string; //Pesquisa publicações cadastradas na promoção com título que contenha o texto pesquisado (optional) (default to undefined)
|
|
144
|
+
let keyword: string; //Pesquisa publicações cadastradas na promoção com texto que contenha o texto pesquisado (optional) (default to undefined)
|
|
145
|
+
let date: string; //Pesquisa publicações cadastradas na promoção com data de publicação entre as datas informadas (optional) (default to undefined)
|
|
146
|
+
let createdAt: string; //Pesquisa publicações cadastradas na promoção entre as datas informadas (optional) (default to undefined)
|
|
147
|
+
let updatedAt: string; //Pesquisa publicações cadastradas na promoção atualizadas entre as datas informadas (optional) (default to undefined)
|
|
148
|
+
|
|
149
|
+
const { status, data } = await apiInstance.articlesIndex(
|
|
150
|
+
promotionId,
|
|
151
|
+
fields,
|
|
152
|
+
include,
|
|
153
|
+
page,
|
|
154
|
+
perPage,
|
|
155
|
+
id,
|
|
156
|
+
title,
|
|
157
|
+
keyword,
|
|
158
|
+
date,
|
|
159
|
+
createdAt,
|
|
160
|
+
updatedAt
|
|
161
|
+
);
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Parameters
|
|
165
|
+
|
|
166
|
+
|Name | Type | Description | Notes|
|
|
167
|
+
|------------- | ------------- | ------------- | -------------|
|
|
168
|
+
| **promotionId** | [**string**] | ID da promoção | defaults to undefined|
|
|
169
|
+
| **fields** | [**string**] | Informa quais campos devem ser retornados na pesquisa pela API | (optional) defaults to undefined|
|
|
170
|
+
| **include** | [**string**] | Informa se os dados do autor da publicação também deve ser retornado na pesquisa pela API | (optional) defaults to undefined|
|
|
171
|
+
| **page** | [**number**] | Informa o número da página da pesquisa | (optional) defaults to undefined|
|
|
172
|
+
| **perPage** | [**number**] | Informa o número de publicações por página na pesquisa | (optional) defaults to undefined|
|
|
173
|
+
| **id** | [**string**] | Pesquisa publicações cadastradas na promoção pelo id das mesmas | (optional) defaults to undefined|
|
|
174
|
+
| **title** | [**string**] | Pesquisa publicações cadastradas na promoção com título que contenha o texto pesquisado | (optional) defaults to undefined|
|
|
175
|
+
| **keyword** | [**string**] | Pesquisa publicações cadastradas na promoção com texto que contenha o texto pesquisado | (optional) defaults to undefined|
|
|
176
|
+
| **date** | [**string**] | Pesquisa publicações cadastradas na promoção com data de publicação entre as datas informadas | (optional) defaults to undefined|
|
|
177
|
+
| **createdAt** | [**string**] | Pesquisa publicações cadastradas na promoção entre as datas informadas | (optional) defaults to undefined|
|
|
178
|
+
| **updatedAt** | [**string**] | Pesquisa publicações cadastradas na promoção atualizadas entre as datas informadas | (optional) defaults to undefined|
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### Return type
|
|
182
|
+
|
|
183
|
+
**ArticlesIndex200Response**
|
|
184
|
+
|
|
185
|
+
### Authorization
|
|
186
|
+
|
|
187
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
188
|
+
|
|
189
|
+
### HTTP request headers
|
|
190
|
+
|
|
191
|
+
- **Content-Type**: Not defined
|
|
192
|
+
- **Accept**: application/json
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
### HTTP response details
|
|
196
|
+
| Status code | Description | Response headers |
|
|
197
|
+
|-------------|-------------|------------------|
|
|
198
|
+
|**200** | success | - |
|
|
199
|
+
|**400** | failed | - |
|
|
200
|
+
|**401** | unauthorized | - |
|
|
201
|
+
|
|
202
|
+
[[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)
|
|
203
|
+
|
|
204
|
+
# **articlesUpdate**
|
|
205
|
+
> ArticlesUpdate200Response articlesUpdate()
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
### Example
|
|
209
|
+
|
|
210
|
+
```typescript
|
|
211
|
+
import {
|
|
212
|
+
ArticlesApi,
|
|
213
|
+
Configuration
|
|
214
|
+
} from '@handsondigital/idplugger-promotion';
|
|
215
|
+
|
|
216
|
+
const configuration = new Configuration();
|
|
217
|
+
const apiInstance = new ArticlesApi(configuration);
|
|
218
|
+
|
|
219
|
+
let promotionId: string; //ID da promoção (default to undefined)
|
|
220
|
+
let article: Array<Article>; // (optional)
|
|
221
|
+
|
|
222
|
+
const { status, data } = await apiInstance.articlesUpdate(
|
|
223
|
+
promotionId,
|
|
224
|
+
article
|
|
225
|
+
);
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
### Parameters
|
|
229
|
+
|
|
230
|
+
|Name | Type | Description | Notes|
|
|
231
|
+
|------------- | ------------- | ------------- | -------------|
|
|
232
|
+
| **article** | **Array<Article>**| | |
|
|
233
|
+
| **promotionId** | [**string**] | ID da promoção | defaults to undefined|
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
### Return type
|
|
237
|
+
|
|
238
|
+
**ArticlesUpdate200Response**
|
|
239
|
+
|
|
240
|
+
### Authorization
|
|
241
|
+
|
|
242
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
243
|
+
|
|
244
|
+
### HTTP request headers
|
|
245
|
+
|
|
246
|
+
- **Content-Type**: application/json
|
|
247
|
+
- **Accept**: application/json
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
### HTTP response details
|
|
251
|
+
| Status code | Description | Response headers |
|
|
252
|
+
|-------------|-------------|------------------|
|
|
253
|
+
|**200** | success | - |
|
|
254
|
+
|**400** | failed | - |
|
|
255
|
+
|**401** | unauthorized | - |
|
|
256
|
+
|
|
257
|
+
[[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)
|
|
258
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# ArticlesCreate200Response
|
|
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 { ArticlesCreate200Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ArticlesCreate200Response = {
|
|
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
|
+
# ArticlesCreate400Response
|
|
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 { ArticlesCreate400Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ArticlesCreate400Response = {
|
|
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
|
+
# ArticlesCreate401Response
|
|
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 { ArticlesCreate401Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ArticlesCreate401Response = {
|
|
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
|
+
# ArticlesDelete200Response
|
|
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 { ArticlesDelete200Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ArticlesDelete200Response = {
|
|
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
|
+
# ArticlesDelete400Response
|
|
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 { ArticlesDelete400Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ArticlesDelete400Response = {
|
|
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
|
+
# ArticlesDelete401Response
|
|
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 { ArticlesDelete401Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ArticlesDelete401Response = {
|
|
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
|
+
# ArticlesIndex200Response
|
|
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** | [**Pagination**](Pagination.md) | | [optional] [default to undefined]
|
|
12
|
+
**content** | [**Array<Article>**](Article.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ArticlesIndex200Response } from '@handsondigital/idplugger-promotion';
|
|
18
|
+
|
|
19
|
+
const instance: ArticlesIndex200Response = {
|
|
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
|
+
# ArticlesIndex400Response
|
|
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 { ArticlesIndex400Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ArticlesIndex400Response = {
|
|
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
|
+
# ArticlesIndex401Response
|
|
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 { ArticlesIndex401Response } from '@handsondigital/idplugger-promotion';
|
|
17
|
+
|
|
18
|
+
const instance: ArticlesIndex401Response = {
|
|
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)
|