@mestra-dev/contract 0.0.243 → 0.0.245

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +126 -99
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -584,7 +584,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
584
584
  discountType: "fixed" | "percent";
585
585
  fixedKopecks?: number | undefined;
586
586
  percent?: number | undefined;
587
- expiresAt?: unknown;
587
+ expiresAt?: string | number | undefined;
588
588
  maxRedemptions?: number | undefined;
589
589
  };
590
590
  };
@@ -601,7 +601,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
601
601
  discountType: "fixed" | "percent";
602
602
  fixedKopecks?: number | undefined;
603
603
  percent?: number | undefined;
604
- expiresAt?: unknown;
604
+ expiresAt?: string | number | undefined;
605
605
  maxRedemptions?: number | undefined;
606
606
  };
607
607
  };
@@ -641,7 +641,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
641
641
  discountType: "fixed" | "percent";
642
642
  fixedKopecks?: number | undefined;
643
643
  percent?: number | undefined;
644
- expiresAt?: unknown;
644
+ expiresAt?: string | number | undefined;
645
645
  maxRedemptions?: number | undefined;
646
646
  };
647
647
  };
@@ -659,7 +659,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
659
659
  input: {
660
660
  json: {
661
661
  active?: boolean | undefined;
662
- expiresAt?: unknown;
662
+ expiresAt?: string | number | null | undefined;
663
663
  maxRedemptions?: number | null | undefined;
664
664
  };
665
665
  } & {
@@ -677,7 +677,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
677
677
  input: {
678
678
  json: {
679
679
  active?: boolean | undefined;
680
- expiresAt?: unknown;
680
+ expiresAt?: string | number | null | undefined;
681
681
  maxRedemptions?: number | null | undefined;
682
682
  };
683
683
  } & {
@@ -718,7 +718,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
718
718
  input: {
719
719
  json: {
720
720
  active?: boolean | undefined;
721
- expiresAt?: unknown;
721
+ expiresAt?: string | number | null | undefined;
722
722
  maxRedemptions?: number | null | undefined;
723
723
  };
724
724
  } & {
@@ -3582,7 +3582,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3582
3582
  serviceId: string;
3583
3583
  SellerFinanceAccountId: string;
3584
3584
  customerId: string;
3585
- date: unknown;
3585
+ date: string | number;
3586
3586
  language: "ru" | "en";
3587
3587
  currency: "USD" | "EUR" | "RUB";
3588
3588
  vatOption: "vat_included" | "vat_excluded";
@@ -3598,8 +3598,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
3598
3598
  fullPayment?: boolean | undefined;
3599
3599
  installment?: boolean | undefined;
3600
3600
  subscription?: boolean | undefined;
3601
- subscriptionStartDate?: unknown;
3602
- subscriptionEndDate?: unknown;
3601
+ subscriptionStartDate?: string | number | undefined;
3602
+ subscriptionEndDate?: string | number | undefined;
3603
3603
  paymentMethod?: string | undefined;
3604
3604
  };
3605
3605
  };
@@ -3617,7 +3617,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3617
3617
  serviceId: string;
3618
3618
  SellerFinanceAccountId: string;
3619
3619
  customerId: string;
3620
- date: unknown;
3620
+ date: string | number;
3621
3621
  language: "ru" | "en";
3622
3622
  currency: "USD" | "EUR" | "RUB";
3623
3623
  vatOption: "vat_included" | "vat_excluded";
@@ -3633,8 +3633,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
3633
3633
  fullPayment?: boolean | undefined;
3634
3634
  installment?: boolean | undefined;
3635
3635
  subscription?: boolean | undefined;
3636
- subscriptionStartDate?: unknown;
3637
- subscriptionEndDate?: unknown;
3636
+ subscriptionStartDate?: string | number | undefined;
3637
+ subscriptionEndDate?: string | number | undefined;
3638
3638
  paymentMethod?: string | undefined;
3639
3639
  };
3640
3640
  };
@@ -3652,7 +3652,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3652
3652
  serviceId: string;
3653
3653
  SellerFinanceAccountId: string;
