shred-api-client 2.10.2 → 2.10.3

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
@@ -3537,10 +3537,42 @@ declare const SessionAssetSchema: z.ZodObject<{
3537
3537
  uploadedAt?: number | undefined;
3538
3538
  }>;
3539
3539
  declare const ShredUSessionStatusSchema: z.ZodEnum<["scheduled", "cancelled"]>;
3540
+ declare const ShredUBriefSchema: z.ZodObject<{
3541
+ hook: z.ZodString;
3542
+ intro: z.ZodArray<z.ZodString, "many">;
3543
+ topics: z.ZodArray<z.ZodString, "many">;
3544
+ signoff: z.ZodOptional<z.ZodString>;
3545
+ }, "strip", z.ZodTypeAny, {
3546
+ hook: string;
3547
+ intro: string[];
3548
+ topics: string[];
3549
+ signoff?: string | undefined;
3550
+ }, {
3551
+ hook: string;
3552
+ intro: string[];
3553
+ topics: string[];
3554
+ signoff?: string | undefined;
3555
+ }>;
3540
3556
  declare const ShredUSessionSchema: z.ZodObject<{
3541
3557
  id: z.ZodString;
3542
3558
  topic: z.ZodString;
3543
3559
  description: z.ZodString;
3560
+ brief: z.ZodOptional<z.ZodObject<{
3561
+ hook: z.ZodString;
3562
+ intro: z.ZodArray<z.ZodString, "many">;
3563
+ topics: z.ZodArray<z.ZodString, "many">;
3564
+ signoff: z.ZodOptional<z.ZodString>;
3565
+ }, "strip", z.ZodTypeAny, {
3566
+ hook: string;
3567
+ intro: string[];
3568
+ topics: string[];
3569
+ signoff?: string | undefined;
3570
+ }, {
3571
+ hook: string;
3572
+ intro: string[];
3573
+ topics: string[];
3574
+ signoff?: string | undefined;
3575
+ }>>;
3544
3576
  startsAt: z.ZodNumber;
3545
3577
  durationMin: z.ZodNumber;
3546
3578
  zoomUrl: z.ZodString;
@@ -3615,6 +3647,12 @@ declare const ShredUSessionSchema: z.ZodObject<{
3615
3647
  authorId?: string | undefined;
3616
3648
  uploadedAt?: number | undefined;
3617
3649
  }[] | undefined;
3650
+ brief?: {
3651
+ hook: string;
3652
+ intro: string[];
3653
+ topics: string[];
3654
+ signoff?: string | undefined;
3655
+ } | undefined;
3618
3656
  recordingUrl?: string | undefined;
3619
3657
  recordingThumbnailUrl?: string | undefined;
3620
3658
  recordingDurationSeconds?: number | undefined;
@@ -3642,6 +3680,12 @@ declare const ShredUSessionSchema: z.ZodObject<{
3642
3680
  authorId?: string | undefined;
3643
3681
  uploadedAt?: number | undefined;
3644
3682
  }[] | undefined;
3683
+ brief?: {
3684
+ hook: string;
3685
+ intro: string[];
3686
+ topics: string[];
3687
+ signoff?: string | undefined;
3688
+ } | undefined;
3645
3689
  recordingUrl?: string | undefined;
3646
3690
  recordingThumbnailUrl?: string | undefined;
3647
3691
  recordingDurationSeconds?: number | undefined;
@@ -3651,6 +3695,22 @@ declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
3651
3695
  id: z.ZodString;
3652
3696
  topic: z.ZodString;
3653
3697
  description: z.ZodString;
3698
+ brief: z.ZodOptional<z.ZodObject<{
3699
+ hook: z.ZodString;
3700
+ intro: z.ZodArray<z.ZodString, "many">;
3701
+ topics: z.ZodArray<z.ZodString, "many">;
3702
+ signoff: z.ZodOptional<z.ZodString>;
3703
+ }, "strip", z.ZodTypeAny, {
3704
+ hook: string;
3705
+ intro: string[];
3706
+ topics: string[];
3707
+ signoff?: string | undefined;
3708
+ }, {
3709
+ hook: string;
3710
+ intro: string[];
3711
+ topics: string[];
3712
+ signoff?: string | undefined;
3713
+ }>>;
3654
3714
  startsAt: z.ZodNumber;
3655
3715
  durationMin: z.ZodNumber;
3656
3716
  zoomUrl: z.ZodString;
@@ -3722,6 +3782,12 @@ declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
3722
3782
  authorId?: string | undefined;
3723
3783
  uploadedAt?: number | undefined;
3724
3784
  }[] | undefined;
3785
+ brief?: {
3786
+ hook: string;
3787
+ intro: string[];
3788
+ topics: string[];
3789
+ signoff?: string | undefined;
3790
+ } | undefined;
3725
3791
  recordingUrl?: string | undefined;
3726
3792
  recordingThumbnailUrl?: string | undefined;
3727
3793
  recordingDurationSeconds?: number | undefined;
@@ -3746,13 +3812,51 @@ declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
3746
3812
  authorId?: string | undefined;
3747
3813
  uploadedAt?: number | undefined;
3748
3814
  }[] | undefined;
3815
+ brief?: {
3816
+ hook: string;
3817
+ intro: string[];
3818
+ topics: string[];
3819
+ signoff?: string | undefined;
3820
+ } | undefined;
3749
3821
  recordingUrl?: string | undefined;
3750
3822
  recordingThumbnailUrl?: string | undefined;
3751
3823
  recordingDurationSeconds?: number | undefined;
3752
3824
  }>;
3825
+ declare const CreateShredUBriefSchema: z.ZodObject<{
3826
+ hook: z.ZodString;
3827
+ intro: z.ZodArray<z.ZodString, "many">;
3828
+ topics: z.ZodArray<z.ZodString, "many">;
3829
+ signoff: z.ZodOptional<z.ZodString>;
3830
+ }, "strip", z.ZodTypeAny, {
3831
+ hook: string;
3832
+ intro: string[];
3833
+ topics: string[];
3834
+ signoff?: string | undefined;
3835
+ }, {
3836
+ hook: string;
3837
+ intro: string[];
3838
+ topics: string[];
3839
+ signoff?: string | undefined;
3840
+ }>;
3753
3841
  declare const CreateShredUSessionSchema: z.ZodObject<{
3754
3842
  topic: z.ZodString;
3755
3843
  description: z.ZodString;
3844
+ brief: z.ZodOptional<z.ZodObject<{
3845
+ hook: z.ZodString;
3846
+ intro: z.ZodArray<z.ZodString, "many">;
3847
+ topics: z.ZodArray<z.ZodString, "many">;
3848
+ signoff: z.ZodOptional<z.ZodString>;
3849
+ }, "strip", z.ZodTypeAny, {
3850
+ hook: string;
3851
+ intro: string[];
3852
+ topics: string[];
3853
+ signoff?: string | undefined;
3854
+ }, {
3855
+ hook: string;
3856
+ intro: string[];
3857
+ topics: string[];
3858
+ signoff?: string | undefined;
3859
+ }>>;
3756
3860
  startsAt: z.ZodNumber;
3757
3861
  durationMin: z.ZodNumber;
3758
3862
  zoomUrl: z.ZodString;
@@ -3821,6 +3925,12 @@ declare const CreateShredUSessionSchema: z.ZodObject<{
3821
3925
  authorId?: string | undefined;
3822
3926
  uploadedAt?: number | undefined;
3823
3927
  }[] | undefined;
3928
+ brief?: {
3929
+ hook: string;
3930
+ intro: string[];
3931
+ topics: string[];
3932
+ signoff?: string | undefined;
3933
+ } | undefined;
3824
3934
  }, {
3825
3935
  timezone: string;
3826
3936
  description: string;
@@ -3843,10 +3953,32 @@ declare const CreateShredUSessionSchema: z.ZodObject<{
3843
3953
  authorId?: string | undefined;
3844
3954
  uploadedAt?: number | undefined;
3845
3955
  }[] | undefined;
3956
+ brief?: {
3957
+ hook: string;
3958
+ intro: string[];
3959
+ topics: string[];
3960
+ signoff?: string | undefined;
3961
+ } | undefined;
3846
3962
  }>;
3847
3963
  declare const UpdateShredUSessionSchema: z.ZodObject<{
3848
3964
  topic: z.ZodOptional<z.ZodString>;
3849
3965
  description: z.ZodOptional<z.ZodString>;
3966
+ brief: z.ZodOptional<z.ZodObject<{
3967
+ hook: z.ZodString;
3968
+ intro: z.ZodArray<z.ZodString, "many">;
3969
+ topics: z.ZodArray<z.ZodString, "many">;
3970
+ signoff: z.ZodOptional<z.ZodString>;
3971
+ }, "strip", z.ZodTypeAny, {
3972
+ hook: string;
3973
+ intro: string[];
3974
+ topics: string[];
3975
+ signoff?: string | undefined;
3976
+ }, {
3977
+ hook: string;
3978
+ intro: string[];
3979
+ topics: string[];
3980
+ signoff?: string | undefined;
3981
+ }>>;
3850
3982
  startsAt: z.ZodOptional<z.ZodNumber>;
3851
3983
  durationMin: z.ZodOptional<z.ZodNumber>;
3852
3984
  zoomUrl: z.ZodOptional<z.ZodString>;
@@ -3912,6 +4044,12 @@ declare const UpdateShredUSessionSchema: z.ZodObject<{
3912
4044
  uploadedAt?: number | undefined;
3913
4045
  }[] | undefined;
3914
4046
  topic?: string | undefined;
4047
+ brief?: {
4048
+ hook: string;
4049
+ intro: string[];
4050
+ topics: string[];
4051
+ signoff?: string | undefined;
4052
+ } | undefined;
3915
4053
  startsAt?: number | undefined;
3916
4054
  durationMin?: number | undefined;
3917
4055
  zoomUrl?: string | undefined;
@@ -3934,6 +4072,12 @@ declare const UpdateShredUSessionSchema: z.ZodObject<{
3934
4072
  uploadedAt?: number | undefined;
3935
4073
  }[] | undefined;
3936
4074
  topic?: string | undefined;
4075
+ brief?: {
4076
+ hook: string;
4077
+ intro: string[];
4078
+ topics: string[];
4079
+ signoff?: string | undefined;
4080
+ } | undefined;
3937
4081
  startsAt?: number | undefined;
3938
4082
  durationMin?: number | undefined;
3939
4083
  zoomUrl?: string | undefined;
@@ -3952,6 +4096,7 @@ declare const SetShredUSessionRecordingSchema: z.ZodObject<{
3952
4096
  recordingThumbnailUrl?: string | undefined;
3953
4097
  }>;
3954
4098
  type SessionAsset = z.infer<typeof SessionAssetSchema>;
4099
+ type Brief = z.infer<typeof ShredUBriefSchema>;
3955
4100
  type ShredUSessionStatus = z.infer<typeof ShredUSessionStatusSchema>;
3956
4101
  type ShredUSession = z.infer<typeof ShredUSessionSchema>;
3957
4102
  type ShredUSessionCustomer = z.infer<typeof ShredUSessionCustomerSchema>;
@@ -4004,12 +4149,15 @@ declare const Endpoints$1: {
4004
4149
  };
4005
4150
  };
4006
4151
 
4152
+ type index$3_Brief = Brief;
4007
4153
  type index$3_Create = Create;
4154
+ declare const index$3_CreateShredUBriefSchema: typeof CreateShredUBriefSchema;
4008
4155
  declare const index$3_CreateShredUSessionSchema: typeof CreateShredUSessionSchema;
4009
4156
  type index$3_SessionAsset = SessionAsset;
4010
4157
  declare const index$3_SessionAssetSchema: typeof SessionAssetSchema;
4011
4158
  type index$3_SetRecording = SetRecording;
4012
4159
  declare const index$3_SetShredUSessionRecordingSchema: typeof SetShredUSessionRecordingSchema;
4160
+ declare const index$3_ShredUBriefSchema: typeof ShredUBriefSchema;
4013
4161
  type index$3_ShredUSessionCustomer = ShredUSessionCustomer;
4014
4162
  declare const index$3_ShredUSessionCustomerSchema: typeof ShredUSessionCustomerSchema;
4015
4163
  declare const index$3_ShredUSessionSchema: typeof ShredUSessionSchema;
@@ -4018,7 +4166,7 @@ declare const index$3_ShredUSessionStatusSchema: typeof ShredUSessionStatusSchem
4018
4166
  type index$3_Update = Update;
4019
4167
  declare const index$3_UpdateShredUSessionSchema: typeof UpdateShredUSessionSchema;
4020
4168
  declare namespace index$3 {
4021
- export { type index$3_Create as Create, index$3_CreateShredUSessionSchema as CreateShredUSessionSchema, Endpoints$1 as Endpoints, type ShredUSession as Entity, type IAPI$1 as IAPI, type index$3_SessionAsset as SessionAsset, index$3_SessionAssetSchema as SessionAssetSchema, type index$3_SetRecording as SetRecording, index$3_SetShredUSessionRecordingSchema as SetShredUSessionRecordingSchema, type index$3_ShredUSessionCustomer as ShredUSessionCustomer, index$3_ShredUSessionCustomerSchema as ShredUSessionCustomerSchema, index$3_ShredUSessionSchema as ShredUSessionSchema, type index$3_ShredUSessionStatus as ShredUSessionStatus, index$3_ShredUSessionStatusSchema as ShredUSessionStatusSchema, type index$3_Update as Update, index$3_UpdateShredUSessionSchema as UpdateShredUSessionSchema };
4169
+ export { type index$3_Brief as Brief, type index$3_Create as Create, index$3_CreateShredUBriefSchema as CreateShredUBriefSchema, index$3_CreateShredUSessionSchema as CreateShredUSessionSchema, Endpoints$1 as Endpoints, type ShredUSession as Entity, type IAPI$1 as IAPI, type index$3_SessionAsset as SessionAsset, index$3_SessionAssetSchema as SessionAssetSchema, type index$3_SetRecording as SetRecording, index$3_SetShredUSessionRecordingSchema as SetShredUSessionRecordingSchema, index$3_ShredUBriefSchema as ShredUBriefSchema, type index$3_ShredUSessionCustomer as ShredUSessionCustomer, index$3_ShredUSessionCustomerSchema as ShredUSessionCustomerSchema, index$3_ShredUSessionSchema as ShredUSessionSchema, type index$3_ShredUSessionStatus as ShredUSessionStatus, index$3_ShredUSessionStatusSchema as ShredUSessionStatusSchema, type index$3_Update as Update, index$3_UpdateShredUSessionSchema as UpdateShredUSessionSchema };
4022
4170
  }
