@mestra-dev/contract 0.0.242 → 0.0.244

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 +148 -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
  } & {
@@ -1113,6 +1113,28 @@ declare const routes: import("hono/hono-base").HonoBase<{
1113
1113
  status: 200;
1114
1114
  };
1115
1115
  };
1116
+ } & {
1117
+ "/invite/:workspace/:token/status": {
1118
+ $get: {
1119
+ input: {
1120
+ param: {
1121
+ workspace: string;
1122
+ token: string;
1123
+ };
1124
+ };
1125
+ output: {
1126
+ status: "valid";
1127
+ email: string;
1128
+ forCurrentUser: boolean;
1129
+ success: true;
1130
+ } | {
1131
+ status: "expired" | "canceled" | "accepted" | "not_found";
1132
+ success: true;
1133
+ };
1134
+ outputFormat: "json";
1135
+ status: 200;
1136
+ };
1137
+ };
1116
1138
  } & {
1117
1139
  "/invite/:workspace/:token": {
1118
1140
  $get: {
@@ -3560,7 +3582,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3560
3582
  serviceId: string;
3561
3583
  SellerFinanceAccountId: string;
3562
3584
  customerId: string;
3563
- date: unknown;
3585
+ date: string | number;
3564
3586
  language: "ru" | "en";
3565
3587
  currency: "USD" | "EUR" | "RUB";
3566
3588
  vatOption: "vat_included" | "vat_excluded";
@@ -3576,8 +3598,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
3576
3598
  fullPayment?: boolean | undefined;
3577
3599
  installment?: boolean | undefined;
3578
3600
  subscription?: boolean | undefined;
3579
- subscriptionStartDate?: unknown;
3580
- subscriptionEndDate?: unknown;
3601
+ subscriptionStartDate?: string | number | undefined;
3602
+ subscriptionEndDate?: string | number | undefined;
3581
3603
  paymentMethod?: string | undefined;
3582
3604
  };
3583
3605
  };
@@ -3595,7 +3617,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3595
3617
  serviceId: string;
3596
3618
  SellerFinanceAccountId: string;
3597
3619
  customerId: string;
3598
- date: unknown;
3620
+ date: string | number;
3599
3621
  language: "ru" | "en";
3600
3622
  currency: "USD" | "EUR" | "RUB";
3601
3623
  vatOption: "vat_included" | "vat_excluded";
@@ -3611,8 +3633,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
3611
3633
  fullPayment?: boolean | undefined;
3612
3634
  installment?: boolean | undefined;
3613
3635
  subscription?: boolean | undefined;
3614
- subscriptionStartDate?: unknown;
3615
- subscriptionEndDate?: unknown;
3636
+ subscriptionStartDate?: string | number | undefined;
3637
+ subscriptionEndDate?: string | number | undefined;
3616
3638
  paymentMethod?: string | undefined;
3617
3639
  };
3618
3640
  };
@@ -3630,7 +3652,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3630
3652
  serviceId: string;
3631
3653
  SellerFinanceAccountId: string;
3632
3654
  customerId: string;
3633
- date: unknown;
3655
+ date: string | number;
3634
3656
  language: "ru" | "en";
3635
3657
  currency: "USD" | "EUR" | "RUB";
3636
3658
  vatOption: "vat_included" | "vat_excluded";
@@ -3646,8 +3668,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
3646
3668
  fullPayment?: boolean | undefined;
3647
3669
  installment?: boolean | undefined;
3648
3670
  subscription?: boolean | undefined;
3649
- subscriptionStartDate?: unknown;
3650
- subscriptionEndDate?: unknown;
3671
+ subscriptionStartDate?: string | number | undefined;
3672
+ subscriptionEndDate?: string | number | undefined;
3651
3673
  paymentMethod?: string | undefined;
3652
3674
  };
3653
3675
  };
@@ -3820,7 +3842,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3820
3842
  serviceId?: string | undefined;
3821
3843
  SellerFinanceAccountId?: string | undefined;
3822
3844
  customerId?: string | undefined;
3823
- date?: unknown;
3845
+ date?: string | number | undefined;
3824
3846
  language?: "ru" | "en" | undefined;
3825
3847
  currency?: "USD" | "EUR" | "RUB" | undefined;
3826
3848
  vatOption?: "vat_included" | "vat_excluded" | undefined;
@@ -3836,8 +3858,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
3836
3858
  fullPayment?: boolean | undefined;
3837
3859
  installment?: boolean | undefined;
3838
3860
  subscription?: boolean | undefined;
3839
- subscriptionStartDate?: unknown;
3840
- subscriptionEndDate?: unknown;
3861
+ subscriptionStartDate?: string | number | undefined;
3862
+ subscriptionEndDate?: string | number | undefined;
3841
3863
  paymentMethod?: string | undefined;
3842
3864
  };
3843
3865
  };
@@ -3856,7 +3878,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3856
3878
  serviceId?: string | undefined;
3857
3879
  SellerFinanceAccountId?: string | undefined;
3858
3880
  customerId?: string | undefined;
3859
- date?: unknown;
3881
+ date?: string | number | undefined;
3860
3882
  language?: "ru" | "en" | undefined;
3861
3883
  currency?: "USD" | "EUR" | "RUB" | undefined;
3862
3884
  vatOption?: "vat_included" | "vat_excluded" | undefined;
@@ -3872,8 +3894,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
3872
3894
  fullPayment?: boolean | undefined;
3873
3895
  installment?: boolean | undefined;
3874
3896
  subscription?: boolean | undefined;
3875
- subscriptionStartDate?: unknown;
3876
- subscriptionEndDate?: unknown;
3897
+ subscriptionStartDate?: string | number | undefined;
3898
+ subscriptionEndDate?: string | number | undefined;
3877
3899
  paymentMethod?: string | undefined;
3878
3900
  };
3879
3901
  };
@@ -3969,7 +3991,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3969
3991
  customerId: string;
3970
3992
  serviceId: string;
3971
3993
  notes?: string | undefined;
3972
- date: unknown;
3994
+ date: string | number;
3973
3995
  };
3974
3996
  };
3975
3997
  output: {
@@ -3985,7 +4007,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3985
4007
  customerId: string;
3986
4008
  serviceId: string;
3987
4009
  notes?: string | undefined;
3988
- date: unknown;
4010
+ date: string | number;
3989
4011
  };
3990
4012
  };
3991
4013
  output: {
@@ -4001,7 +4023,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4001
4023
  customerId: string;
4002
4024
  serviceId: string;
4003
4025
  notes?: string | undefined;
4004
- date: unknown;
4026
+ date: string | number;
4005
4027
  };
4006
4028
  };
4007
4029
  output: {
@@ -4100,7 +4122,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4100
4122
  customerId?: string | undefined;
4101
4123
  serviceId?: string | undefined;
4102
4124
  notes?: string | undefined;
4103
- date?: unknown;
4125
+ date?: string | number | undefined;
4104
4126
  };
4105
4127
  };
4106
4128
  output: {
@@ -4117,7 +4139,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4117
4139
  customerId?: string | undefined;
4118
4140
  serviceId?: string | undefined;
4119
4141
  notes?: string | undefined;
4120
- date?: unknown;
4142
+ date?: string | number | undefined;
4121
4143
  };
4122
4144
  };
4123
4145
  output: {
@@ -4134,7 +4156,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4134
4156
  customerId?: string | undefined;
4135
4157
  serviceId?: string | undefined;
4136
4158
  notes?: string | undefined;
4137
- date?: unknown;
4159
+ date?: string | number | undefined;
4138
4160
  };
4139
4161
  };
4140
4162
  output: {
@@ -4259,8 +4281,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4259
4281
  collaboratorId: string;
4260
4282
  taskId: string;
4261
4283
  workspace: string;
4262
- startDate?: unknown;
4263
- endDate?: unknown;
4284
+ startDate?: string | number | undefined;
4285
+ endDate?: string | number | undefined;
4264
4286
  description?: string | undefined;
4265
4287
  };
4266
4288
  };
@@ -4276,8 +4298,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4276
4298
  collaboratorId: string;
4277
4299
  taskId: string;
4278
4300
  workspace: string;
4279
- startDate?: unknown;
4280
- endDate?: unknown;
4301
+ startDate?: string | number | undefined;
4302
+ endDate?: string | number | undefined;
4281
4303
  description?: string | undefined;
4282
4304
  };
4283
4305
  };
@@ -4293,8 +4315,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4293
4315
  collaboratorId: string;
4294
4316
  taskId: string;
4295
4317
  workspace: string;
4296
- startDate?: unknown;
4297
- endDate?: unknown;
4318
+ startDate?: string | number | undefined;
4319
+ endDate?: string | number | undefined;
4298
4320
  description?: string | undefined;
4299
4321
  };
4300
4322
  };
