@kard-financial/sdk 0.0.1

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 (843) hide show
  1. package/README.md +185 -0
  2. package/dist/cjs/Client.d.ts +42 -0
  3. package/dist/cjs/Client.js +37 -0
  4. package/dist/cjs/api/index.d.ts +1 -0
  5. package/dist/cjs/api/index.js +17 -0
  6. package/dist/cjs/api/resources/attributions/client/Client.d.ts +66 -0
  7. package/dist/cjs/api/resources/attributions/client/Client.js +155 -0
  8. package/dist/cjs/api/resources/attributions/client/index.d.ts +1 -0
  9. package/dist/cjs/api/resources/attributions/client/index.js +2 -0
  10. package/dist/cjs/api/resources/attributions/index.d.ts +2 -0
  11. package/dist/cjs/api/resources/attributions/index.js +18 -0
  12. package/dist/cjs/api/resources/attributions/types/CreateAttributionRequestObject.d.ts +35 -0
  13. package/dist/cjs/api/resources/attributions/types/CreateAttributionRequestObject.js +5 -0
  14. package/dist/cjs/api/resources/attributions/types/CreateAttributionRequestUnion.d.ts +13 -0
  15. package/dist/cjs/api/resources/attributions/types/CreateAttributionRequestUnion.js +5 -0
  16. package/dist/cjs/api/resources/attributions/types/CreateAttributionResponse.d.ts +20 -0
  17. package/dist/cjs/api/resources/attributions/types/CreateAttributionResponse.js +5 -0
  18. package/dist/cjs/api/resources/attributions/types/EventCode.d.ts +11 -0
  19. package/dist/cjs/api/resources/attributions/types/EventCode.js +10 -0
  20. package/dist/cjs/api/resources/attributions/types/NotificationAttributionAttributes.d.ts +15 -0
  21. package/dist/cjs/api/resources/attributions/types/NotificationAttributionAttributes.js +5 -0
  22. package/dist/cjs/api/resources/attributions/types/NotificationAttributionRequest.d.ts +7 -0
  23. package/dist/cjs/api/resources/attributions/types/NotificationAttributionRequest.js +5 -0
  24. package/dist/cjs/api/resources/attributions/types/NotificationMedium.d.ts +10 -0
  25. package/dist/cjs/api/resources/attributions/types/NotificationMedium.js +9 -0
  26. package/dist/cjs/api/resources/attributions/types/OfferAttributionAttributes.d.ts +15 -0
  27. package/dist/cjs/api/resources/attributions/types/OfferAttributionAttributes.js +5 -0
  28. package/dist/cjs/api/resources/attributions/types/OfferAttributionRequest.d.ts +7 -0
  29. package/dist/cjs/api/resources/attributions/types/OfferAttributionRequest.js +5 -0
  30. package/dist/cjs/api/resources/attributions/types/OfferMedium.d.ts +12 -0
  31. package/dist/cjs/api/resources/attributions/types/OfferMedium.js +11 -0
  32. package/dist/cjs/api/resources/attributions/types/index.d.ts +10 -0
  33. package/dist/cjs/api/resources/attributions/types/index.js +26 -0
  34. package/dist/cjs/api/resources/commons/errors/ConflictError.d.ts +9 -0
  35. package/dist/cjs/api/resources/commons/errors/ConflictError.js +52 -0
  36. package/dist/cjs/api/resources/commons/errors/DoesNotExistError.d.ts +9 -0
  37. package/dist/cjs/api/resources/commons/errors/DoesNotExistError.js +52 -0
  38. package/dist/cjs/api/resources/commons/errors/InternalServerError.d.ts +9 -0
  39. package/dist/cjs/api/resources/commons/errors/InternalServerError.js +52 -0
  40. package/dist/cjs/api/resources/commons/errors/InvalidRequest.d.ts +9 -0
  41. package/dist/cjs/api/resources/commons/errors/InvalidRequest.js +52 -0
  42. package/dist/cjs/api/resources/commons/errors/UnauthorizedError.d.ts +9 -0
  43. package/dist/cjs/api/resources/commons/errors/UnauthorizedError.js +52 -0
  44. package/dist/cjs/api/resources/commons/errors/index.d.ts +5 -0
  45. package/dist/cjs/api/resources/commons/errors/index.js +21 -0
  46. package/dist/cjs/api/resources/commons/index.d.ts +2 -0
  47. package/dist/cjs/api/resources/commons/index.js +18 -0
  48. package/dist/cjs/api/resources/commons/types/CategoryOption.d.ts +26 -0
  49. package/dist/cjs/api/resources/commons/types/CategoryOption.js +25 -0
  50. package/dist/cjs/api/resources/commons/types/CommissionType.d.ts +11 -0
  51. package/dist/cjs/api/resources/commons/types/CommissionType.js +10 -0
  52. package/dist/cjs/api/resources/commons/types/EmptyObject.d.ts +5 -0
  53. package/dist/cjs/api/resources/commons/types/EmptyObject.js +5 -0
  54. package/dist/cjs/api/resources/commons/types/EnrolledRewardsType.d.ts +10 -0
  55. package/dist/cjs/api/resources/commons/types/EnrolledRewardsType.js +9 -0
  56. package/dist/cjs/api/resources/commons/types/ErrorObject.d.ts +16 -0
  57. package/dist/cjs/api/resources/commons/types/ErrorObject.js +5 -0
  58. package/dist/cjs/api/resources/commons/types/ErrorResponse.d.ts +7 -0
  59. package/dist/cjs/api/resources/commons/types/ErrorResponse.js +5 -0
  60. package/dist/cjs/api/resources/commons/types/ErrorSource.d.ts +11 -0
  61. package/dist/cjs/api/resources/commons/types/ErrorSource.js +5 -0
  62. package/dist/cjs/api/resources/commons/types/Job.d.ts +9 -0
  63. package/dist/cjs/api/resources/commons/types/Job.js +5 -0
  64. package/dist/cjs/api/resources/commons/types/JobResponse.d.ts +10 -0
  65. package/dist/cjs/api/resources/commons/types/JobResponse.js +5 -0
  66. package/dist/cjs/api/resources/commons/types/JobStatus.d.ts +10 -0
  67. package/dist/cjs/api/resources/commons/types/JobStatus.js +9 -0
  68. package/dist/cjs/api/resources/commons/types/Links.d.ts +11 -0
  69. package/dist/cjs/api/resources/commons/types/Links.js +5 -0
  70. package/dist/cjs/api/resources/commons/types/MongoId.d.ts +7 -0
  71. package/dist/cjs/api/resources/commons/types/MongoId.js +5 -0
  72. package/dist/cjs/api/resources/commons/types/OrganizationId.d.ts +7 -0
  73. package/dist/cjs/api/resources/commons/types/OrganizationId.js +5 -0
  74. package/dist/cjs/api/resources/commons/types/PurchaseChannel.d.ts +11 -0
  75. package/dist/cjs/api/resources/commons/types/PurchaseChannel.js +10 -0
  76. package/dist/cjs/api/resources/commons/types/RelationshipData.d.ts +9 -0
  77. package/dist/cjs/api/resources/commons/types/RelationshipData.js +5 -0
  78. package/dist/cjs/api/resources/commons/types/RelationshipMultiple.d.ts +7 -0
  79. package/dist/cjs/api/resources/commons/types/RelationshipMultiple.js +5 -0
  80. package/dist/cjs/api/resources/commons/types/RelationshipSingle.d.ts +7 -0
  81. package/dist/cjs/api/resources/commons/types/RelationshipSingle.js +5 -0
  82. package/dist/cjs/api/resources/commons/types/ResourceType.d.ts +7 -0
  83. package/dist/cjs/api/resources/commons/types/ResourceType.js +5 -0
  84. package/dist/cjs/api/resources/commons/types/State.d.ts +65 -0
  85. package/dist/cjs/api/resources/commons/types/State.js +67 -0
  86. package/dist/cjs/api/resources/commons/types/UserId.d.ts +7 -0
  87. package/dist/cjs/api/resources/commons/types/UserId.js +5 -0
  88. package/dist/cjs/api/resources/commons/types/index.d.ts +20 -0
  89. package/dist/cjs/api/resources/commons/types/index.js +36 -0
  90. package/dist/cjs/api/resources/eligibility/client/Client.d.ts +85 -0
  91. package/dist/cjs/api/resources/eligibility/client/Client.js +317 -0
  92. package/dist/cjs/api/resources/eligibility/client/index.d.ts +1 -0
  93. package/dist/cjs/api/resources/eligibility/client/index.js +17 -0
  94. package/dist/cjs/api/resources/eligibility/client/requests/GetLocationsByUserRequest.d.ts +35 -0
  95. package/dist/cjs/api/resources/eligibility/client/requests/GetLocationsByUserRequest.js +5 -0
  96. package/dist/cjs/api/resources/eligibility/client/requests/GetOffersByUserRequest.d.ts +28 -0
  97. package/dist/cjs/api/resources/eligibility/client/requests/GetOffersByUserRequest.js +5 -0
  98. package/dist/cjs/api/resources/eligibility/client/requests/index.d.ts +2 -0
  99. package/dist/cjs/api/resources/eligibility/client/requests/index.js +2 -0
  100. package/dist/cjs/api/resources/eligibility/index.d.ts +2 -0
  101. package/dist/cjs/api/resources/eligibility/index.js +18 -0
  102. package/dist/cjs/api/resources/eligibility/types/Amount.d.ts +8 -0
  103. package/dist/cjs/api/resources/eligibility/types/Amount.js +5 -0
  104. package/dist/cjs/api/resources/eligibility/types/AmountType.d.ts +7 -0
  105. package/dist/cjs/api/resources/eligibility/types/AmountType.js +9 -0
  106. package/dist/cjs/api/resources/eligibility/types/Asset.d.ts +10 -0
  107. package/dist/cjs/api/resources/eligibility/types/Asset.js +5 -0
  108. package/dist/cjs/api/resources/eligibility/types/CategoryData.d.ts +6 -0
  109. package/dist/cjs/api/resources/eligibility/types/CategoryData.js +5 -0
  110. package/dist/cjs/api/resources/eligibility/types/CategoryFields.d.ts +8 -0
  111. package/dist/cjs/api/resources/eligibility/types/CategoryFields.js +5 -0
  112. package/dist/cjs/api/resources/eligibility/types/CategoryIdentifier.d.ts +8 -0
  113. package/dist/cjs/api/resources/eligibility/types/CategoryIdentifier.js +5 -0
  114. package/dist/cjs/api/resources/eligibility/types/CategoryIncluded.d.ts +7 -0
  115. package/dist/cjs/api/resources/eligibility/types/CategoryIncluded.js +5 -0
  116. package/dist/cjs/api/resources/eligibility/types/CategoryRelationship.d.ts +7 -0
  117. package/dist/cjs/api/resources/eligibility/types/CategoryRelationship.js +5 -0
  118. package/dist/cjs/api/resources/eligibility/types/CategoryRelationshipObject.d.ts +7 -0
  119. package/dist/cjs/api/resources/eligibility/types/CategoryRelationshipObject.js +5 -0
  120. package/dist/cjs/api/resources/eligibility/types/Commission.d.ts +8 -0
  121. package/dist/cjs/api/resources/eligibility/types/Commission.js +5 -0
  122. package/dist/cjs/api/resources/eligibility/types/Coordinates.d.ts +7 -0
  123. package/dist/cjs/api/resources/eligibility/types/Coordinates.js +5 -0
  124. package/dist/cjs/api/resources/eligibility/types/EligibilityLocationAddress.d.ts +9 -0
  125. package/dist/cjs/api/resources/eligibility/types/EligibilityLocationAddress.js +5 -0
  126. package/dist/cjs/api/resources/eligibility/types/EligibilityLocationIncluded.d.ts +5 -0
  127. package/dist/cjs/api/resources/eligibility/types/EligibilityLocationIncluded.js +5 -0
  128. package/dist/cjs/api/resources/eligibility/types/EligibilityOfferIncluded.d.ts +5 -0
  129. package/dist/cjs/api/resources/eligibility/types/EligibilityOfferIncluded.js +5 -0
  130. package/dist/cjs/api/resources/eligibility/types/EligibilityOfferRelationship.d.ts +5 -0
  131. package/dist/cjs/api/resources/eligibility/types/EligibilityOfferRelationship.js +5 -0
  132. package/dist/cjs/api/resources/eligibility/types/LocationAttributes.d.ts +11 -0
  133. package/dist/cjs/api/resources/eligibility/types/LocationAttributes.js +5 -0
  134. package/dist/cjs/api/resources/eligibility/types/LocationData.d.ts +12 -0
  135. package/dist/cjs/api/resources/eligibility/types/LocationData.js +5 -0
  136. package/dist/cjs/api/resources/eligibility/types/LocationRelationships.d.ts +6 -0
  137. package/dist/cjs/api/resources/eligibility/types/LocationRelationships.js +5 -0
  138. package/dist/cjs/api/resources/eligibility/types/LocationSortOptions.d.ts +8 -0
  139. package/dist/cjs/api/resources/eligibility/types/LocationSortOptions.js +10 -0
  140. package/dist/cjs/api/resources/eligibility/types/LocationsResponseObject.d.ts +149 -0
  141. package/dist/cjs/api/resources/eligibility/types/LocationsResponseObject.js +5 -0
  142. package/dist/cjs/api/resources/eligibility/types/OfferCommonFields.d.ts +34 -0
  143. package/dist/cjs/api/resources/eligibility/types/OfferCommonFields.js +5 -0
  144. package/dist/cjs/api/resources/eligibility/types/OfferDataUnion.d.ts +10 -0
  145. package/dist/cjs/api/resources/eligibility/types/OfferDataUnion.js +5 -0
  146. package/dist/cjs/api/resources/eligibility/types/OfferRelationship.d.ts +8 -0
  147. package/dist/cjs/api/resources/eligibility/types/OfferRelationship.js +5 -0
  148. package/dist/cjs/api/resources/eligibility/types/OfferSortOptions.d.ts +12 -0
  149. package/dist/cjs/api/resources/eligibility/types/OfferSortOptions.js +14 -0
  150. package/dist/cjs/api/resources/eligibility/types/OffersResponseObject.d.ts +86 -0
  151. package/dist/cjs/api/resources/eligibility/types/OffersResponseObject.js +5 -0
  152. package/dist/cjs/api/resources/eligibility/types/OperationHours.d.ts +8 -0
  153. package/dist/cjs/api/resources/eligibility/types/OperationHours.js +5 -0
  154. package/dist/cjs/api/resources/eligibility/types/OperationPeriod.d.ts +8 -0
  155. package/dist/cjs/api/resources/eligibility/types/OperationPeriod.js +5 -0
  156. package/dist/cjs/api/resources/eligibility/types/OperationTime.d.ts +7 -0
  157. package/dist/cjs/api/resources/eligibility/types/OperationTime.js +5 -0
  158. package/dist/cjs/api/resources/eligibility/types/StandardOffer.d.ts +7 -0
  159. package/dist/cjs/api/resources/eligibility/types/StandardOffer.js +5 -0
  160. package/dist/cjs/api/resources/eligibility/types/StandardOfferCore.d.ts +9 -0
  161. package/dist/cjs/api/resources/eligibility/types/StandardOfferCore.js +5 -0
  162. package/dist/cjs/api/resources/eligibility/types/StandardOfferFields.d.ts +6 -0
  163. package/dist/cjs/api/resources/eligibility/types/StandardOfferFields.js +5 -0
  164. package/dist/cjs/api/resources/eligibility/types/index.d.ts +31 -0
  165. package/dist/cjs/api/resources/eligibility/types/index.js +47 -0
  166. package/dist/cjs/api/resources/index.d.ts +16 -0
  167. package/dist/cjs/api/resources/index.js +55 -0
  168. package/dist/cjs/api/resources/notifications/client/Client.d.ts +56 -0
  169. package/dist/cjs/api/resources/notifications/client/Client.js +150 -0
  170. package/dist/cjs/api/resources/notifications/client/index.d.ts +1 -0
  171. package/dist/cjs/api/resources/notifications/client/index.js +2 -0
  172. package/dist/cjs/api/resources/notifications/index.d.ts +2 -0
  173. package/dist/cjs/api/resources/notifications/index.js +18 -0
  174. package/dist/cjs/api/resources/notifications/types/AuditUpdateAttributes.d.ts +47 -0
  175. package/dist/cjs/api/resources/notifications/types/AuditUpdateAttributes.js +5 -0
  176. package/dist/cjs/api/resources/notifications/types/AuditUpdateData.d.ts +10 -0
  177. package/dist/cjs/api/resources/notifications/types/AuditUpdateData.js +5 -0
  178. package/dist/cjs/api/resources/notifications/types/AuditUpdateRelationships.d.ts +8 -0
  179. package/dist/cjs/api/resources/notifications/types/AuditUpdateRelationships.js +5 -0
  180. package/dist/cjs/api/resources/notifications/types/BrokerAmount.d.ts +10 -0
  181. package/dist/cjs/api/resources/notifications/types/BrokerAmount.js +5 -0
  182. package/dist/cjs/api/resources/notifications/types/BrokerAmountType.d.ts +7 -0
  183. package/dist/cjs/api/resources/notifications/types/BrokerAmountType.js +9 -0
  184. package/dist/cjs/api/resources/notifications/types/BrokerAsset.d.ts +12 -0
  185. package/dist/cjs/api/resources/notifications/types/BrokerAsset.js +5 -0
  186. package/dist/cjs/api/resources/notifications/types/BrokerAssetType.d.ts +8 -0
  187. package/dist/cjs/api/resources/notifications/types/BrokerAssetType.js +10 -0
  188. package/dist/cjs/api/resources/notifications/types/BrokerOperationHours.d.ts +10 -0
  189. package/dist/cjs/api/resources/notifications/types/BrokerOperationHours.js +5 -0
  190. package/dist/cjs/api/resources/notifications/types/BrokerOperationPeriod.d.ts +10 -0
  191. package/dist/cjs/api/resources/notifications/types/BrokerOperationPeriod.js +5 -0
  192. package/dist/cjs/api/resources/notifications/types/BrokerPurchaseChannel.d.ts +8 -0
  193. package/dist/cjs/api/resources/notifications/types/BrokerPurchaseChannel.js +10 -0
  194. package/dist/cjs/api/resources/notifications/types/BrokerReward.d.ts +10 -0
  195. package/dist/cjs/api/resources/notifications/types/BrokerReward.js +5 -0
  196. package/dist/cjs/api/resources/notifications/types/BrokerRewardType.d.ts +8 -0
  197. package/dist/cjs/api/resources/notifications/types/BrokerRewardType.js +10 -0
  198. package/dist/cjs/api/resources/notifications/types/ClawbackData.d.ts +10 -0
  199. package/dist/cjs/api/resources/notifications/types/ClawbackData.js +5 -0
  200. package/dist/cjs/api/resources/notifications/types/CommissionEarned.d.ts +10 -0
  201. package/dist/cjs/api/resources/notifications/types/CommissionEarned.js +5 -0
  202. package/dist/cjs/api/resources/notifications/types/CommissionEarnedType.d.ts +7 -0
  203. package/dist/cjs/api/resources/notifications/types/CommissionEarnedType.js +9 -0
  204. package/dist/cjs/api/resources/notifications/types/CreateSubscriptionUnion.d.ts +10 -0
  205. package/dist/cjs/api/resources/notifications/types/CreateSubscriptionUnion.js +5 -0
  206. package/dist/cjs/api/resources/notifications/types/CreateSubscriptionsResponseObject.d.ts +21 -0
  207. package/dist/cjs/api/resources/notifications/types/CreateSubscriptionsResponseObject.js +5 -0
  208. package/dist/cjs/api/resources/notifications/types/CreatedSubscription.d.ts +8 -0
  209. package/dist/cjs/api/resources/notifications/types/CreatedSubscription.js +5 -0
  210. package/dist/cjs/api/resources/notifications/types/EarnedRewardApprovedData.d.ts +10 -0
  211. package/dist/cjs/api/resources/notifications/types/EarnedRewardApprovedData.js +5 -0
  212. package/dist/cjs/api/resources/notifications/types/EarnedRewardAttributes.d.ts +6 -0
  213. package/dist/cjs/api/resources/notifications/types/EarnedRewardAttributes.js +5 -0
  214. package/dist/cjs/api/resources/notifications/types/EarnedRewardRelationships.d.ts +8 -0
  215. package/dist/cjs/api/resources/notifications/types/EarnedRewardRelationships.js +5 -0
  216. package/dist/cjs/api/resources/notifications/types/EarnedRewardSettledData.d.ts +10 -0
  217. package/dist/cjs/api/resources/notifications/types/EarnedRewardSettledData.js +5 -0
  218. package/dist/cjs/api/resources/notifications/types/FailedTransactionAttributes.d.ts +13 -0
  219. package/dist/cjs/api/resources/notifications/types/FailedTransactionAttributes.js +5 -0
  220. package/dist/cjs/api/resources/notifications/types/FailedTransactionData.d.ts +10 -0
  221. package/dist/cjs/api/resources/notifications/types/FailedTransactionData.js +5 -0
  222. package/dist/cjs/api/resources/notifications/types/FailedTransactionRelationships.d.ts +9 -0
  223. package/dist/cjs/api/resources/notifications/types/FailedTransactionRelationships.js +5 -0
  224. package/dist/cjs/api/resources/notifications/types/LocationAddress.d.ts +13 -0
  225. package/dist/cjs/api/resources/notifications/types/LocationAddress.js +5 -0
  226. package/dist/cjs/api/resources/notifications/types/LocationCoordinates.d.ts +9 -0
  227. package/dist/cjs/api/resources/notifications/types/LocationCoordinates.js +5 -0
  228. package/dist/cjs/api/resources/notifications/types/NotificationDataUnion.d.ts +37 -0
  229. package/dist/cjs/api/resources/notifications/types/NotificationDataUnion.js +5 -0
  230. package/dist/cjs/api/resources/notifications/types/NotificationPayload.d.ts +445 -0
  231. package/dist/cjs/api/resources/notifications/types/NotificationPayload.js +5 -0
  232. package/dist/cjs/api/resources/notifications/types/NotificationType.d.ts +16 -0
  233. package/dist/cjs/api/resources/notifications/types/NotificationType.js +18 -0
  234. package/dist/cjs/api/resources/notifications/types/OfferStatus.d.ts +10 -0
  235. package/dist/cjs/api/resources/notifications/types/OfferStatus.js +12 -0
  236. package/dist/cjs/api/resources/notifications/types/RewardNotificationAttributes.d.ts +15 -0
  237. package/dist/cjs/api/resources/notifications/types/RewardNotificationAttributes.js +5 -0
  238. package/dist/cjs/api/resources/notifications/types/SubscriptionRequest.d.ts +7 -0
  239. package/dist/cjs/api/resources/notifications/types/SubscriptionRequest.js +5 -0
  240. package/dist/cjs/api/resources/notifications/types/SubscriptionRequestAttributes.d.ts +12 -0
  241. package/dist/cjs/api/resources/notifications/types/SubscriptionRequestAttributes.js +5 -0
  242. package/dist/cjs/api/resources/notifications/types/SubscriptionRequestBody.d.ts +20 -0
  243. package/dist/cjs/api/resources/notifications/types/SubscriptionRequestBody.js +5 -0
  244. package/dist/cjs/api/resources/notifications/types/SubscriptionRequestUnion.d.ts +10 -0
  245. package/dist/cjs/api/resources/notifications/types/SubscriptionRequestUnion.js +5 -0
  246. package/dist/cjs/api/resources/notifications/types/TimePeriod.d.ts +9 -0
  247. package/dist/cjs/api/resources/notifications/types/TimePeriod.js +5 -0
  248. package/dist/cjs/api/resources/notifications/types/TransactionRelationships.d.ts +9 -0
  249. package/dist/cjs/api/resources/notifications/types/TransactionRelationships.js +5 -0
  250. package/dist/cjs/api/resources/notifications/types/UserOfferStatus.d.ts +8 -0
  251. package/dist/cjs/api/resources/notifications/types/UserOfferStatus.js +10 -0
  252. package/dist/cjs/api/resources/notifications/types/ValidTransactionAttributes.d.ts +7 -0
  253. package/dist/cjs/api/resources/notifications/types/ValidTransactionAttributes.js +5 -0
  254. package/dist/cjs/api/resources/notifications/types/ValidTransactionData.d.ts +10 -0
  255. package/dist/cjs/api/resources/notifications/types/ValidTransactionData.js +5 -0
  256. package/dist/cjs/api/resources/notifications/types/WebhookLocationsAttributes.d.ts +16 -0
  257. package/dist/cjs/api/resources/notifications/types/WebhookLocationsAttributes.js +5 -0
  258. package/dist/cjs/api/resources/notifications/types/WebhookLocationsData.d.ts +10 -0
  259. package/dist/cjs/api/resources/notifications/types/WebhookLocationsData.js +5 -0
  260. package/dist/cjs/api/resources/notifications/types/WebhookLocationsRelationships.d.ts +8 -0
  261. package/dist/cjs/api/resources/notifications/types/WebhookLocationsRelationships.js +5 -0
  262. package/dist/cjs/api/resources/notifications/types/WebhookMerchantAttributes.d.ts +17 -0
  263. package/dist/cjs/api/resources/notifications/types/WebhookMerchantAttributes.js +5 -0
  264. package/dist/cjs/api/resources/notifications/types/WebhookMerchantData.d.ts +10 -0
  265. package/dist/cjs/api/resources/notifications/types/WebhookMerchantData.js +5 -0
  266. package/dist/cjs/api/resources/notifications/types/WebhookMerchantRelationships.d.ts +8 -0
  267. package/dist/cjs/api/resources/notifications/types/WebhookMerchantRelationships.js +5 -0
  268. package/dist/cjs/api/resources/notifications/types/WebhookOfferAttributes.d.ts +42 -0
  269. package/dist/cjs/api/resources/notifications/types/WebhookOfferAttributes.js +5 -0
  270. package/dist/cjs/api/resources/notifications/types/WebhookOfferData.d.ts +10 -0
  271. package/dist/cjs/api/resources/notifications/types/WebhookOfferData.js +5 -0
  272. package/dist/cjs/api/resources/notifications/types/WebhookOfferRelationships.d.ts +8 -0
  273. package/dist/cjs/api/resources/notifications/types/WebhookOfferRelationships.js +5 -0
  274. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferAttributes.d.ts +12 -0
  275. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferAttributes.js +5 -0
  276. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferData.d.ts +10 -0
  277. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferData.js +5 -0
  278. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferRelationships.d.ts +8 -0
  279. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferRelationships.js +5 -0
  280. package/dist/cjs/api/resources/notifications/types/index.d.ts +53 -0
  281. package/dist/cjs/api/resources/notifications/types/index.js +69 -0
  282. package/dist/cjs/api/resources/transactions/client/Client.d.ts +127 -0
  283. package/dist/cjs/api/resources/transactions/client/Client.js +220 -0
  284. package/dist/cjs/api/resources/transactions/client/index.d.ts +1 -0
  285. package/dist/cjs/api/resources/transactions/client/index.js +2 -0
  286. package/dist/cjs/api/resources/transactions/errors/CreateIncomingTransactionsMultiStatus.d.ts +9 -0
  287. package/dist/cjs/api/resources/transactions/errors/CreateIncomingTransactionsMultiStatus.js +52 -0
  288. package/dist/cjs/api/resources/transactions/errors/index.d.ts +1 -0
  289. package/dist/cjs/api/resources/transactions/errors/index.js +17 -0
  290. package/dist/cjs/api/resources/transactions/index.d.ts +3 -0
  291. package/dist/cjs/api/resources/transactions/index.js +19 -0
  292. package/dist/cjs/api/resources/transactions/types/AuditStatus.d.ts +9 -0
  293. package/dist/cjs/api/resources/transactions/types/AuditStatus.js +11 -0
  294. package/dist/cjs/api/resources/transactions/types/CardNetwork.d.ts +10 -0
  295. package/dist/cjs/api/resources/transactions/types/CardNetwork.js +12 -0
  296. package/dist/cjs/api/resources/transactions/types/DirectionType.d.ts +8 -0
  297. package/dist/cjs/api/resources/transactions/types/DirectionType.js +10 -0
  298. package/dist/cjs/api/resources/transactions/types/MatchedTransactionsAttributes.d.ts +44 -0
  299. package/dist/cjs/api/resources/transactions/types/MatchedTransactionsAttributes.js +5 -0
  300. package/dist/cjs/api/resources/transactions/types/MatchedTransactionsRequest.d.ts +9 -0
  301. package/dist/cjs/api/resources/transactions/types/MatchedTransactionsRequest.js +5 -0
  302. package/dist/cjs/api/resources/transactions/types/Merchant.d.ts +26 -0
  303. package/dist/cjs/api/resources/transactions/types/Merchant.js +5 -0
  304. package/dist/cjs/api/resources/transactions/types/PaymentType.d.ts +9 -0
  305. package/dist/cjs/api/resources/transactions/types/PaymentType.js +11 -0
  306. package/dist/cjs/api/resources/transactions/types/States.d.ts +65 -0
  307. package/dist/cjs/api/resources/transactions/types/States.js +67 -0
  308. package/dist/cjs/api/resources/transactions/types/TransactionPaymentType.d.ts +7 -0
  309. package/dist/cjs/api/resources/transactions/types/TransactionPaymentType.js +9 -0
  310. package/dist/cjs/api/resources/transactions/types/TransactionStatus.d.ts +11 -0
  311. package/dist/cjs/api/resources/transactions/types/TransactionStatus.js +13 -0
  312. package/dist/cjs/api/resources/transactions/types/Transactions.d.ts +13 -0
  313. package/dist/cjs/api/resources/transactions/types/Transactions.js +5 -0
  314. package/dist/cjs/api/resources/transactions/types/TransactionsAttributes.d.ts +58 -0
  315. package/dist/cjs/api/resources/transactions/types/TransactionsAttributes.js +5 -0
  316. package/dist/cjs/api/resources/transactions/types/TransactionsMultiResponse.d.ts +7 -0
  317. package/dist/cjs/api/resources/transactions/types/TransactionsMultiResponse.js +5 -0
  318. package/dist/cjs/api/resources/transactions/types/TransactionsRequest.d.ts +9 -0
  319. package/dist/cjs/api/resources/transactions/types/TransactionsRequest.js +5 -0
  320. package/dist/cjs/api/resources/transactions/types/TransactionsRequestBody.d.ts +91 -0
  321. package/dist/cjs/api/resources/transactions/types/TransactionsRequestBody.js +5 -0
  322. package/dist/cjs/api/resources/transactions/types/TransactionsResponse.d.ts +20 -0
  323. package/dist/cjs/api/resources/transactions/types/TransactionsResponse.js +5 -0
  324. package/dist/cjs/api/resources/transactions/types/TransactionsResponseData.d.ts +10 -0
  325. package/dist/cjs/api/resources/transactions/types/TransactionsResponseData.js +5 -0
  326. package/dist/cjs/api/resources/transactions/types/index.d.ts +17 -0
  327. package/dist/cjs/api/resources/transactions/types/index.js +33 -0
  328. package/dist/cjs/api/resources/users/client/Client.d.ts +125 -0
  329. package/dist/cjs/api/resources/users/client/Client.js +373 -0
  330. package/dist/cjs/api/resources/users/client/index.d.ts +1 -0
  331. package/dist/cjs/api/resources/users/client/index.js +2 -0
  332. package/dist/cjs/api/resources/users/errors/MultiStatus.d.ts +9 -0
  333. package/dist/cjs/api/resources/users/errors/MultiStatus.js +52 -0
  334. package/dist/cjs/api/resources/users/errors/index.d.ts +1 -0
  335. package/dist/cjs/api/resources/users/errors/index.js +17 -0
  336. package/dist/cjs/api/resources/users/index.d.ts +3 -0
  337. package/dist/cjs/api/resources/users/index.js +19 -0
  338. package/dist/cjs/api/resources/users/types/CreateUsersMultiStatusResponse.d.ts +7 -0
  339. package/dist/cjs/api/resources/users/types/CreateUsersMultiStatusResponse.js +5 -0
  340. package/dist/cjs/api/resources/users/types/CreateUsersObject.d.ts +20 -0
  341. package/dist/cjs/api/resources/users/types/CreateUsersObject.js +5 -0
  342. package/dist/cjs/api/resources/users/types/DeleteUserResponseObject.d.ts +17 -0
  343. package/dist/cjs/api/resources/users/types/DeleteUserResponseObject.js +5 -0
  344. package/dist/cjs/api/resources/users/types/UpdateUserObject.d.ts +20 -0
  345. package/dist/cjs/api/resources/users/types/UpdateUserObject.js +5 -0
  346. package/dist/cjs/api/resources/users/types/UserRequestAttributes.d.ts +10 -0
  347. package/dist/cjs/api/resources/users/types/UserRequestAttributes.js +5 -0
  348. package/dist/cjs/api/resources/users/types/UserRequestData.d.ts +8 -0
  349. package/dist/cjs/api/resources/users/types/UserRequestData.js +5 -0
  350. package/dist/cjs/api/resources/users/types/UserRequestDataUnion.d.ts +10 -0
  351. package/dist/cjs/api/resources/users/types/UserRequestDataUnion.js +5 -0
  352. package/dist/cjs/api/resources/users/types/UserResponseNoData.d.ts +8 -0
  353. package/dist/cjs/api/resources/users/types/UserResponseNoData.js +5 -0
  354. package/dist/cjs/api/resources/users/types/UserResponseUnionNoData.d.ts +10 -0
  355. package/dist/cjs/api/resources/users/types/UserResponseUnionNoData.js +5 -0
  356. package/dist/cjs/api/resources/users/types/index.d.ts +9 -0
  357. package/dist/cjs/api/resources/users/types/index.js +25 -0
  358. package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
  359. package/dist/cjs/core/auth/BasicAuth.js +26 -0
  360. package/dist/cjs/core/auth/BearerToken.d.ts +5 -0
  361. package/dist/cjs/core/auth/BearerToken.js +15 -0
  362. package/dist/cjs/core/auth/index.d.ts +2 -0
  363. package/dist/cjs/core/auth/index.js +7 -0
  364. package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
  365. package/dist/cjs/core/fetcher/APIResponse.js +2 -0
  366. package/dist/cjs/core/fetcher/Fetcher.d.ts +39 -0
  367. package/dist/cjs/core/fetcher/Fetcher.js +107 -0
  368. package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
  369. package/dist/cjs/core/fetcher/Headers.js +84 -0
  370. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
  371. package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
  372. package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
  373. package/dist/cjs/core/fetcher/RawResponse.js +44 -0
  374. package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
  375. package/dist/cjs/core/fetcher/Supplier.js +22 -0
  376. package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
  377. package/dist/cjs/core/fetcher/createRequestUrl.js +12 -0
  378. package/dist/cjs/core/fetcher/getFetchFn.d.ts +4 -0
  379. package/dist/cjs/core/fetcher/getFetchFn.js +68 -0
  380. package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
  381. package/dist/cjs/core/fetcher/getHeader.js +11 -0
  382. package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
  383. package/dist/cjs/core/fetcher/getRequestBody.js +23 -0
  384. package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
  385. package/dist/cjs/core/fetcher/getResponseBody.js +54 -0
  386. package/dist/cjs/core/fetcher/index.d.ts +8 -0
  387. package/dist/cjs/core/fetcher/index.js +15 -0
  388. package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -0
  389. package/dist/cjs/core/fetcher/makeRequest.js +42 -0
  390. package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
  391. package/dist/cjs/core/fetcher/requestWithRetries.js +40 -0
  392. package/dist/cjs/core/fetcher/signals.d.ts +11 -0
  393. package/dist/cjs/core/fetcher/signals.js +36 -0
  394. package/dist/cjs/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  395. package/dist/cjs/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
  396. package/dist/cjs/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
  397. package/dist/cjs/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +126 -0
  398. package/dist/cjs/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  399. package/dist/cjs/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
  400. package/dist/cjs/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
  401. package/dist/cjs/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
  402. package/dist/cjs/core/index.d.ts +3 -0
  403. package/dist/cjs/core/index.js +19 -0
  404. package/dist/cjs/core/json.d.ts +15 -0
  405. package/dist/cjs/core/json.js +24 -0
  406. package/dist/cjs/core/runtime/index.d.ts +1 -0
  407. package/dist/cjs/core/runtime/index.js +5 -0
  408. package/dist/cjs/core/runtime/runtime.d.ts +9 -0
  409. package/dist/cjs/core/runtime/runtime.js +103 -0
  410. package/dist/cjs/environments.d.ts +8 -0
  411. package/dist/cjs/environments.js +10 -0
  412. package/dist/cjs/errors/KardApiError.d.ts +15 -0
  413. package/dist/cjs/errors/KardApiError.js +30 -0
  414. package/dist/cjs/errors/KardApiTimeoutError.d.ts +6 -0
  415. package/dist/cjs/errors/KardApiTimeoutError.js +13 -0
  416. package/dist/cjs/errors/index.d.ts +2 -0
  417. package/dist/cjs/errors/index.js +7 -0
  418. package/dist/cjs/index.d.ts +4 -0
  419. package/dist/cjs/index.js +44 -0
  420. package/dist/cjs/version.d.ts +1 -0
  421. package/dist/cjs/version.js +4 -0
  422. package/dist/esm/Client.d.mts +42 -0
  423. package/dist/esm/Client.mjs +33 -0
  424. package/dist/esm/api/index.d.mts +1 -0
  425. package/dist/esm/api/index.mjs +1 -0
  426. package/dist/esm/api/resources/attributions/client/Client.d.mts +66 -0
  427. package/dist/esm/api/resources/attributions/client/Client.mjs +115 -0
  428. package/dist/esm/api/resources/attributions/client/index.d.mts +1 -0
  429. package/dist/esm/api/resources/attributions/client/index.mjs +1 -0
  430. package/dist/esm/api/resources/attributions/index.d.mts +2 -0
  431. package/dist/esm/api/resources/attributions/index.mjs +2 -0
  432. package/dist/esm/api/resources/attributions/types/CreateAttributionRequestObject.d.mts +35 -0
  433. package/dist/esm/api/resources/attributions/types/CreateAttributionRequestObject.mjs +4 -0
  434. package/dist/esm/api/resources/attributions/types/CreateAttributionRequestUnion.d.mts +13 -0
  435. package/dist/esm/api/resources/attributions/types/CreateAttributionRequestUnion.mjs +4 -0
  436. package/dist/esm/api/resources/attributions/types/CreateAttributionResponse.d.mts +20 -0
  437. package/dist/esm/api/resources/attributions/types/CreateAttributionResponse.mjs +4 -0
  438. package/dist/esm/api/resources/attributions/types/EventCode.d.mts +11 -0
  439. package/dist/esm/api/resources/attributions/types/EventCode.mjs +7 -0
  440. package/dist/esm/api/resources/attributions/types/NotificationAttributionAttributes.d.mts +15 -0
  441. package/dist/esm/api/resources/attributions/types/NotificationAttributionAttributes.mjs +4 -0
  442. package/dist/esm/api/resources/attributions/types/NotificationAttributionRequest.d.mts +7 -0
  443. package/dist/esm/api/resources/attributions/types/NotificationAttributionRequest.mjs +4 -0
  444. package/dist/esm/api/resources/attributions/types/NotificationMedium.d.mts +10 -0
  445. package/dist/esm/api/resources/attributions/types/NotificationMedium.mjs +6 -0
  446. package/dist/esm/api/resources/attributions/types/OfferAttributionAttributes.d.mts +15 -0
  447. package/dist/esm/api/resources/attributions/types/OfferAttributionAttributes.mjs +4 -0
  448. package/dist/esm/api/resources/attributions/types/OfferAttributionRequest.d.mts +7 -0
  449. package/dist/esm/api/resources/attributions/types/OfferAttributionRequest.mjs +4 -0
  450. package/dist/esm/api/resources/attributions/types/OfferMedium.d.mts +12 -0
  451. package/dist/esm/api/resources/attributions/types/OfferMedium.mjs +8 -0
  452. package/dist/esm/api/resources/attributions/types/index.d.mts +10 -0
  453. package/dist/esm/api/resources/attributions/types/index.mjs +10 -0
  454. package/dist/esm/api/resources/commons/errors/ConflictError.d.mts +9 -0
  455. package/dist/esm/api/resources/commons/errors/ConflictError.mjs +15 -0
  456. package/dist/esm/api/resources/commons/errors/DoesNotExistError.d.mts +9 -0
  457. package/dist/esm/api/resources/commons/errors/DoesNotExistError.mjs +15 -0
  458. package/dist/esm/api/resources/commons/errors/InternalServerError.d.mts +9 -0
  459. package/dist/esm/api/resources/commons/errors/InternalServerError.mjs +15 -0
  460. package/dist/esm/api/resources/commons/errors/InvalidRequest.d.mts +9 -0
  461. package/dist/esm/api/resources/commons/errors/InvalidRequest.mjs +15 -0
  462. package/dist/esm/api/resources/commons/errors/UnauthorizedError.d.mts +9 -0
  463. package/dist/esm/api/resources/commons/errors/UnauthorizedError.mjs +15 -0
  464. package/dist/esm/api/resources/commons/errors/index.d.mts +5 -0
  465. package/dist/esm/api/resources/commons/errors/index.mjs +5 -0
  466. package/dist/esm/api/resources/commons/index.d.mts +2 -0
  467. package/dist/esm/api/resources/commons/index.mjs +2 -0
  468. package/dist/esm/api/resources/commons/types/CategoryOption.d.mts +26 -0
  469. package/dist/esm/api/resources/commons/types/CategoryOption.mjs +22 -0
  470. package/dist/esm/api/resources/commons/types/CommissionType.d.mts +11 -0
  471. package/dist/esm/api/resources/commons/types/CommissionType.mjs +7 -0
  472. package/dist/esm/api/resources/commons/types/EmptyObject.d.mts +5 -0
  473. package/dist/esm/api/resources/commons/types/EmptyObject.mjs +4 -0
  474. package/dist/esm/api/resources/commons/types/EnrolledRewardsType.d.mts +10 -0
  475. package/dist/esm/api/resources/commons/types/EnrolledRewardsType.mjs +6 -0
  476. package/dist/esm/api/resources/commons/types/ErrorObject.d.mts +16 -0
  477. package/dist/esm/api/resources/commons/types/ErrorObject.mjs +4 -0
  478. package/dist/esm/api/resources/commons/types/ErrorResponse.d.mts +7 -0
  479. package/dist/esm/api/resources/commons/types/ErrorResponse.mjs +4 -0
  480. package/dist/esm/api/resources/commons/types/ErrorSource.d.mts +11 -0
  481. package/dist/esm/api/resources/commons/types/ErrorSource.mjs +4 -0
  482. package/dist/esm/api/resources/commons/types/Job.d.mts +9 -0
  483. package/dist/esm/api/resources/commons/types/Job.mjs +4 -0
  484. package/dist/esm/api/resources/commons/types/JobResponse.d.mts +10 -0
  485. package/dist/esm/api/resources/commons/types/JobResponse.mjs +4 -0
  486. package/dist/esm/api/resources/commons/types/JobStatus.d.mts +10 -0
  487. package/dist/esm/api/resources/commons/types/JobStatus.mjs +6 -0
  488. package/dist/esm/api/resources/commons/types/Links.d.mts +11 -0
  489. package/dist/esm/api/resources/commons/types/Links.mjs +4 -0
  490. package/dist/esm/api/resources/commons/types/MongoId.d.mts +7 -0
  491. package/dist/esm/api/resources/commons/types/MongoId.mjs +4 -0
  492. package/dist/esm/api/resources/commons/types/OrganizationId.d.mts +7 -0
  493. package/dist/esm/api/resources/commons/types/OrganizationId.mjs +4 -0
  494. package/dist/esm/api/resources/commons/types/PurchaseChannel.d.mts +11 -0
  495. package/dist/esm/api/resources/commons/types/PurchaseChannel.mjs +7 -0
  496. package/dist/esm/api/resources/commons/types/RelationshipData.d.mts +9 -0
  497. package/dist/esm/api/resources/commons/types/RelationshipData.mjs +4 -0
  498. package/dist/esm/api/resources/commons/types/RelationshipMultiple.d.mts +7 -0
  499. package/dist/esm/api/resources/commons/types/RelationshipMultiple.mjs +4 -0
  500. package/dist/esm/api/resources/commons/types/RelationshipSingle.d.mts +7 -0
  501. package/dist/esm/api/resources/commons/types/RelationshipSingle.mjs +4 -0
  502. package/dist/esm/api/resources/commons/types/ResourceType.d.mts +7 -0
  503. package/dist/esm/api/resources/commons/types/ResourceType.mjs +4 -0
  504. package/dist/esm/api/resources/commons/types/State.d.mts +65 -0
  505. package/dist/esm/api/resources/commons/types/State.mjs +64 -0
  506. package/dist/esm/api/resources/commons/types/UserId.d.mts +7 -0
  507. package/dist/esm/api/resources/commons/types/UserId.mjs +4 -0
  508. package/dist/esm/api/resources/commons/types/index.d.mts +20 -0
  509. package/dist/esm/api/resources/commons/types/index.mjs +20 -0
  510. package/dist/esm/api/resources/eligibility/client/Client.d.mts +85 -0
  511. package/dist/esm/api/resources/eligibility/client/Client.mjs +277 -0
  512. package/dist/esm/api/resources/eligibility/client/index.d.mts +1 -0
  513. package/dist/esm/api/resources/eligibility/client/index.mjs +1 -0
  514. package/dist/esm/api/resources/eligibility/client/requests/GetLocationsByUserRequest.d.mts +35 -0
  515. package/dist/esm/api/resources/eligibility/client/requests/GetLocationsByUserRequest.mjs +4 -0
  516. package/dist/esm/api/resources/eligibility/client/requests/GetOffersByUserRequest.d.mts +28 -0
  517. package/dist/esm/api/resources/eligibility/client/requests/GetOffersByUserRequest.mjs +4 -0
  518. package/dist/esm/api/resources/eligibility/client/requests/index.d.mts +2 -0
  519. package/dist/esm/api/resources/eligibility/client/requests/index.mjs +1 -0
  520. package/dist/esm/api/resources/eligibility/index.d.mts +2 -0
  521. package/dist/esm/api/resources/eligibility/index.mjs +2 -0
  522. package/dist/esm/api/resources/eligibility/types/Amount.d.mts +8 -0
  523. package/dist/esm/api/resources/eligibility/types/Amount.mjs +4 -0
  524. package/dist/esm/api/resources/eligibility/types/AmountType.d.mts +7 -0
  525. package/dist/esm/api/resources/eligibility/types/AmountType.mjs +6 -0
  526. package/dist/esm/api/resources/eligibility/types/Asset.d.mts +10 -0
  527. package/dist/esm/api/resources/eligibility/types/Asset.mjs +4 -0
  528. package/dist/esm/api/resources/eligibility/types/CategoryData.d.mts +6 -0
  529. package/dist/esm/api/resources/eligibility/types/CategoryData.mjs +4 -0
  530. package/dist/esm/api/resources/eligibility/types/CategoryFields.d.mts +8 -0
  531. package/dist/esm/api/resources/eligibility/types/CategoryFields.mjs +4 -0
  532. package/dist/esm/api/resources/eligibility/types/CategoryIdentifier.d.mts +8 -0
  533. package/dist/esm/api/resources/eligibility/types/CategoryIdentifier.mjs +4 -0
  534. package/dist/esm/api/resources/eligibility/types/CategoryIncluded.d.mts +7 -0
  535. package/dist/esm/api/resources/eligibility/types/CategoryIncluded.mjs +4 -0
  536. package/dist/esm/api/resources/eligibility/types/CategoryRelationship.d.mts +7 -0
  537. package/dist/esm/api/resources/eligibility/types/CategoryRelationship.mjs +4 -0
  538. package/dist/esm/api/resources/eligibility/types/CategoryRelationshipObject.d.mts +7 -0
  539. package/dist/esm/api/resources/eligibility/types/CategoryRelationshipObject.mjs +4 -0
  540. package/dist/esm/api/resources/eligibility/types/Commission.d.mts +8 -0
  541. package/dist/esm/api/resources/eligibility/types/Commission.mjs +4 -0
  542. package/dist/esm/api/resources/eligibility/types/Coordinates.d.mts +7 -0
  543. package/dist/esm/api/resources/eligibility/types/Coordinates.mjs +4 -0
  544. package/dist/esm/api/resources/eligibility/types/EligibilityLocationAddress.d.mts +9 -0
  545. package/dist/esm/api/resources/eligibility/types/EligibilityLocationAddress.mjs +4 -0
  546. package/dist/esm/api/resources/eligibility/types/EligibilityLocationIncluded.d.mts +5 -0
  547. package/dist/esm/api/resources/eligibility/types/EligibilityLocationIncluded.mjs +4 -0
  548. package/dist/esm/api/resources/eligibility/types/EligibilityOfferIncluded.d.mts +5 -0
  549. package/dist/esm/api/resources/eligibility/types/EligibilityOfferIncluded.mjs +4 -0
  550. package/dist/esm/api/resources/eligibility/types/EligibilityOfferRelationship.d.mts +5 -0
  551. package/dist/esm/api/resources/eligibility/types/EligibilityOfferRelationship.mjs +4 -0
  552. package/dist/esm/api/resources/eligibility/types/LocationAttributes.d.mts +11 -0
  553. package/dist/esm/api/resources/eligibility/types/LocationAttributes.mjs +4 -0
  554. package/dist/esm/api/resources/eligibility/types/LocationData.d.mts +12 -0
  555. package/dist/esm/api/resources/eligibility/types/LocationData.mjs +4 -0
  556. package/dist/esm/api/resources/eligibility/types/LocationRelationships.d.mts +6 -0
  557. package/dist/esm/api/resources/eligibility/types/LocationRelationships.mjs +4 -0
  558. package/dist/esm/api/resources/eligibility/types/LocationSortOptions.d.mts +8 -0
  559. package/dist/esm/api/resources/eligibility/types/LocationSortOptions.mjs +7 -0
  560. package/dist/esm/api/resources/eligibility/types/LocationsResponseObject.d.mts +149 -0
  561. package/dist/esm/api/resources/eligibility/types/LocationsResponseObject.mjs +4 -0
  562. package/dist/esm/api/resources/eligibility/types/OfferCommonFields.d.mts +34 -0
  563. package/dist/esm/api/resources/eligibility/types/OfferCommonFields.mjs +4 -0
  564. package/dist/esm/api/resources/eligibility/types/OfferDataUnion.d.mts +10 -0
  565. package/dist/esm/api/resources/eligibility/types/OfferDataUnion.mjs +4 -0
  566. package/dist/esm/api/resources/eligibility/types/OfferRelationship.d.mts +8 -0
  567. package/dist/esm/api/resources/eligibility/types/OfferRelationship.mjs +4 -0
  568. package/dist/esm/api/resources/eligibility/types/OfferSortOptions.d.mts +12 -0
  569. package/dist/esm/api/resources/eligibility/types/OfferSortOptions.mjs +11 -0
  570. package/dist/esm/api/resources/eligibility/types/OffersResponseObject.d.mts +86 -0
  571. package/dist/esm/api/resources/eligibility/types/OffersResponseObject.mjs +4 -0
  572. package/dist/esm/api/resources/eligibility/types/OperationHours.d.mts +8 -0
  573. package/dist/esm/api/resources/eligibility/types/OperationHours.mjs +4 -0
  574. package/dist/esm/api/resources/eligibility/types/OperationPeriod.d.mts +8 -0
  575. package/dist/esm/api/resources/eligibility/types/OperationPeriod.mjs +4 -0
  576. package/dist/esm/api/resources/eligibility/types/OperationTime.d.mts +7 -0
  577. package/dist/esm/api/resources/eligibility/types/OperationTime.mjs +4 -0
  578. package/dist/esm/api/resources/eligibility/types/StandardOffer.d.mts +7 -0
  579. package/dist/esm/api/resources/eligibility/types/StandardOffer.mjs +4 -0
  580. package/dist/esm/api/resources/eligibility/types/StandardOfferCore.d.mts +9 -0
  581. package/dist/esm/api/resources/eligibility/types/StandardOfferCore.mjs +4 -0
  582. package/dist/esm/api/resources/eligibility/types/StandardOfferFields.d.mts +6 -0
  583. package/dist/esm/api/resources/eligibility/types/StandardOfferFields.mjs +4 -0
  584. package/dist/esm/api/resources/eligibility/types/index.d.mts +31 -0
  585. package/dist/esm/api/resources/eligibility/types/index.mjs +31 -0
  586. package/dist/esm/api/resources/index.d.mts +16 -0
  587. package/dist/esm/api/resources/index.mjs +16 -0
  588. package/dist/esm/api/resources/notifications/client/Client.d.mts +56 -0
  589. package/dist/esm/api/resources/notifications/client/Client.mjs +110 -0
  590. package/dist/esm/api/resources/notifications/client/index.d.mts +1 -0
  591. package/dist/esm/api/resources/notifications/client/index.mjs +1 -0
  592. package/dist/esm/api/resources/notifications/index.d.mts +2 -0
  593. package/dist/esm/api/resources/notifications/index.mjs +2 -0
  594. package/dist/esm/api/resources/notifications/types/AuditUpdateAttributes.d.mts +47 -0
  595. package/dist/esm/api/resources/notifications/types/AuditUpdateAttributes.mjs +4 -0
  596. package/dist/esm/api/resources/notifications/types/AuditUpdateData.d.mts +10 -0
  597. package/dist/esm/api/resources/notifications/types/AuditUpdateData.mjs +4 -0
  598. package/dist/esm/api/resources/notifications/types/AuditUpdateRelationships.d.mts +8 -0
  599. package/dist/esm/api/resources/notifications/types/AuditUpdateRelationships.mjs +4 -0
  600. package/dist/esm/api/resources/notifications/types/BrokerAmount.d.mts +10 -0
  601. package/dist/esm/api/resources/notifications/types/BrokerAmount.mjs +4 -0
  602. package/dist/esm/api/resources/notifications/types/BrokerAmountType.d.mts +7 -0
  603. package/dist/esm/api/resources/notifications/types/BrokerAmountType.mjs +6 -0
  604. package/dist/esm/api/resources/notifications/types/BrokerAsset.d.mts +12 -0
  605. package/dist/esm/api/resources/notifications/types/BrokerAsset.mjs +4 -0
  606. package/dist/esm/api/resources/notifications/types/BrokerAssetType.d.mts +8 -0
  607. package/dist/esm/api/resources/notifications/types/BrokerAssetType.mjs +7 -0
  608. package/dist/esm/api/resources/notifications/types/BrokerOperationHours.d.mts +10 -0
  609. package/dist/esm/api/resources/notifications/types/BrokerOperationHours.mjs +4 -0
  610. package/dist/esm/api/resources/notifications/types/BrokerOperationPeriod.d.mts +10 -0
  611. package/dist/esm/api/resources/notifications/types/BrokerOperationPeriod.mjs +4 -0
  612. package/dist/esm/api/resources/notifications/types/BrokerPurchaseChannel.d.mts +8 -0
  613. package/dist/esm/api/resources/notifications/types/BrokerPurchaseChannel.mjs +7 -0
  614. package/dist/esm/api/resources/notifications/types/BrokerReward.d.mts +10 -0
  615. package/dist/esm/api/resources/notifications/types/BrokerReward.mjs +4 -0
  616. package/dist/esm/api/resources/notifications/types/BrokerRewardType.d.mts +8 -0
  617. package/dist/esm/api/resources/notifications/types/BrokerRewardType.mjs +7 -0
  618. package/dist/esm/api/resources/notifications/types/ClawbackData.d.mts +10 -0
  619. package/dist/esm/api/resources/notifications/types/ClawbackData.mjs +4 -0
  620. package/dist/esm/api/resources/notifications/types/CommissionEarned.d.mts +10 -0
  621. package/dist/esm/api/resources/notifications/types/CommissionEarned.mjs +4 -0
  622. package/dist/esm/api/resources/notifications/types/CommissionEarnedType.d.mts +7 -0
  623. package/dist/esm/api/resources/notifications/types/CommissionEarnedType.mjs +6 -0
  624. package/dist/esm/api/resources/notifications/types/CreateSubscriptionUnion.d.mts +10 -0
  625. package/dist/esm/api/resources/notifications/types/CreateSubscriptionUnion.mjs +4 -0
  626. package/dist/esm/api/resources/notifications/types/CreateSubscriptionsResponseObject.d.mts +21 -0
  627. package/dist/esm/api/resources/notifications/types/CreateSubscriptionsResponseObject.mjs +4 -0
  628. package/dist/esm/api/resources/notifications/types/CreatedSubscription.d.mts +8 -0
  629. package/dist/esm/api/resources/notifications/types/CreatedSubscription.mjs +4 -0
  630. package/dist/esm/api/resources/notifications/types/EarnedRewardApprovedData.d.mts +10 -0
  631. package/dist/esm/api/resources/notifications/types/EarnedRewardApprovedData.mjs +4 -0
  632. package/dist/esm/api/resources/notifications/types/EarnedRewardAttributes.d.mts +6 -0
  633. package/dist/esm/api/resources/notifications/types/EarnedRewardAttributes.mjs +4 -0
  634. package/dist/esm/api/resources/notifications/types/EarnedRewardRelationships.d.mts +8 -0
  635. package/dist/esm/api/resources/notifications/types/EarnedRewardRelationships.mjs +4 -0
  636. package/dist/esm/api/resources/notifications/types/EarnedRewardSettledData.d.mts +10 -0
  637. package/dist/esm/api/resources/notifications/types/EarnedRewardSettledData.mjs +4 -0
  638. package/dist/esm/api/resources/notifications/types/FailedTransactionAttributes.d.mts +13 -0
  639. package/dist/esm/api/resources/notifications/types/FailedTransactionAttributes.mjs +4 -0
  640. package/dist/esm/api/resources/notifications/types/FailedTransactionData.d.mts +10 -0
  641. package/dist/esm/api/resources/notifications/types/FailedTransactionData.mjs +4 -0
  642. package/dist/esm/api/resources/notifications/types/FailedTransactionRelationships.d.mts +9 -0
  643. package/dist/esm/api/resources/notifications/types/FailedTransactionRelationships.mjs +4 -0
  644. package/dist/esm/api/resources/notifications/types/LocationAddress.d.mts +13 -0
  645. package/dist/esm/api/resources/notifications/types/LocationAddress.mjs +4 -0
  646. package/dist/esm/api/resources/notifications/types/LocationCoordinates.d.mts +9 -0
  647. package/dist/esm/api/resources/notifications/types/LocationCoordinates.mjs +4 -0
  648. package/dist/esm/api/resources/notifications/types/NotificationDataUnion.d.mts +37 -0
  649. package/dist/esm/api/resources/notifications/types/NotificationDataUnion.mjs +4 -0
  650. package/dist/esm/api/resources/notifications/types/NotificationPayload.d.mts +445 -0
  651. package/dist/esm/api/resources/notifications/types/NotificationPayload.mjs +4 -0
  652. package/dist/esm/api/resources/notifications/types/NotificationType.d.mts +16 -0
  653. package/dist/esm/api/resources/notifications/types/NotificationType.mjs +15 -0
  654. package/dist/esm/api/resources/notifications/types/OfferStatus.d.mts +10 -0
  655. package/dist/esm/api/resources/notifications/types/OfferStatus.mjs +9 -0
  656. package/dist/esm/api/resources/notifications/types/RewardNotificationAttributes.d.mts +15 -0
  657. package/dist/esm/api/resources/notifications/types/RewardNotificationAttributes.mjs +4 -0
  658. package/dist/esm/api/resources/notifications/types/SubscriptionRequest.d.mts +7 -0
  659. package/dist/esm/api/resources/notifications/types/SubscriptionRequest.mjs +4 -0
  660. package/dist/esm/api/resources/notifications/types/SubscriptionRequestAttributes.d.mts +12 -0
  661. package/dist/esm/api/resources/notifications/types/SubscriptionRequestAttributes.mjs +4 -0
  662. package/dist/esm/api/resources/notifications/types/SubscriptionRequestBody.d.mts +20 -0
  663. package/dist/esm/api/resources/notifications/types/SubscriptionRequestBody.mjs +4 -0
  664. package/dist/esm/api/resources/notifications/types/SubscriptionRequestUnion.d.mts +10 -0
  665. package/dist/esm/api/resources/notifications/types/SubscriptionRequestUnion.mjs +4 -0
  666. package/dist/esm/api/resources/notifications/types/TimePeriod.d.mts +9 -0
  667. package/dist/esm/api/resources/notifications/types/TimePeriod.mjs +4 -0
  668. package/dist/esm/api/resources/notifications/types/TransactionRelationships.d.mts +9 -0
  669. package/dist/esm/api/resources/notifications/types/TransactionRelationships.mjs +4 -0
  670. package/dist/esm/api/resources/notifications/types/UserOfferStatus.d.mts +8 -0
  671. package/dist/esm/api/resources/notifications/types/UserOfferStatus.mjs +7 -0
  672. package/dist/esm/api/resources/notifications/types/ValidTransactionAttributes.d.mts +7 -0
  673. package/dist/esm/api/resources/notifications/types/ValidTransactionAttributes.mjs +4 -0
  674. package/dist/esm/api/resources/notifications/types/ValidTransactionData.d.mts +10 -0
  675. package/dist/esm/api/resources/notifications/types/ValidTransactionData.mjs +4 -0
  676. package/dist/esm/api/resources/notifications/types/WebhookLocationsAttributes.d.mts +16 -0
  677. package/dist/esm/api/resources/notifications/types/WebhookLocationsAttributes.mjs +4 -0
  678. package/dist/esm/api/resources/notifications/types/WebhookLocationsData.d.mts +10 -0
  679. package/dist/esm/api/resources/notifications/types/WebhookLocationsData.mjs +4 -0
  680. package/dist/esm/api/resources/notifications/types/WebhookLocationsRelationships.d.mts +8 -0
  681. package/dist/esm/api/resources/notifications/types/WebhookLocationsRelationships.mjs +4 -0
  682. package/dist/esm/api/resources/notifications/types/WebhookMerchantAttributes.d.mts +17 -0
  683. package/dist/esm/api/resources/notifications/types/WebhookMerchantAttributes.mjs +4 -0
  684. package/dist/esm/api/resources/notifications/types/WebhookMerchantData.d.mts +10 -0
  685. package/dist/esm/api/resources/notifications/types/WebhookMerchantData.mjs +4 -0
  686. package/dist/esm/api/resources/notifications/types/WebhookMerchantRelationships.d.mts +8 -0
  687. package/dist/esm/api/resources/notifications/types/WebhookMerchantRelationships.mjs +4 -0
  688. package/dist/esm/api/resources/notifications/types/WebhookOfferAttributes.d.mts +42 -0
  689. package/dist/esm/api/resources/notifications/types/WebhookOfferAttributes.mjs +4 -0
  690. package/dist/esm/api/resources/notifications/types/WebhookOfferData.d.mts +10 -0
  691. package/dist/esm/api/resources/notifications/types/WebhookOfferData.mjs +4 -0
  692. package/dist/esm/api/resources/notifications/types/WebhookOfferRelationships.d.mts +8 -0
  693. package/dist/esm/api/resources/notifications/types/WebhookOfferRelationships.mjs +4 -0
  694. package/dist/esm/api/resources/notifications/types/WebhookUserOfferAttributes.d.mts +12 -0
  695. package/dist/esm/api/resources/notifications/types/WebhookUserOfferAttributes.mjs +4 -0
  696. package/dist/esm/api/resources/notifications/types/WebhookUserOfferData.d.mts +10 -0
  697. package/dist/esm/api/resources/notifications/types/WebhookUserOfferData.mjs +4 -0
  698. package/dist/esm/api/resources/notifications/types/WebhookUserOfferRelationships.d.mts +8 -0
  699. package/dist/esm/api/resources/notifications/types/WebhookUserOfferRelationships.mjs +4 -0
  700. package/dist/esm/api/resources/notifications/types/index.d.mts +53 -0
  701. package/dist/esm/api/resources/notifications/types/index.mjs +53 -0
  702. package/dist/esm/api/resources/transactions/client/Client.d.mts +127 -0
  703. package/dist/esm/api/resources/transactions/client/Client.mjs +180 -0
  704. package/dist/esm/api/resources/transactions/client/index.d.mts +1 -0
  705. package/dist/esm/api/resources/transactions/client/index.mjs +1 -0
  706. package/dist/esm/api/resources/transactions/errors/CreateIncomingTransactionsMultiStatus.d.mts +9 -0
  707. package/dist/esm/api/resources/transactions/errors/CreateIncomingTransactionsMultiStatus.mjs +15 -0
  708. package/dist/esm/api/resources/transactions/errors/index.d.mts +1 -0
  709. package/dist/esm/api/resources/transactions/errors/index.mjs +1 -0
  710. package/dist/esm/api/resources/transactions/index.d.mts +3 -0
  711. package/dist/esm/api/resources/transactions/index.mjs +3 -0
  712. package/dist/esm/api/resources/transactions/types/AuditStatus.d.mts +9 -0
  713. package/dist/esm/api/resources/transactions/types/AuditStatus.mjs +8 -0
  714. package/dist/esm/api/resources/transactions/types/CardNetwork.d.mts +10 -0
  715. package/dist/esm/api/resources/transactions/types/CardNetwork.mjs +9 -0
  716. package/dist/esm/api/resources/transactions/types/DirectionType.d.mts +8 -0
  717. package/dist/esm/api/resources/transactions/types/DirectionType.mjs +7 -0
  718. package/dist/esm/api/resources/transactions/types/MatchedTransactionsAttributes.d.mts +44 -0
  719. package/dist/esm/api/resources/transactions/types/MatchedTransactionsAttributes.mjs +4 -0
  720. package/dist/esm/api/resources/transactions/types/MatchedTransactionsRequest.d.mts +9 -0
  721. package/dist/esm/api/resources/transactions/types/MatchedTransactionsRequest.mjs +4 -0
  722. package/dist/esm/api/resources/transactions/types/Merchant.d.mts +26 -0
  723. package/dist/esm/api/resources/transactions/types/Merchant.mjs +4 -0
  724. package/dist/esm/api/resources/transactions/types/PaymentType.d.mts +9 -0
  725. package/dist/esm/api/resources/transactions/types/PaymentType.mjs +8 -0
  726. package/dist/esm/api/resources/transactions/types/States.d.mts +65 -0
  727. package/dist/esm/api/resources/transactions/types/States.mjs +64 -0
  728. package/dist/esm/api/resources/transactions/types/TransactionPaymentType.d.mts +7 -0
  729. package/dist/esm/api/resources/transactions/types/TransactionPaymentType.mjs +6 -0
  730. package/dist/esm/api/resources/transactions/types/TransactionStatus.d.mts +11 -0
  731. package/dist/esm/api/resources/transactions/types/TransactionStatus.mjs +10 -0
  732. package/dist/esm/api/resources/transactions/types/Transactions.d.mts +13 -0
  733. package/dist/esm/api/resources/transactions/types/Transactions.mjs +4 -0
  734. package/dist/esm/api/resources/transactions/types/TransactionsAttributes.d.mts +58 -0
  735. package/dist/esm/api/resources/transactions/types/TransactionsAttributes.mjs +4 -0
  736. package/dist/esm/api/resources/transactions/types/TransactionsMultiResponse.d.mts +7 -0
  737. package/dist/esm/api/resources/transactions/types/TransactionsMultiResponse.mjs +4 -0
  738. package/dist/esm/api/resources/transactions/types/TransactionsRequest.d.mts +9 -0
  739. package/dist/esm/api/resources/transactions/types/TransactionsRequest.mjs +4 -0
  740. package/dist/esm/api/resources/transactions/types/TransactionsRequestBody.d.mts +91 -0
  741. package/dist/esm/api/resources/transactions/types/TransactionsRequestBody.mjs +4 -0
  742. package/dist/esm/api/resources/transactions/types/TransactionsResponse.d.mts +20 -0
  743. package/dist/esm/api/resources/transactions/types/TransactionsResponse.mjs +4 -0
  744. package/dist/esm/api/resources/transactions/types/TransactionsResponseData.d.mts +10 -0
  745. package/dist/esm/api/resources/transactions/types/TransactionsResponseData.mjs +4 -0
  746. package/dist/esm/api/resources/transactions/types/index.d.mts +17 -0
  747. package/dist/esm/api/resources/transactions/types/index.mjs +17 -0
  748. package/dist/esm/api/resources/users/client/Client.d.mts +125 -0
  749. package/dist/esm/api/resources/users/client/Client.mjs +333 -0
  750. package/dist/esm/api/resources/users/client/index.d.mts +1 -0
  751. package/dist/esm/api/resources/users/client/index.mjs +1 -0
  752. package/dist/esm/api/resources/users/errors/MultiStatus.d.mts +9 -0
  753. package/dist/esm/api/resources/users/errors/MultiStatus.mjs +15 -0
  754. package/dist/esm/api/resources/users/errors/index.d.mts +1 -0
  755. package/dist/esm/api/resources/users/errors/index.mjs +1 -0
  756. package/dist/esm/api/resources/users/index.d.mts +3 -0
  757. package/dist/esm/api/resources/users/index.mjs +3 -0
  758. package/dist/esm/api/resources/users/types/CreateUsersMultiStatusResponse.d.mts +7 -0
  759. package/dist/esm/api/resources/users/types/CreateUsersMultiStatusResponse.mjs +4 -0
  760. package/dist/esm/api/resources/users/types/CreateUsersObject.d.mts +20 -0
  761. package/dist/esm/api/resources/users/types/CreateUsersObject.mjs +4 -0
  762. package/dist/esm/api/resources/users/types/DeleteUserResponseObject.d.mts +17 -0
  763. package/dist/esm/api/resources/users/types/DeleteUserResponseObject.mjs +4 -0
  764. package/dist/esm/api/resources/users/types/UpdateUserObject.d.mts +20 -0
  765. package/dist/esm/api/resources/users/types/UpdateUserObject.mjs +4 -0
  766. package/dist/esm/api/resources/users/types/UserRequestAttributes.d.mts +10 -0
  767. package/dist/esm/api/resources/users/types/UserRequestAttributes.mjs +4 -0
  768. package/dist/esm/api/resources/users/types/UserRequestData.d.mts +8 -0
  769. package/dist/esm/api/resources/users/types/UserRequestData.mjs +4 -0
  770. package/dist/esm/api/resources/users/types/UserRequestDataUnion.d.mts +10 -0
  771. package/dist/esm/api/resources/users/types/UserRequestDataUnion.mjs +4 -0
  772. package/dist/esm/api/resources/users/types/UserResponseNoData.d.mts +8 -0
  773. package/dist/esm/api/resources/users/types/UserResponseNoData.mjs +4 -0
  774. package/dist/esm/api/resources/users/types/UserResponseUnionNoData.d.mts +10 -0
  775. package/dist/esm/api/resources/users/types/UserResponseUnionNoData.mjs +4 -0
  776. package/dist/esm/api/resources/users/types/index.d.mts +9 -0
  777. package/dist/esm/api/resources/users/types/index.mjs +9 -0
  778. package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
  779. package/dist/esm/core/auth/BasicAuth.mjs +23 -0
  780. package/dist/esm/core/auth/BearerToken.d.mts +5 -0
  781. package/dist/esm/core/auth/BearerToken.mjs +12 -0
  782. package/dist/esm/core/auth/index.d.mts +2 -0
  783. package/dist/esm/core/auth/index.mjs +2 -0
  784. package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
  785. package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
  786. package/dist/esm/core/fetcher/Fetcher.d.mts +39 -0
  787. package/dist/esm/core/fetcher/Fetcher.mjs +103 -0
  788. package/dist/esm/core/fetcher/Headers.d.mts +2 -0
  789. package/dist/esm/core/fetcher/Headers.mjs +82 -0
  790. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
  791. package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
  792. package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
  793. package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
  794. package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
  795. package/dist/esm/core/fetcher/Supplier.mjs +19 -0
  796. package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
  797. package/dist/esm/core/fetcher/createRequestUrl.mjs +6 -0
  798. package/dist/esm/core/fetcher/getFetchFn.d.mts +4 -0
  799. package/dist/esm/core/fetcher/getFetchFn.mjs +32 -0
  800. package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
  801. package/dist/esm/core/fetcher/getHeader.mjs +8 -0
  802. package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
  803. package/dist/esm/core/fetcher/getRequestBody.mjs +20 -0
  804. package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
  805. package/dist/esm/core/fetcher/getResponseBody.mjs +51 -0
  806. package/dist/esm/core/fetcher/index.d.mts +8 -0
  807. package/dist/esm/core/fetcher/index.mjs +5 -0
  808. package/dist/esm/core/fetcher/makeRequest.d.mts +1 -0
  809. package/dist/esm/core/fetcher/makeRequest.mjs +38 -0
  810. package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
  811. package/dist/esm/core/fetcher/requestWithRetries.mjs +37 -0
  812. package/dist/esm/core/fetcher/signals.d.mts +11 -0
  813. package/dist/esm/core/fetcher/signals.mjs +32 -0
  814. package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.mts +30 -0
  815. package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.mjs +243 -0
  816. package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.mts +21 -0
  817. package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.mjs +122 -0
  818. package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.mts +31 -0
  819. package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.mjs +225 -0
  820. package/dist/esm/core/fetcher/stream-wrappers/chooseStreamWrapper.d.mts +18 -0
  821. package/dist/esm/core/fetcher/stream-wrappers/chooseStreamWrapper.mjs +23 -0
  822. package/dist/esm/core/index.d.mts +3 -0
  823. package/dist/esm/core/index.mjs +3 -0
  824. package/dist/esm/core/json.d.mts +15 -0
  825. package/dist/esm/core/json.mjs +19 -0
  826. package/dist/esm/core/runtime/index.d.mts +1 -0
  827. package/dist/esm/core/runtime/index.mjs +1 -0
  828. package/dist/esm/core/runtime/runtime.d.mts +9 -0
  829. package/dist/esm/core/runtime/runtime.mjs +100 -0
  830. package/dist/esm/environments.d.mts +8 -0
  831. package/dist/esm/environments.mjs +7 -0
  832. package/dist/esm/errors/KardApiError.d.mts +15 -0
  833. package/dist/esm/errors/KardApiError.mjs +26 -0
  834. package/dist/esm/errors/KardApiTimeoutError.d.mts +6 -0
  835. package/dist/esm/errors/KardApiTimeoutError.mjs +9 -0
  836. package/dist/esm/errors/index.d.mts +2 -0
  837. package/dist/esm/errors/index.mjs +2 -0
  838. package/dist/esm/index.d.mts +4 -0
  839. package/dist/esm/index.mjs +4 -0
  840. package/dist/esm/version.d.mts +1 -0
  841. package/dist/esm/version.mjs +1 -0
  842. package/package.json +66 -0
  843. package/reference.md +813 -0
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as KardApi from "../../../index.js";
5
+ export interface NotificationAttributionAttributes {
6
+ /** The notification ID */
7
+ entityId: string;
8
+ eventCode: KardApi.EventCode;
9
+ medium: KardApi.NotificationMedium;
10
+ /**
11
+ * The timestamp of the attribution event.
12
+ * Must be in ISO 8601 format (e.g., "2025-01-01T00:00:00Z").
13
+ */
14
+ eventDate: string;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as KardApi from "../../../index.js";
5
+ export interface NotificationAttributionRequest {
6
+ attributes: KardApi.NotificationAttributionAttributes;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Where the notification attribution event is taking place in your rewards experience.
6
+ */
7
+ export type NotificationMedium = "PUSH";
8
+ export declare const NotificationMedium: {
9
+ readonly Push: "PUSH";
10
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.NotificationMedium = void 0;
7
+ exports.NotificationMedium = {
8
+ Push: "PUSH",
9
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as KardApi from "../../../index.js";
5
+ export interface OfferAttributionAttributes {
6
+ /** The offer ID */
7
+ entityId: string;
8
+ eventCode: KardApi.EventCode;
9
+ medium: KardApi.OfferMedium;
10
+ /**
11
+ * The timestamp of the attribution event.
12
+ * Must be in ISO 8601 format (e.g., "2025-01-01T00:00:00Z").
13
+ */
14
+ eventDate: string;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as KardApi from "../../../index.js";
5
+ export interface OfferAttributionRequest {
6
+ attributes: KardApi.OfferAttributionAttributes;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Where the offer attribution event is taking place in your rewards experience.
6
+ */
7
+ export type OfferMedium = "BROWSE" | "MAP" | "SEARCH";
8
+ export declare const OfferMedium: {
9
+ readonly Browse: "BROWSE";
10
+ readonly Map: "MAP";
11
+ readonly Search: "SEARCH";
12
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.OfferMedium = void 0;
7
+ exports.OfferMedium = {
8
+ Browse: "BROWSE",
9
+ Map: "MAP",
10
+ Search: "SEARCH",
11
+ };
@@ -0,0 +1,10 @@
1
+ export * from "./CreateAttributionRequestObject.js";
2
+ export * from "./CreateAttributionRequestUnion.js";
3
+ export * from "./OfferAttributionRequest.js";
4
+ export * from "./OfferAttributionAttributes.js";
5
+ export * from "./NotificationAttributionRequest.js";
6
+ export * from "./NotificationAttributionAttributes.js";
7
+ export * from "./EventCode.js";
8
+ export * from "./OfferMedium.js";
9
+ export * from "./NotificationMedium.js";
10
+ export * from "./CreateAttributionResponse.js";
@@ -0,0 +1,26 @@
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("./CreateAttributionRequestObject.js"), exports);
18
+ __exportStar(require("./CreateAttributionRequestUnion.js"), exports);
19
+ __exportStar(require("./OfferAttributionRequest.js"), exports);
20
+ __exportStar(require("./OfferAttributionAttributes.js"), exports);
21
+ __exportStar(require("./NotificationAttributionRequest.js"), exports);
22
+ __exportStar(require("./NotificationAttributionAttributes.js"), exports);
23
+ __exportStar(require("./EventCode.js"), exports);
24
+ __exportStar(require("./OfferMedium.js"), exports);
25
+ __exportStar(require("./NotificationMedium.js"), exports);
26
+ __exportStar(require("./CreateAttributionResponse.js"), exports);
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as errors from "../../../../errors/index.js";
5
+ import * as KardApi from "../../../index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ export declare class ConflictError extends errors.KardApiError {
8
+ constructor(body: KardApi.ErrorResponse, rawResponse?: core.RawResponse);
9
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ConflictError = void 0;
40
+ const errors = __importStar(require("../../../../errors/index.js"));
41
+ class ConflictError extends errors.KardApiError {
42
+ constructor(body, rawResponse) {
43
+ super({
44
+ message: "ConflictError",
45
+ statusCode: 409,
46
+ body: body,
47
+ rawResponse: rawResponse,
48
+ });
49
+ Object.setPrototypeOf(this, ConflictError.prototype);
50
+ }
51
+ }
52
+ exports.ConflictError = ConflictError;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as errors from "../../../../errors/index.js";
5
+ import * as KardApi from "../../../index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ export declare class DoesNotExistError extends errors.KardApiError {
8
+ constructor(body: KardApi.ErrorResponse, rawResponse?: core.RawResponse);
9
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DoesNotExistError = void 0;
40
+ const errors = __importStar(require("../../../../errors/index.js"));
41
+ class DoesNotExistError extends errors.KardApiError {
42
+ constructor(body, rawResponse) {
43
+ super({
44
+ message: "DoesNotExistError",
45
+ statusCode: 404,
46
+ body: body,
47
+ rawResponse: rawResponse,
48
+ });
49
+ Object.setPrototypeOf(this, DoesNotExistError.prototype);
50
+ }
51
+ }
52
+ exports.DoesNotExistError = DoesNotExistError;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as errors from "../../../../errors/index.js";
5
+ import * as KardApi from "../../../index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ export declare class InternalServerError extends errors.KardApiError {
8
+ constructor(body: KardApi.ErrorResponse, rawResponse?: core.RawResponse);
9
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.InternalServerError = void 0;
40
+ const errors = __importStar(require("../../../../errors/index.js"));
41
+ class InternalServerError extends errors.KardApiError {
42
+ constructor(body, rawResponse) {
43
+ super({
44
+ message: "InternalServerError",
45
+ statusCode: 500,
46
+ body: body,
47
+ rawResponse: rawResponse,
48
+ });
49
+ Object.setPrototypeOf(this, InternalServerError.prototype);
50
+ }
51
+ }
52
+ exports.InternalServerError = InternalServerError;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as errors from "../../../../errors/index.js";
5
+ import * as KardApi from "../../../index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ export declare class InvalidRequest extends errors.KardApiError {
8
+ constructor(body: KardApi.ErrorResponse, rawResponse?: core.RawResponse);
9
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.InvalidRequest = void 0;
40
+ const errors = __importStar(require("../../../../errors/index.js"));
41
+ class InvalidRequest extends errors.KardApiError {
42
+ constructor(body, rawResponse) {
43
+ super({
44
+ message: "InvalidRequest",
45
+ statusCode: 400,
46
+ body: body,
47
+ rawResponse: rawResponse,
48
+ });
49
+ Object.setPrototypeOf(this, InvalidRequest.prototype);
50
+ }
51
+ }
52
+ exports.InvalidRequest = InvalidRequest;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as errors from "../../../../errors/index.js";
5
+ import * as KardApi from "../../../index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ export declare class UnauthorizedError extends errors.KardApiError {
8
+ constructor(body: KardApi.ErrorResponse, rawResponse?: core.RawResponse);
9
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.UnauthorizedError = void 0;
40
+ const errors = __importStar(require("../../../../errors/index.js"));
41
+ class UnauthorizedError extends errors.KardApiError {
42
+ constructor(body, rawResponse) {
43
+ super({
44
+ message: "UnauthorizedError",
45
+ statusCode: 401,
46
+ body: body,
47
+ rawResponse: rawResponse,
48
+ });
49
+ Object.setPrototypeOf(this, UnauthorizedError.prototype);
50
+ }
51
+ }
52
+ exports.UnauthorizedError = UnauthorizedError;
@@ -0,0 +1,5 @@
1
+ export * from "./UnauthorizedError.js";
2
+ export * from "./DoesNotExistError.js";
3
+ export * from "./InvalidRequest.js";
4
+ export * from "./ConflictError.js";
5
+ export * from "./InternalServerError.js";
@@ -0,0 +1,21 @@
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("./UnauthorizedError.js"), exports);
18
+ __exportStar(require("./DoesNotExistError.js"), exports);
19
+ __exportStar(require("./InvalidRequest.js"), exports);
20
+ __exportStar(require("./ConflictError.js"), exports);
21
+ __exportStar(require("./InternalServerError.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * from "./types/index.js";
2
+ export * from "./errors/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("./types/index.js"), exports);
18
+ __exportStar(require("./errors/index.js"), exports);
@@ -0,0 +1,26 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Category of merchant. Please use URL Encode for non single word categories. (Food & Beverage should be Food%20%26%20Beverage)
6
+ */
7
+ export type CategoryOption = "Arts & Entertainment" | "Baby, Kids & Toys" | "Books & Digital Media" | "Clothing, Shoes & Accessories" | "Computers, Electronics & Software" | "Convenience" | "Gas" | "Department Stores" | "Food & Beverage" | "Health & Beauty" | "Home & Garden" | "Miscellaneous" | "Occasions & Gifts" | "Pets" | "Sports & Outdoors" | "Supplies & Services" | "Travel";
8
+ export declare const CategoryOption: {
9
+ readonly ArtsEntertainment: "Arts & Entertainment";
10
+ readonly BabyKidsToys: "Baby, Kids & Toys";
11
+ readonly BooksDigitalMedia: "Books & Digital Media";
12
+ readonly ClothingShoesAccessories: "Clothing, Shoes & Accessories";
13
+ readonly ComputersElectronicsSoftware: "Computers, Electronics & Software";
14
+ readonly Convenience: "Convenience";
15
+ readonly Gas: "Gas";
16
+ readonly DepartmentStores: "Department Stores";
17
+ readonly FoodBeverage: "Food & Beverage";
18
+ readonly HealthBeauty: "Health & Beauty";
19
+ readonly HomeGarden: "Home & Garden";
20
+ readonly Miscellaneous: "Miscellaneous";
21
+ readonly OccasionsGifts: "Occasions & Gifts";
22
+ readonly Pets: "Pets";
23
+ readonly SportsOutdoors: "Sports & Outdoors";
24
+ readonly SuppliesServices: "Supplies & Services";
25
+ readonly Travel: "Travel";
26
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CategoryOption = void 0;
7
+ exports.CategoryOption = {
8
+ ArtsEntertainment: "Arts & Entertainment",
9
+ BabyKidsToys: "Baby, Kids & Toys",
10
+ BooksDigitalMedia: "Books & Digital Media",
11
+ ClothingShoesAccessories: "Clothing, Shoes & Accessories",
12
+ ComputersElectronicsSoftware: "Computers, Electronics & Software",
13
+ Convenience: "Convenience",
14
+ Gas: "Gas",
15
+ DepartmentStores: "Department Stores",
16
+ FoodBeverage: "Food & Beverage",
17
+ HealthBeauty: "Health & Beauty",
18
+ HomeGarden: "Home & Garden",
19
+ Miscellaneous: "Miscellaneous",
20
+ OccasionsGifts: "Occasions & Gifts",
21
+ Pets: "Pets",
22
+ SportsOutdoors: "Sports & Outdoors",
23
+ SuppliesServices: "Supplies & Services",
24
+ Travel: "Travel",
25
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Type of commission on offer (% or a flat $)
6
+ */
7
+ export type CommissionType = "FLAT" | "PERCENT";
8
+ export declare const CommissionType: {
9
+ readonly Flat: "FLAT";
10
+ readonly Percent: "PERCENT";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CommissionType = void 0;
7
+ exports.CommissionType = {
8
+ Flat: "FLAT",
9
+ Percent: "PERCENT",
10
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface EmptyObject {
5
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Enrolled Rewards
6
+ */
7
+ export type EnrolledRewardsType = "CARDLINKED";
8
+ export declare const EnrolledRewardsType: {
9
+ readonly Cardlinked: "CARDLINKED";
10
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EnrolledRewardsType = void 0;
7
+ exports.EnrolledRewardsType = {
8
+ Cardlinked: "CARDLINKED",
9
+ };