@resira/sdk 0.4.8 → 0.4.9
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.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -269,6 +269,8 @@ interface ProductImage {
|
|
|
269
269
|
url: string;
|
|
270
270
|
/** Per-image display preferences. */
|
|
271
271
|
displaySettings?: ResourceImageDisplaySettings;
|
|
272
|
+
/** Whether this image should appear in category headers. Defaults to true. */
|
|
273
|
+
showInCategoryHeader?: boolean;
|
|
272
274
|
}
|
|
273
275
|
/** A bookable product/service as returned by the public API. */
|
|
274
276
|
interface Product {
|
|
@@ -306,6 +308,10 @@ interface Product {
|
|
|
306
308
|
categoryDescription?: string;
|
|
307
309
|
/** Hex color for category card accent. */
|
|
308
310
|
categoryColor?: string;
|
|
311
|
+
/** Cover image URL for the category (set via admin dashboard). */
|
|
312
|
+
categoryImage?: string;
|
|
313
|
+
/** Display settings for the category cover image. */
|
|
314
|
+
categoryImageDisplay?: ResourceImageDisplaySettings;
|
|
309
315
|
/** IDs of linked equipment/resources. */
|
|
310
316
|
equipmentIds: string[];
|
|
311
317
|
/** Equipment names (resolved by the server). */
|
|
@@ -386,6 +392,10 @@ interface ProductCategory {
|
|
|
386
392
|
startingPriceCents: number;
|
|
387
393
|
/** Currency code (e.g. `"EUR"`). */
|
|
388
394
|
currency: string;
|
|
395
|
+
/** Cover image URL for the category. */
|
|
396
|
+
image?: string | null;
|
|
397
|
+
/** Display settings for the category cover image. */
|
|
398
|
+
imageDisplay?: ResourceImageDisplaySettings;
|
|
389
399
|
}
|
|
390
400
|
/** Request body for creating a payment intent. */
|
|
391
401
|
interface CreatePaymentIntentRequest {
|
package/dist/index.d.ts
CHANGED
|
@@ -269,6 +269,8 @@ interface ProductImage {
|
|
|
269
269
|
url: string;
|
|
270
270
|
/** Per-image display preferences. */
|
|
271
271
|
displaySettings?: ResourceImageDisplaySettings;
|
|
272
|
+
/** Whether this image should appear in category headers. Defaults to true. */
|
|
273
|
+
showInCategoryHeader?: boolean;
|
|
272
274
|
}
|
|
273
275
|
/** A bookable product/service as returned by the public API. */
|
|
274
276
|
interface Product {
|
|
@@ -306,6 +308,10 @@ interface Product {
|
|
|
306
308
|
categoryDescription?: string;
|
|
307
309
|
/** Hex color for category card accent. */
|
|
308
310
|
categoryColor?: string;
|
|
311
|
+
/** Cover image URL for the category (set via admin dashboard). */
|
|
312
|
+
categoryImage?: string;
|
|
313
|
+
/** Display settings for the category cover image. */
|
|
314
|
+
categoryImageDisplay?: ResourceImageDisplaySettings;
|
|
309
315
|
/** IDs of linked equipment/resources. */
|
|
310
316
|
equipmentIds: string[];
|
|
311
317
|
/** Equipment names (resolved by the server). */
|
|
@@ -386,6 +392,10 @@ interface ProductCategory {
|
|
|
386
392
|
startingPriceCents: number;
|
|
387
393
|
/** Currency code (e.g. `"EUR"`). */
|
|
388
394
|
currency: string;
|
|
395
|
+
/** Cover image URL for the category. */
|
|
396
|
+
image?: string | null;
|
|
397
|
+
/** Display settings for the category cover image. */
|
|
398
|
+
imageDisplay?: ResourceImageDisplaySettings;
|
|
389
399
|
}
|
|
390
400
|
/** Request body for creating a payment intent. */
|
|
391
401
|
interface CreatePaymentIntentRequest {
|