@@ -4359,8 +4381,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4359
4381
  workspace: string;
4360
4382
  taskId: string;
4361
4383
  collaboratorId: string;
4362
- startDate?: unknown;
4363
- endDate?: unknown;
4384
+ startDate?: string | number | null | undefined;
4385
+ endDate?: string | number | null | undefined;
4364
4386
  description?: string | undefined;
4365
4387
  };
4366
4388
  };
@@ -4376,8 +4398,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4376
4398
  workspace: string;
4377
4399
  taskId: string;
4378
4400
  collaboratorId: string;
4379
- startDate?: unknown;
4380
- endDate?: unknown;
4401
+ startDate?: string | number | null | undefined;
4402
+ endDate?: string | number | null | undefined;
4381
4403
  description?: string | undefined;
4382
4404
  };
4383
4405
  };
@@ -4393,8 +4415,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
4393
4415
  workspace: string;
4394
4416
  taskId: string;
4395
4417
  collaboratorId: string;
4396
- startDate?: unknown;
4397
- endDate?: unknown;
4418
+ startDate?: string | number | null | undefined;
4419
+ endDate?: string | number | null | undefined;
4398
4420
  description?: string | undefined;
4399
4421
  };
4400
4422
  };
@@ -5160,8 +5182,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
5160
5182
  workspace: string;
5161
5183
  title: string;
5162
5184
  description?: string | undefined;
5163
- startDate: unknown;
5164
- endDate: unknown;
5185
+ startDate: string | number;
5186
+ endDate: string | number;
5165
5187
  type?: "event" | "conference" | "booking" | "meeting" | undefined;
5166
5188
  timeZone: string;
5167
5189
  attendees?: {
@@ -5186,8 +5208,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
5186
5208
  workspace: string;
5187
5209
  title: string;
5188
5210
  description?: string | undefined;
5189
- startDate: unknown;
5190
- endDate: unknown;
5211
+ startDate: string | number;
5212
+ endDate: string | number;
5191
5213
  type?: "event" | "conference" | "booking" | "meeting" | undefined;
5192
5214
  timeZone: string;
5193
5215
  attendees?: {
@@ -7933,8 +7955,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
7933
7955
  method: "email" | "popup";
7934
7956
  minutes: number;
7935
7957
  }[] | undefined;
7936
- startDate?: unknown;
7937
- endDate?: unknown;
7958
+ startDate?: string | number | undefined;
7959
+ endDate?: string | number | undefined;
7938
7960
  timeZone?: string | undefined;
7939
7961
  };
7940
7962
  };
@@ -7960,8 +7982,35 @@ declare const routes: import("hono/hono-base").HonoBase<{
7960
7982
  method: "email" | "popup";
7961
7983
  minutes: number;
7962
7984
  }[] | undefined;
7963
- startDate?: unknown;
7964
- 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;
7965
8014
  timeZone?: string | undefined;
7966
8015
  };
7967
8016
  };
