@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.
Files changed (277) hide show
  1. package/.openapi-generator/FILES +267 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +367 -0
  5. package/api.ts +14329 -0
  6. package/base.ts +98 -0
  7. package/common.ts +150 -0
  8. package/configuration.ts +115 -0
  9. package/dist/api.d.ts +10994 -0
  10. package/dist/api.js +7834 -0
  11. package/dist/base.d.ts +66 -0
  12. package/dist/base.js +99 -0
  13. package/dist/common.d.ts +65 -0
  14. package/dist/common.js +253 -0
  15. package/dist/configuration.d.ts +91 -0
  16. package/dist/configuration.js +57 -0
  17. package/dist/index.d.ts +13 -0
  18. package/dist/index.js +31 -0
  19. package/docs/AddLuckyNumberCustom.md +26 -0
  20. package/docs/Article.md +40 -0
  21. package/docs/ArticleCustomDataInner.md +28 -0
  22. package/docs/ArticlesApi.md +258 -0
  23. package/docs/ArticlesCreate200Response.md +26 -0
  24. package/docs/ArticlesCreate400Response.md +26 -0
  25. package/docs/ArticlesCreate401Response.md +26 -0
  26. package/docs/ArticlesDelete200Response.md +26 -0
  27. package/docs/ArticlesDelete400Response.md +26 -0
  28. package/docs/ArticlesDelete401Response.md +26 -0
  29. package/docs/ArticlesIndex200Response.md +28 -0
  30. package/docs/ArticlesIndex400Response.md +26 -0
  31. package/docs/ArticlesIndex401Response.md +26 -0
  32. package/docs/ArticlesUpdate200Response.md +26 -0
  33. package/docs/ArticlesUpdate400Response.md +26 -0
  34. package/docs/ArticlesUpdate401Response.md +26 -0
  35. package/docs/AuthApi.md +105 -0
  36. package/docs/Award.md +40 -0
  37. package/docs/Awarded.md +38 -0
  38. package/docs/AwardedsApi.md +184 -0
  39. package/docs/AwardedsSearch200Response.md +28 -0
  40. package/docs/AwardedsSearch400Response.md +26 -0
  41. package/docs/AwardedsSearch401Response.md +26 -0
  42. package/docs/AwardedsStates200Response.md +26 -0
  43. package/docs/AwardedsStates200ResponseContentInner.md +22 -0
  44. package/docs/AwardedsUpdate200Response.md +26 -0
  45. package/docs/AwardedsUpdate400Response.md +26 -0
  46. package/docs/AwardedsUpdate401Response.md +26 -0
  47. package/docs/AwardsApi.md +243 -0
  48. package/docs/AwardsCreate200Response.md +26 -0
  49. package/docs/AwardsCreate400Response.md +26 -0
  50. package/docs/AwardsCreate401Response.md +26 -0
  51. package/docs/AwardsDelete200Response.md +26 -0
  52. package/docs/AwardsDelete400Response.md +26 -0
  53. package/docs/AwardsDelete401Response.md +26 -0
  54. package/docs/AwardsIndex200Response.md +28 -0
  55. package/docs/AwardsIndex400Response.md +26 -0
  56. package/docs/AwardsIndex401Response.md +26 -0
  57. package/docs/AwardsUpdate200Response.md +26 -0
  58. package/docs/AwardsUpdate400Response.md +26 -0
  59. package/docs/AwardsUpdate401Response.md +26 -0
  60. package/docs/BlacklistCreate200Response.md +26 -0
  61. package/docs/BlacklistCreate200ResponseContentInner.md +24 -0
  62. package/docs/BlacklistCreate400Response.md +26 -0
  63. package/docs/BlacklistCreate401Response.md +26 -0
  64. package/docs/BlacklistCreateRequest.md +20 -0
  65. package/docs/BlacklistDelete200Response.md +26 -0
  66. package/docs/BlacklistDelete400Response.md +26 -0
  67. package/docs/BlacklistDelete401Response.md +26 -0
  68. package/docs/BlacklistIndex200Response.md +28 -0
  69. package/docs/BlacklistIndex200ResponseContentInner.md +24 -0
  70. package/docs/BlacklistIndex400Response.md +26 -0
  71. package/docs/BlockedUsersApi.md +179 -0
  72. package/docs/Branding.md +54 -0
  73. package/docs/BrandingApi.md +120 -0
  74. package/docs/BrandingIndex200Response.md +26 -0
  75. package/docs/BrandingIndex400Response.md +26 -0
  76. package/docs/BrandingIndex401Response.md +26 -0
  77. package/docs/BrandingMenuInner.md +24 -0
  78. package/docs/BrandingSocial.md +28 -0
  79. package/docs/BrandingUpdate200Response.md +26 -0
  80. package/docs/BrandingUpdate400Response.md +26 -0
  81. package/docs/BrandingUpdate401Response.md +26 -0
  82. package/docs/ConfigWebhook200Response.md +26 -0
  83. package/docs/ConfigWebhook400Response.md +26 -0
  84. package/docs/ConfigWebhook401Response.md +26 -0
  85. package/docs/ConfigWebhookRequest.md +22 -0
  86. package/docs/ConfigsIndex200Response.md +26 -0
  87. package/docs/ConfigsIndex400Response.md +26 -0
  88. package/docs/ConfigsIndex401Response.md +26 -0
  89. package/docs/Content.md +28 -0
  90. package/docs/ContentApi.md +129 -0
  91. package/docs/ContentCreate200Response.md +26 -0
  92. package/docs/ContentCreate400Response.md +26 -0
  93. package/docs/ContentCreate401Response.md +26 -0
  94. package/docs/ContentIndex200Response.md +26 -0
  95. package/docs/ContentIndex400Response.md +26 -0
  96. package/docs/ContentIndex401Response.md +26 -0
  97. package/docs/Coupon.md +36 -0
  98. package/docs/CouponProductsInner.md +26 -0
  99. package/docs/CouponWebhookError.md +26 -0
  100. package/docs/CouponWebhookErrorContent.md +38 -0
  101. package/docs/CouponWebhookErrorContentAllOfErrors.md +22 -0
  102. package/docs/CouponWebhookSuccess.md +26 -0
  103. package/docs/CouponsApi.md +311 -0
  104. package/docs/CouponsCreate200Response.md +26 -0
  105. package/docs/CouponsCreate401Response.md +26 -0
  106. package/docs/CouponsCreate409Response.md +26 -0
  107. package/docs/CouponsCreateRequest.md +20 -0
  108. package/docs/CouponsDelete200Response.md +26 -0
  109. package/docs/CouponsDelete400Response.md +26 -0
  110. package/docs/CouponsDelete401Response.md +26 -0
  111. package/docs/CouponsIndex200Response.md +28 -0
  112. package/docs/CouponsIndex200ResponseContentInner.md +38 -0
  113. package/docs/CouponsIndex400Response.md +26 -0
  114. package/docs/CouponsIndex401Response.md +26 -0
  115. package/docs/CouponsUpdate201Response.md +26 -0
  116. package/docs/CouponsUpdate401Response.md +26 -0
  117. package/docs/CouponsUpdate409Response.md +26 -0
  118. package/docs/CuponsWebhookRequest.md +26 -0
  119. package/docs/DocumentRulesApi.md +173 -0
  120. package/docs/DocumentRulesIndex200Response.md +26 -0
  121. package/docs/DocumentRulesIndex200ResponseContent.md +24 -0
  122. package/docs/DocumentRulesIndex200ResponseContentRegulationsInner.md +24 -0
  123. package/docs/DocumentRulesIndex400Response.md +26 -0
  124. package/docs/DocumentRulesIndex401Response.md +26 -0
  125. package/docs/DocumentRulesRegulationDelete200Response.md +24 -0
  126. package/docs/DocumentRulesRegulationDelete400Response.md +26 -0
  127. package/docs/DocumentRulesRegulationDelete401Response.md +26 -0
  128. package/docs/DocumentRulesUpdate200Response.md +26 -0
  129. package/docs/DocumentRulesUpdate400Response.md +26 -0
  130. package/docs/DocumentRulesUpdate401Response.md +26 -0
  131. package/docs/DocumentRulesUpdateRequest.md +24 -0
  132. package/docs/DocumentRulesUpdateRequestRegulationsInner.md +24 -0
  133. package/docs/FAQApi.md +236 -0
  134. package/docs/FaqCreate200Response.md +26 -0
  135. package/docs/FaqCreate400Response.md +26 -0
  136. package/docs/FaqCreate401Response.md +26 -0
  137. package/docs/FaqCreateRequestInner.md +22 -0
  138. package/docs/FaqDelete200Response.md +26 -0
  139. package/docs/FaqDelete400Response.md +26 -0
  140. package/docs/FaqDelete401Response.md +26 -0
  141. package/docs/FaqIndex200Response.md +28 -0
  142. package/docs/FaqIndex200ResponseContentInner.md +22 -0
  143. package/docs/FaqIndex400Response.md +26 -0
  144. package/docs/FaqIndex401Response.md +26 -0
  145. package/docs/FaqUpdate200Response.md +26 -0
  146. package/docs/FaqUpdate400Response.md +26 -0
  147. package/docs/FaqUpdate401Response.md +26 -0
  148. package/docs/FilesApi.md +56 -0
  149. package/docs/Login200Response.md +24 -0
  150. package/docs/Login401Response.md +20 -0
  151. package/docs/LoginRequest.md +22 -0
  152. package/docs/LuckyNumber.md +32 -0
  153. package/docs/LuckyNumbersAddCustom200Response.md +26 -0
  154. package/docs/LuckyNumbersAddCustom400Response.md +26 -0
  155. package/docs/LuckyNumbersAddCustom401Response.md +26 -0
  156. package/docs/LuckyNumbersApi.md +202 -0
  157. package/docs/LuckyNumbersRemove200Response.md +26 -0
  158. package/docs/LuckyNumbersRemove400Response.md +26 -0
  159. package/docs/LuckyNumbersRemove401Response.md +26 -0
  160. package/docs/LuckyNumbersRemoveRequest.md +20 -0
  161. package/docs/LuckyNumbersRemoveRequestLuckyNumbersInner.md +22 -0
  162. package/docs/LuckyNumbersSearch200Response.md +28 -0
  163. package/docs/LuckyNumbersSearch400Response.md +26 -0
  164. package/docs/LuckyNumbersSearch401Response.md +26 -0
  165. package/docs/Me200Response.md +28 -0
  166. package/docs/Me200ResponsePromotionsInner.md +22 -0
  167. package/docs/Metrics200Response.md +26 -0
  168. package/docs/Metrics200ResponseContent.md +40 -0
  169. package/docs/Metrics200ResponseContentUsersInner.md +22 -0
  170. package/docs/Metrics400Response.md +20 -0
  171. package/docs/MetricsApi.md +75 -0
  172. package/docs/Order.md +42 -0
  173. package/docs/OrderCustomDataInner.md +26 -0
  174. package/docs/OrdersApi.md +204 -0
  175. package/docs/OrdersCreate200Response.md +26 -0
  176. package/docs/OrdersCreate400Response.md +26 -0
  177. package/docs/OrdersCreate401Response.md +26 -0
  178. package/docs/OrdersCreateRequest.md +20 -0
  179. package/docs/OrdersIndex200Response.md +28 -0
  180. package/docs/OrdersIndex400Response.md +26 -0
  181. package/docs/OrdersIndex401Response.md +26 -0
  182. package/docs/OrdersUpdate200Response.md +26 -0
  183. package/docs/OrdersUpdate400Response.md +26 -0
  184. package/docs/OrdersUpdate401Response.md +26 -0
  185. package/docs/Pagination.md +42 -0
  186. package/docs/PaginationLinksInner.md +24 -0
  187. package/docs/Product.md +32 -0
  188. package/docs/ProductsApi.md +242 -0
  189. package/docs/ProductsCreate200Response.md +26 -0
  190. package/docs/ProductsCreate401Response.md +26 -0
  191. package/docs/ProductsCreate409Response.md +26 -0
  192. package/docs/ProductsCreateRequest.md +20 -0
  193. package/docs/ProductsDelete200Response.md +26 -0
  194. package/docs/ProductsDelete400Response.md +26 -0
  195. package/docs/ProductsDelete401Response.md +26 -0
  196. package/docs/ProductsIndex200Response.md +28 -0
  197. package/docs/ProductsIndex400Response.md +26 -0
  198. package/docs/ProductsIndex401Response.md +26 -0
  199. package/docs/ProductsUpdate201Response.md +26 -0
  200. package/docs/ProductsUpdate401Response.md +26 -0
  201. package/docs/ProductsUpdate409Response.md +26 -0
  202. package/docs/Promotion.md +34 -0
  203. package/docs/PromotionDataApi.md +60 -0
  204. package/docs/PromotionDatetime.md +28 -0
  205. package/docs/PromotionDatetimeActive.md +22 -0
  206. package/docs/PromotionDatetimeDelivery.md +20 -0
  207. package/docs/PromotionDatetimeParticipate.md +22 -0
  208. package/docs/PromotionDatetimeShowAwardeds.md +20 -0
  209. package/docs/Raffle.md +44 -0
  210. package/docs/RafflesApi.md +309 -0
  211. package/docs/RafflesCreate200Response.md +26 -0
  212. package/docs/RafflesCreate400Response.md +26 -0
  213. package/docs/RafflesCreate401Response.md +26 -0
  214. package/docs/RafflesCreateRequestInner.md +30 -0
  215. package/docs/RafflesDelete200Response.md +26 -0
  216. package/docs/RafflesDelete400Response.md +26 -0
  217. package/docs/RafflesDelete401Response.md +26 -0
  218. package/docs/RafflesIndex200Response.md +28 -0
  219. package/docs/RafflesIndex400Response.md +26 -0
  220. package/docs/RafflesIndex401Response.md +26 -0
  221. package/docs/RafflesReportRequest.md +20 -0
  222. package/docs/RafflesUpdate200Response.md +26 -0
  223. package/docs/RafflesUpdate400Response.md +26 -0
  224. package/docs/RafflesUpdate401Response.md +26 -0
  225. package/docs/RafflesUpdateRequestInner.md +32 -0
  226. package/docs/SerieNumber.md +24 -0
  227. package/docs/SettingsApi.md +65 -0
  228. package/docs/Store.md +38 -0
  229. package/docs/StoresApi.md +242 -0
  230. package/docs/StoresCreate200Response.md +26 -0
  231. package/docs/StoresCreate401Response.md +26 -0
  232. package/docs/StoresCreate409Response.md +26 -0
  233. package/docs/StoresCreateRequest.md +20 -0
  234. package/docs/StoresDelete200Response.md +26 -0
  235. package/docs/StoresDelete400Response.md +26 -0
  236. package/docs/StoresDelete401Response.md +26 -0
  237. package/docs/StoresIndex200Response.md +28 -0
  238. package/docs/StoresIndex400Response.md +26 -0
  239. package/docs/StoresIndex401Response.md +26 -0
  240. package/docs/StoresUpdate201Response.md +26 -0
  241. package/docs/StoresUpdate401Response.md +26 -0
  242. package/docs/StoresUpdate409Response.md +26 -0
  243. package/docs/Ticket.md +48 -0
  244. package/docs/TicketsApi.md +249 -0
  245. package/docs/TicketsCreate200Response.md +26 -0
  246. package/docs/TicketsCreate400Response.md +26 -0
  247. package/docs/TicketsCreate401Response.md +26 -0
  248. package/docs/TicketsDelete200Response.md +26 -0
  249. package/docs/TicketsDelete400Response.md +26 -0
  250. package/docs/TicketsDelete401Response.md +26 -0
  251. package/docs/TicketsIndex200Response.md +28 -0
  252. package/docs/TicketsIndex400Response.md +26 -0
  253. package/docs/TicketsIndex401Response.md +26 -0
  254. package/docs/TicketsUpdate200Response.md +26 -0
  255. package/docs/TicketsUpdate400Response.md +26 -0
  256. package/docs/User.md +56 -0
  257. package/docs/UserCustomData.md +24 -0
  258. package/docs/UserWebhookError.md +26 -0
  259. package/docs/UserWebhookErrorContent.md +58 -0
  260. package/docs/UserWebhookErrorContentAllOfErrors.md +22 -0
  261. package/docs/UserWebhookSuccess.md +26 -0
  262. package/docs/UsersApi.md +304 -0
  263. package/docs/UsersCreate201Response.md +26 -0
  264. package/docs/UsersCreate401Response.md +26 -0
  265. package/docs/UsersCreate409Response.md +26 -0
  266. package/docs/UsersCreateRequest.md +20 -0
  267. package/docs/UsersDelete200Response.md +26 -0
  268. package/docs/UsersDelete400Response.md +26 -0
  269. package/docs/UsersDelete401Response.md +26 -0
  270. package/docs/UsersIndex200Response.md +28 -0
  271. package/docs/UsersUpdate201Response.md +26 -0
  272. package/docs/UsersWebhook200Response.md +20 -0
  273. package/docs/UsersWebhookRequest.md +26 -0
  274. package/git_push.sh +57 -0
  275. package/index.ts +18 -0
  276. package/package.json +31 -0
  277. package/tsconfig.json +21 -0
