@natch-the-storage/heathershaw-platform-types 1.23.13 → 1.23.15

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.
@@ -241,7 +241,7 @@ export interface AdminDashboardData {
241
241
  unprocessedScripts: DashboardData;
242
242
  unprocessedPaperScripts: DashboardData;
243
243
  }
244
- export type AdminImportDirectUser = Partial<HealthInfo> & {
244
+ export type AdminImportDirectUser = Partial<Omit<HealthInfo, 'updated'>> & {
245
245
  compoundDirectId: number;
246
246
  firstName: string;
247
247
  lastName: string;
@@ -254,6 +254,7 @@ export type AdminImportDirectUser = Partial<HealthInfo> & {
254
254
  email?: string;
255
255
  mobilePhone?: string;
256
256
  isAnimal?: boolean;
257
+ animalSpecies?: AnimalSpecies;
257
258
  };
258
259
  export interface User {
259
260
  id: string;
@@ -665,108 +666,109 @@ export declare const CDProductCategoriesIdLabel: {
665
666
  label: CDProductCategoryLabel;
666
667
  }[];
667
668
  export declare const CompoundDirectAnimalId: {
668
- readonly dog: {
669
+ readonly Dog: {
669
670
  readonly id: 1;
670
671
  readonly name: "Dog";
671
672
  };
672
- readonly cat: {
673
+ readonly Cat: {
673
674
  readonly id: 2;
674
675
  readonly name: "Cat";
675
676
  };
676
- readonly fish: {
677
+ readonly Fish: {
677
678
  readonly id: 3;
678
679
  readonly name: "Fish";
679
680
  };
680
- readonly bird: {
681
+ readonly Bird: {
681
682
  readonly id: 4;
682
683
  readonly name: "Bird";
683
684
  };
684
- readonly rabbit: {
685
+ readonly Rabbit: {
685
686
  readonly id: 5;
686
687
  readonly name: "Rabbit";
687
688
  };
688
- readonly mouse: {
689
+ readonly Mouse: {
689
690
  readonly id: 6;
690
691
  readonly name: "Mouse";
691
692
  };
692
- readonly guinea: {
693
+ readonly Guinea: {
693
694
  readonly id: 7;
694
695
  readonly name: "Guinea";
695
696
  };
696
- readonly turtle: {
697
+ readonly Turtle: {
697
698
  readonly id: 8;
698
699
  readonly name: "Turtle";
699
700
  };
700
- readonly horse: {
701
+ readonly Horse: {
701
702
  readonly id: 9;
702
703
  readonly name: "Horse";
703
704
  };
704
- readonly snake: {
705
+ readonly Snake: {
705
706
  readonly id: 10;
706
707
  readonly name: "Snake";
707
708
  };
708
- readonly ferret: {
709
+ readonly Ferret: {
709
710
  readonly id: 11;
710
711
  readonly name: "Ferret";
711
712
  };
712
- readonly lizard: {
713
+ readonly Lizard: {
713
714
  readonly id: 12;
714
715
  readonly name: "Lizard";
715
716
  };
716
- readonly rat: {
717
+ readonly Rat: {
717
718
  readonly id: 13;
718
719
  readonly name: "Rat";
719
720
  };
720
- readonly sheep: {
721
+ readonly Sheep: {
721
722
  readonly id: 14;
722
723
  readonly name: "Sheep";
723
724
  };
724
- readonly cow: {
725
+ readonly Cow: {
725
726
  readonly id: 15;
726
727
  readonly name: "Cow";
727
728
  };
728
- readonly goat: {
729
+ readonly Goat: {
729
730
  readonly id: 16;
730
731
  readonly name: "Goat";
731
732
  };
732
- readonly donkey: {
733
+ readonly Donkey: {
733
734
  readonly id: 17;
734
735
  readonly name: "Donkey";
735
736
  };
736
- readonly deer: {
737
+ readonly Deer: {
737
738
  readonly id: 18;
738
739
  readonly name: "Deer";
739
740
  };
740
- readonly pig: {
741
+ readonly Pig: {
741
742
  readonly id: 19;
742
743
  readonly name: "Pig";
743
744
  };
744
- readonly chicken: {
745
+ readonly Chicken: {
745
746
  readonly id: 20;
746
747
  readonly name: "Chicken";
747
748
  };
748
- readonly goose: {
749
+ readonly Goose: {
749
750
  readonly id: 21;
750
751
  readonly name: "Goose";
751
752
  };
752
- readonly bee: {
753
+ readonly Bee: {
753
754
  readonly id: 22;
754
755
  readonly name: "Bee";
755
756
  };
756
- readonly koala: {
757
+ readonly Koala: {
757
758
  readonly id: 23;
758
759
  readonly name: "Koala";
759
760
  };
760
- readonly monkey: {
761
+ readonly Monkey: {
761
762
  readonly id: 24;
762
763
  readonly name: "Monkey";
763
764
  };
764
- readonly other: {
765
+ readonly Other: {
765
766
  readonly id: 25;
766
767
  readonly name: "N/A";
767
768
  };
768
769
  };
769
770
  export declare const AnimalSpeciesKeys: [keyof typeof CompoundDirectAnimalId, ...(keyof typeof CompoundDirectAnimalId)[]];
771
+ export type AnimalSpecies = (typeof AnimalSpeciesKeys)[number];
770
772
  export interface CDEPrescription {
771
773
  type: string;
772
774
  /** If true, indicates this is an eRx script, if false or undefined, assume it is a paper script */
@@ -1090,7 +1092,7 @@ export interface CDCustomerCreate {
1090
1092
  mobile: string;
1091
1093
  email?: string;
1092
1094
  dateOfBirth: string;
1093
- animalSpecies?: typeof AnimalSpeciesKeys;
1095
+ animalSpecies?: AnimalSpecies;
1094
1096
  animalOwnerName?: string;
1095
1097
  }
1096
1098
  /**
@@ -354,31 +354,31 @@ export const CDProductCategoriesIdLabel = cDProductCategoryIdValues.map((v, i) =
354
354
  return { id: v, label: cDProductCategoryLabelValues[i] };
355
355
  });
356
356
  export const CompoundDirectAnimalId = {
357
- dog: { id: 1, name: 'Dog' },
358
- cat: { id: 2, name: 'Cat' },
359
- fish: { id: 3, name: 'Fish' },
360
- bird: { id: 4, name: 'Bird' },
361
- rabbit: { id: 5, name: 'Rabbit' },
362
- mouse: { id: 6, name: 'Mouse' },
363
- guinea: { id: 7, name: 'Guinea' },
364
- turtle: { id: 8, name: 'Turtle' },
365
- horse: { id: 9, name: 'Horse' },
366
- snake: { id: 10, name: 'Snake' },
367
- ferret: { id: 11, name: 'Ferret' },
368
- lizard: { id: 12, name: 'Lizard' },
369
- rat: { id: 13, name: 'Rat' },
370
- sheep: { id: 14, name: 'Sheep' },
371
- cow: { id: 15, name: 'Cow' },
372
- goat: { id: 16, name: 'Goat' },
373
- donkey: { id: 17, name: 'Donkey' },
374
- deer: { id: 18, name: 'Deer' },
375
- pig: { id: 19, name: 'Pig' },
376
- chicken: { id: 20, name: 'Chicken' },
377
- goose: { id: 21, name: 'Goose' },
378
- bee: { id: 22, name: 'Bee' },
379
- koala: { id: 23, name: 'Koala' },
380
- monkey: { id: 24, name: 'Monkey' },
381
- other: { id: 25, name: 'N/A' },
357
+ Dog: { id: 1, name: 'Dog' },
358
+ Cat: { id: 2, name: 'Cat' },
359
+ Fish: { id: 3, name: 'Fish' },
360
+ Bird: { id: 4, name: 'Bird' },
361
+ Rabbit: { id: 5, name: 'Rabbit' },
362
+ Mouse: { id: 6, name: 'Mouse' },
363
+ Guinea: { id: 7, name: 'Guinea' },
364
+ Turtle: { id: 8, name: 'Turtle' },
365
+ Horse: { id: 9, name: 'Horse' },
366
+ Snake: { id: 10, name: 'Snake' },
367
+ Ferret: { id: 11, name: 'Ferret' },
368
+ Lizard: { id: 12, name: 'Lizard' },
369
+ Rat: { id: 13, name: 'Rat' },
370
+ Sheep: { id: 14, name: 'Sheep' },
371
+ Cow: { id: 15, name: 'Cow' },
372
+ Goat: { id: 16, name: 'Goat' },
373
+ Donkey: { id: 17, name: 'Donkey' },
374
+ Deer: { id: 18, name: 'Deer' },
375
+ Pig: { id: 19, name: 'Pig' },
376
+ Chicken: { id: 20, name: 'Chicken' },
377
+ Goose: { id: 21, name: 'Goose' },
378
+ Bee: { id: 22, name: 'Bee' },
379
+ Koala: { id: 23, name: 'Koala' },
380
+ Monkey: { id: 24, name: 'Monkey' },
381
+ Other: { id: 25, name: 'N/A' },
382
382
  };
383
383
  export const AnimalSpeciesKeys = Object.keys(CompoundDirectAnimalId);
384
384
  export const CDProductForms = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.23.13",
3
+ "version": "1.23.15",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",