@fabriktor/schema 0.0.21 → 0.0.23

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,11 @@ export type Stop = {
2194
2194
  export type ChatRoomID = {
2195
2195
  chat_room_id: string;
2196
2196
  };
2197
+ export type Overlap = {
2198
+ member_id: string;
2199
+ locations: Location[];
2200
+ };
2201
+ export type ID = string;
2197
2202
  export type Dt = {
2198
2203
  y: number;
2199
2204
  m: number;
@@ -2291,74 +2296,6 @@ export type SpeechToTextTranscription = {
2291
2296
  text: string;
2292
2297
  confidence: number;
2293
2298
  };
2294
- export type RPPrintfulShippingRate = {
2295
- shipping: string;
2296
- shipping_method_name: string;
2297
- rate: string;
2298
- currency: string;
2299
- min_delivery_days: number;
2300
- max_delivery_days: number;
2301
- min_delivery_date: string;
2302
- max_delivery_date: string;
2303
- shipments: RPPrintfulRateShipment[];
2304
- };
2305
- export type RPPrintfulRateShipment = {
2306
- departure_country: string;
2307
- shipment_items: RPPrintfulRateShipmentItem[];
2308
- customs_fees_possible: boolean;
2309
- };
2310
- export type RPPrintfulOrderCosts = {
2311
- calculation_status: string;
2312
- currency: string;
2313
- subtotal: string;
2314
- discount: string;
2315
- shipping: string;
2316
- digitization: string;
2317
- additional_fee: string;
2318
- fulfillment_fee: string;
2319
- retail_delivery_fee: string;
2320
- vat: string;
2321
- tax: string;
2322
- total: string;
2323
- };
2324
- export type RPPrintfulOrderItem = {
2325
- id: number;
2326
- type: string;
2327
- source: string;
2328
- catalog_variant_id: number;
2329
- external_id: string;
2330
- quantity: number;
2331
- retail_price: string;
2332
- price: string;
2333
- currency: string;
2334
- retail_currency: string;
2335
- name: string;
2336
- orientation: string;
2337
- placements: PrintfulPlacement[];
2338
- product_options: PrintfulOptionValue[];
2339
- _links: {
2340
- [key: string]: PrintfulLink;
2341
- };
2342
- };
2343
- export type RPPrintfulShipment = {
2344
- id: number;
2345
- order_id: number;
2346
- status: string;
2347
- tracking_url: string;
2348
- tracking_number: string;
2349
- carrier: string;
2350
- service: string;
2351
- created_at: string;
2352
- updated_at: string;
2353
- };
2354
- export type RPPrintfulRateShipmentItem = {
2355
- catalog_variant_id: number;
2356
- quantity: number;
2357
- };
2358
- export type RPSpeechToText = {
2359
- transcriptions: SpeechToTextTranscription[];
2360
- problem: boolean;
2361
- };
2362
2299
  export type PLFeedPull = {
2363
2300
  contact_ids: string[];
2364
2301
  session_token: string;
@@ -2521,6 +2458,14 @@ export type PLNotificationsRelay = {
2521
2458
  url_custom_sound: string;
2522
2459
  notif_k: string;
2523
2460
  };
2461
+ export type PLFindOverlaps = {
2462
+ start_date: Dt;
2463
+ end_date: Dt;
2464
+ source_id: string;
2465
+ exclude_pending: boolean;
2466
+ exclude_started: boolean;
2467
+ exclude_terminated: boolean;
2468
+ };
2524
2469
  export type RPFeedPull = {
2525
2470
  session_token: string;
2526
2471
  posts: FeedPost[];
@@ -2588,6 +2533,78 @@ export type RPStorageUpload = {
2588
2533
  contains_forbidden: boolean;
2589
2534
  all_forbidden: boolean;
2590
2535
  };
2536
+ export type RPPrintfulShippingRate = {
2537
+ shipping: string;
2538
+ shipping_method_name: string;
2539
+ rate: string;
2540
+ currency: string;
2541
+ min_delivery_days: number;
2542
+ max_delivery_days: number;
2543
+ min_delivery_date: string;
2544
+ max_delivery_date: string;
2545
+ shipments: RPPrintfulRateShipment[];
2546
+ };
2547
+ export type RPPrintfulRateShipment = {
2548
+ departure_country: string;
2549
+ shipment_items: RPPrintfulRateShipmentItem[];
2550
+ customs_fees_possible: boolean;
2551
+ };
2552
+ export type RPPrintfulOrderCosts = {
2553
+ calculation_status: string;
2554
+ currency: string;
2555
+ subtotal: string;
2556
+ discount: string;
2557
+ shipping: string;
2558
+ digitization: string;
2559
+ additional_fee: string;
2560
+ fulfillment_fee: string;
2561
+ retail_delivery_fee: string;
2562
+ vat: string;
2563
+ tax: string;
2564
+ total: string;
2565
+ };
2566
+ export type RPPrintfulOrderItem = {
2567
+ id: number;
2568
+ type: string;
2569
+ source: string;
2570
+ catalog_variant_id: number;
2571
+ external_id: string;
2572
+ quantity: number;
2573
+ retail_price: string;
2574
+ price: string;
2575
+ currency: string;
2576
+ retail_currency: string;
2577
+ name: string;
2578
+ orientation: string;
2579
+ placements: PrintfulPlacement[];
2580
+ product_options: PrintfulOptionValue[];
2581
+ _links: {
2582
+ [key: string]: PrintfulLink;
2583
+ };
2584
+ };
2585
+ export type RPPrintfulShipment = {
2586
+ id: number;
2587
+ order_id: number;
2588
+ status: string;
2589
+ tracking_url: string;
2590
+ tracking_number: string;
2591
+ carrier: string;
2592
+ service: string;
2593
+ created_at: string;
2594
+ updated_at: string;
2595
+ };
2596
+ export type RPPrintfulRateShipmentItem = {
2597
+ catalog_variant_id: number;
2598
+ quantity: number;
2599
+ };
2600
+ export type RPSpeechToText = {
2601
+ transcriptions: SpeechToTextTranscription[];
2602
+ problem: boolean;
2603
+ };
2604
+ export type RPFindOverlaps = {
2605
+ overlaps: Overlap[];
2606
+ locations: Location[];
2607
+ };
2591
2608
  export type OperationResult = {
2592
2609
  message?: string;
2593
2610
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/schema",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {