@fabriktor/schema 0.0.22 → 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,10 @@ 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
+ };
2197
2201
  export type ID = string;
2198
2202
  export type Dt = {
2199
2203
  y: number;
@@ -2292,74 +2296,6 @@ export type SpeechToTextTranscription = {
2292
2296
  text: string;
2293
2297
  confidence: number;
2294
2298
  };
2295
- export type RPPrintfulShippingRate = {
2296
- shipping: string;
2297
- shipping_method_name: string;
2298
- rate: string;
2299
- currency: string;
2300
- min_delivery_days: number;
2301
- max_delivery_days: number;
2302
- min_delivery_date: string;
2303
- max_delivery_date: string;
2304
- shipments: RPPrintfulRateShipment[];
2305
- };
2306
- export type RPPrintfulRateShipment = {
2307
- departure_country: string;
2308
- shipment_items: RPPrintfulRateShipmentItem[];
2309
- customs_fees_possible: boolean;
2310
- };
2311
- export type RPPrintfulOrderCosts = {
2312
- calculation_status: string;
2313
- currency: string;
2314
- subtotal: string;
2315
- discount: string;
2316
- shipping: string;
2317
- digitization: string;
2318
- additional_fee: string;
2319
- fulfillment_fee: string;
2320
- retail_delivery_fee: string;
2321
- vat: string;
2322
- tax: string;
2323
- total: string;
2324
- };
2325
- export type RPPrintfulOrderItem = {
2326
- id: number;
2327
- type: string;
2328
- source: string;
2329
- catalog_variant_id: number;
2330
- external_id: string;
2331
- quantity: number;
2332
- retail_price: string;
2333
- price: string;
2334
- currency: string;
2335
- retail_currency: string;
2336
- name: string;
2337
- orientation: string;
2338
- placements: PrintfulPlacement[];
2339
- product_options: PrintfulOptionValue[];
2340
- _links: {
2341
- [key: string]: PrintfulLink;
2342
- };
2343
- };
2344
- export type RPPrintfulShipment = {
2345
- id: number;
2346
- order_id: number;
2347
- status: string;
2348
- tracking_url: string;
2349
- tracking_number: string;
2350
- carrier: string;
2351
- service: string;
2352
- created_at: string;
2353
- updated_at: string;
2354
- };
2355
- export type RPPrintfulRateShipmentItem = {
2356
- catalog_variant_id: number;
2357
- quantity: number;
2358
- };
2359
- export type RPSpeechToText = {
2360
- transcriptions: SpeechToTextTranscription[];
2361
- problem: boolean;
2362
- };
2363
2299
  export type PLFeedPull = {
2364
2300
  contact_ids: string[];
2365
2301
  session_token: string;
@@ -2522,6 +2458,14 @@ export type PLNotificationsRelay = {
2522
2458
  url_custom_sound: string;
2523
2459
  notif_k: string;
2524
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
+ };
2525
2469
  export type RPFeedPull = {
2526
2470
  session_token: string;
2527
2471
  posts: FeedPost[];
@@ -2589,6 +2533,78 @@ export type RPStorageUpload = {
2589
2533
  contains_forbidden: boolean;
2590
2534
  all_forbidden: boolean;
2591
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
+ };
2592
2608
  export type OperationResult = {
2593
2609
  message?: string;
2594
2610
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/schema",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {