@retaila/shared-types 1.1.116 → 1.1.118

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.
package/dist/index.d.mts CHANGED
@@ -898,16 +898,7 @@ type FulfillmentDeliveryOption = {
898
898
  interface PickupLocation {
899
899
  id: string;
900
900
  name: string;
901
- address: {
902
- street: string;
903
- city: string;
904
- state: string;
905
- postalCode?: string;
906
- };
907
- coordinates?: {
908
- latitude: number;
909
- longitude: number;
910
- };
901
+ address: Address;
911
902
  hours?: string;
912
903
  phone?: string;
913
904
  additionalInfo?: Record<string, unknown>;
@@ -931,11 +922,7 @@ type FulfillmentRecollectionCapabilities = {
931
922
  type FulfillmentRecollectionConfig = {
932
923
  mode: FulfillmentRecollectionMode;
933
924
  scheduledDateTime?: Date;
934
- recollectionAddress?: {
935
- street: string;
936
- city: string;
937
- state: string;
938
- };
925
+ recollectionAddress?: Address;
939
926
  contactInfo?: {
940
927
  name: string;
941
928
  phone: string;
@@ -971,7 +958,7 @@ type FulfillmentProviderProcessWebhookOutput = {
971
958
  data: Record<string, any>;
972
959
  trackingEvent?: FulfillmentTrackingEvent;
973
960
  };
974
- type FulfillmentProviderKey = 'MANUAL_FULFILLMENT' | 'DAC';
961
+ type FulfillmentProviderKey = 'MANUAL_FULFILLMENT' | 'DAC' | 'PEDIDOSYA';
975
962
  type FulfillmentProviderContext = {
976
963
  data: Record<string, any>;
977
964
  };
package/dist/index.d.ts CHANGED
@@ -898,16 +898,7 @@ type FulfillmentDeliveryOption = {
898
898
  interface PickupLocation {
899
899
  id: string;
900
900
  name: string;
901
- address: {
902
- street: string;
903
- city: string;
904
- state: string;
905
- postalCode?: string;
906
- };
907
- coordinates?: {
908
- latitude: number;
909
- longitude: number;
910
- };
901
+ address: Address;
911
902
  hours?: string;
912
903
  phone?: string;
913
904
  additionalInfo?: Record<string, unknown>;
@@ -931,11 +922,7 @@ type FulfillmentRecollectionCapabilities = {
931
922
  type FulfillmentRecollectionConfig = {
932
923
  mode: FulfillmentRecollectionMode;
933
924
  scheduledDateTime?: Date;
934
- recollectionAddress?: {
935
- street: string;
936
- city: string;
937
- state: string;
938
- };
925
+ recollectionAddress?: Address;
939
926
  contactInfo?: {
940
927
  name: string;
941
928
  phone: string;
@@ -971,7 +958,7 @@ type FulfillmentProviderProcessWebhookOutput = {
971
958
  data: Record<string, any>;
972
959
  trackingEvent?: FulfillmentTrackingEvent;
973
960
  };
974
- type FulfillmentProviderKey = 'MANUAL_FULFILLMENT' | 'DAC';
961
+ type FulfillmentProviderKey = 'MANUAL_FULFILLMENT' | 'DAC' | 'PEDIDOSYA';
975
962
  type FulfillmentProviderContext = {
976
963
  data: Record<string, any>;
977
964
  };