3654
3654
  customerId: string;
3655
- date: unknown;
3655
+ date: string | number;
3656
3656
  language: "ru" | "en";
3657
3657
  currency: "USD" | "EUR" | "RUB";
3658
3658
  vatOption: "vat_included" | "vat_excluded";
@@ -3668,8 +3668,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
3668
3668
  fullPayment?: boolean | undefined;
3669
3669
  installment?: boolean | undefined;
3670
3670
  subscription?: boolean | undefined;
3671
- subscriptionStartDate?: unknown;
3672
- subscriptionEndDate?: unknown;
3671
+ subscriptionStartDate?: string | number | undefined;
3672
+ subscriptionEndDate?: string | number | undefined;
3673
3673
  paymentMethod?: string | undefined;
3674
3674
  };
3675
3675
  };
@@ -3842,7 +3842,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3842
3842
  serviceId?: string | undefined;
3843
3843
  SellerFinanceAccountId?: string | undefined;
3844
3844
  customerId?: string | undefined;
3845
- date?: unknown;
3845
+ date?: string | number | undefined;
3846
3846
  language?: "ru" | "en" | undefined;
3847
3847
  currency?: "USD" | "EUR" | "RUB" | undefined;
3848
3848
  vatOption?: "vat_included" | "vat_excluded" | undefined;
@@ -3858,8 +3858,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
3858
3858
  fullPayment?: boolean | undefined;
3859
3859
  installment?: boolean | undefined;
3860
3860
  subscription?: boolean | undefined;
3861
- subscriptionStartDate?: unknown;
3862
- subscriptionEndDate?: unknown;
3861
+ subscriptionStartDate?: string | number | undefined;
3862
+ subscriptionEndDate?: string | number | undefined;
3863
3863
  paymentMethod?: string | undefined;
3864
3864
  };
3865
3865
  };
@@ -3878,7 +3878,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3878
3878
  serviceId?: string | undefined;
3879
3879
  SellerFinanceAccountId?: string | undefined;
3880
3880
  customerId?: string | undefined;
3881
- date?: unknown;
3881
+ date?: string | number | undefined;
3882
3882
  language?: "ru" | "en" | undefined;
3883
3883
  currency?: "USD" | "EUR" | "RUB" | undefined;
3884
3884
  vatOption?: "vat_included" | "vat_excluded" | undefined;
@@ -3894,8 +3894,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
3894
3894
  fullPayment?: boolean | undefined;
3895
3895
  installment?: boolean | undefined;
3896
3896
  subscription?: boolean | undefined;
3897
- subscriptionStartDate?: unknown;
3898
- subscriptionEndDate?: unknown;
3897
+ subscriptionStartDate?: string | number | undefined;
3898
+ subscriptionEndDate?: string | number | undefined;
3899
3899
  paymentMethod?: string | undefined;
3900
3900
  };
3901
3901
  };
@@ -3991,7 +3991,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3991
3991
  customerId: string;
3992
3992
  serviceId: string;
3993
3993
  notes?: string | undefined;
3994
- date: unknown;
3994
+ date: string | number;
3995
3995
  };
3996
3996
  };
3997
3997
  output: {
@@ -4007,7 +4007,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4007
4007
  customerId: string;
4008
4008
  serviceId: string;
4009
4009
  notes?: string | undefined;
4010
- date: unknown;
4010
+ date: string | number;
4011
4011
  };
4012
4012
  };
4013
4013
  output: {
@@ -4023,7 +4023,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4023
4023
  customerId: string;
4024
4024
  serviceId: string;
4025
4025
  notes?: string | undefined;
4026
- date: unknown;
4026
+ date: string | number;
4027
4027
  };
4028
4028
  };
4029
4029
  output: {
@@ -4122,7 +4122,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4122
4122
  customerId?: string | undefined;
4123
4123
  serviceId?: string | undefined;
4124
4124
  notes?: string | undefined;
4125
- date?: unknown;
4125
+ date?: string | number | undefined;
4126
4126
  };
4127
4127
  };
