@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.
Files changed (135) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/commons/types/NotificationType.d.ts +0 -4
  3. package/dist/cjs/api/resources/commons/types/NotificationType.js +0 -4
  4. package/dist/cjs/api/resources/notifications/types/NotificationDataUnion.d.ts +1 -13
  5. package/dist/cjs/api/resources/notifications/types/NotificationPayload.d.ts +0 -201
  6. package/dist/cjs/api/resources/notifications/types/index.d.ts +0 -29
  7. package/dist/cjs/api/resources/notifications/types/index.js +0 -29
  8. package/dist/cjs/version.d.ts +1 -1
  9. package/dist/cjs/version.js +1 -1
  10. package/dist/esm/BaseClient.mjs +2 -2
  11. package/dist/esm/api/resources/commons/types/NotificationType.d.mts +0 -4
  12. package/dist/esm/api/resources/commons/types/NotificationType.mjs +0 -4
  13. package/dist/esm/api/resources/notifications/types/NotificationDataUnion.d.mts +1 -13
  14. package/dist/esm/api/resources/notifications/types/NotificationPayload.d.mts +0 -201
  15. package/dist/esm/api/resources/notifications/types/index.d.mts +0 -29
  16. package/dist/esm/api/resources/notifications/types/index.mjs +0 -29
  17. package/dist/esm/version.d.mts +1 -1
  18. package/dist/esm/version.mjs +1 -1
  19. package/package.json +1 -1
  20. package/dist/cjs/api/resources/notifications/types/BrokerAmount.d.ts +0 -7
  21. package/dist/cjs/api/resources/notifications/types/BrokerAmount.js +0 -3
  22. package/dist/cjs/api/resources/notifications/types/BrokerAmountType.d.ts +0 -4
  23. package/dist/cjs/api/resources/notifications/types/BrokerAmountType.js +0 -7
  24. package/dist/cjs/api/resources/notifications/types/BrokerAsset.d.ts +0 -9
  25. package/dist/cjs/api/resources/notifications/types/BrokerAsset.js +0 -3
  26. package/dist/cjs/api/resources/notifications/types/BrokerAssetType.d.ts +0 -5
  27. package/dist/cjs/api/resources/notifications/types/BrokerAssetType.js +0 -8
  28. package/dist/cjs/api/resources/notifications/types/BrokerOperationHours.d.ts +0 -7
  29. package/dist/cjs/api/resources/notifications/types/BrokerOperationHours.js +0 -3
  30. package/dist/cjs/api/resources/notifications/types/BrokerOperationPeriod.d.ts +0 -7
  31. package/dist/cjs/api/resources/notifications/types/BrokerOperationPeriod.js +0 -3
  32. package/dist/cjs/api/resources/notifications/types/BrokerPurchaseChannel.d.ts +0 -5
  33. package/dist/cjs/api/resources/notifications/types/BrokerPurchaseChannel.js +0 -8
  34. package/dist/cjs/api/resources/notifications/types/BrokerReward.d.ts +0 -7
  35. package/dist/cjs/api/resources/notifications/types/BrokerReward.js +0 -3
  36. package/dist/cjs/api/resources/notifications/types/BrokerRewardType.d.ts +0 -5
  37. package/dist/cjs/api/resources/notifications/types/BrokerRewardType.js +0 -8
  38. package/dist/cjs/api/resources/notifications/types/LocationAddress.d.ts +0 -10
  39. package/dist/cjs/api/resources/notifications/types/LocationAddress.js +0 -3
  40. package/dist/cjs/api/resources/notifications/types/LocationCoordinates.d.ts +0 -6
  41. package/dist/cjs/api/resources/notifications/types/LocationCoordinates.js +0 -3
  42. package/dist/cjs/api/resources/notifications/types/LocationStatus.d.ts +0 -5
  43. package/dist/cjs/api/resources/notifications/types/LocationStatus.js +0 -8
  44. package/dist/cjs/api/resources/notifications/types/MerchantSource.d.ts +0 -5
  45. package/dist/cjs/api/resources/notifications/types/MerchantSource.js +0 -8
  46. package/dist/cjs/api/resources/notifications/types/OfferStatus.d.ts +0 -5
  47. package/dist/cjs/api/resources/notifications/types/OfferStatus.js +0 -8
  48. package/dist/cjs/api/resources/notifications/types/OfferType.d.ts +0 -4
  49. package/dist/cjs/api/resources/notifications/types/OfferType.js +0 -7
  50. package/dist/cjs/api/resources/notifications/types/TimePeriod.d.ts +0 -6
  51. package/dist/cjs/api/resources/notifications/types/TimePeriod.js +0 -3
  52. package/dist/cjs/api/resources/notifications/types/UserOfferStatus.d.ts +0 -5
  53. package/dist/cjs/api/resources/notifications/types/UserOfferStatus.js +0 -8
  54. package/dist/cjs/api/resources/notifications/types/WebhookLocationsAttributes.d.ts +0 -21
  55. package/dist/cjs/api/resources/notifications/types/WebhookLocationsAttributes.js +0 -3
  56. package/dist/cjs/api/resources/notifications/types/WebhookLocationsData.d.ts +0 -7
  57. package/dist/cjs/api/resources/notifications/types/WebhookLocationsData.js +0 -3
  58. package/dist/cjs/api/resources/notifications/types/WebhookLocationsRelationships.d.ts +0 -4
  59. package/dist/cjs/api/resources/notifications/types/WebhookLocationsRelationships.js +0 -3
  60. package/dist/cjs/api/resources/notifications/types/WebhookMerchantAttributes.d.ts +0 -21
  61. package/dist/cjs/api/resources/notifications/types/WebhookMerchantAttributes.js +0 -3
  62. package/dist/cjs/api/resources/notifications/types/WebhookMerchantData.d.ts +0 -7
  63. package/dist/cjs/api/resources/notifications/types/WebhookMerchantData.js +0 -3
  64. package/dist/cjs/api/resources/notifications/types/WebhookMerchantRelationships.d.ts +0 -4
  65. package/dist/cjs/api/resources/notifications/types/WebhookMerchantRelationships.js +0 -3
  66. package/dist/cjs/api/resources/notifications/types/WebhookOfferAttributes.d.ts +0 -43
  67. package/dist/cjs/api/resources/notifications/types/WebhookOfferAttributes.js +0 -3
  68. package/dist/cjs/api/resources/notifications/types/WebhookOfferData.d.ts +0 -7
  69. package/dist/cjs/api/resources/notifications/types/WebhookOfferData.js +0 -3
  70. package/dist/cjs/api/resources/notifications/types/WebhookOfferRelationships.d.ts +0 -4
  71. package/dist/cjs/api/resources/notifications/types/WebhookOfferRelationships.js +0 -3
  72. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferAttributes.d.ts +0 -11
  73. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferAttributes.js +0 -3
  74. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferData.d.ts +0 -7
  75. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferData.js +0 -3
  76. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferRelationships.d.ts +0 -5
  77. package/dist/cjs/api/resources/notifications/types/WebhookUserOfferRelationships.js +0 -3
  78. package/dist/esm/api/resources/notifications/types/BrokerAmount.d.mts +0 -7
  79. package/dist/esm/api/resources/notifications/types/BrokerAmount.mjs +0 -2
  80. package/dist/esm/api/resources/notifications/types/BrokerAmountType.d.mts +0 -4
  81. package/dist/esm/api/resources/notifications/types/BrokerAmountType.mjs +0 -4
  82. package/dist/esm/api/resources/notifications/types/BrokerAsset.d.mts +0 -9
  83. package/dist/esm/api/resources/notifications/types/BrokerAsset.mjs +0 -2
  84. package/dist/esm/api/resources/notifications/types/BrokerAssetType.d.mts +0 -5
  85. package/dist/esm/api/resources/notifications/types/BrokerAssetType.mjs +0 -5
  86. package/dist/esm/api/resources/notifications/types/BrokerOperationHours.d.mts +0 -7
  87. package/dist/esm/api/resources/notifications/types/BrokerOperationHours.mjs +0 -2
  88. package/dist/esm/api/resources/notifications/types/BrokerOperationPeriod.d.mts +0 -7
  89. package/dist/esm/api/resources/notifications/types/BrokerOperationPeriod.mjs +0 -2
  90. package/dist/esm/api/resources/notifications/types/BrokerPurchaseChannel.d.mts +0 -5
  91. package/dist/esm/api/resources/notifications/types/BrokerPurchaseChannel.mjs +0 -5
  92. package/dist/esm/api/resources/notifications/types/BrokerReward.d.mts +0 -7
  93. package/dist/esm/api/resources/notifications/types/BrokerReward.mjs +0 -2
  94. package/dist/esm/api/resources/notifications/types/BrokerRewardType.d.mts +0 -5
  95. package/dist/esm/api/resources/notifications/types/BrokerRewardType.mjs +0 -5
  96. package/dist/esm/api/resources/notifications/types/LocationAddress.d.mts +0 -10
  97. package/dist/esm/api/resources/notifications/types/LocationAddress.mjs +0 -2
  98. package/dist/esm/api/resources/notifications/types/LocationCoordinates.d.mts +0 -6
  99. package/dist/esm/api/resources/notifications/types/LocationCoordinates.mjs +0 -2
  100. package/dist/esm/api/resources/notifications/types/LocationStatus.d.mts +0 -5
  101. package/dist/esm/api/resources/notifications/types/LocationStatus.mjs +0 -5
  102. package/dist/esm/api/resources/notifications/types/MerchantSource.d.mts +0 -5
  103. package/dist/esm/api/resources/notifications/types/MerchantSource.mjs +0 -5
  104. package/dist/esm/api/resources/notifications/types/OfferStatus.d.mts +0 -5
  105. package/dist/esm/api/resources/notifications/types/OfferStatus.mjs +0 -5
  106. package/dist/esm/api/resources/notifications/types/OfferType.d.mts +0 -4
  107. package/dist/esm/api/resources/notifications/types/OfferType.mjs +0 -4
  108. package/dist/esm/api/resources/notifications/types/TimePeriod.d.mts +0 -6
  109. package/dist/esm/api/resources/notifications/types/TimePeriod.mjs +0 -2
  110. package/dist/esm/api/resources/notifications/types/UserOfferStatus.d.mts +0 -5
  111. package/dist/esm/api/resources/notifications/types/UserOfferStatus.mjs +0 -5
  112. package/dist/esm/api/resources/notifications/types/WebhookLocationsAttributes.d.mts +0 -21
  113. package/dist/esm/api/resources/notifications/types/WebhookLocationsAttributes.mjs +0 -2
  114. package/dist/esm/api/resources/notifications/types/WebhookLocationsData.d.mts +0 -7
  115. package/dist/esm/api/resources/notifications/types/WebhookLocationsData.mjs +0 -2
  116. package/dist/esm/api/resources/notifications/types/WebhookLocationsRelationships.d.mts +0 -4
  117. package/dist/esm/api/resources/notifications/types/WebhookLocationsRelationships.mjs +0 -2
  118. package/dist/esm/api/resources/notifications/types/WebhookMerchantAttributes.d.mts +0 -21
  119. package/dist/esm/api/resources/notifications/types/WebhookMerchantAttributes.mjs +0 -2
  120. package/dist/esm/api/resources/notifications/types/WebhookMerchantData.d.mts +0 -7
  121. package/dist/esm/api/resources/notifications/types/WebhookMerchantData.mjs +0 -2
  122. package/dist/esm/api/resources/notifications/types/WebhookMerchantRelationships.d.mts +0 -4
  123. package/dist/esm/api/resources/notifications/types/WebhookMerchantRelationships.mjs +0 -2
  124. package/dist/esm/api/resources/notifications/types/WebhookOfferAttributes.d.mts +0 -43
  125. package/dist/esm/api/resources/notifications/types/WebhookOfferAttributes.mjs +0 -2
  126. package/dist/esm/api/resources/notifications/types/WebhookOfferData.d.mts +0 -7
  127. package/dist/esm/api/resources/notifications/types/WebhookOfferData.mjs +0 -2
  128. package/dist/esm/api/resources/notifications/types/WebhookOfferRelationships.d.mts +0 -4
  129. package/dist/esm/api/resources/notifications/types/WebhookOfferRelationships.mjs +0 -2
  130. package/dist/esm/api/resources/notifications/types/WebhookUserOfferAttributes.d.mts +0 -11
  131. package/dist/esm/api/resources/notifications/types/WebhookUserOfferAttributes.mjs +0 -2
  132. package/dist/esm/api/resources/notifications/types/WebhookUserOfferData.d.mts +0 -7
  133. package/dist/esm/api/resources/notifications/types/WebhookUserOfferData.mjs +0 -2
  134. package/dist/esm/api/resources/notifications/types/WebhookUserOfferRelationships.d.mts +0 -5
  135. 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";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "11.0.1";
