@kite-sa/sdk 0.9.12 → 0.9.13

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  Formerly `@darak-app/sdk`, which is deprecated. Versions before 0.5.0 were published under that name.
4
4
 
5
+ ## 0.9.13
6
+
7
+ - `region` on `listings.search`, `listings.count`, `analytics.advertisers` and the market statistics that read listings (`market.summary`, `market.priceDistribution`, `market.areaDistribution`, `market.supply`, `market.vacancy`, `market.neighborhoods`): one of the 13 administrative regions (`"eastern_province"`, `"riyadh_region"`…), in place of `city`. `city` is optional on those calls; pass one of the two. The market responses' `filters` carry `region`, and `filters.city` is `string | null` (null for a region).
8
+ - `city: "eastern_province"` and `city: "qassim"` are deprecated: they are regions. They return what they always did; use `region` where a call takes it.
9
+
5
10
  ## 0.9.12
6
11
 
7
12
  - Documentation only: regenerated from the API spec, in which GET /market/property-index (`official.marketIndex`) serves the `land_registered` and `home_registered` series again from 2026-11-28, now that REGA has approved reuse of its Real Estate Indicators. No type changed.
@@ -406,8 +406,8 @@ export declare function createEndpoints(request: Request): {
406
406
  };
407
407
  }>;
408
408
  /**
409
- * Search listings. Active, deduplicated listings in one city, quality-filtered
410
- * like kite.sa.
409
+ * Search listings. Active, deduplicated listings in one city or region,
410
+ * quality-filtered like kite.sa.
411
411
  */
