@kard-financial/sdk 14.0.0 → 14.2.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 (262) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +11 -6
  4. package/dist/cjs/api/resources/index.d.ts +4 -0
  5. package/dist/cjs/api/resources/index.js +5 -1
  6. package/dist/cjs/api/resources/internalOrganizations/exports.d.ts +1 -0
  7. package/dist/cjs/api/resources/internalOrganizations/exports.js +18 -0
  8. package/dist/cjs/api/resources/internalOrganizations/index.d.ts +1 -0
  9. package/dist/cjs/api/resources/internalOrganizations/index.js +17 -0
  10. package/dist/cjs/api/resources/internalOrganizations/types/DeleteResourceData.d.ts +11 -0
  11. package/dist/cjs/api/resources/internalOrganizations/types/DeleteResourceData.js +3 -0
  12. package/dist/cjs/api/resources/internalOrganizations/types/DeleteResourceResponse.d.ts +7 -0
  13. package/dist/cjs/api/resources/internalOrganizations/types/DeleteResourceResponse.js +3 -0
  14. package/dist/cjs/api/resources/internalOrganizations/types/EnrolledReward.d.ts +6 -0
  15. package/dist/cjs/api/resources/internalOrganizations/types/EnrolledReward.js +9 -0
  16. package/dist/cjs/api/resources/internalOrganizations/types/MerchantNetwork.d.ts +10 -0
  17. package/dist/cjs/api/resources/internalOrganizations/types/MerchantNetwork.js +3 -0
  18. package/dist/cjs/api/resources/internalOrganizations/types/MerchantNetworkName.d.ts +11 -0
  19. package/dist/cjs/api/resources/internalOrganizations/types/MerchantNetworkName.js +14 -0
  20. package/dist/cjs/api/resources/internalOrganizations/types/OrganizationPaginationMetadata.d.ts +9 -0
  21. package/dist/cjs/api/resources/internalOrganizations/types/OrganizationPaginationMetadata.js +3 -0
  22. package/dist/cjs/api/resources/internalOrganizations/types/index.d.ts +6 -0
  23. package/dist/cjs/api/resources/internalOrganizations/types/index.js +22 -0
  24. package/dist/cjs/api/resources/organizations/client/Client.d.ts +35 -0
  25. package/dist/cjs/api/resources/organizations/client/Client.js +126 -0
  26. package/dist/cjs/api/resources/organizations/client/index.d.ts +1 -0
  27. package/dist/cjs/api/resources/organizations/client/index.js +2 -0
  28. package/dist/cjs/api/resources/organizations/exports.d.ts +3 -0
  29. package/dist/cjs/api/resources/organizations/exports.js +22 -0
  30. package/dist/cjs/api/resources/organizations/index.d.ts +3 -0
  31. package/dist/cjs/api/resources/organizations/index.js +19 -0
  32. package/dist/cjs/api/resources/organizations/resources/children/client/Client.d.ts +113 -0
  33. package/dist/cjs/api/resources/organizations/resources/children/client/Client.js +382 -0
  34. package/dist/cjs/api/resources/organizations/resources/children/client/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/organizations/resources/children/client/index.js +17 -0
  36. package/dist/cjs/api/resources/organizations/resources/children/client/requests/ListChildrenRequest.d.ts +10 -0
  37. package/dist/cjs/api/resources/organizations/resources/children/client/requests/ListChildrenRequest.js +3 -0
  38. package/dist/cjs/api/resources/organizations/resources/children/client/requests/index.d.ts +1 -0
  39. package/dist/cjs/api/resources/organizations/resources/children/client/requests/index.js +2 -0
  40. package/dist/cjs/api/resources/organizations/resources/children/exports.d.ts +2 -0
  41. package/dist/cjs/api/resources/organizations/resources/children/exports.js +21 -0
  42. package/dist/cjs/api/resources/organizations/resources/children/index.d.ts +2 -0
  43. package/dist/cjs/api/resources/organizations/resources/children/index.js +18 -0
  44. package/dist/cjs/api/resources/organizations/resources/children/types/ChildOrganizationListResponse.d.ts +11 -0
  45. package/dist/cjs/api/resources/organizations/resources/children/types/ChildOrganizationListResponse.js +3 -0
  46. package/dist/cjs/api/resources/organizations/resources/children/types/CreateChildAttributes.d.ts +18 -0
  47. package/dist/cjs/api/resources/organizations/resources/children/types/CreateChildAttributes.js +3 -0
  48. package/dist/cjs/api/resources/organizations/resources/children/types/CreateChildRequestBody.d.ts +8 -0
  49. package/dist/cjs/api/resources/organizations/resources/children/types/CreateChildRequestBody.js +3 -0
  50. package/dist/cjs/api/resources/organizations/resources/children/types/CreateChildRequestData.d.ts +10 -0
  51. package/dist/cjs/api/resources/organizations/resources/children/types/CreateChildRequestData.js +3 -0
  52. package/dist/cjs/api/resources/organizations/resources/children/types/UpdateChildAttributes.d.ts +21 -0
  53. package/dist/cjs/api/resources/organizations/resources/children/types/UpdateChildAttributes.js +3 -0
  54. package/dist/cjs/api/resources/organizations/resources/children/types/UpdateChildRequestBody.d.ts +8 -0
  55. package/dist/cjs/api/resources/organizations/resources/children/types/UpdateChildRequestBody.js +3 -0
  56. package/dist/cjs/api/resources/organizations/resources/children/types/UpdateChildRequestData.d.ts +10 -0
  57. package/dist/cjs/api/resources/organizations/resources/children/types/UpdateChildRequestData.js +3 -0
  58. package/dist/cjs/api/resources/organizations/resources/children/types/index.d.ts +7 -0
  59. package/dist/cjs/api/resources/organizations/resources/children/types/index.js +23 -0
  60. package/dist/cjs/api/resources/organizations/resources/index.d.ts +6 -0
  61. package/dist/cjs/api/resources/organizations/resources/index.js +45 -0
  62. package/dist/cjs/api/resources/organizations/resources/placements/client/Client.d.ts +131 -0
  63. package/dist/cjs/api/resources/organizations/resources/placements/client/Client.js +409 -0
  64. package/dist/cjs/api/resources/organizations/resources/placements/client/index.d.ts +1 -0
  65. package/dist/cjs/api/resources/organizations/resources/placements/client/index.js +17 -0
  66. package/dist/cjs/api/resources/organizations/resources/placements/client/requests/ListPlacementsRequest.d.ts +10 -0
  67. package/dist/cjs/api/resources/organizations/resources/placements/client/requests/ListPlacementsRequest.js +3 -0
  68. package/dist/cjs/api/resources/organizations/resources/placements/client/requests/index.d.ts +1 -0
  69. package/dist/cjs/api/resources/organizations/resources/placements/client/requests/index.js +2 -0
  70. package/dist/cjs/api/resources/organizations/resources/placements/exports.d.ts +2 -0
  71. package/dist/cjs/api/resources/organizations/resources/placements/exports.js +21 -0
  72. package/dist/cjs/api/resources/organizations/resources/placements/index.d.ts +2 -0
  73. package/dist/cjs/api/resources/organizations/resources/placements/index.js +18 -0
  74. package/dist/cjs/api/resources/organizations/resources/placements/types/Cadence.d.ts +14 -0
  75. package/dist/cjs/api/resources/organizations/resources/placements/types/Cadence.js +3 -0
  76. package/dist/cjs/api/resources/organizations/resources/placements/types/CadenceFrequency.d.ts +7 -0
  77. package/dist/cjs/api/resources/organizations/resources/placements/types/CadenceFrequency.js +10 -0
  78. package/dist/cjs/api/resources/organizations/resources/placements/types/CreateMainPageAttributes.d.ts +15 -0
  79. package/dist/cjs/api/resources/organizations/resources/placements/types/CreateMainPageAttributes.js +3 -0
  80. package/dist/cjs/api/resources/organizations/resources/placements/types/CreateMainPagePlacementData.d.ts +8 -0
  81. package/dist/cjs/api/resources/organizations/resources/placements/types/CreateMainPagePlacementData.js +3 -0
  82. package/dist/cjs/api/resources/organizations/resources/placements/types/CreatePlacementDataUnion.d.ts +13 -0
  83. package/dist/cjs/api/resources/organizations/resources/placements/types/CreatePlacementDataUnion.js +3 -0
  84. package/dist/cjs/api/resources/organizations/resources/placements/types/CreatePlacementRequestBody.d.ts +33 -0
  85. package/dist/cjs/api/resources/organizations/resources/placements/types/CreatePlacementRequestBody.js +3 -0
  86. package/dist/cjs/api/resources/organizations/resources/placements/types/CreatePushNotificationAttributes.d.ts +19 -0
  87. package/dist/cjs/api/resources/organizations/resources/placements/types/CreatePushNotificationAttributes.js +3 -0
  88. package/dist/cjs/api/resources/organizations/resources/placements/types/CreatePushNotificationPlacementData.d.ts +8 -0
  89. package/dist/cjs/api/resources/organizations/resources/placements/types/CreatePushNotificationPlacementData.js +3 -0
  90. package/dist/cjs/api/resources/organizations/resources/placements/types/DayOfWeek.d.ts +11 -0
  91. package/dist/cjs/api/resources/organizations/resources/placements/types/DayOfWeek.js +14 -0
  92. package/dist/cjs/api/resources/organizations/resources/placements/types/MainPagePlacementAttributes.d.ts +15 -0
  93. package/dist/cjs/api/resources/organizations/resources/placements/types/MainPagePlacementAttributes.js +3 -0
  94. package/dist/cjs/api/resources/organizations/resources/placements/types/MainPagePlacementData.d.ts +9 -0
  95. package/dist/cjs/api/resources/organizations/resources/placements/types/MainPagePlacementData.js +3 -0
  96. package/dist/cjs/api/resources/organizations/resources/placements/types/PlacementFormatUnion.d.ts +42 -0
  97. package/dist/cjs/api/resources/organizations/resources/placements/types/PlacementFormatUnion.js +3 -0
  98. package/dist/cjs/api/resources/organizations/resources/placements/types/PlacementListResponse.d.ts +11 -0
  99. package/dist/cjs/api/resources/organizations/resources/placements/types/PlacementListResponse.js +3 -0
  100. package/dist/cjs/api/resources/organizations/resources/placements/types/PushNotificationPlacementAttributes.d.ts +16 -0
  101. package/dist/cjs/api/resources/organizations/resources/placements/types/PushNotificationPlacementAttributes.js +3 -0
  102. package/dist/cjs/api/resources/organizations/resources/placements/types/PushNotificationPlacementData.d.ts +9 -0
  103. package/dist/cjs/api/resources/organizations/resources/placements/types/PushNotificationPlacementData.js +3 -0
  104. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdateMainPageAttributes.d.ts +15 -0
  105. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdateMainPageAttributes.js +3 -0
  106. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdateMainPagePlacementData.d.ts +8 -0
  107. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdateMainPagePlacementData.js +3 -0
  108. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdatePlacementDataUnion.d.ts +13 -0
  109. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdatePlacementDataUnion.js +3 -0
  110. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdatePlacementRequestBody.d.ts +8 -0
  111. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdatePlacementRequestBody.js +3 -0
  112. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdatePushNotificationAttributes.d.ts +20 -0
  113. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdatePushNotificationAttributes.js +3 -0
  114. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdatePushNotificationPlacementData.d.ts +8 -0
  115. package/dist/cjs/api/resources/organizations/resources/placements/types/UpdatePushNotificationPlacementData.js +3 -0
  116. package/dist/cjs/api/resources/organizations/resources/placements/types/index.d.ts +21 -0
  117. package/dist/cjs/api/resources/organizations/resources/placements/types/index.js +37 -0
  118. package/dist/cjs/api/resources/organizations/types/ExternalOrganizationAttributes.d.ts +30 -0
  119. package/dist/cjs/api/resources/organizations/types/ExternalOrganizationAttributes.js +3 -0
  120. package/dist/cjs/api/resources/organizations/types/ExternalOrganizationResponse.d.ts +10 -0
  121. package/dist/cjs/api/resources/organizations/types/ExternalOrganizationResponse.js +3 -0
  122. package/dist/cjs/api/resources/organizations/types/index.d.ts +2 -0
  123. package/dist/cjs/api/resources/organizations/types/index.js +18 -0
  124. package/dist/cjs/api/resources/users/resources/rewards/client/Client.d.ts +21 -0
  125. package/dist/cjs/api/resources/users/resources/rewards/client/Client.js +75 -0
  126. package/dist/cjs/api/resources/users/resources/rewards/client/requests/GetOffersByPlacementRequest.d.ts +16 -0
  127. package/dist/cjs/api/resources/users/resources/rewards/client/requests/GetOffersByPlacementRequest.js +3 -0
  128. package/dist/cjs/api/resources/users/resources/rewards/client/requests/index.d.ts +1 -0
  129. package/dist/cjs/version.d.ts +1 -1
  130. package/dist/cjs/version.js +1 -1
  131. package/dist/esm/BaseClient.mjs +2 -2
  132. package/dist/esm/Client.d.mts +3 -0
  133. package/dist/esm/Client.mjs +5 -0
  134. package/dist/esm/api/resources/index.d.mts +4 -0
  135. package/dist/esm/api/resources/index.mjs +4 -0
  136. package/dist/esm/api/resources/internalOrganizations/exports.d.mts +1 -0
  137. package/dist/esm/api/resources/internalOrganizations/exports.mjs +2 -0
  138. package/dist/esm/api/resources/internalOrganizations/index.d.mts +1 -0
  139. package/dist/esm/api/resources/internalOrganizations/index.mjs +1 -0
  140. package/dist/esm/api/resources/internalOrganizations/types/DeleteResourceData.d.mts +11 -0
  141. package/dist/esm/api/resources/internalOrganizations/types/DeleteResourceData.mjs +2 -0
  142. package/dist/esm/api/resources/internalOrganizations/types/DeleteResourceResponse.d.mts +7 -0
  143. package/dist/esm/api/resources/internalOrganizations/types/DeleteResourceResponse.mjs +2 -0
  144. package/dist/esm/api/resources/internalOrganizations/types/EnrolledReward.d.mts +6 -0
  145. package/dist/esm/api/resources/internalOrganizations/types/EnrolledReward.mjs +6 -0
  146. package/dist/esm/api/resources/internalOrganizations/types/MerchantNetwork.d.mts +10 -0
  147. package/dist/esm/api/resources/internalOrganizations/types/MerchantNetwork.mjs +2 -0
  148. package/dist/esm/api/resources/internalOrganizations/types/MerchantNetworkName.d.mts +11 -0
  149. package/dist/esm/api/resources/internalOrganizations/types/MerchantNetworkName.mjs +11 -0
  150. package/dist/esm/api/resources/internalOrganizations/types/OrganizationPaginationMetadata.d.mts +9 -0
  151. package/dist/esm/api/resources/internalOrganizations/types/OrganizationPaginationMetadata.mjs +2 -0
  152. package/dist/esm/api/resources/internalOrganizations/types/index.d.mts +6 -0
  153. package/dist/esm/api/resources/internalOrganizations/types/index.mjs +6 -0
  154. package/dist/esm/api/resources/organizations/client/Client.d.mts +35 -0
  155. package/dist/esm/api/resources/organizations/client/Client.mjs +89 -0
  156. package/dist/esm/api/resources/organizations/client/index.d.mts +1 -0
  157. package/dist/esm/api/resources/organizations/client/index.mjs +1 -0
  158. package/dist/esm/api/resources/organizations/exports.d.mts +3 -0
  159. package/dist/esm/api/resources/organizations/exports.mjs +4 -0
  160. package/dist/esm/api/resources/organizations/index.d.mts +3 -0
  161. package/dist/esm/api/resources/organizations/index.mjs +3 -0
  162. package/dist/esm/api/resources/organizations/resources/children/client/Client.d.mts +113 -0
  163. package/dist/esm/api/resources/organizations/resources/children/client/Client.mjs +345 -0
  164. package/dist/esm/api/resources/organizations/resources/children/client/index.d.mts +1 -0
  165. package/dist/esm/api/resources/organizations/resources/children/client/index.mjs +1 -0
  166. package/dist/esm/api/resources/organizations/resources/children/client/requests/ListChildrenRequest.d.mts +10 -0
  167. package/dist/esm/api/resources/organizations/resources/children/client/requests/ListChildrenRequest.mjs +2 -0
  168. package/dist/esm/api/resources/organizations/resources/children/client/requests/index.d.mts +1 -0
  169. package/dist/esm/api/resources/organizations/resources/children/client/requests/index.mjs +1 -0
  170. package/dist/esm/api/resources/organizations/resources/children/exports.d.mts +2 -0
  171. package/dist/esm/api/resources/organizations/resources/children/exports.mjs +3 -0
  172. package/dist/esm/api/resources/organizations/resources/children/index.d.mts +2 -0
  173. package/dist/esm/api/resources/organizations/resources/children/index.mjs +2 -0
  174. package/dist/esm/api/resources/organizations/resources/children/types/ChildOrganizationListResponse.d.mts +11 -0
  175. package/dist/esm/api/resources/organizations/resources/children/types/ChildOrganizationListResponse.mjs +2 -0
  176. package/dist/esm/api/resources/organizations/resources/children/types/CreateChildAttributes.d.mts +18 -0
  177. package/dist/esm/api/resources/organizations/resources/children/types/CreateChildAttributes.mjs +2 -0
  178. package/dist/esm/api/resources/organizations/resources/children/types/CreateChildRequestBody.d.mts +8 -0
  179. package/dist/esm/api/resources/organizations/resources/children/types/CreateChildRequestBody.mjs +2 -0
  180. package/dist/esm/api/resources/organizations/resources/children/types/CreateChildRequestData.d.mts +10 -0
  181. package/dist/esm/api/resources/organizations/resources/children/types/CreateChildRequestData.mjs +2 -0
  182. package/dist/esm/api/resources/organizations/resources/children/types/UpdateChildAttributes.d.mts +21 -0
  183. package/dist/esm/api/resources/organizations/resources/children/types/UpdateChildAttributes.mjs +2 -0
  184. package/dist/esm/api/resources/organizations/resources/children/types/UpdateChildRequestBody.d.mts +8 -0
  185. package/dist/esm/api/resources/organizations/resources/children/types/UpdateChildRequestBody.mjs +2 -0
  186. package/dist/esm/api/resources/organizations/resources/children/types/UpdateChildRequestData.d.mts +10 -0
  187. package/dist/esm/api/resources/organizations/resources/children/types/UpdateChildRequestData.mjs +2 -0
  188. package/dist/esm/api/resources/organizations/resources/children/types/index.d.mts +7 -0
  189. package/dist/esm/api/resources/organizations/resources/children/types/index.mjs +7 -0
  190. package/dist/esm/api/resources/organizations/resources/index.d.mts +6 -0
  191. package/dist/esm/api/resources/organizations/resources/index.mjs +6 -0
  192. package/dist/esm/api/resources/organizations/resources/placements/client/Client.d.mts +131 -0
  193. package/dist/esm/api/resources/organizations/resources/placements/client/Client.mjs +372 -0
  194. package/dist/esm/api/resources/organizations/resources/placements/client/index.d.mts +1 -0
  195. package/dist/esm/api/resources/organizations/resources/placements/client/index.mjs +1 -0
  196. package/dist/esm/api/resources/organizations/resources/placements/client/requests/ListPlacementsRequest.d.mts +10 -0
  197. package/dist/esm/api/resources/organizations/resources/placements/client/requests/ListPlacementsRequest.mjs +2 -0
  198. package/dist/esm/api/resources/organizations/resources/placements/client/requests/index.d.mts +1 -0
  199. package/dist/esm/api/resources/organizations/resources/placements/client/requests/index.mjs +1 -0
  200. package/dist/esm/api/resources/organizations/resources/placements/exports.d.mts +2 -0
  201. package/dist/esm/api/resources/organizations/resources/placements/exports.mjs +3 -0
  202. package/dist/esm/api/resources/organizations/resources/placements/index.d.mts +2 -0
  203. package/dist/esm/api/resources/organizations/resources/placements/index.mjs +2 -0
  204. package/dist/esm/api/resources/organizations/resources/placements/types/Cadence.d.mts +14 -0
  205. package/dist/esm/api/resources/organizations/resources/placements/types/Cadence.mjs +2 -0
  206. package/dist/esm/api/resources/organizations/resources/placements/types/CadenceFrequency.d.mts +7 -0
  207. package/dist/esm/api/resources/organizations/resources/placements/types/CadenceFrequency.mjs +7 -0
  208. package/dist/esm/api/resources/organizations/resources/placements/types/CreateMainPageAttributes.d.mts +15 -0
  209. package/dist/esm/api/resources/organizations/resources/placements/types/CreateMainPageAttributes.mjs +2 -0
  210. package/dist/esm/api/resources/organizations/resources/placements/types/CreateMainPagePlacementData.d.mts +8 -0
  211. package/dist/esm/api/resources/organizations/resources/placements/types/CreateMainPagePlacementData.mjs +2 -0
  212. package/dist/esm/api/resources/organizations/resources/placements/types/CreatePlacementDataUnion.d.mts +13 -0
  213. package/dist/esm/api/resources/organizations/resources/placements/types/CreatePlacementDataUnion.mjs +2 -0
  214. package/dist/esm/api/resources/organizations/resources/placements/types/CreatePlacementRequestBody.d.mts +33 -0
  215. package/dist/esm/api/resources/organizations/resources/placements/types/CreatePlacementRequestBody.mjs +2 -0
  216. package/dist/esm/api/resources/organizations/resources/placements/types/CreatePushNotificationAttributes.d.mts +19 -0
  217. package/dist/esm/api/resources/organizations/resources/placements/types/CreatePushNotificationAttributes.mjs +2 -0
  218. package/dist/esm/api/resources/organizations/resources/placements/types/CreatePushNotificationPlacementData.d.mts +8 -0
  219. package/dist/esm/api/resources/organizations/resources/placements/types/CreatePushNotificationPlacementData.mjs +2 -0
  220. package/dist/esm/api/resources/organizations/resources/placements/types/DayOfWeek.d.mts +11 -0
  221. package/dist/esm/api/resources/organizations/resources/placements/types/DayOfWeek.mjs +11 -0
  222. package/dist/esm/api/resources/organizations/resources/placements/types/MainPagePlacementAttributes.d.mts +15 -0
  223. package/dist/esm/api/resources/organizations/resources/placements/types/MainPagePlacementAttributes.mjs +2 -0
  224. package/dist/esm/api/resources/organizations/resources/placements/types/MainPagePlacementData.d.mts +9 -0
  225. package/dist/esm/api/resources/organizations/resources/placements/types/MainPagePlacementData.mjs +2 -0
  226. package/dist/esm/api/resources/organizations/resources/placements/types/PlacementFormatUnion.d.mts +42 -0
  227. package/dist/esm/api/resources/organizations/resources/placements/types/PlacementFormatUnion.mjs +2 -0
  228. package/dist/esm/api/resources/organizations/resources/placements/types/PlacementListResponse.d.mts +11 -0
  229. package/dist/esm/api/resources/organizations/resources/placements/types/PlacementListResponse.mjs +2 -0
  230. package/dist/esm/api/resources/organizations/resources/placements/types/PushNotificationPlacementAttributes.d.mts +16 -0
  231. package/dist/esm/api/resources/organizations/resources/placements/types/PushNotificationPlacementAttributes.mjs +2 -0
  232. package/dist/esm/api/resources/organizations/resources/placements/types/PushNotificationPlacementData.d.mts +9 -0
  233. package/dist/esm/api/resources/organizations/resources/placements/types/PushNotificationPlacementData.mjs +2 -0
  234. package/dist/esm/api/resources/organizations/resources/placements/types/UpdateMainPageAttributes.d.mts +15 -0
  235. package/dist/esm/api/resources/organizations/resources/placements/types/UpdateMainPageAttributes.mjs +2 -0
  236. package/dist/esm/api/resources/organizations/resources/placements/types/UpdateMainPagePlacementData.d.mts +8 -0
  237. package/dist/esm/api/resources/organizations/resources/placements/types/UpdateMainPagePlacementData.mjs +2 -0
  238. package/dist/esm/api/resources/organizations/resources/placements/types/UpdatePlacementDataUnion.d.mts +13 -0
  239. package/dist/esm/api/resources/organizations/resources/placements/types/UpdatePlacementDataUnion.mjs +2 -0
  240. package/dist/esm/api/resources/organizations/resources/placements/types/UpdatePlacementRequestBody.d.mts +8 -0
  241. package/dist/esm/api/resources/organizations/resources/placements/types/UpdatePlacementRequestBody.mjs +2 -0
  242. package/dist/esm/api/resources/organizations/resources/placements/types/UpdatePushNotificationAttributes.d.mts +20 -0
  243. package/dist/esm/api/resources/organizations/resources/placements/types/UpdatePushNotificationAttributes.mjs +2 -0
  244. package/dist/esm/api/resources/organizations/resources/placements/types/UpdatePushNotificationPlacementData.d.mts +8 -0
  245. package/dist/esm/api/resources/organizations/resources/placements/types/UpdatePushNotificationPlacementData.mjs +2 -0
  246. package/dist/esm/api/resources/organizations/resources/placements/types/index.d.mts +21 -0
  247. package/dist/esm/api/resources/organizations/resources/placements/types/index.mjs +21 -0
  248. package/dist/esm/api/resources/organizations/types/ExternalOrganizationAttributes.d.mts +30 -0
  249. package/dist/esm/api/resources/organizations/types/ExternalOrganizationAttributes.mjs +2 -0
  250. package/dist/esm/api/resources/organizations/types/ExternalOrganizationResponse.d.mts +10 -0
  251. package/dist/esm/api/resources/organizations/types/ExternalOrganizationResponse.mjs +2 -0
  252. package/dist/esm/api/resources/organizations/types/index.d.mts +2 -0
  253. package/dist/esm/api/resources/organizations/types/index.mjs +2 -0
  254. package/dist/esm/api/resources/users/resources/rewards/client/Client.d.mts +21 -0
  255. package/dist/esm/api/resources/users/resources/rewards/client/Client.mjs +75 -0
  256. package/dist/esm/api/resources/users/resources/rewards/client/requests/GetOffersByPlacementRequest.d.mts +16 -0
  257. package/dist/esm/api/resources/users/resources/rewards/client/requests/GetOffersByPlacementRequest.mjs +2 -0
  258. package/dist/esm/api/resources/users/resources/rewards/client/requests/index.d.mts +1 -0
  259. package/dist/esm/version.d.mts +1 -1
  260. package/dist/esm/version.mjs +1 -1
  261. package/package.json +34 -1
  262. package/reference.md +909 -0
