shred-api-client 2.10.0 → 2.10.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 +30 -11
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3545,7 +3545,8 @@ declare const ShredUSessionSchema: z.ZodObject<{
|
|
|
3545
3545
|
durationMin: z.ZodNumber;
|
|
3546
3546
|
zoomUrl: z.ZodString;
|
|
3547
3547
|
status: z.ZodEnum<["scheduled", "cancelled"]>;
|
|
3548
|
-
|
|
3548
|
+
recordingUrl: z.ZodOptional<z.ZodString>;
|
|
3549
|
+
recordingThumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
3549
3550
|
recordingDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3550
3551
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3551
3552
|
assetId: z.ZodString;
|
|
@@ -3589,9 +3590,11 @@ declare const ShredUSessionSchema: z.ZodObject<{
|
|
|
3589
3590
|
uploadedAt?: number | undefined;
|
|
3590
3591
|
}>, "many">>;
|
|
3591
3592
|
tenantIds: z.ZodArray<z.ZodString, "many">;
|
|
3593
|
+
timezone: z.ZodString;
|
|
3592
3594
|
}, "strip", z.ZodTypeAny, {
|
|
3593
3595
|
id: string;
|
|
3594
3596
|
status: "scheduled" | "cancelled";
|
|
3597
|
+
timezone: string;
|
|
3595
3598
|
description: string;
|
|
3596
3599
|
tenantIds: string[];
|
|
3597
3600
|
topic: string;
|
|
@@ -3612,11 +3615,13 @@ declare const ShredUSessionSchema: z.ZodObject<{
|
|
|
3612
3615
|
authorId?: string | undefined;
|
|
3613
3616
|
uploadedAt?: number | undefined;
|
|
3614
3617
|
}[] | undefined;
|
|
3615
|
-
|
|
3618
|
+
recordingUrl?: string | undefined;
|
|
3619
|
+
recordingThumbnailUrl?: string | undefined;
|
|
3616
3620
|
recordingDurationSeconds?: number | undefined;
|
|
3617
3621
|
}, {
|
|
3618
3622
|
id: string;
|
|
3619
3623
|
status: "scheduled" | "cancelled";
|
|
3624
|
+
timezone: string;
|
|
3620
3625
|
description: string;
|
|
3621
3626
|
tenantIds: string[];
|
|
3622
3627
|
topic: string;
|
|
@@ -3637,10 +3642,11 @@ declare const ShredUSessionSchema: z.ZodObject<{
|
|
|
3637
3642
|
authorId?: string | undefined;
|
|
3638
3643
|
uploadedAt?: number | undefined;
|
|
3639
3644
|
}[] | undefined;
|
|
3640
|
-
|
|
3645
|
+
recordingUrl?: string | undefined;
|
|
3646
|
+
recordingThumbnailUrl?: string | undefined;
|
|
3641
3647
|
recordingDurationSeconds?: number | undefined;
|
|
3642
3648
|
}>;
|
|
3643
|
-
/** Subscriber-facing endpoints answer without the Zoom link,
|
|
3649
|
+
/** Subscriber-facing endpoints answer without the Zoom link, who else it is for, or the hub's authoring zone. */
|
|
3644
3650
|
declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
|
|
3645
3651
|
id: z.ZodString;
|
|
3646
3652
|
topic: z.ZodString;
|
|
@@ -3649,7 +3655,8 @@ declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
|
|
|
3649
3655
|
durationMin: z.ZodNumber;
|
|
3650
3656
|
zoomUrl: z.ZodString;
|
|
3651
3657
|
status: z.ZodEnum<["scheduled", "cancelled"]>;
|
|
3652
|
-
|
|
3658
|
+
recordingUrl: z.ZodOptional<z.ZodString>;
|
|
3659
|
+
recordingThumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
3653
3660
|
recordingDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3654
3661
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3655
3662
|
assetId: z.ZodString;
|
|
@@ -3693,7 +3700,8 @@ declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
|
|
|
3693
3700
|
uploadedAt?: number | undefined;
|
|
3694
3701
|
}>, "many">>;
|
|
3695
3702
|
tenantIds: z.ZodArray<z.ZodString, "many">;
|
|
3696
|
-
|
|
3703
|
+
timezone: z.ZodString;
|
|
3704
|
+
}, "timezone" | "tenantIds" | "zoomUrl">, "strip", z.ZodTypeAny, {
|
|
3697
3705
|
id: string;
|
|
3698
3706
|
status: "scheduled" | "cancelled";
|
|
3699
3707
|
description: string;
|
|
@@ -3714,7 +3722,8 @@ declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
|
|
|
3714
3722
|
authorId?: string | undefined;
|
|
3715
3723
|
uploadedAt?: number | undefined;
|
|
3716
3724
|
}[] | undefined;
|
|
3717
|
-
|
|
3725
|
+
recordingUrl?: string | undefined;
|
|
3726
|
+
recordingThumbnailUrl?: string | undefined;
|
|
3718
3727
|
recordingDurationSeconds?: number | undefined;
|
|
3719
3728
|
}, {
|
|
3720
3729
|
id: string;
|
|
@@ -3737,7 +3746,8 @@ declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
|
|
|
3737
3746
|
authorId?: string | undefined;
|
|
3738
3747
|
uploadedAt?: number | undefined;
|
|
3739
3748
|
}[] | undefined;
|
|
3740
|
-
|
|
3749
|
+
recordingUrl?: string | undefined;
|
|
3750
|
+
recordingThumbnailUrl?: string | undefined;
|
|
3741
3751
|
recordingDurationSeconds?: number | undefined;
|
|
3742
3752
|
}>;
|
|
3743
3753
|
declare const CreateShredUSessionSchema: z.ZodObject<{
|
|
@@ -3788,7 +3798,9 @@ declare const CreateShredUSessionSchema: z.ZodObject<{
|
|
|
3788
3798
|
uploadedAt?: number | undefined;
|
|
3789
3799
|
}>, "many">>;
|
|
3790
3800
|
tenantIds: z.ZodArray<z.ZodString, "many">;
|
|
3801
|
+
timezone: z.ZodString;
|
|
3791
3802
|
}, "strip", z.ZodTypeAny, {
|
|
3803
|
+
timezone: string;
|
|
3792
3804
|
description: string;
|
|
3793
3805
|
tenantIds: string[];
|
|
3794
3806
|
topic: string;
|
|
@@ -3810,6 +3822,7 @@ declare const CreateShredUSessionSchema: z.ZodObject<{
|
|
|
3810
3822
|
uploadedAt?: number | undefined;
|
|
3811
3823
|
}[] | undefined;
|
|
3812
3824
|
}, {
|
|
3825
|
+
timezone: string;
|
|
3813
3826
|
description: string;
|
|
3814
3827
|
tenantIds: string[];
|
|
3815
3828
|
topic: string;
|
|
@@ -3879,7 +3892,9 @@ declare const UpdateShredUSessionSchema: z.ZodObject<{
|
|
|
3879
3892
|
uploadedAt?: number | undefined;
|
|
3880
3893
|
}>, "many">>;
|
|
3881
3894
|
tenantIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3895
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
3882
3896
|
}, "strip", z.ZodTypeAny, {
|
|
3897
|
+
timezone?: string | undefined;
|
|
3883
3898
|
description?: string | undefined;
|
|
3884
3899
|
tenantIds?: string[] | undefined;
|
|
3885
3900
|
assets?: {
|
|
@@ -3901,6 +3916,7 @@ declare const UpdateShredUSessionSchema: z.ZodObject<{
|
|
|
3901
3916
|
durationMin?: number | undefined;
|
|
3902
3917
|
zoomUrl?: string | undefined;
|
|
3903
3918
|
}, {
|
|
3919
|
+
timezone?: string | undefined;
|
|
3904
3920
|
description?: string | undefined;
|
|
3905
3921
|
tenantIds?: string[] | undefined;
|
|
3906
3922
|
assets?: {
|
|
@@ -3923,14 +3939,17 @@ declare const UpdateShredUSessionSchema: z.ZodObject<{
|
|
|
3923
3939
|
zoomUrl?: string | undefined;
|
|
3924
3940
|
}>;
|
|
3925
3941
|
declare const SetShredUSessionRecordingSchema: z.ZodObject<{
|
|
3926
|
-
|
|
3942
|
+
recordingUrl: z.ZodString;
|
|
3943
|
+
recordingThumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
3927
3944
|
recordingDurationSeconds: z.ZodNumber;
|
|
3928
3945
|
}, "strip", z.ZodTypeAny, {
|
|
3929
|
-
|
|
3946
|
+
recordingUrl: string;
|
|
3930
3947
|
recordingDurationSeconds: number;
|
|
3948
|
+
recordingThumbnailUrl?: string | undefined;
|
|
3931
3949
|
}, {
|
|
3932
|
-
|
|
3950
|
+
recordingUrl: string;
|
|
3933
3951
|
recordingDurationSeconds: number;
|
|
3952
|
+
recordingThumbnailUrl?: string | undefined;
|
|
3934
3953
|
}>;
|
|
3935
3954
|
type SessionAsset = z.infer<typeof SessionAssetSchema>;
|
|
3936
3955
|
type ShredUSessionStatus = z.infer<typeof ShredUSessionStatusSchema>;
|
package/dist/index.js
CHANGED
|
@@ -6110,14 +6110,17 @@ var ShredUSessionSchema = external_exports.object({
|
|
|
6110
6110
|
durationMin: external_exports.number(),
|
|
6111
6111
|
zoomUrl: external_exports.string(),
|
|
6112
6112
|
status: ShredUSessionStatusSchema,
|
|
6113
|
-
|
|
6113
|
+
recordingUrl: external_exports.string().optional(),
|
|
6114
|
+
recordingThumbnailUrl: external_exports.string().optional(),
|
|
6114
6115
|
recordingDurationSeconds: external_exports.number().optional(),
|
|
6115
6116
|
assets: external_exports.array(SessionAssetSchema).optional(),
|
|
6116
|
-
tenantIds: external_exports.array(external_exports.string())
|
|
6117
|
+
tenantIds: external_exports.array(external_exports.string()),
|
|
6118
|
+
timezone: external_exports.string()
|
|
6117
6119
|
});
|
|
6118
6120
|
var ShredUSessionCustomerSchema = ShredUSessionSchema.omit({
|
|
6119
6121
|
zoomUrl: true,
|
|
6120
|
-
tenantIds: true
|
|
6122
|
+
tenantIds: true,
|
|
6123
|
+
timezone: true
|
|
6121
6124
|
});
|
|
6122
6125
|
var CreateShredUSessionSchema = external_exports.object({
|
|
6123
6126
|
topic: external_exports.string().min(1),
|
|
@@ -6126,7 +6129,8 @@ var CreateShredUSessionSchema = external_exports.object({
|
|
|
6126
6129
|
durationMin: external_exports.number().int().positive(),
|
|
6127
6130
|
zoomUrl: external_exports.string().url(),
|
|
6128
6131
|
assets: external_exports.array(SessionAssetSchema).optional(),
|
|
6129
|
-
tenantIds: external_exports.array(external_exports.string().min(1))
|
|
6132
|
+
tenantIds: external_exports.array(external_exports.string().min(1)),
|
|
6133
|
+
timezone: external_exports.string().min(1)
|
|
6130
6134
|
});
|
|
6131
6135
|
var UpdateShredUSessionSchema = external_exports.object({
|
|
6132
6136
|
topic: external_exports.string().min(1).optional(),
|
|
@@ -6135,10 +6139,12 @@ var UpdateShredUSessionSchema = external_exports.object({
|
|
|
6135
6139
|
durationMin: external_exports.number().int().positive().optional(),
|
|
6136
6140
|
zoomUrl: external_exports.string().url().optional(),
|
|
6137
6141
|
assets: external_exports.array(SessionAssetSchema).optional(),
|
|
6138
|
-
tenantIds: external_exports.array(external_exports.string().min(1)).optional()
|
|
6142
|
+
tenantIds: external_exports.array(external_exports.string().min(1)).optional(),
|
|
6143
|
+
timezone: external_exports.string().min(1).optional()
|
|
6139
6144
|
});
|
|
6140
6145
|
var SetShredUSessionRecordingSchema = external_exports.object({
|
|
6141
|
-
|
|
6146
|
+
recordingUrl: external_exports.string().url(),
|
|
6147
|
+
recordingThumbnailUrl: external_exports.string().url().optional(),
|
|
6142
6148
|
recordingDurationSeconds: external_exports.number().int().positive()
|
|
6143
6149
|
});
|
|
6144
6150
|
|