@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.
- package/README.md +185 -0
- package/dist/cjs/Client.d.ts +42 -0
- package/dist/cjs/Client.js +37 -0
- package/dist/cjs/api/index.d.ts +1 -0
- package/dist/cjs/api/index.js +17 -0
- package/dist/cjs/api/resources/attributions/client/Client.d.ts +66 -0
- package/dist/cjs/api/resources/attributions/client/Client.js +155 -0
- package/dist/cjs/api/resources/attributions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/attributions/client/index.js +2 -0
- package/dist/cjs/api/resources/attributions/index.d.ts +2 -0
- package/dist/cjs/api/resources/attributions/index.js +18 -0
- package/dist/cjs/api/resources/attributions/types/CreateAttributionRequestObject.d.ts +35 -0
- package/dist/cjs/api/resources/attributions/types/CreateAttributionRequestObject.js +5 -0
- package/dist/cjs/api/resources/attributions/types/CreateAttributionRequestUnion.d.ts +13 -0
- package/dist/cjs/api/resources/attributions/types/CreateAttributionRequestUnion.js +5 -0
- package/dist/cjs/api/resources/attributions/types/CreateAttributionResponse.d.ts +20 -0
- package/dist/cjs/api/resources/attributions/types/CreateAttributionResponse.js +5 -0
- package/dist/cjs/api/resources/attributions/types/EventCode.d.ts +11 -0
- package/dist/cjs/api/resources/attributions/types/EventCode.js +10 -0
- package/dist/cjs/api/resources/attributions/types/NotificationAttributionAttributes.d.ts +15 -0
- package/dist/cjs/api/resources/attributions/types/NotificationAttributionAttributes.js +5 -0
- package/dist/cjs/api/resources/attributions/types/NotificationAttributionRequest.d.ts +7 -0
- package/dist/cjs/api/resources/attributions/types/NotificationAttributionRequest.js +5 -0
- package/dist/cjs/api/resources/attributions/types/NotificationMedium.d.ts +10 -0
- package/dist/cjs/api/resources/attributions/types/NotificationMedium.js +9 -0
- package/dist/cjs/api/resources/attributions/types/OfferAttributionAttributes.d.ts +15 -0
- package/dist/cjs/api/resources/attributions/types/OfferAttributionAttributes.js +5 -0
- package/dist/cjs/api/resources/attributions/types/OfferAttributionRequest.d.ts +7 -0
- package/dist/cjs/api/resources/attributions/types/OfferAttributionRequest.js +5 -0
- package/dist/cjs/api/resources/attributions/types/OfferMedium.d.ts +12 -0
- package/dist/cjs/api/resources/attributions/types/OfferMedium.js +11 -0
- package/dist/cjs/api/resources/attributions/types/index.d.ts +10 -0
- package/dist/cjs/api/resources/attributions/types/index.js +26 -0
- package/dist/cjs/api/resources/commons/errors/ConflictError.d.ts +9 -0
- package/dist/cjs/api/resources/commons/errors/ConflictError.js +52 -0
- package/dist/cjs/api/resources/commons/errors/DoesNotExistError.d.ts +9 -0
- package/dist/cjs/api/resources/commons/errors/DoesNotExistError.js +52 -0
- package/dist/cjs/api/resources/commons/errors/InternalServerError.d.ts +9 -0
- package/dist/cjs/api/resources/commons/errors/InternalServerError.js +52 -0
- package/dist/cjs/api/resources/commons/errors/InvalidRequest.d.ts +9 -0
- package/dist/cjs/api/resources/commons/errors/InvalidRequest.js +52 -0
- package/dist/cjs/api/resources/commons/errors/UnauthorizedError.d.ts +9 -0
- package/dist/cjs/api/resources/commons/errors/UnauthorizedError.js +52 -0
- package/dist/cjs/api/resources/commons/errors/index.d.ts +5 -0
- package/dist/cjs/api/resources/commons/errors/index.js +21 -0
- package/dist/cjs/api/resources/commons/index.d.ts +2 -0
- package/dist/cjs/api/resources/commons/index.js +18 -0
- package/dist/cjs/api/resources/commons/types/CategoryOption.d.ts +26 -0
- package/dist/cjs/api/resources/commons/types/CategoryOption.js +25 -0
- package/dist/cjs/api/resources/commons/types/CommissionType.d.ts +11 -0
- package/dist/cjs/api/resources/commons/types/CommissionType.js +10 -0
- package/dist/cjs/api/resources/commons/types/EmptyObject.d.ts +5 -0
- package/dist/cjs/api/resources/commons/types/EmptyObject.js +5 -0
- package/dist/cjs/api/resources/commons/types/EnrolledRewardsType.d.ts +10 -0
- package/dist/cjs/api/resources/commons/types/EnrolledRewardsType.js +9 -0
- package/dist/cjs/api/resources/commons/types/ErrorObject.d.ts +16 -0
- package/dist/cjs/api/resources/commons/types/ErrorObject.js +5 -0
- package/dist/cjs/api/resources/commons/types/ErrorResponse.d.ts +7 -0
- package/dist/cjs/api/resources/commons/types/ErrorResponse.js +5 -0
- package/dist/cjs/api/resources/commons/types/ErrorSource.d.ts +11 -0
- package/dist/cjs/api/resources/commons/types/ErrorSource.js +5 -0
- package/dist/cjs/api/resources/commons/types/Job.d.ts +9 -0
- package/dist/cjs/api/resources/commons/types/Job.js +5 -0
- package/dist/cjs/api/resources/commons/types/JobResponse.d.ts +10 -0
- package/dist/cjs/api/resources/commons/types/JobResponse.js +5 -0
- package/dist/cjs/api/resources/commons/types/JobStatus.d.ts +10 -0
- package/dist/cjs/api/resources/commons/types/JobStatus.js +9 -0
- package/dist/cjs/api/resources/commons/types/Links.d.ts +11 -0
- package/dist/cjs/api/resources/commons/types/Links.js +5 -0
- package/dist/cjs/api/resources/commons/types/MongoId.d.ts +7 -0
- package/dist/cjs/api/resources/commons/types/MongoId.js +5 -0
- package/dist/cjs/api/resources/commons/types/OrganizationId.d.ts +7 -0
- package/dist/cjs/api/resources/commons/types/OrganizationId.js +5 -0
- package/dist/cjs/api/resources/commons/types/PurchaseChannel.d.ts +11 -0
- package/dist/cjs/api/resources/commons/types/PurchaseChannel.js +10 -0
- package/dist/cjs/api/resources/commons/types/RelationshipData.d.ts +9 -0
- package/dist/cjs/api/resources/commons/types/RelationshipData.js +5 -0
- package/dist/cjs/api/resources/commons/types/RelationshipMultiple.d.ts +7 -0
- package/dist/cjs/api/resources/commons/types/RelationshipMultiple.js +5 -0
- package/dist/cjs/api/resources/commons/types/RelationshipSingle.d.ts +7 -0
- package/dist/cjs/api/resources/commons/types/RelationshipSingle.js +5 -0
- package/dist/cjs/api/resources/commons/types/ResourceType.d.ts +7 -0
- package/dist/cjs/api/resources/commons/types/ResourceType.js +5 -0
- package/dist/cjs/api/resources/commons/types/State.d.ts +65 -0
- package/dist/cjs/api/resources/commons/types/State.js +67 -0
- package/dist/cjs/api/resources/commons/types/UserId.d.ts +7 -0
- package/dist/cjs/api/resources/commons/types/UserId.js +5 -0
- package/dist/cjs/api/resources/commons/types/index.d.ts +20 -0
- package/dist/cjs/api/resources/commons/types/index.js +36 -0
- package/dist/cjs/api/resources/eligibility/client/Client.d.ts +85 -0
- package/dist/cjs/api/resources/eligibility/client/Client.js +317 -0
- package/dist/cjs/api/resources/eligibility/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/eligibility/client/index.js +17 -0
- package/dist/cjs/api/resources/eligibility/client/requests/GetLocationsByUserRequest.d.ts +35 -0
- package/dist/cjs/api/resources/eligibility/client/requests/GetLocationsByUserRequest.js +5 -0
- package/dist/cjs/api/resources/eligibility/client/requests/GetOffersByUserRequest.d.ts +28 -0
- package/dist/cjs/api/resources/eligibility/client/requests/GetOffersByUserRequest.js +5 -0
- package/dist/cjs/api/resources/eligibility/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/eligibility/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/eligibility/index.d.ts +2 -0
- package/dist/cjs/api/resources/eligibility/index.js +18 -0
- package/dist/cjs/api/resources/eligibility/types/Amount.d.ts +8 -0
- package/dist/cjs/api/resources/eligibility/types/Amount.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/AmountType.d.ts +7 -0
- package/dist/cjs/api/resources/eligibility/types/AmountType.js +9 -0
- package/dist/cjs/api/resources/eligibility/types/Asset.d.ts +10 -0
- package/dist/cjs/api/resources/eligibility/types/Asset.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryData.d.ts +6 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryData.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryFields.d.ts +8 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryFields.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryIdentifier.d.ts +8 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryIdentifier.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryIncluded.d.ts +7 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryIncluded.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryRelationship.d.ts +7 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryRelationship.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryRelationshipObject.d.ts +7 -0
- package/dist/cjs/api/resources/eligibility/types/CategoryRelationshipObject.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/Commission.d.ts +8 -0
- package/dist/cjs/api/resources/eligibility/types/Commission.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/Coordinates.d.ts +7 -0
- package/dist/cjs/api/resources/eligibility/types/Coordinates.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/EligibilityLocationAddress.d.ts +9 -0
- package/dist/cjs/api/resources/eligibility/types/EligibilityLocationAddress.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/EligibilityLocationIncluded.d.ts +5 -0
- package/dist/cjs/api/resources/eligibility/types/EligibilityLocationIncluded.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/EligibilityOfferIncluded.d.ts +5 -0
- package/dist/cjs/api/resources/eligibility/types/EligibilityOfferIncluded.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/EligibilityOfferRelationship.d.ts +5 -0
- package/dist/cjs/api/resources/eligibility/types/EligibilityOfferRelationship.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/LocationAttributes.d.ts +11 -0
- package/dist/cjs/api/resources/eligibility/types/LocationAttributes.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/LocationData.d.ts +12 -0
- package/dist/cjs/api/resources/eligibility/types/LocationData.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/LocationRelationships.d.ts +6 -0
- package/dist/cjs/api/resources/eligibility/types/LocationRelationships.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/LocationSortOptions.d.ts +8 -0
- package/dist/cjs/api/resources/eligibility/types/LocationSortOptions.js +10 -0
- package/dist/cjs/api/resources/eligibility/types/LocationsResponseObject.d.ts +149 -0
- package/dist/cjs/api/resources/eligibility/types/LocationsResponseObject.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/OfferCommonFields.d.ts +34 -0
- package/dist/cjs/api/resources/eligibility/types/OfferCommonFields.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/OfferDataUnion.d.ts +10 -0
- package/dist/cjs/api/resources/eligibility/types/OfferDataUnion.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/OfferRelationship.d.ts +8 -0
- package/dist/cjs/api/resources/eligibility/types/OfferRelationship.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/OfferSortOptions.d.ts +12 -0
- package/dist/cjs/api/resources/eligibility/types/OfferSortOptions.js +14 -0
- package/dist/cjs/api/resources/eligibility/types/OffersResponseObject.d.ts +86 -0
- package/dist/cjs/api/resources/eligibility/types/OffersResponseObject.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/OperationHours.d.ts +8 -0
- package/dist/cjs/api/resources/eligibility/types/OperationHours.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/OperationPeriod.d.ts +8 -0
- package/dist/cjs/api/resources/eligibility/types/OperationPeriod.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/OperationTime.d.ts +7 -0
- package/dist/cjs/api/resources/eligibility/types/OperationTime.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/StandardOffer.d.ts +7 -0
- package/dist/cjs/api/resources/eligibility/types/StandardOffer.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/StandardOfferCore.d.ts +9 -0
- package/dist/cjs/api/resources/eligibility/types/StandardOfferCore.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/StandardOfferFields.d.ts +6 -0
- package/dist/cjs/api/resources/eligibility/types/StandardOfferFields.js +5 -0
- package/dist/cjs/api/resources/eligibility/types/index.d.ts +31 -0
- package/dist/cjs/api/resources/eligibility/types/index.js +47 -0
- package/dist/cjs/api/resources/index.d.ts +16 -0
- package/dist/cjs/api/resources/index.js +55 -0
- package/dist/cjs/api/resources/notifications/client/Client.d.ts +56 -0
- package/dist/cjs/api/resources/notifications/client/Client.js +150 -0
- package/dist/cjs/api/resources/notifications/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/client/index.js +2 -0
- package/dist/cjs/api/resources/notifications/index.d.ts +2 -0
- package/dist/cjs/api/resources/notifications/index.js +18 -0
- package/dist/cjs/api/resources/notifications/types/AuditUpdateAttributes.d.ts +47 -0
- package/dist/cjs/api/resources/notifications/types/AuditUpdateAttributes.js +5 -0
- package/dist/cjs/api/resources/notifications/types/AuditUpdateData.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/AuditUpdateData.js +5 -0
- package/dist/cjs/api/resources/notifications/types/AuditUpdateRelationships.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/AuditUpdateRelationships.js +5 -0
- package/dist/cjs/api/resources/notifications/types/BrokerAmount.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/BrokerAmount.js +5 -0
- package/dist/cjs/api/resources/notifications/types/BrokerAmountType.d.ts +7 -0
- package/dist/cjs/api/resources/notifications/types/BrokerAmountType.js +9 -0
- package/dist/cjs/api/resources/notifications/types/BrokerAsset.d.ts +12 -0
- package/dist/cjs/api/resources/notifications/types/BrokerAsset.js +5 -0
- package/dist/cjs/api/resources/notifications/types/BrokerAssetType.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/BrokerAssetType.js +10 -0
- package/dist/cjs/api/resources/notifications/types/BrokerOperationHours.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/BrokerOperationHours.js +5 -0
- package/dist/cjs/api/resources/notifications/types/BrokerOperationPeriod.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/BrokerOperationPeriod.js +5 -0
- package/dist/cjs/api/resources/notifications/types/BrokerPurchaseChannel.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/BrokerPurchaseChannel.js +10 -0
- package/dist/cjs/api/resources/notifications/types/BrokerReward.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/BrokerReward.js +5 -0
- package/dist/cjs/api/resources/notifications/types/BrokerRewardType.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/BrokerRewardType.js +10 -0
- package/dist/cjs/api/resources/notifications/types/ClawbackData.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/ClawbackData.js +5 -0
- package/dist/cjs/api/resources/notifications/types/CommissionEarned.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/CommissionEarned.js +5 -0
- package/dist/cjs/api/resources/notifications/types/CommissionEarnedType.d.ts +7 -0
- package/dist/cjs/api/resources/notifications/types/CommissionEarnedType.js +9 -0
- package/dist/cjs/api/resources/notifications/types/CreateSubscriptionUnion.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/CreateSubscriptionUnion.js +5 -0
- package/dist/cjs/api/resources/notifications/types/CreateSubscriptionsResponseObject.d.ts +21 -0
- package/dist/cjs/api/resources/notifications/types/CreateSubscriptionsResponseObject.js +5 -0
- package/dist/cjs/api/resources/notifications/types/CreatedSubscription.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/CreatedSubscription.js +5 -0
- package/dist/cjs/api/resources/notifications/types/EarnedRewardApprovedData.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/EarnedRewardApprovedData.js +5 -0
- package/dist/cjs/api/resources/notifications/types/EarnedRewardAttributes.d.ts +6 -0
- package/dist/cjs/api/resources/notifications/types/EarnedRewardAttributes.js +5 -0
- package/dist/cjs/api/resources/notifications/types/EarnedRewardRelationships.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/EarnedRewardRelationships.js +5 -0
- package/dist/cjs/api/resources/notifications/types/EarnedRewardSettledData.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/EarnedRewardSettledData.js +5 -0
- package/dist/cjs/api/resources/notifications/types/FailedTransactionAttributes.d.ts +13 -0
- package/dist/cjs/api/resources/notifications/types/FailedTransactionAttributes.js +5 -0
- package/dist/cjs/api/resources/notifications/types/FailedTransactionData.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/FailedTransactionData.js +5 -0
- package/dist/cjs/api/resources/notifications/types/FailedTransactionRelationships.d.ts +9 -0
- package/dist/cjs/api/resources/notifications/types/FailedTransactionRelationships.js +5 -0
- package/dist/cjs/api/resources/notifications/types/LocationAddress.d.ts +13 -0
- package/dist/cjs/api/resources/notifications/types/LocationAddress.js +5 -0
- package/dist/cjs/api/resources/notifications/types/LocationCoordinates.d.ts +9 -0
- package/dist/cjs/api/resources/notifications/types/LocationCoordinates.js +5 -0
- package/dist/cjs/api/resources/notifications/types/NotificationDataUnion.d.ts +37 -0
- package/dist/cjs/api/resources/notifications/types/NotificationDataUnion.js +5 -0
- package/dist/cjs/api/resources/notifications/types/NotificationPayload.d.ts +445 -0
- package/dist/cjs/api/resources/notifications/types/NotificationPayload.js +5 -0
- package/dist/cjs/api/resources/notifications/types/NotificationType.d.ts +16 -0
- package/dist/cjs/api/resources/notifications/types/NotificationType.js +18 -0
- package/dist/cjs/api/resources/notifications/types/OfferStatus.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/OfferStatus.js +12 -0
- package/dist/cjs/api/resources/notifications/types/RewardNotificationAttributes.d.ts +15 -0
- package/dist/cjs/api/resources/notifications/types/RewardNotificationAttributes.js +5 -0
- package/dist/cjs/api/resources/notifications/types/SubscriptionRequest.d.ts +7 -0
- package/dist/cjs/api/resources/notifications/types/SubscriptionRequest.js +5 -0
- package/dist/cjs/api/resources/notifications/types/SubscriptionRequestAttributes.d.ts +12 -0
- package/dist/cjs/api/resources/notifications/types/SubscriptionRequestAttributes.js +5 -0
- package/dist/cjs/api/resources/notifications/types/SubscriptionRequestBody.d.ts +20 -0
- package/dist/cjs/api/resources/notifications/types/SubscriptionRequestBody.js +5 -0
- package/dist/cjs/api/resources/notifications/types/SubscriptionRequestUnion.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/SubscriptionRequestUnion.js +5 -0
- package/dist/cjs/api/resources/notifications/types/TimePeriod.d.ts +9 -0
- package/dist/cjs/api/resources/notifications/types/TimePeriod.js +5 -0
- package/dist/cjs/api/resources/notifications/types/TransactionRelationships.d.ts +9 -0
- package/dist/cjs/api/resources/notifications/types/TransactionRelationships.js +5 -0
- package/dist/cjs/api/resources/notifications/types/UserOfferStatus.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/UserOfferStatus.js +10 -0
- package/dist/cjs/api/resources/notifications/types/ValidTransactionAttributes.d.ts +7 -0
- package/dist/cjs/api/resources/notifications/types/ValidTransactionAttributes.js +5 -0
- package/dist/cjs/api/resources/notifications/types/ValidTransactionData.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/ValidTransactionData.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsAttributes.d.ts +16 -0
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsAttributes.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsData.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsData.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsRelationships.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsRelationships.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantAttributes.d.ts +17 -0
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantAttributes.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantData.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantData.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantRelationships.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantRelationships.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookOfferAttributes.d.ts +42 -0
- package/dist/cjs/api/resources/notifications/types/WebhookOfferAttributes.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookOfferData.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/WebhookOfferData.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookOfferRelationships.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/WebhookOfferRelationships.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferAttributes.d.ts +12 -0
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferAttributes.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferData.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferData.js +5 -0
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferRelationships.d.ts +8 -0
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferRelationships.js +5 -0
- package/dist/cjs/api/resources/notifications/types/index.d.ts +53 -0
- package/dist/cjs/api/resources/notifications/types/index.js +69 -0
- package/dist/cjs/api/resources/transactions/client/Client.d.ts +127 -0
- package/dist/cjs/api/resources/transactions/client/Client.js +220 -0
- package/dist/cjs/api/resources/transactions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/transactions/client/index.js +2 -0
- package/dist/cjs/api/resources/transactions/errors/CreateIncomingTransactionsMultiStatus.d.ts +9 -0
- package/dist/cjs/api/resources/transactions/errors/CreateIncomingTransactionsMultiStatus.js +52 -0
- package/dist/cjs/api/resources/transactions/errors/index.d.ts +1 -0
- package/dist/cjs/api/resources/transactions/errors/index.js +17 -0
- package/dist/cjs/api/resources/transactions/index.d.ts +3 -0
- package/dist/cjs/api/resources/transactions/index.js +19 -0
- package/dist/cjs/api/resources/transactions/types/AuditStatus.d.ts +9 -0
- package/dist/cjs/api/resources/transactions/types/AuditStatus.js +11 -0
- package/dist/cjs/api/resources/transactions/types/CardNetwork.d.ts +10 -0
- package/dist/cjs/api/resources/transactions/types/CardNetwork.js +12 -0
- package/dist/cjs/api/resources/transactions/types/DirectionType.d.ts +8 -0
- package/dist/cjs/api/resources/transactions/types/DirectionType.js +10 -0
- package/dist/cjs/api/resources/transactions/types/MatchedTransactionsAttributes.d.ts +44 -0
- package/dist/cjs/api/resources/transactions/types/MatchedTransactionsAttributes.js +5 -0
- package/dist/cjs/api/resources/transactions/types/MatchedTransactionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/transactions/types/MatchedTransactionsRequest.js +5 -0
- package/dist/cjs/api/resources/transactions/types/Merchant.d.ts +26 -0
- package/dist/cjs/api/resources/transactions/types/Merchant.js +5 -0
- package/dist/cjs/api/resources/transactions/types/PaymentType.d.ts +9 -0
- package/dist/cjs/api/resources/transactions/types/PaymentType.js +11 -0
- package/dist/cjs/api/resources/transactions/types/States.d.ts +65 -0
- package/dist/cjs/api/resources/transactions/types/States.js +67 -0
- package/dist/cjs/api/resources/transactions/types/TransactionPaymentType.d.ts +7 -0
- package/dist/cjs/api/resources/transactions/types/TransactionPaymentType.js +9 -0
- package/dist/cjs/api/resources/transactions/types/TransactionStatus.d.ts +11 -0
- package/dist/cjs/api/resources/transactions/types/TransactionStatus.js +13 -0
- package/dist/cjs/api/resources/transactions/types/Transactions.d.ts +13 -0
- package/dist/cjs/api/resources/transactions/types/Transactions.js +5 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsAttributes.d.ts +58 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsAttributes.js +5 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsMultiResponse.d.ts +7 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsMultiResponse.js +5 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsRequest.js +5 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsRequestBody.d.ts +91 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsRequestBody.js +5 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsResponse.d.ts +20 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsResponse.js +5 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsResponseData.d.ts +10 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsResponseData.js +5 -0
- package/dist/cjs/api/resources/transactions/types/index.d.ts +17 -0
- package/dist/cjs/api/resources/transactions/types/index.js +33 -0
- package/dist/cjs/api/resources/users/client/Client.d.ts +125 -0
- package/dist/cjs/api/resources/users/client/Client.js +373 -0
- package/dist/cjs/api/resources/users/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/users/client/index.js +2 -0
- package/dist/cjs/api/resources/users/errors/MultiStatus.d.ts +9 -0
- package/dist/cjs/api/resources/users/errors/MultiStatus.js +52 -0
- package/dist/cjs/api/resources/users/errors/index.d.ts +1 -0
- package/dist/cjs/api/resources/users/errors/index.js +17 -0
- package/dist/cjs/api/resources/users/index.d.ts +3 -0
- package/dist/cjs/api/resources/users/index.js +19 -0
- package/dist/cjs/api/resources/users/types/CreateUsersMultiStatusResponse.d.ts +7 -0
- package/dist/cjs/api/resources/users/types/CreateUsersMultiStatusResponse.js +5 -0
- package/dist/cjs/api/resources/users/types/CreateUsersObject.d.ts +20 -0
- package/dist/cjs/api/resources/users/types/CreateUsersObject.js +5 -0
- package/dist/cjs/api/resources/users/types/DeleteUserResponseObject.d.ts +17 -0
- package/dist/cjs/api/resources/users/types/DeleteUserResponseObject.js +5 -0
- package/dist/cjs/api/resources/users/types/UpdateUserObject.d.ts +20 -0
- package/dist/cjs/api/resources/users/types/UpdateUserObject.js +5 -0
- package/dist/cjs/api/resources/users/types/UserRequestAttributes.d.ts +10 -0
- package/dist/cjs/api/resources/users/types/UserRequestAttributes.js +5 -0
- package/dist/cjs/api/resources/users/types/UserRequestData.d.ts +8 -0
- package/dist/cjs/api/resources/users/types/UserRequestData.js +5 -0
- package/dist/cjs/api/resources/users/types/UserRequestDataUnion.d.ts +10 -0
- package/dist/cjs/api/resources/users/types/UserRequestDataUnion.js +5 -0
- package/dist/cjs/api/resources/users/types/UserResponseNoData.d.ts +8 -0
- package/dist/cjs/api/resources/users/types/UserResponseNoData.js +5 -0
- package/dist/cjs/api/resources/users/types/UserResponseUnionNoData.d.ts +10 -0
- package/dist/cjs/api/resources/users/types/UserResponseUnionNoData.js +5 -0
- package/dist/cjs/api/resources/users/types/index.d.ts +9 -0
- package/dist/cjs/api/resources/users/types/index.js +25 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +26 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +5 -0
- package/dist/cjs/core/auth/BearerToken.js +15 -0
- package/dist/cjs/core/auth/index.d.ts +2 -0
- package/dist/cjs/core/auth/index.js +7 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +39 -0
- package/dist/cjs/core/fetcher/Fetcher.js +107 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +12 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +68 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +23 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +54 -0
- package/dist/cjs/core/fetcher/index.d.ts +8 -0
- package/dist/cjs/core/fetcher/index.js +15 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/cjs/core/fetcher/makeRequest.js +42 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +40 -0
- package/dist/cjs/core/fetcher/signals.d.ts +11 -0
- package/dist/cjs/core/fetcher/signals.js +36 -0
- package/dist/cjs/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/dist/cjs/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/dist/cjs/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
- package/dist/cjs/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +126 -0
- package/dist/cjs/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/dist/cjs/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/dist/cjs/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/dist/cjs/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
- package/dist/cjs/core/index.d.ts +3 -0
- package/dist/cjs/core/index.js +19 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +5 -0
- package/dist/cjs/core/runtime/runtime.d.ts +9 -0
- package/dist/cjs/core/runtime/runtime.js +103 -0
- package/dist/cjs/environments.d.ts +8 -0
- package/dist/cjs/environments.js +10 -0
- package/dist/cjs/errors/KardApiError.d.ts +15 -0
- package/dist/cjs/errors/KardApiError.js +30 -0
- package/dist/cjs/errors/KardApiTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/KardApiTimeoutError.js +13 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.js +44 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/Client.d.mts +42 -0
- package/dist/esm/Client.mjs +33 -0
- package/dist/esm/api/index.d.mts +1 -0
- package/dist/esm/api/index.mjs +1 -0
- package/dist/esm/api/resources/attributions/client/Client.d.mts +66 -0
- package/dist/esm/api/resources/attributions/client/Client.mjs +115 -0
- package/dist/esm/api/resources/attributions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/attributions/client/index.mjs +1 -0
- package/dist/esm/api/resources/attributions/index.d.mts +2 -0
- package/dist/esm/api/resources/attributions/index.mjs +2 -0
- package/dist/esm/api/resources/attributions/types/CreateAttributionRequestObject.d.mts +35 -0
- package/dist/esm/api/resources/attributions/types/CreateAttributionRequestObject.mjs +4 -0
- package/dist/esm/api/resources/attributions/types/CreateAttributionRequestUnion.d.mts +13 -0
- package/dist/esm/api/resources/attributions/types/CreateAttributionRequestUnion.mjs +4 -0
- package/dist/esm/api/resources/attributions/types/CreateAttributionResponse.d.mts +20 -0
- package/dist/esm/api/resources/attributions/types/CreateAttributionResponse.mjs +4 -0
- package/dist/esm/api/resources/attributions/types/EventCode.d.mts +11 -0
- package/dist/esm/api/resources/attributions/types/EventCode.mjs +7 -0
- package/dist/esm/api/resources/attributions/types/NotificationAttributionAttributes.d.mts +15 -0
- package/dist/esm/api/resources/attributions/types/NotificationAttributionAttributes.mjs +4 -0
- package/dist/esm/api/resources/attributions/types/NotificationAttributionRequest.d.mts +7 -0
- package/dist/esm/api/resources/attributions/types/NotificationAttributionRequest.mjs +4 -0
- package/dist/esm/api/resources/attributions/types/NotificationMedium.d.mts +10 -0
- package/dist/esm/api/resources/attributions/types/NotificationMedium.mjs +6 -0
- package/dist/esm/api/resources/attributions/types/OfferAttributionAttributes.d.mts +15 -0
- package/dist/esm/api/resources/attributions/types/OfferAttributionAttributes.mjs +4 -0
- package/dist/esm/api/resources/attributions/types/OfferAttributionRequest.d.mts +7 -0
- package/dist/esm/api/resources/attributions/types/OfferAttributionRequest.mjs +4 -0
- package/dist/esm/api/resources/attributions/types/OfferMedium.d.mts +12 -0
- package/dist/esm/api/resources/attributions/types/OfferMedium.mjs +8 -0
- package/dist/esm/api/resources/attributions/types/index.d.mts +10 -0
- package/dist/esm/api/resources/attributions/types/index.mjs +10 -0
- package/dist/esm/api/resources/commons/errors/ConflictError.d.mts +9 -0
- package/dist/esm/api/resources/commons/errors/ConflictError.mjs +15 -0
- package/dist/esm/api/resources/commons/errors/DoesNotExistError.d.mts +9 -0
- package/dist/esm/api/resources/commons/errors/DoesNotExistError.mjs +15 -0
- package/dist/esm/api/resources/commons/errors/InternalServerError.d.mts +9 -0
- package/dist/esm/api/resources/commons/errors/InternalServerError.mjs +15 -0
- package/dist/esm/api/resources/commons/errors/InvalidRequest.d.mts +9 -0
- package/dist/esm/api/resources/commons/errors/InvalidRequest.mjs +15 -0
- package/dist/esm/api/resources/commons/errors/UnauthorizedError.d.mts +9 -0
- package/dist/esm/api/resources/commons/errors/UnauthorizedError.mjs +15 -0
- package/dist/esm/api/resources/commons/errors/index.d.mts +5 -0
- package/dist/esm/api/resources/commons/errors/index.mjs +5 -0
- package/dist/esm/api/resources/commons/index.d.mts +2 -0
- package/dist/esm/api/resources/commons/index.mjs +2 -0
- package/dist/esm/api/resources/commons/types/CategoryOption.d.mts +26 -0
- package/dist/esm/api/resources/commons/types/CategoryOption.mjs +22 -0
- package/dist/esm/api/resources/commons/types/CommissionType.d.mts +11 -0
- package/dist/esm/api/resources/commons/types/CommissionType.mjs +7 -0
- package/dist/esm/api/resources/commons/types/EmptyObject.d.mts +5 -0
- package/dist/esm/api/resources/commons/types/EmptyObject.mjs +4 -0
- package/dist/esm/api/resources/commons/types/EnrolledRewardsType.d.mts +10 -0
- package/dist/esm/api/resources/commons/types/EnrolledRewardsType.mjs +6 -0
- package/dist/esm/api/resources/commons/types/ErrorObject.d.mts +16 -0
- package/dist/esm/api/resources/commons/types/ErrorObject.mjs +4 -0
- package/dist/esm/api/resources/commons/types/ErrorResponse.d.mts +7 -0
- package/dist/esm/api/resources/commons/types/ErrorResponse.mjs +4 -0
- package/dist/esm/api/resources/commons/types/ErrorSource.d.mts +11 -0
- package/dist/esm/api/resources/commons/types/ErrorSource.mjs +4 -0
- package/dist/esm/api/resources/commons/types/Job.d.mts +9 -0
- package/dist/esm/api/resources/commons/types/Job.mjs +4 -0
- package/dist/esm/api/resources/commons/types/JobResponse.d.mts +10 -0
- package/dist/esm/api/resources/commons/types/JobResponse.mjs +4 -0
- package/dist/esm/api/resources/commons/types/JobStatus.d.mts +10 -0
- package/dist/esm/api/resources/commons/types/JobStatus.mjs +6 -0
- package/dist/esm/api/resources/commons/types/Links.d.mts +11 -0
- package/dist/esm/api/resources/commons/types/Links.mjs +4 -0
- package/dist/esm/api/resources/commons/types/MongoId.d.mts +7 -0
- package/dist/esm/api/resources/commons/types/MongoId.mjs +4 -0
- package/dist/esm/api/resources/commons/types/OrganizationId.d.mts +7 -0
- package/dist/esm/api/resources/commons/types/OrganizationId.mjs +4 -0
- package/dist/esm/api/resources/commons/types/PurchaseChannel.d.mts +11 -0
- package/dist/esm/api/resources/commons/types/PurchaseChannel.mjs +7 -0
- package/dist/esm/api/resources/commons/types/RelationshipData.d.mts +9 -0
- package/dist/esm/api/resources/commons/types/RelationshipData.mjs +4 -0
- package/dist/esm/api/resources/commons/types/RelationshipMultiple.d.mts +7 -0
- package/dist/esm/api/resources/commons/types/RelationshipMultiple.mjs +4 -0
- package/dist/esm/api/resources/commons/types/RelationshipSingle.d.mts +7 -0
- package/dist/esm/api/resources/commons/types/RelationshipSingle.mjs +4 -0
- package/dist/esm/api/resources/commons/types/ResourceType.d.mts +7 -0
- package/dist/esm/api/resources/commons/types/ResourceType.mjs +4 -0
- package/dist/esm/api/resources/commons/types/State.d.mts +65 -0
- package/dist/esm/api/resources/commons/types/State.mjs +64 -0
- package/dist/esm/api/resources/commons/types/UserId.d.mts +7 -0
- package/dist/esm/api/resources/commons/types/UserId.mjs +4 -0
- package/dist/esm/api/resources/commons/types/index.d.mts +20 -0
- package/dist/esm/api/resources/commons/types/index.mjs +20 -0
- package/dist/esm/api/resources/eligibility/client/Client.d.mts +85 -0
- package/dist/esm/api/resources/eligibility/client/Client.mjs +277 -0
- package/dist/esm/api/resources/eligibility/client/index.d.mts +1 -0
- package/dist/esm/api/resources/eligibility/client/index.mjs +1 -0
- package/dist/esm/api/resources/eligibility/client/requests/GetLocationsByUserRequest.d.mts +35 -0
- package/dist/esm/api/resources/eligibility/client/requests/GetLocationsByUserRequest.mjs +4 -0
- package/dist/esm/api/resources/eligibility/client/requests/GetOffersByUserRequest.d.mts +28 -0
- package/dist/esm/api/resources/eligibility/client/requests/GetOffersByUserRequest.mjs +4 -0
- package/dist/esm/api/resources/eligibility/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/eligibility/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/eligibility/index.d.mts +2 -0
- package/dist/esm/api/resources/eligibility/index.mjs +2 -0
- package/dist/esm/api/resources/eligibility/types/Amount.d.mts +8 -0
- package/dist/esm/api/resources/eligibility/types/Amount.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/AmountType.d.mts +7 -0
- package/dist/esm/api/resources/eligibility/types/AmountType.mjs +6 -0
- package/dist/esm/api/resources/eligibility/types/Asset.d.mts +10 -0
- package/dist/esm/api/resources/eligibility/types/Asset.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/CategoryData.d.mts +6 -0
- package/dist/esm/api/resources/eligibility/types/CategoryData.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/CategoryFields.d.mts +8 -0
- package/dist/esm/api/resources/eligibility/types/CategoryFields.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/CategoryIdentifier.d.mts +8 -0
- package/dist/esm/api/resources/eligibility/types/CategoryIdentifier.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/CategoryIncluded.d.mts +7 -0
- package/dist/esm/api/resources/eligibility/types/CategoryIncluded.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/CategoryRelationship.d.mts +7 -0
- package/dist/esm/api/resources/eligibility/types/CategoryRelationship.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/CategoryRelationshipObject.d.mts +7 -0
- package/dist/esm/api/resources/eligibility/types/CategoryRelationshipObject.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/Commission.d.mts +8 -0
- package/dist/esm/api/resources/eligibility/types/Commission.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/Coordinates.d.mts +7 -0
- package/dist/esm/api/resources/eligibility/types/Coordinates.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/EligibilityLocationAddress.d.mts +9 -0
- package/dist/esm/api/resources/eligibility/types/EligibilityLocationAddress.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/EligibilityLocationIncluded.d.mts +5 -0
- package/dist/esm/api/resources/eligibility/types/EligibilityLocationIncluded.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/EligibilityOfferIncluded.d.mts +5 -0
- package/dist/esm/api/resources/eligibility/types/EligibilityOfferIncluded.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/EligibilityOfferRelationship.d.mts +5 -0
- package/dist/esm/api/resources/eligibility/types/EligibilityOfferRelationship.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/LocationAttributes.d.mts +11 -0
- package/dist/esm/api/resources/eligibility/types/LocationAttributes.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/LocationData.d.mts +12 -0
- package/dist/esm/api/resources/eligibility/types/LocationData.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/LocationRelationships.d.mts +6 -0
- package/dist/esm/api/resources/eligibility/types/LocationRelationships.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/LocationSortOptions.d.mts +8 -0
- package/dist/esm/api/resources/eligibility/types/LocationSortOptions.mjs +7 -0
- package/dist/esm/api/resources/eligibility/types/LocationsResponseObject.d.mts +149 -0
- package/dist/esm/api/resources/eligibility/types/LocationsResponseObject.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/OfferCommonFields.d.mts +34 -0
- package/dist/esm/api/resources/eligibility/types/OfferCommonFields.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/OfferDataUnion.d.mts +10 -0
- package/dist/esm/api/resources/eligibility/types/OfferDataUnion.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/OfferRelationship.d.mts +8 -0
- package/dist/esm/api/resources/eligibility/types/OfferRelationship.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/OfferSortOptions.d.mts +12 -0
- package/dist/esm/api/resources/eligibility/types/OfferSortOptions.mjs +11 -0
- package/dist/esm/api/resources/eligibility/types/OffersResponseObject.d.mts +86 -0
- package/dist/esm/api/resources/eligibility/types/OffersResponseObject.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/OperationHours.d.mts +8 -0
- package/dist/esm/api/resources/eligibility/types/OperationHours.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/OperationPeriod.d.mts +8 -0
- package/dist/esm/api/resources/eligibility/types/OperationPeriod.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/OperationTime.d.mts +7 -0
- package/dist/esm/api/resources/eligibility/types/OperationTime.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/StandardOffer.d.mts +7 -0
- package/dist/esm/api/resources/eligibility/types/StandardOffer.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/StandardOfferCore.d.mts +9 -0
- package/dist/esm/api/resources/eligibility/types/StandardOfferCore.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/StandardOfferFields.d.mts +6 -0
- package/dist/esm/api/resources/eligibility/types/StandardOfferFields.mjs +4 -0
- package/dist/esm/api/resources/eligibility/types/index.d.mts +31 -0
- package/dist/esm/api/resources/eligibility/types/index.mjs +31 -0
- package/dist/esm/api/resources/index.d.mts +16 -0
- package/dist/esm/api/resources/index.mjs +16 -0
- package/dist/esm/api/resources/notifications/client/Client.d.mts +56 -0
- package/dist/esm/api/resources/notifications/client/Client.mjs +110 -0
- package/dist/esm/api/resources/notifications/client/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/client/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/index.d.mts +2 -0
- package/dist/esm/api/resources/notifications/index.mjs +2 -0
- package/dist/esm/api/resources/notifications/types/AuditUpdateAttributes.d.mts +47 -0
- package/dist/esm/api/resources/notifications/types/AuditUpdateAttributes.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/AuditUpdateData.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/AuditUpdateData.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/AuditUpdateRelationships.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/AuditUpdateRelationships.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/BrokerAmount.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/BrokerAmount.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/BrokerAmountType.d.mts +7 -0
- package/dist/esm/api/resources/notifications/types/BrokerAmountType.mjs +6 -0
- package/dist/esm/api/resources/notifications/types/BrokerAsset.d.mts +12 -0
- package/dist/esm/api/resources/notifications/types/BrokerAsset.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/BrokerAssetType.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/BrokerAssetType.mjs +7 -0
- package/dist/esm/api/resources/notifications/types/BrokerOperationHours.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/BrokerOperationHours.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/BrokerOperationPeriod.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/BrokerOperationPeriod.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/BrokerPurchaseChannel.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/BrokerPurchaseChannel.mjs +7 -0
- package/dist/esm/api/resources/notifications/types/BrokerReward.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/BrokerReward.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/BrokerRewardType.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/BrokerRewardType.mjs +7 -0
- package/dist/esm/api/resources/notifications/types/ClawbackData.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/ClawbackData.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/CommissionEarned.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/CommissionEarned.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/CommissionEarnedType.d.mts +7 -0
- package/dist/esm/api/resources/notifications/types/CommissionEarnedType.mjs +6 -0
- package/dist/esm/api/resources/notifications/types/CreateSubscriptionUnion.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/CreateSubscriptionUnion.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/CreateSubscriptionsResponseObject.d.mts +21 -0
- package/dist/esm/api/resources/notifications/types/CreateSubscriptionsResponseObject.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/CreatedSubscription.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/CreatedSubscription.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/EarnedRewardApprovedData.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/EarnedRewardApprovedData.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/EarnedRewardAttributes.d.mts +6 -0
- package/dist/esm/api/resources/notifications/types/EarnedRewardAttributes.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/EarnedRewardRelationships.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/EarnedRewardRelationships.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/EarnedRewardSettledData.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/EarnedRewardSettledData.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/FailedTransactionAttributes.d.mts +13 -0
- package/dist/esm/api/resources/notifications/types/FailedTransactionAttributes.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/FailedTransactionData.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/FailedTransactionData.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/FailedTransactionRelationships.d.mts +9 -0
- package/dist/esm/api/resources/notifications/types/FailedTransactionRelationships.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/LocationAddress.d.mts +13 -0
- package/dist/esm/api/resources/notifications/types/LocationAddress.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/LocationCoordinates.d.mts +9 -0
- package/dist/esm/api/resources/notifications/types/LocationCoordinates.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/NotificationDataUnion.d.mts +37 -0
- package/dist/esm/api/resources/notifications/types/NotificationDataUnion.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/NotificationPayload.d.mts +445 -0
- package/dist/esm/api/resources/notifications/types/NotificationPayload.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/NotificationType.d.mts +16 -0
- package/dist/esm/api/resources/notifications/types/NotificationType.mjs +15 -0
- package/dist/esm/api/resources/notifications/types/OfferStatus.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/OfferStatus.mjs +9 -0
- package/dist/esm/api/resources/notifications/types/RewardNotificationAttributes.d.mts +15 -0
- package/dist/esm/api/resources/notifications/types/RewardNotificationAttributes.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/SubscriptionRequest.d.mts +7 -0
- package/dist/esm/api/resources/notifications/types/SubscriptionRequest.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/SubscriptionRequestAttributes.d.mts +12 -0
- package/dist/esm/api/resources/notifications/types/SubscriptionRequestAttributes.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/SubscriptionRequestBody.d.mts +20 -0
- package/dist/esm/api/resources/notifications/types/SubscriptionRequestBody.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/SubscriptionRequestUnion.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/SubscriptionRequestUnion.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/TimePeriod.d.mts +9 -0
- package/dist/esm/api/resources/notifications/types/TimePeriod.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/TransactionRelationships.d.mts +9 -0
- package/dist/esm/api/resources/notifications/types/TransactionRelationships.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/UserOfferStatus.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/UserOfferStatus.mjs +7 -0
- package/dist/esm/api/resources/notifications/types/ValidTransactionAttributes.d.mts +7 -0
- package/dist/esm/api/resources/notifications/types/ValidTransactionAttributes.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/ValidTransactionData.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/ValidTransactionData.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookLocationsAttributes.d.mts +16 -0
- package/dist/esm/api/resources/notifications/types/WebhookLocationsAttributes.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookLocationsData.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/WebhookLocationsData.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookLocationsRelationships.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/WebhookLocationsRelationships.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookMerchantAttributes.d.mts +17 -0
- package/dist/esm/api/resources/notifications/types/WebhookMerchantAttributes.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookMerchantData.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/WebhookMerchantData.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookMerchantRelationships.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/WebhookMerchantRelationships.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookOfferAttributes.d.mts +42 -0
- package/dist/esm/api/resources/notifications/types/WebhookOfferAttributes.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookOfferData.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/WebhookOfferData.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookOfferRelationships.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/WebhookOfferRelationships.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferAttributes.d.mts +12 -0
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferAttributes.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferData.d.mts +10 -0
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferData.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferRelationships.d.mts +8 -0
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferRelationships.mjs +4 -0
- package/dist/esm/api/resources/notifications/types/index.d.mts +53 -0
- package/dist/esm/api/resources/notifications/types/index.mjs +53 -0
- package/dist/esm/api/resources/transactions/client/Client.d.mts +127 -0
- package/dist/esm/api/resources/transactions/client/Client.mjs +180 -0
- package/dist/esm/api/resources/transactions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/transactions/client/index.mjs +1 -0
- package/dist/esm/api/resources/transactions/errors/CreateIncomingTransactionsMultiStatus.d.mts +9 -0
- package/dist/esm/api/resources/transactions/errors/CreateIncomingTransactionsMultiStatus.mjs +15 -0
- package/dist/esm/api/resources/transactions/errors/index.d.mts +1 -0
- package/dist/esm/api/resources/transactions/errors/index.mjs +1 -0
- package/dist/esm/api/resources/transactions/index.d.mts +3 -0
- package/dist/esm/api/resources/transactions/index.mjs +3 -0
- package/dist/esm/api/resources/transactions/types/AuditStatus.d.mts +9 -0
- package/dist/esm/api/resources/transactions/types/AuditStatus.mjs +8 -0
- package/dist/esm/api/resources/transactions/types/CardNetwork.d.mts +10 -0
- package/dist/esm/api/resources/transactions/types/CardNetwork.mjs +9 -0
- package/dist/esm/api/resources/transactions/types/DirectionType.d.mts +8 -0
- package/dist/esm/api/resources/transactions/types/DirectionType.mjs +7 -0
- package/dist/esm/api/resources/transactions/types/MatchedTransactionsAttributes.d.mts +44 -0
- package/dist/esm/api/resources/transactions/types/MatchedTransactionsAttributes.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/MatchedTransactionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/transactions/types/MatchedTransactionsRequest.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/Merchant.d.mts +26 -0
- package/dist/esm/api/resources/transactions/types/Merchant.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/PaymentType.d.mts +9 -0
- package/dist/esm/api/resources/transactions/types/PaymentType.mjs +8 -0
- package/dist/esm/api/resources/transactions/types/States.d.mts +65 -0
- package/dist/esm/api/resources/transactions/types/States.mjs +64 -0
- package/dist/esm/api/resources/transactions/types/TransactionPaymentType.d.mts +7 -0
- package/dist/esm/api/resources/transactions/types/TransactionPaymentType.mjs +6 -0
- package/dist/esm/api/resources/transactions/types/TransactionStatus.d.mts +11 -0
- package/dist/esm/api/resources/transactions/types/TransactionStatus.mjs +10 -0
- package/dist/esm/api/resources/transactions/types/Transactions.d.mts +13 -0
- package/dist/esm/api/resources/transactions/types/Transactions.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/TransactionsAttributes.d.mts +58 -0
- package/dist/esm/api/resources/transactions/types/TransactionsAttributes.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/TransactionsMultiResponse.d.mts +7 -0
- package/dist/esm/api/resources/transactions/types/TransactionsMultiResponse.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/TransactionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/transactions/types/TransactionsRequest.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/TransactionsRequestBody.d.mts +91 -0
- package/dist/esm/api/resources/transactions/types/TransactionsRequestBody.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/TransactionsResponse.d.mts +20 -0
- package/dist/esm/api/resources/transactions/types/TransactionsResponse.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/TransactionsResponseData.d.mts +10 -0
- package/dist/esm/api/resources/transactions/types/TransactionsResponseData.mjs +4 -0
- package/dist/esm/api/resources/transactions/types/index.d.mts +17 -0
- package/dist/esm/api/resources/transactions/types/index.mjs +17 -0
- package/dist/esm/api/resources/users/client/Client.d.mts +125 -0
- package/dist/esm/api/resources/users/client/Client.mjs +333 -0
- package/dist/esm/api/resources/users/client/index.d.mts +1 -0
- package/dist/esm/api/resources/users/client/index.mjs +1 -0
- package/dist/esm/api/resources/users/errors/MultiStatus.d.mts +9 -0
- package/dist/esm/api/resources/users/errors/MultiStatus.mjs +15 -0
- package/dist/esm/api/resources/users/errors/index.d.mts +1 -0
- package/dist/esm/api/resources/users/errors/index.mjs +1 -0
- package/dist/esm/api/resources/users/index.d.mts +3 -0
- package/dist/esm/api/resources/users/index.mjs +3 -0
- package/dist/esm/api/resources/users/types/CreateUsersMultiStatusResponse.d.mts +7 -0
- package/dist/esm/api/resources/users/types/CreateUsersMultiStatusResponse.mjs +4 -0
- package/dist/esm/api/resources/users/types/CreateUsersObject.d.mts +20 -0
- package/dist/esm/api/resources/users/types/CreateUsersObject.mjs +4 -0
- package/dist/esm/api/resources/users/types/DeleteUserResponseObject.d.mts +17 -0
- package/dist/esm/api/resources/users/types/DeleteUserResponseObject.mjs +4 -0
- package/dist/esm/api/resources/users/types/UpdateUserObject.d.mts +20 -0
- package/dist/esm/api/resources/users/types/UpdateUserObject.mjs +4 -0
- package/dist/esm/api/resources/users/types/UserRequestAttributes.d.mts +10 -0
- package/dist/esm/api/resources/users/types/UserRequestAttributes.mjs +4 -0
- package/dist/esm/api/resources/users/types/UserRequestData.d.mts +8 -0
- package/dist/esm/api/resources/users/types/UserRequestData.mjs +4 -0
- package/dist/esm/api/resources/users/types/UserRequestDataUnion.d.mts +10 -0
- package/dist/esm/api/resources/users/types/UserRequestDataUnion.mjs +4 -0
- package/dist/esm/api/resources/users/types/UserResponseNoData.d.mts +8 -0
- package/dist/esm/api/resources/users/types/UserResponseNoData.mjs +4 -0
- package/dist/esm/api/resources/users/types/UserResponseUnionNoData.d.mts +10 -0
- package/dist/esm/api/resources/users/types/UserResponseUnionNoData.mjs +4 -0
- package/dist/esm/api/resources/users/types/index.d.mts +9 -0
- package/dist/esm/api/resources/users/types/index.mjs +9 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +23 -0
- package/dist/esm/core/auth/BearerToken.d.mts +5 -0
- package/dist/esm/core/auth/BearerToken.mjs +12 -0
- package/dist/esm/core/auth/index.d.mts +2 -0
- package/dist/esm/core/auth/index.mjs +2 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +39 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +103 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +6 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +4 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +32 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +20 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +51 -0
- package/dist/esm/core/fetcher/index.d.mts +8 -0
- package/dist/esm/core/fetcher/index.mjs +5 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +1 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +38 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +37 -0
- package/dist/esm/core/fetcher/signals.d.mts +11 -0
- package/dist/esm/core/fetcher/signals.mjs +32 -0
- package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.mts +30 -0
- package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.mjs +243 -0
- package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.mts +21 -0
- package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.mjs +122 -0
- package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.mts +31 -0
- package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.mjs +225 -0
- package/dist/esm/core/fetcher/stream-wrappers/chooseStreamWrapper.d.mts +18 -0
- package/dist/esm/core/fetcher/stream-wrappers/chooseStreamWrapper.mjs +23 -0
- package/dist/esm/core/index.d.mts +3 -0
- package/dist/esm/core/index.mjs +3 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +9 -0
- package/dist/esm/core/runtime/runtime.mjs +100 -0
- package/dist/esm/environments.d.mts +8 -0
- package/dist/esm/environments.mjs +7 -0
- package/dist/esm/errors/KardApiError.d.mts +15 -0
- package/dist/esm/errors/KardApiError.mjs +26 -0
- package/dist/esm/errors/KardApiTimeoutError.d.mts +6 -0
- package/dist/esm/errors/KardApiTimeoutError.mjs +9 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/index.d.mts +4 -0
- package/dist/esm/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +66 -0
- package/reference.md +813 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as KardApi from "../../../index.mjs";
|
|
5
|
+
export interface LocationAttributes {
|
|
6
|
+
name: string;
|
|
7
|
+
address: KardApi.EligibilityLocationAddress;
|
|
8
|
+
coordinates: KardApi.Coordinates;
|
|
9
|
+
phone: string;
|
|
10
|
+
operationHours: KardApi.OperationHours;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as KardApi from "../../../index.mjs";
|
|
5
|
+
export interface LocationData {
|
|
6
|
+
type: "location";
|
|
7
|
+
/** Location ID in Kard's system */
|
|
8
|
+
id: KardApi.MongoId;
|
|
9
|
+
attributes: KardApi.LocationAttributes;
|
|
10
|
+
/** Related resources to the offer */
|
|
11
|
+
relationships?: KardApi.LocationRelationships;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type LocationSortOptions = "locationName" | "-locationName";
|
|
5
|
+
export declare const LocationSortOptions: {
|
|
6
|
+
readonly LocationNameAsc: "locationName";
|
|
7
|
+
readonly LocationNameDesc: "-locationName";
|
|
8
|
+
};
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as KardApi from "../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* data: [{
|
|
9
|
+
* type: "location",
|
|
10
|
+
* id: "5e27318c9b346f00087fba8l",
|
|
11
|
+
* attributes: {
|
|
12
|
+
* name: "Worlds Greatest Chicken",
|
|
13
|
+
* address: {
|
|
14
|
+
* street: "120 Main St",
|
|
15
|
+
* city: "Philadelphia",
|
|
16
|
+
* state: "PA",
|
|
17
|
+
* zipCode: "19147"
|
|
18
|
+
* },
|
|
19
|
+
* coordinates: {
|
|
20
|
+
* longitude: -75.1446869,
|
|
21
|
+
* latitude: 39.9419429
|
|
22
|
+
* },
|
|
23
|
+
* phone: "+1 (123) 555-8880",
|
|
24
|
+
* operationHours: {
|
|
25
|
+
* periods: [{
|
|
26
|
+
* close: {
|
|
27
|
+
* day: 1,
|
|
28
|
+
* time: "1700"
|
|
29
|
+
* },
|
|
30
|
+
* open: {
|
|
31
|
+
* day: 1,
|
|
32
|
+
* time: "0900"
|
|
33
|
+
* }
|
|
34
|
+
* }, {
|
|
35
|
+
* close: {
|
|
36
|
+
* day: 2,
|
|
37
|
+
* time: "1700"
|
|
38
|
+
* },
|
|
39
|
+
* open: {
|
|
40
|
+
* day: 2,
|
|
41
|
+
* time: "0900"
|
|
42
|
+
* }
|
|
43
|
+
* }, {
|
|
44
|
+
* close: {
|
|
45
|
+
* day: 3,
|
|
46
|
+
* time: "1700"
|
|
47
|
+
* },
|
|
48
|
+
* open: {
|
|
49
|
+
* day: 3,
|
|
50
|
+
* time: "0900"
|
|
51
|
+
* }
|
|
52
|
+
* }, {
|
|
53
|
+
* close: {
|
|
54
|
+
* day: 4,
|
|
55
|
+
* time: "1700"
|
|
56
|
+
* },
|
|
57
|
+
* open: {
|
|
58
|
+
* day: 4,
|
|
59
|
+
* time: "0900"
|
|
60
|
+
* }
|
|
61
|
+
* }, {
|
|
62
|
+
* close: {
|
|
63
|
+
* day: 5,
|
|
64
|
+
* time: "1700"
|
|
65
|
+
* },
|
|
66
|
+
* open: {
|
|
67
|
+
* day: 5,
|
|
68
|
+
* time: "0900"
|
|
69
|
+
* }
|
|
70
|
+
* }],
|
|
71
|
+
* weekdayText: ["Monday: 9:00 AM \u2013 5:00 PM", "Tuesday: 9:00 AM \u2013 5:00 PM", "Wednesday: 9:00 AM \u2013 5:00 PM", "Thursday: 9:00 AM \u2013 5:00 PM", "Friday: 9:00 AM \u2013 5:00 PM", "Saturday: Closed", "Sunday: Closed"]
|
|
72
|
+
* }
|
|
73
|
+
* },
|
|
74
|
+
* relationships: {
|
|
75
|
+
* offers: {
|
|
76
|
+
* data: [{
|
|
77
|
+
* type: "standardOffer",
|
|
78
|
+
* id: "5e27318c9b346f00087fbb5b"
|
|
79
|
+
* }]
|
|
80
|
+
* },
|
|
81
|
+
* category: {
|
|
82
|
+
* data: [{
|
|
83
|
+
* type: "category",
|
|
84
|
+
* id: "65920081b524d126068de24a"
|
|
85
|
+
* }]
|
|
86
|
+
* }
|
|
87
|
+
* }
|
|
88
|
+
* }],
|
|
89
|
+
* included: [{
|
|
90
|
+
* type: "category",
|
|
91
|
+
* id: "65920081b524d126068de24a",
|
|
92
|
+
* attributes: {
|
|
93
|
+
* name: KardApi.CategoryOption.FoodBeverage
|
|
94
|
+
* }
|
|
95
|
+
* }, {
|
|
96
|
+
* type: "standardOffer",
|
|
97
|
+
* id: "5e27318c9b346f00087fbb5c",
|
|
98
|
+
* attributes: {
|
|
99
|
+
* name: "Worlds Greatest Chicken",
|
|
100
|
+
* terms: "Worlds Greatest Chicken offers are only available within US Locations.",
|
|
101
|
+
* purchaseChannel: [KardApi.PurchaseChannel.Instore],
|
|
102
|
+
* userReward: {
|
|
103
|
+
* type: KardApi.CommissionType.Percent,
|
|
104
|
+
* value: 5.7
|
|
105
|
+
* },
|
|
106
|
+
* startDate: "2022-01-01T05:00:00Z",
|
|
107
|
+
* expirationDate: "2022-01-01T05:00:00Z",
|
|
108
|
+
* minRewardAmount: {
|
|
109
|
+
* type: KardApi.AmountType.Cents,
|
|
110
|
+
* value: 500
|
|
111
|
+
* },
|
|
112
|
+
* maxRewardAmount: {
|
|
113
|
+
* type: KardApi.AmountType.Cents,
|
|
114
|
+
* value: 2000
|
|
115
|
+
* },
|
|
116
|
+
* minTransactionAmount: {
|
|
117
|
+
* type: KardApi.AmountType.Cents,
|
|
118
|
+
* value: 500
|
|
119
|
+
* },
|
|
120
|
+
* maxTransactionAmount: {
|
|
121
|
+
* type: KardApi.AmountType.Cents,
|
|
122
|
+
* value: 2000
|
|
123
|
+
* },
|
|
124
|
+
* maxRedemptions: 1,
|
|
125
|
+
* isTargeted: true,
|
|
126
|
+
* assets: [{
|
|
127
|
+
* type: "LOGO_IMAGE",
|
|
128
|
+
* url: "http://assets.getkard.com/logo/img?attribution-tokens",
|
|
129
|
+
* alt: "Worlds Greatest Chicken Logo Image"
|
|
130
|
+
* }, {
|
|
131
|
+
* type: "BANNER_IMAGE",
|
|
132
|
+
* url: "http://assets.getkard.com/banner/img?attribution-tokens",
|
|
133
|
+
* alt: "Worlds Greatest Chicken Banner Image"
|
|
134
|
+
* }],
|
|
135
|
+
* websiteUrl: "http://worldsgreatestchickent.test.com",
|
|
136
|
+
* description: "Worlds Greatest Chicken brings you the tastiest crispy, double fried spicy chicken in the world."
|
|
137
|
+
* }
|
|
138
|
+
* }],
|
|
139
|
+
* links: {
|
|
140
|
+
* self: "/v2/issuers/{organizationId}/users/{userId}/locations?page[size]=1&filter[latitude]=39.9419429&filter[longitude]=-75.1446869&filter[radius]=10&include=offers,categories",
|
|
141
|
+
* next: "/v2/issuers/{organizationId}/users/{userId}/locations?page[after]=NDMyNzQyODI3OTQw&page[size]=1&filter[latitude]=39.9419429&filter[longitude]=-75.1446869&filter[radius]=10&include=offers,categories"
|
|
142
|
+
* }
|
|
143
|
+
* }
|
|
144
|
+
*/
|
|
145
|
+
export interface LocationsResponseObject {
|
|
146
|
+
data: KardApi.LocationData[];
|
|
147
|
+
links: KardApi.Links;
|
|
148
|
+
included?: KardApi.EligibilityLocationIncluded[];
|
|
149
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as KardApi from "../../../index.mjs";
|
|
5
|
+
export interface OfferCommonFields {
|
|
6
|
+
/** Terms and conditions on offer */
|
|
7
|
+
terms: string;
|
|
8
|
+
/** Maximum times cardholder can redeem offer, if applicable */
|
|
9
|
+
maxRedemptions?: number;
|
|
10
|
+
/** Name of offer */
|
|
11
|
+
name: string;
|
|
12
|
+
purchaseChannel: KardApi.PurchaseChannel[];
|
|
13
|
+
userReward: KardApi.Commission;
|
|
14
|
+
/** Assets associated with offer */
|
|
15
|
+
assets: KardApi.Asset[];
|
|
16
|
+
/** Beginning date of offer (UTC) */
|
|
17
|
+
startDate: string;
|
|
18
|
+
/** Expiration date of offer if applicable (UTC) */
|
|
19
|
+
expirationDate: string;
|
|
20
|
+
/** True returns only targeted offers, false returns only non-targeted offers */
|
|
21
|
+
isTargeted: boolean;
|
|
22
|
+
/** Minimum Transaction Amount required to redeem offer, if available on offer */
|
|
23
|
+
minTransactionAmount?: KardApi.Amount;
|
|
24
|
+
/** Maximum Transaction Amount allowed to redeem offer, if available on offer */
|
|
25
|
+
maxTransactionAmount?: KardApi.Amount;
|
|
26
|
+
/** Minimum Reward Amount, if available on offer */
|
|
27
|
+
minRewardAmount?: KardApi.Amount;
|
|
28
|
+
/** Maximum Reward Amount, if available on offer */
|
|
29
|
+
maxRewardAmount?: KardApi.Amount;
|
|
30
|
+
/** URL to the website of the offer provider */
|
|
31
|
+
websiteUrl?: string;
|
|
32
|
+
/** Description of the offer */
|
|
33
|
+
description?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as KardApi from "../../../index.mjs";
|
|
5
|
+
export type OfferDataUnion = KardApi.OfferDataUnion.StandardOffer;
|
|
6
|
+
export declare namespace OfferDataUnion {
|
|
7
|
+
interface StandardOffer extends KardApi.StandardOffer {
|
|
8
|
+
type: "standardOffer";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type OfferSortOptions = "startDate" | "-startDate" | "expirationDate" | "-expirationDate" | "name" | "-name";
|
|
5
|
+
export declare const OfferSortOptions: {
|
|
6
|
+
readonly StartDateAsc: "startDate";
|
|
7
|
+
readonly StartDateDesc: "-startDate";
|
|
8
|
+
readonly ExpirationDateAsc: "expirationDate";
|
|
9
|
+
readonly ExpirationDateDesc: "-expirationDate";
|
|
10
|
+
readonly NameAsc: "name";
|
|
11
|
+
readonly NameDesc: "-name";
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const OfferSortOptions = {
|
|
5
|
+
StartDateAsc: "startDate",
|
|
6
|
+
StartDateDesc: "-startDate",
|
|
7
|
+
ExpirationDateAsc: "expirationDate",
|
|
8
|
+
ExpirationDateDesc: "-expirationDate",
|
|
9
|
+
NameAsc: "name",
|
|
10
|
+
NameDesc: "-name",
|
|
11
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as KardApi from "../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* data: [{
|
|
9
|
+
* type: "standardOffer",
|
|
10
|
+
* id: "5e27318c9b346f00087fbb5c",
|
|
11
|
+
* attributes: {
|
|
12
|
+
* name: "Worlds Greatest Chicken",
|
|
13
|
+
* terms: "Worlds Greatest Chicken offers are only available within US Locations.",
|
|
14
|
+
* purchaseChannel: [KardApi.PurchaseChannel.Instore],
|
|
15
|
+
* userReward: {
|
|
16
|
+
* type: KardApi.CommissionType.Percent,
|
|
17
|
+
* value: 5.7
|
|
18
|
+
* },
|
|
19
|
+
* startDate: "2024-11-17T05:00:00Z",
|
|
20
|
+
* expirationDate: "2025-03-17T05:00:00Z",
|
|
21
|
+
* minRewardAmount: {
|
|
22
|
+
* type: KardApi.AmountType.Cents,
|
|
23
|
+
* value: 500
|
|
24
|
+
* },
|
|
25
|
+
* maxRewardAmount: {
|
|
26
|
+
* type: KardApi.AmountType.Cents,
|
|
27
|
+
* value: 2000
|
|
28
|
+
* },
|
|
29
|
+
* minTransactionAmount: {
|
|
30
|
+
* type: KardApi.AmountType.Cents,
|
|
31
|
+
* value: 500
|
|
32
|
+
* },
|
|
33
|
+
* maxTransactionAmount: {
|
|
34
|
+
* type: KardApi.AmountType.Cents,
|
|
35
|
+
* value: 10000
|
|
36
|
+
* },
|
|
37
|
+
* maxRedemptions: 1,
|
|
38
|
+
* isTargeted: true,
|
|
39
|
+
* assets: [{
|
|
40
|
+
* type: "LOGO_IMAGE",
|
|
41
|
+
* url: "http://assets.getkard.com/logo/img?attribution-tokens",
|
|
42
|
+
* alt: "Worlds Greatest Chicken Logo Image"
|
|
43
|
+
* }, {
|
|
44
|
+
* type: "BANNER_IMAGE",
|
|
45
|
+
* url: "http://assets.getkard.com/banner/img?attribution-tokens",
|
|
46
|
+
* alt: "Worlds Greatest Chicken Banner Image"
|
|
47
|
+
* }],
|
|
48
|
+
* websiteUrl: "http://worldsgreatestchickent.test.com",
|
|
49
|
+
* description: "Worlds Greatest Chicken brings you the tastiest crispy, double fried spicy chicken in the world."
|
|
50
|
+
* },
|
|
51
|
+
* relationships: {
|
|
52
|
+
* category: {
|
|
53
|
+
* data: [{
|
|
54
|
+
* type: "category",
|
|
55
|
+
* id: "65920081b524d126068de24a"
|
|
56
|
+
* }, {
|
|
57
|
+
* type: "category",
|
|
58
|
+
* id: "65920081b524d126068de24c"
|
|
59
|
+
* }]
|
|
60
|
+
* }
|
|
61
|
+
* }
|
|
62
|
+
* }],
|
|
63
|
+
* included: [{
|
|
64
|
+
* type: "category",
|
|
65
|
+
* id: "65920081b524d126068de24a",
|
|
66
|
+
* attributes: {
|
|
67
|
+
* name: KardApi.CategoryOption.FoodBeverage
|
|
68
|
+
* }
|
|
69
|
+
* }, {
|
|
70
|
+
* type: "category",
|
|
71
|
+
* id: "65920081b524d126068de24c",
|
|
72
|
+
* attributes: {
|
|
73
|
+
* name: KardApi.CategoryOption.DepartmentStores
|
|
74
|
+
* }
|
|
75
|
+
* }],
|
|
76
|
+
* links: {
|
|
77
|
+
* self: "/v2/issuers/{organizationId}/users/{userId}/offers?page[size]=1?sort=-startDate",
|
|
78
|
+
* next: "/v2/issuers/{organizationId}/users/{userId}/offers?page[after]=NDMyNzQyODI3OTQw&page[size]=1?&sort=-startDate"
|
|
79
|
+
* }
|
|
80
|
+
* }
|
|
81
|
+
*/
|
|
82
|
+
export interface OffersResponseObject {
|
|
83
|
+
data: KardApi.OfferDataUnion[];
|
|
84
|
+
links: KardApi.Links;
|
|
85
|
+
included?: KardApi.EligibilityOfferIncluded[];
|
|
86
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as KardApi from "../../../index.mjs";
|
|
5
|
+
export interface StandardOfferCore {
|
|
6
|
+
/** Offer ID in Kard's system */
|
|
7
|
+
id: KardApi.MongoId;
|
|
8
|
+
attributes: KardApi.StandardOfferFields;
|
|
9
|
+
}
|