@kard-financial/sdk 14.2.0 → 14.4.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/organizations/resources/placements/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/organizations/resources/placements/client/Client.js +6 -1
- package/dist/cjs/api/resources/organizations/resources/placements/client/requests/ListPlacementsRequest.d.ts +5 -0
- package/dist/cjs/api/resources/organizations/resources/placements/types/PlacementTypeFilter.d.ts +6 -0
- package/dist/cjs/api/resources/organizations/resources/placements/types/PlacementTypeFilter.js +9 -0
- package/dist/cjs/api/resources/organizations/resources/placements/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/organizations/resources/placements/types/index.js +1 -0
- package/dist/cjs/api/resources/transactions/types/GetEarnedRewardsResponse.d.ts +16 -2
- package/dist/cjs/api/resources/transactions/types/MerchantAsset.d.ts +9 -0
- package/dist/cjs/api/resources/transactions/types/MerchantAsset.js +3 -0
- package/dist/cjs/api/resources/transactions/types/MerchantAssetType.d.ts +5 -0
- package/dist/cjs/api/resources/transactions/types/MerchantAssetType.js +8 -0
- package/dist/cjs/api/resources/transactions/types/TransactionMerchantAttributes.d.ts +7 -0
- package/dist/cjs/api/resources/transactions/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/transactions/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/organizations/resources/placements/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/organizations/resources/placements/client/Client.mjs +6 -1
- package/dist/esm/api/resources/organizations/resources/placements/client/requests/ListPlacementsRequest.d.mts +5 -0
- package/dist/esm/api/resources/organizations/resources/placements/types/PlacementTypeFilter.d.mts +6 -0
- package/dist/esm/api/resources/organizations/resources/placements/types/PlacementTypeFilter.mjs +6 -0
- package/dist/esm/api/resources/organizations/resources/placements/types/index.d.mts +1 -0
- package/dist/esm/api/resources/organizations/resources/placements/types/index.mjs +1 -0
- package/dist/esm/api/resources/transactions/types/GetEarnedRewardsResponse.d.mts +16 -2
- package/dist/esm/api/resources/transactions/types/MerchantAsset.d.mts +9 -0
- package/dist/esm/api/resources/transactions/types/MerchantAsset.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/MerchantAssetType.d.mts +5 -0
- package/dist/esm/api/resources/transactions/types/MerchantAssetType.mjs +5 -0
- package/dist/esm/api/resources/transactions/types/TransactionMerchantAttributes.d.mts +7 -0
- package/dist/esm/api/resources/transactions/types/index.d.mts +2 -0
- package/dist/esm/api/resources/transactions/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": "14.
|
|
47
|
-
"User-Agent": "@kard-financial/sdk/14.
|
|
46
|
+
"X-Fern-SDK-Version": "14.4.0",
|
|
47
|
+
"User-Agent": "@kard-financial/sdk/14.4.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);
|
|
@@ -59,6 +59,7 @@ export declare class PlacementsClient {
|
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link KardApi.UnauthorizedError}
|
|
61
61
|
* @throws {@link KardApi.ForbiddenError}
|
|
62
|
+
* @throws {@link KardApi.InvalidRequest}
|
|
62
63
|
* @throws {@link KardApi.DoesNotExistError}
|
|
63
64
|
* @throws {@link KardApi.InternalServerError}
|
|
64
65
|
*
|
|
@@ -153,6 +153,7 @@ class PlacementsClient {
|
|
|
153
153
|
*
|
|
154
154
|
* @throws {@link KardApi.UnauthorizedError}
|
|
155
155
|
* @throws {@link KardApi.ForbiddenError}
|
|
156
|
+
* @throws {@link KardApi.InvalidRequest}
|
|
156
157
|
* @throws {@link KardApi.DoesNotExistError}
|
|
157
158
|
* @throws {@link KardApi.InternalServerError}
|
|
158
159
|
*
|
|
@@ -165,8 +166,10 @@ class PlacementsClient {
|
|
|
165
166
|
__list(organizationId_1) {
|
|
166
167
|
return __awaiter(this, arguments, void 0, function* (organizationId, request = {}, requestOptions) {
|
|
167
168
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
168
|
-
const { "page[after]": pageAfter, "page[size]": pageSize } = request;
|
|
169
|
+
const { "filter[type]": filterType, "filter[name]": filterName, "page[after]": pageAfter, "page[size]": pageSize, } = request;
|
|
169
170
|
const _queryParams = {
|
|
171
|
+
"filter[type]": filterType != null ? filterType : undefined,
|
|
172
|
+
"filter[name]": filterName,
|
|
170
173
|
"page[after]": pageAfter,
|
|
171
174
|
"page[size]": pageSize,
|
|
172
175
|
};
|
|
@@ -195,6 +198,8 @@ class PlacementsClient {
|
|
|
195
198
|
throw new KardApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
196
199
|
case 403:
|
|
197
200
|
throw new KardApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
201
|
+
case 400:
|
|
202
|
+
throw new KardApi.InvalidRequest(_response.error.body, _response.rawResponse);
|
|
198
203
|
case 404:
|
|
199
204
|
throw new KardApi.DoesNotExistError(_response.error.body, _response.rawResponse);
|
|
200
205
|
case 500:
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {}
|
|
4
5
|
*/
|
|
5
6
|
export interface ListPlacementsRequest {
|
|
7
|
+
/** Filter by placement type (placementMainPage or placementPushNotification) */
|
|
8
|
+
"filter[type]"?: KardApi.organizations.PlacementTypeFilter;
|
|
9
|
+
/** Filter by exact placement name (unique within an organization per type) */
|
|
10
|
+
"filter[name]"?: string;
|
|
6
11
|
/** Cursor value for the next page of results */
|
|
7
12
|
"page[after]"?: string;
|
|
8
13
|
/** Maximum number of records to return [1 - 200] (default = 200) */
|
package/dist/cjs/api/resources/organizations/resources/placements/types/PlacementTypeFilter.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Placement type discriminator used as a list filter */
|
|
2
|
+
export declare const PlacementTypeFilter: {
|
|
3
|
+
readonly PlacementMainPage: "placementMainPage";
|
|
4
|
+
readonly PlacementPushNotification: "placementPushNotification";
|
|
5
|
+
};
|
|
6
|
+
export type PlacementTypeFilter = (typeof PlacementTypeFilter)[keyof typeof PlacementTypeFilter];
|
package/dist/cjs/api/resources/organizations/resources/placements/types/PlacementTypeFilter.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PlacementTypeFilter = void 0;
|
|
5
|
+
/** Placement type discriminator used as a list filter */
|
|
6
|
+
exports.PlacementTypeFilter = {
|
|
7
|
+
PlacementMainPage: "placementMainPage",
|
|
8
|
+
PlacementPushNotification: "placementPushNotification",
|
|
9
|
+
};
|
|
@@ -11,6 +11,7 @@ export * from "./MainPagePlacementAttributes.js";
|
|
|
11
11
|
export * from "./MainPagePlacementData.js";
|
|
12
12
|
export * from "./PlacementFormatUnion.js";
|
|
13
13
|
export * from "./PlacementListResponse.js";
|
|
14
|
+
export * from "./PlacementTypeFilter.js";
|
|
14
15
|
export * from "./PushNotificationPlacementAttributes.js";
|
|
15
16
|
export * from "./PushNotificationPlacementData.js";
|
|
16
17
|
export * from "./UpdateMainPageAttributes.js";
|
|
@@ -27,6 +27,7 @@ __exportStar(require("./MainPagePlacementAttributes.js"), exports);
|
|
|
27
27
|
__exportStar(require("./MainPagePlacementData.js"), exports);
|
|
28
28
|
__exportStar(require("./PlacementFormatUnion.js"), exports);
|
|
29
29
|
__exportStar(require("./PlacementListResponse.js"), exports);
|
|
30
|
+
__exportStar(require("./PlacementTypeFilter.js"), exports);
|
|
30
31
|
__exportStar(require("./PushNotificationPlacementAttributes.js"), exports);
|
|
31
32
|
__exportStar(require("./PushNotificationPlacementData.js"), exports);
|
|
32
33
|
__exportStar(require("./UpdateMainPageAttributes.js"), exports);
|
|
@@ -100,13 +100,27 @@ import type * as KardApi from "../../../index.js";
|
|
|
100
100
|
* type: "merchant",
|
|
101
101
|
* id: "633ed2ab30dcb60009dd5699",
|
|
102
102
|
* attributes: {
|
|
103
|
-
* name: "Forever 21"
|
|
103
|
+
* name: "Forever 21",
|
|
104
|
+
* assets: [{
|
|
105
|
+
* type: KardApi.MerchantAssetType.ImgView,
|
|
106
|
+
* url: "https://attribution.getkard.com/public/logos/forever21.jpg?subtype=IMG_VIEW&offerId=OFF-F21-INSTORE-2024Q4-001&token=signed-token",
|
|
107
|
+
* alt: "Forever 21 Logo Image"
|
|
108
|
+
* }, {
|
|
109
|
+
* type: KardApi.MerchantAssetType.BannerView,
|
|
110
|
+
* url: "https://attribution.getkard.com/public/banners/forever21.jpg?subtype=BANNER_VIEW&offerId=OFF-F21-INSTORE-2024Q4-001&token=signed-token",
|
|
111
|
+
* alt: "Forever 21 Banner Image"
|
|
112
|
+
* }]
|
|
104
113
|
* }
|
|
105
114
|
* }, {
|
|
106
115
|
* type: "merchant",
|
|
107
116
|
* id: "5f3e2d1c40abc50008cc4821",
|
|
108
117
|
* attributes: {
|
|
109
|
-
* name: "Target"
|
|
118
|
+
* name: "Target",
|
|
119
|
+
* assets: [{
|
|
120
|
+
* type: KardApi.MerchantAssetType.ImgView,
|
|
121
|
+
* url: "https://attribution.getkard.com/public/logos/target.jpg?subtype=IMG_VIEW&offerId=OFF-TGT-ONLINE-2024Q4-002&token=signed-token",
|
|
122
|
+
* alt: "Target Logo Image"
|
|
123
|
+
* }]
|
|
110
124
|
* }
|
|
111
125
|
* }, {
|
|
112
126
|
* type: "offer",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as KardApi from "../../../index.js";
|
|
2
|
+
export interface MerchantAsset {
|
|
3
|
+
/** The type of asset being tracked. */
|
|
4
|
+
type: KardApi.MerchantAssetType;
|
|
5
|
+
/** Attribution-signed URL for loading the asset. */
|
|
6
|
+
url: string;
|
|
7
|
+
/** Alt text describing the asset for accessibility. */
|
|
8
|
+
alt?: string | undefined;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MerchantAssetType = void 0;
|
|
5
|
+
exports.MerchantAssetType = {
|
|
6
|
+
ImgView: "IMG_VIEW",
|
|
7
|
+
BannerView: "BANNER_VIEW",
|
|
8
|
+
};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import type * as KardApi from "../../../index.js";
|
|
1
2
|
export interface TransactionMerchantAttributes {
|
|
2
3
|
/** Merchant name */
|
|
3
4
|
name: string;
|
|
5
|
+
/**
|
|
6
|
+
* Tracked asset images for the merchant (logo, banner, etc.). Each asset
|
|
7
|
+
* URL is signed for attribution tracking and should be loaded as-is by the
|
|
8
|
+
* client.
|
|
9
|
+
*/
|
|
10
|
+
assets?: KardApi.MerchantAsset[] | undefined;
|
|
4
11
|
}
|
|
@@ -29,6 +29,8 @@ export * from "./GetEarnedRewardsResponse.js";
|
|
|
29
29
|
export * from "./MatchedTransactionsAttributes.js";
|
|
30
30
|
export * from "./MatchedTransactionsRequest.js";
|
|
31
31
|
export * from "./Merchant.js";
|
|
32
|
+
export * from "./MerchantAsset.js";
|
|
33
|
+
export * from "./MerchantAssetType.js";
|
|
32
34
|
export * from "./PaymentStatus.js";
|
|
33
35
|
export * from "./PaymentType.js";
|
|
34
36
|
export * from "./ProcessorMid.js";
|
|
@@ -45,6 +45,8 @@ __exportStar(require("./GetEarnedRewardsResponse.js"), exports);
|
|
|
45
45
|
__exportStar(require("./MatchedTransactionsAttributes.js"), exports);
|
|
46
46
|
__exportStar(require("./MatchedTransactionsRequest.js"), exports);
|
|
47
47
|
__exportStar(require("./Merchant.js"), exports);
|
|
48
|
+
__exportStar(require("./MerchantAsset.js"), exports);
|
|
49
|
+
__exportStar(require("./MerchantAssetType.js"), exports);
|
|
48
50
|
__exportStar(require("./PaymentStatus.js"), exports);
|
|
49
51
|
__exportStar(require("./PaymentType.js"), exports);
|
|
50
52
|
__exportStar(require("./ProcessorMid.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "14.
|
|
1
|
+
export declare const SDK_VERSION = "14.4.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": "14.
|
|
10
|
-
"User-Agent": "@kard-financial/sdk/14.
|
|
9
|
+
"X-Fern-SDK-Version": "14.4.0",
|
|
10
|
+
"User-Agent": "@kard-financial/sdk/14.4.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);
|
|
@@ -59,6 +59,7 @@ export declare class PlacementsClient {
|
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link KardApi.UnauthorizedError}
|
|
61
61
|
* @throws {@link KardApi.ForbiddenError}
|
|
62
|
+
* @throws {@link KardApi.InvalidRequest}
|
|
62
63
|
* @throws {@link KardApi.DoesNotExistError}
|
|
63
64
|
* @throws {@link KardApi.InternalServerError}
|
|
64
65
|
*
|
|
@@ -117,6 +117,7 @@ export class PlacementsClient {
|
|
|
117
117
|
*
|
|
118
118
|
* @throws {@link KardApi.UnauthorizedError}
|
|
119
119
|
* @throws {@link KardApi.ForbiddenError}
|
|
120
|
+
* @throws {@link KardApi.InvalidRequest}
|
|
120
121
|
* @throws {@link KardApi.DoesNotExistError}
|
|
121
122
|
* @throws {@link KardApi.InternalServerError}
|
|
122
123
|
*
|
|
@@ -129,8 +130,10 @@ export class PlacementsClient {
|
|
|
129
130
|
__list(organizationId_1) {
|
|
130
131
|
return __awaiter(this, arguments, void 0, function* (organizationId, request = {}, requestOptions) {
|
|
131
132
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
132
|
-
const { "page[after]": pageAfter, "page[size]": pageSize } = request;
|
|
133
|
+
const { "filter[type]": filterType, "filter[name]": filterName, "page[after]": pageAfter, "page[size]": pageSize, } = request;
|
|
133
134
|
const _queryParams = {
|
|
135
|
+
"filter[type]": filterType != null ? filterType : undefined,
|
|
136
|
+
"filter[name]": filterName,
|
|
134
137
|
"page[after]": pageAfter,
|
|
135
138
|
"page[size]": pageSize,
|
|
136
139
|
};
|
|
@@ -159,6 +162,8 @@ export class PlacementsClient {
|
|
|
159
162
|
throw new KardApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
160
163
|
case 403:
|
|
161
164
|
throw new KardApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
165
|
+
case 400:
|
|
166
|
+
throw new KardApi.InvalidRequest(_response.error.body, _response.rawResponse);
|
|
162
167
|
case 404:
|
|
163
168
|
throw new KardApi.DoesNotExistError(_response.error.body, _response.rawResponse);
|
|
164
169
|
case 500:
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {}
|
|
4
5
|
*/
|
|
5
6
|
export interface ListPlacementsRequest {
|
|
7
|
+
/** Filter by placement type (placementMainPage or placementPushNotification) */
|
|
8
|
+
"filter[type]"?: KardApi.organizations.PlacementTypeFilter;
|
|
9
|
+
/** Filter by exact placement name (unique within an organization per type) */
|
|
10
|
+
"filter[name]"?: string;
|
|
6
11
|
/** Cursor value for the next page of results */
|
|
7
12
|
"page[after]"?: string;
|
|
8
13
|
/** Maximum number of records to return [1 - 200] (default = 200) */
|
package/dist/esm/api/resources/organizations/resources/placements/types/PlacementTypeFilter.d.mts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Placement type discriminator used as a list filter */
|
|
2
|
+
export declare const PlacementTypeFilter: {
|
|
3
|
+
readonly PlacementMainPage: "placementMainPage";
|
|
4
|
+
readonly PlacementPushNotification: "placementPushNotification";
|
|
5
|
+
};
|
|
6
|
+
export type PlacementTypeFilter = (typeof PlacementTypeFilter)[keyof typeof PlacementTypeFilter];
|
|
@@ -11,6 +11,7 @@ export * from "./MainPagePlacementAttributes.mjs";
|
|
|
11
11
|
export * from "./MainPagePlacementData.mjs";
|
|
12
12
|
export * from "./PlacementFormatUnion.mjs";
|
|
13
13
|
export * from "./PlacementListResponse.mjs";
|
|
14
|
+
export * from "./PlacementTypeFilter.mjs";
|
|
14
15
|
export * from "./PushNotificationPlacementAttributes.mjs";
|
|
15
16
|
export * from "./PushNotificationPlacementData.mjs";
|
|
16
17
|
export * from "./UpdateMainPageAttributes.mjs";
|
|
@@ -11,6 +11,7 @@ export * from "./MainPagePlacementAttributes.mjs";
|
|
|
11
11
|
export * from "./MainPagePlacementData.mjs";
|
|
12
12
|
export * from "./PlacementFormatUnion.mjs";
|
|
13
13
|
export * from "./PlacementListResponse.mjs";
|
|
14
|
+
export * from "./PlacementTypeFilter.mjs";
|
|
14
15
|
export * from "./PushNotificationPlacementAttributes.mjs";
|
|
15
16
|
export * from "./PushNotificationPlacementData.mjs";
|
|
16
17
|
export * from "./UpdateMainPageAttributes.mjs";
|
|
@@ -100,13 +100,27 @@ import type * as KardApi from "../../../index.mjs";
|
|
|
100
100
|
* type: "merchant",
|
|
101
101
|
* id: "633ed2ab30dcb60009dd5699",
|
|
102
102
|
* attributes: {
|
|
103
|
-
* name: "Forever 21"
|
|
103
|
+
* name: "Forever 21",
|
|
104
|
+
* assets: [{
|
|
105
|
+
* type: KardApi.MerchantAssetType.ImgView,
|
|
106
|
+
* url: "https://attribution.getkard.com/public/logos/forever21.jpg?subtype=IMG_VIEW&offerId=OFF-F21-INSTORE-2024Q4-001&token=signed-token",
|
|
107
|
+
* alt: "Forever 21 Logo Image"
|
|
108
|
+
* }, {
|
|
109
|
+
* type: KardApi.MerchantAssetType.BannerView,
|
|
110
|
+
* url: "https://attribution.getkard.com/public/banners/forever21.jpg?subtype=BANNER_VIEW&offerId=OFF-F21-INSTORE-2024Q4-001&token=signed-token",
|
|
111
|
+
* alt: "Forever 21 Banner Image"
|
|
112
|
+
* }]
|
|
104
113
|
* }
|
|
105
114
|
* }, {
|
|
106
115
|
* type: "merchant",
|
|
107
116
|
* id: "5f3e2d1c40abc50008cc4821",
|
|
108
117
|
* attributes: {
|
|
109
|
-
* name: "Target"
|
|
118
|
+
* name: "Target",
|
|
119
|
+
* assets: [{
|
|
120
|
+
* type: KardApi.MerchantAssetType.ImgView,
|
|
121
|
+
* url: "https://attribution.getkard.com/public/logos/target.jpg?subtype=IMG_VIEW&offerId=OFF-TGT-ONLINE-2024Q4-002&token=signed-token",
|
|
122
|
+
* alt: "Target Logo Image"
|
|
123
|
+
* }]
|
|
110
124
|
* }
|
|
111
125
|
* }, {
|
|
112
126
|
* type: "offer",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as KardApi from "../../../index.mjs";
|
|
2
|
+
export interface MerchantAsset {
|
|
3
|
+
/** The type of asset being tracked. */
|
|
4
|
+
type: KardApi.MerchantAssetType;
|
|
5
|
+
/** Attribution-signed URL for loading the asset. */
|
|
6
|
+
url: string;
|
|
7
|
+
/** Alt text describing the asset for accessibility. */
|
|
8
|
+
alt?: string | undefined;
|
|
9
|
+
}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import type * as KardApi from "../../../index.mjs";
|
|
1
2
|
export interface TransactionMerchantAttributes {
|
|
2
3
|
/** Merchant name */
|
|
3
4
|
name: string;
|
|
5
|
+
/**
|
|
6
|
+
* Tracked asset images for the merchant (logo, banner, etc.). Each asset
|
|
7
|
+
* URL is signed for attribution tracking and should be loaded as-is by the
|
|
8
|
+
* client.
|
|
9
|
+
*/
|
|
10
|
+
assets?: KardApi.MerchantAsset[] | undefined;
|
|
4
11
|
}
|
|
@@ -29,6 +29,8 @@ export * from "./GetEarnedRewardsResponse.mjs";
|
|
|
29
29
|
export * from "./MatchedTransactionsAttributes.mjs";
|
|
30
30
|
export * from "./MatchedTransactionsRequest.mjs";
|
|
31
31
|
export * from "./Merchant.mjs";
|
|
32
|
+
export * from "./MerchantAsset.mjs";
|
|
33
|
+
export * from "./MerchantAssetType.mjs";
|
|
32
34
|
export * from "./PaymentStatus.mjs";
|
|
33
35
|
export * from "./PaymentType.mjs";
|
|
34
36
|
export * from "./ProcessorMid.mjs";
|
|
@@ -29,6 +29,8 @@ export * from "./GetEarnedRewardsResponse.mjs";
|
|
|
29
29
|
export * from "./MatchedTransactionsAttributes.mjs";
|
|
30
30
|
export * from "./MatchedTransactionsRequest.mjs";
|
|
31
31
|
export * from "./Merchant.mjs";
|
|
32
|
+
export * from "./MerchantAsset.mjs";
|
|
33
|
+
export * from "./MerchantAssetType.mjs";
|
|
32
34
|
export * from "./PaymentStatus.mjs";
|
|
33
35
|
export * from "./PaymentType.mjs";
|
|
34
36
|
export * from "./ProcessorMid.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "14.
|
|
1
|
+
export declare const SDK_VERSION = "14.4.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "14.
|
|
1
|
+
export const SDK_VERSION = "14.4.0";
|