@@ -10067,8 +10116,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10067
10116
  $get: {
10068
10117
  input: {
10069
10118
  query: {
10070
- from?: string | string[] | undefined;
10071
- to?: string | string[] | undefined;
10119
+ from?: string | number | undefined;
10120
+ to?: string | number | undefined;
10072
10121
  };
10073
10122
  } & {
10074
10123
  param: {
@@ -10084,8 +10133,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10084
10133
  } | {
10085
10134
  input: {
10086
10135
  query: {
10087
- from?: string | string[] | undefined;
10088
- to?: string | string[] | undefined;
10136
+ from?: string | number | undefined;
10137
+ to?: string | number | undefined;
10089
10138
  };
10090
10139
  } & {
10091
10140
  param: {
@@ -10101,8 +10150,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10101
10150
  } | {
10102
10151
  input: {
10103
10152
  query: {
10104
- from?: string | string[] | undefined;
10105
- to?: string | string[] | undefined;
10153
+ from?: string | number | undefined;
10154
+ to?: string | number | undefined;
10106
10155
  };
10107
10156
  } & {
10108
10157
  param: {
@@ -10136,8 +10185,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10136
10185
  $get: {
10137
10186
  input: {
10138
10187
  query: {
10139
- from?: string | string[] | undefined;
10140
- to?: string | string[] | undefined;
10188
+ from?: string | number | undefined;
10189
+ to?: string | number | undefined;
10141
10190
  };
10142
10191
  } & {
10143
10192
  param: {
@@ -10153,8 +10202,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10153
10202
  } | {
10154
10203
  input: {
10155
10204
  query: {
10156
- from?: string | string[] | undefined;
10157
- to?: string | string[] | undefined;
10205
+ from?: string | number | undefined;
10206
+ to?: string | number | undefined;
10158
10207
  };
10159
10208
  } & {
10160
10209
  param: {
@@ -10170,8 +10219,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10170
10219
  } | {
10171
10220
  input: {
10172
10221
  query: {
10173
- from?: string | string[] | undefined;
10174
- to?: string | string[] | undefined;
10222
+ from?: string | number | undefined;
10223
+ to?: string | number | undefined;
10175
10224
  };
10176
10225
  } & {
10177
10226
  param: {
@@ -10217,8 +10266,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10217
10266
  $get: {
10218
10267
  input: {
10219
10268
  query: {
10220
- from?: string | string[] | undefined;
10221
- to?: string | string[] | undefined;
10269
+ from?: string | number | undefined;
10270
+ to?: string | number | undefined;
10222
10271
  };
10223
10272
  } & {
10224
10273
  param: {
@@ -10234,8 +10283,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10234
10283
  } | {
10235
10284
  input: {
10236
10285
  query: {
10237
- from?: string | string[] | undefined;
10238
- to?: string | string[] | undefined;
10286
+ from?: string | number | undefined;
10287
+ to?: string | number | undefined;
10239
10288
  };
10240
10289
  } & {
10241
10290
  param: {
@@ -10251,8 +10300,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10251
10300
  } | {
10252
10301
  input: {
10253
10302
  query: {
10254
- from?: string | string[] | undefined;
10255
- to?: string | string[] | undefined;
10303
+ from?: string | number | undefined;
10304
+ to?: string | number | undefined;
10256
10305
  };
10257
10306
  } & {
10258
10307
  param: {
@@ -10281,8 +10330,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10281
10330
  $get: {
10282
10331
  input: {
10283
10332
  query: {
10284
- from?: string | string[] | undefined;
10285
- to?: string | string[] | undefined;
10333
+ from?: string | number | undefined;
10334
+ to?: string | number | undefined;
10286
10335
  };
10287
10336
  } & {
10288
10337
  param: {
@@ -10298,8 +10347,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10298
10347
  } | {
10299
10348
  input: {
10300
10349
  query: {
10301
- from?: string | string[] | undefined;
10302
- to?: string | string[] | undefined;
10350
+ from?: string | number | undefined;
10351
+ to?: string | number | undefined;
10303
10352
  };
10304
10353
  } & {
10305
10354
  param: {
@@ -10315,8 +10364,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10315
10364
  } | {
10316
10365
  input: {
10317
10366
  query: {
10318
- from?: string | string[] | undefined;
10319
- to?: string | string[] | undefined;
10367
+ from?: string | number | undefined;
10368
+ to?: string | number | undefined;
10320
10369
  };
10321
10370
  } & {
10322
10371
  param: {
@@ -10344,8 +10393,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10344
10393
  $get: {
10345
10394
  input: {
10346
10395
  query: {
10347
- from?: string | string[] | undefined;
10348
- to?: string | string[] | undefined;
10396
+ from?: string | number | undefined;
10397
+ to?: string | number | undefined;
10349
10398
  };
10350
10399
  } & {
10351
10400
  param: {
@@ -10361,8 +10410,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10361
10410
  } | {
10362
10411
  input: {
10363
10412
  query: {
10364
- from?: string | string[] | undefined;
10365
- to?: string | string[] | undefined;
10413
+ from?: string | number | undefined;
10414
+ to?: string | number | undefined;
10366
10415
  };
10367
10416
  } & {
10368
10417
  param: {
@@ -10378,8 +10427,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10378
10427
  } | {
10379
10428
  input: {
10380
10429
  query: {
10381
- from?: string | string[] | undefined;
10382
- to?: string | string[] | undefined;
10430
+ from?: string | number | undefined;
10431
+ to?: string | number | undefined;
10383
10432
  };
10384
10433
  } & {
10385
10434
  param: {
@@ -10415,8 +10464,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10415
10464
  $get: {
10416
10465
  input: {
10417
10466
  query: {
10418
- from?: string | string[] | undefined;
10419
- to?: string | string[] | undefined;
10467
+ from?: string | number | undefined;
10468
+ to?: string | number | undefined;
10420
10469
  };
10421
10470
  } & {
10422
10471
  param: {
@@ -10432,8 +10481,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10432
10481
  } | {
10433
10482
  input: {
10434
10483
  query: {
10435
- from?: string | string[] | undefined;
10436
- to?: string | string[] | undefined;
10484
+ from?: string | number | undefined;
10485
+ to?: string | number | undefined;
10437
10486
  };
10438
10487
  } & {
10439
10488
  param: {
@@ -10449,8 +10498,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10449
10498
  } | {
10450
10499
  input: {
10451
10500
  query: {
10452
- from?: string | string[] | undefined;
10453
- to?: string | string[] | undefined;
10501
+ from?: string | number | undefined;
10502
+ to?: string | number | undefined;
10454
10503
  };
10455
10504
  } & {
10456
10505
  param: {
@@ -10484,8 +10533,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10484
10533
  $get: {
10485
10534
  input: {
10486
10535
  query: {
10487
- from?: string | string[] | undefined;
10488
- to?: string | string[] | undefined;
10536
+ from?: string | number | undefined;
10537
+ to?: string | number | undefined;
10489
10538
  };
10490
10539
  } & {
10491
10540
  param: {
@@ -10501,8 +10550,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10501
10550
  } | {
10502
10551
  input: {
10503
10552
  query: {
10504
- from?: string | string[] | undefined;
10505
- to?: string | string[] | undefined;
10553
+ from?: string | number | undefined;
10554
+ to?: string | number | undefined;
10506
10555
  };
10507
10556
  } & {
10508
10557
  param: {
@@ -10518,8 +10567,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10518
10567
  } | {
10519
10568
  input: {
10520
10569
  query: {
10521
- from?: string | string[] | undefined;
10522
- to?: string | string[] | undefined;
10570
+ from?: string | number | undefined;
10571
+ to?: string | number | undefined;
10523
10572
  };
10524
10573
  } & {
10525
10574
  param: {
@@ -10552,8 +10601,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10552
10601
  $get: {
10553
10602
  input: {
10554
10603
  query: {
10555
- from?: string | string[] | undefined;
10556
- to?: string | string[] | undefined;
10604
+ from?: string | number | undefined;
10605
+ to?: string | number | undefined;
10557
10606
  };
10558
10607
  } & {
10559
10608
  param: {
@@ -10569,8 +10618,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10569
10618
  } | {
10570
10619
  input: {
10571
10620
  query: {
10572
- from?: string | string[] | undefined;
10573
- to?: string | string[] | undefined;
10621
+ from?: string | number | undefined;
10622
+ to?: string | number | undefined;
10574
10623
  };
10575
10624
  } & {
10576
10625
  param: {
@@ -10586,8 +10635,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10586
10635
  } | {
10587
10636
  input: {
10588
10637
  query: {
10589
- from?: string | string[] | undefined;
10590
- to?: string | string[] | undefined;
10638
+ from?: string | number | undefined;
10639
+ to?: string | number | undefined;
10591
10640
  };
10592
10641
  } & {
10593
10642
  param: {
@@ -11092,7 +11141,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11092
11141
  paymentMethod?: string | undefined;
11093
11142
  amount: unknown;
11094
11143
  description?: string | undefined;
11095
- date?: unknown;
11144
+ date?: string | number | undefined;
11096
11145
  vat?: number | undefined;
11097
11146
  reason?: string | undefined;
11098
11147
  };
@@ -11115,7 +11164,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11115
11164
  paymentMethod?: string | undefined;
11116
11165
  amount: unknown;
11117
11166
  description?: string | undefined;
11118
- date?: unknown;
11167
+ date?: string | number | undefined;
11119
11168
  vat?: number | undefined;
11120
11169
  reason?: string | undefined;
11121
11170
  };
@@ -11160,7 +11209,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11160
11209
  paymentMethod?: string | undefined;
11161
11210
  amount?: unknown;
11162
11211
  description?: string | undefined;
11163
- date?: unknown;
11212
+ date?: string | number | undefined;
11164
11213
  vat?: number | undefined;
11165
11214
  reason?: string | undefined;
11166
11215
  };
@@ -11184,7 +11233,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11184
11233
  paymentMethod?: string | undefined;
11185
11234
  amount?: unknown;
11186
11235
  description?: string | undefined;
11187
- date?: unknown;
11236
+ date?: string | number | undefined;
11188
11237
  vat?: number | undefined;
11189
11238
  reason?: string | undefined;
11190
11239
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.242",
3
+ "version": "0.0.244",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,