1
+ export declare const SDK_VERSION = "12.0.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "11.0.1";
1
+ export const SDK_VERSION = "12.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kard-financial/sdk",
3
- "version": "11.0.1",
3
+ "version": "12.0.0",
4
4
  "private": false,
5
5
  "repository": "github:KardFinancial/kard-node-sdk",
6
6
  "type": "commonjs",
@@ -1,7 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface BrokerAmount {
3
- /** Type of amount */
4
- type: KardApi.BrokerAmountType;
5
- /** Amount value */
6
- value: number;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export declare const BrokerAmountType: {
2
- readonly Cents: "CENTS";
3
- };
4
- export type BrokerAmountType = (typeof BrokerAmountType)[keyof typeof BrokerAmountType];
@@ -1,7 +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.BrokerAmountType = void 0;
5
- exports.BrokerAmountType = {
6
- Cents: "CENTS",
7
- };
@@ -1,9 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface BrokerAsset {
3
- /** Type of asset */
4
- type: KardApi.BrokerAssetType;
5
- /** URL to the asset */
6
- url: string;
7
- /** Alt text for the asset */
8
- alt?: string;
9
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export declare const BrokerAssetType: {
2
- readonly LogoImage: "LOGO_IMAGE";
3
- readonly BannerImage: "BANNER_IMAGE";
4
- };
5
- export type BrokerAssetType = (typeof BrokerAssetType)[keyof typeof BrokerAssetType];
@@ -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,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface BrokerOperationPeriod {
3
- /** When the location opens */
4
- open: KardApi.TimePeriod;
5
- /** When the location closes */
6
- close: KardApi.TimePeriod;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export declare const BrokerPurchaseChannel: {
2
- readonly Instore: "INSTORE";
3
- readonly Online: "ONLINE";
4
- };
5
- export type BrokerPurchaseChannel = (typeof BrokerPurchaseChannel)[keyof typeof BrokerPurchaseChannel];
@@ -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,7 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface BrokerReward {
3
- /** Type of reward */
4
- type: KardApi.BrokerRewardType;
5
- /** Reward value */
6
- value: number;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export declare const BrokerRewardType: {
2
- readonly Percent: "PERCENT";
3
- readonly Flat: "FLAT";
4
- };
5
- export type BrokerRewardType = (typeof BrokerRewardType)[keyof typeof BrokerRewardType];
@@ -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.BrokerRewardType = void 0;
5
- exports.BrokerRewardType = {
6
- Percent: "PERCENT",
7
- Flat: "FLAT",
8
- };
@@ -1,10 +0,0 @@
1
- export interface LocationAddress {
2
- /** The street address */
3
- street: string;
4
- /** The city */
5
- city: string;
6
- /** The state or province */
7
- state: string;
8
- /** The postal or ZIP code */
9
- zipCode: string;
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- export interface LocationCoordinates {
2
- /** The longitude coordinate */
3
- longitude: number;
4
- /** The latitude coordinate */
5
- latitude: number;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export declare const LocationStatus: {
2
- readonly Active: "ACTIVE";
3
- readonly Inactive: "INACTIVE";
4
- };
5
- export type LocationStatus = (typeof LocationStatus)[keyof typeof LocationStatus];
@@ -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.LocationStatus = void 0;
5
- exports.LocationStatus = {
6
- Active: "ACTIVE",
7
- Inactive: "INACTIVE",
8
- };
@@ -1,5 +0,0 @@
1
- export declare const MerchantSource: {
2
- readonly National: "NATIONAL";
3
- readonly Local: "LOCAL";
4
- };
5
- export type MerchantSource = (typeof MerchantSource)[keyof typeof MerchantSource];
@@ -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.MerchantSource = void 0;
5
- exports.MerchantSource = {
6
- National: "NATIONAL",
7
- Local: "LOCAL",
8
- };
@@ -1,5 +0,0 @@
1
- export declare const OfferStatus: {
2
- readonly Inactive: "INACTIVE";
3
- readonly Active: "ACTIVE";
4
- };
5
- export type OfferStatus = (typeof OfferStatus)[keyof typeof OfferStatus];
@@ -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.OfferStatus = void 0;
5
- exports.OfferStatus = {
6
- Inactive: "INACTIVE",
7
- Active: "ACTIVE",
8
- };
@@ -1,4 +0,0 @@
1
- export declare const OfferType: {
2
- readonly StandardOffer: "standardOffer";
3
- };
4
- export type OfferType = (typeof OfferType)[keyof typeof OfferType];
@@ -1,7 +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.OfferType = void 0;
5
- exports.OfferType = {
6
- StandardOffer: "standardOffer",
7
- };
@@ -1,6 +0,0 @@
1
- export interface TimePeriod {
2
- /** Day of week (0=Sunday, 1=Monday, etc.) */
3
- day: number;
4
- /** Time in 24-hour format (e.g. "0900" for 9:00 AM) */
5
- time: string;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export declare const UserOfferStatus: {
2
- readonly Active: "ACTIVE";
3
- readonly Inactive: "INACTIVE";
4
- };
5
- export type UserOfferStatus = (typeof UserOfferStatus)[keyof typeof UserOfferStatus];
@@ -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.UserOfferStatus = void 0;
5
- exports.UserOfferStatus = {
6
- Active: "ACTIVE",
7
- Inactive: "INACTIVE",
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,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface WebhookLocationsData {
3
- /** The internal ID of the notification */
4
- id: string;
5
- attributes: KardApi.WebhookLocationsAttributes;
6
- relationships: KardApi.WebhookLocationsRelationships;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface WebhookLocationsRelationships {
3
- merchant: KardApi.RelationshipSingle;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface WebhookMerchantData {
3
- /** The internal ID of the notification */
4
- id: string;
5
- attributes: KardApi.WebhookMerchantAttributes;
6
- relationships: KardApi.WebhookMerchantRelationships;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface WebhookMerchantRelationships {
3
- offer?: KardApi.RelationshipMultiple;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface WebhookOfferData {
3
- /** The internal ID of the notification */
4
- id: string;
5
- attributes: KardApi.WebhookOfferAttributes;
6
- relationships: KardApi.WebhookOfferRelationships;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface WebhookOfferRelationships {
3
- merchant: KardApi.RelationshipSingle;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface WebhookUserOfferData {
3
- /** The internal ID of the notification */
4
- id: string;
5
- attributes: KardApi.WebhookUserOfferAttributes;
6
- relationships: KardApi.WebhookUserOfferRelationships;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import type * as KardApi from "../../../index.js";
2
- export interface WebhookUserOfferRelationships {
3
- offer: KardApi.RelationshipSingle;
4
- user: KardApi.RelationshipSingle;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type * as KardApi from "../../../index.mjs";
2
- export interface BrokerAmount {
3
- /** Type of amount */
4
- type: KardApi.BrokerAmountType;
5
- /** Amount value */
6
- value: number;
7
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,4 +0,0 @@
1
- export declare const BrokerAmountType: {
2
- readonly Cents: "CENTS";
3
- };
4
- export type BrokerAmountType = (typeof BrokerAmountType)[keyof typeof BrokerAmountType];