@kite-sa/sdk 0.9.4 → 0.9.5
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 +4 -0
- package/dist/generated.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/openapi-zod/client.d.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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.5
|
|
6
|
+
|
|
7
|
+
- `projects.models(id)` returns brochure specs: each model's `brochure_model` (plot and built-up area, floor areas, rooms and parking as the developer's sales brochure prints them, where the pairing was reviewed) and the project's `brochure` (finishes and warranties).
|
|
8
|
+
|
|
5
9
|
## 0.9.4
|
|
6
10
|
|
|
7
11
|
- `projects.models(id)` lists a project's unit models: type, bedrooms, size, units in total and available, and the full and beneficiary price ranges of the available units (`GET /projects/{id}/models`).
|
package/dist/generated.d.ts
CHANGED
|
@@ -1621,6 +1621,7 @@ export declare function createEndpoints(request: Request): {
|
|
|
1621
1621
|
units: unknown;
|
|
1622
1622
|
units_available: unknown;
|
|
1623
1623
|
};
|
|
1624
|
+
brochure: unknown;
|
|
1624
1625
|
models: {
|
|
1625
1626
|
id: number;
|
|
1626
1627
|
name: string | null;
|
|
@@ -1652,6 +1653,7 @@ export declare function createEndpoints(request: Request): {
|
|
|
1652
1653
|
};
|
|
1653
1654
|
on_offer: boolean;
|
|
1654
1655
|
developer_model: unknown;
|
|
1656
|
+
brochure_model: unknown;
|
|
1655
1657
|
first_seen_at: unknown;
|
|
1656
1658
|
last_seen_at: unknown;
|
|
1657
1659
|
}[];
|
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.
|
|
52
|
+
export declare const VERSION = "0.9.5";
|
|
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.
|
|
27
|
+
export const VERSION = "0.9.5";
|
|
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;
|
|
@@ -2114,6 +2114,7 @@ export declare function projectsModels(id: number, params?: {
|
|
|
2114
2114
|
units: unknown;
|
|
2115
2115
|
units_available: unknown;
|
|
2116
2116
|
};
|
|
2117
|
+
brochure: unknown;
|
|
2117
2118
|
models: {
|
|
2118
2119
|
id: number;
|
|
2119
2120
|
name: string | null;
|
|
@@ -2145,6 +2146,7 @@ export declare function projectsModels(id: number, params?: {
|
|
|
2145
2146
|
};
|
|
2146
2147
|
on_offer: boolean;
|
|
2147
2148
|
developer_model: unknown;
|
|
2149
|
+
brochure_model: unknown;
|
|
2148
2150
|
first_seen_at: unknown;
|
|
2149
2151
|
last_seen_at: unknown;
|
|
2150
2152
|
}[];
|