@fabriktor/schema 0.0.19 → 0.0.22

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