4128
4128
  output: {
@@ -4139,7 +4139,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4139
4139
  customerId?: string | undefined;
4140
4140
  serviceId?: string | undefined;
4141
4141
  notes?: string | undefined;
4142
- date?: unknown;
4142
+ date?: string | number | undefined;
4143
4143
  };
4144
4144
  };
4145
4145
  output: {
@@ -4156,7 +4156,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4156
4156
  customerId?: string | undefined;
4157
4157
  serviceId?: string | undefined;
4158
4158
  notes?: string | undefined;
4159
- date?: unknown;
4159
+ date?: string | number | undefined;
4160
4160
  };
4161
4161
  };
4162
4162
  output: {
@@ -4281,8 +4281,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4281
4281
  collaboratorId: string;
4282
4282
  taskId: string;
4283
4283
  workspace: string;
4284
- startDate?: unknown;
4285
- endDate?: unknown;
4284
+ startDate?: string | number | undefined;
4285
+ endDate?: string | number | undefined;
4286
4286
  description?: string | undefined;
4287
4287
  };
4288
4288
  };
@@ -4298,8 +4298,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4298
4298
  collaboratorId: string;
4299
4299
  taskId: string;
4300
4300
  workspace: string;
4301
- startDate?: unknown;
4302
- endDate?: unknown;
4301
+ startDate?: string | number | undefined;
4302
+ endDate?: string | number | undefined;
4303
4303
  description?: string | undefined;
4304
4304
  };
4305
4305
  };
@@ -4315,8 +4315,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4315
4315
  collaboratorId: string;
4316
4316
  taskId: string;
4317
4317
  workspace: string;
4318
- startDate?: unknown;
4319
- endDate?: unknown;
4318
+ startDate?: string | number | undefined;
4319
+ endDate?: string | number | undefined;
4320
4320
  description?: string | undefined;
4321
4321
  };
4322
4322
  };
@@ -4381,8 +4381,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4381
4381
  workspace: string;
4382
4382
  taskId: string;
4383
4383
  collaboratorId: string;
4384
- startDate?: unknown;
4385
- endDate?: unknown;
4384
+ startDate?: string | number | null | undefined;
4385
+ endDate?: string | number | null | undefined;
4386
4386
  description?: string | undefined;
4387
4387
  };
4388
4388
  };
@@ -4398,8 +4398,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4398
4398
  workspace: string;
4399
4399
  taskId: string;
4400
4400
  collaboratorId: string;
4401
- startDate?: unknown;
4402
- endDate?: unknown;
4401
+ startDate?: string | number | null | undefined;
4402
+ endDate?: string | number | null | undefined;
4403
4403
  description?: string | undefined;
4404
4404
  };
4405
4405
  };
@@ -4415,8 +4415,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4415
4415
  workspace: string;
4416
4416
  taskId: string;
4417
4417
  collaboratorId: string;
4418
- startDate?: unknown;
4419
- endDate?: unknown;
4418
+ startDate?: string | number | null | undefined;
4419
+ endDate?: string | number | null | undefined;
4420
4420
  description?: string | undefined;
4421
4421
  };
4422
4422
  };
@@ -5182,8 +5182,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
5182
5182
  workspace: string;
5183
5183
  title: string;
5184
5184
  description?: string | undefined;
5185
- startDate: unknown;
5186
- endDate: unknown;
5185
+ startDate: string | number;
5186
+ endDate: string | number;
5187
5187
  type?: "event" | "conference" | "booking" | "meeting" | undefined;
5188
5188
  timeZone: string;
5189
5189
  attendees?: {
@@ -5208,8 +5208,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
5208
5208
  workspace: string;
5209
5209
  title: string;
5210
5210
  description?: string | undefined;
5211
- startDate: unknown;
5212
- endDate: unknown;
5211
+ startDate: string | number;
5212
+ endDate: string | number;
5213
5213
  type?: "event" | "conference" | "booking" | "meeting" | undefined;
5214
5214
  timeZone: string;
5215
5215
  attendees?: {
@@ -7955,8 +7955,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
7955
7955
  method: "email" | "popup";
7956
7956
  minutes: number;
7957
7957
  }[] | undefined;
7958
- startDate?: unknown;
7959
- endDate?: unknown;
7958
+ startDate?: string | number | undefined;
7959
+ endDate?: string | number | undefined;
7960
7960
  timeZone?: string | undefined;
7961
7961
  };