@@ -0,0 +1 @@
1
+ export type { ListPlacementsRequest } from "./ListPlacementsRequest.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { PlacementsClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.PlacementsClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "PlacementsClient", { enumerable: true, get: function () { return Client_js_1.PlacementsClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,14 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Cadence schedule for push notification placements
4
+ */
5
+ export interface Cadence {
6
+ /** Delivery frequency */
7
+ frequency: KardApi.organizations.CadenceFrequency;
8
+ /** Optional time of day in HH:mm format (24-hour, UTC) */
9
+ timeOfDay?: string | undefined;
10
+ /** Day of the week to deliver (used when frequency is WEEKLY, defaults to MON) */
11
+ dayOfWeek?: KardApi.organizations.DayOfWeek | undefined;
12
+ /** Day of the month to deliver, 1-31 (used when frequency is MONTHLY, defaults to 1) */
13
+ dayOfMonth?: number | undefined;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /** How often a push notification placement delivers */
2
+ export declare const CadenceFrequency: {
3
+ readonly Daily: "DAILY";
4
+ readonly Weekly: "WEEKLY";
5
+ readonly Monthly: "MONTHLY";
6
+ };
7
+ export type CadenceFrequency = (typeof CadenceFrequency)[keyof typeof CadenceFrequency];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CadenceFrequency = void 0;
5
+ /** How often a push notification placement delivers */
6
+ exports.CadenceFrequency = {
7
+ Daily: "DAILY",
8
+ Weekly: "WEEKLY",
9
+ Monthly: "MONTHLY",
10
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Attributes for creating a main-page placement
3
+ *
4
+ * @example
5
+ * {
6
+ * name: "Homepage Banner",
7
+ * availableSlots: 5
8
+ * }
9
+ */
10
+ export interface CreateMainPageAttributes {
11
+ /** Name of the placement */
12
+ name: string;
13
+ /** Number of available slots (minimum 1) */
14
+ availableSlots: number;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Data for creating a main-page placement
4
+ */
5
+ export interface CreateMainPagePlacementData {
6
+ /** Main-page placement attributes for creation */
7
+ attributes: KardApi.organizations.CreateMainPageAttributes;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Discriminated union for creating a placement
4
+ */
5
+ export type CreatePlacementDataUnion = KardApi.organizations.CreatePlacementDataUnion.PlacementMainPage | KardApi.organizations.CreatePlacementDataUnion.PlacementPushNotification;
6
+ export declare namespace CreatePlacementDataUnion {
7
+ interface PlacementMainPage extends KardApi.organizations.CreateMainPagePlacementData {
8
+ type: "placementMainPage";
9
+ }
10
+ interface PlacementPushNotification extends KardApi.organizations.CreatePushNotificationPlacementData {
11
+ type: "placementPushNotification";
12
+ }
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Request body for creating a placement
4
+ *
5
+ * @example
6
+ * {
7
+ * data: {
8
+ * type: "placementMainPage",
9
+ * attributes: {
10
+ * name: "Homepage Banner",
11
+ * availableSlots: 5
12
+ * }
13
+ * }
14
+ * }
15
+ *
16
+ * @example
17
+ * {
18
+ * data: {
19
+ * type: "placementPushNotification",
20
+ * attributes: {
21
+ * name: "Daily Deal Alert",
22
+ * cadence: {
23
+ * frequency: KardApi.organizations.CadenceFrequency.Daily,
24
+ * timeOfDay: "09:00"
25
+ * }
26
+ * }
27
+ * }
28
+ * }
29
+ */
30
+ export interface CreatePlacementRequestBody {
31
+ /** Placement data for creation */
32
+ data: KardApi.organizations.CreatePlacementDataUnion;
33
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Attributes for creating a push-notification placement
4
+ *
5
+ * @example
6
+ * {
7
+ * name: "Push Alert",
8
+ * cadence: {
9
+ * frequency: KardApi.organizations.CadenceFrequency.Daily,
10
+ * timeOfDay: "09:00"
11
+ * }
12
+ * }
13
+ */
14
+ export interface CreatePushNotificationAttributes {
15
+ /** Name of the placement */
16
+ name: string;
17
+ /** Delivery cadence for the notification */
18
+ cadence: KardApi.organizations.Cadence;
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Data for creating a push-notification placement
4
+ */
5
+ export interface CreatePushNotificationPlacementData {
6
+ /** Push-notification placement attributes for creation */
7
+ attributes: KardApi.organizations.CreatePushNotificationAttributes;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /** Day of the week (used when frequency is WEEKLY) */
2
+ export declare const DayOfWeek: {
3
+ readonly Mon: "MON";
4
+ readonly Tue: "TUE";
5
+ readonly Wed: "WED";
6
+ readonly Thu: "THU";
7
+ readonly Fri: "FRI";
8
+ readonly Sat: "SAT";
9
+ readonly Sun: "SUN";
10
+ };
11
+ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DayOfWeek = void 0;
5
+ /** Day of the week (used when frequency is WEEKLY) */
6
+ exports.DayOfWeek = {
7
+ Mon: "MON",
8
+ Tue: "TUE",
9
+ Wed: "WED",
10
+ Thu: "THU",
11
+ Fri: "FRI",
12
+ Sat: "SAT",
13
+ Sun: "SUN",
14
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Attributes for a main-page placement
3
+ */
4
+ export interface MainPagePlacementAttributes {
5
+ /** Name of the placement */
6
+ name: string;
7
+ /** ID of the organization this placement belongs to */
8
+ organizationId: string;
9
+ /** Number of available slots */
10
+ availableSlots: number;
11
+ /** When the placement was created (ISO 8601 UTC) */
12
+ createdAt: string;
13
+ /** When the placement was last modified (ISO 8601 UTC) */
14
+ lastModified: string;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Main-page placement resource data
4
+ */
5
+ export interface MainPagePlacementData {
6
+ /** Unique identifier of the placement (UUID v7) */
7
+ id: string;
8
+ attributes: KardApi.organizations.MainPagePlacementAttributes;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,42 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Discriminated union for placement resources keyed on type
4
+ *
5
+ * @example
6
+ * {
7
+ * type: "placementMainPage",
8
+ * id: "01961e5a-b74c-7d42-8456-d3a1f2c90e71",
9
+ * attributes: {
10
+ * name: "Homepage Banner",
11
+ * organizationId: "org-123",
12
+ * availableSlots: 5,
13
+ * createdAt: "2026-04-15T12:00:00Z",
14
+ * lastModified: "2026-04-15T12:00:00Z"
15
+ * }
16
+ * }
17
+ *
18
+ * @example
19
+ * {
20
+ * type: "placementPushNotification",
21
+ * id: "01961e5a-c83d-7a11-9b2e-e7f4a6d81b34",
22
+ * attributes: {
23
+ * name: "Daily Deal Alert",
24
+ * organizationId: "org-123",
25
+ * cadence: {
26
+ * frequency: KardApi.organizations.CadenceFrequency.Daily,
27
+ * timeOfDay: "09:00"
28
+ * },
29
+ * createdAt: "2026-04-15T12:00:00Z",
30
+ * lastModified: "2026-04-15T12:00:00Z"
31
+ * }
32
+ * }
33
+ */
34
+ export type PlacementFormatUnion = KardApi.organizations.PlacementFormatUnion.PlacementMainPage | KardApi.organizations.PlacementFormatUnion.PlacementPushNotification;
35
+ export declare namespace PlacementFormatUnion {
36
+ interface PlacementMainPage extends KardApi.organizations.MainPagePlacementData {
37
+ type: "placementMainPage";
38
+ }
39
+ interface PlacementPushNotification extends KardApi.organizations.PushNotificationPlacementData {
40
+ type: "placementPushNotification";
41
+ }
42
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Paginated list of placements
4
+ */
5
+ export interface PlacementListResponse {
6
+ /** Array of placement resources */
7
+ data: KardApi.organizations.PlacementFormatUnion[];
8
+ links?: KardApi.Links | undefined;
9
+ /** Pagination metadata */
10
+ meta?: KardApi.OrganizationPaginationMetadata | undefined;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Attributes for a push-notification placement
4
+ */
5
+ export interface PushNotificationPlacementAttributes {
6
+ /** Name of the placement */
7
+ name: string;
8
+ /** ID of the organization this placement belongs to */
9
+ organizationId: string;
10
+ /** Delivery cadence for the notification */
11
+ cadence: KardApi.organizations.Cadence;
12
+ /** When the placement was created (ISO 8601 UTC) */
13
+ createdAt: string;
14
+ /** When the placement was last modified (ISO 8601 UTC) */
15
+ lastModified: string;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Push-notification placement resource data
4
+ */
5
+ export interface PushNotificationPlacementData {
6
+ /** Unique identifier of the placement (UUID v7) */
7
+ id: string;
8
+ attributes: KardApi.organizations.PushNotificationPlacementAttributes;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Attributes for updating a main-page placement. All fields are required.
3
+ *
4
+ * @example
5
+ * {
6
+ * name: "Updated Banner",
7
+ * availableSlots: 10
8
+ * }
9
+ */
10
+ export interface UpdateMainPageAttributes {
11
+ /** Name of the placement */
12
+ name: string;
13
+ /** Number of available slots (minimum 1) */
14
+ availableSlots: number;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Data for updating a main-page placement
4
+ */
5
+ export interface UpdateMainPagePlacementData {
6
+ /** Main-page placement attributes for update */
7
+ attributes: KardApi.organizations.UpdateMainPageAttributes;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Discriminated union for updating a placement
4
+ */
5
+ export type UpdatePlacementDataUnion = KardApi.organizations.UpdatePlacementDataUnion.PlacementMainPage | KardApi.organizations.UpdatePlacementDataUnion.PlacementPushNotification;
6
+ export declare namespace UpdatePlacementDataUnion {
7
+ interface PlacementMainPage extends KardApi.organizations.UpdateMainPagePlacementData {
8
+ type: "placementMainPage";
9
+ }
10
+ interface PlacementPushNotification extends KardApi.organizations.UpdatePushNotificationPlacementData {
11
+ type: "placementPushNotification";
12
+ }
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Request body for updating a placement
4
+ */
5
+ export interface UpdatePlacementRequestBody {
6
+ /** Placement data for update */
7
+ data: KardApi.organizations.UpdatePlacementDataUnion;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Attributes for updating a push-notification placement. All fields are required.
4
+ *
5
+ * @example
6
+ * {
7
+ * name: "Updated Alert",
8
+ * cadence: {
9
+ * frequency: KardApi.organizations.CadenceFrequency.Weekly,
10
+ * timeOfDay: "14:00",
11
+ * dayOfWeek: KardApi.organizations.DayOfWeek.Fri
12
+ * }
13
+ * }
14
+ */
15
+ export interface UpdatePushNotificationAttributes {
16
+ /** Name of the placement */
17
+ name: string;
18
+ /** Delivery cadence for the notification */
19
+ cadence: KardApi.organizations.Cadence;
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ /**
3
+ * Data for updating a push-notification placement
4
+ */
5
+ export interface UpdatePushNotificationPlacementData {
6
+ /** Push-notification placement attributes for update */
7
+ attributes: KardApi.organizations.UpdatePushNotificationAttributes;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
1
+ export * from "./Cadence.js";
2
+ export * from "./CadenceFrequency.js";
3
+ export * from "./CreateMainPageAttributes.js";
4
+ export * from "./CreateMainPagePlacementData.js";
5
+ export * from "./CreatePlacementDataUnion.js";
6
+ export * from "./CreatePlacementRequestBody.js";
7
+ export * from "./CreatePushNotificationAttributes.js";
8
+ export * from "./CreatePushNotificationPlacementData.js";
9
+ export * from "./DayOfWeek.js";
10
+ export * from "./MainPagePlacementAttributes.js";
11
+ export * from "./MainPagePlacementData.js";
12
+ export * from "./PlacementFormatUnion.js";
13
+ export * from "./PlacementListResponse.js";
14
+ export * from "./PushNotificationPlacementAttributes.js";
15
+ export * from "./PushNotificationPlacementData.js";
16
+ export * from "./UpdateMainPageAttributes.js";
17
+ export * from "./UpdateMainPagePlacementData.js";
18
+ export * from "./UpdatePlacementDataUnion.js";
19
+ export * from "./UpdatePlacementRequestBody.js";
20
+ export * from "./UpdatePushNotificationAttributes.js";
21
+ export * from "./UpdatePushNotificationPlacementData.js";
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Cadence.js"), exports);
18
+ __exportStar(require("./CadenceFrequency.js"), exports);
19
+ __exportStar(require("./CreateMainPageAttributes.js"), exports);
20
+ __exportStar(require("./CreateMainPagePlacementData.js"), exports);
21
+ __exportStar(require("./CreatePlacementDataUnion.js"), exports);
22
+ __exportStar(require("./CreatePlacementRequestBody.js"), exports);
23
+ __exportStar(require("./CreatePushNotificationAttributes.js"), exports);
24
+ __exportStar(require("./CreatePushNotificationPlacementData.js"), exports);
25
+ __exportStar(require("./DayOfWeek.js"), exports);
26
+ __exportStar(require("./MainPagePlacementAttributes.js"), exports);
27
+ __exportStar(require("./MainPagePlacementData.js"), exports);
28
+ __exportStar(require("./PlacementFormatUnion.js"), exports);
29
+ __exportStar(require("./PlacementListResponse.js"), exports);
30
+ __exportStar(require("./PushNotificationPlacementAttributes.js"), exports);
31
+ __exportStar(require("./PushNotificationPlacementData.js"), exports);
32
+ __exportStar(require("./UpdateMainPageAttributes.js"), exports);
33
+ __exportStar(require("./UpdateMainPagePlacementData.js"), exports);
34
+ __exportStar(require("./UpdatePlacementDataUnion.js"), exports);
35
+ __exportStar(require("./UpdatePlacementRequestBody.js"), exports);
36
+ __exportStar(require("./UpdatePushNotificationAttributes.js"), exports);
37
+ __exportStar(require("./UpdatePushNotificationPlacementData.js"), exports);
@@ -0,0 +1,30 @@
1
+ import type * as KardApi from "../../../index.js";
2
+ /**
3
+ * Limited set of organization attributes exposed to external consumers
4
+ */
5
+ export interface ExternalOrganizationAttributes {
6
+ /** Name of the organization (uppercase, no spaces) */
7
+ name: string;
8
+ /** External identifier for the organization */
9
+ externalId?: string | undefined;
10
+ /** ID of the parent organization */
11
+ parentOrganizationId?: string | undefined;
12
+ /** Rewards programs the organization is enrolled in */
13
+ enrolledRewards: KardApi.EnrolledReward[];
14
+ /** Card networks supported by the organization */
15
+ cardNetworks: KardApi.CardNetwork[];
16
+ /** Merchant networks with priority for the organization */
17
+ merchantNetworks?: KardApi.MerchantNetwork[] | undefined;
18
+ /** Whether national offers are enabled */
19
+ nationalOffers: boolean;
20
+ /** Whether local offers are enabled */
21
+ localOffers: boolean;
22
+ /** Whether attribution tracking is enabled */
23
+ useAttribution: boolean;
24
+ /** Bank Identification Numbers for the organization */
25
+ bins: string[];
26
+ /** When the organization was created (ISO 8601 UTC) */
27
+ createdAt?: string | undefined;
28
+ /** When the organization was last updated (ISO 8601 UTC) */
29
+ updatedAt?: string | undefined;
30
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type * as KardApi from "../../../index.js";
2
+ /**
3
+ * External organization resource response
4
+ */
5
+ export interface ExternalOrganizationResponse {
6
+ type: "organization";
7
+ /** Unique identifier of the organization */
8
+ id: string;
9
+ attributes: KardApi.ExternalOrganizationAttributes;
10
+ }