4023
4171
 
4024
4172
  /**
package/dist/index.js CHANGED
@@ -6102,10 +6102,17 @@ var SessionAssetSchema = AssetSchema.extend({
6102
6102
  uploadedAt: external_exports.number().optional()
6103
6103
  });
6104
6104
  var ShredUSessionStatusSchema = external_exports.enum(["scheduled", "cancelled"]);
6105
+ var ShredUBriefSchema = external_exports.object({
6106
+ hook: external_exports.string(),
6107
+ intro: external_exports.array(external_exports.string()),
6108
+ topics: external_exports.array(external_exports.string()),
6109
+ signoff: external_exports.string().optional()
6110
+ });
6105
6111
  var ShredUSessionSchema = external_exports.object({
6106
6112
  id: external_exports.string(),
6107
6113
  topic: external_exports.string(),
6108
6114
  description: external_exports.string(),
6115
+ brief: ShredUBriefSchema.optional(),
6109
6116
  startsAt: external_exports.number(),
6110
6117
  durationMin: external_exports.number(),
6111
6118
  zoomUrl: external_exports.string(),
@@ -6122,9 +6129,16 @@ var ShredUSessionCustomerSchema = ShredUSessionSchema.omit({
6122
6129
  tenantIds: true,
6123
6130
  timezone: true
6124
6131
  });
6132
+ var CreateShredUBriefSchema = external_exports.object({
6133
+ hook: external_exports.string().min(1),
6134
+ intro: external_exports.array(external_exports.string().min(1)),
6135
+ topics: external_exports.array(external_exports.string().min(1)),
6136
+ signoff: external_exports.string().min(1).optional()
6137
+ });
6125
6138
  var CreateShredUSessionSchema = external_exports.object({
6126
6139
  topic: external_exports.string().min(1),
6127
6140
  description: external_exports.string().min(1),
6141
+ brief: CreateShredUBriefSchema.optional(),
6128
6142
  startsAt: external_exports.number().int().positive(),
6129
6143
  durationMin: external_exports.number().int().positive(),
6130
6144
  zoomUrl: external_exports.string().url(),
@@ -6135,6 +6149,7 @@ var CreateShredUSessionSchema = external_exports.object({
6135
6149
  var UpdateShredUSessionSchema = external_exports.object({
6136
6150
  topic: external_exports.string().min(1).optional(),
6137
6151
  description: external_exports.string().min(1).optional(),
6152
+ brief: CreateShredUBriefSchema.optional(),
6138
6153
  startsAt: external_exports.number().int().positive().optional(),
6139
6154
  durationMin: external_exports.number().int().positive().optional(),
6140
6155
  zoomUrl: external_exports.string().url().optional(),
@@ -6968,10 +6983,12 @@ __export(special_offer_exports, {
6968
6983
  // src/model/shredu/index.ts
6969
6984
  var shredu_exports = {};
6970
6985
  __export(shredu_exports, {
6986
+ CreateShredUBriefSchema: () => CreateShredUBriefSchema,
6971
6987
  CreateShredUSessionSchema: () => CreateShredUSessionSchema,
6972
6988
  Endpoints: () => Endpoints9,
6973
6989
  SessionAssetSchema: () => SessionAssetSchema,
6974
6990
  SetShredUSessionRecordingSchema: () => SetShredUSessionRecordingSchema,
6991
+ ShredUBriefSchema: () => ShredUBriefSchema,
6975
6992
  ShredUSessionCustomerSchema: () => ShredUSessionCustomerSchema,
6976
6993
  ShredUSessionSchema: () => ShredUSessionSchema,
6977
6994
  ShredUSessionStatusSchema: () => ShredUSessionStatusSchema,