shred-api-client 2.4.13 → 2.4.14-rc.2

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 CHANGED
@@ -1304,6 +1304,8 @@ declare const TenantSchema: z.ZodObject<{
1304
1304
  }>>>;
1305
1305
  totalSubscriptions: z.ZodOptional<z.ZodNumber>;
1306
1306
  totalUsers: z.ZodOptional<z.ZodNumber>;
1307
+ reportUrl: z.ZodOptional<z.ZodString>;
1308
+ reportViewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1307
1309
  }, "strip", z.ZodTypeAny, {
1308
1310
  id: string;
1309
1311
  name: string;
@@ -1380,6 +1382,8 @@ declare const TenantSchema: z.ZodObject<{
1380
1382
  } | undefined;
1381
1383
  totalSubscriptions?: number | undefined;
1382
1384
  totalUsers?: number | undefined;
1385
+ reportUrl?: string | undefined;
1386
+ reportViewers?: string[] | undefined;
1383
1387
  }, {
1384
1388
  id: string;
1385
1389
  name: string;
@@ -1456,6 +1460,8 @@ declare const TenantSchema: z.ZodObject<{
1456
1460
  } | undefined;
1457
1461
  totalSubscriptions?: number | undefined;
1458
1462
  totalUsers?: number | undefined;
1463
+ reportUrl?: string | undefined;
1464
+ reportViewers?: string[] | undefined;
1459
1465
  }>;
1460
1466
  declare const MemberSchema: z.ZodObject<{
1461
1467
  name: z.ZodString;
@@ -1514,6 +1520,10 @@ declare const Endpoints$6: {
1514
1520
  uri: string;
1515
1521
  method: string;
1516
1522
  };
1523
+ UpdateReportViewers: {
1524
+ uri: string;
1525
+ method: string;
1526
+ };
1517
1527
  };
1518
1528
 
1519
1529
  type index$8_Member = Member;
@@ -2274,12 +2284,11 @@ declare const NotificationDetailSchema: z.ZodObject<Pick<{
2274
2284
  }>>;
2275
2285
  metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2276
2286
  error: z.ZodOptional<z.ZodString>;
2277
- }, "userId" | "title" | "body" | "type" | "cta" | "metadata">, "strip", z.ZodTypeAny, {
2287
+ }, "userId" | "title" | "body" | "cta" | "metadata">, "strip", z.ZodTypeAny, {
2278
2288
  userId: string;
2279
2289
  title: string;
2280
2290
  body: string;
2281
2291
  metadata: Record<string, string | number>;
2282
- type?: NotificationType | undefined;
2283
2292
  cta?: {
2284
2293
  label: string;
2285
2294
  url: string;
@@ -2289,7 +2298,6 @@ declare const NotificationDetailSchema: z.ZodObject<Pick<{
2289
2298
  title: string;
2290
2299
  body: string;
2291
2300
  metadata: Record<string, string | number>;
2292
- type?: NotificationType | undefined;
2293
2301
  cta?: {
2294
2302
  label: string;
2295
2303
  url: string;
@@ -2415,12 +2423,11 @@ declare const TriggerSchema: z.ZodObject<{
2415
2423
  }>>;
2416
2424
  metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2417
2425
  error: z.ZodOptional<z.ZodString>;
2418
- }, "userId" | "title" | "body" | "type" | "cta" | "metadata">, "strip", z.ZodTypeAny, {
2426
+ }, "userId" | "title" | "body" | "cta" | "metadata">, "strip", z.ZodTypeAny, {
2419
2427
  userId: string;
2420
2428
  title: string;
2421
2429
  body: string;
2422
2430
  metadata: Record<string, string | number>;
2423
- type?: NotificationType | undefined;
2424
2431
  cta?: {
2425
2432
  label: string;
2426
2433
  url: string;
@@ -2430,7 +2437,6 @@ declare const TriggerSchema: z.ZodObject<{
2430
2437
  title: string;
2431
2438
  body: string;
2432
2439
  metadata: Record<string, string | number>;
2433
- type?: NotificationType | undefined;
2434
2440
  cta?: {
2435
2441
  label: string;
2436
2442
  url: string;
@@ -2547,7 +2553,6 @@ declare const TriggerSchema: z.ZodObject<{
2547
2553
  title: string;
2548
2554
  body: string;
2549
2555
  metadata: Record<string, string | number>;
2550
- type?: NotificationType | undefined;
2551
2556
  cta?: {
2552
2557
  label: string;
2553
2558
  url: string;
@@ -2599,7 +2604,6 @@ declare const TriggerSchema: z.ZodObject<{
2599
2604
  title: string;
2600
2605
  body: string;
2601
2606
  metadata: Record<string, string | number>;
2602
- type?: NotificationType | undefined;
2603
2607
  cta?: {
2604
2608
  label: string;
2605
2609
  url: string;
package/dist/index.js CHANGED
@@ -4249,8 +4249,7 @@ var NotificationDetailSchema = NotificationItemSchema.pick({
4249
4249
  body: true,
4250
4250
  userId: true,
4251
4251
  metadata: true,
4252
- cta: true,
4253
- type: true
4252
+ cta: true
4254
4253
  });
4255
4254
  var CriteriaSchema = external_exports.object({
4256
4255
  type: external_exports.nativeEnum(CriteriaType),
@@ -5975,7 +5974,9 @@ var TenantSchema = external_exports.object({
5975
5974
  useOwnScripts: external_exports.boolean().optional(),
5976
5975
  subscription: external_exports.optional(external_exports.lazy(() => SubscriptionSchema)),
5977
5976
  totalSubscriptions: external_exports.number().optional(),
5978
- totalUsers: external_exports.number().optional()
5977
+ totalUsers: external_exports.number().optional(),
5978
+ reportUrl: external_exports.string().optional(),
5979
+ reportViewers: external_exports.array(external_exports.string()).optional()
5979
5980
  });
5980
5981
  var MemberSchema = external_exports.object({
5981
5982
  name: external_exports.string(),
@@ -6013,6 +6014,10 @@ var Endpoints8 = {
6013
6014
  Members: {
6014
6015
  uri: "/tenants/:tenantId/members",
6015
6016
  method: "GET"
6017
+ },
6018
+ UpdateReportViewers: {
6019
+ uri: "/tenants/:tenantId/report-viewers",
6020
+ method: "PUT"
6016
6021
  }
6017
6022
  };
6018
6023