7962
7962
  };
@@ -7982,8 +7982,35 @@ declare const routes: import("hono/hono-base").HonoBase<{
7982
7982
  method: "email" | "popup";
7983
7983
  minutes: number;
7984
7984
  }[] | undefined;
7985
- startDate?: unknown;
7986
- endDate?: unknown;
7985
+ startDate?: string | number | undefined;
7986
+ endDate?: string | number | undefined;
7987
+ timeZone?: string | undefined;
7988
+ };
7989
+ };
7990
+ output: {
7991
+ success: false;
7992
+ error: string;
7993
+ };
7994
+ outputFormat: "json";
7995
+ status: 400;
7996
+ } | {
7997
+ input: {
7998
+ json: {
7999
+ eventId: string;
8000
+ workspace: string;
8001
+ title?: string | undefined;
8002
+ description?: string | undefined;
8003
+ type?: "event" | "conference" | "booking" | "meeting" | undefined;
8004
+ attendees?: {
8005
+ email: string;
8006
+ }[] | undefined;
8007
+ conferenceData?: boolean | undefined;
8008
+ reminders?: {
8009
+ method: "email" | "popup";
8010
+ minutes: number;
8011
+ }[] | undefined;
8012
+ startDate?: string | number | undefined;
8013
+ endDate?: string | number | undefined;
7987
8014
  timeZone?: string | undefined;
7988
8015
  };
7989
8016
  };
@@ -10089,8 +10116,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10089
10116
  $get: {
10090
10117
  input: {
10091
10118
  query: {
10092
- from?: string | string[] | undefined;
10093
- to?: string | string[] | undefined;
10119
+ from?: string | number | undefined;
10120
+ to?: string | number | undefined;
10094
10121
  };
10095
10122
  } & {
10096
10123
  param: {
@@ -10106,8 +10133,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10106
10133
  } | {
10107
10134
  input: {
10108
10135
  query: {
10109
- from?: string | string[] | undefined;
10110
- to?: string | string[] | undefined;
10136
+ from?: string | number | undefined;
10137
+ to?: string | number | undefined;
10111
10138
  };
10112
10139
  } & {
10113
10140
  param: {
@@ -10123,8 +10150,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10123
10150
  } | {
10124
10151
  input: {
10125
10152
  query: {
10126
- from?: string | string[] | undefined;
10127
- to?: string | string[] | undefined;
10153
+ from?: string | number | undefined;
10154
+ to?: string | number | undefined;
10128
10155
  };
10129
10156
  } & {
10130
10157
  param: {
@@ -10158,8 +10185,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10158
10185
  $get: {
10159
10186
  input: {
10160
10187
  query: {
10161
- from?: string | string[] | undefined;
10162
- to?: string | string[] | undefined;
10188
+ from?: string | number | undefined;
10189
+ to?: string | number | undefined;
10163
10190
  };
10164
10191
  } & {
10165
10192
  param: {
@@ -10175,8 +10202,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10175
10202
  } | {
10176
10203
  input: {
10177
10204
  query: {
10178
- from?: string | string[] | undefined;
10179
- to?: string | string[] | undefined;
10205
+ from?: string | number | undefined;
10206
+ to?: string | number | undefined;
10180
10207
  };
10181
10208
  } & {
10182
10209
  param: {
@@ -10192,8 +10219,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10192
10219
  } | {
10193
10220
  input: {
10194
10221
  query: {
10195
- from?: string | string[] | undefined;
10196
- to?: string | string[] | undefined;
10222
+ from?: string | number | undefined;
10223
+ to?: string | number | undefined;
10197
10224
  };
10198
10225
  } & {
10199
10226
  param: {
@@ -10239,8 +10266,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10239
10266
  $get: {
10240
10267
  input: {
10241
10268
  query: {
10242
- from?: string | string[] | undefined;
10243
- to?: string | string[] | undefined;
10269
+ from?: string | number | undefined;
10270
+ to?: string | number | undefined;
10244
10271
  };
10245
10272
  } & {
10246
10273
  param: {
@@ -10256,8 +10283,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10256
10283
  } | {
10257
10284
  input: {
10258
10285
  query: {
10259
- from?: string | string[] | undefined;
10260
- to?: string | string[] | undefined;
10286
+ from?: string | number | undefined;
10287
+ to?: string | number | undefined;
10261
10288
  };
10262
10289
  } & {
10263
10290
  param: {
@@ -10273,8 +10300,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10273
10300
  } | {
10274
10301
  input: {
10275
10302
  query: {
10276
- from?: string | string[] | undefined;
10277
- to?: string | string[] | undefined;
10303
+ from?: string | number | undefined;
10304
+ to?: string | number | undefined;
10278
10305
  };
10279
10306
  } & {
10280
10307
  param: {
@@ -10303,8 +10330,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10303
10330
  $get: {
10304
10331
  input: {
10305
10332
  query: {
10306
- from?: string | string[] | undefined;
10307
- to?: string | string[] | undefined;
10333
+ from?: string | number | undefined;
10334
+ to?: string | number | undefined;
10308
10335
  };
10309
10336
  } & {
10310
10337
  param: {
@@ -10320,8 +10347,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10320
10347
  } | {
10321
10348
  input: {
10322
10349
  query: {
10323
- from?: string | string[] | undefined;
10324
- to?: string | string[] | undefined;
10350
+ from?: string | number | undefined;
10351
+ to?: string | number | undefined;
10325
10352
  };
10326
10353
  } & {
10327
10354
  param: {
@@ -10337,8 +10364,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10337
10364
  } | {
10338
10365
  input: {
10339
10366
  query: {
10340
- from?: string | string[] | undefined;
10341
- to?: string | string[] | undefined;
10367
+ from?: string | number | undefined;
10368
+ to?: string | number | undefined;
10342
10369
  };
10343
10370
  } & {
10344
10371
  param: {
@@ -10366,8 +10393,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10366
10393
  $get: {
10367
10394
  input: {
10368
10395
  query: {
10369
- from?: string | string[] | undefined;
10370
- to?: string | string[] | undefined;
10396
+ from?: string | number | undefined;
10397
+ to?: string | number | undefined;
10371
10398
  };
10372
10399
  } & {
10373
10400
  param: {
@@ -10383,8 +10410,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10383
10410
  } | {
10384
10411
  input: {
10385
10412
  query: {
10386
- from?: string | string[] | undefined;
10387
- to?: string | string[] | undefined;
10413
+ from?: string | number | undefined;
10414
+ to?: string | number | undefined;
10388
10415
  };
10389
10416
  } & {
10390
10417
  param: {
@@ -10400,8 +10427,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10400
10427
  } | {
10401
10428
  input: {
10402
10429
  query: {
10403
- from?: string | string[] | undefined;
10404
- to?: string | string[] | undefined;
10430
+ from?: string | number | undefined;
10431
+ to?: string | number | undefined;
10405
10432
  };
10406
10433
  } & {
10407
10434
  param: {
@@ -10437,8 +10464,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10437
10464
  $get: {
10438
10465
  input: {
10439
10466
  query: {
10440
- from?: string | string[] | undefined;
10441
- to?: string | string[] | undefined;
10467
+ from?: string | number | undefined;
10468
+ to?: string | number | undefined;
10442
10469
  };
10443
10470
  } & {
10444
10471
  param: {
@@ -10454,8 +10481,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10454
10481
  } | {
10455
10482
  input: {
10456
10483
  query: {
10457
- from?: string | string[] | undefined;
10458
- to?: string | string[] | undefined;
10484
+ from?: string | number | undefined;
10485
+ to?: string | number | undefined;
10459
10486
  };
10460
10487
  } & {
10461
10488
  param: {
@@ -10471,8 +10498,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10471
10498
  } | {
10472
10499
  input: {
10473
10500
  query: {
10474
- from?: string | string[] | undefined;
10475
- to?: string | string[] | undefined;
10501
+ from?: string | number | undefined;
10502
+ to?: string | number | undefined;
10476
10503
  };
10477
10504
  } & {
10478
10505
  param: {
@@ -10506,8 +10533,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10506
10533
  $get: {
10507
10534
  input: {
10508
10535
  query: {
10509
- from?: string | string[] | undefined;
10510
- to?: string | string[] | undefined;
10536
+ from?: string | number | undefined;
10537
+ to?: string | number | undefined;
10511
10538
  };
10512
10539
  } & {
10513
10540
  param: {
@@ -10523,8 +10550,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10523
10550
  } | {
10524
10551
  input: {
10525
10552
  query: {
10526
- from?: string | string[] | undefined;
10527
- to?: string | string[] | undefined;
10553
+ from?: string | number | undefined;
10554
+ to?: string | number | undefined;
10528
10555
  };
10529
10556
  } & {
10530
10557
  param: {
@@ -10540,8 +10567,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10540
10567
  } | {
10541
10568
  input: {
10542
10569
  query: {
10543
- from?: string | string[] | undefined;
10544
- to?: string | string[] | undefined;
10570
+ from?: string | number | undefined;
10571
+ to?: string | number | undefined;
10545
10572
  };
10546
10573
  } & {
10547
10574
  param: {
@@ -10574,8 +10601,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10574
10601
  $get: {
10575
10602
  input: {
10576
10603
  query: {
10577
- from?: string | string[] | undefined;
10578
- to?: string | string[] | undefined;
10604
+ from?: string | number | undefined;
10605
+ to?: string | number | undefined;
10579
10606
  };
10580
10607
  } & {
10581
10608
  param: {
@@ -10591,8 +10618,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10591
10618
  } | {
10592
10619
  input: {
10593
10620
  query: {
10594
- from?: string | string[] | undefined;
10595
- to?: string | string[] | undefined;
10621
+ from?: string | number | undefined;
10622
+ to?: string | number | undefined;
10596
10623
  };
10597
10624
  } & {
10598
10625
  param: {
@@ -10608,8 +10635,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10608
10635
  } | {
10609
10636
  input: {
10610
10637
  query: {
10611
- from?: string | string[] | undefined;
10612
- to?: string | string[] | undefined;
10638
+ from?: string | number | undefined;
10639
+ to?: string | number | undefined;
10613
10640
  };
10614
10641
  } & {
10615
10642
  param: {
@@ -11114,7 +11141,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11114
11141
  paymentMethod?: string | undefined;
11115
11142
  amount: unknown;
11116
11143
  description?: string | undefined;
11117
- date?: unknown;
11144
+ date?: string | number | undefined;
11118
11145
  vat?: number | undefined;
11119
11146
  reason?: string | undefined;
11120
11147
  };
@@ -11137,7 +11164,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11137
11164
  paymentMethod?: string | undefined;
11138
11165
  amount: unknown;
11139
11166
  description?: string | undefined;
11140
- date?: unknown;
11167
+ date?: string | number | undefined;
11141
11168
  vat?: number | undefined;
11142
11169
  reason?: string | undefined;
11143
11170
  };
@@ -11182,7 +11209,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11182
11209
  paymentMethod?: string | undefined;
11183
11210
  amount?: unknown;
11184
11211
  description?: string | undefined;
11185
- date?: unknown;
11212
+ date?: string | number | undefined;
11186
11213
  vat?: number | undefined;
11187
11214
  reason?: string | undefined;
11188
11215
  };
@@ -11206,7 +11233,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11206
11233
  paymentMethod?: string | undefined;
11207
11234
  amount?: unknown;
11208
11235
  description?: string | undefined;
11209
- date?: unknown;
11236
+ date?: string | number | undefined;
11210
11237
  vat?: number | undefined;
11211
11238
  reason?: string | undefined;
11212
11239
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.243",
3
+ "version": "0.0.245",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,