@strimz/shared-types 0.16.0 → 0.17.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/analytics.d.cts +141 -141
- package/dist/analytics.d.ts +141 -141
- package/dist/api-keys.d.cts +14 -14
- package/dist/api-keys.d.ts +14 -14
- package/dist/compliance.d.cts +8 -8
- package/dist/compliance.d.ts +8 -8
- package/dist/customers.d.cts +7 -7
- package/dist/customers.d.ts +7 -7
- package/dist/events.d.cts +1460 -1460
- package/dist/events.d.ts +1460 -1460
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -7
- package/dist/index.d.ts +25 -7
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/invoices.d.cts +12 -12
- package/dist/invoices.d.ts +12 -12
- package/dist/merchants.d.cts +26 -26
- package/dist/merchants.d.ts +26 -26
- package/dist/payment-sessions.d.cts +16 -16
- package/dist/payment-sessions.d.ts +16 -16
- package/dist/refunds.d.cts +36 -36
- package/dist/refunds.d.ts +36 -36
- package/dist/storefronts.d.cts +13 -13
- package/dist/storefronts.d.ts +13 -13
- package/dist/subscriptions.d.cts +32 -32
- package/dist/subscriptions.d.ts +32 -32
- package/dist/transactions.d.cts +10 -10
- package/dist/transactions.d.ts +10 -10
- package/dist/webhooks.d.cts +28 -28
- package/dist/webhooks.d.ts +28 -28
- package/package.json +2 -2
- package/src/notifications.ts +9 -0
package/dist/index.cjs
CHANGED
|
@@ -1091,6 +1091,12 @@ var broadcastSchema = zod.z.object({
|
|
|
1091
1091
|
var broadcastListResponseSchema = zod.z.object({
|
|
1092
1092
|
data: zod.z.array(broadcastSchema)
|
|
1093
1093
|
});
|
|
1094
|
+
var notificationBroadcastSchema = zod.z.object({
|
|
1095
|
+
id: idSchema,
|
|
1096
|
+
title: zod.z.string(),
|
|
1097
|
+
html: zod.z.string(),
|
|
1098
|
+
createdAt: isoTimestampSchema
|
|
1099
|
+
});
|
|
1094
1100
|
var notificationSchema = zod.z.object({
|
|
1095
1101
|
/** Deterministic client id — `{kind}:{sourceId}`. Safe for React keys. */
|
|
1096
1102
|
id: zod.z.string().min(1),
|
|
@@ -1396,6 +1402,7 @@ exports.merchantTierSchema = merchantTierSchema;
|
|
|
1396
1402
|
exports.metadataSchema = metadataSchema;
|
|
1397
1403
|
exports.modeSchema = modeSchema;
|
|
1398
1404
|
exports.moneySchema = moneySchema;
|
|
1405
|
+
exports.notificationBroadcastSchema = notificationBroadcastSchema;
|
|
1399
1406
|
exports.notificationKindSchema = notificationKindSchema;
|
|
1400
1407
|
exports.notificationListResponseSchema = notificationListResponseSchema;
|
|
1401
1408
|
exports.notificationSchema = notificationSchema;
|