@simpleapps-com/augur-utils 1.0.19 → 1.0.20
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.cts +60 -1
- package/dist/index.d.ts +60 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -751,6 +751,65 @@ type TTax = {
|
|
|
751
751
|
items: TTaxItem[];
|
|
752
752
|
};
|
|
753
753
|
|
|
754
|
+
type TCategoryItemsResult = {
|
|
755
|
+
itemCategoryUid: number;
|
|
756
|
+
itemCategoryId?: string;
|
|
757
|
+
itemCategoryDesc?: string;
|
|
758
|
+
took: number;
|
|
759
|
+
total: number;
|
|
760
|
+
items: TProductItem[];
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
type TTransactionSetup = {
|
|
764
|
+
transactionSetupId: string;
|
|
765
|
+
uiEndpoint?: string;
|
|
766
|
+
};
|
|
767
|
+
type TAccountQuery = {
|
|
768
|
+
PaymentAccountID: string;
|
|
769
|
+
TransactionSetupID?: string;
|
|
770
|
+
ExpressResponseCode?: string;
|
|
771
|
+
ExpressResponseMessage?: string;
|
|
772
|
+
TruncatedCardNumber?: string;
|
|
773
|
+
ExpirationMonth?: string;
|
|
774
|
+
ExpirationYear?: string;
|
|
775
|
+
PaymentBrand?: string;
|
|
776
|
+
Bin?: string;
|
|
777
|
+
};
|
|
778
|
+
type TCardInfo = {
|
|
779
|
+
cardNumber?: string;
|
|
780
|
+
expMonth?: string;
|
|
781
|
+
expYear?: string;
|
|
782
|
+
transactionSetupId?: string;
|
|
783
|
+
};
|
|
784
|
+
type TSurcharge = {
|
|
785
|
+
surchargeAmount: number;
|
|
786
|
+
surchargeRate?: number;
|
|
787
|
+
};
|
|
788
|
+
type TBillingUpdate = {
|
|
789
|
+
success: boolean;
|
|
790
|
+
message?: string;
|
|
791
|
+
};
|
|
792
|
+
type TPaymentValidation = {
|
|
793
|
+
valid: boolean;
|
|
794
|
+
message?: string;
|
|
795
|
+
};
|
|
796
|
+
|
|
797
|
+
type TCheckoutResult = {
|
|
798
|
+
checkoutUid?: number;
|
|
799
|
+
body?: {
|
|
800
|
+
header?: Record<string, unknown>;
|
|
801
|
+
lines?: Record<string, unknown>[];
|
|
802
|
+
};
|
|
803
|
+
header?: Record<string, unknown>;
|
|
804
|
+
lines?: Record<string, unknown>[];
|
|
805
|
+
msg?: string;
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
type TPasswordVerification = {
|
|
809
|
+
valid: boolean;
|
|
810
|
+
userId: number;
|
|
811
|
+
};
|
|
812
|
+
|
|
754
813
|
type TMetaTags = {
|
|
755
814
|
invMastExtUid: number;
|
|
756
815
|
invMastUid: number;
|
|
@@ -1019,4 +1078,4 @@ declare function buildImageLoader(config: ImageConfig, transforms?: ImageTransfo
|
|
|
1019
1078
|
*/
|
|
1020
1079
|
declare function sanitizeHtmlImages(config: ImageConfig, html: string, transforms?: ImageTransforms): string;
|
|
1021
1080
|
|
|
1022
|
-
export { BLUR_DATA_URL, type BreadcrumbJsonLdItem, CACHE_CONFIG, type CacheTier, type CheckoutInput, type CustomerDocument, type DerivePriceInput, type DerivedPrice, type ImageConfig, type ImageTransforms, type ImageUrlOptions, type MenuItem, type OeHdr, type OeLine, type OrderHeader, type OrderLine, type OrderNote, type OrderPayment, type PaymentStatus, type PaymentStatusInvoice, type ResolveStockInput, type ResolvedStock, type SchemaAvailability, type ShipToAddress, type TApiResponse, type TAttribute, type TAttributeValue, type TCartHdrUid, type TCartLine, type TCartLookUp, type TCategory, type TCategoryChild, type TInvMast, type TInvMastDoc, type TInventorySupplier, type TItemAccessory, type TItemAttribute, type TItemAttributes, type TItemCategory, type TItemDetails, type TItemRelatedProduct, type TItemUom, type TItemsFilters, type TJoomlaContent, type TJoomlaContentFilters, type TLibraryPriceBreak, type TLibraryPriceData, type TLtlRatesResponse, type TLtlShipmentData, type TMenu, type TMenuFilters, type TMetaTags, type TOrderCartLine, type TPriceData, type TProductCategory, type TProductItem, type TProductStockData, type TProfileValues, type TRelatedProduct, type TSearchSuggestion, type TSearchSuggestionsResponse, type TShippingMethod, type TSmartyStreets, type TStock, type TStockData, type TTax, type TTaxItem, type TUserProfile, type TWebDesc, type UserAddress, buildCheckoutPayload, buildImageLoader, createImageConfig, derivePrice, formatPrice, generateBreadcrumbJsonLd, getDefaultImageUrl, getImageSrcSet, getImageUrl, getPaymentStatus, getSchemaAvailability, isAddressDifferent, normalizePath, resolveStock, sanitizeHtmlImages, serializeTransforms, transformShipToAddress };
|
|
1081
|
+
export { BLUR_DATA_URL, type BreadcrumbJsonLdItem, CACHE_CONFIG, type CacheTier, type CheckoutInput, type CustomerDocument, type DerivePriceInput, type DerivedPrice, type ImageConfig, type ImageTransforms, type ImageUrlOptions, type MenuItem, type OeHdr, type OeLine, type OrderHeader, type OrderLine, type OrderNote, type OrderPayment, type PaymentStatus, type PaymentStatusInvoice, type ResolveStockInput, type ResolvedStock, type SchemaAvailability, type ShipToAddress, type TAccountQuery, type TApiResponse, type TAttribute, type TAttributeValue, type TBillingUpdate, type TCardInfo, type TCartHdrUid, type TCartLine, type TCartLookUp, type TCategory, type TCategoryChild, type TCategoryItemsResult, type TCheckoutResult, type TInvMast, type TInvMastDoc, type TInventorySupplier, type TItemAccessory, type TItemAttribute, type TItemAttributes, type TItemCategory, type TItemDetails, type TItemRelatedProduct, type TItemUom, type TItemsFilters, type TJoomlaContent, type TJoomlaContentFilters, type TLibraryPriceBreak, type TLibraryPriceData, type TLtlRatesResponse, type TLtlShipmentData, type TMenu, type TMenuFilters, type TMetaTags, type TOrderCartLine, type TPasswordVerification, type TPaymentValidation, type TPriceData, type TProductCategory, type TProductItem, type TProductStockData, type TProfileValues, type TRelatedProduct, type TSearchSuggestion, type TSearchSuggestionsResponse, type TShippingMethod, type TSmartyStreets, type TStock, type TStockData, type TSurcharge, type TTax, type TTaxItem, type TTransactionSetup, type TUserProfile, type TWebDesc, type UserAddress, buildCheckoutPayload, buildImageLoader, createImageConfig, derivePrice, formatPrice, generateBreadcrumbJsonLd, getDefaultImageUrl, getImageSrcSet, getImageUrl, getPaymentStatus, getSchemaAvailability, isAddressDifferent, normalizePath, resolveStock, sanitizeHtmlImages, serializeTransforms, transformShipToAddress };
|
package/dist/index.d.ts
CHANGED
|
@@ -751,6 +751,65 @@ type TTax = {
|
|
|
751
751
|
items: TTaxItem[];
|
|
752
752
|
};
|
|
753
753
|
|
|
754
|
+
type TCategoryItemsResult = {
|
|
755
|
+
itemCategoryUid: number;
|
|
756
|
+
itemCategoryId?: string;
|
|
757
|
+
itemCategoryDesc?: string;
|
|
758
|
+
took: number;
|
|
759
|
+
total: number;
|
|
760
|
+
items: TProductItem[];
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
type TTransactionSetup = {
|
|
764
|
+
transactionSetupId: string;
|
|
765
|
+
uiEndpoint?: string;
|
|
766
|
+
};
|
|
767
|
+
type TAccountQuery = {
|
|
768
|
+
PaymentAccountID: string;
|
|
769
|
+
TransactionSetupID?: string;
|
|
770
|
+
ExpressResponseCode?: string;
|
|
771
|
+
ExpressResponseMessage?: string;
|
|
772
|
+
TruncatedCardNumber?: string;
|
|
773
|
+
ExpirationMonth?: string;
|
|
774
|
+
ExpirationYear?: string;
|
|
775
|
+
PaymentBrand?: string;
|
|
776
|
+
Bin?: string;
|
|
777
|
+
};
|
|
778
|
+
type TCardInfo = {
|
|
779
|
+
cardNumber?: string;
|
|
780
|
+
expMonth?: string;
|
|
781
|
+
expYear?: string;
|
|
782
|
+
transactionSetupId?: string;
|
|
783
|
+
};
|
|
784
|
+
type TSurcharge = {
|
|
785
|
+
surchargeAmount: number;
|
|
786
|
+
surchargeRate?: number;
|
|
787
|
+
};
|
|
788
|
+
type TBillingUpdate = {
|
|
789
|
+
success: boolean;
|
|
790
|
+
message?: string;
|
|
791
|
+
};
|
|
792
|
+
type TPaymentValidation = {
|
|
793
|
+
valid: boolean;
|
|
794
|
+
message?: string;
|
|
795
|
+
};
|
|
796
|
+
|
|
797
|
+
type TCheckoutResult = {
|
|
798
|
+
checkoutUid?: number;
|
|
799
|
+
body?: {
|
|
800
|
+
header?: Record<string, unknown>;
|
|
801
|
+
lines?: Record<string, unknown>[];
|
|
802
|
+
};
|
|
803
|
+
header?: Record<string, unknown>;
|
|
804
|
+
lines?: Record<string, unknown>[];
|
|
805
|
+
msg?: string;
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
type TPasswordVerification = {
|
|
809
|
+
valid: boolean;
|
|
810
|
+
userId: number;
|
|
811
|
+
};
|
|
812
|
+
|
|
754
813
|
type TMetaTags = {
|
|
755
814
|
invMastExtUid: number;
|
|
756
815
|
invMastUid: number;
|
|
@@ -1019,4 +1078,4 @@ declare function buildImageLoader(config: ImageConfig, transforms?: ImageTransfo
|
|
|
1019
1078
|
*/
|
|
1020
1079
|
declare function sanitizeHtmlImages(config: ImageConfig, html: string, transforms?: ImageTransforms): string;
|
|
1021
1080
|
|
|
1022
|
-
export { BLUR_DATA_URL, type BreadcrumbJsonLdItem, CACHE_CONFIG, type CacheTier, type CheckoutInput, type CustomerDocument, type DerivePriceInput, type DerivedPrice, type ImageConfig, type ImageTransforms, type ImageUrlOptions, type MenuItem, type OeHdr, type OeLine, type OrderHeader, type OrderLine, type OrderNote, type OrderPayment, type PaymentStatus, type PaymentStatusInvoice, type ResolveStockInput, type ResolvedStock, type SchemaAvailability, type ShipToAddress, type TApiResponse, type TAttribute, type TAttributeValue, type TCartHdrUid, type TCartLine, type TCartLookUp, type TCategory, type TCategoryChild, type TInvMast, type TInvMastDoc, type TInventorySupplier, type TItemAccessory, type TItemAttribute, type TItemAttributes, type TItemCategory, type TItemDetails, type TItemRelatedProduct, type TItemUom, type TItemsFilters, type TJoomlaContent, type TJoomlaContentFilters, type TLibraryPriceBreak, type TLibraryPriceData, type TLtlRatesResponse, type TLtlShipmentData, type TMenu, type TMenuFilters, type TMetaTags, type TOrderCartLine, type TPriceData, type TProductCategory, type TProductItem, type TProductStockData, type TProfileValues, type TRelatedProduct, type TSearchSuggestion, type TSearchSuggestionsResponse, type TShippingMethod, type TSmartyStreets, type TStock, type TStockData, type TTax, type TTaxItem, type TUserProfile, type TWebDesc, type UserAddress, buildCheckoutPayload, buildImageLoader, createImageConfig, derivePrice, formatPrice, generateBreadcrumbJsonLd, getDefaultImageUrl, getImageSrcSet, getImageUrl, getPaymentStatus, getSchemaAvailability, isAddressDifferent, normalizePath, resolveStock, sanitizeHtmlImages, serializeTransforms, transformShipToAddress };
|
|
1081
|
+
export { BLUR_DATA_URL, type BreadcrumbJsonLdItem, CACHE_CONFIG, type CacheTier, type CheckoutInput, type CustomerDocument, type DerivePriceInput, type DerivedPrice, type ImageConfig, type ImageTransforms, type ImageUrlOptions, type MenuItem, type OeHdr, type OeLine, type OrderHeader, type OrderLine, type OrderNote, type OrderPayment, type PaymentStatus, type PaymentStatusInvoice, type ResolveStockInput, type ResolvedStock, type SchemaAvailability, type ShipToAddress, type TAccountQuery, type TApiResponse, type TAttribute, type TAttributeValue, type TBillingUpdate, type TCardInfo, type TCartHdrUid, type TCartLine, type TCartLookUp, type TCategory, type TCategoryChild, type TCategoryItemsResult, type TCheckoutResult, type TInvMast, type TInvMastDoc, type TInventorySupplier, type TItemAccessory, type TItemAttribute, type TItemAttributes, type TItemCategory, type TItemDetails, type TItemRelatedProduct, type TItemUom, type TItemsFilters, type TJoomlaContent, type TJoomlaContentFilters, type TLibraryPriceBreak, type TLibraryPriceData, type TLtlRatesResponse, type TLtlShipmentData, type TMenu, type TMenuFilters, type TMetaTags, type TOrderCartLine, type TPasswordVerification, type TPaymentValidation, type TPriceData, type TProductCategory, type TProductItem, type TProductStockData, type TProfileValues, type TRelatedProduct, type TSearchSuggestion, type TSearchSuggestionsResponse, type TShippingMethod, type TSmartyStreets, type TStock, type TStockData, type TSurcharge, type TTax, type TTaxItem, type TTransactionSetup, type TUserProfile, type TWebDesc, type UserAddress, buildCheckoutPayload, buildImageLoader, createImageConfig, derivePrice, formatPrice, generateBreadcrumbJsonLd, getDefaultImageUrl, getImageSrcSet, getImageUrl, getPaymentStatus, getSchemaAvailability, isAddressDifferent, normalizePath, resolveStock, sanitizeHtmlImages, serializeTransforms, transformShipToAddress };
|