@kard-financial/sdk 11.0.1 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/commons/types/NotificationType.d.ts +0 -4
- package/dist/cjs/api/resources/commons/types/NotificationType.js +0 -4
- package/dist/cjs/api/resources/notifications/types/NotificationDataUnion.d.ts +1 -13
- package/dist/cjs/api/resources/notifications/types/NotificationPayload.d.ts +0 -201
- package/dist/cjs/api/resources/notifications/types/index.d.ts +0 -29
- package/dist/cjs/api/resources/notifications/types/index.js +0 -29
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/commons/types/NotificationType.d.mts +0 -4
- package/dist/esm/api/resources/commons/types/NotificationType.mjs +0 -4
- package/dist/esm/api/resources/notifications/types/NotificationDataUnion.d.mts +1 -13
- package/dist/esm/api/resources/notifications/types/NotificationPayload.d.mts +0 -201
- package/dist/esm/api/resources/notifications/types/index.d.mts +0 -29
- package/dist/esm/api/resources/notifications/types/index.mjs +0 -29
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/resources/notifications/types/BrokerAmount.d.ts +0 -7
- package/dist/cjs/api/resources/notifications/types/BrokerAmount.js +0 -3
- package/dist/cjs/api/resources/notifications/types/BrokerAmountType.d.ts +0 -4
- package/dist/cjs/api/resources/notifications/types/BrokerAmountType.js +0 -7
- package/dist/cjs/api/resources/notifications/types/BrokerAsset.d.ts +0 -9
- package/dist/cjs/api/resources/notifications/types/BrokerAsset.js +0 -3
- package/dist/cjs/api/resources/notifications/types/BrokerAssetType.d.ts +0 -5
- package/dist/cjs/api/resources/notifications/types/BrokerAssetType.js +0 -8
- package/dist/cjs/api/resources/notifications/types/BrokerOperationHours.d.ts +0 -7
- package/dist/cjs/api/resources/notifications/types/BrokerOperationHours.js +0 -3
- package/dist/cjs/api/resources/notifications/types/BrokerOperationPeriod.d.ts +0 -7
- package/dist/cjs/api/resources/notifications/types/BrokerOperationPeriod.js +0 -3
- package/dist/cjs/api/resources/notifications/types/BrokerPurchaseChannel.d.ts +0 -5
- package/dist/cjs/api/resources/notifications/types/BrokerPurchaseChannel.js +0 -8
- package/dist/cjs/api/resources/notifications/types/BrokerReward.d.ts +0 -7
- package/dist/cjs/api/resources/notifications/types/BrokerReward.js +0 -3
- package/dist/cjs/api/resources/notifications/types/BrokerRewardType.d.ts +0 -5
- package/dist/cjs/api/resources/notifications/types/BrokerRewardType.js +0 -8
- package/dist/cjs/api/resources/notifications/types/LocationAddress.d.ts +0 -10
- package/dist/cjs/api/resources/notifications/types/LocationAddress.js +0 -3
- package/dist/cjs/api/resources/notifications/types/LocationCoordinates.d.ts +0 -6
- package/dist/cjs/api/resources/notifications/types/LocationCoordinates.js +0 -3
- package/dist/cjs/api/resources/notifications/types/LocationStatus.d.ts +0 -5
- package/dist/cjs/api/resources/notifications/types/LocationStatus.js +0 -8
- package/dist/cjs/api/resources/notifications/types/MerchantSource.d.ts +0 -5
- package/dist/cjs/api/resources/notifications/types/MerchantSource.js +0 -8
- package/dist/cjs/api/resources/notifications/types/OfferStatus.d.ts +0 -5
- package/dist/cjs/api/resources/notifications/types/OfferStatus.js +0 -8
- package/dist/cjs/api/resources/notifications/types/OfferType.d.ts +0 -4
- package/dist/cjs/api/resources/notifications/types/OfferType.js +0 -7
- package/dist/cjs/api/resources/notifications/types/TimePeriod.d.ts +0 -6
- package/dist/cjs/api/resources/notifications/types/TimePeriod.js +0 -3
- package/dist/cjs/api/resources/notifications/types/UserOfferStatus.d.ts +0 -5
- package/dist/cjs/api/resources/notifications/types/UserOfferStatus.js +0 -8
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsAttributes.d.ts +0 -21
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsAttributes.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsData.d.ts +0 -7
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsData.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsRelationships.d.ts +0 -4
- package/dist/cjs/api/resources/notifications/types/WebhookLocationsRelationships.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantAttributes.d.ts +0 -21
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantAttributes.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantData.d.ts +0 -7
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantData.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantRelationships.d.ts +0 -4
- package/dist/cjs/api/resources/notifications/types/WebhookMerchantRelationships.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookOfferAttributes.d.ts +0 -43
- package/dist/cjs/api/resources/notifications/types/WebhookOfferAttributes.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookOfferData.d.ts +0 -7
- package/dist/cjs/api/resources/notifications/types/WebhookOfferData.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookOfferRelationships.d.ts +0 -4
- package/dist/cjs/api/resources/notifications/types/WebhookOfferRelationships.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferAttributes.d.ts +0 -11
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferAttributes.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferData.d.ts +0 -7
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferData.js +0 -3
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferRelationships.d.ts +0 -5
- package/dist/cjs/api/resources/notifications/types/WebhookUserOfferRelationships.js +0 -3
- package/dist/esm/api/resources/notifications/types/BrokerAmount.d.mts +0 -7
- package/dist/esm/api/resources/notifications/types/BrokerAmount.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/BrokerAmountType.d.mts +0 -4
- package/dist/esm/api/resources/notifications/types/BrokerAmountType.mjs +0 -4
- package/dist/esm/api/resources/notifications/types/BrokerAsset.d.mts +0 -9
- package/dist/esm/api/resources/notifications/types/BrokerAsset.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/BrokerAssetType.d.mts +0 -5
- package/dist/esm/api/resources/notifications/types/BrokerAssetType.mjs +0 -5
- package/dist/esm/api/resources/notifications/types/BrokerOperationHours.d.mts +0 -7
- package/dist/esm/api/resources/notifications/types/BrokerOperationHours.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/BrokerOperationPeriod.d.mts +0 -7
- package/dist/esm/api/resources/notifications/types/BrokerOperationPeriod.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/BrokerPurchaseChannel.d.mts +0 -5
- package/dist/esm/api/resources/notifications/types/BrokerPurchaseChannel.mjs +0 -5
- package/dist/esm/api/resources/notifications/types/BrokerReward.d.mts +0 -7
- package/dist/esm/api/resources/notifications/types/BrokerReward.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/BrokerRewardType.d.mts +0 -5
- package/dist/esm/api/resources/notifications/types/BrokerRewardType.mjs +0 -5
- package/dist/esm/api/resources/notifications/types/LocationAddress.d.mts +0 -10
- package/dist/esm/api/resources/notifications/types/LocationAddress.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/LocationCoordinates.d.mts +0 -6
- package/dist/esm/api/resources/notifications/types/LocationCoordinates.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/LocationStatus.d.mts +0 -5
- package/dist/esm/api/resources/notifications/types/LocationStatus.mjs +0 -5
- package/dist/esm/api/resources/notifications/types/MerchantSource.d.mts +0 -5
- package/dist/esm/api/resources/notifications/types/MerchantSource.mjs +0 -5
- package/dist/esm/api/resources/notifications/types/OfferStatus.d.mts +0 -5
- package/dist/esm/api/resources/notifications/types/OfferStatus.mjs +0 -5
- package/dist/esm/api/resources/notifications/types/OfferType.d.mts +0 -4
- package/dist/esm/api/resources/notifications/types/OfferType.mjs +0 -4
- package/dist/esm/api/resources/notifications/types/TimePeriod.d.mts +0 -6
- package/dist/esm/api/resources/notifications/types/TimePeriod.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/UserOfferStatus.d.mts +0 -5
- package/dist/esm/api/resources/notifications/types/UserOfferStatus.mjs +0 -5
- package/dist/esm/api/resources/notifications/types/WebhookLocationsAttributes.d.mts +0 -21
- package/dist/esm/api/resources/notifications/types/WebhookLocationsAttributes.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookLocationsData.d.mts +0 -7
- package/dist/esm/api/resources/notifications/types/WebhookLocationsData.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookLocationsRelationships.d.mts +0 -4
- package/dist/esm/api/resources/notifications/types/WebhookLocationsRelationships.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookMerchantAttributes.d.mts +0 -21
- package/dist/esm/api/resources/notifications/types/WebhookMerchantAttributes.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookMerchantData.d.mts +0 -7
- package/dist/esm/api/resources/notifications/types/WebhookMerchantData.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookMerchantRelationships.d.mts +0 -4
- package/dist/esm/api/resources/notifications/types/WebhookMerchantRelationships.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookOfferAttributes.d.mts +0 -43
- package/dist/esm/api/resources/notifications/types/WebhookOfferAttributes.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookOfferData.d.mts +0 -7
- package/dist/esm/api/resources/notifications/types/WebhookOfferData.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookOfferRelationships.d.mts +0 -4
- package/dist/esm/api/resources/notifications/types/WebhookOfferRelationships.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferAttributes.d.mts +0 -11
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferAttributes.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferData.d.mts +0 -7
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferData.mjs +0 -2
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferRelationships.d.mts +0 -5
- package/dist/esm/api/resources/notifications/types/WebhookUserOfferRelationships.mjs +0 -2
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
export * from "./AuditUpdateAttributes.mjs";
|
|
2
2
|
export * from "./AuditUpdateData.mjs";
|
|
3
3
|
export * from "./AuditUpdateRelationships.mjs";
|
|
4
|
-
export * from "./BrokerAmount.mjs";
|
|
5
|
-
export * from "./BrokerAmountType.mjs";
|
|
6
|
-
export * from "./BrokerAsset.mjs";
|
|
7
|
-
export * from "./BrokerAssetType.mjs";
|
|
8
|
-
export * from "./BrokerOperationHours.mjs";
|
|
9
|
-
export * from "./BrokerOperationPeriod.mjs";
|
|
10
|
-
export * from "./BrokerPurchaseChannel.mjs";
|
|
11
|
-
export * from "./BrokerReward.mjs";
|
|
12
|
-
export * from "./BrokerRewardType.mjs";
|
|
13
4
|
export * from "./ClawbackData.mjs";
|
|
14
5
|
export * from "./EarnedRewardApprovedData.mjs";
|
|
15
6
|
export * from "./EarnedRewardAttributes.mjs";
|
|
@@ -20,31 +11,11 @@ export * from "./FailedTransactionAttributes.mjs";
|
|
|
20
11
|
export * from "./FailedTransactionData.mjs";
|
|
21
12
|
export * from "./FailedTransactionRelationships.mjs";
|
|
22
13
|
export * from "./FileResultData.mjs";
|
|
23
|
-
export * from "./LocationAddress.mjs";
|
|
24
|
-
export * from "./LocationCoordinates.mjs";
|
|
25
|
-
export * from "./LocationStatus.mjs";
|
|
26
|
-
export * from "./MerchantSource.mjs";
|
|
27
14
|
export * from "./NotificationDataUnion.mjs";
|
|
28
15
|
export * from "./NotificationMetadata.mjs";
|
|
29
16
|
export * from "./NotificationPayload.mjs";
|
|
30
|
-
export * from "./OfferStatus.mjs";
|
|
31
|
-
export * from "./OfferType.mjs";
|
|
32
17
|
export * from "./RewardNotificationAttributes.mjs";
|
|
33
|
-
export * from "./TimePeriod.mjs";
|
|
34
18
|
export * from "./TransactionRelationships.mjs";
|
|
35
|
-
export * from "./UserOfferStatus.mjs";
|
|
36
19
|
export * from "./ValidTransactionAttributes.mjs";
|
|
37
20
|
export * from "./ValidTransactionCommissionEarned.mjs";
|
|
38
21
|
export * from "./ValidTransactionData.mjs";
|
|
39
|
-
export * from "./WebhookLocationsAttributes.mjs";
|
|
40
|
-
export * from "./WebhookLocationsData.mjs";
|
|
41
|
-
export * from "./WebhookLocationsRelationships.mjs";
|
|
42
|
-
export * from "./WebhookMerchantAttributes.mjs";
|
|
43
|
-
export * from "./WebhookMerchantData.mjs";
|
|
44
|
-
export * from "./WebhookMerchantRelationships.mjs";
|
|
45
|
-
export * from "./WebhookOfferAttributes.mjs";
|
|
46
|
-
export * from "./WebhookOfferData.mjs";
|
|
47
|
-
export * from "./WebhookOfferRelationships.mjs";
|
|
48
|
-
export * from "./WebhookUserOfferAttributes.mjs";
|
|
49
|
-
export * from "./WebhookUserOfferData.mjs";
|
|
50
|
-
export * from "./WebhookUserOfferRelationships.mjs";
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
export * from "./AuditUpdateAttributes.mjs";
|
|
2
2
|
export * from "./AuditUpdateData.mjs";
|
|
3
3
|
export * from "./AuditUpdateRelationships.mjs";
|
|
4
|
-
export * from "./BrokerAmount.mjs";
|
|
5
|
-
export * from "./BrokerAmountType.mjs";
|
|
6
|
-
export * from "./BrokerAsset.mjs";
|
|
7
|
-
export * from "./BrokerAssetType.mjs";
|
|
8
|
-
export * from "./BrokerOperationHours.mjs";
|
|
9
|
-
export * from "./BrokerOperationPeriod.mjs";
|
|
10
|
-
export * from "./BrokerPurchaseChannel.mjs";
|
|
11
|
-
export * from "./BrokerReward.mjs";
|
|
12
|
-
export * from "./BrokerRewardType.mjs";
|
|
13
4
|
export * from "./ClawbackData.mjs";
|
|
14
5
|
export * from "./EarnedRewardApprovedData.mjs";
|
|
15
6
|
export * from "./EarnedRewardAttributes.mjs";
|
|
@@ -20,31 +11,11 @@ export * from "./FailedTransactionAttributes.mjs";
|
|
|
20
11
|
export * from "./FailedTransactionData.mjs";
|
|
21
12
|
export * from "./FailedTransactionRelationships.mjs";
|
|
22
13
|
export * from "./FileResultData.mjs";
|
|
23
|
-
export * from "./LocationAddress.mjs";
|
|
24
|
-
export * from "./LocationCoordinates.mjs";
|
|
25
|
-
export * from "./LocationStatus.mjs";
|
|
26
|
-
export * from "./MerchantSource.mjs";
|
|
27
14
|
export * from "./NotificationDataUnion.mjs";
|
|
28
15
|
export * from "./NotificationMetadata.mjs";
|
|
29
16
|
export * from "./NotificationPayload.mjs";
|
|
30
|
-
export * from "./OfferStatus.mjs";
|
|
31
|
-
export * from "./OfferType.mjs";
|
|
32
17
|
export * from "./RewardNotificationAttributes.mjs";
|
|
33
|
-
export * from "./TimePeriod.mjs";
|
|
34
18
|
export * from "./TransactionRelationships.mjs";
|
|
35
|
-
export * from "./UserOfferStatus.mjs";
|
|
36
19
|
export * from "./ValidTransactionAttributes.mjs";
|
|
37
20
|
export * from "./ValidTransactionCommissionEarned.mjs";
|
|
38
21
|
export * from "./ValidTransactionData.mjs";
|
|
39
|
-
export * from "./WebhookLocationsAttributes.mjs";
|
|
40
|
-
export * from "./WebhookLocationsData.mjs";
|
|
41
|
-
export * from "./WebhookLocationsRelationships.mjs";
|
|
42
|
-
export * from "./WebhookMerchantAttributes.mjs";
|
|
43
|
-
export * from "./WebhookMerchantData.mjs";
|
|
44
|
-
export * from "./WebhookMerchantRelationships.mjs";
|
|
45
|
-
export * from "./WebhookOfferAttributes.mjs";
|
|
46
|
-
export * from "./WebhookOfferData.mjs";
|
|
47
|
-
export * from "./WebhookOfferRelationships.mjs";
|
|
48
|
-
export * from "./WebhookUserOfferAttributes.mjs";
|
|
49
|
-
export * from "./WebhookUserOfferData.mjs";
|
|
50
|
-
export * from "./WebhookUserOfferRelationships.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "12.0.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "12.0.0";
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.BrokerAssetType = void 0;
|
|
5
|
-
exports.BrokerAssetType = {
|
|
6
|
-
LogoImage: "LOGO_IMAGE",
|
|
7
|
-
BannerImage: "BANNER_IMAGE",
|
|
8
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type * as KardApi from "../../../index.js";
|
|
2
|
-
export interface BrokerOperationHours {
|
|
3
|
-
/** Operating hour periods by day of week */
|
|
4
|
-
periods?: KardApi.BrokerOperationPeriod[];
|
|
5
|
-
/** Human-readable description of operating hours */
|
|
6
|
-
weekdayText: string[];
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.BrokerPurchaseChannel = void 0;
|
|
5
|
-
exports.BrokerPurchaseChannel = {
|
|
6
|
-
Instore: "INSTORE",
|
|
7
|
-
Online: "ONLINE",
|
|
8
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type * as KardApi from "../../../index.js";
|
|
2
|
-
export interface WebhookLocationsAttributes {
|
|
3
|
-
/** The Kard location ID */
|
|
4
|
-
locationId: string;
|
|
5
|
-
/** The name of the location */
|
|
6
|
-
name: string;
|
|
7
|
-
/** The status of the location */
|
|
8
|
-
status: KardApi.LocationStatus;
|
|
9
|
-
/** The physical address of the location */
|
|
10
|
-
address: KardApi.LocationAddress;
|
|
11
|
-
/** The geographic coordinates of the location */
|
|
12
|
-
coordinates: KardApi.LocationCoordinates;
|
|
13
|
-
/** The phone number of the location */
|
|
14
|
-
phone: string;
|
|
15
|
-
/** The hours of operation for the location */
|
|
16
|
-
operationHours: KardApi.BrokerOperationHours;
|
|
17
|
-
/** When the location was created */
|
|
18
|
-
createdAt: string;
|
|
19
|
-
/** When the location was last updated */
|
|
20
|
-
updatedAt: string;
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type * as KardApi from "../../../index.js";
|
|
2
|
-
export interface WebhookMerchantAttributes {
|
|
3
|
-
/** The Kard merchant ID */
|
|
4
|
-
merchantId: string;
|
|
5
|
-
/** The name of the merchant */
|
|
6
|
-
name: string;
|
|
7
|
-
/** The description of the merchant */
|
|
8
|
-
description: string;
|
|
9
|
-
/** The URL of the merchant's website */
|
|
10
|
-
websiteUrl: string;
|
|
11
|
-
/** Media assets associated with the merchant */
|
|
12
|
-
assets: KardApi.BrokerAsset[];
|
|
13
|
-
/** The source of the merchant data */
|
|
14
|
-
source: KardApi.MerchantSource;
|
|
15
|
-
/** The category of the merchant */
|
|
16
|
-
category: string;
|
|
17
|
-
/** When the merchant was last updated */
|
|
18
|
-
updatedAt: string;
|
|
19
|
-
/** When the merchant was created */
|
|
20
|
-
createdAt: string;
|
|
21
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type * as KardApi from "../../../index.js";
|
|
2
|
-
export interface WebhookOfferAttributes {
|
|
3
|
-
/** The Kard offer ID */
|
|
4
|
-
offerId: string;
|
|
5
|
-
/** The type of kard platform offer (e.g., "standardOffer") */
|
|
6
|
-
offerType: KardApi.OfferType;
|
|
7
|
-
/** The name of the offer */
|
|
8
|
-
name: string;
|
|
9
|
-
/** Terms and conditions for the offer */
|
|
10
|
-
terms: string;
|
|
11
|
-
/** Current status of the offer */
|
|
12
|
-
status: KardApi.OfferStatus;
|
|
13
|
-
/** Channels where the offer can be redeemed */
|
|
14
|
-
purchaseChannel: KardApi.BrokerPurchaseChannel[];
|
|
15
|
-
/** Reward details for the user */
|
|
16
|
-
userReward: KardApi.BrokerReward;
|
|
17
|
-
/** When the offer becomes active */
|
|
18
|
-
startDate: string;
|
|
19
|
-
/** When the offer expires */
|
|
20
|
-
expirationDate: string;
|
|
21
|
-
/** Minimum reward amount */
|
|
22
|
-
minRewardAmount?: KardApi.BrokerAmount;
|
|
23
|
-
/** Maximum reward amount */
|
|
24
|
-
maxRewardAmount?: KardApi.BrokerAmount;
|
|
25
|
-
/** Minimum user reward amount */
|
|
26
|
-
minUserRewardAmount?: KardApi.BrokerAmount;
|
|
27
|
-
/** Maximum user reward amount */
|
|
28
|
-
maxUserRewardAmount?: KardApi.BrokerAmount;
|
|
29
|
-
/** Minimum transaction amount */
|
|
30
|
-
minTransactionAmount?: KardApi.BrokerAmount;
|
|
31
|
-
/** Maximum transaction amount */
|
|
32
|
-
maxTransactionAmount?: KardApi.BrokerAmount;
|
|
33
|
-
/** Maximum number of times the offer can be redeemed */
|
|
34
|
-
maxRedemptions?: number;
|
|
35
|
-
/** Required MCCs to redeem the offer. If this is empty or not present no MCCs are required. */
|
|
36
|
-
validMCCs?: string[];
|
|
37
|
-
/** Whether the offer is targeted to specific users */
|
|
38
|
-
isTargeted: boolean;
|
|
39
|
-
/** When the offer was last updated */
|
|
40
|
-
updatedAt: string;
|
|
41
|
-
/** When the offer was created */
|
|
42
|
-
createdAt: string;
|
|
43
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type * as KardApi from "../../../index.js";
|
|
2
|
-
export interface WebhookUserOfferAttributes {
|
|
3
|
-
/** Current status of the user offer */
|
|
4
|
-
status: KardApi.UserOfferStatus;
|
|
5
|
-
/** When the user offer was last updated */
|
|
6
|
-
updatedAt: string;
|
|
7
|
-
/** When the user offer was created */
|
|
8
|
-
createdAt: string;
|
|
9
|
-
/** The priority of the notification event. This will be a number between 1-10 with 1 being the highest priority. */
|
|
10
|
-
eventPriority: number;
|
|
11
|
-
}
|