@justins-home/api-services 1.2.33 → 1.2.35

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.mts CHANGED
@@ -3114,22 +3114,128 @@ declare const listings: {
3114
3114
  message?: string;
3115
3115
  event?: string | null;
3116
3116
  data?: {
3117
- sku?: string | null;
3118
- uid?: string | null;
3119
- listing_type?: string | null;
3120
- vertical?: string | null;
3121
- price?: string | null;
3122
- state?: string | null;
3123
- published_at?: string | null;
3124
- published_since?: string | null;
3117
+ sku?: string;
3118
+ uid?: string;
3119
+ details?: {
3120
+ title?: string;
3121
+ description?: string;
3122
+ city?: string;
3123
+ address?: string;
3124
+ postcode?: string;
3125
+ longitude?: string;
3126
+ latitude?: string;
3127
+ country?: string;
3128
+ };
3129
+ listing_type?: string;
3130
+ vertical?: string;
3131
+ price?: {
3132
+ amount?: string;
3133
+ currency?: string;
3134
+ period?: string;
3135
+ };
3136
+ viewing_slots?: {
3137
+ id?: number;
3138
+ day?: string;
3139
+ start_time?: string;
3140
+ end_time?: string;
3141
+ }[];
3142
+ owner?: {
3143
+ uid?: string;
3144
+ name?: string;
3145
+ phone?: string;
3146
+ email?: string;
3147
+ avatar?: string;
3148
+ plan?: {
3149
+ key?: string;
3150
+ name?: string;
3151
+ user_type?: string;
3152
+ is_active?: boolean;
3153
+ capabilities?: unknown[];
3154
+ entitlements?: unknown[];
3155
+ verification_requirements?: unknown[];
3156
+ };
3157
+ };
3158
+ created_by?: {
3159
+ uid?: string;
3160
+ name?: string;
3161
+ phone?: string;
3162
+ email?: string;
3163
+ avatar?: string;
3164
+ plan?: {
3165
+ key?: string;
3166
+ name?: string;
3167
+ user_type?: string;
3168
+ is_active?: boolean;
3169
+ capabilities?: unknown[];
3170
+ entitlements?: unknown[];
3171
+ verification_requirements?: unknown[];
3172
+ };
3173
+ };
3174
+ state?: string;
3175
+ published_at?: string;
3176
+ published_since?: string;
3125
3177
  is_visible?: boolean;
3126
- summary?: unknown[];
3127
- workflow?: unknown[];
3128
- media?: unknown[];
3129
- compliances?: unknown[];
3178
+ summary?: {
3179
+ property_type?: string;
3180
+ bedrooms?: number;
3181
+ bathrooms?: string | null;
3182
+ size?: string | null;
3183
+ availability?: string | null;
3184
+ };
3185
+ workflow?: {
3186
+ current_step?: string;
3187
+ can_submit?: boolean;
3188
+ missing_requirements?: unknown[];
3189
+ next_step?: string | null;
3190
+ progress?: {
3191
+ completed?: number;
3192
+ total?: number;
3193
+ percentage?: number;
3194
+ };
3195
+ };
3196
+ media?: {
3197
+ gallery?: {
3198
+ uid?: string;
3199
+ media_type?: string;
3200
+ storage_path?: string;
3201
+ order_index?: number;
3202
+ is_cover?: boolean;
3203
+ }[];
3204
+ cover?: string;
3205
+ count?: number;
3206
+ };
3207
+ tenant_preferences?: {
3208
+ key?: string;
3209
+ value?: string;
3210
+ }[];
3211
+ features?: {
3212
+ id?: number;
3213
+ category_id?: number;
3214
+ name?: string;
3215
+ description?: string;
3216
+ icon?: string;
3217
+ is_active?: boolean;
3218
+ is_filterable?: boolean;
3219
+ }[];
3220
+ compliances?: {
3221
+ id?: number;
3222
+ compliance_key?: string;
3223
+ name?: string;
3224
+ description?: string;
3225
+ enforcement_level?: string;
3226
+ validity_type?: string;
3227
+ grace_period_days?: string | null;
3228
+ status?: string;
3229
+ requirements?: string[];
3230
+ }[];
3130
3231
  compliance_status?: {
3131
3232
  overall?: string;
3132
- breakdown?: unknown[];
3233
+ breakdown?: {
3234
+ compliance_key?: string;
3235
+ compliance_name?: string;
3236
+ state?: string;
3237
+ valid_until?: string | null;
3238
+ }[];
3133
3239
  };
3134
3240
  };
3135
3241
  }>;
