@kard-financial/sdk 12.1.0 → 12.2.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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/{transactions → commons}/types/CardNetwork.d.ts +1 -0
- package/dist/cjs/api/resources/{transactions → commons}/types/CardNetwork.js +1 -0
- package/dist/cjs/api/resources/commons/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/commons/types/index.js +1 -0
- package/dist/cjs/api/resources/transactions/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/transactions/types/index.js +0 -1
- package/dist/cjs/api/resources/users/resources/attributions/types/AttributionFilter.d.ts +4 -0
- package/dist/cjs/api/resources/users/resources/attributions/types/AttributionFilter.js +3 -0
- package/dist/cjs/api/resources/users/resources/attributions/types/AttributionState.d.ts +7 -0
- package/dist/cjs/api/resources/users/resources/attributions/types/AttributionState.js +3 -0
- package/dist/cjs/api/resources/users/resources/attributions/types/NotificationAttributionAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/users/resources/attributions/types/OfferAttributionAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/users/resources/attributions/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/users/resources/attributions/types/index.js +2 -0
- 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/{transactions → commons}/types/CardNetwork.d.mts +1 -0
- package/dist/esm/api/resources/{transactions → commons}/types/CardNetwork.mjs +1 -0
- package/dist/esm/api/resources/commons/types/index.d.mts +1 -0
- package/dist/esm/api/resources/commons/types/index.mjs +1 -0
- package/dist/esm/api/resources/transactions/types/index.d.mts +0 -1
- package/dist/esm/api/resources/transactions/types/index.mjs +0 -1
- package/dist/esm/api/resources/users/resources/attributions/types/AttributionFilter.d.mts +4 -0
- package/dist/esm/api/resources/users/resources/attributions/types/AttributionFilter.mjs +2 -0
- package/dist/esm/api/resources/users/resources/attributions/types/AttributionState.d.mts +7 -0
- package/dist/esm/api/resources/users/resources/attributions/types/AttributionState.mjs +2 -0
- package/dist/esm/api/resources/users/resources/attributions/types/NotificationAttributionAttributes.d.mts +2 -0
- package/dist/esm/api/resources/users/resources/attributions/types/OfferAttributionAttributes.d.mts +2 -0
- package/dist/esm/api/resources/users/resources/attributions/types/index.d.mts +2 -0
- package/dist/esm/api/resources/users/resources/attributions/types/index.mjs +2 -0
- 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": "12.1
|
|
47
|
-
"User-Agent": "@kard-financial/sdk/12.1
|
|
46
|
+
"X-Fern-SDK-Version": "12.2.1",
|
|
47
|
+
"User-Agent": "@kard-financial/sdk/12.2.1",
|
|
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);
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./CardNetwork.js"), exports);
|
|
17
18
|
__exportStar(require("./CategoryOption.js"), exports);
|
|
18
19
|
__exportStar(require("./CommissionType.js"), exports);
|
|
19
20
|
__exportStar(require("./CommissionValue.js"), exports);
|
|
@@ -3,7 +3,6 @@ export * from "./AuditRequestData.js";
|
|
|
3
3
|
export * from "./AuditResponseAttributes.js";
|
|
4
4
|
export * from "./AuditResponseData.js";
|
|
5
5
|
export * from "./AuditStatus.js";
|
|
6
|
-
export * from "./CardNetwork.js";
|
|
7
6
|
export * from "./CommissionEarnedDetails.js";
|
|
8
7
|
export * from "./CoreTransactionAttributes.js";
|
|
9
8
|
export * from "./CoreTransactionRequest.js";
|
|
@@ -19,7 +19,6 @@ __exportStar(require("./AuditRequestData.js"), exports);
|
|
|
19
19
|
__exportStar(require("./AuditResponseAttributes.js"), exports);
|
|
20
20
|
__exportStar(require("./AuditResponseData.js"), exports);
|
|
21
21
|
__exportStar(require("./AuditStatus.js"), exports);
|
|
22
|
-
__exportStar(require("./CardNetwork.js"), exports);
|
|
23
22
|
__exportStar(require("./CommissionEarnedDetails.js"), exports);
|
|
24
23
|
__exportStar(require("./CoreTransactionAttributes.js"), exports);
|
|
25
24
|
__exportStar(require("./CoreTransactionRequest.js"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.js";
|
|
2
|
+
export interface AttributionState {
|
|
3
|
+
/** The position of the offer in the list shown to the user (1-indexed) */
|
|
4
|
+
rank?: number;
|
|
5
|
+
/** The active filters when the user saw the offer */
|
|
6
|
+
filters?: KardApi.users.AttributionFilter[];
|
|
7
|
+
}
|
|
@@ -3,6 +3,8 @@ export * from "./ActivateOfferIncludeOption.js";
|
|
|
3
3
|
export * from "./ActivateOfferResponse.js";
|
|
4
4
|
export * from "./ActivateOfferResponseAttributes.js";
|
|
5
5
|
export * from "./ActivateOfferResponseData.js";
|
|
6
|
+
export * from "./AttributionFilter.js";
|
|
7
|
+
export * from "./AttributionState.js";
|
|
6
8
|
export * from "./BoostOfferIncluded.js";
|
|
7
9
|
export * from "./BoostOfferIncludeOption.js";
|
|
8
10
|
export * from "./BoostOfferResponse.js";
|
|
@@ -19,6 +19,8 @@ __exportStar(require("./ActivateOfferIncludeOption.js"), exports);
|
|
|
19
19
|
__exportStar(require("./ActivateOfferResponse.js"), exports);
|
|
20
20
|
__exportStar(require("./ActivateOfferResponseAttributes.js"), exports);
|
|
21
21
|
__exportStar(require("./ActivateOfferResponseData.js"), exports);
|
|
22
|
+
__exportStar(require("./AttributionFilter.js"), exports);
|
|
23
|
+
__exportStar(require("./AttributionState.js"), exports);
|
|
22
24
|
__exportStar(require("./BoostOfferIncluded.js"), exports);
|
|
23
25
|
__exportStar(require("./BoostOfferIncludeOption.js"), exports);
|
|
24
26
|
__exportStar(require("./BoostOfferResponse.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "12.1
|
|
1
|
+
export declare const SDK_VERSION = "12.2.1";
|
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": "12.1
|
|
10
|
-
"User-Agent": "@kard-financial/sdk/12.1
|
|
9
|
+
"X-Fern-SDK-Version": "12.2.1",
|
|
10
|
+
"User-Agent": "@kard-financial/sdk/12.2.1",
|
|
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);
|
|
@@ -3,7 +3,6 @@ export * from "./AuditRequestData.mjs";
|
|
|
3
3
|
export * from "./AuditResponseAttributes.mjs";
|
|
4
4
|
export * from "./AuditResponseData.mjs";
|
|
5
5
|
export * from "./AuditStatus.mjs";
|
|
6
|
-
export * from "./CardNetwork.mjs";
|
|
7
6
|
export * from "./CommissionEarnedDetails.mjs";
|
|
8
7
|
export * from "./CoreTransactionAttributes.mjs";
|
|
9
8
|
export * from "./CoreTransactionRequest.mjs";
|
|
@@ -3,7 +3,6 @@ export * from "./AuditRequestData.mjs";
|
|
|
3
3
|
export * from "./AuditResponseAttributes.mjs";
|
|
4
4
|
export * from "./AuditResponseData.mjs";
|
|
5
5
|
export * from "./AuditStatus.mjs";
|
|
6
|
-
export * from "./CardNetwork.mjs";
|
|
7
6
|
export * from "./CommissionEarnedDetails.mjs";
|
|
8
7
|
export * from "./CoreTransactionAttributes.mjs";
|
|
9
8
|
export * from "./CoreTransactionRequest.mjs";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.mjs";
|
|
2
|
+
export interface AttributionState {
|
|
3
|
+
/** The position of the offer in the list shown to the user (1-indexed) */
|
|
4
|
+
rank?: number;
|
|
5
|
+
/** The active filters when the user saw the offer */
|
|
6
|
+
filters?: KardApi.users.AttributionFilter[];
|
|
7
|
+
}
|
|
@@ -3,6 +3,8 @@ export * from "./ActivateOfferIncludeOption.mjs";
|
|
|
3
3
|
export * from "./ActivateOfferResponse.mjs";
|
|
4
4
|
export * from "./ActivateOfferResponseAttributes.mjs";
|
|
5
5
|
export * from "./ActivateOfferResponseData.mjs";
|
|
6
|
+
export * from "./AttributionFilter.mjs";
|
|
7
|
+
export * from "./AttributionState.mjs";
|
|
6
8
|
export * from "./BoostOfferIncluded.mjs";
|
|
7
9
|
export * from "./BoostOfferIncludeOption.mjs";
|
|
8
10
|
export * from "./BoostOfferResponse.mjs";
|
|
@@ -3,6 +3,8 @@ export * from "./ActivateOfferIncludeOption.mjs";
|
|
|
3
3
|
export * from "./ActivateOfferResponse.mjs";
|
|
4
4
|
export * from "./ActivateOfferResponseAttributes.mjs";
|
|
5
5
|
export * from "./ActivateOfferResponseData.mjs";
|
|
6
|
+
export * from "./AttributionFilter.mjs";
|
|
7
|
+
export * from "./AttributionState.mjs";
|
|
6
8
|
export * from "./BoostOfferIncluded.mjs";
|
|
7
9
|
export * from "./BoostOfferIncludeOption.mjs";
|
|
8
10
|
export * from "./BoostOfferResponse.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "12.1
|
|
1
|
+
export declare const SDK_VERSION = "12.2.1";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "12.1
|
|
1
|
+
export const SDK_VERSION = "12.2.1";
|