@justins-home/api-services 1.2.36 → 1.2.37

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,8 +3114,9 @@ declare const listings: {
3114
3114
  message?: string;
3115
3115
  event?: string | null;
3116
3116
  data?: {
3117
- sku?: string;
3118
3117
  uid?: string;
3118
+ draft_name?: string | null;
3119
+ sku?: string;
3119
3120
  details?: {
3120
3121
  title?: string;
3121
3122
  description?: string;
@@ -3128,57 +3129,27 @@ declare const listings: {
3128
3129
  };
3129
3130
  listing_type?: string;
3130
3131
  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
3132
  owner?: {
3143
3133
  uid?: string;
3144
3134
  name?: string;
3145
- phone?: string;
3146
3135
  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
- };
3136
+ avatar?: string | null;
3157
3137
  };
3158
3138
  created_by?: {
3159
3139
  uid?: string;
3160
3140
  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
3141
  };
3174
3142
  state?: string;
3175
- published_at?: string;
3176
- published_since?: string;
3177
3143
  is_visible?: boolean;
3144
+ price?: {
3145
+ amount?: string;
3146
+ currency?: string;
3147
+ period?: string;
3148
+ };
3178
3149
  summary?: {
3179
3150
  property_type?: string;
3180
3151
  bedrooms?: number;
3181
- bathrooms?: string | null;
3152
+ bathrooms?: number;
3182
3153
  size?: string | null;
3183
3154
  availability?: string | null;
3184
3155
  };
@@ -3186,7 +3157,7 @@ declare const listings: {
3186
3157
  current_step?: string;
3187
3158
  can_submit?: boolean;
3188
3159
  missing_requirements?: unknown[];
3189
- next_step?: string | null;
3160
+ next_step?: string;
3190
3161
  progress?: {
3191
3162
  completed?: number;
3192
3163
  total?: number;
@@ -3204,19 +3175,37 @@ declare const listings: {
3204
3175
  cover?: string;
3205
3176
  count?: number;
3206
3177
  };
3207
- tenant_preferences?: {
3208
- key?: string;
3209
- value?: string;
3210
- }[];
3178
+ viewing_slots?: unknown[];
3179
+ tenant_preferences?: unknown[];
3180
+ rental?: {
3181
+ deposit_amount?: string | null;
3182
+ fixed_term_length?: string | null;
3183
+ availability_date?: string | null;
3184
+ };
3185
+ short_let?: {
3186
+ nightly_price?: string;
3187
+ minimum_stay_nights?: number;
3188
+ maximum_stay_nights?: number;
3189
+ cleaning_fee?: string;
3190
+ check_in_time?: string;
3191
+ check_out_time?: string;
3192
+ };
3193
+ item?: {
3194
+ item_name?: string | null;
3195
+ item_category?: string | null;
3196
+ condition?: string | null;
3197
+ brand?: string | null;
3198
+ dimensions?: string | null;
3199
+ quantity_available?: string | null;
3200
+ is_negotiable?: string | null;
3201
+ availability_status?: string | null;
3202
+ };
3211
3203
  features?: {
3212
3204
  id?: number;
3213
- category_id?: number;
3214
3205
  name?: string;
3215
- description?: string;
3216
- icon?: string;
3217
- is_active?: boolean;
3218
- is_filterable?: boolean;
3206
+ category?: string;
3219
3207
  }[];
3208
+ active_tenancy?: string | null;
3220
3209
  compliances?: {
3221
3210
  id?: number;
3222
3211
  compliance_key?: string;
package/dist/index.d.ts CHANGED
@@ -3114,8 +3114,9 @@ declare const listings: {
3114
3114
  message?: string;
3115
3115
  event?: string | null;
3116
3116
  data?: {
3117
- sku?: string;
3118
3117
  uid?: string;
3118
+ draft_name?: string | null;
3119
+ sku?: string;
3119
3120
  details?: {
3120
3121
  title?: string;
3121
3122
  description?: string;
@@ -3128,57 +3129,27 @@ declare const listings: {
3128
3129
  };
3129
3130
  listing_type?: string;
3130
3131
  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
3132
  owner?: {
3143
3133
  uid?: string;
3144
3134
  name?: string;
3145
- phone?: string;
3146
3135
  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
- };
3136
+ avatar?: string | null;
3157
3137
  };
3158
3138
  created_by?: {
3159
3139
  uid?: string;
3160
3140
  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
3141
  };
3174
3142
  state?: string;
3175
- published_at?: string;
3176
- published_since?: string;
3177
3143
  is_visible?: boolean;
3144
+ price?: {
3145
+ amount?: string;
3146
+ currency?: string;
3147
+ period?: string;
3148
+ };
3178
3149
  summary?: {
3179
3150
  property_type?: string;
3180
3151
  bedrooms?: number;
3181
- bathrooms?: string | null;
3152
+ bathrooms?: number;
3182
3153
  size?: string | null;
3183
3154
  availability?: string | null;
3184
3155
  };
@@ -3186,7 +3157,7 @@ declare const listings: {
3186
3157
  current_step?: string;
3187
3158
  can_submit?: boolean;
3188
3159
  missing_requirements?: unknown[];
3189
- next_step?: string | null;
3160
+ next_step?: string;
3190
3161
  progress?: {
3191
3162
  completed?: number;
3192
3163
  total?: number;
@@ -3204,19 +3175,37 @@ declare const listings: {
3204
3175
  cover?: string;
3205
3176
  count?: number;
3206
3177
  };
3207
- tenant_preferences?: {
3208
- key?: string;
3209
- value?: string;
3210
- }[];
3178
+ viewing_slots?: unknown[];
3179
+ tenant_preferences?: unknown[];
3180
+ rental?: {
3181
+ deposit_amount?: string | null;
3182
+ fixed_term_length?: string | null;
3183
+ availability_date?: string | null;
3184
+ };
3185
+ short_let?: {
3186
+ nightly_price?: string;
3187
+ minimum_stay_nights?: number;
3188
+ maximum_stay_nights?: number;
3189
+ cleaning_fee?: string;
3190
+ check_in_time?: string;
3191
+ check_out_time?: string;
3192
+ };
3193
+ item?: {
3194
+ item_name?: string | null;
3195
+ item_category?: string | null;
3196
+ condition?: string | null;
3197
+ brand?: string | null;
3198
+ dimensions?: string | null;
3199
+ quantity_available?: string | null;
3200
+ is_negotiable?: string | null;
3201
+ availability_status?: string | null;
3202
+ };
3211
3203
  features?: {
3212
3204
  id?: number;
3213
- category_id?: number;
3214
3205
  name?: string;
3215
- description?: string;
3216
- icon?: string;
3217
- is_active?: boolean;
3218
- is_filterable?: boolean;
3206
+ category?: string;
3219
3207
  }[];
3208
+ active_tenancy?: string | null;
3220
3209
  compliances?: {
3221
3210
  id?: number;
3222
3211
  compliance_key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justins-home/api-services",
3
- "version": "1.2.36",
3
+ "version": "1.2.37",
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.30",
20
- "@justins-home/types": "1.1.29"
19
+ "@justins-home/http-client": "1.1.31",
20
+ "@justins-home/types": "1.1.30"
21
21
  },
22
22
  "publishConfig": {
23
23
  "access": "public"