@mestra-dev/contract 0.0.81 → 0.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +515 -218
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2959,7 +2959,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
2959
2959
|
readonly required: readonly [
|
|
2960
2960
|
"id",
|
|
2961
2961
|
"workspaceId",
|
|
2962
|
-
"
|
|
2962
|
+
"title"
|
|
2963
2963
|
];
|
|
2964
2964
|
readonly properties: {
|
|
2965
2965
|
readonly id: {
|
|
@@ -2970,8 +2970,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
2970
2970
|
readonly type: "string";
|
|
2971
2971
|
readonly format: "uuid";
|
|
2972
2972
|
};
|
|
2973
|
-
readonly
|
|
2973
|
+
readonly title: {
|
|
2974
|
+
readonly type: "string";
|
|
2975
|
+
};
|
|
2976
|
+
readonly type: {
|
|
2977
|
+
readonly type: "string";
|
|
2978
|
+
readonly nullable: true;
|
|
2979
|
+
};
|
|
2980
|
+
readonly currency: {
|
|
2974
2981
|
readonly type: "string";
|
|
2982
|
+
readonly nullable: true;
|
|
2983
|
+
readonly enum: readonly [
|
|
2984
|
+
"USD",
|
|
2985
|
+
"EUR",
|
|
2986
|
+
"RUB"
|
|
2987
|
+
];
|
|
2975
2988
|
};
|
|
2976
2989
|
readonly description: {
|
|
2977
2990
|
readonly type: "string";
|
|
@@ -2981,36 +2994,196 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
2981
2994
|
readonly type: "integer";
|
|
2982
2995
|
readonly nullable: true;
|
|
2983
2996
|
};
|
|
2984
|
-
readonly
|
|
2985
|
-
readonly type: "
|
|
2997
|
+
readonly propertyType: {
|
|
2998
|
+
readonly type: "string";
|
|
2986
2999
|
readonly nullable: true;
|
|
2987
3000
|
};
|
|
2988
|
-
readonly
|
|
3001
|
+
readonly propertyStatus: {
|
|
2989
3002
|
readonly type: "string";
|
|
2990
3003
|
readonly nullable: true;
|
|
2991
|
-
readonly enum: readonly [
|
|
2992
|
-
"USD",
|
|
2993
|
-
"EUR",
|
|
2994
|
-
"RUB"
|
|
2995
|
-
];
|
|
2996
3004
|
};
|
|
2997
|
-
readonly
|
|
3005
|
+
readonly commercialType: {
|
|
2998
3006
|
readonly type: "string";
|
|
2999
3007
|
readonly nullable: true;
|
|
3000
|
-
readonly enum: readonly [
|
|
3001
|
-
"product",
|
|
3002
|
-
"service"
|
|
3003
|
-
];
|
|
3004
|
-
readonly description: "Product or service classification.";
|
|
3005
3008
|
};
|
|
3006
|
-
readonly
|
|
3009
|
+
readonly commercialClass: {
|
|
3010
|
+
readonly type: "string";
|
|
3011
|
+
readonly nullable: true;
|
|
3012
|
+
};
|
|
3013
|
+
readonly landType: {
|
|
3014
|
+
readonly type: "string";
|
|
3015
|
+
readonly nullable: true;
|
|
3016
|
+
};
|
|
3017
|
+
readonly ownershipType: {
|
|
3018
|
+
readonly type: "string";
|
|
3019
|
+
readonly nullable: true;
|
|
3020
|
+
};
|
|
3021
|
+
readonly loadingDockAccess: {
|
|
3022
|
+
readonly type: "boolean";
|
|
3023
|
+
readonly nullable: true;
|
|
3024
|
+
};
|
|
3025
|
+
readonly waterAccess: {
|
|
3026
|
+
readonly type: "boolean";
|
|
3027
|
+
readonly nullable: true;
|
|
3028
|
+
};
|
|
3029
|
+
readonly electricityAccess: {
|
|
3030
|
+
readonly type: "boolean";
|
|
3031
|
+
readonly nullable: true;
|
|
3032
|
+
};
|
|
3033
|
+
readonly gasAccess: {
|
|
3034
|
+
readonly type: "boolean";
|
|
3035
|
+
readonly nullable: true;
|
|
3036
|
+
};
|
|
3037
|
+
readonly sewageAccess: {
|
|
3007
3038
|
readonly type: "boolean";
|
|
3008
3039
|
readonly nullable: true;
|
|
3009
3040
|
};
|
|
3010
|
-
readonly
|
|
3041
|
+
readonly internetAccess: {
|
|
3042
|
+
readonly type: "boolean";
|
|
3043
|
+
readonly nullable: true;
|
|
3044
|
+
};
|
|
3045
|
+
readonly elevaorAccess: {
|
|
3046
|
+
readonly type: "boolean";
|
|
3047
|
+
readonly nullable: true;
|
|
3048
|
+
};
|
|
3049
|
+
readonly seprateEntrance: {
|
|
3050
|
+
readonly type: "boolean";
|
|
3051
|
+
readonly nullable: true;
|
|
3052
|
+
};
|
|
3053
|
+
readonly furnishedType: {
|
|
3054
|
+
readonly type: "string";
|
|
3055
|
+
readonly nullable: true;
|
|
3056
|
+
};
|
|
3057
|
+
readonly parkingType: {
|
|
3058
|
+
readonly type: "string";
|
|
3059
|
+
readonly nullable: true;
|
|
3060
|
+
};
|
|
3061
|
+
readonly balconyAccess: {
|
|
3062
|
+
readonly type: "boolean";
|
|
3063
|
+
readonly nullable: true;
|
|
3064
|
+
};
|
|
3065
|
+
readonly loggiaAccess: {
|
|
3066
|
+
readonly type: "boolean";
|
|
3067
|
+
readonly nullable: true;
|
|
3068
|
+
};
|
|
3069
|
+
readonly otherFeatures: {
|
|
3070
|
+
readonly type: "string";
|
|
3071
|
+
readonly nullable: true;
|
|
3072
|
+
};
|
|
3073
|
+
readonly fullPayment: {
|
|
3074
|
+
readonly type: "boolean";
|
|
3075
|
+
readonly nullable: true;
|
|
3076
|
+
};
|
|
3077
|
+
readonly mortgagePayment: {
|
|
3078
|
+
readonly type: "boolean";
|
|
3079
|
+
readonly nullable: true;
|
|
3080
|
+
};
|
|
3081
|
+
readonly installmentPayment: {
|
|
3082
|
+
readonly type: "boolean";
|
|
3083
|
+
readonly nullable: true;
|
|
3084
|
+
};
|
|
3085
|
+
readonly fullPaymentAmount: {
|
|
3086
|
+
readonly type: "integer";
|
|
3087
|
+
readonly nullable: true;
|
|
3088
|
+
};
|
|
3089
|
+
readonly mortgagePaymentAmount: {
|
|
3090
|
+
readonly type: "integer";
|
|
3091
|
+
readonly nullable: true;
|
|
3092
|
+
};
|
|
3093
|
+
readonly installmentPaymentAmount: {
|
|
3094
|
+
readonly type: "integer";
|
|
3095
|
+
readonly nullable: true;
|
|
3096
|
+
};
|
|
3097
|
+
readonly pricePerSquareMeter: {
|
|
3098
|
+
readonly type: "integer";
|
|
3099
|
+
readonly nullable: true;
|
|
3100
|
+
};
|
|
3101
|
+
readonly alternativeEURCurrency: {
|
|
3102
|
+
readonly type: "boolean";
|
|
3103
|
+
readonly nullable: true;
|
|
3104
|
+
};
|
|
3105
|
+
readonly alternativeRUBCurrency: {
|
|
3106
|
+
readonly type: "boolean";
|
|
3107
|
+
readonly nullable: true;
|
|
3108
|
+
};
|
|
3109
|
+
readonly alternativeUSDCurrency: {
|
|
3110
|
+
readonly type: "boolean";
|
|
3111
|
+
readonly nullable: true;
|
|
3112
|
+
};
|
|
3113
|
+
readonly estimatedDeliveryDate: {
|
|
3114
|
+
readonly type: "string";
|
|
3115
|
+
readonly format: "date-time";
|
|
3116
|
+
readonly nullable: true;
|
|
3117
|
+
};
|
|
3118
|
+
readonly roomsCount: {
|
|
3119
|
+
readonly type: "integer";
|
|
3120
|
+
readonly nullable: true;
|
|
3121
|
+
};
|
|
3122
|
+
readonly bathroomsCount: {
|
|
3123
|
+
readonly type: "integer";
|
|
3124
|
+
readonly nullable: true;
|
|
3125
|
+
};
|
|
3126
|
+
readonly bedroomsCount: {
|
|
3127
|
+
readonly type: "integer";
|
|
3128
|
+
readonly nullable: true;
|
|
3129
|
+
};
|
|
3130
|
+
readonly totalArea: {
|
|
3131
|
+
readonly type: "integer";
|
|
3132
|
+
readonly nullable: true;
|
|
3133
|
+
};
|
|
3134
|
+
readonly livingArea: {
|
|
3135
|
+
readonly type: "integer";
|
|
3136
|
+
readonly nullable: true;
|
|
3137
|
+
};
|
|
3138
|
+
readonly ceilingHeight: {
|
|
3139
|
+
readonly type: "integer";
|
|
3140
|
+
readonly nullable: true;
|
|
3141
|
+
};
|
|
3142
|
+
readonly floor: {
|
|
3143
|
+
readonly type: "integer";
|
|
3144
|
+
readonly nullable: true;
|
|
3145
|
+
};
|
|
3146
|
+
readonly totalFloors: {
|
|
3147
|
+
readonly type: "integer";
|
|
3148
|
+
readonly nullable: true;
|
|
3149
|
+
};
|
|
3150
|
+
readonly yearBuilt: {
|
|
3151
|
+
readonly type: "integer";
|
|
3152
|
+
readonly nullable: true;
|
|
3153
|
+
};
|
|
3154
|
+
readonly renovation: {
|
|
3155
|
+
readonly type: "string";
|
|
3156
|
+
readonly nullable: true;
|
|
3157
|
+
};
|
|
3158
|
+
readonly developerName: {
|
|
3159
|
+
readonly type: "string";
|
|
3160
|
+
readonly nullable: true;
|
|
3161
|
+
};
|
|
3162
|
+
readonly city: {
|
|
3163
|
+
readonly type: "string";
|
|
3164
|
+
readonly nullable: true;
|
|
3165
|
+
};
|
|
3166
|
+
readonly district: {
|
|
3167
|
+
readonly type: "string";
|
|
3168
|
+
readonly nullable: true;
|
|
3169
|
+
};
|
|
3170
|
+
readonly nearestMetroStation: {
|
|
3171
|
+
readonly type: "string";
|
|
3172
|
+
readonly nullable: true;
|
|
3173
|
+
};
|
|
3174
|
+
readonly fullAddress: {
|
|
3175
|
+
readonly type: "string";
|
|
3176
|
+
readonly nullable: true;
|
|
3177
|
+
};
|
|
3178
|
+
readonly latitude: {
|
|
3179
|
+
readonly type: "string";
|
|
3180
|
+
readonly nullable: true;
|
|
3181
|
+
readonly description: "Decimal degrees as a numeric string.";
|
|
3182
|
+
};
|
|
3183
|
+
readonly longitude: {
|
|
3011
3184
|
readonly type: "string";
|
|
3012
3185
|
readonly nullable: true;
|
|
3013
|
-
readonly description: "
|
|
3186
|
+
readonly description: "Decimal degrees as a numeric string.";
|
|
3014
3187
|
};
|
|
3015
3188
|
readonly created_at: {
|
|
3016
3189
|
readonly type: "string";
|
|
@@ -9167,7 +9340,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9167
9340
|
"Services"
|
|
9168
9341
|
];
|
|
9169
9342
|
readonly summary: "Create a new service";
|
|
9170
|
-
readonly description: "Creates a service in the specified workspace. Requires workspace access
|
|
9343
|
+
readonly description: "Creates a category-specific service in the specified workspace. Real-estate workspaces persist a listing on service_real_estates. Requires workspace access, write access to crm::services, and billing capacity for services.";
|
|
9171
9344
|
readonly security: readonly [
|
|
9172
9345
|
never
|
|
9173
9346
|
];
|
|
@@ -9179,13 +9352,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9179
9352
|
readonly type: "object";
|
|
9180
9353
|
readonly required: readonly [
|
|
9181
9354
|
"workspace",
|
|
9182
|
-
"
|
|
9183
|
-
"description",
|
|
9184
|
-
"price",
|
|
9185
|
-
"stock",
|
|
9186
|
-
"currency",
|
|
9187
|
-
"type",
|
|
9188
|
-
"active"
|
|
9355
|
+
"title"
|
|
9189
9356
|
];
|
|
9190
9357
|
readonly properties: {
|
|
9191
9358
|
readonly workspace: {
|
|
@@ -9193,21 +9360,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9193
9360
|
readonly format: "uuid";
|
|
9194
9361
|
readonly description: "Workspace identifier where the service is created.";
|
|
9195
9362
|
};
|
|
9196
|
-
readonly
|
|
9363
|
+
readonly title: {
|
|
9197
9364
|
readonly type: "string";
|
|
9198
|
-
readonly description: "
|
|
9365
|
+
readonly description: "Listing title.";
|
|
9199
9366
|
};
|
|
9200
|
-
readonly
|
|
9367
|
+
readonly type: {
|
|
9201
9368
|
readonly type: "string";
|
|
9202
|
-
readonly description: "Service description.";
|
|
9203
|
-
};
|
|
9204
|
-
readonly price: {
|
|
9205
|
-
readonly type: "number";
|
|
9206
|
-
readonly description: "Service price.";
|
|
9207
|
-
};
|
|
9208
|
-
readonly stock: {
|
|
9209
|
-
readonly type: "integer";
|
|
9210
|
-
readonly description: "Stock quantity.";
|
|
9211
9369
|
};
|
|
9212
9370
|
readonly currency: {
|
|
9213
9371
|
readonly type: "string";
|
|
@@ -9216,23 +9374,154 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9216
9374
|
"EUR",
|
|
9217
9375
|
"RUB"
|
|
9218
9376
|
];
|
|
9219
|
-
readonly description: "Currency code.";
|
|
9220
9377
|
};
|
|
9221
|
-
readonly
|
|
9378
|
+
readonly description: {
|
|
9222
9379
|
readonly type: "string";
|
|
9223
|
-
readonly enum: readonly [
|
|
9224
|
-
"product",
|
|
9225
|
-
"service"
|
|
9226
|
-
];
|
|
9227
|
-
readonly description: "Service type.";
|
|
9228
9380
|
};
|
|
9229
|
-
readonly
|
|
9381
|
+
readonly price: {
|
|
9382
|
+
readonly type: "number";
|
|
9383
|
+
};
|
|
9384
|
+
readonly propertyType: {
|
|
9385
|
+
readonly type: "string";
|
|
9386
|
+
};
|
|
9387
|
+
readonly propertyStatus: {
|
|
9388
|
+
readonly type: "string";
|
|
9389
|
+
};
|
|
9390
|
+
readonly commercialType: {
|
|
9391
|
+
readonly type: "string";
|
|
9392
|
+
};
|
|
9393
|
+
readonly commercialClass: {
|
|
9394
|
+
readonly type: "string";
|
|
9395
|
+
};
|
|
9396
|
+
readonly landType: {
|
|
9397
|
+
readonly type: "string";
|
|
9398
|
+
};
|
|
9399
|
+
readonly ownershipType: {
|
|
9400
|
+
readonly type: "string";
|
|
9401
|
+
};
|
|
9402
|
+
readonly loadingDockAccess: {
|
|
9403
|
+
readonly type: "boolean";
|
|
9404
|
+
};
|
|
9405
|
+
readonly waterAccess: {
|
|
9406
|
+
readonly type: "boolean";
|
|
9407
|
+
};
|
|
9408
|
+
readonly electricityAccess: {
|
|
9409
|
+
readonly type: "boolean";
|
|
9410
|
+
};
|
|
9411
|
+
readonly gasAccess: {
|
|
9412
|
+
readonly type: "boolean";
|
|
9413
|
+
};
|
|
9414
|
+
readonly sewageAccess: {
|
|
9415
|
+
readonly type: "boolean";
|
|
9416
|
+
};
|
|
9417
|
+
readonly internetAccess: {
|
|
9418
|
+
readonly type: "boolean";
|
|
9419
|
+
};
|
|
9420
|
+
readonly elevaorAccess: {
|
|
9230
9421
|
readonly type: "boolean";
|
|
9231
|
-
readonly description: "Whether the service is active.";
|
|
9232
9422
|
};
|
|
9233
|
-
readonly
|
|
9423
|
+
readonly seprateEntrance: {
|
|
9424
|
+
readonly type: "boolean";
|
|
9425
|
+
};
|
|
9426
|
+
readonly furnishedType: {
|
|
9427
|
+
readonly type: "string";
|
|
9428
|
+
};
|
|
9429
|
+
readonly parkingType: {
|
|
9430
|
+
readonly type: "string";
|
|
9431
|
+
};
|
|
9432
|
+
readonly balconyAccess: {
|
|
9433
|
+
readonly type: "boolean";
|
|
9434
|
+
};
|
|
9435
|
+
readonly loggiaAccess: {
|
|
9436
|
+
readonly type: "boolean";
|
|
9437
|
+
};
|
|
9438
|
+
readonly otherFeatures: {
|
|
9234
9439
|
readonly type: "string";
|
|
9235
|
-
|
|
9440
|
+
};
|
|
9441
|
+
readonly fullPayment: {
|
|
9442
|
+
readonly type: "boolean";
|
|
9443
|
+
};
|
|
9444
|
+
readonly mortgagePayment: {
|
|
9445
|
+
readonly type: "boolean";
|
|
9446
|
+
};
|
|
9447
|
+
readonly installmentPayment: {
|
|
9448
|
+
readonly type: "boolean";
|
|
9449
|
+
};
|
|
9450
|
+
readonly fullPaymentAmount: {
|
|
9451
|
+
readonly type: "number";
|
|
9452
|
+
};
|
|
9453
|
+
readonly mortgagePaymentAmount: {
|
|
9454
|
+
readonly type: "number";
|
|
9455
|
+
};
|
|
9456
|
+
readonly installmentPaymentAmount: {
|
|
9457
|
+
readonly type: "number";
|
|
9458
|
+
};
|
|
9459
|
+
readonly pricePerSquareMeter: {
|
|
9460
|
+
readonly type: "number";
|
|
9461
|
+
};
|
|
9462
|
+
readonly alternativeEURCurrency: {
|
|
9463
|
+
readonly type: "boolean";
|
|
9464
|
+
};
|
|
9465
|
+
readonly alternativeRUBCurrency: {
|
|
9466
|
+
readonly type: "boolean";
|
|
9467
|
+
};
|
|
9468
|
+
readonly alternativeUSDCurrency: {
|
|
9469
|
+
readonly type: "boolean";
|
|
9470
|
+
};
|
|
9471
|
+
readonly estimatedDeliveryDate: {
|
|
9472
|
+
readonly type: "string";
|
|
9473
|
+
readonly format: "date-time";
|
|
9474
|
+
};
|
|
9475
|
+
readonly roomsCount: {
|
|
9476
|
+
readonly type: "number";
|
|
9477
|
+
};
|
|
9478
|
+
readonly bathroomsCount: {
|
|
9479
|
+
readonly type: "number";
|
|
9480
|
+
};
|
|
9481
|
+
readonly bedroomsCount: {
|
|
9482
|
+
readonly type: "number";
|
|
9483
|
+
};
|
|
9484
|
+
readonly totalArea: {
|
|
9485
|
+
readonly type: "number";
|
|
9486
|
+
};
|
|
9487
|
+
readonly livingArea: {
|
|
9488
|
+
readonly type: "number";
|
|
9489
|
+
};
|
|
9490
|
+
readonly ceilingHeight: {
|
|
9491
|
+
readonly type: "number";
|
|
9492
|
+
};
|
|
9493
|
+
readonly floor: {
|
|
9494
|
+
readonly type: "number";
|
|
9495
|
+
};
|
|
9496
|
+
readonly totalFloors: {
|
|
9497
|
+
readonly type: "number";
|
|
9498
|
+
};
|
|
9499
|
+
readonly yearBuilt: {
|
|
9500
|
+
readonly type: "number";
|
|
9501
|
+
};
|
|
9502
|
+
readonly renovation: {
|
|
9503
|
+
readonly type: "string";
|
|
9504
|
+
};
|
|
9505
|
+
readonly developerName: {
|
|
9506
|
+
readonly type: "string";
|
|
9507
|
+
};
|
|
9508
|
+
readonly city: {
|
|
9509
|
+
readonly type: "string";
|
|
9510
|
+
};
|
|
9511
|
+
readonly district: {
|
|
9512
|
+
readonly type: "string";
|
|
9513
|
+
};
|
|
9514
|
+
readonly nearestMetroStation: {
|
|
9515
|
+
readonly type: "string";
|
|
9516
|
+
};
|
|
9517
|
+
readonly fullAddress: {
|
|
9518
|
+
readonly type: "string";
|
|
9519
|
+
};
|
|
9520
|
+
readonly latitude: {
|
|
9521
|
+
readonly type: "number";
|
|
9522
|
+
};
|
|
9523
|
+
readonly longitude: {
|
|
9524
|
+
readonly type: "number";
|
|
9236
9525
|
};
|
|
9237
9526
|
};
|
|
9238
9527
|
};
|
|
@@ -9415,129 +9704,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9415
9704
|
};
|
|
9416
9705
|
};
|
|
9417
9706
|
};
|
|
9418
|
-
readonly "/services/edit": {
|
|
9419
|
-
readonly post: {
|
|
9420
|
-
readonly tags: readonly [
|
|
9421
|
-
"Services"
|
|
9422
|
-
];
|
|
9423
|
-
readonly summary: "Edit a service";
|
|
9424
|
-
readonly description: "Updates a service in the specified workspace. Requires workspace access and write access to crm::services resource.";
|
|
9425
|
-
readonly security: readonly [
|
|
9426
|
-
never
|
|
9427
|
-
];
|
|
9428
|
-
readonly requestBody: {
|
|
9429
|
-
readonly required: true;
|
|
9430
|
-
readonly content: {
|
|
9431
|
-
readonly "application/json": {
|
|
9432
|
-
readonly schema: {
|
|
9433
|
-
readonly type: "object";
|
|
9434
|
-
readonly required: readonly [
|
|
9435
|
-
"serviceId",
|
|
9436
|
-
"workspace"
|
|
9437
|
-
];
|
|
9438
|
-
readonly properties: {
|
|
9439
|
-
readonly serviceId: {
|
|
9440
|
-
readonly type: "string";
|
|
9441
|
-
readonly format: "uuid";
|
|
9442
|
-
readonly description: "Service identifier to edit.";
|
|
9443
|
-
};
|
|
9444
|
-
readonly workspace: {
|
|
9445
|
-
readonly type: "string";
|
|
9446
|
-
readonly format: "uuid";
|
|
9447
|
-
readonly description: "Workspace identifier where the service belongs.";
|
|
9448
|
-
};
|
|
9449
|
-
readonly name: {
|
|
9450
|
-
readonly type: "string";
|
|
9451
|
-
readonly description: "Updated service name.";
|
|
9452
|
-
};
|
|
9453
|
-
readonly description: {
|
|
9454
|
-
readonly type: "string";
|
|
9455
|
-
readonly description: "Updated service description.";
|
|
9456
|
-
};
|
|
9457
|
-
readonly price: {
|
|
9458
|
-
readonly type: "number";
|
|
9459
|
-
readonly description: "Updated service price.";
|
|
9460
|
-
};
|
|
9461
|
-
readonly stock: {
|
|
9462
|
-
readonly type: "integer";
|
|
9463
|
-
readonly description: "Updated stock quantity.";
|
|
9464
|
-
};
|
|
9465
|
-
readonly currency: {
|
|
9466
|
-
readonly type: "string";
|
|
9467
|
-
readonly enum: readonly [
|
|
9468
|
-
"USD",
|
|
9469
|
-
"EUR",
|
|
9470
|
-
"RUB"
|
|
9471
|
-
];
|
|
9472
|
-
readonly description: "Updated currency code.";
|
|
9473
|
-
};
|
|
9474
|
-
readonly active: {
|
|
9475
|
-
readonly type: "boolean";
|
|
9476
|
-
readonly description: "Updated active status.";
|
|
9477
|
-
};
|
|
9478
|
-
readonly qrCode: {
|
|
9479
|
-
readonly type: "string";
|
|
9480
|
-
readonly description: "Updated QR code payload or URL.";
|
|
9481
|
-
};
|
|
9482
|
-
};
|
|
9483
|
-
};
|
|
9484
|
-
};
|
|
9485
|
-
};
|
|
9486
|
-
};
|
|
9487
|
-
readonly responses: {
|
|
9488
|
-
readonly 200: {
|
|
9489
|
-
readonly description: "Service updated successfully.";
|
|
9490
|
-
readonly content: {
|
|
9491
|
-
readonly "application/json": {
|
|
9492
|
-
readonly schema: {
|
|
9493
|
-
readonly $ref: "#/components/schemas/SimpleSuccess";
|
|
9494
|
-
};
|
|
9495
|
-
};
|
|
9496
|
-
};
|
|
9497
|
-
};
|
|
9498
|
-
readonly 400: {
|
|
9499
|
-
readonly description: "Invalid request payload.";
|
|
9500
|
-
readonly content: {
|
|
9501
|
-
readonly "application/json": {
|
|
9502
|
-
readonly schema: {
|
|
9503
|
-
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9504
|
-
};
|
|
9505
|
-
};
|
|
9506
|
-
};
|
|
9507
|
-
};
|
|
9508
|
-
readonly 401: {
|
|
9509
|
-
readonly description: "Unauthorized - Missing or invalid access token.";
|
|
9510
|
-
readonly content: {
|
|
9511
|
-
readonly "application/json": {
|
|
9512
|
-
readonly schema: {
|
|
9513
|
-
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9514
|
-
};
|
|
9515
|
-
};
|
|
9516
|
-
};
|
|
9517
|
-
};
|
|
9518
|
-
readonly 403: {
|
|
9519
|
-
readonly description: "Forbidden - Token issuer is not 'access', user lacks workspace access, or user lacks write access to crm::services resource.";
|
|
9520
|
-
readonly content: {
|
|
9521
|
-
readonly "application/json": {
|
|
9522
|
-
readonly schema: {
|
|
9523
|
-
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9524
|
-
};
|
|
9525
|
-
};
|
|
9526
|
-
};
|
|
9527
|
-
};
|
|
9528
|
-
readonly 404: {
|
|
9529
|
-
readonly description: "Service not found.";
|
|
9530
|
-
readonly content: {
|
|
9531
|
-
readonly "application/json": {
|
|
9532
|
-
readonly schema: {
|
|
9533
|
-
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
9534
|
-
};
|
|
9535
|
-
};
|
|
9536
|
-
};
|
|
9537
|
-
};
|
|
9538
|
-
};
|
|
9539
|
-
};
|
|
9540
|
-
};
|
|
9541
9707
|
readonly "/services/delete": {
|
|
9542
9708
|
readonly post: {
|
|
9543
9709
|
readonly tags: readonly [
|
|
@@ -14602,7 +14768,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14602
14768
|
input: {};
|
|
14603
14769
|
output: {
|
|
14604
14770
|
success: false;
|
|
14605
|
-
error:
|
|
14771
|
+
error: string;
|
|
14606
14772
|
};
|
|
14607
14773
|
outputFormat: "json";
|
|
14608
14774
|
status: 400;
|
|
@@ -14612,20 +14778,64 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14612
14778
|
success: true;
|
|
14613
14779
|
service: {
|
|
14614
14780
|
id: string;
|
|
14781
|
+
title: string;
|
|
14615
14782
|
type: string | null;
|
|
14616
14783
|
created_at: string;
|
|
14617
|
-
name: string;
|
|
14618
|
-
active: boolean | null;
|
|
14619
14784
|
workspaceId: string;
|
|
14620
14785
|
description: string | null;
|
|
14621
14786
|
price: number | null;
|
|
14622
14787
|
currency: string | null;
|
|
14623
|
-
stock: number | null;
|
|
14624
14788
|
updated_at: string | null;
|
|
14625
14789
|
deleted_at: string | null;
|
|
14626
14790
|
verified_at: string | null;
|
|
14627
14791
|
suspended_at: string | null;
|
|
14628
|
-
|
|
14792
|
+
propertyType: string | null;
|
|
14793
|
+
propertyStatus: string | null;
|
|
14794
|
+
commercialType: string | null;
|
|
14795
|
+
commercialClass: string | null;
|
|
14796
|
+
landType: string | null;
|
|
14797
|
+
ownershipType: string | null;
|
|
14798
|
+
loadingDockAccess: boolean | null;
|
|
14799
|
+
waterAccess: boolean | null;
|
|
14800
|
+
electricityAccess: boolean | null;
|
|
14801
|
+
gasAccess: boolean | null;
|
|
14802
|
+
sewageAccess: boolean | null;
|
|
14803
|
+
internetAccess: boolean | null;
|
|
14804
|
+
elevaorAccess: boolean | null;
|
|
14805
|
+
seprateEntrance: boolean | null;
|
|
14806
|
+
furnishedType: string | null;
|
|
14807
|
+
parkingType: string | null;
|
|
14808
|
+
balconyAccess: boolean | null;
|
|
14809
|
+
loggiaAccess: boolean | null;
|
|
14810
|
+
otherFeatures: string | null;
|
|
14811
|
+
fullPayment: boolean | null;
|
|
14812
|
+
mortgagePayment: boolean | null;
|
|
14813
|
+
installmentPayment: boolean | null;
|
|
14814
|
+
fullPaymentAmount: number | null;
|
|
14815
|
+
mortgagePaymentAmount: number | null;
|
|
14816
|
+
installmentPaymentAmount: number | null;
|
|
14817
|
+
pricePerSquareMeter: number | null;
|
|
14818
|
+
alternativeEURCurrency: boolean | null;
|
|
14819
|
+
alternativeRUBCurrency: boolean | null;
|
|
14820
|
+
alternativeUSDCurrency: boolean | null;
|
|
14821
|
+
estimatedDeliveryDate: string | null;
|
|
14822
|
+
roomsCount: number | null;
|
|
14823
|
+
bathroomsCount: number | null;
|
|
14824
|
+
bedroomsCount: number | null;
|
|
14825
|
+
totalArea: number | null;
|
|
14826
|
+
livingArea: number | null;
|
|
14827
|
+
ceilingHeight: number | null;
|
|
14828
|
+
floor: number | null;
|
|
14829
|
+
totalFloors: number | null;
|
|
14830
|
+
yearBuilt: number | null;
|
|
14831
|
+
renovation: string | null;
|
|
14832
|
+
developerName: string | null;
|
|
14833
|
+
city: string | null;
|
|
14834
|
+
district: string | null;
|
|
14835
|
+
nearestMetroStation: string | null;
|
|
14836
|
+
fullAddress: string | null;
|
|
14837
|
+
latitude: string | null;
|
|
14838
|
+
longitude: string | null;
|
|
14629
14839
|
}[];
|
|
14630
14840
|
};
|
|
14631
14841
|
outputFormat: "json";
|
|
@@ -14635,6 +14845,18 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14635
14845
|
} & {
|
|
14636
14846
|
"/list/:workspace": {
|
|
14637
14847
|
$get: {
|
|
14848
|
+
input: {
|
|
14849
|
+
param: {
|
|
14850
|
+
workspace: string;
|
|
14851
|
+
};
|
|
14852
|
+
};
|
|
14853
|
+
output: {
|
|
14854
|
+
success: false;
|
|
14855
|
+
error: string;
|
|
14856
|
+
};
|
|
14857
|
+
outputFormat: "json";
|
|
14858
|
+
status: 400;
|
|
14859
|
+
} | {
|
|
14638
14860
|
input: {
|
|
14639
14861
|
param: {
|
|
14640
14862
|
workspace: string;
|
|
@@ -14650,14 +14872,58 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14650
14872
|
created_at: string;
|
|
14651
14873
|
id: string;
|
|
14652
14874
|
workspaceId: string;
|
|
14653
|
-
|
|
14654
|
-
description: string | null;
|
|
14655
|
-
stock: number | null;
|
|
14656
|
-
currency: string | null;
|
|
14875
|
+
title: string;
|
|
14657
14876
|
type: string | null;
|
|
14658
|
-
|
|
14877
|
+
currency: string | null;
|
|
14878
|
+
description: string | null;
|
|
14659
14879
|
price: number | null;
|
|
14660
|
-
|
|
14880
|
+
propertyType: string | null;
|
|
14881
|
+
propertyStatus: string | null;
|
|
14882
|
+
commercialType: string | null;
|
|
14883
|
+
commercialClass: string | null;
|
|
14884
|
+
landType: string | null;
|
|
14885
|
+
ownershipType: string | null;
|
|
14886
|
+
loadingDockAccess: boolean | null;
|
|
14887
|
+
waterAccess: boolean | null;
|
|
14888
|
+
electricityAccess: boolean | null;
|
|
14889
|
+
gasAccess: boolean | null;
|
|
14890
|
+
sewageAccess: boolean | null;
|
|
14891
|
+
internetAccess: boolean | null;
|
|
14892
|
+
elevaorAccess: boolean | null;
|
|
14893
|
+
seprateEntrance: boolean | null;
|
|
14894
|
+
furnishedType: string | null;
|
|
14895
|
+
parkingType: string | null;
|
|
14896
|
+
balconyAccess: boolean | null;
|
|
14897
|
+
loggiaAccess: boolean | null;
|
|
14898
|
+
otherFeatures: string | null;
|
|
14899
|
+
fullPayment: boolean | null;
|
|
14900
|
+
mortgagePayment: boolean | null;
|
|
14901
|
+
installmentPayment: boolean | null;
|
|
14902
|
+
fullPaymentAmount: number | null;
|
|
14903
|
+
mortgagePaymentAmount: number | null;
|
|
14904
|
+
installmentPaymentAmount: number | null;
|
|
14905
|
+
pricePerSquareMeter: number | null;
|
|
14906
|
+
alternativeEURCurrency: boolean | null;
|
|
14907
|
+
alternativeRUBCurrency: boolean | null;
|
|
14908
|
+
alternativeUSDCurrency: boolean | null;
|
|
14909
|
+
estimatedDeliveryDate: string | null;
|
|
14910
|
+
roomsCount: number | null;
|
|
14911
|
+
bathroomsCount: number | null;
|
|
14912
|
+
bedroomsCount: number | null;
|
|
14913
|
+
totalArea: number | null;
|
|
14914
|
+
livingArea: number | null;
|
|
14915
|
+
ceilingHeight: number | null;
|
|
14916
|
+
floor: number | null;
|
|
14917
|
+
totalFloors: number | null;
|
|
14918
|
+
yearBuilt: number | null;
|
|
14919
|
+
renovation: string | null;
|
|
14920
|
+
developerName: string | null;
|
|
14921
|
+
city: string | null;
|
|
14922
|
+
district: string | null;
|
|
14923
|
+
nearestMetroStation: string | null;
|
|
14924
|
+
fullAddress: string | null;
|
|
14925
|
+
latitude: string | null;
|
|
14926
|
+
longitude: string | null;
|
|
14661
14927
|
}[];
|
|
14662
14928
|
};
|
|
14663
14929
|
outputFormat: "json";
|
|
@@ -14667,6 +14933,20 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14667
14933
|
} & {
|
|
14668
14934
|
"/get/:workspace/:serviceId": {
|
|
14669
14935
|
$get: {
|
|
14936
|
+
input: {
|
|
14937
|
+
param: {
|
|
14938
|
+
workspace: string;
|
|
14939
|
+
} & {
|
|
14940
|
+
serviceId: string;
|
|
14941
|
+
};
|
|
14942
|
+
};
|
|
14943
|
+
output: {
|
|
14944
|
+
success: false;
|
|
14945
|
+
error: string;
|
|
14946
|
+
};
|
|
14947
|
+
outputFormat: "json";
|
|
14948
|
+
status: 400;
|
|
14949
|
+
} | {
|
|
14670
14950
|
input: {
|
|
14671
14951
|
param: {
|
|
14672
14952
|
workspace: string;
|
|
@@ -14698,14 +14978,58 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14698
14978
|
created_at: string;
|
|
14699
14979
|
id: string;
|
|
14700
14980
|
workspaceId: string;
|
|
14701
|
-
|
|
14702
|
-
description: string | null;
|
|
14703
|
-
stock: number | null;
|
|
14704
|
-
currency: string | null;
|
|
14981
|
+
title: string;
|
|
14705
14982
|
type: string | null;
|
|
14706
|
-
|
|
14983
|
+
currency: string | null;
|
|
14984
|
+
description: string | null;
|
|
14707
14985
|
price: number | null;
|
|
14708
|
-
|
|
14986
|
+
propertyType: string | null;
|
|
14987
|
+
propertyStatus: string | null;
|
|
14988
|
+
commercialType: string | null;
|
|
14989
|
+
commercialClass: string | null;
|
|
14990
|
+
landType: string | null;
|
|
14991
|
+
ownershipType: string | null;
|
|
14992
|
+
loadingDockAccess: boolean | null;
|
|
14993
|
+
waterAccess: boolean | null;
|
|
14994
|
+
electricityAccess: boolean | null;
|
|
14995
|
+
gasAccess: boolean | null;
|
|
14996
|
+
sewageAccess: boolean | null;
|
|
14997
|
+
internetAccess: boolean | null;
|
|
14998
|
+
elevaorAccess: boolean | null;
|
|
14999
|
+
seprateEntrance: boolean | null;
|
|
15000
|
+
furnishedType: string | null;
|
|
15001
|
+
parkingType: string | null;
|
|
15002
|
+
balconyAccess: boolean | null;
|
|
15003
|
+
loggiaAccess: boolean | null;
|
|
15004
|
+
otherFeatures: string | null;
|
|
15005
|
+
fullPayment: boolean | null;
|
|
15006
|
+
mortgagePayment: boolean | null;
|
|
15007
|
+
installmentPayment: boolean | null;
|
|
15008
|
+
fullPaymentAmount: number | null;
|
|
15009
|
+
mortgagePaymentAmount: number | null;
|
|
15010
|
+
installmentPaymentAmount: number | null;
|
|
15011
|
+
pricePerSquareMeter: number | null;
|
|
15012
|
+
alternativeEURCurrency: boolean | null;
|
|
15013
|
+
alternativeRUBCurrency: boolean | null;
|
|
15014
|
+
alternativeUSDCurrency: boolean | null;
|
|
15015
|
+
estimatedDeliveryDate: string | null;
|
|
15016
|
+
roomsCount: number | null;
|
|
15017
|
+
bathroomsCount: number | null;
|
|
15018
|
+
bedroomsCount: number | null;
|
|
15019
|
+
totalArea: number | null;
|
|
15020
|
+
livingArea: number | null;
|
|
15021
|
+
ceilingHeight: number | null;
|
|
15022
|
+
floor: number | null;
|
|
15023
|
+
totalFloors: number | null;
|
|
15024
|
+
yearBuilt: number | null;
|
|
15025
|
+
renovation: string | null;
|
|
15026
|
+
developerName: string | null;
|
|
15027
|
+
city: string | null;
|
|
15028
|
+
district: string | null;
|
|
15029
|
+
nearestMetroStation: string | null;
|
|
15030
|
+
fullAddress: string | null;
|
|
15031
|
+
latitude: string | null;
|
|
15032
|
+
longitude: string | null;
|
|
14709
15033
|
};
|
|
14710
15034
|
};
|
|
14711
15035
|
outputFormat: "json";
|
|
@@ -14715,14 +15039,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14715
15039
|
} & {
|
|
14716
15040
|
"/delete": {
|
|
14717
15041
|
$post: {
|
|
14718
|
-
input: {};
|
|
14719
|
-
output: {
|
|
14720
|
-
success: false;
|
|
14721
|
-
error: never;
|
|
14722
|
-
};
|
|
14723
|
-
outputFormat: "json";
|
|
14724
|
-
status: 400;
|
|
14725
|
-
} | {
|
|
14726
15042
|
input: {};
|
|
14727
15043
|
output: {
|
|
14728
15044
|
success: false;
|
|
@@ -14730,25 +15046,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14730
15046
|
};
|
|
14731
15047
|
outputFormat: "json";
|
|
14732
15048
|
status: 404;
|
|
14733
|
-
} | {
|
|
14734
|
-
input: {};
|
|
14735
|
-
output: {
|
|
14736
|
-
success: true;
|
|
14737
|
-
};
|
|
14738
|
-
outputFormat: "json";
|
|
14739
|
-
status: 200;
|
|
14740
|
-
};
|
|
14741
|
-
};
|
|
14742
|
-
} & {
|
|
14743
|
-
"/edit": {
|
|
14744
|
-
$post: {
|
|
14745
|
-
input: {};
|
|
14746
|
-
output: {
|
|
14747
|
-
success: false;
|
|
14748
|
-
error: never;
|
|
14749
|
-
};
|
|
14750
|
-
outputFormat: "json";
|
|
14751
|
-
status: 400;
|
|
14752
15049
|
} | {
|
|
14753
15050
|
input: {};
|
|
14754
15051
|
output: {
|
|
@@ -14756,7 +15053,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14756
15053
|
error: string;
|
|
14757
15054
|
};
|
|
14758
15055
|
outputFormat: "json";
|
|
14759
|
-
status:
|
|
15056
|
+
status: 400;
|
|
14760
15057
|
} | {
|
|
14761
15058
|
input: {};
|
|
14762
15059
|
output: {
|