shred-api-client 2.4.12 → 2.4.13
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/index.d.ts +8 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2274,11 +2274,12 @@ declare const NotificationDetailSchema: z.ZodObject<Pick<{
|
|
|
2274
2274
|
}>>;
|
|
2275
2275
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
2276
2276
|
error: z.ZodOptional<z.ZodString>;
|
|
2277
|
-
}, "userId" | "title" | "body" | "cta" | "metadata">, "strip", z.ZodTypeAny, {
|
|
2277
|
+
}, "userId" | "title" | "body" | "type" | "cta" | "metadata">, "strip", z.ZodTypeAny, {
|
|
2278
2278
|
userId: string;
|
|
2279
2279
|
title: string;
|
|
2280
2280
|
body: string;
|
|
2281
2281
|
metadata: Record<string, string | number>;
|
|
2282
|
+
type?: NotificationType | undefined;
|
|
2282
2283
|
cta?: {
|
|
2283
2284
|
label: string;
|
|
2284
2285
|
url: string;
|
|
@@ -2288,6 +2289,7 @@ declare const NotificationDetailSchema: z.ZodObject<Pick<{
|
|
|
2288
2289
|
title: string;
|
|
2289
2290
|
body: string;
|
|
2290
2291
|
metadata: Record<string, string | number>;
|
|
2292
|
+
type?: NotificationType | undefined;
|
|
2291
2293
|
cta?: {
|
|
2292
2294
|
label: string;
|
|
2293
2295
|
url: string;
|
|
@@ -2413,11 +2415,12 @@ declare const TriggerSchema: z.ZodObject<{
|
|
|
2413
2415
|
}>>;
|
|
2414
2416
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
2415
2417
|
error: z.ZodOptional<z.ZodString>;
|
|
2416
|
-
}, "userId" | "title" | "body" | "cta" | "metadata">, "strip", z.ZodTypeAny, {
|
|
2418
|
+
}, "userId" | "title" | "body" | "type" | "cta" | "metadata">, "strip", z.ZodTypeAny, {
|
|
2417
2419
|
userId: string;
|
|
2418
2420
|
title: string;
|
|
2419
2421
|
body: string;
|
|
2420
2422
|
metadata: Record<string, string | number>;
|
|
2423
|
+
type?: NotificationType | undefined;
|
|
2421
2424
|
cta?: {
|
|
2422
2425
|
label: string;
|
|
2423
2426
|
url: string;
|
|
@@ -2427,6 +2430,7 @@ declare const TriggerSchema: z.ZodObject<{
|
|
|
2427
2430
|
title: string;
|
|
2428
2431
|
body: string;
|
|
2429
2432
|
metadata: Record<string, string | number>;
|
|
2433
|
+
type?: NotificationType | undefined;
|
|
2430
2434
|
cta?: {
|
|
2431
2435
|
label: string;
|
|
2432
2436
|
url: string;
|
|
@@ -2543,6 +2547,7 @@ declare const TriggerSchema: z.ZodObject<{
|
|
|
2543
2547
|
title: string;
|
|
2544
2548
|
body: string;
|
|
2545
2549
|
metadata: Record<string, string | number>;
|
|
2550
|
+
type?: NotificationType | undefined;
|
|
2546
2551
|
cta?: {
|
|
2547
2552
|
label: string;
|
|
2548
2553
|
url: string;
|
|
@@ -2594,6 +2599,7 @@ declare const TriggerSchema: z.ZodObject<{
|
|
|
2594
2599
|
title: string;
|
|
2595
2600
|
body: string;
|
|
2596
2601
|
metadata: Record<string, string | number>;
|
|
2602
|
+
type?: NotificationType | undefined;
|
|
2597
2603
|
cta?: {
|
|
2598
2604
|
label: string;
|
|
2599
2605
|
url: string;
|
package/dist/index.js
CHANGED
|
@@ -4249,7 +4249,8 @@ var NotificationDetailSchema = NotificationItemSchema.pick({
|
|
|
4249
4249
|
body: true,
|
|
4250
4250
|
userId: true,
|
|
4251
4251
|
metadata: true,
|
|
4252
|
-
cta: true
|
|
4252
|
+
cta: true,
|
|
4253
|
+
type: true
|
|
4253
4254
|
});
|
|
4254
4255
|
var CriteriaSchema = external_exports.object({
|
|
4255
4256
|
type: external_exports.nativeEnum(CriteriaType),
|