@artisan-commerce/types 0.14.0-canary.43 → 0.14.0-canary.46

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.
Files changed (2) hide show
  1. package/dist/bundle.d.ts +55 -55
  2. package/package.json +5 -4
package/dist/bundle.d.ts CHANGED
@@ -42,91 +42,91 @@ interface CountryCurrency {
42
42
  * @since 0.1.0
43
43
  * @see https://www.nationsonline.org/oneworld/country_code_list.htm for reference
44
44
  */
45
- declare type CountryCode = "AR" | "BO" | "BR" | "CL" | "CO" | "EC" | "PY" | "PE" | "UY" | "VE" | "US";
45
+ type CountryCode = "AR" | "BO" | "BR" | "CL" | "CO" | "EC" | "PY" | "PE" | "UY" | "VE" | "US";
46
46
  /**
47
47
  * Default documents for all countries.
48
48
  *
49
49
  * @typedef CommonDocumentType
50
50
  * @since 0.1.0
51
51
  */
52
- declare type CommonDocumentType = "PASSPORT";
52
+ type CommonDocumentType = "PASSPORT";
53
53
  /**
54
54
  * Argentina supported document types.
55
55
  *
56
56
  * @typedef ARDocumentType
57
57
  * @since 0.1.0
58
58
  */
59
- declare type ARDocumentType = CommonDocumentType | "DNI";
59
+ type ARDocumentType = CommonDocumentType | "DNI";
60
60
  /**
61
61
  * Bolivia supported document types.
62
62
  *
63
63
  * @typedef BODocumentType
64
64
  * @since 0.1.0
65
65
  */
66
- declare type BODocumentType = CommonDocumentType;
66
+ type BODocumentType = CommonDocumentType;
67
67
  /**
68
68
  * Brasil supported document types.
69
69
  *
70
70
  * @typedef BRDocumentType
71
71
  * @since 0.1.0
72
72
  */
73
- declare type BRDocumentType = CommonDocumentType;
73
+ type BRDocumentType = CommonDocumentType;
74
74
  /**
75
75
  * Chile supported document types.
76
76
  *
77
77
  * @typedef CLDocumentType
78
78
  * @since 0.1.0
79
79
  */
80
- declare type CLDocumentType = CommonDocumentType | "RUT";
80
+ type CLDocumentType = CommonDocumentType | "RUT";
81
81
  /**
82
82
  * Colombia supported document types.
83
83
  *
84
84
  * @typedef CODocumentType
85
85
  * @since 0.1.0
86
86
  */
87
- declare type CODocumentType = CommonDocumentType | "NIT" | "CI_CO";
87
+ type CODocumentType = CommonDocumentType | "NIT" | "CI_CO";
88
88
  /**
89
89
  * Ecuador supported document types.
90
90
  *
91
91
  * @typedef ECDocumentType
92
92
  * @since 0.1.0
93
93
  */
94
- declare type ECDocumentType = CommonDocumentType | "CI" | "RUC";
94
+ type ECDocumentType = CommonDocumentType | "CI" | "RUC";
95
95
  /**
96
96
  * Paraguay supported document types.
97
97
  *
98
98
  * @typedef PYDocumentType
99
99
  * @since 0.1.0
100
100
  */
101
- declare type PYDocumentType = CommonDocumentType;
101
+ type PYDocumentType = CommonDocumentType;
102
102
  /**
103
103
  * Perú supported document types.
104
104
  *
105
105
  * @typedef PEDocumentType
106
106
  * @since 0.1.0
107
107
  */
108
- declare type PEDocumentType = CommonDocumentType | "DNI" | "RUC";
108
+ type PEDocumentType = CommonDocumentType | "DNI" | "RUC";
109
109
  /**
110
110
  * Uruguay supported document types.
111
111
  *
112
112
  * @typedef UYDocumentType
113
113
  * @since 0.1.0
114
114
  */
115
- declare type UYDocumentType = CommonDocumentType;
115
+ type UYDocumentType = CommonDocumentType;
116
116
  /**
117
117
  * Venezuela supported document types.
118
118
  *
119
119
  * @typedef VEDocumentType
120
120
  * @since 0.1.0
121
121
  */
122
- declare type VEDocumentType = CommonDocumentType | "CI_VE" | "CE_VE" | "RIF";
122
+ type VEDocumentType = CommonDocumentType | "CI_VE" | "CE_VE" | "RIF";
123
123
  /**
124
124
  * United States supported document types.
125
125
  *
126
126
  * @typedef USDocumentType
127
127
  * @since 0.1.0
128
128
  */
129
- declare type USDocumentType = CommonDocumentType;
129
+ type USDocumentType = CommonDocumentType;
130
130
 
131
131
  /**
132
132
  * Representation of a generic object.
@@ -144,7 +144,7 @@ interface Objectify<T> {
144
144
  * @typedef DocumentType
145
145
  * @since 0.1.0
146
146
  */
147
- declare type DocumentType = ARDocumentType | BODocumentType | BRDocumentType | CLDocumentType | CODocumentType | ECDocumentType | PYDocumentType | PEDocumentType | UYDocumentType | VEDocumentType | USDocumentType;
147
+ type DocumentType = ARDocumentType | BODocumentType | BRDocumentType | CLDocumentType | CODocumentType | ECDocumentType | PYDocumentType | PEDocumentType | UYDocumentType | VEDocumentType | USDocumentType;
148
148
  /**
149
149
  * Representation of the country's summary.
150
150
  *
@@ -163,21 +163,21 @@ interface CountrySummary {
163
163
  * @typedef BaseWeekDay
164
164
  * @since 0.1.0
165
165
  */
166
- declare type BaseWeekDay = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
166
+ type BaseWeekDay = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
167
167
  /**
168
168
  * Common additional information.
169
169
  *
170
170
  * @typedef AdditionalInfo
171
171
  * @since 0.1.0
172
172
  */
173
- declare type AdditionalInfo = Record<string, any>;
173
+ type AdditionalInfo = Record<string, any>;
174
174
  /**
175
175
  * Artisn app's allowed platforms to run on.
176
176
  *
177
177
  * @typedef ArtisnPlatform
178
178
  * @since 0.1.0
179
179
  */
180
- declare type ArtisnPlatform = "web" | "ios" | "android" | "windows" | "macos" | "call center";
180
+ type ArtisnPlatform = "web" | "ios" | "android" | "windows" | "macos" | "call center";
181
181
 
182
182
  /**
183
183
  * Representation of a image allocated in a CDN.
@@ -203,7 +203,7 @@ interface CDNImage {
203
203
  * @typedef URLImage
204
204
  * @since 0.1.0
205
205
  */
206
- declare type URLImage = string;
206
+ type URLImage = string;
207
207
  /**
208
208
  * Configuration on how to setup the cloudfront image manipulation.
209
209
  *
@@ -230,21 +230,21 @@ interface ImageManipulationConfig {
230
230
  * @typedef Image
231
231
  * @since 0.1.0
232
232
  */
233
- declare type Image = CDNImage | URLImage;
233
+ type Image = CDNImage | URLImage;
234
234
  /**
235
235
  * Contains different properties on how to resize the image.
236
236
  *
237
237
  * @typedef ImageFit
238
238
  * @since 0.1.0
239
239
  */
240
- declare type ImageFit = "fill" | "cover" | "contain" | "inside" | "outside";
240
+ type ImageFit = "fill" | "cover" | "contain" | "inside" | "outside";
241
241
  /**
242
242
  * Contains different image formats.
243
243
  *
244
244
  * @typedef ImageToFormat
245
245
  * @since 0.1.0
246
246
  */
247
- declare type ImageToFormat = "jpg" | "jpeg" | "png" | "svg";
247
+ type ImageToFormat = "jpg" | "jpeg" | "png" | "svg";
248
248
  /**
249
249
  * Random image configuration.
250
250
  *
@@ -531,14 +531,14 @@ interface Service {
531
531
  * @typedef DeliveryTimeUnit
532
532
  * @since 0.1.0
533
533
  */
534
- declare type DeliveryTimeUnit = "min";
534
+ type DeliveryTimeUnit = "min";
535
535
  /**
536
536
  * Allowed days for schedules.
537
537
  *
538
538
  * @typedef Days
539
539
  * @since 0.1.0
540
540
  */
541
- declare type Days = BaseWeekDay | "SPECIAL";
541
+ type Days = BaseWeekDay | "SPECIAL";
542
542
  /**
543
543
  * A list of coordinates that encapsules the coverage area of a given store.
544
544
  *
@@ -697,7 +697,7 @@ interface CartStore<T extends AdditionalInfo = AdditionalInfo, U extends Additio
697
697
  * @typedef BillTotal
698
698
  * @since 0.1.0
699
699
  */
700
- declare type BillTotal = {
700
+ type BillTotal = {
701
701
  /** Normal bill total category */
702
702
  NORMAL?: BillTotalCategory;
703
703
  /** Points bill total category */
@@ -769,7 +769,7 @@ interface CartTotals {
769
769
  * @template U Categories additional info
770
770
  * @since 0.1.0
771
771
  */
772
- declare type Product<T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo> = BaseProduct<T> | ProductDetails<T, U> | CartProduct<T, U>;
772
+ type Product<T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo> = BaseProduct<T> | ProductDetails<T, U> | CartProduct<T, U>;
773
773
  /**
774
774
  * Base product attributes.
775
775
  *
@@ -894,28 +894,28 @@ interface ProductAttributes {
894
894
  * @typedef ProductStatus
895
895
  * @since 0.1.0
896
896
  **/
897
- declare type ProductStatus = "ACTIVE" | "INACTIVE";
897
+ type ProductStatus = "ACTIVE" | "INACTIVE";
898
898
  /**
899
899
  * Product type's possible values.
900
900
  *
901
901
  * @typedef ProductType
902
902
  * @since 0.1.0
903
903
  **/
904
- declare type ProductType = "PRODUCT" | "MODIFIER";
904
+ type ProductType = "PRODUCT" | "MODIFIER";
905
905
  /**
906
906
  * Price category's possible values.
907
907
  *
908
908
  * @typedef PriceCategoryType
909
909
  * @since 0.1.0
910
910
  **/
911
- declare type PriceCategoryType = "NORMAL" | "POINTS";
911
+ type PriceCategoryType = "NORMAL" | "POINTS";
912
912
  /**
913
913
  * Tax's possible values.
914
914
  *
915
915
  * @typedef TaxType
916
916
  * @since 0.1.0
917
917
  **/
918
- declare type TaxType = "IVA";
918
+ type TaxType = "IVA";
919
919
  /**
920
920
  * Weekday product's schedule.
921
921
  *
@@ -993,7 +993,7 @@ interface ProductDetails<T extends AdditionalInfo = AdditionalInfo, U extends Ad
993
993
  * @typedef BaseAnswersProps
994
994
  * @since 0.1.0
995
995
  */
996
- declare type BaseAnswersProps = "name" | "prices" | "attributes" | "productId" | "type" | "images" | "questions" | "additionalInfo";
996
+ type BaseAnswersProps = "name" | "prices" | "attributes" | "productId" | "type" | "images" | "questions" | "additionalInfo";
997
997
  /**
998
998
  * The shared fields of any Answer.
999
999
  *
@@ -1003,7 +1003,7 @@ declare type BaseAnswersProps = "name" | "prices" | "attributes" | "productId" |
1003
1003
  * {@link ProductDetails} and {@link BaseAnswersProps}
1004
1004
  * for further information
1005
1005
  */
1006
- declare type BaseAnswer<T extends ProductDetails, U extends keyof T = BaseAnswersProps> = Pick<T, U> & {
1006
+ type BaseAnswer<T extends ProductDetails, U extends keyof T = BaseAnswersProps> = Pick<T, U> & {
1007
1007
  /** Type of question to render */
1008
1008
  renderType: string | null;
1009
1009
  };
@@ -1025,7 +1025,7 @@ interface ProductAnswer<T extends AdditionalInfo = AdditionalInfo> extends BaseA
1025
1025
  * @typedef CartAnswersProps
1026
1026
  * @since 0.1.0
1027
1027
  */
1028
- declare type CartAnswersProps = BaseAnswersProps | "amount" | "priceCategory" | "comment" | "questionsAndAnswers";
1028
+ type CartAnswersProps = BaseAnswersProps | "amount" | "priceCategory" | "comment" | "questionsAndAnswers";
1029
1029
  /**
1030
1030
  * Representation of a Commerce Cart Product Answer.
1031
1031
  *
@@ -1178,14 +1178,14 @@ interface Award {
1178
1178
  * @typedef ShoppingCartBenefits
1179
1179
  * @since 0.1.0
1180
1180
  */
1181
- declare type ShoppingCartBenefits = Benefit[];
1181
+ type ShoppingCartBenefits = Benefit[];
1182
1182
  /**
1183
1183
  * The possible values of the benefit type.
1184
1184
  *
1185
1185
  * @typedef BenefitTypes
1186
1186
  * @since 0.1.0
1187
1187
  */
1188
- declare type BenefitTypes = "ALTER_DELIVERY" | "PRODUCT" | "DISCOUNT_FIXED" | "DISCOUNT_PERCENTAGE";
1188
+ type BenefitTypes = "ALTER_DELIVERY" | "PRODUCT" | "DISCOUNT_FIXED" | "DISCOUNT_PERCENTAGE";
1189
1189
  /**
1190
1190
  * Redeemed coupon related data.
1191
1191
  *
@@ -1351,7 +1351,7 @@ interface Coupon {
1351
1351
  * @typedef CouponType
1352
1352
  * @since 0.1.0
1353
1353
  */
1354
- declare type CouponType = "COUPON" | "MIX";
1354
+ type CouponType = "COUPON" | "MIX";
1355
1355
  /**
1356
1356
  * Coupon category object associated with a store coupon.
1357
1357
  *
@@ -1478,14 +1478,14 @@ interface Banner<T extends AdditionalInfo = AdditionalInfo> {
1478
1478
  * @typedef BannerType
1479
1479
  * @since 0.1.0
1480
1480
  */
1481
- declare type BannerType = "INFO" | "URL" | "PRODUCT" | "COUPON" | "COUPON_QR" | "CATEGORY" | "SECTION";
1481
+ type BannerType = "INFO" | "URL" | "PRODUCT" | "COUPON" | "COUPON_QR" | "CATEGORY" | "SECTION";
1482
1482
  /**
1483
1483
  * The possible values of the banner's scope.
1484
1484
  *
1485
1485
  * @typedef BannerScope
1486
1486
  * @since 0.1.0
1487
1487
  */
1488
- declare type BannerScope = "WEB" | "GLOBAL" | "APP";
1488
+ type BannerScope = "WEB" | "GLOBAL" | "APP";
1489
1489
  /**
1490
1490
  * Representation of a Banner image.
1491
1491
  *
@@ -1576,7 +1576,7 @@ interface BillingData<T extends AdditionalInfo = AdditionalInfo> extends BaseBil
1576
1576
  * @typedef CurrencyCodes
1577
1577
  * @since 0.1.0
1578
1578
  */
1579
- declare type CurrencyCodes = "USD" | "ARS" | "COP" | "CLP" | "VES";
1579
+ type CurrencyCodes = "USD" | "ARS" | "COP" | "CLP" | "VES";
1580
1580
 
1581
1581
  /**
1582
1582
  * Fulfillment workflow.
@@ -1604,14 +1604,14 @@ interface Workflow<T extends AdditionalInfo = AdditionalInfo> {
1604
1604
  * @typedef StepCategory
1605
1605
  * @since 0.5.15
1606
1606
  */
1607
- declare type StepCategory = "TO_DO" | "PAYMENT_IN_PROGRESS" | "IN_PROGRESS" | "DONE";
1607
+ type StepCategory = "TO_DO" | "PAYMENT_IN_PROGRESS" | "IN_PROGRESS" | "DONE";
1608
1608
  /**
1609
1609
  * The possible values of the step code.
1610
1610
  *
1611
1611
  * @typedef StepCode
1612
1612
  * @since 0.5.15
1613
1613
  */
1614
- declare type StepCode = "START" | "IN_PROGRESS" | "ORDERED" | "RECEIVED" | "TO_ASSIGN" | "ASSIGNED" | "ON_ROUTE" | "DISPATCHED" | "CANCELED" | "ERROR";
1614
+ type StepCode = "START" | "IN_PROGRESS" | "ORDERED" | "RECEIVED" | "TO_ASSIGN" | "ASSIGNED" | "ON_ROUTE" | "DISPATCHED" | "CANCELED" | "ERROR";
1615
1615
  /**
1616
1616
  * The notification associated with the step.
1617
1617
  *
@@ -1825,14 +1825,14 @@ interface ArtisnRequest {
1825
1825
  * @typedef ArtisnRequestHeaders
1826
1826
  * @since 0.1.0
1827
1827
  */
1828
- declare type ArtisnRequestHeaders = Headers;
1828
+ type ArtisnRequestHeaders = Headers;
1829
1829
  /**
1830
1830
  * Allowed methods for requests.
1831
1831
  *
1832
1832
  * @typedef ArtisnRequestMethod
1833
1833
  * @since 0.1.0
1834
1834
  */
1835
- declare type ArtisnRequestMethod = "POST" | "GET" | "PUT" | "DELETE" | "PATCH";
1835
+ type ArtisnRequestMethod = "POST" | "GET" | "PUT" | "DELETE" | "PATCH";
1836
1836
  /**
1837
1837
  * Artisn request's body.
1838
1838
  *
@@ -2107,7 +2107,7 @@ interface User<T extends AdditionalInfo = AdditionalInfo> extends BaseUser<T> {
2107
2107
  * @typedef UserType
2108
2108
  * @since 0.1.0
2109
2109
  */
2110
- declare type UserType = "NORMAL" | "DEPENDENT";
2110
+ type UserType = "NORMAL" | "DEPENDENT";
2111
2111
  /**
2112
2112
  * Representation of a phone.
2113
2113
  *
@@ -2138,14 +2138,14 @@ interface Phone {
2138
2138
  * @typedef MaritalStatus
2139
2139
  * @since 0.1.0
2140
2140
  */
2141
- declare type MaritalStatus = "MARRIED" | "DIVORCED" | "SINGLE";
2141
+ type MaritalStatus = "MARRIED" | "DIVORCED" | "SINGLE";
2142
2142
  /**
2143
2143
  * The possible values for the user's gender.
2144
2144
  *
2145
2145
  * @typedef Gender
2146
2146
  * @since 0.1.0
2147
2147
  */
2148
- declare type Gender = "MALE" | "FEMALE";
2148
+ type Gender = "MALE" | "FEMALE";
2149
2149
 
2150
2150
  /**
2151
2151
  * User preferences.
@@ -2249,7 +2249,7 @@ interface BaseOrder<T extends AdditionalInfo = AdditionalInfo, U extends Additio
2249
2249
  * @typedef OrderStatus
2250
2250
  * @since 0.1.0
2251
2251
  */
2252
- declare type PaymentStatus = "PENDING" | "CANCELED" | "PAID" | "REFUNDED";
2252
+ type PaymentStatus = "PENDING" | "CANCELED" | "PAID" | "REFUNDED";
2253
2253
  /**
2254
2254
  * The shopping cart associated with the order.
2255
2255
  *
@@ -2516,7 +2516,7 @@ interface OrderBillProductAdditionalInfo {
2516
2516
  * @typedef TaxCalculations
2517
2517
  * @since 0.1.0
2518
2518
  */
2519
- declare type TaxCalculations = Record<string, TaxCalculation>;
2519
+ type TaxCalculations = Record<string, TaxCalculation>;
2520
2520
  /**
2521
2521
  * Order bill product tax calculation
2522
2522
  *
@@ -2860,7 +2860,7 @@ interface OrderDetailShippingCost {
2860
2860
  * @template V User additional info
2861
2861
  * @since 0.5.15
2862
2862
  */
2863
- declare type Order<T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo> = BaseOrder<T, U, V> | OrderDetails<T, U, V>;
2863
+ type Order<T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo> = BaseOrder<T, U, V> | OrderDetails<T, U, V>;
2864
2864
  /**
2865
2865
  * Order shipping metadata base field.
2866
2866
  *
@@ -2952,7 +2952,7 @@ interface MetadataShipping {
2952
2952
  * @typedef Allocation
2953
2953
  * @since 0.1.0
2954
2954
  */
2955
- declare type Allocation = "PICKUP_TO_GO" | "PICKUP_IN_PLACE" | "DELIVERY";
2955
+ type Allocation = "PICKUP_TO_GO" | "PICKUP_IN_PLACE" | "DELIVERY";
2956
2956
  /**
2957
2957
  * Order user.
2958
2958
  *
@@ -3011,7 +3011,7 @@ interface OrderPaymentMethod {
3011
3011
  * @typedef OrderStatus
3012
3012
  * @since 0.1.0
3013
3013
  */
3014
- declare type OrderStatus = "APPROVED" | "REJECTED" | "PENDING";
3014
+ type OrderStatus = "APPROVED" | "REJECTED" | "PENDING";
3015
3015
 
3016
3016
  /**
3017
3017
  * Notification object.
@@ -3048,14 +3048,14 @@ interface Notification {
3048
3048
  * @typedef NotificationPriority
3049
3049
  * @since 0.1.0
3050
3050
  */
3051
- declare type NotificationPriority = "HIGH" | "LOW";
3051
+ type NotificationPriority = "HIGH" | "LOW";
3052
3052
  /**
3053
3053
  * Possible read values for notifications.
3054
3054
  *
3055
3055
  * @typedef ReadValue
3056
3056
  * @since 0.1.0
3057
3057
  */
3058
- declare type ReadValue = "YES" | "NO";
3058
+ type ReadValue = "YES" | "NO";
3059
3059
  /**
3060
3060
  * Notification extra data.
3061
3061
  *
@@ -3259,14 +3259,14 @@ interface CreditCardMapping extends BasePaymentMethod {
3259
3259
  * @typedef PaymentMethodName
3260
3260
  * @since 0.1.0
3261
3261
  */
3262
- declare type PaymentMethodName = "CREDIT_CARD" | "CASH" | "DATAPHONE";
3262
+ type PaymentMethodName = "CREDIT_CARD" | "CASH" | "DATAPHONE";
3263
3263
  /**
3264
3264
  * Cards common names.
3265
3265
  *
3266
3266
  * @typedef CardName
3267
3267
  * @since 0.1.0
3268
3268
  */
3269
- declare type CardName = "Diners" | "Discover" | "American Express" | "Visa" | "MasterCard";
3269
+ type CardName = "Diners" | "Discover" | "American Express" | "Visa" | "MasterCard";
3270
3270
  /**
3271
3271
  * Representation of a card inscription.
3272
3272
  *
@@ -3284,4 +3284,4 @@ interface CardInscription {
3284
3284
  createdAt?: string;
3285
3285
  }
3286
3286
 
3287
- export { ARDocumentType, Account, AdditionalInfo, Alert, Allocation, ArtisnParams, ArtisnPlatform, ArtisnQuery, ArtisnRequest, ArtisnRequestBody, ArtisnRequestHeaders, ArtisnRequestMethod, Award, BODocumentType, BRDocumentType, Banner, BannerBenefits, BannerCoupon, BannerImage, BannerScope, BannerType, BaseBillingData, BaseField, BaseLivingPlace, BaseOrder, BasePaymentMethod, BaseProduct, BaseShippingAddress, BaseUser, BaseWeekDay, Benefit, BenefitData, BenefitTypes, BillTotal, BillTotalCategory, BillingData, CDNImage, CLDocumentType, CODocumentType, CardInscription, CardName, CartProduct, CartProductAnswer, CartProductQuestion, CartStore, CartTotals, Catalogue, Category, CategoryWithProducts, Code, CommonDocumentType, Country, CountryCode, CountryCurrency, CountrySummary, Coupon, CouponCategory, CouponType, CreditCardMapping, CurrencyCodes, DayOfWeek, Days, Delivery, DeliveryTimeUnit, Discount, DocumentType, ECDocumentType, Field, FieldRecord, Gender, GenericStoreLocation, Image, ImageFit, ImageManipulationConfig, ImageToFormat, Injection, InjectionDetail, IntegrationMessage, Issue, IssueAdditionalInfo, IssueHistory, LivingPlace, LivingPlaceToSave, MaritalStatus, Message, MetadataShipping, NewShippingAddress, Notification, NotificationAdditionalInfo, NotificationExtraData, NotificationListItem, NotificationPriority, NotificationStep, NotificationStore, NotificationUser, NotificationVendor, Objectify, OperatorInformation, Order, OrderBillProduct, OrderBillProductAdditionalInfo, OrderBillTotal, OrderCommonFields, OrderDetailShippingCost, OrderDetails, OrderPaymentMethod, OrderProduct, OrderProductAdditionalInfo, OrderProductAttributes, OrderProductBillTotal, OrderProductImage, OrderProductPriceCategory, OrderRetry, OrderRetryPaymentMethod, OrderShoppingCart, OrderStatus, OrderStep, OrderStepAdditionalInfo, OrderStepAdditionalInfoGroup, OrderStore, OrderStoreAdditionalInfo, OrderStoreDelivery, OrderUser, PEDocumentType, PYDocumentType, PaymentMethod, PaymentMethodByOrder, PaymentMethodName, PaymentProvider, PaymentStatus, Phone, PriceCategory, PriceCategoryTax, PriceCategoryType, Product, ProductAnswer, ProductAttributes, ProductCoupon, ProductDetails, ProductPrices, ProductQuestion, ProductStatus, ProductType, RandomImageConfig, ReadValue, Rule, Schedule, Service, Settings, ShippingAddress, ShippingCost, ShippingCostTax, ShoppingCart, ShoppingCartBenefits, Status, StepCategory, StepCode, StepNotification, StepWorkflow, StepWorkflowAdditionalInfo, StepWorkflowGroup, Store, StoreCoupon, StoreCouponDetail, StoreLocation, StorePolygons, Suborder, Tax, TaxCalculation, TaxCalculations, TaxType, Token, TransitionWorkflow, URLImage, USDocumentType, UYDocumentType, UpdatedShippingAddress, User, UserCountry, UserSettings, UserType, VEDocumentType, Vendor, Wallet, WebhookWorkflow, Workflow, ZipCodeField };
3287
+ export type { ARDocumentType, Account, AdditionalInfo, Alert, Allocation, ArtisnParams, ArtisnPlatform, ArtisnQuery, ArtisnRequest, ArtisnRequestBody, ArtisnRequestHeaders, ArtisnRequestMethod, Award, BODocumentType, BRDocumentType, Banner, BannerBenefits, BannerCoupon, BannerImage, BannerScope, BannerType, BaseBillingData, BaseField, BaseLivingPlace, BaseOrder, BasePaymentMethod, BaseProduct, BaseShippingAddress, BaseUser, BaseWeekDay, Benefit, BenefitData, BenefitTypes, BillTotal, BillTotalCategory, BillingData, CDNImage, CLDocumentType, CODocumentType, CardInscription, CardName, CartProduct, CartProductAnswer, CartProductQuestion, CartStore, CartTotals, Catalogue, Category, CategoryWithProducts, Code, CommonDocumentType, Country, CountryCode, CountryCurrency, CountrySummary, Coupon, CouponCategory, CouponType, CreditCardMapping, CurrencyCodes, DayOfWeek, Days, Delivery, DeliveryTimeUnit, Discount, DocumentType, ECDocumentType, Field, FieldRecord, Gender, GenericStoreLocation, Image, ImageFit, ImageManipulationConfig, ImageToFormat, Injection, InjectionDetail, IntegrationMessage, Issue, IssueAdditionalInfo, IssueHistory, LivingPlace, LivingPlaceToSave, MaritalStatus, Message, MetadataShipping, NewShippingAddress, Notification, NotificationAdditionalInfo, NotificationExtraData, NotificationListItem, NotificationPriority, NotificationStep, NotificationStore, NotificationUser, NotificationVendor, Objectify, OperatorInformation, Order, OrderBillProduct, OrderBillProductAdditionalInfo, OrderBillTotal, OrderCommonFields, OrderDetailShippingCost, OrderDetails, OrderPaymentMethod, OrderProduct, OrderProductAdditionalInfo, OrderProductAttributes, OrderProductBillTotal, OrderProductImage, OrderProductPriceCategory, OrderRetry, OrderRetryPaymentMethod, OrderShoppingCart, OrderStatus, OrderStep, OrderStepAdditionalInfo, OrderStepAdditionalInfoGroup, OrderStore, OrderStoreAdditionalInfo, OrderStoreDelivery, OrderUser, PEDocumentType, PYDocumentType, PaymentMethod, PaymentMethodByOrder, PaymentMethodName, PaymentProvider, PaymentStatus, Phone, PriceCategory, PriceCategoryTax, PriceCategoryType, Product, ProductAnswer, ProductAttributes, ProductCoupon, ProductDetails, ProductPrices, ProductQuestion, ProductStatus, ProductType, RandomImageConfig, ReadValue, Rule, Schedule, Service, Settings, ShippingAddress, ShippingCost, ShippingCostTax, ShoppingCart, ShoppingCartBenefits, Status, StepCategory, StepCode, StepNotification, StepWorkflow, StepWorkflowAdditionalInfo, StepWorkflowGroup, Store, StoreCoupon, StoreCouponDetail, StoreLocation, StorePolygons, Suborder, Tax, TaxCalculation, TaxCalculations, TaxType, Token, TransitionWorkflow, URLImage, USDocumentType, UYDocumentType, UpdatedShippingAddress, User, UserCountry, UserSettings, UserType, VEDocumentType, Vendor, Wallet, WebhookWorkflow, Workflow, ZipCodeField };
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@artisan-commerce/types",
3
3
  "description": "Artisn's types and interfaces library",
4
- "version": "0.14.0-canary.43",
4
+ "type": "module",
5
+ "version": "0.14.0-canary.46",
5
6
  "types": "./dist/bundle.d.ts",
6
7
  "files": [
7
8
  "dist"
@@ -23,17 +24,17 @@
23
24
  },
24
25
  "author": "Luis Eduardo Andrade",
25
26
  "license": "MIT",
26
- "gitHead": "53fa0d2cd8daa65d03f7749456a38b83f06cbd82",
27
+ "gitHead": "64b4dc8288caebd32a40cf59d1a31e190f0cdc5b",
27
28
  "nx": {
28
29
  "targets": {
29
30
  "build": {
30
31
  "outputs": [
31
- "./dist"
32
+ "{projectRoot}/dist"
32
33
  ]
33
34
  },
34
35
  "compile": {
35
36
  "outputs": [
36
- "./dist"
37
+ "{projectRoot}/dist"
37
38
  ]
38
39
  }
39
40
  }