@mestra-dev/contract 0.0.82 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +45 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3058,6 +3058,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
3058
3058
  readonly type: "string";
3059
3059
  readonly nullable: true;
3060
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
+ };
3061
3069
  readonly otherFeatures: {
3062
3070
  readonly type: "string";
3063
3071
  readonly nullable: true;
@@ -3102,6 +3110,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
3102
3110
  readonly type: "boolean";
3103
3111
  readonly nullable: true;
3104
3112
  };
3113
+ readonly estimatedDeliveryDate: {
3114
+ readonly type: "string";
3115
+ readonly format: "date-time";
3116
+ readonly nullable: true;
3117
+ };
3105
3118
  readonly roomsCount: {
3106
3119
  readonly type: "integer";
3107
3120
  readonly nullable: true;
@@ -3142,6 +3155,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
3142
3155
  readonly type: "string";
3143
3156
  readonly nullable: true;
3144
3157
  };
3158
+ readonly developerName: {
3159
+ readonly type: "string";
3160
+ readonly nullable: true;
3161
+ };
3145
3162
  readonly city: {
3146
3163
  readonly type: "string";
3147
3164
  readonly nullable: true;
@@ -5996,7 +6013,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
5996
6013
  "Workspace"
5997
6014
  ];
5998
6015
  readonly summary: "Update workspace policies for a collaborator";
5999
- readonly description: "Updates the resource permissions for a collaborator in a workspace. Requires write access to crm::general resource.";
6016
+ readonly description: "Updates the resource permissions for a collaborator or pending invitation. Send `collaboratorId` from GET /workspace/policies/{workspace}: that field is `invitations.id` for an unregistered email, or `collaborators.id` for a registered user. Email-only invites store grants on the invitation until signup; pending collaborators get policy rows updated as well. Requires write access to crm::general.";
6000
6017
  readonly security: readonly [
6001
6018
  never
6002
6019
  ];
@@ -6015,7 +6032,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6015
6032
  readonly collaboratorId: {
6016
6033
  readonly type: "string";
6017
6034
  readonly format: "uuid";
6018
- readonly description: "Collaborator row ID (`collaborators.id`) whose policies are being updated.";
6035
+ readonly description: "ID from GET /workspace/policies/{workspace}: `invitations.id` for an unregistered email, or `collaborators.id` for a registered user.";
6019
6036
  };
6020
6037
  readonly resources: {
6021
6038
  readonly type: "array";
@@ -6047,7 +6064,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6047
6064
  };
6048
6065
  };
6049
6066
  readonly 400: {
6050
- readonly description: "Invalid request payload, user is not a collaborator, or policies cannot be changed for the workspace owner.";
6067
+ readonly description: "Invalid request payload, id is not a collaborator or pending invitation, or policies cannot be changed for the workspace owner.";
6051
6068
  readonly content: {
6052
6069
  readonly "application/json": {
6053
6070
  readonly schema: {
@@ -9412,6 +9429,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
9412
9429
  readonly parkingType: {
9413
9430
  readonly type: "string";
9414
9431
  };
9432
+ readonly balconyAccess: {
9433
+ readonly type: "boolean";
9434
+ };
9435
+ readonly loggiaAccess: {
9436
+ readonly type: "boolean";
9437
+ };
9415
9438
  readonly otherFeatures: {
9416
9439
  readonly type: "string";
9417
9440
  };
@@ -9445,6 +9468,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
9445
9468
  readonly alternativeUSDCurrency: {
9446
9469
  readonly type: "boolean";
9447
9470
  };
9471
+ readonly estimatedDeliveryDate: {
9472
+ readonly type: "string";
9473
+ readonly format: "date-time";
9474
+ };
9448
9475
  readonly roomsCount: {
9449
9476
  readonly type: "number";
9450
9477
  };
@@ -9475,6 +9502,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
9475
9502
  readonly renovation: {
9476
9503
  readonly type: "string";
9477
9504
  };
9505
+ readonly developerName: {
9506
+ readonly type: "string";
9507
+ };
9478
9508
  readonly city: {
9479
9509
  readonly type: "string";
9480
9510
  };
@@ -14775,6 +14805,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
14775
14805
  seprateEntrance: boolean | null;
14776
14806
  furnishedType: string | null;
14777
14807
  parkingType: string | null;
14808
+ balconyAccess: boolean | null;
14809
+ loggiaAccess: boolean | null;
14778
14810
  otherFeatures: string | null;
14779
14811
  fullPayment: boolean | null;
14780
14812
  mortgagePayment: boolean | null;
@@ -14786,6 +14818,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14786
14818
  alternativeEURCurrency: boolean | null;
14787
14819
  alternativeRUBCurrency: boolean | null;
14788
14820
  alternativeUSDCurrency: boolean | null;
14821
+ estimatedDeliveryDate: string | null;
14789
14822
  roomsCount: number | null;
14790
14823
  bathroomsCount: number | null;
14791
14824
  bedroomsCount: number | null;
@@ -14796,6 +14829,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14796
14829
  totalFloors: number | null;
14797
14830
  yearBuilt: number | null;
14798
14831
  renovation: string | null;
14832
+ developerName: string | null;
14799
14833
  city: string | null;
14800
14834
  district: string | null;
14801
14835
  nearestMetroStation: string | null;
@@ -14859,6 +14893,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
14859
14893
  seprateEntrance: boolean | null;
14860
14894
  furnishedType: string | null;
14861
14895
  parkingType: string | null;
14896
+ balconyAccess: boolean | null;
14897
+ loggiaAccess: boolean | null;
14862
14898
  otherFeatures: string | null;
14863
14899
  fullPayment: boolean | null;
14864
14900
  mortgagePayment: boolean | null;
@@ -14870,6 +14906,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14870
14906
  alternativeEURCurrency: boolean | null;
14871
14907
  alternativeRUBCurrency: boolean | null;
14872
14908
  alternativeUSDCurrency: boolean | null;
14909
+ estimatedDeliveryDate: string | null;
14873
14910
  roomsCount: number | null;
14874
14911
  bathroomsCount: number | null;
14875
14912
  bedroomsCount: number | null;
@@ -14880,6 +14917,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14880
14917
  totalFloors: number | null;
14881
14918
  yearBuilt: number | null;
14882
14919
  renovation: string | null;
14920
+ developerName: string | null;
14883
14921
  city: string | null;
14884
14922
  district: string | null;
14885
14923
  nearestMetroStation: string | null;
@@ -14961,6 +14999,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
14961
14999
  seprateEntrance: boolean | null;
14962
15000
  furnishedType: string | null;
14963
15001
  parkingType: string | null;
15002
+ balconyAccess: boolean | null;
15003
+ loggiaAccess: boolean | null;
14964
15004
  otherFeatures: string | null;
14965
15005
  fullPayment: boolean | null;
14966
15006
  mortgagePayment: boolean | null;
@@ -14972,6 +15012,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14972
15012
  alternativeEURCurrency: boolean | null;
14973
15013
  alternativeRUBCurrency: boolean | null;
14974
15014
  alternativeUSDCurrency: boolean | null;
15015
+ estimatedDeliveryDate: string | null;
14975
15016
  roomsCount: number | null;
14976
15017
  bathroomsCount: number | null;
14977
15018
  bedroomsCount: number | null;
@@ -14982,6 +15023,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
14982
15023
  totalFloors: number | null;
14983
15024
  yearBuilt: number | null;
14984
15025
  renovation: string | null;
15026
+ developerName: string | null;
14985
15027
  city: string | null;
14986
15028
  district: string | null;
14987
15029
  nearestMetroStation: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,