shred-api-client 2.11.1 → 2.11.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 +51 -2
- package/dist/index.js +17 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3639,6 +3639,7 @@ declare const ShredUSessionSchema: z.ZodObject<{
|
|
|
3639
3639
|
}>, "many">>;
|
|
3640
3640
|
tenantIds: z.ZodArray<z.ZodString, "many">;
|
|
3641
3641
|
timezone: z.ZodString;
|
|
3642
|
+
reminderLeadMs: z.ZodOptional<z.ZodNumber>;
|
|
3642
3643
|
}, "strip", z.ZodTypeAny, {
|
|
3643
3644
|
id: string;
|
|
3644
3645
|
status: "scheduled" | "cancelled";
|
|
@@ -3672,6 +3673,7 @@ declare const ShredUSessionSchema: z.ZodObject<{
|
|
|
3672
3673
|
recordingUrl?: string | undefined;
|
|
3673
3674
|
recordingThumbnailUrl?: string | undefined;
|
|
3674
3675
|
recordingDurationSeconds?: number | undefined;
|
|
3676
|
+
reminderLeadMs?: number | undefined;
|
|
3675
3677
|
}, {
|
|
3676
3678
|
id: string;
|
|
3677
3679
|
status: "scheduled" | "cancelled";
|
|
@@ -3705,6 +3707,7 @@ declare const ShredUSessionSchema: z.ZodObject<{
|
|
|
3705
3707
|
recordingUrl?: string | undefined;
|
|
3706
3708
|
recordingThumbnailUrl?: string | undefined;
|
|
3707
3709
|
recordingDurationSeconds?: number | undefined;
|
|
3710
|
+
reminderLeadMs?: number | undefined;
|
|
3708
3711
|
}>;
|
|
3709
3712
|
/** Subscriber-facing endpoints answer without the Zoom link, who else it is for, or the hub's authoring zone. */
|
|
3710
3713
|
declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
|
|
@@ -3777,7 +3780,8 @@ declare const ShredUSessionCustomerSchema: z.ZodObject<Omit<{
|
|
|
3777
3780
|
}>, "many">>;
|
|
3778
3781
|
tenantIds: z.ZodArray<z.ZodString, "many">;
|
|
3779
3782
|
timezone: z.ZodString;
|
|
3780
|
-
|
|
3783
|
+
reminderLeadMs: z.ZodOptional<z.ZodNumber>;
|
|
3784
|
+
}, "timezone" | "tenantIds" | "zoomUrl" | "reminderLeadMs">, "strip", z.ZodTypeAny, {
|
|
3781
3785
|
id: string;
|
|
3782
3786
|
status: "scheduled" | "cancelled";
|
|
3783
3787
|
description: string;
|
|
@@ -3919,6 +3923,7 @@ declare const CreateShredUSessionSchema: z.ZodObject<{
|
|
|
3919
3923
|
}>, "many">>;
|
|
3920
3924
|
tenantIds: z.ZodArray<z.ZodString, "many">;
|
|
3921
3925
|
timezone: z.ZodString;
|
|
3926
|
+
reminderLeadMs: z.ZodOptional<z.ZodNumber>;
|
|
3922
3927
|
}, "strip", z.ZodTypeAny, {
|
|
3923
3928
|
timezone: string;
|
|
3924
3929
|
description: string;
|
|
@@ -3947,6 +3952,7 @@ declare const CreateShredUSessionSchema: z.ZodObject<{
|
|
|
3947
3952
|
topics: string[];
|
|
3948
3953
|
signoff?: string | undefined;
|
|
3949
3954
|
} | undefined;
|
|
3955
|
+
reminderLeadMs?: number | undefined;
|
|
3950
3956
|
}, {
|
|
3951
3957
|
timezone: string;
|
|
3952
3958
|
description: string;
|
|
@@ -3975,6 +3981,7 @@ declare const CreateShredUSessionSchema: z.ZodObject<{
|
|
|
3975
3981
|
topics: string[];
|
|
3976
3982
|
signoff?: string | undefined;
|
|
3977
3983
|
} | undefined;
|
|
3984
|
+
reminderLeadMs?: number | undefined;
|
|
3978
3985
|
}>;
|
|
3979
3986
|
declare const UpdateShredUSessionSchema: z.ZodObject<{
|
|
3980
3987
|
topic: z.ZodOptional<z.ZodString>;
|
|
@@ -4041,6 +4048,7 @@ declare const UpdateShredUSessionSchema: z.ZodObject<{
|
|
|
4041
4048
|
}>, "many">>;
|
|
4042
4049
|
tenantIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4043
4050
|
timezone: z.ZodOptional<z.ZodString>;
|
|
4051
|
+
reminderLeadMs: z.ZodOptional<z.ZodNumber>;
|
|
4044
4052
|
}, "strip", z.ZodTypeAny, {
|
|
4045
4053
|
timezone?: string | undefined;
|
|
4046
4054
|
description?: string | undefined;
|
|
@@ -4069,6 +4077,7 @@ declare const UpdateShredUSessionSchema: z.ZodObject<{
|
|
|
4069
4077
|
startsAt?: number | undefined;
|
|
4070
4078
|
durationMin?: number | undefined;
|
|
4071
4079
|
zoomUrl?: string | undefined;
|
|
4080
|
+
reminderLeadMs?: number | undefined;
|
|
4072
4081
|
}, {
|
|
4073
4082
|
timezone?: string | undefined;
|
|
4074
4083
|
description?: string | undefined;
|
|
@@ -4097,6 +4106,7 @@ declare const UpdateShredUSessionSchema: z.ZodObject<{
|
|
|
4097
4106
|
startsAt?: number | undefined;
|
|
4098
4107
|
durationMin?: number | undefined;
|
|
4099
4108
|
zoomUrl?: string | undefined;
|
|
4109
|
+
reminderLeadMs?: number | undefined;
|
|
4100
4110
|
}>;
|
|
4101
4111
|
declare const PreviewShredUEmailSchema: z.ZodObject<{
|
|
4102
4112
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -4182,6 +4192,19 @@ declare const ShredUStageRuleSchema: z.ZodObject<{
|
|
|
4182
4192
|
leadMs: number;
|
|
4183
4193
|
transport: TransportType;
|
|
4184
4194
|
}>;
|
|
4195
|
+
declare const ShredUReminderBoundsSchema: z.ZodObject<{
|
|
4196
|
+
defaultLeadMs: z.ZodNumber;
|
|
4197
|
+
minLeadMs: z.ZodNumber;
|
|
4198
|
+
maxLeadMs: z.ZodNumber;
|
|
4199
|
+
}, "strip", z.ZodTypeAny, {
|
|
4200
|
+
defaultLeadMs: number;
|
|
4201
|
+
minLeadMs: number;
|
|
4202
|
+
maxLeadMs: number;
|
|
4203
|
+
}, {
|
|
4204
|
+
defaultLeadMs: number;
|
|
4205
|
+
minLeadMs: number;
|
|
4206
|
+
maxLeadMs: number;
|
|
4207
|
+
}>;
|
|
4185
4208
|
declare const ShredUDispatchRulesSchema: z.ZodObject<{
|
|
4186
4209
|
/** Furthest ahead first, the order they fire in. */
|
|
4187
4210
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -4201,6 +4224,19 @@ declare const ShredUDispatchRulesSchema: z.ZodObject<{
|
|
|
4201
4224
|
leadMs: number;
|
|
4202
4225
|
transport: TransportType;
|
|
4203
4226
|
}>, "many">;
|
|
4227
|
+
reminder: z.ZodObject<{
|
|
4228
|
+
defaultLeadMs: z.ZodNumber;
|
|
4229
|
+
minLeadMs: z.ZodNumber;
|
|
4230
|
+
maxLeadMs: z.ZodNumber;
|
|
4231
|
+
}, "strip", z.ZodTypeAny, {
|
|
4232
|
+
defaultLeadMs: number;
|
|
4233
|
+
minLeadMs: number;
|
|
4234
|
+
maxLeadMs: number;
|
|
4235
|
+
}, {
|
|
4236
|
+
defaultLeadMs: number;
|
|
4237
|
+
minLeadMs: number;
|
|
4238
|
+
maxLeadMs: number;
|
|
4239
|
+
}>;
|
|
4204
4240
|
}, "strip", z.ZodTypeAny, {
|
|
4205
4241
|
stages: {
|
|
4206
4242
|
id: string;
|
|
@@ -4208,6 +4244,11 @@ declare const ShredUDispatchRulesSchema: z.ZodObject<{
|
|
|
4208
4244
|
leadMs: number;
|
|
4209
4245
|
transport: TransportType;
|
|
4210
4246
|
}[];
|
|
4247
|
+
reminder: {
|
|
4248
|
+
defaultLeadMs: number;
|
|
4249
|
+
minLeadMs: number;
|
|
4250
|
+
maxLeadMs: number;
|
|
4251
|
+
};
|
|
4211
4252
|
}, {
|
|
4212
4253
|
stages: {
|
|
4213
4254
|
id: string;
|
|
@@ -4215,9 +4256,15 @@ declare const ShredUDispatchRulesSchema: z.ZodObject<{
|
|
|
4215
4256
|
leadMs: number;
|
|
4216
4257
|
transport: TransportType;
|
|
4217
4258
|
}[];
|
|
4259
|
+
reminder: {
|
|
4260
|
+
defaultLeadMs: number;
|
|
4261
|
+
minLeadMs: number;
|
|
4262
|
+
maxLeadMs: number;
|
|
4263
|
+
};
|
|
4218
4264
|
}>;
|
|
4219
4265
|
type SessionAsset = z.infer<typeof SessionAssetSchema>;
|
|
4220
4266
|
type ShredUStageRule = z.infer<typeof ShredUStageRuleSchema>;
|
|
4267
|
+
type ShredUReminderBounds = z.infer<typeof ShredUReminderBoundsSchema>;
|
|
4221
4268
|
type ShredUDispatchRules = z.infer<typeof ShredUDispatchRulesSchema>;
|
|
4222
4269
|
type Brief = z.infer<typeof ShredUBriefSchema>;
|
|
4223
4270
|
type ShredUSessionStatus = z.infer<typeof ShredUSessionStatusSchema>;
|
|
@@ -4305,6 +4352,8 @@ declare const index$4_ShredUBriefSchema: typeof ShredUBriefSchema;
|
|
|
4305
4352
|
type index$4_ShredUDispatchRules = ShredUDispatchRules;
|
|
4306
4353
|
declare const index$4_ShredUDispatchRulesSchema: typeof ShredUDispatchRulesSchema;
|
|
4307
4354
|
declare const index$4_ShredUJoinSchema: typeof ShredUJoinSchema;
|
|
4355
|
+
type index$4_ShredUReminderBounds = ShredUReminderBounds;
|
|
4356
|
+
declare const index$4_ShredUReminderBoundsSchema: typeof ShredUReminderBoundsSchema;
|
|
4308
4357
|
type index$4_ShredUSessionCustomer = ShredUSessionCustomer;
|
|
4309
4358
|
declare const index$4_ShredUSessionCustomerSchema: typeof ShredUSessionCustomerSchema;
|
|
4310
4359
|
declare const index$4_ShredUSessionSchema: typeof ShredUSessionSchema;
|
|
@@ -4315,7 +4364,7 @@ declare const index$4_ShredUStageRuleSchema: typeof ShredUStageRuleSchema;
|
|
|
4315
4364
|
type index$4_Update = Update;
|
|
4316
4365
|
declare const index$4_UpdateShredUSessionSchema: typeof UpdateShredUSessionSchema;
|
|
4317
4366
|
declare namespace index$4 {
|
|
4318
|
-
export { type index$4_Brief as Brief, type index$4_Create as Create, index$4_CreateShredUBriefSchema as CreateShredUBriefSchema, index$4_CreateShredUSessionSchema as CreateShredUSessionSchema, Endpoints$2 as Endpoints, type ShredUSession as Entity, type IAPI$2 as IAPI, type index$4_Join as Join, type index$4_PreviewEmail as PreviewEmail, index$4_PreviewShredUEmailSchema as PreviewShredUEmailSchema, type index$4_SessionAsset as SessionAsset, index$4_SessionAssetSchema as SessionAssetSchema, type index$4_SetRecording as SetRecording, index$4_SetShredUSessionRecordingSchema as SetShredUSessionRecordingSchema, index$4_ShredUBriefSchema as ShredUBriefSchema, type index$4_ShredUDispatchRules as ShredUDispatchRules, index$4_ShredUDispatchRulesSchema as ShredUDispatchRulesSchema, index$4_ShredUJoinSchema as ShredUJoinSchema, type index$4_ShredUSessionCustomer as ShredUSessionCustomer, index$4_ShredUSessionCustomerSchema as ShredUSessionCustomerSchema, index$4_ShredUSessionSchema as ShredUSessionSchema, type index$4_ShredUSessionStatus as ShredUSessionStatus, index$4_ShredUSessionStatusSchema as ShredUSessionStatusSchema, type index$4_ShredUStageRule as ShredUStageRule, index$4_ShredUStageRuleSchema as ShredUStageRuleSchema, type index$4_Update as Update, index$4_UpdateShredUSessionSchema as UpdateShredUSessionSchema };
|
|
4367
|
+
export { type index$4_Brief as Brief, type index$4_Create as Create, index$4_CreateShredUBriefSchema as CreateShredUBriefSchema, index$4_CreateShredUSessionSchema as CreateShredUSessionSchema, Endpoints$2 as Endpoints, type ShredUSession as Entity, type IAPI$2 as IAPI, type index$4_Join as Join, type index$4_PreviewEmail as PreviewEmail, index$4_PreviewShredUEmailSchema as PreviewShredUEmailSchema, type index$4_SessionAsset as SessionAsset, index$4_SessionAssetSchema as SessionAssetSchema, type index$4_SetRecording as SetRecording, index$4_SetShredUSessionRecordingSchema as SetShredUSessionRecordingSchema, index$4_ShredUBriefSchema as ShredUBriefSchema, type index$4_ShredUDispatchRules as ShredUDispatchRules, index$4_ShredUDispatchRulesSchema as ShredUDispatchRulesSchema, index$4_ShredUJoinSchema as ShredUJoinSchema, type index$4_ShredUReminderBounds as ShredUReminderBounds, index$4_ShredUReminderBoundsSchema as ShredUReminderBoundsSchema, type index$4_ShredUSessionCustomer as ShredUSessionCustomer, index$4_ShredUSessionCustomerSchema as ShredUSessionCustomerSchema, index$4_ShredUSessionSchema as ShredUSessionSchema, type index$4_ShredUSessionStatus as ShredUSessionStatus, index$4_ShredUSessionStatusSchema as ShredUSessionStatusSchema, type index$4_ShredUStageRule as ShredUStageRule, index$4_ShredUStageRuleSchema as ShredUStageRuleSchema, type index$4_Update as Update, index$4_UpdateShredUSessionSchema as UpdateShredUSessionSchema };
|
|
4319
4368
|
}
|
|
4320
4369
|
|
|
4321
4370
|
/** The metrics served today. The list grows, so it never gates parsing — see ScoreMetricSchema. */
|
package/dist/index.js
CHANGED
|
@@ -6150,13 +6150,16 @@ var ShredUSessionSchema = external_exports.object({
|
|
|
6150
6150
|
recordingDurationSeconds: external_exports.number().optional(),
|
|
6151
6151
|
assets: external_exports.array(SessionAssetSchema).optional(),
|
|
6152
6152
|
tenantIds: external_exports.array(external_exports.string()),
|
|
6153
|
-
timezone: external_exports.string()
|
|
6153
|
+
timezone: external_exports.string(),
|
|
6154
|
+
reminderLeadMs: external_exports.number().optional()
|
|
6154
6155
|
});
|
|
6155
6156
|
var ShredUSessionCustomerSchema = ShredUSessionSchema.omit({
|
|
6156
6157
|
zoomUrl: true,
|
|
6157
6158
|
tenantIds: true,
|
|
6158
|
-
timezone: true
|
|
6159
|
+
timezone: true,
|
|
6160
|
+
reminderLeadMs: true
|
|
6159
6161
|
});
|
|
6162
|
+
var ReminderLeadSchema = external_exports.number().int().nonnegative();
|
|
6160
6163
|
var CreateShredUBriefSchema = external_exports.object({
|
|
6161
6164
|
hook: external_exports.string().min(1),
|
|
6162
6165
|
intro: external_exports.array(external_exports.string().min(1)),
|
|
@@ -6172,7 +6175,8 @@ var CreateShredUSessionSchema = external_exports.object({
|
|
|
6172
6175
|
zoomUrl: external_exports.string().url(),
|
|
6173
6176
|
assets: external_exports.array(SessionAssetSchema).optional(),
|
|
6174
6177
|
tenantIds: external_exports.array(external_exports.string().min(1)),
|
|
6175
|
-
timezone: external_exports.string().min(1)
|
|
6178
|
+
timezone: external_exports.string().min(1),
|
|
6179
|
+
reminderLeadMs: ReminderLeadSchema.optional()
|
|
6176
6180
|
});
|
|
6177
6181
|
var UpdateShredUSessionSchema = external_exports.object({
|
|
6178
6182
|
topic: external_exports.string().min(1).optional(),
|
|
@@ -6183,7 +6187,8 @@ var UpdateShredUSessionSchema = external_exports.object({
|
|
|
6183
6187
|
zoomUrl: external_exports.string().url().optional(),
|
|
6184
6188
|
assets: external_exports.array(SessionAssetSchema).optional(),
|
|
6185
6189
|
tenantIds: external_exports.array(external_exports.string().min(1)).optional(),
|
|
6186
|
-
timezone: external_exports.string().min(1).optional()
|
|
6190
|
+
timezone: external_exports.string().min(1).optional(),
|
|
6191
|
+
reminderLeadMs: ReminderLeadSchema.optional()
|
|
6187
6192
|
});
|
|
6188
6193
|
var PreviewShredUEmailSchema = external_exports.object({
|
|
6189
6194
|
sessionId: external_exports.string().min(1).optional(),
|
|
@@ -6208,9 +6213,15 @@ var ShredUStageRuleSchema = external_exports.object({
|
|
|
6208
6213
|
leadMs: external_exports.number(),
|
|
6209
6214
|
transport: external_exports.nativeEnum(TransportType)
|
|
6210
6215
|
});
|
|
6216
|
+
var ShredUReminderBoundsSchema = external_exports.object({
|
|
6217
|
+
defaultLeadMs: external_exports.number(),
|
|
6218
|
+
minLeadMs: external_exports.number(),
|
|
6219
|
+
maxLeadMs: external_exports.number()
|
|
6220
|
+
});
|
|
6211
6221
|
var ShredUDispatchRulesSchema = external_exports.object({
|
|
6212
6222
|
/** Furthest ahead first, the order they fire in. */
|
|
6213
|
-
stages: external_exports.array(ShredUStageRuleSchema)
|
|
6223
|
+
stages: external_exports.array(ShredUStageRuleSchema),
|
|
6224
|
+
reminder: ShredUReminderBoundsSchema
|
|
6214
6225
|
});
|
|
6215
6226
|
|
|
6216
6227
|
// src/api/ShredU.api.ts
|
|
@@ -7134,6 +7145,7 @@ __export(shredu_exports, {
|
|
|
7134
7145
|
ShredUBriefSchema: () => ShredUBriefSchema,
|
|
7135
7146
|
ShredUDispatchRulesSchema: () => ShredUDispatchRulesSchema,
|
|
7136
7147
|
ShredUJoinSchema: () => ShredUJoinSchema,
|
|
7148
|
+
ShredUReminderBoundsSchema: () => ShredUReminderBoundsSchema,
|
|
7137
7149
|
ShredUSessionCustomerSchema: () => ShredUSessionCustomerSchema,
|
|
7138
7150
|
ShredUSessionSchema: () => ShredUSessionSchema,
|
|
7139
7151
|
ShredUSessionStatusSchema: () => ShredUSessionStatusSchema,
|