@mestra-dev/contract 0.0.201 → 0.0.203

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 (3) hide show
  1. package/README.md +3 -1
  2. package/dist/index.d.ts +176 -959
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3382,6 +3382,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
3382
3382
  readonly type: "string";
3383
3383
  readonly nullable: true;
3384
3384
  };
3385
+ readonly vk: {
3386
+ readonly type: "string";
3387
+ readonly nullable: true;
3388
+ };
3385
3389
  readonly igSynapseId: {
3386
3390
  readonly type: "string";
3387
3391
  readonly nullable: true;
@@ -3397,6 +3401,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
3397
3401
  readonly nullable: true;
3398
3402
  readonly description: "Matrix (Synapse) user identifier for Telegram chat.";
3399
3403
  };
3404
+ readonly vkSynapseId: {
3405
+ readonly type: "string";
3406
+ readonly nullable: true;
3407
+ readonly description: "Matrix (Synapse) user identifier for VK chat.";
3408
+ };
3400
3409
  readonly email: {
3401
3410
  readonly type: "string";
3402
3411
  readonly format: "email";
@@ -5954,16 +5963,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
5954
5963
  };
5955
5964
  };
5956
5965
  };
5957
- readonly 403: {
5958
- readonly description: "Forbidden - Token issuer is not 'access'.";
5959
- readonly content: {
5960
- readonly "application/json": {
5961
- readonly schema: {
5962
- readonly $ref: "#/components/schemas/ErrorResponse";
5963
- };
5964
- };
5965
- };
5966
- };
5967
5966
  readonly 429: {
5968
5967
  readonly description: "Too Many Requests - Rate limit exceeded.";
5969
5968
  readonly content: {
@@ -6038,16 +6037,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
6038
6037
  };
6039
6038
  };
6040
6039
  };
6041
- readonly 403: {
6042
- readonly description: "Forbidden - Token issuer is not 'access'.";
6043
- readonly content: {
6044
- readonly "application/json": {
6045
- readonly schema: {
6046
- readonly $ref: "#/components/schemas/ErrorResponse";
6047
- };
6048
- };
6049
- };
6050
- };
6051
6040
  readonly 429: {
6052
6041
  readonly description: "Too Many Requests - Rate limit exceeded.";
6053
6042
  readonly content: {
@@ -6102,16 +6091,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
6102
6091
  };
6103
6092
  };
6104
6093
  };
6105
- readonly 403: {
6106
- readonly description: "Forbidden - Token issuer is not 'access'.";
6107
- readonly content: {
6108
- readonly "application/json": {
6109
- readonly schema: {
6110
- readonly $ref: "#/components/schemas/ErrorResponse";
6111
- };
6112
- };
6113
- };
6114
- };
6115
6094
  readonly 404: {
6116
6095
  readonly description: "Integration list empty or not found (when applicable).";
6117
6096
  readonly content: {
@@ -6156,16 +6135,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
6156
6135
  };
6157
6136
  };
6158
6137
  };
6159
- readonly 403: {
6160
- readonly description: "Forbidden - Token issuer is not 'access'.";
6161
- readonly content: {
6162
- readonly "application/json": {
6163
- readonly schema: {
6164
- readonly $ref: "#/components/schemas/ErrorResponse";
6165
- };
6166
- };
6167
- };
6168
- };
6169
6138
  readonly 404: {
6170
6139
  readonly description: "Integration not found.";
6171
6140
  readonly content: {
@@ -6642,7 +6611,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6642
6611
  };
6643
6612
  };
6644
6613
  readonly 403: {
6645
- readonly description: "Token issuer is not 'access', collaborator invite not accepted, user lacks crm::calendar resource access, or user lacks write permission for calendar.";
6614
+ readonly description: "Collaborator invite not accepted, user lacks crm::calendar resource access, or user lacks write permission for calendar.";
6646
6615
  readonly content: {
6647
6616
  readonly "application/json": {
6648
6617
  readonly schema: {
@@ -6715,7 +6684,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6715
6684
  };
6716
6685
  };
6717
6686
  };
6718
- readonly 403: {
6687
+ readonly 401: {
6719
6688
  readonly description: "Authorization header was sent but the access token is missing, invalid, or expired.";
6720
6689
  readonly content: {
6721
6690
  readonly "application/json": {
@@ -6796,7 +6765,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6796
6765
  };
6797
6766
  };
6798
6767
  };
6799
- readonly 403: {
6768
+ readonly 401: {
6800
6769
  readonly description: "Authorization header was sent but the access token is missing, invalid, or expired.";
6801
6770
  readonly content: {
6802
6771
  readonly "application/json": {
@@ -6876,7 +6845,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6876
6845
  };
6877
6846
  };
6878
6847
  };
6879
- readonly 403: {
6848
+ readonly 401: {
6880
6849
  readonly description: "Authorization header was sent but the access token is missing, invalid, or expired.";
6881
6850
  readonly content: {
6882
6851
  readonly "application/json": {
@@ -6973,7 +6942,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6973
6942
  };
6974
6943
  };
6975
6944
  };
6976
- readonly 403: {
6945
+ readonly 401: {
6977
6946
  readonly description: "Authorization header was sent but the access token is missing, invalid, or expired.";
6978
6947
  readonly content: {
6979
6948
  readonly "application/json": {
@@ -7053,7 +7022,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7053
7022
  };
7054
7023
  };
7055
7024
  };
7056
- readonly 403: {
7025
+ readonly 401: {
7057
7026
  readonly description: "Authorization header was sent but the access token is missing, invalid, or expired.";
7058
7027
  readonly content: {
7059
7028
  readonly "application/json": {
@@ -7150,7 +7119,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7150
7119
  };
7151
7120
  };
7152
7121
  };
7153
- readonly 403: {
7122
+ readonly 401: {
7154
7123
  readonly description: "Authorization header was sent but the access token is missing, invalid, or expired.";
7155
7124
  readonly content: {
7156
7125
  readonly "application/json": {
@@ -7217,16 +7186,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
7217
7186
  };
7218
7187
  };
7219
7188
  };
7220
- readonly 403: {
7221
- readonly description: "Forbidden - Token issuer is not 'access'.";
7222
- readonly content: {
7223
- readonly "application/json": {
7224
- readonly schema: {
7225
- readonly $ref: "#/components/schemas/ErrorResponse";
7226
- };
7227
- };
7228
- };
7229
- };
7230
7189
  };
7231
7190
  };
7232
7191
  readonly post: {
@@ -7296,16 +7255,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
7296
7255
  };
7297
7256
  };
7298
7257
  };
7299
- readonly 403: {
7300
- readonly description: "Forbidden - Token issuer is not 'access'.";
7301
- readonly content: {
7302
- readonly "application/json": {
7303
- readonly schema: {
7304
- readonly $ref: "#/components/schemas/ErrorResponse";
7305
- };
7306
- };
7307
- };
7308
- };
7309
7258
  };
7310
7259
  };
7311
7260
  };
@@ -7353,16 +7302,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
7353
7302
  };
7354
7303
  };
7355
7304
  };
7356
- readonly 403: {
7357
- readonly description: "Forbidden - Token issuer is not 'refresh' or jti is blocked.";
7358
- readonly content: {
7359
- readonly "application/json": {
7360
- readonly schema: {
7361
- readonly $ref: "#/components/schemas/ErrorResponse";
7362
- };
7363
- };
7364
- };
7365
- };
7366
7305
  };
7367
7306
  };
7368
7307
  };
@@ -7435,16 +7374,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
7435
7374
  };
7436
7375
  };
7437
7376
  };
7438
- readonly 403: {
7439
- readonly description: "Forbidden - Token issuer is not 'access' or token expired.";
7440
- readonly content: {
7441
- readonly "application/json": {
7442
- readonly schema: {
7443
- readonly $ref: "#/components/schemas/ErrorResponse";
7444
- };
7445
- };
7446
- };
7447
- };
7448
7377
  };
7449
7378
  };
7450
7379
  };
@@ -7517,16 +7446,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
7517
7446
  };
7518
7447
  };
7519
7448
  };
7520
- readonly 403: {
7521
- readonly description: "Forbidden - Token issuer is not 'access' or token expired.";
7522
- readonly content: {
7523
- readonly "application/json": {
7524
- readonly schema: {
7525
- readonly $ref: "#/components/schemas/ErrorResponse";
7526
- };
7527
- };
7528
- };
7529
- };
7530
7449
  };
7531
7450
  };
7532
7451
  };
@@ -7621,7 +7540,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7621
7540
  };
7622
7541
  };
7623
7542
  readonly 403: {
7624
- readonly description: "Forbidden - Token issuer is not 'access', or email and phone are not both verified.";
7543
+ readonly description: "Forbidden - Email and phone are not both verified.";
7625
7544
  readonly content: {
7626
7545
  readonly "application/json": {
7627
7546
  readonly schema: {
@@ -7939,16 +7858,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
7939
7858
  };
7940
7859
  };
7941
7860
  };
7942
- readonly 403: {
7943
- readonly description: "Forbidden - Token issuer is not 'access'.";
7944
- readonly content: {
7945
- readonly "application/json": {
7946
- readonly schema: {
7947
- readonly $ref: "#/components/schemas/ErrorResponse";
7948
- };
7949
- };
7950
- };
7951
- };
7952
7861
  };
7953
7862
  };