412
412
  readonly search: (params: QueryOf<"listings.search">) => Promise<{
413
413
  data: import("./openapi-zod/models.js").Listing[];
@@ -532,7 +532,8 @@ export declare function createEndpoints(request: Request): {
532
532
  readonly areaDistribution: (params: QueryOf<"market.area_distribution">) => Promise<{
533
533
  data: {
534
534
  filters: {
535
- city: string;
535
+ city: string | null;
536
+ region: string | null;
536
537
  listing_type: string;
537
538
  listing_category: unknown;
538
539
  property_type: string | null;
@@ -774,7 +775,8 @@ export declare function createEndpoints(request: Request): {
774
775
  readonly neighborhoods: (params: QueryOf<"market.neighborhoods">) => Promise<{
775
776
  data: {
776
777
  filters: {
777
- city: string;
778
+ city: string | null;
779
+ region: string | null;
778
780
  listing_type: string;
779
781
  listing_category: unknown;
780
782
  property_type: string | null;
@@ -810,7 +812,8 @@ export declare function createEndpoints(request: Request): {
810
812
  readonly priceDistribution: (params: QueryOf<"market.price_distribution">) => Promise<{
811
813
  data: {
812
814
  filters: {
813
- city: string;
815
+ city: string | null;
816
+ region: string | null;
814
817
  listing_type: string;
815
818
  listing_category: unknown;
816
819
  property_type: string | null;
@@ -860,7 +863,8 @@ export declare function createEndpoints(request: Request): {
860
863
  readonly summary: (params: QueryOf<"market.summary">) => Promise<{
861
864
  data: {
862
865
  filters: {
863
- city: string;
866
+ city: string | null;
867
+ region: string | null;
864
868
  listing_type: string;
865
869
  listing_category: unknown;
866
870
  property_type: string | null;
@@ -911,7 +915,8 @@ export declare function createEndpoints(request: Request): {
911
915
  readonly supply: (params: QueryOf<"market.supply">) => Promise<{
912
916
  data: {
913
917
  filters: {
914
- city: string;
918
+ city: string | null;
919
+ region: string | null;
915
920
  listing_type: string;
916
921
  listing_category: unknown;
917
922
  property_type: string | null;
@@ -992,7 +997,8 @@ export declare function createEndpoints(request: Request): {
992
997
  readonly vacancy: (params: QueryOf<"market.vacancy">) => Promise<{
993
998
  data: {
994
999
  filters: {
995
- city: string;
1000
+ city: string | null;
1001
+ region: string | null;
996
1002
  listing_type: string;
997
1003
  listing_category: unknown;
998
1004
  property_type: string | null;
package/dist/generated.js CHANGED
@@ -107,8 +107,8 @@ export function createEndpoints(request) {
107
107
  */
108
108
  priceHistory: (id) => request("GET", `/listings/${encodeURIComponent(String(id))}/price-history`),
109
109
  /**
110
- * Search listings. Active, deduplicated listings in one city, quality-filtered
111
- * like kite.sa.
110
+ * Search listings. Active, deduplicated listings in one city or region,
111
+ * quality-filtered like kite.sa.
112
112
  */
113
113
  search: (params) => request("GET", "/listings", { query: params }),
114
114
  },
package/dist/index.d.ts CHANGED
@@ -49,7 +49,7 @@ export interface KiteOptions {
49
49
  }
50
50
  type Query = Record<string, string | number | boolean | readonly (string | number)[] | undefined>;
51
51
  /** Kept in step with package.json by src/index.test.ts. */
52
- export declare const VERSION = "0.9.12";
52
+ export declare const VERSION = "0.9.13";
53
53
  /** Arrays go comma-separated, as the API expects; unset values are dropped. */
54
54
  export declare function toSearchParams(query?: Query): string;
55
55
  /**
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ export class KiteError extends Error {
24
24
  }
25
25
  }
26
26
  /** Kept in step with package.json by src/index.test.ts. */
27
- export const VERSION = "0.9.12";
27
+ export const VERSION = "0.9.13";
28
28
  const USER_AGENT = `kite-sa-js/${VERSION}`;
29
29
  /** Longest Retry-After worth waiting for; anything longer (a monthly quota) throws. */
30
30
  const MAX_RETRY_WAIT_S = 60;
@@ -157,7 +157,8 @@ export declare function referenceCoverage(params?: {
157
157
  * @throws {ApiError<500, Error>}
158
158
  */
159
159
  export declare function listingsSearch(params: {
160
- city: string;
160
+ city?: string;
161
+ region?: "riyadh_region" | "makkah_region" | "madinah_region" | "eastern_province" | "qassim" | "asir" | "tabuk_region" | "hail_region" | "northern_borders" | "jazan_region" | "najran_region" | "al_baha_region" | "al_jouf";
161
162
  listingType: "rent" | "sale";
162
163
  listingCategory?: "residential" | "commercial";
163
164
  propertyType?: string[];
@@ -215,7 +216,8 @@ export declare function listingsSearch(params: {
215
216
  * @throws {ApiError<500, Error>}
216
217
  */
217
218
  export declare function listingsCount(params: {
218
- city: string;
219
+ city?: string;
220
+ region?: "riyadh_region" | "makkah_region" | "madinah_region" | "eastern_province" | "qassim" | "asir" | "tabuk_region" | "hail_region" | "northern_borders" | "jazan_region" | "najran_region" | "al_baha_region" | "al_jouf";
219
221
  listingType: "rent" | "sale";
220
222
  listingCategory?: "residential" | "commercial";
221
223
  propertyType?: string[];
@@ -332,7 +334,8 @@ export declare function listingsContact(id: number, config?: Partial<ClientConfi
332
334
  * @throws {ApiError<500, Error>}
333
335
  */
334
336
  export declare function marketSummary(params: {
335
- city: string;
337
+ city?: string;
338
+ region?: "riyadh_region" | "makkah_region" | "madinah_region" | "eastern_province" | "qassim" | "asir" | "tabuk_region" | "hail_region" | "northern_borders" | "jazan_region" | "najran_region" | "al_baha_region" | "al_jouf";
336
339
  listingType: "rent" | "sale";
337
340
  listingCategory?: "residential" | "commercial";
338
341
  propertyType?: "apartment" | "villa" | "floor" | "duplex" | "office" | "shop" | "warehouse" | "land" | "building";
@@ -342,7 +345,8 @@ export declare function marketSummary(params: {
342
345
  }, config?: Partial<ClientConfig>): Promise<{
343
346
  data: {
344
347
  filters: {
345
- city: string;
348
+ city: string | null;
349
+ region: string | null;
346
350
  listing_type: string;
347
351
  listing_category: unknown;
348
352
  property_type: string | null;
@@ -393,7 +397,8 @@ export declare function marketSummary(params: {
393
397
  * @throws {ApiError<500, Error>}
394
398
  */
395
399
  export declare function marketPriceDistribution(params: {
396
- city: string;
400
+ city?: string;
401
+ region?: "riyadh_region" | "makkah_region" | "madinah_region" | "eastern_province" | "qassim" | "asir" | "tabuk_region" | "hail_region" | "northern_borders" | "jazan_region" | "najran_region" | "al_baha_region" | "al_jouf";
397
402
  listingType: "rent" | "sale";
398
403
  listingCategory?: "residential" | "commercial";
399
404
  propertyType?: "apartment" | "villa" | "floor" | "duplex" | "office" | "shop" | "warehouse" | "land" | "building";
@@ -404,7 +409,8 @@ export declare function marketPriceDistribution(params: {
404
409
  }, config?: Partial<ClientConfig>): Promise<{
405
410
  data: {
406
411
  filters: {
407
- city: string;
412
+ city: string | null;
413
+ region: string | null;
408
414
  listing_type: string;
409
415
  listing_category: unknown;
410
416
  property_type: string | null;
@@ -449,7 +455,8 @@ export declare function marketPriceDistribution(params: {
449
455
  * @throws {ApiError<500, Error>}
450
456
  */
451
457
  export declare function marketAreaDistribution(params: {
452
- city: string;
458
+ city?: string;
459
+ region?: "riyadh_region" | "makkah_region" | "madinah_region" | "eastern_province" | "qassim" | "asir" | "tabuk_region" | "hail_region" | "northern_borders" | "jazan_region" | "najran_region" | "al_baha_region" | "al_jouf";
453
460
  listingType: "rent" | "sale";
454
461
  listingCategory?: "residential" | "commercial";
455
462
  propertyType?: "apartment" | "villa" | "floor" | "duplex" | "office" | "shop" | "warehouse" | "land" | "building";
@@ -460,7 +467,8 @@ export declare function marketAreaDistribution(params: {
460
467
  }, config?: Partial<ClientConfig>): Promise<{
461
468
  data: {
462
469
  filters: {
463
- city: string;
470
+ city: string | null;
471
+ region: string | null;
464
472
  listing_type: string;
465
473
  listing_category: unknown;
466
474
  property_type: string | null;
@@ -503,7 +511,8 @@ export declare function marketAreaDistribution(params: {
503
511
  * @throws {ApiError<500, Error>}
504
512
  */
505
513
  export declare function marketSupply(params: {
506
- city: string;
514
+ city?: string;
515
+ region?: "riyadh_region" | "makkah_region" | "madinah_region" | "eastern_province" | "qassim" | "asir" | "tabuk_region" | "hail_region" | "northern_borders" | "jazan_region" | "najran_region" | "al_baha_region" | "al_jouf";
507
516
  listingType: "rent" | "sale";
508
517
  listingCategory?: "residential" | "commercial";
509
518
  propertyType?: "apartment" | "villa" | "floor" | "duplex" | "office" | "shop" | "warehouse" | "land" | "building";
@@ -513,7 +522,8 @@ export declare function marketSupply(params: {
513
522
  }, config?: Partial<ClientConfig>): Promise<{
514
523
  data: {
515
524
  filters: {
516
- city: string;
525
+ city: string | null;
526
+ region: string | null;
517
527
  listing_type: string;
518
528
  listing_category: unknown;
519
529
  property_type: string | null;
@@ -547,7 +557,8 @@ export declare function marketSupply(params: {
547
557
  * @throws {ApiError<500, Error>}
548
558
  */
549
559
  export declare function marketVacancy(params: {
550
- city: string;
560
+ city?: string;
561
+ region?: "riyadh_region" | "makkah_region" | "madinah_region" | "eastern_province" | "qassim" | "asir" | "tabuk_region" | "hail_region" | "northern_borders" | "jazan_region" | "najran_region" | "al_baha_region" | "al_jouf";
551
562
  listingType: "rent" | "sale";
552
563
  listingCategory?: "residential" | "commercial";
553
564
  propertyType?: "apartment" | "villa" | "floor" | "duplex" | "office" | "shop" | "warehouse" | "land" | "building";
@@ -557,7 +568,8 @@ export declare function marketVacancy(params: {
557
568
  }, config?: Partial<ClientConfig>): Promise<{
558
569
  data: {
559
570
  filters: {
560
- city: string;
571
+ city: string | null;
572
+ region: string | null;
561
573
  listing_type: string;
562
574
  listing_category: unknown;
563
575
  property_type: string | null;
@@ -594,7 +606,8 @@ export declare function marketVacancy(params: {
594
606
  * @throws {ApiError<500, Error>}
595
607
  */
596
608
  export declare function marketNeighborhoods(params: {
597
- city: string;
609
+ city?: string;
610
+ region?: "riyadh_region" | "makkah_region" | "madinah_region" | "eastern_province" | "qassim" | "asir" | "tabuk_region" | "hail_region" | "northern_borders" | "jazan_region" | "najran_region" | "al_baha_region" | "al_jouf";
598
611
  listingType: "rent" | "sale";
599
612
  listingCategory?: "residential" | "commercial";
600
613
  propertyType?: "apartment" | "villa" | "floor" | "duplex" | "office" | "shop" | "warehouse" | "land" | "building";
@@ -604,7 +617,8 @@ export declare function marketNeighborhoods(params: {
604
617
  }, config?: Partial<ClientConfig>): Promise<{
605
618
  data: {
606
619
  filters: {
607
- city: string;
620
+ city: string | null;
621
+ region: string | null;
608
622
  listing_type: string;
609
623
  listing_category: unknown;
610
624
  property_type: string | null;
@@ -1331,7 +1345,8 @@ export declare function analyticsNeighborhoodsCompare(params: {
1331
1345
  * @throws {ApiError<500, Error>}
1332
1346
  */
1333
1347
  export declare function analyticsAdvertisers(params: {
1334
- city: string;
1348
+ city?: string;
1349
+ region?: "riyadh_region" | "makkah_region" | "madinah_region" | "eastern_province" | "qassim" | "asir" | "tabuk_region" | "hail_region" | "northern_borders" | "jazan_region" | "najran_region" | "al_baha_region" | "al_jouf";
1335
1350
  listingType: "rent" | "sale";
1336
1351
  listingCategory?: "residential" | "commercial";
1337
1352
  propertyType?: string[];
@@ -161,6 +161,8 @@ export async function listingsSearch(params, config) {
161
161
  const searchParams = new URLSearchParams();
162
162
  if (params?.city != null)
163
163
  searchParams.set("city", String(params.city));
164
+ if (params?.region != null)
165
+ searchParams.set("region", String(params.region));
164
166
  if (params?.listingType != null)
165
167
  searchParams.set("listing_type", String(params.listingType));
166
168
  if (params?.listingCategory != null)
@@ -283,6 +285,8 @@ export async function listingsCount(params, config) {
283
285
  const searchParams = new URLSearchParams();
284
286
  if (params?.city != null)
285
287
  searchParams.set("city", String(params.city));
288
+ if (params?.region != null)
289
+ searchParams.set("region", String(params.region));
286
290
  if (params?.listingType != null)
287
291
  searchParams.set("listing_type", String(params.listingType));
288
292
  if (params?.listingCategory != null)
@@ -449,6 +453,8 @@ export async function marketSummary(params, config) {
449
453
  const searchParams = new URLSearchParams();
450
454
  if (params?.city != null)
451
455
  searchParams.set("city", String(params.city));
456
+ if (params?.region != null)
457
+ searchParams.set("region", String(params.region));
452
458
  if (params?.listingType != null)
453
459
  searchParams.set("listing_type", String(params.listingType));
454
460
  if (params?.listingCategory != null)
@@ -477,6 +483,8 @@ export async function marketPriceDistribution(params, config) {
477
483
  const searchParams = new URLSearchParams();
478
484
  if (params?.city != null)
479
485
  searchParams.set("city", String(params.city));
486
+ if (params?.region != null)
487
+ searchParams.set("region", String(params.region));
480
488
  if (params?.listingType != null)
481
489
  searchParams.set("listing_type", String(params.listingType));
482
490
  if (params?.listingCategory != null)
@@ -507,6 +515,8 @@ export async function marketAreaDistribution(params, config) {
507
515
  const searchParams = new URLSearchParams();
508
516
  if (params?.city != null)
509
517
  searchParams.set("city", String(params.city));
518
+ if (params?.region != null)
519
+ searchParams.set("region", String(params.region));
510
520
  if (params?.listingType != null)
511
521
  searchParams.set("listing_type", String(params.listingType));
512
522
  if (params?.listingCategory != null)
@@ -537,6 +547,8 @@ export async function marketSupply(params, config) {
537
547
  const searchParams = new URLSearchParams();
538
548
  if (params?.city != null)
539
549
  searchParams.set("city", String(params.city));
550
+ if (params?.region != null)
551
+ searchParams.set("region", String(params.region));
540
552
  if (params?.listingType != null)
541
553
  searchParams.set("listing_type", String(params.listingType));
542
554
  if (params?.listingCategory != null)
@@ -565,6 +577,8 @@ export async function marketVacancy(params, config) {
565
577
  const searchParams = new URLSearchParams();
566
578
  if (params?.city != null)
567
579
  searchParams.set("city", String(params.city));
580
+ if (params?.region != null)
581
+ searchParams.set("region", String(params.region));
568
582
  if (params?.listingType != null)
569
583
  searchParams.set("listing_type", String(params.listingType));
570
584
  if (params?.listingCategory != null)
@@ -593,6 +607,8 @@ export async function marketNeighborhoods(params, config) {
593
607
  const searchParams = new URLSearchParams();
594
608
  if (params?.city != null)
595
609
  searchParams.set("city", String(params.city));
610
+ if (params?.region != null)
611
+ searchParams.set("region", String(params.region));
596
612
  if (params?.listingType != null)
597
613
  searchParams.set("listing_type", String(params.listingType));
598
614
  if (params?.listingCategory != null)
@@ -949,6 +965,8 @@ export async function analyticsAdvertisers(params, config) {
949
965
  const searchParams = new URLSearchParams();
950
966
  if (params?.city != null)
951
967
  searchParams.set("city", String(params.city));
968
+ if (params?.region != null)
969
+ searchParams.set("region", String(params.region));
952
970
  if (params?.listingType != null)
953
971
  searchParams.set("listing_type", String(params.listingType));
954
972
  if (params?.listingCategory != null)
package/dist/openapi.d.ts CHANGED
@@ -80,7 +80,7 @@ export interface operations {
80
80
  };
81
81
  "listings.search": {
82
82
  parameters: {
83
- query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").listingsSearch>[0]>>, "city" | "listing_type" | "listing_category" | "property_type" | "neighborhood_id" | "beds" | "beds_min" | "beds_max" | "bathrooms_min" | "price_min" | "price_max" | "area_min" | "area_max" | "furnished" | "source" | "bbox" | "updated_since" | "bathrooms" | "bathrooms_max" | "livings_min" | "neighborhood_id_exclude" | "q" | "amenities" | "amenities_exclude" | "photo_features" | "floor" | "source_exclude" | "max_age" | "verified" | "advertiser_type" | "compound" | "in_compound" | "rent_frequency" | "days_on_market_min" | "days_on_market_max" | "zoning" | "corner" | "street_width_min" | "white_land_fee" | "last_sale_within_months" | "ask_to_last_sale_max" | "plot_sold" | "sort" | "limit" | "cursor" | "updated_after_id">;
83
+ query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").listingsSearch>[0]>>, "city" | "region" | "listing_type" | "listing_category" | "property_type" | "neighborhood_id" | "beds" | "beds_min" | "beds_max" | "bathrooms_min" | "price_min" | "price_max" | "area_min" | "area_max" | "furnished" | "source" | "bbox" | "updated_since" | "bathrooms" | "bathrooms_max" | "livings_min" | "neighborhood_id_exclude" | "q" | "amenities" | "amenities_exclude" | "photo_features" | "floor" | "source_exclude" | "max_age" | "verified" | "advertiser_type" | "compound" | "in_compound" | "rent_frequency" | "days_on_market_min" | "days_on_market_max" | "zoning" | "corner" | "street_width_min" | "white_land_fee" | "last_sale_within_months" | "ask_to_last_sale_max" | "plot_sold" | "sort" | "limit" | "cursor" | "updated_after_id">;
84
84
  };
85
85
  responses: {
86
86
  200: {
@@ -92,7 +92,7 @@ export interface operations {
92
92
  };
93
93
  "listings.count": {
94
94
  parameters: {
95
- query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").listingsCount>[0]>>, "city" | "listing_type" | "listing_category" | "property_type" | "neighborhood_id" | "beds" | "beds_min" | "beds_max" | "bathrooms_min" | "price_min" | "price_max" | "area_min" | "area_max" | "furnished" | "source" | "bbox" | "updated_since" | "bathrooms" | "bathrooms_max" | "livings_min" | "neighborhood_id_exclude" | "q" | "amenities" | "amenities_exclude" | "photo_features" | "floor" | "source_exclude" | "max_age" | "verified" | "advertiser_type" | "compound" | "in_compound" | "rent_frequency" | "days_on_market_min" | "days_on_market_max" | "zoning" | "corner" | "street_width_min" | "white_land_fee" | "last_sale_within_months" | "ask_to_last_sale_max" | "plot_sold">;
95
+ query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").listingsCount>[0]>>, "city" | "region" | "listing_type" | "listing_category" | "property_type" | "neighborhood_id" | "beds" | "beds_min" | "beds_max" | "bathrooms_min" | "price_min" | "price_max" | "area_min" | "area_max" | "furnished" | "source" | "bbox" | "updated_since" | "bathrooms" | "bathrooms_max" | "livings_min" | "neighborhood_id_exclude" | "q" | "amenities" | "amenities_exclude" | "photo_features" | "floor" | "source_exclude" | "max_age" | "verified" | "advertiser_type" | "compound" | "in_compound" | "rent_frequency" | "days_on_market_min" | "days_on_market_max" | "zoning" | "corner" | "street_width_min" | "white_land_fee" | "last_sale_within_months" | "ask_to_last_sale_max" | "plot_sold">;
96
96
  };
97
97
  responses: {
98
98
  200: {
@@ -146,7 +146,7 @@ export interface operations {
146
146
  };
147
147
  "market.summary": {
148
148
  parameters: {
149
- query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketSummary>[0]>>, "city" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "neighborhood_id">;
149
+ query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketSummary>[0]>>, "city" | "region" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "neighborhood_id">;
150
150
  };
151
151
  responses: {
152
152
  200: {
@@ -158,7 +158,7 @@ export interface operations {
158
158
  };
159
159
  "market.price_distribution": {
160
160
  parameters: {
161
- query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketPriceDistribution>[0]>>, "city" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "neighborhood_id" | "bucket_count">;
161
+ query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketPriceDistribution>[0]>>, "city" | "region" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "neighborhood_id" | "bucket_count">;
162
162
  };
163
163
  responses: {
164
164
  200: {
@@ -170,7 +170,7 @@ export interface operations {
170
170
  };
171
171
  "market.area_distribution": {
172
172
  parameters: {
173
- query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketAreaDistribution>[0]>>, "city" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "neighborhood_id" | "bucket_count">;
173
+ query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketAreaDistribution>[0]>>, "city" | "region" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "neighborhood_id" | "bucket_count">;
174
174
  };
175
175
  responses: {
176
176
  200: {
@@ -182,7 +182,7 @@ export interface operations {
182
182
  };
183
183
  "market.supply": {
184
184
  parameters: {
185
- query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketSupply>[0]>>, "city" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "neighborhood_id">;
185
+ query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketSupply>[0]>>, "city" | "region" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "neighborhood_id">;
186
186
  };
187
187
  responses: {
188
188
  200: {
@@ -194,7 +194,7 @@ export interface operations {
194
194
  };
195
195
  "market.vacancy": {
196
196
  parameters: {
197
- query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketVacancy>[0]>>, "city" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "neighborhood_id">;
197
+ query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketVacancy>[0]>>, "city" | "region" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "neighborhood_id">;
198
198
  };
199
199
  responses: {
200
200
  200: {
@@ -206,7 +206,7 @@ export interface operations {
206
206
  };
207
207
  "market.neighborhoods": {
208
208
  parameters: {
209
- query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketNeighborhoods>[0]>>, "city" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "min_sample_size">;
209
+ query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").marketNeighborhoods>[0]>>, "city" | "region" | "listing_type" | "listing_category" | "property_type" | "beds" | "town" | "min_sample_size">;
210
210
  };
211
211
  responses: {
212
212
  200: {
@@ -382,7 +382,7 @@ export interface operations {
382
382
  };
383
383
  "analytics.advertisers": {
384
384
  parameters: {
385
- query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").analyticsAdvertisers>[0]>>, "city" | "listing_type" | "listing_category" | "property_type" | "neighborhood_id" | "beds" | "beds_min" | "beds_max" | "bathrooms_min" | "price_min" | "price_max" | "area_min" | "area_max" | "furnished" | "source" | "bbox" | "updated_since" | "bathrooms" | "bathrooms_max" | "livings_min" | "neighborhood_id_exclude" | "q" | "amenities" | "amenities_exclude" | "photo_features" | "floor" | "source_exclude" | "max_age" | "verified" | "advertiser_type" | "compound" | "in_compound" | "rent_frequency" | "days_on_market_min" | "days_on_market_max" | "zoning" | "corner" | "street_width_min" | "white_land_fee" | "last_sale_within_months" | "ask_to_last_sale_max" | "plot_sold" | "above_median_pct" | "min_listings" | "sort" | "limit" | "cursor">;
385
+ query?: Pick<SnakeKeys<NonNullable<Parameters<typeof import("./openapi-zod/client.js").analyticsAdvertisers>[0]>>, "city" | "region" | "listing_type" | "listing_category" | "property_type" | "neighborhood_id" | "beds" | "beds_min" | "beds_max" | "bathrooms_min" | "price_min" | "price_max" | "area_min" | "area_max" | "furnished" | "source" | "bbox" | "updated_since" | "bathrooms" | "bathrooms_max" | "livings_min" | "neighborhood_id_exclude" | "q" | "amenities" | "amenities_exclude" | "photo_features" | "floor" | "source_exclude" | "max_age" | "verified" | "advertiser_type" | "compound" | "in_compound" | "rent_frequency" | "days_on_market_min" | "days_on_market_max" | "zoning" | "corner" | "street_width_min" | "white_land_fee" | "last_sale_within_months" | "ask_to_last_sale_max" | "plot_sold" | "above_median_pct" | "min_listings" | "sort" | "limit" | "cursor">;
386
386
  };
387
387
  responses: {
388
388
  200: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kite-sa/sdk",
3
- "version": "0.9.12",
3
+ "version": "0.9.13",
4
4
  "description": "Official JavaScript/TypeScript client for the Kite API: Saudi real-estate listings and market data.",
5
5
  "license": "MIT",
6
6
  "type": "module",