lancer-shared 1.2.189 → 1.2.190

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.
@@ -619,10 +619,6 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
619
619
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
620
620
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
621
621
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
622
- sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
623
- sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
624
- sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
625
- sleepTimezone: z.ZodNullable<z.ZodString>;
626
622
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
627
623
  expenses: z.ZodObject<{
628
624
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -678,13 +674,50 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
678
674
  }>>;
679
675
  organizationProfileId: z.ZodNullable<z.ZodString>;
680
676
  lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
681
- limits: z.ZodNullable<z.ZodObject<{
682
- maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
677
+ limits: z.ZodObject<{
678
+ maxDailyProposalsSent: z.ZodNumber;
679
+ enabled: z.ZodBoolean;
680
+ windowAnchorAt: z.ZodNullable<z.ZodNumber>;
683
681
  }, "strip", z.ZodTypeAny, {
684
- maxDailyProposalsSent: number | null;
682
+ maxDailyProposalsSent: number;
683
+ enabled: boolean;
684
+ windowAnchorAt: number | null;
685
685
  }, {
686
- maxDailyProposalsSent: number | null;
687
- }>>;
686
+ maxDailyProposalsSent: number;
687
+ enabled: boolean;
688
+ windowAnchorAt: number | null;
689
+ }>;
690
+ workTime: z.ZodObject<{
691
+ enabled: z.ZodBoolean;
692
+ days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
693
+ timeBlocks: z.ZodArray<z.ZodObject<{
694
+ fromHour: z.ZodNumber;
695
+ toHour: z.ZodNumber;
696
+ }, "strip", z.ZodTypeAny, {
697
+ fromHour: number;
698
+ toHour: number;
699
+ }, {
700
+ fromHour: number;
701
+ toHour: number;
702
+ }>, "many">;
703
+ timezone: z.ZodNullable<z.ZodString>;
704
+ }, "strip", z.ZodTypeAny, {
705
+ enabled: boolean;
706
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
707
+ timeBlocks: {
708
+ fromHour: number;
709
+ toHour: number;
710
+ }[];
711
+ timezone: string | null;
712
+ }, {
713
+ enabled: boolean;
714
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
715
+ timeBlocks: {
716
+ fromHour: number;
717
+ toHour: number;
718
+ }[];
719
+ timezone: string | null;
720
+ }>;
688
721
  }, "id" | "name">, "strip", z.ZodTypeAny, {
689
722
  id: string;
690
723
  name: string;
@@ -1190,10 +1223,6 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1190
1223
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
1191
1224
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
1192
1225
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
1193
- sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1194
- sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1195
- sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1196
- sleepTimezone: z.ZodNullable<z.ZodString>;
1197
1226
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
1198
1227
  expenses: z.ZodObject<{
1199
1228
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -1249,13 +1278,50 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
1249
1278
  }>>;
1250
1279
  organizationProfileId: z.ZodNullable<z.ZodString>;
1251
1280
  lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
1252
- limits: z.ZodNullable<z.ZodObject<{
1253
- maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
1281
+ limits: z.ZodObject<{
1282
+ maxDailyProposalsSent: z.ZodNumber;
1283
+ enabled: z.ZodBoolean;
1284
+ windowAnchorAt: z.ZodNullable<z.ZodNumber>;
1254
1285
  }, "strip", z.ZodTypeAny, {
1255
- maxDailyProposalsSent: number | null;
1286
+ maxDailyProposalsSent: number;
1287
+ enabled: boolean;
1288
+ windowAnchorAt: number | null;
1256
1289
  }, {
1257
- maxDailyProposalsSent: number | null;
1258
- }>>;
1290
+ maxDailyProposalsSent: number;
1291
+ enabled: boolean;
1292
+ windowAnchorAt: number | null;
1293
+ }>;
1294
+ workTime: z.ZodObject<{
1295
+ enabled: z.ZodBoolean;
1296
+ days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
1297
+ timeBlocks: z.ZodArray<z.ZodObject<{
1298
+ fromHour: z.ZodNumber;
1299
+ toHour: z.ZodNumber;
1300
+ }, "strip", z.ZodTypeAny, {
1301
+ fromHour: number;
1302
+ toHour: number;
1303
+ }, {
1304
+ fromHour: number;
1305
+ toHour: number;
1306
+ }>, "many">;
1307
+ timezone: z.ZodNullable<z.ZodString>;
1308
+ }, "strip", z.ZodTypeAny, {
1309
+ enabled: boolean;
1310
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1311
+ timeBlocks: {
1312
+ fromHour: number;
1313
+ toHour: number;
1314
+ }[];
1315
+ timezone: string | null;
1316
+ }, {
1317
+ enabled: boolean;
1318
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
1319
+ timeBlocks: {
1320
+ fromHour: number;
1321
+ toHour: number;
1322
+ }[];
1323
+ timezone: string | null;
1324
+ }>;
1259
1325
  }, "id" | "name">, "strip", z.ZodTypeAny, {
1260
1326
  id: string;
1261
1327
  name: string;
@@ -2113,10 +2179,6 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2113
2179
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
2114
2180
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
2115
2181
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
2116
- sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
2117
- sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2118
- sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2119
- sleepTimezone: z.ZodNullable<z.ZodString>;
2120
2182
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
2121
2183
  expenses: z.ZodObject<{
2122
2184
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -2172,13 +2234,50 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
2172
2234
  }>>;
2173
2235
  organizationProfileId: z.ZodNullable<z.ZodString>;
2174
2236
  lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
2175
- limits: z.ZodNullable<z.ZodObject<{
2176
- maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
2237
+ limits: z.ZodObject<{
2238
+ maxDailyProposalsSent: z.ZodNumber;
2239
+ enabled: z.ZodBoolean;
2240
+ windowAnchorAt: z.ZodNullable<z.ZodNumber>;
2177
2241
  }, "strip", z.ZodTypeAny, {
2178
- maxDailyProposalsSent: number | null;
2242
+ maxDailyProposalsSent: number;
2243
+ enabled: boolean;
2244
+ windowAnchorAt: number | null;
2179
2245
  }, {
2180
- maxDailyProposalsSent: number | null;
2181
- }>>;
2246
+ maxDailyProposalsSent: number;
2247
+ enabled: boolean;
2248
+ windowAnchorAt: number | null;
2249
+ }>;
2250
+ workTime: z.ZodObject<{
2251
+ enabled: z.ZodBoolean;
2252
+ days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
2253
+ timeBlocks: z.ZodArray<z.ZodObject<{
2254
+ fromHour: z.ZodNumber;
2255
+ toHour: z.ZodNumber;
2256
+ }, "strip", z.ZodTypeAny, {
2257
+ fromHour: number;
2258
+ toHour: number;
2259
+ }, {
2260
+ fromHour: number;
2261
+ toHour: number;
2262
+ }>, "many">;
2263
+ timezone: z.ZodNullable<z.ZodString>;
2264
+ }, "strip", z.ZodTypeAny, {
2265
+ enabled: boolean;
2266
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
2267
+ timeBlocks: {
2268
+ fromHour: number;
2269
+ toHour: number;
2270
+ }[];
2271
+ timezone: string | null;
2272
+ }, {
2273
+ enabled: boolean;
2274
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
2275
+ timeBlocks: {
2276
+ fromHour: number;
2277
+ toHour: number;
2278
+ }[];
2279
+ timezone: string | null;
2280
+ }>;
2182
2281
  }, "id" | "name">, "strip", z.ZodTypeAny, {
2183
2282
  id: string;
2184
2283
  name: string;
@@ -3036,10 +3135,6 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3036
3135
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
3037
3136
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
3038
3137
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
3039
- sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
3040
- sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3041
- sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3042
- sleepTimezone: z.ZodNullable<z.ZodString>;
3043
3138
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
3044
3139
  expenses: z.ZodObject<{
3045
3140
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -3095,13 +3190,50 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
3095
3190
  }>>;
3096
3191
  organizationProfileId: z.ZodNullable<z.ZodString>;
3097
3192
  lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
3098
- limits: z.ZodNullable<z.ZodObject<{
3099
- maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
3193
+ limits: z.ZodObject<{
3194
+ maxDailyProposalsSent: z.ZodNumber;
3195
+ enabled: z.ZodBoolean;
3196
+ windowAnchorAt: z.ZodNullable<z.ZodNumber>;
3100
3197
  }, "strip", z.ZodTypeAny, {
3101
- maxDailyProposalsSent: number | null;
3198
+ maxDailyProposalsSent: number;
3199
+ enabled: boolean;
3200
+ windowAnchorAt: number | null;
3102
3201
  }, {
3103
- maxDailyProposalsSent: number | null;
3104
- }>>;
3202
+ maxDailyProposalsSent: number;
3203
+ enabled: boolean;
3204
+ windowAnchorAt: number | null;
3205
+ }>;
3206
+ workTime: z.ZodObject<{
3207
+ enabled: z.ZodBoolean;
3208
+ days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
3209
+ timeBlocks: z.ZodArray<z.ZodObject<{
3210
+ fromHour: z.ZodNumber;
3211
+ toHour: z.ZodNumber;
3212
+ }, "strip", z.ZodTypeAny, {
3213
+ fromHour: number;
3214
+ toHour: number;
3215
+ }, {
3216
+ fromHour: number;
3217
+ toHour: number;
3218
+ }>, "many">;
3219
+ timezone: z.ZodNullable<z.ZodString>;
3220
+ }, "strip", z.ZodTypeAny, {
3221
+ enabled: boolean;
3222
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
3223
+ timeBlocks: {
3224
+ fromHour: number;
3225
+ toHour: number;
3226
+ }[];
3227
+ timezone: string | null;
3228
+ }, {
3229
+ enabled: boolean;
3230
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
3231
+ timeBlocks: {
3232
+ fromHour: number;
3233
+ toHour: number;
3234
+ }[];
3235
+ timezone: string | null;
3236
+ }>;
3105
3237
  }, "id" | "name">, "strip", z.ZodTypeAny, {
3106
3238
  id: string;
3107
3239
  name: string;
@@ -3956,10 +4088,6 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
3956
4088
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
3957
4089
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
3958
4090
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
3959
- sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
3960
- sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3961
- sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3962
- sleepTimezone: z.ZodNullable<z.ZodString>;
3963
4091
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
3964
4092
  expenses: z.ZodObject<{
3965
4093
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -4015,13 +4143,50 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4015
4143
  }>>;
4016
4144
  organizationProfileId: z.ZodNullable<z.ZodString>;
4017
4145
  lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
4018
- limits: z.ZodNullable<z.ZodObject<{
4019
- maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
4146
+ limits: z.ZodObject<{
4147
+ maxDailyProposalsSent: z.ZodNumber;
4148
+ enabled: z.ZodBoolean;
4149
+ windowAnchorAt: z.ZodNullable<z.ZodNumber>;
4020
4150
  }, "strip", z.ZodTypeAny, {
4021
- maxDailyProposalsSent: number | null;
4151
+ maxDailyProposalsSent: number;
4152
+ enabled: boolean;
4153
+ windowAnchorAt: number | null;
4022
4154
  }, {
4023
- maxDailyProposalsSent: number | null;
4024
- }>>;
4155
+ maxDailyProposalsSent: number;
4156
+ enabled: boolean;
4157
+ windowAnchorAt: number | null;
4158
+ }>;
4159
+ workTime: z.ZodObject<{
4160
+ enabled: z.ZodBoolean;
4161
+ days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
4162
+ timeBlocks: z.ZodArray<z.ZodObject<{
4163
+ fromHour: z.ZodNumber;
4164
+ toHour: z.ZodNumber;
4165
+ }, "strip", z.ZodTypeAny, {
4166
+ fromHour: number;
4167
+ toHour: number;
4168
+ }, {
4169
+ fromHour: number;
4170
+ toHour: number;
4171
+ }>, "many">;
4172
+ timezone: z.ZodNullable<z.ZodString>;
4173
+ }, "strip", z.ZodTypeAny, {
4174
+ enabled: boolean;
4175
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
4176
+ timeBlocks: {
4177
+ fromHour: number;
4178
+ toHour: number;
4179
+ }[];
4180
+ timezone: string | null;
4181
+ }, {
4182
+ enabled: boolean;
4183
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
4184
+ timeBlocks: {
4185
+ fromHour: number;
4186
+ toHour: number;
4187
+ }[];
4188
+ timezone: string | null;
4189
+ }>;
4025
4190
  }, "id" | "name">, "strip", z.ZodTypeAny, {
4026
4191
  id: string;
4027
4192
  name: string;
@@ -4526,10 +4691,6 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4526
4691
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
4527
4692
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
4528
4693
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
4529
- sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
4530
- sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4531
- sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
4532
- sleepTimezone: z.ZodNullable<z.ZodString>;
4533
4694
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
4534
4695
  expenses: z.ZodObject<{
4535
4696
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -4585,13 +4746,50 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
4585
4746
  }>>;
4586
4747
  organizationProfileId: z.ZodNullable<z.ZodString>;
4587
4748
  lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
4588
- limits: z.ZodNullable<z.ZodObject<{
4589
- maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
4749
+ limits: z.ZodObject<{
4750
+ maxDailyProposalsSent: z.ZodNumber;
4751
+ enabled: z.ZodBoolean;
4752
+ windowAnchorAt: z.ZodNullable<z.ZodNumber>;
4590
4753
  }, "strip", z.ZodTypeAny, {
4591
- maxDailyProposalsSent: number | null;
4754
+ maxDailyProposalsSent: number;
4755
+ enabled: boolean;
4756
+ windowAnchorAt: number | null;
4592
4757
  }, {
4593
- maxDailyProposalsSent: number | null;
4594
- }>>;
4758
+ maxDailyProposalsSent: number;
4759
+ enabled: boolean;
4760
+ windowAnchorAt: number | null;
4761
+ }>;
4762
+ workTime: z.ZodObject<{
4763
+ enabled: z.ZodBoolean;
4764
+ days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
4765
+ timeBlocks: z.ZodArray<z.ZodObject<{
4766
+ fromHour: z.ZodNumber;
4767
+ toHour: z.ZodNumber;
4768
+ }, "strip", z.ZodTypeAny, {
4769
+ fromHour: number;
4770
+ toHour: number;
4771
+ }, {
4772
+ fromHour: number;
4773
+ toHour: number;
4774
+ }>, "many">;
4775
+ timezone: z.ZodNullable<z.ZodString>;
4776
+ }, "strip", z.ZodTypeAny, {
4777
+ enabled: boolean;
4778
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
4779
+ timeBlocks: {
4780
+ fromHour: number;
4781
+ toHour: number;
4782
+ }[];
4783
+ timezone: string | null;
4784
+ }, {
4785
+ enabled: boolean;
4786
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
4787
+ timeBlocks: {
4788
+ fromHour: number;
4789
+ toHour: number;
4790
+ }[];
4791
+ timezone: string | null;
4792
+ }>;
4595
4793
  }, "id" | "name">, "strip", z.ZodTypeAny, {
4596
4794
  id: string;
4597
4795
  name: string;
@@ -5448,10 +5646,6 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5448
5646
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
5449
5647
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
5450
5648
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
5451
- sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
5452
- sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5453
- sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
5454
- sleepTimezone: z.ZodNullable<z.ZodString>;
5455
5649
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
5456
5650
  expenses: z.ZodObject<{
5457
5651
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -5507,13 +5701,50 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
5507
5701
  }>>;
5508
5702
  organizationProfileId: z.ZodNullable<z.ZodString>;
5509
5703
  lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
5510
- limits: z.ZodNullable<z.ZodObject<{
5511
- maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
5704
+ limits: z.ZodObject<{
5705
+ maxDailyProposalsSent: z.ZodNumber;
5706
+ enabled: z.ZodBoolean;
5707
+ windowAnchorAt: z.ZodNullable<z.ZodNumber>;
5512
5708
  }, "strip", z.ZodTypeAny, {
5513
- maxDailyProposalsSent: number | null;
5709
+ maxDailyProposalsSent: number;
5710
+ enabled: boolean;
5711
+ windowAnchorAt: number | null;
5514
5712
  }, {
5515
- maxDailyProposalsSent: number | null;
5516
- }>>;
5713
+ maxDailyProposalsSent: number;
5714
+ enabled: boolean;
5715
+ windowAnchorAt: number | null;
5716
+ }>;
5717
+ workTime: z.ZodObject<{
5718
+ enabled: z.ZodBoolean;
5719
+ days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
5720
+ timeBlocks: z.ZodArray<z.ZodObject<{
5721
+ fromHour: z.ZodNumber;
5722
+ toHour: z.ZodNumber;
5723
+ }, "strip", z.ZodTypeAny, {
5724
+ fromHour: number;
5725
+ toHour: number;
5726
+ }, {
5727
+ fromHour: number;
5728
+ toHour: number;
5729
+ }>, "many">;
5730
+ timezone: z.ZodNullable<z.ZodString>;
5731
+ }, "strip", z.ZodTypeAny, {
5732
+ enabled: boolean;
5733
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
5734
+ timeBlocks: {
5735
+ fromHour: number;
5736
+ toHour: number;
5737
+ }[];
5738
+ timezone: string | null;
5739
+ }, {
5740
+ enabled: boolean;
5741
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
5742
+ timeBlocks: {
5743
+ fromHour: number;
5744
+ toHour: number;
5745
+ }[];
5746
+ timezone: string | null;
5747
+ }>;
5517
5748
  }, "id" | "name">, "strip", z.ZodTypeAny, {
5518
5749
  id: string;
5519
5750
  name: string;
@@ -6370,10 +6601,6 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6370
6601
  biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
6371
6602
  biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
6372
6603
  bidWithWarning: z.ZodEnum<["bid", "skip"]>;
6373
- sleepEnabled: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
6374
- sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
6375
- sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
6376
- sleepTimezone: z.ZodNullable<z.ZodString>;
6377
6604
  leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "viewed", "replied", "won"]>, z.ZodNumber>>;
6378
6605
  expenses: z.ZodObject<{
6379
6606
  biddingAmount: z.ZodDefault<z.ZodNumber>;
@@ -6429,13 +6656,50 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
6429
6656
  }>>;
6430
6657
  organizationProfileId: z.ZodNullable<z.ZodString>;
6431
6658
  lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
6432
- limits: z.ZodNullable<z.ZodObject<{
6433
- maxDailyProposalsSent: z.ZodNullable<z.ZodNumber>;
6659
+ limits: z.ZodObject<{
6660
+ maxDailyProposalsSent: z.ZodNumber;
6661
+ enabled: z.ZodBoolean;
6662
+ windowAnchorAt: z.ZodNullable<z.ZodNumber>;
6434
6663
  }, "strip", z.ZodTypeAny, {
6435
- maxDailyProposalsSent: number | null;
6664
+ maxDailyProposalsSent: number;
6665
+ enabled: boolean;
6666
+ windowAnchorAt: number | null;
6436
6667
  }, {
6437
- maxDailyProposalsSent: number | null;
6438
- }>>;
6668
+ maxDailyProposalsSent: number;
6669
+ enabled: boolean;
6670
+ windowAnchorAt: number | null;
6671
+ }>;
6672
+ workTime: z.ZodObject<{
6673
+ enabled: z.ZodBoolean;
6674
+ days: z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">;
6675
+ timeBlocks: z.ZodArray<z.ZodObject<{
6676
+ fromHour: z.ZodNumber;
6677
+ toHour: z.ZodNumber;
6678
+ }, "strip", z.ZodTypeAny, {
6679
+ fromHour: number;
6680
+ toHour: number;
6681
+ }, {
6682
+ fromHour: number;
6683
+ toHour: number;
6684
+ }>, "many">;
6685
+ timezone: z.ZodNullable<z.ZodString>;
6686
+ }, "strip", z.ZodTypeAny, {
6687
+ enabled: boolean;
6688
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
6689
+ timeBlocks: {
6690
+ fromHour: number;
6691
+ toHour: number;
6692
+ }[];
6693
+ timezone: string | null;
6694
+ }, {
6695
+ enabled: boolean;
6696
+ days: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[];
6697
+ timeBlocks: {
6698
+ fromHour: number;
6699
+ toHour: number;
6700
+ }[];
6701
+ timezone: string | null;
6702
+ }>;
6439
6703
  }, "id" | "name">, "strip", z.ZodTypeAny, {
6440
6704
  id: string;
6441
6705
  name: string;