@@ -0,0 +1,20 @@
1
+ # BlacklistCreateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **cpf** | **any** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { BlacklistCreateRequest } from '@handsondigital/idplugger-promotion';
14
+
15
+ const instance: BlacklistCreateRequest = {
16
+ cpf,
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
+ # BlacklistDelete200Response
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 { BlacklistDelete200Response } from '@handsondigital/idplugger-promotion';
17
+
18
+ const instance: BlacklistDelete200Response = {
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
+ # BlacklistDelete400Response
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 { BlacklistDelete400Response } from '@handsondigital/idplugger-promotion';
17
+
18
+ const instance: BlacklistDelete400Response = {
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
+ # BlacklistDelete401Response
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 { BlacklistDelete401Response } from '@handsondigital/idplugger-promotion';
17
+
18
+ const instance: BlacklistDelete401Response = {
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
+ # BlacklistIndex200Response
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<BlacklistIndex200ResponseContentInner>**](BlacklistIndex200ResponseContentInner.md) | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { BlacklistIndex200Response } from '@handsondigital/idplugger-promotion';
18
+
19
+ const instance: BlacklistIndex200Response = {
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,24 @@
1
+ # BlacklistIndex200ResponseContentInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [optional] [default to undefined]
9
+ **cpf** | **string** | | [optional] [default to undefined]
10
+ **created_at** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BlacklistIndex200ResponseContentInner } from '@handsondigital/idplugger-promotion';
16
+
17
+ const instance: BlacklistIndex200ResponseContentInner = {
18
+ id,
19
+ cpf,
20
+ created_at,
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
+ # BlacklistIndex400Response
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 { BlacklistIndex400Response } from '@handsondigital/idplugger-promotion';
17
+
18
+ const instance: BlacklistIndex400Response = {
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,179 @@
1
+ # BlockedUsersApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**blacklistCreate**](#blacklistcreate) | **POST** /v3/promotion/{promotion_id}/users/blacklist | Cadastra um CPF na lista de CPFs bloqueados na promoção|
8
+ |[**blacklistDelete**](#blacklistdelete) | **DELETE** /v3/promotion/{promotion_id}/users/blacklist/{id} | Exclui um CPF da lista de CPFs bloqueados da promoção|
9
+ |[**blacklistIndex**](#blacklistindex) | **GET** /v3/promotion/{promotion_id}/users/blacklist | Pesquisa por CPFs bloqueados na promoção|
10
+
11
+ # **blacklistCreate**
12
+ > BlacklistCreate200Response blacklistCreate()
13
+
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ BlockedUsersApi,
20
+ Configuration,
21
+ BlacklistCreateRequest
22
+ } from '@handsondigital/idplugger-promotion';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new BlockedUsersApi(configuration);
26
+
27
+ let promotionId: string; //ID da promoção (default to undefined)
28
+ let blacklistCreateRequest: BlacklistCreateRequest; // (optional)
29
+
30
+ const { status, data } = await apiInstance.blacklistCreate(
31
+ promotionId,
32
+ blacklistCreateRequest
33
+ );
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ |Name | Type | Description | Notes|
39
+ |------------- | ------------- | ------------- | -------------|
40
+ | **blacklistCreateRequest** | **BlacklistCreateRequest**| | |
41
+ | **promotionId** | [**string**] | ID da promoção | defaults to undefined|
42
+
43
+
44
+ ### Return type
45
+
46
+ **BlacklistCreate200Response**
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
+ # **blacklistDelete**
68
+ > BlacklistDelete200Response blacklistDelete()
69
+
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ BlockedUsersApi,
76
+ Configuration
77
+ } from '@handsondigital/idplugger-promotion';
78
+
79
+ const configuration = new Configuration();
80
+ const apiInstance = new BlockedUsersApi(configuration);
81
+
82
+ let promotionId: string; //ID da promoção (default to undefined)
83
+ let id: number; //ID do CPF bloqueado na promoção (default to undefined)
84
+
85
+ const { status, data } = await apiInstance.blacklistDelete(
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** | [**number**] | ID do CPF bloqueado na promoção | defaults to undefined|
97
+
98
+
99
+ ### Return type
100
+
101
+ **BlacklistDelete200Response**
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
+ # **blacklistIndex**
123
+ > BlacklistIndex200Response blacklistIndex()
124
+
125
+
126
+ ### Example
127
+
128
+ ```typescript
129
+ import {
130
+ BlockedUsersApi,
131
+ Configuration
132
+ } from '@handsondigital/idplugger-promotion';
133
+
134
+ const configuration = new Configuration();
135
+ const apiInstance = new BlockedUsersApi(configuration);
136
+
137
+ let promotionId: string; //ID da promoção (default to undefined)
138
+ let fields: string; //Campos a serem retornados (optional) (default to undefined)
139
+ let cpf: string; //CPF bloqueado (optional) (default to undefined)
140
+
141
+ const { status, data } = await apiInstance.blacklistIndex(
142
+ promotionId,
143
+ fields,
144
+ cpf
145
+ );
146
+ ```
147
+
148
+ ### Parameters
149
+
150
+ |Name | Type | Description | Notes|
151
+ |------------- | ------------- | ------------- | -------------|
152
+ | **promotionId** | [**string**] | ID da promoção | defaults to undefined|
153
+ | **fields** | [**string**] | Campos a serem retornados | (optional) defaults to undefined|
154
+ | **cpf** | [**string**] | CPF bloqueado | (optional) defaults to undefined|
155
+
156
+
157
+ ### Return type
158
+
159
+ **BlacklistIndex200Response**
160
+
161
+ ### Authorization
162
+
163
+ [bearerAuth](../README.md#bearerAuth)
164
+
165
+ ### HTTP request headers
166
+
167
+ - **Content-Type**: Not defined
168
+ - **Accept**: application/json
169
+
170
+
171
+ ### HTTP response details
172
+ | Status code | Description | Response headers |
173
+ |-------------|-------------|------------------|
174
+ |**200** | success | - |
175
+ |**400** | failed | - |
176
+ |**401** | unauthorized | - |
177
+
178
+ [[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)
179
+
@@ -0,0 +1,54 @@
1
+ # Branding
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **logomarca** | **string** | Logomarca da promoção ou da empresa promotora da promoção | [optional] [default to undefined]
9
+ **font_primary** | **string** | Fonte utilizada em todo o site | [optional] [default to undefined]
10
+ **font_secondary** | **string** | Fonte utilizada em títulos do Hotsite | [optional] [default to undefined]
11
+ **color_main** | **string** | Cor principal da marca | [optional] [default to undefined]
12
+ **color_menu** | **string** | Cor de fundo do menu principal e do footer | [optional] [default to undefined]
13
+ **color_primary** | **string** | Cor principal dos botões de ação | [optional] [default to undefined]
14
+ **color_secondary** | **string** | Cor secundária para botões de menor nível de importância | [optional] [default to undefined]
15
+ **color_success** | **string** | Cor de textos relacionados a ações bem sucedidas | [optional] [default to undefined]
16
+ **color_info** | **string** | Cor de textos relacionados a informação | [optional] [default to undefined]
17
+ **color_warning** | **string** | Cor de textos relacionados a avisos | [optional] [default to undefined]
18
+ **color_danger** | **string** | Cor de textos relacionados a ações mal sucedidas | [optional] [default to undefined]
19
+ **color_light** | **string** | Cor de fundo clara | [optional] [default to undefined]
20
+ **color_dark** | **string** | Cor de fundo escura | [optional] [default to undefined]
21
+ **color_black** | **string** | Cor mais escura utilizada em todo o site | [optional] [default to undefined]
22
+ **input_border_radius** | **string** | Campos de entrada de dados com ou sem cantos arredondados | [optional] [default to InputBorderRadiusEnum_On]
23
+ **btn_border_radius** | **string** | Botões com ou sem cantos arredondados | [optional] [default to BtnBorderRadiusEnum_On]
24
+ **menu** | [**Array<BrandingMenuInner>**](BrandingMenuInner.md) | Itens do menu do hotsite da promoção | [optional] [default to undefined]
25
+ **social** | [**BrandingSocial**](BrandingSocial.md) | | [optional] [default to undefined]
26
+
27
+ ## Example
28
+
29
+ ```typescript
30
+ import { Branding } from '@handsondigital/idplugger-promotion';
31
+
32
+ const instance: Branding = {
33
+ logomarca,
34
+ font_primary,
35
+ font_secondary,
36
+ color_main,
37
+ color_menu,
38
+ color_primary,
39
+ color_secondary,
40
+ color_success,
41
+ color_info,
42
+ color_warning,
43
+ color_danger,
44
+ color_light,
45
+ color_dark,
46
+ color_black,
47
+ input_border_radius,
48
+ btn_border_radius,
49
+ menu,
50
+ social,
51
+ };
52
+ ```
53
+
54
+ [[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,120 @@
1
+ # BrandingApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**brandingIndex**](#brandingindex) | **GET** /v3/promotion/{promotion_id}/cms/branding | Dados referentes a identidade visual da marca da promoção|
8
+ |[**brandingUpdate**](#brandingupdate) | **POST** /v3/promotion/{promotion_id}/cms/branding | Altera os dados referentes a identidade visual da marca da promoção|
9
+
10
+ # **brandingIndex**
11
+ > BrandingIndex200Response brandingIndex()
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ BrandingApi,
19
+ Configuration
20
+ } from '@handsondigital/idplugger-promotion';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new BrandingApi(configuration);
24
+
25
+ let promotionId: string; //ID da promoção (default to undefined)
26
+ let fields: string; //Campos a serem retornados pela API (optional) (default to undefined)
27
+
28
+ const { status, data } = await apiInstance.brandingIndex(
29
+ promotionId,
30
+ fields
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **promotionId** | [**string**] | ID da promoção | defaults to undefined|
39
+ | **fields** | [**string**] | Campos a serem retornados pela API | (optional) defaults to undefined|
40
+
41
+
42
+ ### Return type
43
+
44
+ **BrandingIndex200Response**
45
+
46
+ ### Authorization
47
+
48
+ [bearerAuth](../README.md#bearerAuth)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: Not defined
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | success | - |
60
+ |**400** | failed | - |
61
+ |**401** | unauthorized | - |
62
+
63
+ [[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)
64
+
65
+ # **brandingUpdate**
66
+ > BrandingUpdate200Response brandingUpdate()
67
+
68
+
69
+ ### Example
70
+
71
+ ```typescript
72
+ import {
73
+ BrandingApi,
74
+ Configuration,
75
+ Branding
76
+ } from '@handsondigital/idplugger-promotion';
77
+
78
+ const configuration = new Configuration();
79
+ const apiInstance = new BrandingApi(configuration);
80
+
81
+ let promotionId: string; //ID da promoção (default to undefined)
82
+ let branding: Branding; // (optional)
83
+
84
+ const { status, data } = await apiInstance.brandingUpdate(
85
+ promotionId,
86
+ branding
87
+ );
88
+ ```
89
+
90
+ ### Parameters
91
+
92
+ |Name | Type | Description | Notes|
93
+ |------------- | ------------- | ------------- | -------------|
94
+ | **branding** | **Branding**| | |
95
+ | **promotionId** | [**string**] | ID da promoção | defaults to undefined|
96
+
97
+
98
+ ### Return type
99
+
100
+ **BrandingUpdate200Response**
101
+
102
+ ### Authorization
103
+
104
+ [bearerAuth](../README.md#bearerAuth)
105
+
106
+ ### HTTP request headers
107
+
108
+ - **Content-Type**: application/json
109
+ - **Accept**: application/json
110
+
111
+
112
+ ### HTTP response details
113
+ | Status code | Description | Response headers |
114
+ |-------------|-------------|------------------|
115
+ |**200** | success | - |
116
+ |**400** | failed | - |
117
+ |**401** | unauthorized | - |
118
+
119
+ [[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)
120
+
@@ -0,0 +1,26 @@
1
+ # BrandingIndex200Response
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<Branding>**](Branding.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { BrandingIndex200Response } from '@handsondigital/idplugger-promotion';
17
+
18
+ const instance: BrandingIndex200Response = {
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
+ # BrandingIndex400Response
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 { BrandingIndex400Response } from '@handsondigital/idplugger-promotion';
17
+
18
+ const instance: BrandingIndex400Response = {
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
+ # BrandingIndex401Response
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 { BrandingIndex401Response } from '@handsondigital/idplugger-promotion';
17
+
18
+ const instance: BrandingIndex401Response = {
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,24 @@
1
+ # BrandingMenuInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **title** | **string** | Texto do link/botão do menu | [optional] [default to undefined]
9
+ **url** | **string** | url do link/botão do menu | [optional] [default to undefined]
10
+ **target_blank** | **string** | on=Abrir url em nova aba do navegador, off=Abrir url na mesma aba do navegador | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BrandingMenuInner } from '@handsondigital/idplugger-promotion';
16
+
17
+ const instance: BrandingMenuInner = {
18
+ title,
19
+ url,
20
+ target_blank,
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,28 @@
1
+ # BrandingSocial
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **facebook** | **string** | | [optional] [default to undefined]
9
+ **instagram** | **string** | | [optional] [default to undefined]
10
+ **linkedin** | **string** | | [optional] [default to undefined]
11
+ **youtube** | **string** | | [optional] [default to undefined]
12
+ **pinterest** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { BrandingSocial } from '@handsondigital/idplugger-promotion';
18
+
19
+ const instance: BrandingSocial = {
20
+ facebook,
21
+ instagram,
22
+ linkedin,
23
+ youtube,
24
+ pinterest,
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)