@justins-home/api-services 1.2.33 → 1.2.34

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,84 @@ 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
+ };
3146
+ created_by?: {
3147
+ uid?: string;
3148
+ name?: string;
3149
+ };
3150
+ state?: string;
3151
+ published_at?: string;
3152
+ published_since?: string;
3125
3153
  is_visible?: boolean;
3126
- summary?: unknown[];
3127
- workflow?: unknown[];
3128
- media?: unknown[];
3129
- compliances?: unknown[];
3154
+ summary?: {
3155
+ property_type?: string;
3156
+ bedrooms?: number;
3157
+ bathrooms?: string | null;
3158
+ size?: string | null;
3159
+ availability?: string | null;
3160
+ };
3161
+ workflow?: {
3162
+ current_step?: string;
3163
+ can_submit?: boolean;
3164
+ missing_requirements?: unknown[];
3165
+ next_step?: string | null;
3166
+ progress?: {
3167
+ completed?: number;
3168
+ total?: number;
3169
+ percentage?: number;
3170
+ };
3171
+ };
3172
+ media?: {
3173
+ cover?: string;
3174
+ count?: number;
3175
+ };
3176
+ compliances?: {
3177
+ id?: number;
3178
+ compliance_key?: string;
3179
+ name?: string;
3180
+ description?: string;
3181
+ enforcement_level?: string;
3182
+ validity_type?: string;
3183
+ grace_period_days?: string | null;
3184
+ status?: string;
3185
+ requirements?: string[];
3186
+ }[];
3130
3187
  compliance_status?: {
3131
3188
  overall?: string;
3132
- breakdown?: unknown[];
3189
+ breakdown?: {
3190
+ compliance_key?: string;
3191
+ compliance_name?: string;
3192
+ state?: string;
3193
+ valid_until?: string | null;
3194
+ }[];
3133
3195
  };
3134
3196
  };
3135
3197
  }>;
package/dist/index.d.ts CHANGED
@@ -3114,22 +3114,84 @@ 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
+ };
3146
+ created_by?: {
3147
+ uid?: string;
3148
+ name?: string;
3149
+ };
3150
+ state?: string;
3151
+ published_at?: string;
3152
+ published_since?: string;
3125
3153
  is_visible?: boolean;
3126
- summary?: unknown[];
3127
- workflow?: unknown[];
3128
- media?: unknown[];
3129
- compliances?: unknown[];
3154
+ summary?: {
3155
+ property_type?: string;
3156
+ bedrooms?: number;
3157
+ bathrooms?: string | null;
3158
+ size?: string | null;
3159
+ availability?: string | null;
3160
+ };
3161
+ workflow?: {
3162
+ current_step?: string;
3163
+ can_submit?: boolean;
3164
+ missing_requirements?: unknown[];
3165
+ next_step?: string | null;
3166
+ progress?: {
3167
+ completed?: number;
3168
+ total?: number;
3169
+ percentage?: number;
3170
+ };
3171
+ };
3172
+ media?: {
3173
+ cover?: string;
3174
+ count?: number;
3175
+ };
3176
+ compliances?: {
3177
+ id?: number;
3178
+ compliance_key?: string;
3179
+ name?: string;
3180
+ description?: string;
3181
+ enforcement_level?: string;
3182
+ validity_type?: string;
3183
+ grace_period_days?: string | null;
3184
+ status?: string;
3185
+ requirements?: string[];
3186
+ }[];
3130
3187
  compliance_status?: {
3131
3188
  overall?: string;
3132
- breakdown?: unknown[];
3189
+ breakdown?: {
3190
+ compliance_key?: string;
3191
+ compliance_name?: string;
3192
+ state?: string;
3193
+ valid_until?: string | null;
3194
+ }[];
3133
3195
  };
3134
3196
  };
3135
3197
  }>;
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.34",
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.28",
20
+ "@justins-home/types": "1.1.28"
21
21
  },
22
22
  "publishConfig": {
23
23
  "access": "public"