@kard-financial/sdk 16.0.0 → 16.1.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/notifications/types/EarnedRewardAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/notifications/types/EarnedRewardSettledAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/notifications/types/NotificationPayload.d.ts +4 -2
- 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/notifications/types/EarnedRewardAttributes.d.mts +2 -0
- package/dist/esm/api/resources/notifications/types/EarnedRewardSettledAttributes.d.mts +2 -0
- package/dist/esm/api/resources/notifications/types/NotificationPayload.d.mts +4 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@kard-financial/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "16.
|
|
47
|
-
"User-Agent": "@kard-financial/sdk/16.
|
|
46
|
+
"X-Fern-SDK-Version": "16.1.0",
|
|
47
|
+
"User-Agent": "@kard-financial/sdk/16.1.0",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type * as KardApi from "../../../index.js";
|
|
2
2
|
export interface EarnedRewardSettledAttributes extends KardApi.RewardNotificationAttributes {
|
|
3
3
|
commissionEarned: KardApi.CommissionValue;
|
|
4
|
+
/** The timestamp of the originating transaction in ISO format */
|
|
5
|
+
transactionTimestamp?: string | undefined;
|
|
4
6
|
}
|
|
@@ -14,7 +14,8 @@ import type * as KardApi from "../../../index.js";
|
|
|
14
14
|
* },
|
|
15
15
|
* attributionUrl: "www.attribution.com/token",
|
|
16
16
|
* surveyUrl: "www.survey.com",
|
|
17
|
-
* cardProductId: "card_product_123"
|
|
17
|
+
* cardProductId: "card_product_123",
|
|
18
|
+
* transactionTimestamp: "2024-10-01T14:32:10.000Z"
|
|
18
19
|
* },
|
|
19
20
|
* relationships: {
|
|
20
21
|
* user: {
|
|
@@ -43,7 +44,8 @@ import type * as KardApi from "../../../index.js";
|
|
|
43
44
|
* name: "McDonald's",
|
|
44
45
|
* attributionUrl: "www.attribution.com/token",
|
|
45
46
|
* surveyUrl: "www.survey.com",
|
|
46
|
-
* cardProductId: "card_product_123"
|
|
47
|
+
* cardProductId: "card_product_123",
|
|
48
|
+
* transactionTimestamp: "2024-10-01T14:32:10.000Z"
|
|
47
49
|
* },
|
|
48
50
|
* relationships: {
|
|
49
51
|
* user: {
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "16.
|
|
1
|
+
export declare const SDK_VERSION = "16.1.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@kard-financial/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "16.
|
|
10
|
-
"User-Agent": "@kard-financial/sdk/16.
|
|
9
|
+
"X-Fern-SDK-Version": "16.1.0",
|
|
10
|
+
"User-Agent": "@kard-financial/sdk/16.1.0",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type * as KardApi from "../../../index.mjs";
|
|
2
2
|
export interface EarnedRewardSettledAttributes extends KardApi.RewardNotificationAttributes {
|
|
3
3
|
commissionEarned: KardApi.CommissionValue;
|
|
4
|
+
/** The timestamp of the originating transaction in ISO format */
|
|
5
|
+
transactionTimestamp?: string | undefined;
|
|
4
6
|
}
|
|
@@ -14,7 +14,8 @@ import type * as KardApi from "../../../index.mjs";
|
|
|
14
14
|
* },
|
|
15
15
|
* attributionUrl: "www.attribution.com/token",
|
|
16
16
|
* surveyUrl: "www.survey.com",
|
|
17
|
-
* cardProductId: "card_product_123"
|
|
17
|
+
* cardProductId: "card_product_123",
|
|
18
|
+
* transactionTimestamp: "2024-10-01T14:32:10.000Z"
|
|
18
19
|
* },
|
|
19
20
|
* relationships: {
|
|
20
21
|
* user: {
|
|
@@ -43,7 +44,8 @@ import type * as KardApi from "../../../index.mjs";
|
|
|
43
44
|
* name: "McDonald's",
|
|
44
45
|
* attributionUrl: "www.attribution.com/token",
|
|
45
46
|
* surveyUrl: "www.survey.com",
|
|
46
|
-
* cardProductId: "card_product_123"
|
|
47
|
+
* cardProductId: "card_product_123",
|
|
48
|
+
* transactionTimestamp: "2024-10-01T14:32:10.000Z"
|
|
47
49
|
* },
|
|
48
50
|
* relationships: {
|
|
49
51
|
* user: {
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "16.
|
|
1
|
+
export declare const SDK_VERSION = "16.1.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "16.
|
|
1
|
+
export const SDK_VERSION = "16.1.0";
|