package/dist/index.d.ts CHANGED
@@ -3114,22 +3114,128 @@ declare const listings: {
3114
3114
  message?: string;
3115
3115
  event?: string | null;
3116
3116
  data?: {
3117
- sku?: string | null;
3118
- uid?: string | null;
3119
- listing_type?: string | null;
3120
- vertical?: string | null;
3121
- price?: string | null;
3122
- state?: string | null;
3123
- published_at?: string | null;
3124
- published_since?: string | null;
3117
+ sku?: string;
3118
+ uid?: string;
3119
+ details?: {
3120
+ title?: string;
3121
+ description?: string;
3122
+ city?: string;
3123
+ address?: string;
3124
+ postcode?: string;
3125
+ longitude?: string;
3126
+ latitude?: string;
3127
+ country?: string;
3128
+ };
3129
+ listing_type?: string;
3130
+ vertical?: string;
3131
+ price?: {
3132
+ amount?: string;
3133
+ currency?: string;
3134
+ period?: string;
3135
+ };
3136
+ viewing_slots?: {
3137
+ id?: number;
3138
+ day?: string;
3139
+ start_time?: string;
3140
+ end_time?: string;
3141
+ }[];
3142
+ owner?: {
3143
+ uid?: string;
3144
+ name?: string;
3145
+ phone?: string;
3146
+ email?: string;
3147
+ avatar?: string;
3148
+ plan?: {
3149
+ key?: string;
3150
+ name?: string;
3151
+ user_type?: string;
3152
+ is_active?: boolean;
3153
+ capabilities?: unknown[];
3154
+ entitlements?: unknown[];
3155
+ verification_requirements?: unknown[];
3156
+ };
3157
+ };
3158
+ created_by?: {
3159
+ uid?: string;
3160
+ name?: string;
3161
+ phone?: string;
3162
+ email?: string;
3163
+ avatar?: string;
3164
+ plan?: {
3165
+ key?: string;
3166
+ name?: string;
3167
+ user_type?: string;
3168
+ is_active?: boolean;
3169
+ capabilities?: unknown[];
3170
+ entitlements?: unknown[];
3171
+ verification_requirements?: unknown[];
3172
+ };
3173
+ };
3174
+ state?: string;
3175
+ published_at?: string;
3176
+ published_since?: string;
3125
3177
  is_visible?: boolean;
3126
- summary?: unknown[];
3127
- workflow?: unknown[];
3128
- media?: unknown[];
3129
- compliances?: unknown[];
3178
+ summary?: {
3179
+ property_type?: string;
3180
+ bedrooms?: number;
3181
+ bathrooms?: string | null;
3182
+ size?: string | null;
3183
+ availability?: string | null;
3184
+ };
3185
+ workflow?: {
3186
+ current_step?: string;
3187
+ can_submit?: boolean;
3188
+ missing_requirements?: unknown[];
3189
+ next_step?: string | null;
3190
+ progress?: {
3191
+ completed?: number;
3192
+ total?: number;
3193
+ percentage?: number;
3194
+ };
3195
+ };
3196
+ media?: {
3197
+ gallery?: {
3198
+ uid?: string;
3199
+ media_type?: string;
3200
+ storage_path?: string;
3201
+ order_index?: number;
3202
+ is_cover?: boolean;
3203
+ }[];
3204
+ cover?: string;
3205
+ count?: number;
3206
+ };
3207
+ tenant_preferences?: {
3208
+ key?: string;
3209
+ value?: string;
3210
+ }[];
3211
+ features?: {
3212
+ id?: number;
3213
+ category_id?: number;
3214
+ name?: string;
3215
+ description?: string;
3216
+ icon?: string;
3217
+ is_active?: boolean;
3218
+ is_filterable?: boolean;
3219
+ }[];
3220
+ compliances?: {
3221
+ id?: number;
3222
+ compliance_key?: string;
3223
+ name?: string;
3224
+ description?: string;
3225
+ enforcement_level?: string;
3226
+ validity_type?: string;
3227
+ grace_period_days?: string | null;
3228
+ status?: string;
3229
+ requirements?: string[];
3230
+ }[];
3130
3231
  compliance_status?: {
3131
3232
  overall?: string;
3132
- breakdown?: unknown[];
3233
+ breakdown?: {
3234
+ compliance_key?: string;
3235
+ compliance_name?: string;
3236
+ state?: string;
3237
+ valid_until?: string | null;
3238
+ }[];
3133
3239
  };
3134
3240
  };
3135
3241
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justins-home/api-services",
3
- "version": "1.2.33",
3
+ "version": "1.2.35",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16,8 +16,8 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@justins-home/http-client": "1.1.27",
20
- "@justins-home/types": "1.1.27"
19
+ "@justins-home/http-client": "1.1.29",
20
+ "@justins-home/types": "1.1.29"
21
21
  },
22
22
  "publishConfig": {
23
23
  "access": "public"