randmar-api-client 1.509.0 → 1.511.0

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.
@@ -2491,6 +2491,8 @@ export type PostV4PartnerByRouteApplicationIdProductAndRandmarSkuGenerateVideoAp
2491
2491
  routeApplicationId: string;
2492
2492
  /** The Randmar SKU whose primary image is used as the reference. */
2493
2493
  randmarSku: string;
2494
+ /** The generated video's aspect ratio. Allowed values: 9:16 and 16:9. Defaults to 9:16. */
2495
+ aspectRatio?: string;
2494
2496
  /** The request body containing the video-generation prompt. */
2495
2497
  randmarApiControllersV4PartnerProductControllerGenerateProductMediaRequest: RandmarApiControllersV4PartnerProductControllerGenerateProductMediaRequest;
2496
2498
  };
@@ -1779,6 +1779,9 @@ const injectedRtkApi = api.injectEndpoints({
1779
1779
  url: `/V4/Partner/${queryArg.routeApplicationId}/Product/${queryArg.randmarSku}/Generate/Video`,
1780
1780
  method: "POST",
1781
1781
  body: queryArg.randmarApiControllersV4PartnerProductControllerGenerateProductMediaRequest,
1782
+ params: {
1783
+ aspectRatio: queryArg.aspectRatio,
1784
+ },
1782
1785
  }),
1783
1786
  }),
1784
1787
  getV4PartnerByRouteApplicationIdProductAndRandmarSkuLocationDetailsWarehouseId: build.query({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "randmar-api-client",
3
- "version": "1.509.0",
3
+ "version": "1.511.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",