@fabriktor/schema 0.0.19 → 0.0.21

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.
@@ -2266,6 +2266,31 @@ export type PrintfulOptionValue = {
2266
2266
  name: string;
2267
2267
  value: unknown;
2268
2268
  };
2269
+ export type PrintfulPosition = {
2270
+ area_width: number;
2271
+ area_height: number;
2272
+ width: number;
2273
+ height: number;
2274
+ top: number;
2275
+ left: number;
2276
+ };
2277
+ export type PrintfulLayer = {
2278
+ type: string;
2279
+ url: string;
2280
+ layer_options?: PrintfulOptionValue[];
2281
+ position?: PrintfulPosition;
2282
+ };
2283
+ export type PrintfulPlacement = {
2284
+ placement: string;
2285
+ technique: string;
2286
+ print_area_type?: string;
2287
+ layers: PrintfulLayer[];
2288
+ placement_options?: PrintfulOptionValue[];
2289
+ };
2290
+ export type SpeechToTextTranscription = {
2291
+ text: string;
2292
+ confidence: number;
2293
+ };
2269
2294
  export type RPPrintfulShippingRate = {
2270
2295
  shipping: string;
2271
2296
  shipping_method_name: string;
@@ -2309,7 +2334,7 @@ export type RPPrintfulOrderItem = {
2309
2334
  retail_currency: string;
2310
2335
  name: string;
2311
2336
  orientation: string;
2312
- placements: string[];
2337
+ placements: PrintfulPlacement[];
2313
2338
  product_options: PrintfulOptionValue[];
2314
2339
  _links: {
2315
2340
  [key: string]: PrintfulLink;
@@ -2330,6 +2355,10 @@ export type RPPrintfulRateShipmentItem = {
2330
2355
  catalog_variant_id: number;
2331
2356
  quantity: number;
2332
2357
  };
2358
+ export type RPSpeechToText = {
2359
+ transcriptions: SpeechToTextTranscription[];
2360
+ problem: boolean;
2361
+ };
2333
2362
  export type PLFeedPull = {
2334
2363
  contact_ids: string[];
2335
2364
  session_token: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/schema",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {