@fesmex/models 0.1.53 → 0.1.55

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 CHANGED
@@ -15,7 +15,7 @@ interface ClientType {
15
15
  created_at?: Date;
16
16
  updated_at?: Date;
17
17
  }
18
- declare const _default$q: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientType, {}, {}, {}, mongoose.Document<unknown, {}, ClientType, {}, mongoose.DefaultSchemaOptions> & ClientType & {
18
+ declare const _default$s: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientType, {}, {}, {}, mongoose.Document<unknown, {}, ClientType, {}, mongoose.DefaultSchemaOptions> & ClientType & {
19
19
  _id: mongoose.Types.ObjectId;
20
20
  } & {
21
21
  __v: number;
@@ -34,7 +34,7 @@ interface ClientContactType {
34
34
  created_at?: Date;
35
35
  updated_at?: Date;
36
36
  }
37
- declare const _default$p: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientContactType, {}, {}, {}, mongoose.Document<unknown, {}, ClientContactType, {}, mongoose.DefaultSchemaOptions> & ClientContactType & {
37
+ declare const _default$r: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientContactType, {}, {}, {}, mongoose.Document<unknown, {}, ClientContactType, {}, mongoose.DefaultSchemaOptions> & ClientContactType & {
38
38
  _id: Types.ObjectId;
39
39
  } & {
40
40
  __v: number;
@@ -54,7 +54,7 @@ interface ClientAddressType {
54
54
  created_at?: Date;
55
55
  updated_at?: Date;
56
56
  }
57
- declare const _default$o: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientAddressType, {}, {}, {}, mongoose.Document<unknown, {}, ClientAddressType, {}, mongoose.DefaultSchemaOptions> & ClientAddressType & {
57
+ declare const _default$q: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientAddressType, {}, {}, {}, mongoose.Document<unknown, {}, ClientAddressType, {}, mongoose.DefaultSchemaOptions> & ClientAddressType & {
58
58
  _id: Types.ObjectId;
59
59
  } & {
60
60
  __v: number;
@@ -69,7 +69,7 @@ interface ClientPaymentMethodType {
69
69
  created_at?: Date;
70
70
  updated_at?: Date;
71
71
  }
72
- declare const _default$n: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPaymentMethodType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPaymentMethodType, {}, mongoose.DefaultSchemaOptions> & ClientPaymentMethodType & {
72
+ declare const _default$p: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPaymentMethodType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPaymentMethodType, {}, mongoose.DefaultSchemaOptions> & ClientPaymentMethodType & {
73
73
  _id: Types.ObjectId;
74
74
  } & {
75
75
  __v: number;
@@ -84,7 +84,7 @@ interface ClientPaymentTermType {
84
84
  created_at?: Date;
85
85
  updated_at?: Date;
86
86
  }
87
- declare const _default$m: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPaymentTermType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPaymentTermType, {}, mongoose.DefaultSchemaOptions> & ClientPaymentTermType & {
87
+ declare const _default$o: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPaymentTermType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPaymentTermType, {}, mongoose.DefaultSchemaOptions> & ClientPaymentTermType & {
88
88
  _id: Types.ObjectId;
89
89
  } & {
90
90
  __v: number;
@@ -99,7 +99,7 @@ interface ClientPriceListType {
99
99
  created_at?: Date;
100
100
  updated_at?: Date;
101
101
  }
102
- declare const _default$l: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPriceListType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPriceListType, {}, mongoose.DefaultSchemaOptions> & ClientPriceListType & {
102
+ declare const _default$n: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPriceListType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPriceListType, {}, mongoose.DefaultSchemaOptions> & ClientPriceListType & {
103
103
  _id: Types.ObjectId;
104
104
  } & {
105
105
  __v: number;
@@ -114,7 +114,7 @@ interface ClientSalesEmployeeType {
114
114
  created_at?: Date;
115
115
  updated_at?: Date;
116
116
  }
117
- declare const _default$k: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientSalesEmployeeType, {}, {}, {}, mongoose.Document<unknown, {}, ClientSalesEmployeeType, {}, mongoose.DefaultSchemaOptions> & ClientSalesEmployeeType & {
117
+ declare const _default$m: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientSalesEmployeeType, {}, {}, {}, mongoose.Document<unknown, {}, ClientSalesEmployeeType, {}, mongoose.DefaultSchemaOptions> & ClientSalesEmployeeType & {
118
118
  _id: Types.ObjectId;
119
119
  } & {
120
120
  __v: number;
@@ -122,7 +122,7 @@ declare const _default$k: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
122
122
  id: string;
123
123
  }, any, ClientSalesEmployeeType>;
124
124
 
125
- declare const _default$j: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
125
+ declare const _default$l: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
126
126
  created_at: NativeDate;
127
127
  description: string;
128
128
  article_number: string;
@@ -1062,7 +1062,7 @@ declare const _default$j: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1062
1062
  __v: number;
1063
1063
  }>;
1064
1064
 
1065
- declare const _default$i: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1065
+ declare const _default$k: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1066
1066
  name: string;
1067
1067
  description?: string;
1068
1068
  }, {}, {}, {
@@ -1132,7 +1132,7 @@ declare const _default$i: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1132
1132
  __v: number;
1133
1133
  }>;
1134
1134
 
1135
- declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1135
+ declare const _default$j: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1136
1136
  name: string;
1137
1137
  description?: string;
1138
1138
  }, {}, {}, {
@@ -1202,7 +1202,7 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1202
1202
  __v: number;
1203
1203
  }>;
1204
1204
 
1205
- declare const _default$g: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1205
+ declare const _default$i: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1206
1206
  created_at: NativeDate;
1207
1207
  article_id: Types.ObjectId;
1208
1208
  price_list_id: Types.ObjectId;
@@ -1332,7 +1332,7 @@ declare const _default$g: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1332
1332
  __v: number;
1333
1333
  }>;
1334
1334
 
1335
- declare const _default$f: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1335
+ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1336
1336
  symbol: string;
1337
1337
  name: string;
1338
1338
  code: string;
@@ -1412,7 +1412,7 @@ declare const _default$f: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1412
1412
  __v: number;
1413
1413
  }>;
1414
1414
 
1415
- declare const _default$e: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1415
+ declare const _default$g: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1416
1416
  created_at: NativeDate;
1417
1417
  name: string;
1418
1418
  code: string;
@@ -1512,7 +1512,7 @@ declare const _default$e: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1512
1512
  __v: number;
1513
1513
  }>;
1514
1514
 
1515
- declare const _default$d: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1515
+ declare const _default$f: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1516
1516
  updated_at: NativeDate;
1517
1517
  article_id: Types.ObjectId;
1518
1518
  warehouse_id: Types.ObjectId;
@@ -1632,7 +1632,7 @@ declare const _default$d: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1632
1632
  __v: number;
1633
1633
  }>;
1634
1634
 
1635
- declare const _default$c: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1635
+ declare const _default$e: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1636
1636
  number: string;
1637
1637
  created_at: NativeDate;
1638
1638
  name: string;
@@ -1722,7 +1722,7 @@ declare const _default$c: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1722
1722
  __v: number;
1723
1723
  }>;
1724
1724
 
1725
- declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1725
+ declare const _default$d: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1726
1726
  created_at: NativeDate;
1727
1727
  updated_at: NativeDate;
1728
1728
  name: string;
@@ -1842,7 +1842,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1842
1842
  __v: number;
1843
1843
  }>;
1844
1844
 
1845
- declare const _default$a: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1845
+ declare const _default$c: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1846
1846
  created_at: NativeDate;
1847
1847
  updated_at: NativeDate;
1848
1848
  type: "filter" | "sidebar";
@@ -1952,6 +1952,13 @@ declare const _default$a: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1952
1952
  __v: number;
1953
1953
  }>;
1954
1954
 
1955
+ interface ArticleViewType {
1956
+ article_id: Types.ObjectId;
1957
+ visited_at: Date;
1958
+ }
1959
+ type ArticleViewModel = Model<ArticleViewType>;
1960
+ declare const ArticleView: ArticleViewModel;
1961
+
1955
1962
  declare enum QuoteStatus {
1956
1963
  OPPORTUNITY = "OPPORTUNITY",
1957
1964
  QUOTE = "QUOTE",
@@ -1968,13 +1975,13 @@ declare enum CreatedMethod {
1968
1975
  MANUAL = "MANUAL",
1969
1976
  CSV = "CSV"
1970
1977
  }
1971
- declare const _default$9: mongoose.Model<any, {}, {}, {}, any, any, any>;
1978
+ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any>;
1972
1979
 
1973
- declare const _default$8: mongoose.Model<any, {}, {}, {}, any, any, any>;
1980
+ declare const _default$a: mongoose.Model<any, {}, {}, {}, any, any, any>;
1974
1981
 
1975
- declare const _default$7: mongoose.Model<any, {}, {}, {}, any, any, any>;
1982
+ declare const _default$9: mongoose.Model<any, {}, {}, {}, any, any, any>;
1976
1983
 
1977
- declare const _default$6: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1984
+ declare const _default$8: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1978
1985
  created_at: NativeDate;
1979
1986
  quote_id: mongoose.Types.ObjectId;
1980
1987
  email?: string;
@@ -2084,7 +2091,7 @@ declare const _default$6: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
2084
2091
  __v: number;
2085
2092
  }>;
2086
2093
 
2087
- declare const _default$5: mongoose.Model<any, {}, {}, {}, any, any, any>;
2094
+ declare const _default$7: mongoose.Model<any, {}, {}, {}, any, any, any>;
2088
2095
 
2089
2096
  declare enum CustomerStatus {
2090
2097
  ACTIVE = "active",
@@ -2138,7 +2145,7 @@ declare enum PaymentStatus {
2138
2145
  PAID = "PAID",
2139
2146
  REFUNDED = "REFUNDED"
2140
2147
  }
2141
- declare const _default$4: mongoose.Model<any, {}, {}, {}, any, any, any>;
2148
+ declare const _default$6: mongoose.Model<any, {}, {}, {}, any, any, any>;
2142
2149
 
2143
2150
  interface OrderStatusLogType {
2144
2151
  order_id: Types.ObjectId;
@@ -2147,7 +2154,7 @@ interface OrderStatusLogType {
2147
2154
  changed_at?: Date;
2148
2155
  note?: string;
2149
2156
  }
2150
- declare const _default$3: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<OrderStatusLogType, {}, {}, {}, mongoose.Document<unknown, {}, OrderStatusLogType, {}, mongoose.DefaultSchemaOptions> & OrderStatusLogType & {
2157
+ declare const _default$5: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<OrderStatusLogType, {}, {}, {}, mongoose.Document<unknown, {}, OrderStatusLogType, {}, mongoose.DefaultSchemaOptions> & OrderStatusLogType & {
2151
2158
  _id: Types.ObjectId;
2152
2159
  } & {
2153
2160
  __v: number;
@@ -2233,7 +2240,7 @@ interface UserType {
2233
2240
  deleted_at?: Date;
2234
2241
  deleted_by?: mongoose.Types.ObjectId;
2235
2242
  }
2236
- declare const _default$2: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<UserType, {}, {}, {}, mongoose.Document<unknown, {}, UserType, {}, mongoose.DefaultSchemaOptions> & UserType & {
2243
+ declare const _default$4: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<UserType, {}, {}, {}, mongoose.Document<unknown, {}, UserType, {}, mongoose.DefaultSchemaOptions> & UserType & {
2237
2244
  _id: mongoose.Types.ObjectId;
2238
2245
  } & {
2239
2246
  __v: number;
@@ -2252,7 +2259,7 @@ interface AnnouncementType {
2252
2259
  text: string;
2253
2260
  roles: UserRole[];
2254
2261
  }
2255
- declare const _default$1: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<AnnouncementType, {}, {}, {}, mongoose.Document<unknown, {}, AnnouncementType, {}, mongoose.DefaultSchemaOptions> & AnnouncementType & {
2262
+ declare const _default$3: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<AnnouncementType, {}, {}, {}, mongoose.Document<unknown, {}, AnnouncementType, {}, mongoose.DefaultSchemaOptions> & AnnouncementType & {
2256
2263
  _id: mongoose.Types.ObjectId;
2257
2264
  } & {
2258
2265
  __v: number;
@@ -2278,7 +2285,7 @@ interface CartType {
2278
2285
  created_at?: Date;
2279
2286
  updated_at?: Date;
2280
2287
  }
2281
- declare const _default: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<CartType, {}, {}, {}, mongoose.Document<unknown, {}, CartType, {}, mongoose.DefaultSchemaOptions> & CartType & {
2288
+ declare const _default$2: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<CartType, {}, {}, {}, mongoose.Document<unknown, {}, CartType, {}, mongoose.DefaultSchemaOptions> & CartType & {
2282
2289
  _id: Types.ObjectId;
2283
2290
  } & {
2284
2291
  __v: number;
@@ -2323,4 +2330,79 @@ type EmailVerificationTokenDoc = HydratedDocument<EmailVerificationTokenType>;
2323
2330
  type EmailVerificationTokenModel = Model<EmailVerificationTokenType>;
2324
2331
  declare const EmailVerificationToken: EmailVerificationTokenModel;
2325
2332
 
2326
- export { _default$1 as Announcement, type AnnouncementType, _default$j as Article, _default$h as ArticleClass, _default$i as ArticleGroup, _default$g as ArticlePrice, _default as Cart, type CartItem, type CartType, _default$b as Category, _default$q as Client, _default$o as ClientAddress, type ClientAddressType, _default$p as ClientContact, type ClientContactType, _default$n as ClientPaymentMethod, type ClientPaymentMethodType, _default$m as ClientPaymentTerm, type ClientPaymentTermType, _default$l as ClientPriceList, type ClientPriceListType, _default$k as ClientSalesEmployee, type ClientSalesEmployeeType, type ClientType, CreatedMethod, _default$f as Currency, Customer, type CustomerDoc, type CustomerModel, CustomerStatus, type CustomerType, EmailVerificationToken, type EmailVerificationTokenDoc, type EmailVerificationTokenModel, type EmailVerificationTokenType, FiscalProfile, type FiscalProfileDoc, type FiscalProfileModel, type FiscalProfileType, type ISyncLog, _default$d as InventoryStock, _default$4 as Order, OrderStatus, _default$3 as OrderStatusLog, type OrderStatusLogType, PasswordResetToken, type PasswordResetTokenDoc, type PasswordResetTokenModel, type PasswordResetTokenType, PaymentMethod, PaymentStatus, _default$c as PriceList, _default$9 as Quote, _default$8 as QuoteArticle, _default$7 as QuoteArticleExtra, _default$6 as QuoteContact, QuoteStatus, _default$5 as QuoteTerm, RefreshToken, type RefreshTokenDoc, type RefreshTokenModel, type RefreshTokenType, Status, SyncLog, SyncLogAction, SyncLogStatus, SyncLogType, _default$a as Tag, UserRole, UserStatus, type UserType, _default$2 as Users, _default$e as Warehouse };
2333
+ declare enum PaymentProvider$1 {
2334
+ STRIPE = "stripe"
2335
+ }
2336
+ declare enum PaymentMethodType {
2337
+ CARD = "card",
2338
+ APPLE_PAY = "apple_pay",
2339
+ GOOGLE_PAY = "google_pay",
2340
+ BANK_TRANSFER = "bank_transfer"
2341
+ }
2342
+ type PaymentMethodWallet = "apple_pay" | "google_pay";
2343
+ interface CustomerPaymentMethodDocument {
2344
+ customer_id: Types.ObjectId;
2345
+ provider: PaymentProvider$1;
2346
+ provider_customer_id: string;
2347
+ provider_payment_method_id: string;
2348
+ type: PaymentMethodType;
2349
+ brand: string;
2350
+ last4: string;
2351
+ exp_month: number;
2352
+ exp_year: number;
2353
+ wallet?: PaymentMethodWallet | null;
2354
+ is_default: boolean;
2355
+ created_at: Date;
2356
+ updated_at?: Date;
2357
+ deleted_at?: Date;
2358
+ deleted_by?: Types.ObjectId;
2359
+ }
2360
+ declare const _default$1: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<CustomerPaymentMethodDocument, {}, {}, {}, mongoose.Document<unknown, {}, CustomerPaymentMethodDocument, {}, mongoose.DefaultSchemaOptions> & CustomerPaymentMethodDocument & {
2361
+ _id: Types.ObjectId;
2362
+ } & {
2363
+ __v: number;
2364
+ } & {
2365
+ id: string;
2366
+ }, any, CustomerPaymentMethodDocument>;
2367
+
2368
+ declare enum PaymentProvider {
2369
+ STRIPE = "stripe"
2370
+ }
2371
+ declare enum TransactionStatus {
2372
+ PENDING = "pending",
2373
+ PROCESSING = "processing",
2374
+ SUCCEEDED = "succeeded",
2375
+ FAILED = "failed",
2376
+ REFUNDED = "refunded"
2377
+ }
2378
+ declare enum TransactionMethod {
2379
+ CARD = "card",
2380
+ APPLE_PAY = "apple_pay",
2381
+ GOOGLE_PAY = "google_pay",
2382
+ BANK_TRANSFER = "bank_transfer"
2383
+ }
2384
+ interface OrderPaymentDocument {
2385
+ order_id: Types.ObjectId;
2386
+ customer_id: Types.ObjectId;
2387
+ payment_method_id?: Types.ObjectId;
2388
+ provider: PaymentProvider;
2389
+ provider_payment_id?: string;
2390
+ provider_payment_intent_id: string;
2391
+ method: TransactionMethod;
2392
+ status: TransactionStatus;
2393
+ amount: number;
2394
+ currency: string;
2395
+ created_at: Date;
2396
+ updated_at?: Date;
2397
+ deleted_at?: Date;
2398
+ deleted_by?: Types.ObjectId;
2399
+ }
2400
+ declare const _default: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<OrderPaymentDocument, {}, {}, {}, mongoose.Document<unknown, {}, OrderPaymentDocument, {}, mongoose.DefaultSchemaOptions> & OrderPaymentDocument & {
2401
+ _id: Types.ObjectId;
2402
+ } & {
2403
+ __v: number;
2404
+ } & {
2405
+ id: string;
2406
+ }, any, OrderPaymentDocument>;
2407
+
2408
+ export { _default$3 as Announcement, type AnnouncementType, _default$l as Article, _default$j as ArticleClass, _default$k as ArticleGroup, _default$i as ArticlePrice, ArticleView, _default$2 as Cart, type CartItem, type CartType, _default$d as Category, _default$s as Client, _default$q as ClientAddress, type ClientAddressType, _default$r as ClientContact, type ClientContactType, _default$p as ClientPaymentMethod, type ClientPaymentMethodType, _default$o as ClientPaymentTerm, type ClientPaymentTermType, _default$n as ClientPriceList, type ClientPriceListType, _default$m as ClientSalesEmployee, type ClientSalesEmployeeType, type ClientType, CreatedMethod, _default$h as Currency, Customer, type CustomerDoc, type CustomerModel, _default$1 as CustomerPaymentMethod, CustomerStatus, type CustomerType, EmailVerificationToken, type EmailVerificationTokenDoc, type EmailVerificationTokenModel, type EmailVerificationTokenType, FiscalProfile, type FiscalProfileDoc, type FiscalProfileModel, type FiscalProfileType, type ISyncLog, _default$f as InventoryStock, _default$6 as Order, _default as OrderPayment, OrderStatus, _default$5 as OrderStatusLog, type OrderStatusLogType, PasswordResetToken, type PasswordResetTokenDoc, type PasswordResetTokenModel, type PasswordResetTokenType, PaymentMethod, PaymentMethodType, type PaymentMethodWallet, PaymentProvider$1 as PaymentProvider, PaymentStatus, _default$e as PriceList, _default$b as Quote, _default$a as QuoteArticle, _default$9 as QuoteArticleExtra, _default$8 as QuoteContact, QuoteStatus, _default$7 as QuoteTerm, RefreshToken, type RefreshTokenDoc, type RefreshTokenModel, type RefreshTokenType, Status, SyncLog, SyncLogAction, SyncLogStatus, SyncLogType, _default$c as Tag, TransactionMethod, TransactionStatus, UserRole, UserStatus, type UserType, _default$4 as Users, _default$g as Warehouse };
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ interface ClientType {
15
15
  created_at?: Date;
16
16
  updated_at?: Date;
17
17
  }
18
- declare const _default$q: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientType, {}, {}, {}, mongoose.Document<unknown, {}, ClientType, {}, mongoose.DefaultSchemaOptions> & ClientType & {
18
+ declare const _default$s: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientType, {}, {}, {}, mongoose.Document<unknown, {}, ClientType, {}, mongoose.DefaultSchemaOptions> & ClientType & {
19
19
  _id: mongoose.Types.ObjectId;
20
20
  } & {
21
21
  __v: number;
@@ -34,7 +34,7 @@ interface ClientContactType {
34
34
  created_at?: Date;
35
35
  updated_at?: Date;
36
36
  }
37
- declare const _default$p: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientContactType, {}, {}, {}, mongoose.Document<unknown, {}, ClientContactType, {}, mongoose.DefaultSchemaOptions> & ClientContactType & {
37
+ declare const _default$r: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientContactType, {}, {}, {}, mongoose.Document<unknown, {}, ClientContactType, {}, mongoose.DefaultSchemaOptions> & ClientContactType & {
38
38
  _id: Types.ObjectId;
39
39
  } & {
40
40
  __v: number;
@@ -54,7 +54,7 @@ interface ClientAddressType {
54
54
  created_at?: Date;
55
55
  updated_at?: Date;
56
56
  }
57
- declare const _default$o: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientAddressType, {}, {}, {}, mongoose.Document<unknown, {}, ClientAddressType, {}, mongoose.DefaultSchemaOptions> & ClientAddressType & {
57
+ declare const _default$q: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientAddressType, {}, {}, {}, mongoose.Document<unknown, {}, ClientAddressType, {}, mongoose.DefaultSchemaOptions> & ClientAddressType & {
58
58
  _id: Types.ObjectId;
59
59
  } & {
60
60
  __v: number;
@@ -69,7 +69,7 @@ interface ClientPaymentMethodType {
69
69
  created_at?: Date;
70
70
  updated_at?: Date;
71
71
  }
72
- declare const _default$n: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPaymentMethodType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPaymentMethodType, {}, mongoose.DefaultSchemaOptions> & ClientPaymentMethodType & {
72
+ declare const _default$p: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPaymentMethodType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPaymentMethodType, {}, mongoose.DefaultSchemaOptions> & ClientPaymentMethodType & {
73
73
  _id: Types.ObjectId;
74
74
  } & {
75
75
  __v: number;
@@ -84,7 +84,7 @@ interface ClientPaymentTermType {
84
84
  created_at?: Date;
85
85
  updated_at?: Date;
86
86
  }
87
- declare const _default$m: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPaymentTermType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPaymentTermType, {}, mongoose.DefaultSchemaOptions> & ClientPaymentTermType & {
87
+ declare const _default$o: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPaymentTermType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPaymentTermType, {}, mongoose.DefaultSchemaOptions> & ClientPaymentTermType & {
88
88
  _id: Types.ObjectId;
89
89
  } & {
90
90
  __v: number;
@@ -99,7 +99,7 @@ interface ClientPriceListType {
99
99
  created_at?: Date;
100
100
  updated_at?: Date;
101
101
  }
102
- declare const _default$l: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPriceListType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPriceListType, {}, mongoose.DefaultSchemaOptions> & ClientPriceListType & {
102
+ declare const _default$n: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientPriceListType, {}, {}, {}, mongoose.Document<unknown, {}, ClientPriceListType, {}, mongoose.DefaultSchemaOptions> & ClientPriceListType & {
103
103
  _id: Types.ObjectId;
104
104
  } & {
105
105
  __v: number;
@@ -114,7 +114,7 @@ interface ClientSalesEmployeeType {
114
114
  created_at?: Date;
115
115
  updated_at?: Date;
116
116
  }
117
- declare const _default$k: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientSalesEmployeeType, {}, {}, {}, mongoose.Document<unknown, {}, ClientSalesEmployeeType, {}, mongoose.DefaultSchemaOptions> & ClientSalesEmployeeType & {
117
+ declare const _default$m: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<ClientSalesEmployeeType, {}, {}, {}, mongoose.Document<unknown, {}, ClientSalesEmployeeType, {}, mongoose.DefaultSchemaOptions> & ClientSalesEmployeeType & {
118
118
  _id: Types.ObjectId;
119
119
  } & {
120
120
  __v: number;
@@ -122,7 +122,7 @@ declare const _default$k: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
122
122
  id: string;
123
123
  }, any, ClientSalesEmployeeType>;
124
124
 
125
- declare const _default$j: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
125
+ declare const _default$l: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
126
126
  created_at: NativeDate;
127
127
  description: string;
128
128
  article_number: string;
@@ -1062,7 +1062,7 @@ declare const _default$j: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1062
1062
  __v: number;
1063
1063
  }>;
1064
1064
 
1065
- declare const _default$i: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1065
+ declare const _default$k: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1066
1066
  name: string;
1067
1067
  description?: string;
1068
1068
  }, {}, {}, {
@@ -1132,7 +1132,7 @@ declare const _default$i: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1132
1132
  __v: number;
1133
1133
  }>;
1134
1134
 
1135
- declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1135
+ declare const _default$j: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1136
1136
  name: string;
1137
1137
  description?: string;
1138
1138
  }, {}, {}, {
@@ -1202,7 +1202,7 @@ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1202
1202
  __v: number;
1203
1203
  }>;
1204
1204
 
1205
- declare const _default$g: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1205
+ declare const _default$i: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1206
1206
  created_at: NativeDate;
1207
1207
  article_id: Types.ObjectId;
1208
1208
  price_list_id: Types.ObjectId;
@@ -1332,7 +1332,7 @@ declare const _default$g: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1332
1332
  __v: number;
1333
1333
  }>;
1334
1334
 
1335
- declare const _default$f: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1335
+ declare const _default$h: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1336
1336
  symbol: string;
1337
1337
  name: string;
1338
1338
  code: string;
@@ -1412,7 +1412,7 @@ declare const _default$f: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1412
1412
  __v: number;
1413
1413
  }>;
1414
1414
 
1415
- declare const _default$e: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1415
+ declare const _default$g: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1416
1416
  created_at: NativeDate;
1417
1417
  name: string;
1418
1418
  code: string;
@@ -1512,7 +1512,7 @@ declare const _default$e: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1512
1512
  __v: number;
1513
1513
  }>;
1514
1514
 
1515
- declare const _default$d: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1515
+ declare const _default$f: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1516
1516
  updated_at: NativeDate;
1517
1517
  article_id: Types.ObjectId;
1518
1518
  warehouse_id: Types.ObjectId;
@@ -1632,7 +1632,7 @@ declare const _default$d: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1632
1632
  __v: number;
1633
1633
  }>;
1634
1634
 
1635
- declare const _default$c: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1635
+ declare const _default$e: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1636
1636
  number: string;
1637
1637
  created_at: NativeDate;
1638
1638
  name: string;
@@ -1722,7 +1722,7 @@ declare const _default$c: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1722
1722
  __v: number;
1723
1723
  }>;
1724
1724
 
1725
- declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1725
+ declare const _default$d: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1726
1726
  created_at: NativeDate;
1727
1727
  updated_at: NativeDate;
1728
1728
  name: string;
@@ -1842,7 +1842,7 @@ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1842
1842
  __v: number;
1843
1843
  }>;
1844
1844
 
1845
- declare const _default$a: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1845
+ declare const _default$c: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1846
1846
  created_at: NativeDate;
1847
1847
  updated_at: NativeDate;
1848
1848
  type: "filter" | "sidebar";
@@ -1952,6 +1952,13 @@ declare const _default$a: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
1952
1952
  __v: number;
1953
1953
  }>;
1954
1954
 
1955
+ interface ArticleViewType {
1956
+ article_id: Types.ObjectId;
1957
+ visited_at: Date;
1958
+ }
1959
+ type ArticleViewModel = Model<ArticleViewType>;
1960
+ declare const ArticleView: ArticleViewModel;
1961
+
1955
1962
  declare enum QuoteStatus {
1956
1963
  OPPORTUNITY = "OPPORTUNITY",
1957
1964
  QUOTE = "QUOTE",
@@ -1968,13 +1975,13 @@ declare enum CreatedMethod {
1968
1975
  MANUAL = "MANUAL",
1969
1976
  CSV = "CSV"
1970
1977
  }
1971
- declare const _default$9: mongoose.Model<any, {}, {}, {}, any, any, any>;
1978
+ declare const _default$b: mongoose.Model<any, {}, {}, {}, any, any, any>;
1972
1979
 
1973
- declare const _default$8: mongoose.Model<any, {}, {}, {}, any, any, any>;
1980
+ declare const _default$a: mongoose.Model<any, {}, {}, {}, any, any, any>;
1974
1981
 
1975
- declare const _default$7: mongoose.Model<any, {}, {}, {}, any, any, any>;
1982
+ declare const _default$9: mongoose.Model<any, {}, {}, {}, any, any, any>;
1976
1983
 
1977
- declare const _default$6: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1984
+ declare const _default$8: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<{
1978
1985
  created_at: NativeDate;
1979
1986
  quote_id: mongoose.Types.ObjectId;
1980
1987
  email?: string;
@@ -2084,7 +2091,7 @@ declare const _default$6: mongoose.Model<any, {}, {}, {}, any, any, any> | mongo
2084
2091
  __v: number;
2085
2092
  }>;
2086
2093
 
2087
- declare const _default$5: mongoose.Model<any, {}, {}, {}, any, any, any>;
2094
+ declare const _default$7: mongoose.Model<any, {}, {}, {}, any, any, any>;
2088
2095
 
2089
2096
  declare enum CustomerStatus {
2090
2097
  ACTIVE = "active",
@@ -2138,7 +2145,7 @@ declare enum PaymentStatus {
2138
2145
  PAID = "PAID",
2139
2146
  REFUNDED = "REFUNDED"
2140
2147
  }
2141
- declare const _default$4: mongoose.Model<any, {}, {}, {}, any, any, any>;
2148
+ declare const _default$6: mongoose.Model<any, {}, {}, {}, any, any, any>;
2142
2149
 
2143
2150
  interface OrderStatusLogType {
2144
2151
  order_id: Types.ObjectId;
@@ -2147,7 +2154,7 @@ interface OrderStatusLogType {
2147
2154
  changed_at?: Date;
2148
2155
  note?: string;
2149
2156
  }
2150
- declare const _default$3: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<OrderStatusLogType, {}, {}, {}, mongoose.Document<unknown, {}, OrderStatusLogType, {}, mongoose.DefaultSchemaOptions> & OrderStatusLogType & {
2157
+ declare const _default$5: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<OrderStatusLogType, {}, {}, {}, mongoose.Document<unknown, {}, OrderStatusLogType, {}, mongoose.DefaultSchemaOptions> & OrderStatusLogType & {
2151
2158
  _id: Types.ObjectId;
2152
2159
  } & {
2153
2160
  __v: number;
@@ -2233,7 +2240,7 @@ interface UserType {
2233
2240
  deleted_at?: Date;
2234
2241
  deleted_by?: mongoose.Types.ObjectId;
2235
2242
  }
2236
- declare const _default$2: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<UserType, {}, {}, {}, mongoose.Document<unknown, {}, UserType, {}, mongoose.DefaultSchemaOptions> & UserType & {
2243
+ declare const _default$4: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<UserType, {}, {}, {}, mongoose.Document<unknown, {}, UserType, {}, mongoose.DefaultSchemaOptions> & UserType & {
2237
2244
  _id: mongoose.Types.ObjectId;
2238
2245
  } & {
2239
2246
  __v: number;
@@ -2252,7 +2259,7 @@ interface AnnouncementType {
2252
2259
  text: string;
2253
2260
  roles: UserRole[];
2254
2261
  }
2255
- declare const _default$1: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<AnnouncementType, {}, {}, {}, mongoose.Document<unknown, {}, AnnouncementType, {}, mongoose.DefaultSchemaOptions> & AnnouncementType & {
2262
+ declare const _default$3: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<AnnouncementType, {}, {}, {}, mongoose.Document<unknown, {}, AnnouncementType, {}, mongoose.DefaultSchemaOptions> & AnnouncementType & {
2256
2263
  _id: mongoose.Types.ObjectId;
2257
2264
  } & {
2258
2265
  __v: number;
@@ -2278,7 +2285,7 @@ interface CartType {
2278
2285
  created_at?: Date;
2279
2286
  updated_at?: Date;
2280
2287
  }
2281
- declare const _default: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<CartType, {}, {}, {}, mongoose.Document<unknown, {}, CartType, {}, mongoose.DefaultSchemaOptions> & CartType & {
2288
+ declare const _default$2: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<CartType, {}, {}, {}, mongoose.Document<unknown, {}, CartType, {}, mongoose.DefaultSchemaOptions> & CartType & {
2282
2289
  _id: Types.ObjectId;
2283
2290
  } & {
2284
2291
  __v: number;
@@ -2323,4 +2330,79 @@ type EmailVerificationTokenDoc = HydratedDocument<EmailVerificationTokenType>;
2323
2330
  type EmailVerificationTokenModel = Model<EmailVerificationTokenType>;
2324
2331
  declare const EmailVerificationToken: EmailVerificationTokenModel;
2325
2332
 
2326
- export { _default$1 as Announcement, type AnnouncementType, _default$j as Article, _default$h as ArticleClass, _default$i as ArticleGroup, _default$g as ArticlePrice, _default as Cart, type CartItem, type CartType, _default$b as Category, _default$q as Client, _default$o as ClientAddress, type ClientAddressType, _default$p as ClientContact, type ClientContactType, _default$n as ClientPaymentMethod, type ClientPaymentMethodType, _default$m as ClientPaymentTerm, type ClientPaymentTermType, _default$l as ClientPriceList, type ClientPriceListType, _default$k as ClientSalesEmployee, type ClientSalesEmployeeType, type ClientType, CreatedMethod, _default$f as Currency, Customer, type CustomerDoc, type CustomerModel, CustomerStatus, type CustomerType, EmailVerificationToken, type EmailVerificationTokenDoc, type EmailVerificationTokenModel, type EmailVerificationTokenType, FiscalProfile, type FiscalProfileDoc, type FiscalProfileModel, type FiscalProfileType, type ISyncLog, _default$d as InventoryStock, _default$4 as Order, OrderStatus, _default$3 as OrderStatusLog, type OrderStatusLogType, PasswordResetToken, type PasswordResetTokenDoc, type PasswordResetTokenModel, type PasswordResetTokenType, PaymentMethod, PaymentStatus, _default$c as PriceList, _default$9 as Quote, _default$8 as QuoteArticle, _default$7 as QuoteArticleExtra, _default$6 as QuoteContact, QuoteStatus, _default$5 as QuoteTerm, RefreshToken, type RefreshTokenDoc, type RefreshTokenModel, type RefreshTokenType, Status, SyncLog, SyncLogAction, SyncLogStatus, SyncLogType, _default$a as Tag, UserRole, UserStatus, type UserType, _default$2 as Users, _default$e as Warehouse };
2333
+ declare enum PaymentProvider$1 {
2334
+ STRIPE = "stripe"
2335
+ }
2336
+ declare enum PaymentMethodType {
2337
+ CARD = "card",
2338
+ APPLE_PAY = "apple_pay",
2339
+ GOOGLE_PAY = "google_pay",
2340
+ BANK_TRANSFER = "bank_transfer"
2341
+ }
2342
+ type PaymentMethodWallet = "apple_pay" | "google_pay";
2343
+ interface CustomerPaymentMethodDocument {
2344
+ customer_id: Types.ObjectId;
2345
+ provider: PaymentProvider$1;
2346
+ provider_customer_id: string;
2347
+ provider_payment_method_id: string;
2348
+ type: PaymentMethodType;
2349
+ brand: string;
2350
+ last4: string;
2351
+ exp_month: number;
2352
+ exp_year: number;
2353
+ wallet?: PaymentMethodWallet | null;
2354
+ is_default: boolean;
2355
+ created_at: Date;
2356
+ updated_at?: Date;
2357
+ deleted_at?: Date;
2358
+ deleted_by?: Types.ObjectId;
2359
+ }
2360
+ declare const _default$1: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<CustomerPaymentMethodDocument, {}, {}, {}, mongoose.Document<unknown, {}, CustomerPaymentMethodDocument, {}, mongoose.DefaultSchemaOptions> & CustomerPaymentMethodDocument & {
2361
+ _id: Types.ObjectId;
2362
+ } & {
2363
+ __v: number;
2364
+ } & {
2365
+ id: string;
2366
+ }, any, CustomerPaymentMethodDocument>;
2367
+
2368
+ declare enum PaymentProvider {
2369
+ STRIPE = "stripe"
2370
+ }
2371
+ declare enum TransactionStatus {
2372
+ PENDING = "pending",
2373
+ PROCESSING = "processing",
2374
+ SUCCEEDED = "succeeded",
2375
+ FAILED = "failed",
2376
+ REFUNDED = "refunded"
2377
+ }
2378
+ declare enum TransactionMethod {
2379
+ CARD = "card",
2380
+ APPLE_PAY = "apple_pay",
2381
+ GOOGLE_PAY = "google_pay",
2382
+ BANK_TRANSFER = "bank_transfer"
2383
+ }
2384
+ interface OrderPaymentDocument {
2385
+ order_id: Types.ObjectId;
2386
+ customer_id: Types.ObjectId;
2387
+ payment_method_id?: Types.ObjectId;
2388
+ provider: PaymentProvider;
2389
+ provider_payment_id?: string;
2390
+ provider_payment_intent_id: string;
2391
+ method: TransactionMethod;
2392
+ status: TransactionStatus;
2393
+ amount: number;
2394
+ currency: string;
2395
+ created_at: Date;
2396
+ updated_at?: Date;
2397
+ deleted_at?: Date;
2398
+ deleted_by?: Types.ObjectId;
2399
+ }
2400
+ declare const _default: mongoose.Model<any, {}, {}, {}, any, any, any> | mongoose.Model<OrderPaymentDocument, {}, {}, {}, mongoose.Document<unknown, {}, OrderPaymentDocument, {}, mongoose.DefaultSchemaOptions> & OrderPaymentDocument & {
2401
+ _id: Types.ObjectId;
2402
+ } & {
2403
+ __v: number;
2404
+ } & {
2405
+ id: string;
2406
+ }, any, OrderPaymentDocument>;
2407
+
2408
+ export { _default$3 as Announcement, type AnnouncementType, _default$l as Article, _default$j as ArticleClass, _default$k as ArticleGroup, _default$i as ArticlePrice, ArticleView, _default$2 as Cart, type CartItem, type CartType, _default$d as Category, _default$s as Client, _default$q as ClientAddress, type ClientAddressType, _default$r as ClientContact, type ClientContactType, _default$p as ClientPaymentMethod, type ClientPaymentMethodType, _default$o as ClientPaymentTerm, type ClientPaymentTermType, _default$n as ClientPriceList, type ClientPriceListType, _default$m as ClientSalesEmployee, type ClientSalesEmployeeType, type ClientType, CreatedMethod, _default$h as Currency, Customer, type CustomerDoc, type CustomerModel, _default$1 as CustomerPaymentMethod, CustomerStatus, type CustomerType, EmailVerificationToken, type EmailVerificationTokenDoc, type EmailVerificationTokenModel, type EmailVerificationTokenType, FiscalProfile, type FiscalProfileDoc, type FiscalProfileModel, type FiscalProfileType, type ISyncLog, _default$f as InventoryStock, _default$6 as Order, _default as OrderPayment, OrderStatus, _default$5 as OrderStatusLog, type OrderStatusLogType, PasswordResetToken, type PasswordResetTokenDoc, type PasswordResetTokenModel, type PasswordResetTokenType, PaymentMethod, PaymentMethodType, type PaymentMethodWallet, PaymentProvider$1 as PaymentProvider, PaymentStatus, _default$e as PriceList, _default$b as Quote, _default$a as QuoteArticle, _default$9 as QuoteArticleExtra, _default$8 as QuoteContact, QuoteStatus, _default$7 as QuoteTerm, RefreshToken, type RefreshTokenDoc, type RefreshTokenModel, type RefreshTokenType, Status, SyncLog, SyncLogAction, SyncLogStatus, SyncLogType, _default$c as Tag, TransactionMethod, TransactionStatus, UserRole, UserStatus, type UserType, _default$4 as Users, _default$g as Warehouse };