7954
7863
  };
@@ -8144,7 +8053,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8144
8053
  };
8145
8054
  };
8146
8055
  readonly 403: {
8147
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
8056
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general resource.";
8148
8057
  readonly content: {
8149
8058
  readonly "application/json": {
8150
8059
  readonly schema: {
@@ -8254,7 +8163,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8254
8163
  };
8255
8164
  };
8256
8165
  readonly 403: {
8257
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::general resource.";
8166
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::general resource.";
8258
8167
  readonly content: {
8259
8168
  readonly "application/json": {
8260
8169
  readonly schema: {
@@ -8374,7 +8283,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8374
8283
  };
8375
8284
  };
8376
8285
  readonly 403: {
8377
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
8286
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general resource.";
8378
8287
  readonly content: {
8379
8288
  readonly "application/json": {
8380
8289
  readonly schema: {
@@ -8474,7 +8383,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8474
8383
  };
8475
8384
  };
8476
8385
  readonly 403: {
8477
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
8386
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general resource.";
8478
8387
  readonly content: {
8479
8388
  readonly "application/json": {
8480
8389
  readonly schema: {
@@ -8561,7 +8470,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8561
8470
  };
8562
8471
  };
8563
8472
  readonly 403: {
8564
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or email and phone are not both verified.";
8473
+ readonly description: "Forbidden - User lacks workspace access, or email and phone are not both verified.";
8565
8474
  readonly content: {
8566
8475
  readonly "application/json": {
8567
8476
  readonly schema: {
@@ -8656,7 +8565,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8656
8565
  };
8657
8566
  };
8658
8567
  readonly 403: {
8659
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
8568
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general resource.";
8660
8569
  readonly content: {
8661
8570
  readonly "application/json": {
8662
8571
  readonly schema: {
@@ -8780,7 +8689,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8780
8689
  };
8781
8690
  };
8782
8691
  readonly 403: {
8783
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
8692
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general resource.";
8784
8693
  readonly content: {
8785
8694
  readonly "application/json": {
8786
8695
  readonly schema: {
@@ -8870,7 +8779,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8870
8779
  };
8871
8780
  };
8872
8781
  readonly 403: {
8873
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
8782
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general resource.";
8874
8783
  readonly content: {
8875
8784
  readonly "application/json": {
8876
8785
  readonly schema: {
@@ -8959,7 +8868,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8959
8868
  };
8960
8869
  };
8961
8870
  readonly 403: {
8962
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access or crm::general write, or the workspace is frozen/past-due.";
8871
+ readonly description: "Forbidden - User lacks workspace access or crm::general write, or the workspace is frozen/past-due.";
8963
8872
  readonly content: {
8964
8873
  readonly "application/json": {
8965
8874
  readonly schema: {
@@ -9055,7 +8964,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
9055
8964
  };
9056
8965
  };
9057
8966
  readonly 403: {
9058
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
8967
+ readonly description: "Forbidden - User lacks workspace access.";
9059
8968
  readonly content: {
9060
8969
  readonly "application/json": {
9061
8970
  readonly schema: {
@@ -10009,7 +9918,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10009
9918
  };
10010
9919
  };
10011
9920
  readonly 403: {
10012
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
9921
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
10013
9922
  readonly content: {
10014
9923
  readonly "application/json": {
10015
9924
  readonly schema: {
@@ -10075,7 +9984,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10075
9984
  };
10076
9985
  };
10077
9986
  readonly 403: {
10078
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
9987
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::tasks resource.";
10079
9988
  readonly content: {
10080
9989
  readonly "application/json": {
10081
9990
  readonly schema: {
@@ -10151,7 +10060,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10151
10060
  };
10152
10061
  };
10153
10062
  readonly 403: {
10154
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
10063
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::tasks resource.";
10155
10064
  readonly content: {
10156
10065
  readonly "application/json": {
10157
10066
  readonly schema: {
@@ -10285,7 +10194,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10285
10194
  };
10286
10195
  };
10287
10196
  readonly 403: {
10288
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, user lacks write access to crm::tasks resource, or user is not the creator of the task.";
10197
+ readonly description: "Forbidden - User lacks workspace access, user lacks write access to crm::tasks resource, or user is not the creator of the task.";
10289
10198
  readonly content: {
10290
10199
  readonly "application/json": {
10291
10200
  readonly schema: {
@@ -10385,7 +10294,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10385
10294
  };
10386
10295
  };
10387
10296
  readonly 403: {
10388
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
10297
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
10389
10298
  readonly content: {
10390
10299
  readonly "application/json": {
10391
10300
  readonly schema: {
@@ -10471,7 +10380,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10471
10380
  };
10472
10381
  };
10473
10382
  readonly 403: {
10474
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
10383
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
10475
10384
  readonly content: {
10476
10385
  readonly "application/json": {
10477
10386
  readonly schema: {
@@ -10567,7 +10476,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10567
10476
  };
10568
10477
  };
10569
10478
  readonly 403: {
10570
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
10479
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
10571
10480
  readonly content: {
10572
10481
  readonly "application/json": {
10573
10482
  readonly schema: {
@@ -10661,7 +10570,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10661
10570
  };
10662
10571
  };
10663
10572
  readonly 403: {
10664
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
10573
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
10665
10574
  readonly content: {
10666
10575
  readonly "application/json": {
10667
10576
  readonly schema: {
@@ -10737,7 +10646,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10737
10646
  };
10738
10647
  };
10739
10648
  readonly 403: {
10740
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
10649
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::tasks resource.";
10741
10650
  readonly content: {
10742
10651
  readonly "application/json": {
10743
10652
  readonly schema: {
@@ -10837,7 +10746,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10837
10746
  };
10838
10747
  };
10839
10748
  readonly 403: {
10840
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
10749
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
10841
10750
  readonly content: {
10842
10751
  readonly "application/json": {
10843
10752
  readonly schema: {
@@ -10929,7 +10838,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10929
10838
  };
10930
10839
  };
10931
10840
  readonly 403: {
10932
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
10841
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::tasks resource.";
10933
10842
  readonly content: {
10934
10843
  readonly "application/json": {
10935
10844
  readonly schema: {
@@ -11015,7 +10924,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11015
10924
  };
11016
10925
  };
11017
10926
  readonly 403: {
11018
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
10927
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::tasks resource.";
11019
10928
  readonly content: {
11020
10929
  readonly "application/json": {
11021
10930
  readonly schema: {
@@ -11111,7 +11020,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11111
11020
  };
11112
11021
  };
11113
11022
  readonly 403: {
11114
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
11023
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
11115
11024
  readonly content: {
11116
11025
  readonly "application/json": {
11117
11026
  readonly schema: {
@@ -11212,7 +11121,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11212
11121
  };
11213
11122
  };
11214
11123
  readonly 403: {
11215
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access or read access to crm::tasks resource, or the collaborator is not assigned to the task.";
11124
+ readonly description: "Forbidden - User lacks workspace access or read access to crm::tasks resource, or the collaborator is not assigned to the task.";
11216
11125
  readonly content: {
11217
11126
  readonly "application/json": {
11218
11127
  readonly schema: {
@@ -11400,16 +11309,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
11400
11309
  };
11401
11310
  };
11402
11311
  };
11403
- readonly 403: {
11404
- readonly description: "Forbidden - Token issuer is not 'access'.";
11405
- readonly content: {
11406
- readonly "application/json": {
11407
- readonly schema: {
11408
- readonly $ref: "#/components/schemas/ErrorResponse";
11409
- };
11410
- };
11411
- };
11412
- };
11413
11312
  };
11414
11313
  };
11415
11314
  };
@@ -11654,7 +11553,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11654
11553
  };
11655
11554
  };
11656
11555
  readonly 403: {
11657
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, write access to crm::customers, or billing capacity for customers.";
11556
+ readonly description: "Forbidden - User lacks workspace access, write access to crm::customers, or billing capacity for customers.";
11658
11557
  readonly content: {
11659
11558
  readonly "application/json": {
11660
11559
  readonly schema: {
@@ -11727,6 +11626,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
11727
11626
  readonly instagram: {
11728
11627
  readonly type: "string";
11729
11628
  };
11629
+ readonly vk: {
11630
+ readonly type: "string";
11631
+ };
11730
11632
  readonly igSynapseId: {
11731
11633
  readonly type: "string";
11732
11634
  readonly description: "Matrix (Synapse) user identifier for Instagram chat.";
@@ -11739,6 +11641,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
11739
11641
  readonly type: "string";
11740
11642
  readonly description: "Matrix (Synapse) user identifier for Telegram chat.";
11741
11643
  };
11644
+ readonly vkSynapseId: {
11645
+ readonly type: "string";
11646
+ readonly description: "Matrix (Synapse) user identifier for VK chat.";
11647
+ };
11742
11648
  readonly email: {
11743
11649
  readonly type: "string";
11744
11650
  readonly format: "email";
@@ -11914,7 +11820,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11914
11820
  };
11915
11821
  };
11916
11822
  readonly 403: {
11917
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, write access to crm::customers, or billing access for customers.";
11823
+ readonly description: "Forbidden - User lacks workspace access, write access to crm::customers, or billing access for customers.";
11918
11824
  readonly content: {
11919
11825
  readonly "application/json": {
11920
11826
  readonly schema: {
@@ -12000,7 +11906,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12000
11906
  };
12001
11907
  };
12002
11908
  readonly 403: {
12003
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::customers resource.";
11909
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::customers resource.";
12004
11910
  readonly content: {
12005
11911
  readonly "application/json": {
12006
11912
  readonly schema: {
@@ -12076,7 +11982,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12076
11982
  };
12077
11983
  };
12078
11984
  readonly 403: {
12079
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::customers resource.";
11985
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::customers resource.";
12080
11986
  readonly content: {
12081
11987
  readonly "application/json": {
12082
11988
  readonly schema: {
@@ -12166,7 +12072,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12166
12072
  };
12167
12073
  };
12168
12074
  readonly 403: {
12169
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
12075
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::customers resource.";
12170
12076
  readonly content: {
12171
12077
  readonly "application/json": {
12172
12078
  readonly schema: {
@@ -12252,7 +12158,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12252
12158
  };
12253
12159
  };
12254
12160
  readonly 403: {
12255
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
12161
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::tasks resource.";
12256
12162
  readonly content: {
12257
12163
  readonly "application/json": {
12258
12164
  readonly schema: {
@@ -12495,7 +12401,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12495
12401
  };
12496
12402
  };
12497
12403
  readonly 403: {
12498
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::services resource.";
12404
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::services resource.";
12499
12405
  readonly content: {
12500
12406
  readonly "application/json": {
12501
12407
  readonly schema: {
@@ -12753,7 +12659,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12753
12659
  };
12754
12660
  };
12755
12661
  readonly 403: {
12756
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::services resource.";
12662
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::services resource.";
12757
12663
  readonly content: {
12758
12664
  readonly "application/json": {
12759
12665
  readonly schema: {
@@ -12829,7 +12735,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12829
12735
  };
12830
12736
  };
12831
12737
  readonly 403: {
12832
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::services resource.";
12738
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::services resource.";
12833
12739
  readonly content: {
12834
12740
  readonly "application/json": {
12835
12741
  readonly schema: {
@@ -12885,7 +12791,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12885
12791
  };
12886
12792
  };
12887
12793
  readonly 403: {
12888
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::services resource.";
12794
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::services resource.";
12889
12795
  readonly content: {
12890
12796
  readonly "application/json": {
12891
12797
  readonly schema: {
@@ -12975,7 +12881,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12975
12881
  };
12976
12882
  };
12977
12883
  readonly 403: {
12978
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::services resource.";
12884
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::services resource.";
12979
12885
  readonly content: {
12980
12886
  readonly "application/json": {
12981
12887
  readonly schema: {
@@ -13075,7 +12981,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13075
12981
  };
13076
12982
  };
13077
12983
  readonly 403: {
13078
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
12984
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
13079
12985
  readonly content: {
13080
12986
  readonly "application/json": {
13081
12987
  readonly schema: {
@@ -13141,7 +13047,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13141
13047
  };
13142
13048
  };
13143
13049
  readonly 403: {
13144
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
13050
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::tasks resource.";
13145
13051
  readonly content: {
13146
13052
  readonly "application/json": {
13147
13053
  readonly schema: {
@@ -13207,7 +13113,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13207
13113
  };
13208
13114
  };
13209
13115
  readonly 403: {
13210
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks resource.";
13116
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::tasks resource.";
13211
13117
  readonly content: {
13212
13118
  readonly "application/json": {
13213
13119
  readonly schema: {
@@ -13293,7 +13199,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13293
13199
  };
13294
13200
  };
13295
13201
  readonly 403: {
13296
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
13202
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
13297
13203
  readonly content: {
13298
13204
  readonly "application/json": {
13299
13205
  readonly schema: {
@@ -13403,7 +13309,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13403
13309
  };
13404
13310
  };
13405
13311
  readonly 403: {
13406
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
13312
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
13407
13313
  readonly content: {
13408
13314
  readonly "application/json": {
13409
13315
  readonly schema: {
@@ -13542,7 +13448,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13542
13448
  };
13543
13449
  };
13544
13450
  readonly 403: {
13545
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
13451
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general resource.";
13546
13452
  readonly content: {
13547
13453
  readonly "application/json": {
13548
13454
  readonly schema: {
@@ -13608,7 +13514,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13608
13514
  };
13609
13515
  };
13610
13516
  readonly 403: {
13611
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::general resource.";
13517
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::general resource.";
13612
13518
  readonly content: {
13613
13519
  readonly "application/json": {
13614
13520
  readonly schema: {
@@ -13684,7 +13590,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13684
13590
  };
13685
13591
  };
13686
13592
  readonly 403: {
13687
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::general resource.";
13593
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::general resource.";
13688
13594
  readonly content: {
13689
13595
  readonly "application/json": {
13690
13596
  readonly schema: {
@@ -13821,7 +13727,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13821
13727
  };
13822
13728
  };
13823
13729
  readonly 403: {
13824
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
13730
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general resource.";
13825
13731
  readonly content: {
13826
13732
  readonly "application/json": {
13827
13733
  readonly schema: {
@@ -13911,7 +13817,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13911
13817
  };
13912
13818
  };
13913
13819
  readonly 403: {
13914
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general resource.";
13820
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general resource.";
13915
13821
  readonly content: {
13916
13822
  readonly "application/json": {
13917
13823
  readonly schema: {
@@ -14007,7 +13913,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14007
13913
  };
14008
13914
  };
14009
13915
  readonly 403: {
14010
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::analytics resource.";
13916
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::analytics resource.";
14011
13917
  readonly content: {
14012
13918
  readonly "application/json": {
14013
13919
  readonly schema: {
@@ -14103,7 +14009,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14103
14009
  };
14104
14010
  };
14105
14011
  readonly 403: {
14106
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::analytics resource.";
14012
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::analytics resource.";
14107
14013
  readonly content: {
14108
14014
  readonly "application/json": {
14109
14015
  readonly schema: {
@@ -14199,7 +14105,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14199
14105
  };
14200
14106
  };
14201
14107
  readonly 403: {
14202
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::analytics resource.";
14108
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::analytics resource.";
14203
14109
  readonly content: {
14204
14110
  readonly "application/json": {
14205
14111
  readonly schema: {
@@ -14295,7 +14201,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14295
14201
  };
14296
14202
  };
14297
14203
  readonly 403: {
14298
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::analytics resource.";
14204
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::analytics resource.";
14299
14205
  readonly content: {
14300
14206
  readonly "application/json": {
14301
14207
  readonly schema: {
@@ -14391,7 +14297,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14391
14297
  };
14392
14298
  };
14393
14299
  readonly 403: {
14394
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::analytics resource.";
14300
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::analytics resource.";
14395
14301
  readonly content: {
14396
14302
  readonly "application/json": {
14397
14303
  readonly schema: {
@@ -14487,7 +14393,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14487
14393
  };
14488
14394
  };
14489
14395
  readonly 403: {
14490
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::analytics resource.";
14396
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::analytics resource.";
14491
14397
  readonly content: {
14492
14398
  readonly "application/json": {
14493
14399
  readonly schema: {
@@ -14583,7 +14489,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14583
14489
  };
14584
14490
  };
14585
14491
  readonly 403: {
14586
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::analytics resource.";
14492
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::analytics resource.";
14587
14493
  readonly content: {
14588
14494
  readonly "application/json": {
14589
14495
  readonly schema: {
@@ -14679,7 +14585,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14679
14585
  };
14680
14586
  };
14681
14587
  readonly 403: {
14682
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::analytics resource.";
14588
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::analytics resource.";
14683
14589
  readonly content: {
14684
14590
  readonly "application/json": {
14685
14591
  readonly schema: {
@@ -14886,7 +14792,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14886
14792
  };
14887
14793
  };
14888
14794
  readonly 403: {
14889
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
14795
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::customers resource.";
14890
14796
  readonly content: {
14891
14797
  readonly "application/json": {
14892
14798
  readonly schema: {
@@ -14972,7 +14878,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14972
14878
  };
14973
14879
  };
14974
14880
  readonly 403: {
14975
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::customers resource.";
14881
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::customers resource.";
14976
14882
  readonly content: {
14977
14883
  readonly "application/json": {
14978
14884
  readonly schema: {
@@ -15167,7 +15073,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
15167
15073
  };
15168
15074
  };
15169
15075
  readonly 403: {
15170
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
15076
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::customers resource.";
15171
15077
  readonly content: {
15172
15078
  readonly "application/json": {
15173
15079
  readonly schema: {
@@ -15257,7 +15163,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
15257
15163
  };
15258
15164
  };
15259
15165
  readonly 403: {
15260
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
15166
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::customers resource.";
15261
15167
  readonly content: {
15262
15168
  readonly "application/json": {
15263
15169
  readonly schema: {
@@ -15709,7 +15615,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
15709
15615
  };
15710
15616
  };
15711
15617
  readonly 403: {
15712
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to both crm::tasks and crm::customers.";
15618
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to both crm::tasks and crm::customers.";
15713
15619
  readonly content: {
15714
15620
  readonly "application/json": {
15715
15621
  readonly schema: {
@@ -15792,7 +15698,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
15792
15698
  };
15793
15699
  };
15794
15700
  readonly 403: {
15795
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to both crm::tasks and crm::customers.";
15701
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to both crm::tasks and crm::customers.";
15796
15702
  readonly content: {
15797
15703
  readonly "application/json": {
15798
15704
  readonly schema: {
@@ -15880,7 +15786,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
15880
15786
  };
15881
15787
  };
15882
15788
  readonly 403: {
15883
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general.";
15789
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general.";
15884
15790
  readonly content: {
15885
15791
  readonly "application/json": {
15886
15792
  readonly schema: {
@@ -15960,7 +15866,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
15960
15866
  };
15961
15867
  };
15962
15868
  readonly 403: {
15963
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general.";
15869
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general.";
15964
15870
  readonly content: {
15965
15871
  readonly "application/json": {
15966
15872
  readonly schema: {
@@ -16056,7 +15962,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16056
15962
  };
16057
15963
  };
16058
15964
  readonly 403: {
16059
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
15965
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
16060
15966
  readonly content: {
16061
15967
  readonly "application/json": {
16062
15968
  readonly schema: {
@@ -16152,7 +16058,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16152
16058
  };
16153
16059
  };
16154
16060
  readonly 403: {
16155
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
16061
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::customers resource.";
16156
16062
  readonly content: {
16157
16063
  readonly "application/json": {
16158
16064
  readonly schema: {
@@ -16248,7 +16154,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16248
16154
  };
16249
16155
  };
16250
16156
  readonly 403: {
16251
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::customers resource.";
16157
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::customers resource.";
16252
16158
  readonly content: {
16253
16159
  readonly "application/json": {
16254
16160
  readonly schema: {
@@ -16344,7 +16250,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16344
16250
  };
16345
16251
  };
16346
16252
  readonly 403: {
16347
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks resource.";
16253
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks resource.";
16348
16254
  readonly content: {
16349
16255
  readonly "application/json": {
16350
16256
  readonly schema: {
@@ -16418,7 +16324,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16418
16324
  };
16419
16325
  };
16420
16326
  readonly 403: {
16421
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
16327
+ readonly description: "Forbidden - User lacks workspace access.";
16422
16328
  readonly content: {
16423
16329
  readonly "application/json": {
16424
16330
  readonly schema: {
@@ -16492,7 +16398,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16492
16398
  };
16493
16399
  };
16494
16400
  readonly 403: {
16495
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
16401
+ readonly description: "Forbidden - User lacks workspace access.";
16496
16402
  readonly content: {
16497
16403
  readonly "application/json": {
16498
16404
  readonly schema: {
@@ -16566,7 +16472,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16566
16472
  };
16567
16473
  };
16568
16474
  readonly 403: {
16569
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
16475
+ readonly description: "Forbidden - User lacks workspace access.";
16570
16476
  readonly content: {
16571
16477
  readonly "application/json": {
16572
16478
  readonly schema: {
@@ -16640,7 +16546,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16640
16546
  };
16641
16547
  };
16642
16548
  readonly 403: {
16643
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
16549
+ readonly description: "Forbidden - User lacks workspace access.";
16644
16550
  readonly content: {
16645
16551
  readonly "application/json": {
16646
16552
  readonly schema: {
@@ -16716,7 +16622,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16716
16622
  };
16717
16623
  };
16718
16624
  readonly 403: {
16719
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
16625
+ readonly description: "Forbidden - User lacks workspace access.";
16720
16626
  readonly content: {
16721
16627
  readonly "application/json": {
16722
16628
  readonly schema: {
@@ -16782,7 +16688,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16782
16688
  };
16783
16689
  };
16784
16690
  readonly 403: {
16785
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
16691
+ readonly description: "Forbidden - User lacks workspace access.";
16786
16692
  readonly content: {
16787
16693
  readonly "application/json": {
16788
16694
  readonly schema: {
@@ -16867,7 +16773,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16867
16773
  };
16868
16774
  };
16869
16775
  readonly 403: {
16870
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
16776
+ readonly description: "Forbidden - User lacks workspace access.";
16871
16777
  readonly content: {
16872
16778
  readonly "application/json": {
16873
16779
  readonly schema: {
@@ -16941,7 +16847,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
16941
16847
  };
16942
16848
  };
16943
16849
  readonly 403: {
16944
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
16850
+ readonly description: "Forbidden - User lacks workspace access.";
16945
16851
  readonly content: {
16946
16852
  readonly "application/json": {
16947
16853
  readonly schema: {
@@ -17015,7 +16921,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
17015
16921
  };
17016
16922
  };
17017
16923
  readonly 403: {
17018
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
16924
+ readonly description: "Forbidden - User lacks workspace access.";
17019
16925
  readonly content: {
17020
16926
  readonly "application/json": {
17021
16927
  readonly schema: {
@@ -17099,7 +17005,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
17099
17005
  };
17100
17006
  };
17101
17007
  readonly 403: {
17102
- readonly description: "Forbidden - Token issuer is not 'access' or user lacks workspace access.";
17008
+ readonly description: "Forbidden - User lacks workspace access.";
17103
17009
  readonly content: {
17104
17010
  readonly "application/json": {
17105
17011
  readonly schema: {
@@ -17183,7 +17089,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
17183
17089
  };
17184
17090
  };
17185
17091
  readonly 403: {
17186
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks.";
17092
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks.";
17187
17093
  readonly content: {
17188
17094
  readonly "application/json": {
17189
17095
  readonly schema: {
@@ -17257,7 +17163,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
17257
17163
  };
17258
17164
  };
17259
17165
  readonly 403: {
17260
- readonly description: "Forbidden - Token issuer is not 'access', invite not accepted, user lacks workspace access, or user lacks write access to crm::tasks.";
17166
+ readonly description: "Forbidden - Invite not accepted, user lacks workspace access, or user lacks write access to crm::tasks.";
17261
17167
  readonly content: {
17262
17168
  readonly "application/json": {
17263
17169
  readonly schema: {
@@ -17331,7 +17237,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
17331
17237
  };
17332
17238
  };
17333
17239
  readonly 403: {
17334
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, user lacks write access to crm::services, or billing access is missing.";
17240
+ readonly description: "Forbidden - User lacks workspace access, user lacks write access to crm::services, or billing access is missing.";
17335
17241
  readonly content: {
17336
17242
  readonly "application/json": {
17337
17243
  readonly schema: {
@@ -17405,7 +17311,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
17405
17311
  };
17406
17312
  };
17407
17313
  readonly 403: {
17408
- readonly description: "Forbidden - Token issuer is not 'access', invite not accepted, user lacks workspace access, user lacks write access to crm::services, or billing access is missing.";
17314
+ readonly description: "Forbidden - Invite not accepted, user lacks workspace access, user lacks write access to crm::services, or billing access is missing.";
17409
17315
  readonly content: {
17410
17316
  readonly "application/json": {
17411
17317
  readonly schema: {
@@ -17481,7 +17387,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
17481
17387
  };
17482
17388
  };
17483
17389
  readonly 403: {
17484
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::services.";
17390
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::services.";
17485
17391
  readonly content: {
17486
17392
  readonly "application/json": {
17487
17393
  readonly schema: {
@@ -17545,7 +17451,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
17545
17451
  };
17546
17452
  };
17547
17453
  readonly 403: {
17548
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, user lacks write access to crm::services, or billing access is missing.";
17454
+ readonly description: "Forbidden - User lacks workspace access, user lacks write access to crm::services, or billing access is missing.";
17549
17455
  readonly content: {
17550
17456
  readonly "application/json": {
17551
17457
  readonly schema: {
@@ -17827,7 +17733,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
17827
17733
  };
17828
17734
  };
17829
17735
  readonly 403: {
17830
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::tasks.";
17736
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::tasks.";
17831
17737
  readonly content: {
17832
17738
  readonly "application/json": {
17833
17739
  readonly schema: {
@@ -17923,7 +17829,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
17923
17829
  };
17924
17830
  };
17925
17831
  readonly 403: {
17926
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks read access to crm::tasks.";
17832
+ readonly description: "Forbidden - User lacks workspace access, or user lacks read access to crm::tasks.";
17927
17833
  readonly content: {
17928
17834
  readonly "application/json": {
17929
17835
  readonly schema: {
@@ -18001,16 +17907,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
18001
17907
  };
18002
17908
  };
18003
17909
  };
18004
- readonly 403: {
18005
- readonly description: "Forbidden - Token issuer is not 'access'.";
18006
- readonly content: {
18007
- readonly "application/json": {
18008
- readonly schema: {
18009
- readonly $ref: "#/components/schemas/ErrorResponse";
18010
- };
18011
- };
18012
- };
18013
- };
18014
17910
  };
18015
17911
  };
18016
17912
  };
@@ -18055,16 +17951,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
18055
17951
  };
18056
17952
  };
18057
17953
  };
18058
- readonly 403: {
18059
- readonly description: "Forbidden - Token issuer is not 'access'.";
18060
- readonly content: {
18061
- readonly "application/json": {
18062
- readonly schema: {
18063
- readonly $ref: "#/components/schemas/ErrorResponse";
18064
- };
18065
- };
18066
- };
18067
- };
18068
17954
  };
18069
17955
  };
18070
17956
  };
@@ -18099,16 +17985,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
18099
17985
  };
18100
17986
  };
18101
17987
  };
18102
- readonly 403: {
18103
- readonly description: "Forbidden - Token issuer is not 'access'.";
18104
- readonly content: {
18105
- readonly "application/json": {
18106
- readonly schema: {
18107
- readonly $ref: "#/components/schemas/ErrorResponse";
18108
- };
18109
- };
18110
- };
18111
- };
18112
17988
  readonly 500: {
18113
17989
  readonly description: "Failed to delete the profile picture object.";
18114
17990
  readonly content: {
@@ -18179,7 +18055,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
18179
18055
  };
18180
18056
  };
18181
18057
  readonly 403: {
18182
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general.";
18058
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general.";
18183
18059
  readonly content: {
18184
18060
  readonly "application/json": {
18185
18061
  readonly schema: {
@@ -18253,7 +18129,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
18253
18129
  };
18254
18130
  };
18255
18131
  readonly 403: {
18256
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general.";
18132
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general.";
18257
18133
  readonly content: {
18258
18134
  readonly "application/json": {
18259
18135
  readonly schema: {
@@ -18327,7 +18203,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
18327
18203
  };
18328
18204
  };
18329
18205
  readonly 403: {
18330
- readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::general.";
18206
+ readonly description: "Forbidden - User lacks workspace access, or user lacks write access to crm::general.";
18331
18207
  readonly content: {
18332
18208
  readonly "application/json": {
18333
18209
  readonly schema: {
@@ -18424,16 +18300,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
18424
18300
  };
18425
18301
  };
18426
18302
  };
18427
- readonly 403: {
18428
- readonly description: "Forbidden - Token issuer is not 'access'.";
18429
- readonly content: {
18430
- readonly "application/json": {
18431
- readonly schema: {
18432
- readonly $ref: "#/components/schemas/ErrorResponse";
18433
- };
18434
- };
18435
- };
18436
- };
18437
18303
  };
18438
18304
  };
18439
18305
  };
@@ -18488,16 +18354,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
18488
18354
  };
18489
18355
  };
18490
18356
  };
18491
- readonly 403: {
18492
- readonly description: "Forbidden - Token issuer is not 'access'.";
18493
- readonly content: {
18494
- readonly "application/json": {
18495
- readonly schema: {
18496
- readonly $ref: "#/components/schemas/ErrorResponse";
18497
- };
18498
- };
18499
- };
18500
- };
18501
18357
  readonly 404: {
18502
18358
  readonly description: "Notification not found for this user.";
18503
18359
  readonly content: {
@@ -18542,16 +18398,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
18542
18398
  };
18543
18399
  };
18544
18400
  };
18545
- readonly 403: {
18546
- readonly description: "Forbidden - Token issuer is not 'access'.";
18547
- readonly content: {
18548
- readonly "application/json": {
18549
- readonly schema: {
18550
- readonly $ref: "#/components/schemas/ErrorResponse";
18551
- };
18552
- };
18553
- };
18554
- };
18555
18401
  };
18556
18402
  };
18557
18403
  };
@@ -18606,16 +18452,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
18606
18452
  };
18607
18453
  };
18608
18454
  };
18609
- readonly 403: {
18610
- readonly description: "Forbidden - Token issuer is not 'access'.";
18611
- readonly content: {
18612
- readonly "application/json": {
18613
- readonly schema: {
18614
- readonly $ref: "#/components/schemas/ErrorResponse";
18615
- };
18616
- };
18617
- };
18618
- };
18619
18455
  readonly 404: {
18620
18456
  readonly description: "Notification not found for this user.";
18621
18457
  readonly content: {
@@ -18660,16 +18496,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
18660
18496
  };
18661
18497
  };
18662
18498
  };
18663
- readonly 403: {
18664
- readonly description: "Forbidden - Token issuer is not 'access'.";
18665
- readonly content: {
18666
- readonly "application/json": {
18667
- readonly schema: {
18668
- readonly $ref: "#/components/schemas/ErrorResponse";
18669
- };
18670
- };
18671
- };
18672
- };
18673
18499
  };
18674
18500
  };
18675
18501
  };
@@ -18735,7 +18561,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
18735
18561
  };
18736
18562
  };
18737
18563
  readonly 403: {
18738
- readonly description: "Forbidden - Token issuer is not 'access', collaborator invite not accepted, user lacks workspace access, or user lacks read access to crm::chats.";
18564
+ readonly description: "Forbidden - Collaborator invite not accepted, user lacks workspace access, or user lacks read access to crm::chats.";
18739
18565
  readonly content: {
18740
18566
  readonly "application/json": {
18741
18567
  readonly schema: {
@@ -18821,7 +18647,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
18821
18647
  };
18822
18648
  };
18823
18649
  readonly 403: {
18824
- readonly description: "Forbidden - Token issuer is not 'access', collaborator invite not accepted, user lacks workspace access, or user lacks read access to crm::chats.";
18650
+ readonly description: "Forbidden - Collaborator invite not accepted, user lacks workspace access, or user lacks read access to crm::chats.";
18825
18651
  readonly content: {
18826
18652
  readonly "application/json": {
18827
18653
  readonly schema: {
@@ -20422,18 +20248,18 @@ declare const routes: import("hono/hono-base").HonoBase<{
20422
20248
  } | {
20423
20249
  input: {};
20424
20250
  output: {
20425
- success: true;
20251
+ success: false;
20252
+ error: string;
20426
20253
  };
20427
20254
  outputFormat: "json";
20428
- status: 200;
20255
+ status: 400;
20429
20256
  } | {
20430
20257
  input: {};
20431
20258
  output: {
20432
- success: false;
20433
- error: string;
20259
+ success: true;
20434
20260
  };
20435
20261
  outputFormat: "json";
20436
- status: 400;
20262
+ status: 200;
20437
20263
  };
20438
20264
  };
20439
20265
  } & {
@@ -20449,18 +20275,18 @@ declare const routes: import("hono/hono-base").HonoBase<{
20449
20275
  } | {
20450
20276
  input: {};
20451
20277
  output: {
20452
- success: true;
20278
+ success: false;
20279
+ error: string;
20453
20280
  };
20454
20281
  outputFormat: "json";
20455
- status: 200;
20282
+ status: 400;
20456
20283
  } | {
20457
20284
  input: {};
20458
20285
  output: {
20459
- success: false;
20460
- error: string;
20286
+ success: true;
20461
20287
  };
20462
20288
  outputFormat: "json";
20463
- status: 400;
20289
+ status: 200;
20464
20290
  };
20465
20291
  };
20466
20292
  }, "/tasks"> | import("hono/types").MergeSchemaPath<{
@@ -20735,69 +20561,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
20735
20561
  input: {};
20736
20562
  output: {
20737
20563
  success: true;
20738
- service: {
20739
- id: string;
20740
- type: string | null;
20741
- created_at: string;
20742
- active: boolean | null;
20743
- title: string;
20744
- workspaceId: string;
20745
- description: string | null;
20746
- price: number | null;
20747
- created_by: string | null;
20748
- currency: string | null;
20749
- updated_at: string | null;
20750
- deleted_at: string | null;
20751
- verified_at: string | null;
20752
- suspended_at: string | null;
20753
- fullPayment: boolean | null;
20754
- mortgagePayment: boolean | null;
20755
- installmentPayment: boolean | null;
20756
- fullPaymentAmount: number | null;
20757
- mortgagePaymentAmount: number | null;
20758
- installmentPaymentAmount: number | null;
20759
- roomsCount: number | null;
20760
- propertyType: string | null;
20761
- commercialType: string | null;
20762
- landType: string | null;
20763
- propertyStatus: string | null;
20764
- commercialClass: string | null;
20765
- ownershipType: string | null;
20766
- loadingDockAccess: boolean | null;
20767
- waterAccess: boolean | null;
20768
- electricityAccess: boolean | null;
20769
- gasAccess: boolean | null;
20770
- sewageAccess: boolean | null;
20771
- internetAccess: boolean | null;
20772
- elevaorAccess: boolean | null;
20773
- seprateEntrance: boolean | null;
20774
- furnishedType: string | null;
20775
- parkingType: string | null;
20776
- balconyAccess: boolean | null;
20777
- loggiaAccess: boolean | null;
20778
- otherFeatures: string | null;
20779
- pricePerSquareMeter: number | null;
20780
- alternativeEURCurrency: boolean | null;
20781
- alternativeRUBCurrency: boolean | null;
20782
- alternativeUSDCurrency: boolean | null;
20783
- estimatedDeliveryDate: string | null;
20784
- bathroomsCount: number | null;
20785
- bedroomsCount: number | null;
20786
- totalArea: number | null;
20787
- livingArea: number | null;
20788
- ceilingHeight: number | null;
20789
- floor: number | null;
20790
- totalFloors: number | null;
20791
- yearBuilt: string | null;
20792
- renovation: string | null;
20793
- developerName: string | null;
20794
- city: string | null;
20795
- district: string | null;
20796
- nearestMetroStation: string | null;
20797
- fullAddress: string | null;
20798
- latitude: string | null;
20799
- longitude: string | null;
20800
- }[];
20564
+ service: import("hono/utils/types").JSONValue;
20801
20565
  };
20802
20566
  outputFormat: "json";
20803
20567
  status: 201;
@@ -20825,69 +20589,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
20825
20589
  input: {};
20826
20590
  output: {
20827
20591
  success: true;
20828
- service: {
20829
- updated_at: string | null;
20830
- deleted_at: string | null;
20831
- verified_at: string | null;
20832
- suspended_at: string | null;
20833
- created_at: string;
20834
- id: string;
20835
- workspaceId: string;
20836
- created_by: string | null;
20837
- title: string;
20838
- active: boolean | null;
20839
- type: string | null;
20840
- currency: string | null;
20841
- description: string | null;
20842
- price: number | null;
20843
- propertyType: string | null;
20844
- propertyStatus: string | null;
20845
- commercialType: string | null;
20846
- commercialClass: string | null;
20847
- landType: string | null;
20848
- ownershipType: string | null;
20849
- loadingDockAccess: boolean | null;
20850
- waterAccess: boolean | null;
20851
- electricityAccess: boolean | null;
20852
- gasAccess: boolean | null;
20853
- sewageAccess: boolean | null;
20854
- internetAccess: boolean | null;
20855
- elevaorAccess: boolean | null;
20856
- seprateEntrance: boolean | null;
20857
- furnishedType: string | null;
20858
- parkingType: string | null;
20859
- balconyAccess: boolean | null;
20860
- loggiaAccess: boolean | null;
20861
- otherFeatures: string | null;
20862
- fullPayment: boolean | null;
20863
- mortgagePayment: boolean | null;
20864
- installmentPayment: boolean | null;
20865
- fullPaymentAmount: number | null;
20866
- mortgagePaymentAmount: number | null;
20867
- installmentPaymentAmount: number | null;
20868
- pricePerSquareMeter: number | null;
20869
- alternativeEURCurrency: boolean | null;
20870
- alternativeRUBCurrency: boolean | null;
20871
- alternativeUSDCurrency: boolean | null;
20872
- estimatedDeliveryDate: string | null;
20873
- roomsCount: number | null;
20874
- bathroomsCount: number | null;
20875
- bedroomsCount: number | null;
20876
- totalArea: number | null;
20877
- livingArea: number | null;
20878
- ceilingHeight: number | null;
20879
- floor: number | null;
20880
- totalFloors: number | null;
20881
- yearBuilt: string | null;
20882
- renovation: string | null;
20883
- developerName: string | null;
20884
- city: string | null;
20885
- district: string | null;
20886
- nearestMetroStation: string | null;
20887
- fullAddress: string | null;
20888
- latitude: string | null;
20889
- longitude: string | null;
20890
- }[];
20592
+ service: never;
20891
20593
  };
20892
20594
  outputFormat: "json";
20893
20595
  status: 200;
@@ -20915,75 +20617,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
20915
20617
  };
20916
20618
  output: {
20917
20619
  success: true;
20918
- services: {
20919
- createdBy: {
20920
- id: string;
20921
- firstName: string | null;
20922
- lastName: string | null;
20923
- profilePicture: string | null;
20924
- } | null;
20925
- updated_at: string | null;
20926
- deleted_at: string | null;
20927
- verified_at: string | null;
20928
- suspended_at: string | null;
20929
- created_at: string;
20930
- id: string;
20931
- workspaceId: string;
20932
- created_by: string | null;
20933
- title: string;
20934
- active: boolean | null;
20935
- type: string | null;
20936
- currency: string | null;
20937
- description: string | null;
20938
- price: number | null;
20939
- propertyType: string | null;
20940
- propertyStatus: string | null;
20941
- commercialType: string | null;
20942
- commercialClass: string | null;
20943
- landType: string | null;
20944
- ownershipType: string | null;
20945
- loadingDockAccess: boolean | null;
20946
- waterAccess: boolean | null;
20947
- electricityAccess: boolean | null;
20948
- gasAccess: boolean | null;
20949
- sewageAccess: boolean | null;
20950
- internetAccess: boolean | null;
20951
- elevaorAccess: boolean | null;
20952
- seprateEntrance: boolean | null;
20953
- furnishedType: string | null;
20954
- parkingType: string | null;
20955
- balconyAccess: boolean | null;
20956
- loggiaAccess: boolean | null;
20957
- otherFeatures: string | null;
20958
- fullPayment: boolean | null;
20959
- mortgagePayment: boolean | null;
20960
- installmentPayment: boolean | null;
20961
- fullPaymentAmount: number | null;
20962
- mortgagePaymentAmount: number | null;
20963
- installmentPaymentAmount: number | null;
20964
- pricePerSquareMeter: number | null;
20965
- alternativeEURCurrency: boolean | null;
20966
- alternativeRUBCurrency: boolean | null;
20967
- alternativeUSDCurrency: boolean | null;
20968
- estimatedDeliveryDate: string | null;
20969
- roomsCount: number | null;
20970
- bathroomsCount: number | null;
20971
- bedroomsCount: number | null;
20972
- totalArea: number | null;
20973
- livingArea: number | null;
20974
- ceilingHeight: number | null;
20975
- floor: number | null;
20976
- totalFloors: number | null;
20977
- yearBuilt: string | null;
20978
- renovation: string | null;
20979
- developerName: string | null;
20980
- city: string | null;
20981
- district: string | null;
20982
- nearestMetroStation: string | null;
20983
- fullAddress: string | null;
20984
- latitude: string | null;
20985
- longitude: string | null;
20986
- }[];
20620
+ services: import("hono/utils/types").JSONValue;
20987
20621
  };
20988
20622
  outputFormat: "json";
20989
20623
  status: 200;
@@ -21029,75 +20663,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21029
20663
  };
21030
20664
  output: {
21031
20665
  success: true;
21032
- service: {
21033
- createdBy: {
21034
- id: string;
21035
- firstName: string | null;
21036
- lastName: string | null;
21037
- profilePicture: string | null;
21038
- } | null;
21039
- updated_at: string | null;
21040
- deleted_at: string | null;
21041
- verified_at: string | null;
21042
- suspended_at: string | null;
21043
- created_at: string;
21044
- id: string;
21045
- workspaceId: string;
21046
- created_by: string | null;
21047
- title: string;
21048
- active: boolean | null;
21049
- type: string | null;
21050
- currency: string | null;
21051
- description: string | null;
21052
- price: number | null;
21053
- propertyType: string | null;
21054
- propertyStatus: string | null;
21055
- commercialType: string | null;
21056
- commercialClass: string | null;
21057
- landType: string | null;
21058
- ownershipType: string | null;
21059
- loadingDockAccess: boolean | null;
21060
- waterAccess: boolean | null;
21061
- electricityAccess: boolean | null;
21062
- gasAccess: boolean | null;
21063
- sewageAccess: boolean | null;
21064
- internetAccess: boolean | null;
21065
- elevaorAccess: boolean | null;
21066
- seprateEntrance: boolean | null;
21067
- furnishedType: string | null;
21068
- parkingType: string | null;
21069
- balconyAccess: boolean | null;
21070
- loggiaAccess: boolean | null;
21071
- otherFeatures: string | null;
21072
- fullPayment: boolean | null;
21073
- mortgagePayment: boolean | null;
21074
- installmentPayment: boolean | null;
21075
- fullPaymentAmount: number | null;
21076
- mortgagePaymentAmount: number | null;
21077
- installmentPaymentAmount: number | null;
21078
- pricePerSquareMeter: number | null;
21079
- alternativeEURCurrency: boolean | null;
21080
- alternativeRUBCurrency: boolean | null;
21081
- alternativeUSDCurrency: boolean | null;
21082
- estimatedDeliveryDate: string | null;
21083
- roomsCount: number | null;
21084
- bathroomsCount: number | null;
21085
- bedroomsCount: number | null;
21086
- totalArea: number | null;
21087
- livingArea: number | null;
21088
- ceilingHeight: number | null;
21089
- floor: number | null;
21090
- totalFloors: number | null;
21091
- yearBuilt: string | null;
21092
- renovation: string | null;
21093
- developerName: string | null;
21094
- city: string | null;
21095
- district: string | null;
21096
- nearestMetroStation: string | null;
21097
- fullAddress: string | null;
21098
- latitude: string | null;
21099
- longitude: string | null;
21100
- };
20666
+ service: never;
21101
20667
  };
21102
20668
  outputFormat: "json";
21103
20669
  status: 200;
@@ -21112,7 +20678,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21112
20678
  error: string;
21113
20679
  };
21114
20680
  outputFormat: "json";
21115
- status: 404;
20681
+ status: 400;
21116
20682
  } | {
21117
20683
  input: {};
21118
20684
  output: {
@@ -21120,7 +20686,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21120
20686
  error: string;
21121
20687
  };
21122
20688
  outputFormat: "json";
21123
- status: 400;
20689
+ status: 404;
21124
20690
  } | {
21125
20691
  input: {};
21126
20692
  output: {
@@ -21144,56 +20710,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21144
20710
  input: {};
21145
20711
  output: {
21146
20712
  success: true;
21147
- customer: {
21148
- id: string;
21149
- type: string | null;
21150
- created_at: string;
21151
- name: string;
21152
- email: string | null;
21153
- workspaceId: string;
21154
- created_by: string | null;
21155
- vk: string | null;
21156
- instagram: string | null;
21157
- whatsapp: string | null;
21158
- telegram: string | null;
21159
- companyName: string | null;
21160
- leadSource: string | null;
21161
- updated_at: string | null;
21162
- deleted_at: string | null;
21163
- verified_at: string | null;
21164
- suspended_at: string | null;
21165
- phone: string | null;
21166
- igSynapseId: string | null;
21167
- waSynapseId: string | null;
21168
- tgSynapseId: string | null;
21169
- vkSynapseId: string | null;
21170
- budgetMin: number | null;
21171
- budgetMax: number | null;
21172
- fullPayment: boolean | null;
21173
- mortgagePayment: boolean | null;
21174
- installmentPayment: boolean | null;
21175
- fullPaymentAmount: number | null;
21176
- mortgagePaymentAmount: number | null;
21177
- installmentPaymentAmount: number | null;
21178
- minArea: number | null;
21179
- maxArea: number | null;
21180
- roomsCount: number | null;
21181
- preferredDistricts: string[] | null;
21182
- propertyType: string | null;
21183
- housingType: string | null;
21184
- housingTypeNew: boolean | null;
21185
- housingTypeResale: boolean | null;
21186
- commercialType: string | null;
21187
- landType: string | null;
21188
- maxMetroDistance: number | null;
21189
- dealStatus: string | null;
21190
- preferredPaymentMethod: string | null;
21191
- childrenCount: number | null;
21192
- hasPets: boolean | null;
21193
- carsCount: number | null;
21194
- birthDate: string | null;
21195
- notes: string | null;
21196
- }[];
20713
+ customer: import("hono/utils/types").JSONValue;
21197
20714
  };
21198
20715
  outputFormat: "json";
21199
20716
  status: 201;
@@ -21220,66 +20737,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
21220
20737
  };
21221
20738
  };
21222
20739
  output: {
21223
- success: true;
21224
- customers: {
21225
- createdBy: {
21226
- id: string;
21227
- firstName: string | null;
21228
- lastName: string | null;
21229
- profilePicture: string | null;
21230
- } | null;
21231
- updated_at: string | null;
21232
- deleted_at: string | null;
21233
- verified_at: string | null;
21234
- suspended_at: string | null;
21235
- created_at: string;
21236
- id: string;
21237
- workspaceId: string;
21238
- created_by: string | null;
21239
- type: string | null;
21240
- name: string;
21241
- companyName: string | null;
21242
- phone: string | null;
21243
- telegram: string | null;
21244
- whatsapp: string | null;
21245
- instagram: string | null;
21246
- vk: string | null;
21247
- igSynapseId: string | null;
21248
- waSynapseId: string | null;
21249
- tgSynapseId: string | null;
21250
- vkSynapseId: string | null;
21251
- email: string | null;
21252
- leadSource: string | null;
21253
- budgetMin: number | null;
21254
- budgetMax: number | null;
21255
- fullPayment: boolean | null;
21256
- mortgagePayment: boolean | null;
21257
- installmentPayment: boolean | null;
21258
- fullPaymentAmount: number | null;
21259
- mortgagePaymentAmount: number | null;
21260
- installmentPaymentAmount: number | null;
21261
- minArea: number | null;
21262
- maxArea: number | null;
21263
- roomsCount: number | null;
21264
- preferredDistricts: string[] | null;
21265
- propertyType: string | null;
21266
- housingType: string | null;
21267
- housingTypeNew: boolean | null;
21268
- housingTypeResale: boolean | null;
21269
- commercialType: string | null;
21270
- landType: string | null;
21271
- maxMetroDistance: number | null;
21272
- dealStatus: string | null;
21273
- preferredPaymentMethod: string | null;
21274
- childrenCount: number | null;
21275
- hasPets: boolean | null;
21276
- carsCount: number | null;
21277
- birthDate: string | null;
21278
- notes: string | null;
21279
- }[];
20740
+ success: false;
20741
+ error: string;
21280
20742
  };
21281
20743
  outputFormat: "json";
21282
- status: 200;
20744
+ status: 400;
21283
20745
  } | {
21284
20746
  input: {
21285
20747
  param: {
@@ -21287,11 +20749,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
21287
20749
  };
21288
20750
  };
21289
20751
  output: {
21290
- success: false;
21291
- error: string;
20752
+ success: true;
20753
+ customers: import("hono/utils/types").JSONValue;
21292
20754
  };
21293
20755
  outputFormat: "json";
21294
- status: 400;
20756
+ status: 200;
21295
20757
  };
21296
20758
  };
21297
20759
  } & {
@@ -21319,66 +20781,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
21319
20781
  };
21320
20782
  };
21321
20783
  output: {
21322
- success: true;
21323
- customer: {
21324
- createdBy: {
21325
- id: string;
21326
- firstName: string | null;
21327
- lastName: string | null;
21328
- profilePicture: string | null;
21329
- } | null;
21330
- updated_at: string | null;
21331
- deleted_at: string | null;
21332
- verified_at: string | null;
21333
- suspended_at: string | null;
21334
- created_at: string;
21335
- id: string;
21336
- workspaceId: string;
21337
- created_by: string | null;
21338
- type: string | null;
21339
- name: string;
21340
- companyName: string | null;
21341
- phone: string | null;
21342
- telegram: string | null;
21343
- whatsapp: string | null;
21344
- instagram: string | null;
21345
- vk: string | null;
21346
- igSynapseId: string | null;
21347
- waSynapseId: string | null;
21348
- tgSynapseId: string | null;
21349
- vkSynapseId: string | null;
21350
- email: string | null;
21351
- leadSource: string | null;
21352
- budgetMin: number | null;
21353
- budgetMax: number | null;
21354
- fullPayment: boolean | null;
21355
- mortgagePayment: boolean | null;
21356
- installmentPayment: boolean | null;
21357
- fullPaymentAmount: number | null;
21358
- mortgagePaymentAmount: number | null;
21359
- installmentPaymentAmount: number | null;
21360
- minArea: number | null;
21361
- maxArea: number | null;
21362
- roomsCount: number | null;
21363
- preferredDistricts: string[] | null;
21364
- propertyType: string | null;
21365
- housingType: string | null;
21366
- housingTypeNew: boolean | null;
21367
- housingTypeResale: boolean | null;
21368
- commercialType: string | null;
21369
- landType: string | null;
21370
- maxMetroDistance: number | null;
21371
- dealStatus: string | null;
21372
- preferredPaymentMethod: string | null;
21373
- childrenCount: number | null;
21374
- hasPets: boolean | null;
21375
- carsCount: number | null;
21376
- birthDate: string | null;
21377
- notes: string | null;
21378
- };
20784
+ success: false;
20785
+ error: string;
21379
20786
  };
21380
20787
  outputFormat: "json";
21381
- status: 200;
20788
+ status: 400;
21382
20789
  } | {
21383
20790
  input: {
21384
20791
  param: {
@@ -21388,11 +20795,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
21388
20795
  };
21389
20796
  };
21390
20797
  output: {
21391
- success: false;
21392
- error: string;
20798
+ success: true;
20799
+ customer: never;
21393
20800
  };
21394
20801
  outputFormat: "json";
21395
- status: 400;
20802
+ status: 200;
21396
20803
  };
21397
20804
  };
21398
20805
  } & {
@@ -21444,56 +20851,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21444
20851
  input: {};
21445
20852
  output: {
21446
20853
  success: true;
21447
- customer: {
21448
- updated_at: string | null;
21449
- deleted_at: string | null;
21450
- verified_at: string | null;
21451
- suspended_at: string | null;
21452
- created_at: string;
21453
- id: string;
21454
- workspaceId: string;
21455
- created_by: string | null;
21456
- type: string | null;
21457
- name: string;
21458
- companyName: string | null;
21459
- phone: string | null;
21460
- telegram: string | null;
21461
- whatsapp: string | null;
21462
- instagram: string | null;
21463
- vk: string | null;
21464
- igSynapseId: string | null;
21465
- waSynapseId: string | null;
21466
- tgSynapseId: string | null;
21467
- vkSynapseId: string | null;
21468
- email: string | null;
21469
- leadSource: string | null;
21470
- budgetMin: number | null;
21471
- budgetMax: number | null;
21472
- fullPayment: boolean | null;
21473
- mortgagePayment: boolean | null;
21474
- installmentPayment: boolean | null;
21475
- fullPaymentAmount: number | null;
21476
- mortgagePaymentAmount: number | null;
21477
- installmentPaymentAmount: number | null;
21478
- minArea: number | null;
21479
- maxArea: number | null;
21480
- roomsCount: number | null;
21481
- preferredDistricts: string[] | null;
21482
- propertyType: string | null;
21483
- housingType: string | null;
21484
- housingTypeNew: boolean | null;
21485
- housingTypeResale: boolean | null;
21486
- commercialType: string | null;
21487
- landType: string | null;
21488
- maxMetroDistance: number | null;
21489
- dealStatus: string | null;
21490
- preferredPaymentMethod: string | null;
21491
- childrenCount: number | null;
21492
- hasPets: boolean | null;
21493
- carsCount: number | null;
21494
- birthDate: string | null;
21495
- notes: string | null;
21496
- }[];
20854
+ customer: never;
21497
20855
  };
21498
20856
  outputFormat: "json";
21499
20857
  status: 200;
@@ -21515,6 +20873,20 @@ declare const routes: import("hono/hono-base").HonoBase<{
21515
20873
  };
21516
20874
  outputFormat: "json";
21517
20875
  status: 404;
20876
+ } | {
20877
+ input: {
20878
+ param: {
20879
+ workspace: string;
20880
+ } & {
20881
+ customerId: string;
20882
+ };
20883
+ };
20884
+ output: {
20885
+ success: false;
20886
+ error: string;
20887
+ };
20888
+ outputFormat: "json";
20889
+ status: 400;
21518
20890
  } | {
21519
20891
  input: {
21520
20892
  param: {
@@ -21542,20 +20914,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
21542
20914
  };
21543
20915
  outputFormat: "json";
21544
20916
  status: 200;
21545
- } | {
21546
- input: {
21547
- param: {
21548
- workspace: string;
21549
- } & {
21550
- customerId: string;
21551
- };
21552
- };
21553
- output: {
21554
- success: false;
21555
- error: string;
21556
- };
21557
- outputFormat: "json";
21558
- status: 400;
21559
20917
  };
21560
20918
  };
21561
20919
  }, "/customers"> | import("hono/types").MergeSchemaPath<{
@@ -21759,39 +21117,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21759
21117
  input: {};
21760
21118
  output: {
21761
21119
  success: true;
21762
- cinvoice: {
21763
- id: string;
21764
- created_at: string;
21765
- invoiceId: string;
21766
- status: string;
21767
- workspaceId: string;
21768
- created_by: string;
21769
- customerId: string;
21770
- serviceId: string;
21771
- installment: boolean | null;
21772
- vatRate: number | null;
21773
- SellerBillingId: string;
21774
- date: string;
21775
- language: string;
21776
- currency: string;
21777
- vatOption: string;
21778
- unitName: string;
21779
- unitPrice: number;
21780
- unitQuantity: number;
21781
- subscription: boolean | null;
21782
- updated_at: string | null;
21783
- deleted_at: string | null;
21784
- verified_at: string | null;
21785
- suspended_at: string | null;
21786
- paidAt: string | null;
21787
- fullPayment: boolean | null;
21788
- notes: string | null;
21789
- buyerInn: string | null;
21790
- buyerKpp: string | null;
21791
- discount: number | null;
21792
- subscriptionStartDate: string | null;
21793
- subscriptionEndDate: string | null;
21794
- }[];
21120
+ cinvoice: import("hono/utils/types").JSONValue;
21795
21121
  };
21796
21122
  outputFormat: "json";
21797
21123
  status: 201;
@@ -21837,39 +21163,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21837
21163
  };
21838
21164
  output: {
21839
21165
  success: true;
21840
- cinvoices: {
21841
- updated_at: string | null;
21842
- deleted_at: string | null;
21843
- verified_at: string | null;
21844
- suspended_at: string | null;
21845
- created_at: string;
21846
- id: string;
21847
- workspaceId: string;
21848
- invoiceId: string;
21849
- serviceId: string;
21850
- SellerBillingId: string;
21851
- customerId: string;
21852
- date: string;
21853
- language: string;
21854
- currency: string;
21855
- vatOption: string;
21856
- vatRate: number | null;
21857
- buyerInn: string | null;
21858
- buyerKpp: string | null;
21859
- unitName: string;
21860
- unitPrice: number;
21861
- unitQuantity: number;
21862
- notes: string | null;
21863
- discount: number | null;
21864
- fullPayment: boolean | null;
21865
- installment: boolean | null;
21866
- subscription: boolean | null;
21867
- subscriptionStartDate: string | null;
21868
- subscriptionEndDate: string | null;
21869
- status: string;
21870
- paidAt: string | null;
21871
- created_by: string;
21872
- }[];
21166
+ cinvoices: import("hono/utils/types").JSONValue;
21873
21167
  };
21874
21168
  outputFormat: "json";
21875
21169
  status: 200;
@@ -21897,39 +21191,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21897
21191
  input: {};
21898
21192
  output: {
21899
21193
  success: true;
21900
- cinvoice: {
21901
- updated_at: string | null;
21902
- deleted_at: string | null;
21903
- verified_at: string | null;
21904
- suspended_at: string | null;
21905
- created_at: string;
21906
- id: string;
21907
- workspaceId: string;
21908
- invoiceId: string;
21909
- serviceId: string;
21910
- SellerBillingId: string;
21911
- customerId: string;
21912
- date: string;
21913
- language: string;
21914
- currency: string;
21915
- vatOption: string;
21916
- vatRate: number | null;
21917
- buyerInn: string | null;
21918
- buyerKpp: string | null;
21919
- unitName: string;
21920
- unitPrice: number;
21921
- unitQuantity: number;
21922
- notes: string | null;
21923
- discount: number | null;
21924
- fullPayment: boolean | null;
21925
- installment: boolean | null;
21926
- subscription: boolean | null;
21927
- subscriptionStartDate: string | null;
21928
- subscriptionEndDate: string | null;
21929
- status: string;
21930
- paidAt: string | null;
21931
- created_by: string;
21932
- }[];
21194
+ cinvoice: import("hono/utils/types").JSONValue;
21933
21195
  };
21934
21196
  outputFormat: "json";
21935
21197
  status: 200;
@@ -21984,20 +21246,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21984
21246
  input: {};
21985
21247
  output: {
21986
21248
  success: true;
21987
- history: {
21988
- id: string;
21989
- created_at: string;
21990
- workspaceId: string;
21991
- created_by: string;
21992
- customerId: string;
21993
- serviceId: string;
21994
- date: string;
21995
- updated_at: string | null;
21996
- deleted_at: string | null;
21997
- verified_at: string | null;
21998
- suspended_at: string | null;
21999
- notes: string | null;
22000
- }[];
21249
+ history: import("hono/utils/types").JSONValue;
22001
21250
  };
22002
21251
  outputFormat: "json";
22003
21252
  status: 201;
@@ -22043,26 +21292,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
22043
21292
  };
22044
21293
  output: {
22045
21294
  success: true;
22046
- history: {
22047
- createdBy: {
22048
- id: string;
22049
- firstName: string | null;
22050
- lastName: string | null;
22051
- profilePicture: string | null;
22052
- } | null;
22053
- updated_at: string | null;
22054
- deleted_at: string | null;
22055
- verified_at: string | null;
22056
- suspended_at: string | null;
22057
- created_at: string;
22058
- id: string;
22059
- workspaceId: string;
22060
- customerId: string;
22061
- serviceId: string;
22062
- notes: string | null;
22063
- date: string;
22064
- created_by: string;
22065
- }[];
21295
+ history: import("hono/utils/types").JSONValue;
22066
21296
  };
22067
21297
  outputFormat: "json";
22068
21298
  status: 200;
@@ -22090,20 +21320,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
22090
21320
  input: {};
22091
21321
  output: {
22092
21322
  success: true;
22093
- history: {
22094
- updated_at: string | null;
22095
- deleted_at: string | null;
22096
- verified_at: string | null;
22097
- suspended_at: string | null;
22098
- created_at: string;
22099
- id: string;
22100
- workspaceId: string;
22101
- customerId: string;
22102
- serviceId: string;
22103
- notes: string | null;
22104
- date: string;
22105
- created_by: string;
22106
- }[];
21323
+ history: import("hono/utils/types").JSONValue;
22107
21324
  };
22108
21325
  outputFormat: "json";
22109
21326
  status: 200;
@@ -22448,18 +21665,18 @@ declare const routes: import("hono/hono-base").HonoBase<{
22448
21665
  } | {
22449
21666
  input: {};
22450
21667
  output: {
22451
- success: true;
21668
+ success: false;
21669
+ error: string;
22452
21670
  };
22453
21671
  outputFormat: "json";
22454
- status: 200;
21672
+ status: 400;
22455
21673
  } | {
22456
21674
  input: {};
22457
21675
  output: {
22458
- success: false;
22459
- error: string;
21676
+ success: true;
22460
21677
  };
22461
21678
  outputFormat: "json";
22462
- status: 400;
21679
+ status: 200;
22463
21680
  };
22464
21681
  };
22465
21682
  } & {
@@ -22475,18 +21692,18 @@ declare const routes: import("hono/hono-base").HonoBase<{
22475
21692
  } | {
22476
21693
  input: {};
22477
21694
  output: {
22478
- success: true;
21695
+ success: false;
21696
+ error: string;
22479
21697
  };
22480
21698
  outputFormat: "json";
22481
- status: 200;
21699
+ status: 400;
22482
21700
  } | {
22483
21701
  input: {};
22484
21702
  output: {
22485
- success: false;
22486
- error: string;
21703
+ success: true;
22487
21704
  };
22488
21705
  outputFormat: "json";
22489
- status: 400;
21706
+ status: 200;
22490
21707
  };
22491
21708
  };
22492
21709
  } & {
@@ -26233,7 +25450,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
26233
25450
  error: string;
26234
25451
  };
26235
25452
  outputFormat: "json";
26236
- status: 404;
25453
+ status: 400;
26237
25454
  } | {
26238
25455
  input: {};
26239
25456
  output: {
@@ -26241,7 +25458,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
26241
25458
  error: string;
26242
25459
  };
26243
25460
  outputFormat: "json";
26244
- status: 400;
25461
+ status: 404;
26245
25462
  } | {
26246
25463
  input: {};
26247
25464
  output: {
@@ -26349,7 +25566,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
26349
25566
  error: string;
26350
25567
  };
26351
25568
  outputFormat: "json";
26352
- status: 404;
25569
+ status: 400;
26353
25570
  } | {
26354
25571
  input: {};
26355
25572
  output: {
@@ -26357,7 +25574,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
26357
25574
  error: string;
26358
25575
  };
26359
25576
  outputFormat: "json";
26360
- status: 400;
25577
+ status: 404;
26361
25578
  } | {
26362
25579
  input: {};
26363
25580
  output: {