shred-api-client 2.9.14 → 2.10.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/index.d.ts +12 -2
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3588,10 +3588,12 @@ declare const ShredUSessionSchema: z.ZodObject<{
|
|
|
3588
3588
|
authorId?: string | undefined;
|
|
3589
3589
|
uploadedAt?: number | undefined;
|
|
3590
3590
|
}>, "many">>;
|
|
3591
|
+
tenantIds: z.ZodArray<z.ZodString, "many">;
|
|
3591
3592
|
}, "strip", z.ZodTypeAny, {
|
|
3592
3593
|
id: string;
|
|
3593
3594
|
status: "scheduled" | "cancelled";
|
|
3594
3595
|
description: string;
|
|
3596
|
+
tenantIds: string[];
|
|
3595
3597
|
topic: string;
|
|
3596
3598
|
startsAt: number;
|
|
3597
3599
|
durationMin: number;
|
|
@@ -3616,6 +3618,7 @@ declare const ShredUSessionSchema: z.ZodObject<{
|
|
|
3616
3618
|
id: string;
|
|
3617
3619
|
status: "scheduled" | "cancelled";
|
|
3618
3620
|
description: string;
|
|
3621
|
+
tenantIds: string[];
|
|
3619
3622
|
topic: string;
|
|
3620
3623
|
startsAt: number;
|
|
3621
3624
|
durationMin: number;
|
|
@@ -3637,7 +3640,7 @@ declare const ShredUSessionSchema: z.ZodObject<{
|
|
|
3637
3640
|
recordingId?: string | undefined;
|
|
3638
3641
|
recordingDurationSeconds?: number | undefined;
|
|
3639
3642
|
}>;
|
|
3640
|
-
/** Subscriber-facing endpoints answer without the Zoom link. */
|
|
3643
|
+
/** Subscriber-facing endpoints answer without the Zoom link, nor who else it is for. */
|
|
3641
3644
|
declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
|
|
3642
3645
|
id: z.ZodString;
|
|
3643
3646
|
topic: z.ZodString;
|
|
@@ -3689,7 +3692,8 @@ declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
|
|
|
3689
3692
|
authorId?: string | undefined;
|
|
3690
3693
|
uploadedAt?: number | undefined;
|
|
3691
3694
|
}>, "many">>;
|
|
3692
|
-
|
|
3695
|
+
tenantIds: z.ZodArray<z.ZodString, "many">;
|
|
3696
|
+
}, "tenantIds" | "zoomUrl">, "strip", z.ZodTypeAny, {
|
|
3693
3697
|
id: string;
|
|
3694
3698
|
status: "scheduled" | "cancelled";
|
|
3695
3699
|
description: string;
|
|
@@ -3783,8 +3787,10 @@ declare const CreateShredUSessionSchema: z.ZodObject<{
|
|
|
3783
3787
|
authorId?: string | undefined;
|
|
3784
3788
|
uploadedAt?: number | undefined;
|
|
3785
3789
|
}>, "many">>;
|
|
3790
|
+
tenantIds: z.ZodArray<z.ZodString, "many">;
|
|
3786
3791
|
}, "strip", z.ZodTypeAny, {
|
|
3787
3792
|
description: string;
|
|
3793
|
+
tenantIds: string[];
|
|
3788
3794
|
topic: string;
|
|
3789
3795
|
startsAt: number;
|
|
3790
3796
|
durationMin: number;
|
|
@@ -3805,6 +3811,7 @@ declare const CreateShredUSessionSchema: z.ZodObject<{
|
|
|
3805
3811
|
}[] | undefined;
|
|
3806
3812
|
}, {
|
|
3807
3813
|
description: string;
|
|
3814
|
+
tenantIds: string[];
|
|
3808
3815
|
topic: string;
|
|
3809
3816
|
startsAt: number;
|
|
3810
3817
|
durationMin: number;
|
|
@@ -3871,8 +3878,10 @@ declare const UpdateShredUSessionSchema: z.ZodObject<{
|
|
|
3871
3878
|
authorId?: string | undefined;
|
|
3872
3879
|
uploadedAt?: number | undefined;
|
|
3873
3880
|
}>, "many">>;
|
|
3881
|
+
tenantIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3874
3882
|
}, "strip", z.ZodTypeAny, {
|
|
3875
3883
|
description?: string | undefined;
|
|
3884
|
+
tenantIds?: string[] | undefined;
|
|
3876
3885
|
assets?: {
|
|
3877
3886
|
assetId: string;
|
|
3878
3887
|
fileName: string;
|
|
@@ -3893,6 +3902,7 @@ declare const UpdateShredUSessionSchema: z.ZodObject<{
|
|
|
3893
3902
|
zoomUrl?: string | undefined;
|
|
3894
3903
|
}, {
|
|
3895
3904
|
description?: string | undefined;
|
|
3905
|
+
tenantIds?: string[] | undefined;
|
|
3896
3906
|
assets?: {
|
|
3897
3907
|
assetId: string;
|
|
3898
3908
|
fileName: string;
|
package/dist/index.js
CHANGED
|
@@ -6112,16 +6112,21 @@ var ShredUSessionSchema = external_exports.object({
|
|
|
6112
6112
|
status: ShredUSessionStatusSchema,
|
|
6113
6113
|
recordingId: external_exports.string().optional(),
|
|
6114
6114
|
recordingDurationSeconds: external_exports.number().optional(),
|
|
6115
|
-
assets: external_exports.array(SessionAssetSchema).optional()
|
|
6115
|
+
assets: external_exports.array(SessionAssetSchema).optional(),
|
|
6116
|
+
tenantIds: external_exports.array(external_exports.string())
|
|
6117
|
+
});
|
|
6118
|
+
var ShredUSessionCustomerSchema = ShredUSessionSchema.omit({
|
|
6119
|
+
zoomUrl: true,
|
|
6120
|
+
tenantIds: true
|
|
6116
6121
|
});
|
|
6117
|
-
var ShredUSessionCustomerSchema = ShredUSessionSchema.omit({ zoomUrl: true });
|
|
6118
6122
|
var CreateShredUSessionSchema = external_exports.object({
|
|
6119
6123
|
topic: external_exports.string().min(1),
|
|
6120
6124
|
description: external_exports.string().min(1),
|
|
6121
6125
|
startsAt: external_exports.number().int().positive(),
|
|
6122
6126
|
durationMin: external_exports.number().int().positive(),
|
|
6123
6127
|
zoomUrl: external_exports.string().url(),
|
|
6124
|
-
assets: external_exports.array(SessionAssetSchema).optional()
|
|
6128
|
+
assets: external_exports.array(SessionAssetSchema).optional(),
|
|
6129
|
+
tenantIds: external_exports.array(external_exports.string().min(1))
|
|
6125
6130
|
});
|
|
6126
6131
|
var UpdateShredUSessionSchema = external_exports.object({
|
|
6127
6132
|
topic: external_exports.string().min(1).optional(),
|
|
@@ -6129,7 +6134,8 @@ var UpdateShredUSessionSchema = external_exports.object({
|
|
|
6129
6134
|
startsAt: external_exports.number().int().positive().optional(),
|
|
6130
6135
|
durationMin: external_exports.number().int().positive().optional(),
|
|
6131
6136
|
zoomUrl: external_exports.string().url().optional(),
|
|
6132
|
-
assets: external_exports.array(SessionAssetSchema).optional()
|
|
6137
|
+
assets: external_exports.array(SessionAssetSchema).optional(),
|
|
6138
|
+
tenantIds: external_exports.array(external_exports.string().min(1)).optional()
|
|
6133
6139
|
});
|
|
6134
6140
|
var SetShredUSessionRecordingSchema = external_exports.object({
|
|
6135
6141
|
recordingId: external_exports.string().min(1),
|