@kard-financial/sdk 11.0.1 → 12.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/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/api/resources/transactions/types/CreateFileUploadData.d.ts +1 -1
- package/dist/cjs/api/resources/transactions/types/CreateFileUploadUrlResponse.d.ts +2 -2
- package/dist/cjs/api/resources/transactions/types/FileUploadType.d.ts +6 -0
- package/dist/cjs/api/resources/transactions/types/FileUploadType.js +9 -0
- package/dist/cjs/api/resources/transactions/types/FileUploadUrlData.d.ts +1 -1
- package/dist/cjs/api/resources/transactions/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/transactions/types/index.js +1 -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/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/api/resources/transactions/types/CreateFileUploadData.d.mts +1 -1
- package/dist/esm/api/resources/transactions/types/CreateFileUploadUrlResponse.d.mts +2 -2
- package/dist/esm/api/resources/transactions/types/FileUploadType.d.mts +6 -0
- package/dist/esm/api/resources/transactions/types/FileUploadType.mjs +6 -0
- package/dist/esm/api/resources/transactions/types/FileUploadUrlData.d.mts +1 -1
- package/dist/esm/api/resources/transactions/types/index.d.mts +1 -0
- package/dist/esm/api/resources/transactions/types/index.mjs +1 -0
- 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
|
@@ -178,207 +178,6 @@ import type * as KardApi from "../../../index.mjs";
|
|
|
178
178
|
* @example
|
|
179
179
|
* {
|
|
180
180
|
* data: {
|
|
181
|
-
* type: "userOffer",
|
|
182
|
-
* id: "some-user-offer-notification-id",
|
|
183
|
-
* attributes: {
|
|
184
|
-
* status: KardApi.UserOfferStatus.Active,
|
|
185
|
-
* createdAt: "2025-06-23T00:00:00Z",
|
|
186
|
-
* updatedAt: "2025-06-23T00:00:00Z",
|
|
187
|
-
* eventPriority: 1
|
|
188
|
-
* },
|
|
189
|
-
* relationships: {
|
|
190
|
-
* offer: {
|
|
191
|
-
* data: {
|
|
192
|
-
* type: "offer",
|
|
193
|
-
* id: "restaurant-offer-id"
|
|
194
|
-
* }
|
|
195
|
-
* },
|
|
196
|
-
* user: {
|
|
197
|
-
* data: {
|
|
198
|
-
* type: "user",
|
|
199
|
-
* id: "user-123"
|
|
200
|
-
* }
|
|
201
|
-
* }
|
|
202
|
-
* }
|
|
203
|
-
* }
|
|
204
|
-
* }
|
|
205
|
-
*
|
|
206
|
-
* @example
|
|
207
|
-
* {
|
|
208
|
-
* data: {
|
|
209
|
-
* type: "location",
|
|
210
|
-
* id: "some-location-notification-id",
|
|
211
|
-
* attributes: {
|
|
212
|
-
* locationId: "restaurant-location-id",
|
|
213
|
-
* name: "Local Restaurant",
|
|
214
|
-
* status: KardApi.LocationStatus.Active,
|
|
215
|
-
* address: {
|
|
216
|
-
* street: "120 Main St",
|
|
217
|
-
* city: "Philadelphia",
|
|
218
|
-
* state: "PA",
|
|
219
|
-
* zipCode: "19147"
|
|
220
|
-
* },
|
|
221
|
-
* coordinates: {
|
|
222
|
-
* longitude: -75.1446869,
|
|
223
|
-
* latitude: 39.9419429
|
|
224
|
-
* },
|
|
225
|
-
* phone: "+1 (123) 555-8880",
|
|
226
|
-
* operationHours: {
|
|
227
|
-
* periods: [{
|
|
228
|
-
* close: {
|
|
229
|
-
* day: 1,
|
|
230
|
-
* time: "1700"
|
|
231
|
-
* },
|
|
232
|
-
* open: {
|
|
233
|
-
* day: 1,
|
|
234
|
-
* time: "0900"
|
|
235
|
-
* }
|
|
236
|
-
* }, {
|
|
237
|
-
* close: {
|
|
238
|
-
* day: 2,
|
|
239
|
-
* time: "1700"
|
|
240
|
-
* },
|
|
241
|
-
* open: {
|
|
242
|
-
* day: 2,
|
|
243
|
-
* time: "0900"
|
|
244
|
-
* }
|
|
245
|
-
* }, {
|
|
246
|
-
* close: {
|
|
247
|
-
* day: 3,
|
|
248
|
-
* time: "1700"
|
|
249
|
-
* },
|
|
250
|
-
* open: {
|
|
251
|
-
* day: 3,
|
|
252
|
-
* time: "0900"
|
|
253
|
-
* }
|
|
254
|
-
* }, {
|
|
255
|
-
* close: {
|
|
256
|
-
* day: 4,
|
|
257
|
-
* time: "1700"
|
|
258
|
-
* },
|
|
259
|
-
* open: {
|
|
260
|
-
* day: 4,
|
|
261
|
-
* time: "0900"
|
|
262
|
-
* }
|
|
263
|
-
* }, {
|
|
264
|
-
* close: {
|
|
265
|
-
* day: 5,
|
|
266
|
-
* time: "1700"
|
|
267
|
-
* },
|
|
268
|
-
* open: {
|
|
269
|
-
* day: 5,
|
|
270
|
-
* time: "0900"
|
|
271
|
-
* }
|
|
272
|
-
* }],
|
|
273
|
-
* weekdayText: ["Monday: 9:00 AM \u2013 5:00 PM", "Tuesday: 9:00 AM \u2013 5:00 PM", "Wednesday: 9:00 AM \u2013 5:00 PM", "Thursday: 9:00 AM \u2013 5:00 PM", "Friday: 9:00 AM \u2013 5:00 PM", "Saturday: Closed", "Sunday: Closed"]
|
|
274
|
-
* },
|
|
275
|
-
* createdAt: "2025-06-22T00:00:00Z",
|
|
276
|
-
* updatedAt: "2025-06-22T00:00:00Z"
|
|
277
|
-
* },
|
|
278
|
-
* relationships: {
|
|
279
|
-
* merchant: {
|
|
280
|
-
* data: {
|
|
281
|
-
* type: "merchant",
|
|
282
|
-
* id: "restaurant-merchant-id"
|
|
283
|
-
* }
|
|
284
|
-
* }
|
|
285
|
-
* }
|
|
286
|
-
* }
|
|
287
|
-
* }
|
|
288
|
-
*
|
|
289
|
-
* @example
|
|
290
|
-
* {
|
|
291
|
-
* data: {
|
|
292
|
-
* type: "offer",
|
|
293
|
-
* id: "some-offer-notification-id",
|
|
294
|
-
* attributes: {
|
|
295
|
-
* offerId: "restaurant-offer-id",
|
|
296
|
-
* offerType: KardApi.OfferType.StandardOffer,
|
|
297
|
-
* name: "Local Restaurant",
|
|
298
|
-
* terms: "This offer is valid for in-store purchases at participating locations and applies only to menu items as specified in the promotion details. Discounts cannot be combined with other promotions, applied to previous purchases, or redeemed for cash. The merchant reserves the right to modify or cancel the offer at any time without prior notice.",
|
|
299
|
-
* status: KardApi.OfferStatus.Active,
|
|
300
|
-
* purchaseChannel: [KardApi.BrokerPurchaseChannel.Instore, KardApi.BrokerPurchaseChannel.Online],
|
|
301
|
-
* userReward: {
|
|
302
|
-
* type: KardApi.BrokerRewardType.Percent,
|
|
303
|
-
* value: 5
|
|
304
|
-
* },
|
|
305
|
-
* startDate: "2025-06-23T00:00:00Z",
|
|
306
|
-
* expirationDate: "2025-07-10T00:00:00Z",
|
|
307
|
-
* minRewardAmount: {
|
|
308
|
-
* type: KardApi.BrokerAmountType.Cents,
|
|
309
|
-
* value: 0
|
|
310
|
-
* },
|
|
311
|
-
* maxRewardAmount: {
|
|
312
|
-
* type: KardApi.BrokerAmountType.Cents,
|
|
313
|
-
* value: 2000
|
|
314
|
-
* },
|
|
315
|
-
* minUserRewardAmount: {
|
|
316
|
-
* type: KardApi.BrokerAmountType.Cents,
|
|
317
|
-
* value: 0
|
|
318
|
-
* },
|
|
319
|
-
* maxUserRewardAmount: {
|
|
320
|
-
* type: KardApi.BrokerAmountType.Cents,
|
|
321
|
-
* value: 2000
|
|
322
|
-
* },
|
|
323
|
-
* minTransactionAmount: {
|
|
324
|
-
* type: KardApi.BrokerAmountType.Cents,
|
|
325
|
-
* value: 500
|
|
326
|
-
* },
|
|
327
|
-
* maxTransactionAmount: {
|
|
328
|
-
* type: KardApi.BrokerAmountType.Cents,
|
|
329
|
-
* value: 10000
|
|
330
|
-
* },
|
|
331
|
-
* validMCCs: ["5812", "5813"],
|
|
332
|
-
* maxRedemptions: 1,
|
|
333
|
-
* isTargeted: false,
|
|
334
|
-
* updatedAt: "2025-06-22T00:00:00Z",
|
|
335
|
-
* createdAt: "2025-06-22T00:00:00Z"
|
|
336
|
-
* },
|
|
337
|
-
* relationships: {
|
|
338
|
-
* merchant: {
|
|
339
|
-
* data: {
|
|
340
|
-
* type: "merchant",
|
|
341
|
-
* id: "restaurant-merchant-id"
|
|
342
|
-
* }
|
|
343
|
-
* }
|
|
344
|
-
* }
|
|
345
|
-
* }
|
|
346
|
-
* }
|
|
347
|
-
*
|
|
348
|
-
* @example
|
|
349
|
-
* {
|
|
350
|
-
* data: {
|
|
351
|
-
* type: "merchant",
|
|
352
|
-
* id: "some-merchant-notification-id",
|
|
353
|
-
* attributes: {
|
|
354
|
-
* merchantId: "restaurant-merchant-id",
|
|
355
|
-
* name: "Local Restaurant",
|
|
356
|
-
* assets: [{
|
|
357
|
-
* type: KardApi.BrokerAssetType.LogoImage,
|
|
358
|
-
* url: "http://assets.getkard.com/logo/img",
|
|
359
|
-
* alt: "Restaurant Logo Image"
|
|
360
|
-
* }],
|
|
361
|
-
* websiteUrl: "https://www.example-restaurant.com",
|
|
362
|
-
* description: "A local restaurant offering delicious food and great dining experiences.",
|
|
363
|
-
* source: KardApi.MerchantSource.National,
|
|
364
|
-
* category: "Food & Beverage",
|
|
365
|
-
* updatedAt: "2025-06-22T00:00:00Z",
|
|
366
|
-
* createdAt: "2025-06-22T00:00:00Z"
|
|
367
|
-
* },
|
|
368
|
-
* relationships: {
|
|
369
|
-
* offer: {
|
|
370
|
-
* data: [{
|
|
371
|
-
* type: "offer",
|
|
372
|
-
* id: "restaurant-offer-id"
|
|
373
|
-
* }]
|
|
374
|
-
* }
|
|
375
|
-
* }
|
|
376
|
-
* }
|
|
377
|
-
* }
|
|
378
|
-
*
|
|
379
|
-
* @example
|
|
380
|
-
* {
|
|
381
|
-
* data: {
|
|
382
181
|
* type: "auditUpdate",
|
|
383
182
|
* id: "a12b34c56d78e90f1234",
|
|
384
183
|
* attributes: {
|
|
@@ -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";
|
|
@@ -3,14 +3,14 @@ import type * as KardApi from "../../../index.mjs";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* data: [{
|
|
6
|
-
* type:
|
|
6
|
+
* type: KardApi.FileUploadType.IncomingTransactionsFile,
|
|
7
7
|
* id: "2NxKz7TYmqVH8UrjGP1xK3hF2gs",
|
|
8
8
|
* attributes: {
|
|
9
9
|
* url: "https://s3.amazonaws.com/bucket/key1?X-Amz-Algorithm=...",
|
|
10
10
|
* expiresIn: 900
|
|
11
11
|
* }
|
|
12
12
|
* }, {
|
|
13
|
-
* type:
|
|
13
|
+
* type: KardApi.FileUploadType.IncomingTransactionsFile,
|
|
14
14
|
* id: "3PqLa8UZnrWI9VskHQ2yL4iG3ht",
|
|
15
15
|
* attributes: {
|
|
16
16
|
* url: "https://s3.amazonaws.com/bucket/key2?X-Amz-Algorithm=...",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Specifies the category of transaction file being uploaded. Use `incomingTransactionsFile` for new, real-time transactions that need to be processed and matched as they arrive. Use `historicalTransactionsFile` for back-filled or retroactive transaction data that covers a past time period. */
|
|
2
|
+
export declare const FileUploadType: {
|
|
3
|
+
readonly IncomingTransactionsFile: "incomingTransactionsFile";
|
|
4
|
+
readonly HistoricalTransactionsFile: "historicalTransactionsFile";
|
|
5
|
+
};
|
|
6
|
+
export type FileUploadType = (typeof FileUploadType)[keyof typeof FileUploadType];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Specifies the category of transaction file being uploaded. Use `incomingTransactionsFile` for new, real-time transactions that need to be processed and matched as they arrive. Use `historicalTransactionsFile` for back-filled or retroactive transaction data that covers a past time period. */
|
|
3
|
+
export const FileUploadType = {
|
|
4
|
+
IncomingTransactionsFile: "incomingTransactionsFile",
|
|
5
|
+
HistoricalTransactionsFile: "historicalTransactionsFile",
|
|
6
|
+
};
|
|
@@ -17,6 +17,7 @@ export * from "./CreateFileUploadData.mjs";
|
|
|
17
17
|
export * from "./CreateFileUploadRequestBody.mjs";
|
|
18
18
|
export * from "./CreateFileUploadUrlResponse.mjs";
|
|
19
19
|
export * from "./DirectionType.mjs";
|
|
20
|
+
export * from "./FileUploadType.mjs";
|
|
20
21
|
export * from "./FileUploadUrlAttributes.mjs";
|
|
21
22
|
export * from "./FileUploadUrlData.mjs";
|
|
22
23
|
export * from "./FraudulentTransactionAttributes.mjs";
|
|
@@ -17,6 +17,7 @@ export * from "./CreateFileUploadData.mjs";
|
|
|
17
17
|
export * from "./CreateFileUploadRequestBody.mjs";
|
|
18
18
|
export * from "./CreateFileUploadUrlResponse.mjs";
|
|
19
19
|
export * from "./DirectionType.mjs";
|
|
20
|
+
export * from "./FileUploadType.mjs";
|
|
20
21
|
export * from "./FileUploadUrlAttributes.mjs";
|
|
21
22
|
export * from "./FileUploadUrlData.mjs";
|
|
22
23
|
export * from "./FraudulentTransactionAttributes.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "12.1.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "12.1.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
|
-
};
|