@dragonmastery/dragoncore-shared 0.0.7 → 0.0.8

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/index.d.mts +117 -117
  2. package/package.json +9 -2
package/dist/index.d.mts CHANGED
@@ -1114,11 +1114,11 @@ declare const createUserSchemaOutput: z.ZodObject<{
1114
1114
  id: z.ZodString;
1115
1115
  email: z.ZodString;
1116
1116
  }, "strip", z.ZodTypeAny, {
1117
- email: string;
1118
1117
  id: string;
1119
- }, {
1120
1118
  email: string;
1119
+ }, {
1121
1120
  id: string;
1121
+ email: string;
1122
1122
  }>;
1123
1123
  type CreateUserDtoOutput = z.infer<typeof createUserSchemaOutput>;
1124
1124
  //#endregion
@@ -1449,6 +1449,18 @@ declare const CreditTransactionFiltersSchema: z.ZodObject<{
1449
1449
  values?: number[] | undefined;
1450
1450
  caseSensitive?: boolean | undefined;
1451
1451
  } | undefined;
1452
+ support_ticket_id?: {
1453
+ operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
1454
+ value?: string | undefined;
1455
+ values?: string[] | undefined;
1456
+ caseSensitive?: boolean | undefined;
1457
+ } | undefined;
1458
+ balance_after?: {
1459
+ operator: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "between" | "in" | "notIn";
1460
+ value?: number | undefined;
1461
+ values?: number[] | undefined;
1462
+ caseSensitive?: boolean | undefined;
1463
+ } | undefined;
1452
1464
  created_at?: {
1453
1465
  operator: "isEmpty" | "isNotEmpty";
1454
1466
  value?: any;
@@ -1465,18 +1477,6 @@ declare const CreditTransactionFiltersSchema: z.ZodObject<{
1465
1477
  values?: any[] | undefined;
1466
1478
  caseSensitive?: boolean | undefined;
1467
1479
  } | undefined;
1468
- support_ticket_id?: {
1469
- operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
1470
- value?: string | undefined;
1471
- values?: string[] | undefined;
1472
- caseSensitive?: boolean | undefined;
1473
- } | undefined;
1474
- balance_after?: {
1475
- operator: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "between" | "in" | "notIn";
1476
- value?: number | undefined;
1477
- values?: number[] | undefined;
1478
- caseSensitive?: boolean | undefined;
1479
- } | undefined;
1480
1480
  created_by?: {
1481
1481
  operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
1482
1482
  value?: string | undefined;
@@ -1505,6 +1505,18 @@ declare const CreditTransactionFiltersSchema: z.ZodObject<{
1505
1505
  values?: number[] | undefined;
1506
1506
  caseSensitive?: boolean | undefined;
1507
1507
  } | undefined;
1508
+ support_ticket_id?: {
1509
+ operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
1510
+ value?: string | undefined;
1511
+ values?: string[] | undefined;
1512
+ caseSensitive?: boolean | undefined;
1513
+ } | undefined;
1514
+ balance_after?: {
1515
+ operator: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "between" | "in" | "notIn";
1516
+ value?: number | undefined;
1517
+ values?: number[] | undefined;
1518
+ caseSensitive?: boolean | undefined;
1519
+ } | undefined;
1508
1520
  created_at?: {
1509
1521
  operator: "isEmpty" | "isNotEmpty";
1510
1522
  value?: any;
@@ -1521,18 +1533,6 @@ declare const CreditTransactionFiltersSchema: z.ZodObject<{
1521
1533
  values?: any[] | undefined;
1522
1534
  caseSensitive?: boolean | undefined;
1523
1535
  } | undefined;
1524
- support_ticket_id?: {
1525
- operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
1526
- value?: string | undefined;
1527
- values?: string[] | undefined;
1528
- caseSensitive?: boolean | undefined;
1529
- } | undefined;
1530
- balance_after?: {
1531
- operator: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "between" | "in" | "notIn";
1532
- value?: number | undefined;
1533
- values?: number[] | undefined;
1534
- caseSensitive?: boolean | undefined;
1535
- } | undefined;
1536
1536
  created_by?: {
1537
1537
  operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
1538
1538
  value?: string | undefined;
@@ -1567,8 +1567,8 @@ declare const CreditTransactionReadSchema: z.ZodObject<{
1567
1567
  }, "strip", z.ZodTypeAny, {
1568
1568
  type: "DEDUCTION" | "REFUND" | "PURCHASE_ONETIME" | "PURCHASE_RECURRING" | "ADJUSTMENT";
1569
1569
  amount: string;
1570
- created_at: string;
1571
1570
  balance_after: string;
1571
+ created_at: string;
1572
1572
  created_by: string;
1573
1573
  id: string;
1574
1574
  support_ticket_id?: string | null | undefined;
@@ -1576,8 +1576,8 @@ declare const CreditTransactionReadSchema: z.ZodObject<{
1576
1576
  }, {
1577
1577
  type: "DEDUCTION" | "REFUND" | "PURCHASE_ONETIME" | "PURCHASE_RECURRING" | "ADJUSTMENT";
1578
1578
  amount: string;
1579
- created_at: string;
1580
1579
  balance_after: string;
1580
+ created_at: string;
1581
1581
  created_by: string;
1582
1582
  id: string;
1583
1583
  support_ticket_id?: string | null | undefined;
@@ -1600,8 +1600,8 @@ declare const CreditTransactionPageSchema: z.ZodObject<{
1600
1600
  }, "strip", z.ZodTypeAny, {
1601
1601
  type: "DEDUCTION" | "REFUND" | "PURCHASE_ONETIME" | "PURCHASE_RECURRING" | "ADJUSTMENT";
1602
1602
  amount: string;
1603
- created_at: string;
1604
1603
  balance_after: string;
1604
+ created_at: string;
1605
1605
  created_by: string;
1606
1606
  id: string;
1607
1607
  support_ticket_id?: string | null | undefined;
@@ -1609,8 +1609,8 @@ declare const CreditTransactionPageSchema: z.ZodObject<{
1609
1609
  }, {
1610
1610
  type: "DEDUCTION" | "REFUND" | "PURCHASE_ONETIME" | "PURCHASE_RECURRING" | "ADJUSTMENT";
1611
1611
  amount: string;
1612
- created_at: string;
1613
1612
  balance_after: string;
1613
+ created_at: string;
1614
1614
  created_by: string;
1615
1615
  id: string;
1616
1616
  support_ticket_id?: string | null | undefined;
@@ -1642,8 +1642,8 @@ declare const CreditTransactionPageSchema: z.ZodObject<{
1642
1642
  items: {
1643
1643
  type: "DEDUCTION" | "REFUND" | "PURCHASE_ONETIME" | "PURCHASE_RECURRING" | "ADJUSTMENT";
1644
1644
  amount: string;
1645
- created_at: string;
1646
1645
  balance_after: string;
1646
+ created_at: string;
1647
1647
  created_by: string;
1648
1648
  id: string;
1649
1649
  support_ticket_id?: string | null | undefined;
@@ -1661,8 +1661,8 @@ declare const CreditTransactionPageSchema: z.ZodObject<{
1661
1661
  items: {
1662
1662
  type: "DEDUCTION" | "REFUND" | "PURCHASE_ONETIME" | "PURCHASE_RECURRING" | "ADJUSTMENT";
1663
1663
  amount: string;
1664
- created_at: string;
1665
1664
  balance_after: string;
1665
+ created_at: string;
1666
1666
  created_by: string;
1667
1667
  id: string;
1668
1668
  support_ticket_id?: string | null | undefined;
@@ -1740,8 +1740,8 @@ declare const userSessionSchema: z.ZodObject<{
1740
1740
  price_currency?: string | null | undefined;
1741
1741
  }>, "many">>>;
1742
1742
  }, "strip", z.ZodTypeAny, {
1743
- userId: string;
1744
1743
  email: string;
1744
+ userId: string;
1745
1745
  username: string;
1746
1746
  email_verified: boolean;
1747
1747
  user_type: string;
@@ -1761,8 +1761,8 @@ declare const userSessionSchema: z.ZodObject<{
1761
1761
  price_currency?: string | null | undefined;
1762
1762
  }[] | null | undefined;
1763
1763
  }, {
1764
- userId: string;
1765
1764
  email: string;
1765
+ userId: string;
1766
1766
  username: string;
1767
1767
  email_verified: boolean;
1768
1768
  user_type: string;
@@ -1784,8 +1784,8 @@ declare const userSessionSchema: z.ZodObject<{
1784
1784
  }>;
1785
1785
  }, "strip", z.ZodTypeAny, {
1786
1786
  user: {
1787
- userId: string;
1788
1787
  email: string;
1788
+ userId: string;
1789
1789
  username: string;
1790
1790
  email_verified: boolean;
1791
1791
  user_type: string;
@@ -1812,8 +1812,8 @@ declare const userSessionSchema: z.ZodObject<{
1812
1812
  ip_address?: string | null | undefined;
1813
1813
  }, {
1814
1814
  user: {
1815
- userId: string;
1816
1815
  email: string;
1816
+ userId: string;
1817
1817
  username: string;
1818
1818
  email_verified: boolean;
1819
1819
  user_type: string;
@@ -1890,8 +1890,8 @@ declare const loginResponseSchema: z.ZodObject<{
1890
1890
  price_currency?: string | null | undefined;
1891
1891
  }>, "many">>>;
1892
1892
  }, "strip", z.ZodTypeAny, {
1893
- userId: string;
1894
1893
  email: string;
1894
+ userId: string;
1895
1895
  username: string;
1896
1896
  email_verified: boolean;
1897
1897
  user_type: string;
@@ -1911,8 +1911,8 @@ declare const loginResponseSchema: z.ZodObject<{
1911
1911
  price_currency?: string | null | undefined;
1912
1912
  }[] | null | undefined;
1913
1913
  }, {
1914
- userId: string;
1915
1914
  email: string;
1915
+ userId: string;
1916
1916
  username: string;
1917
1917
  email_verified: boolean;
1918
1918
  user_type: string;
@@ -1934,8 +1934,8 @@ declare const loginResponseSchema: z.ZodObject<{
1934
1934
  }>;
1935
1935
  }, "strip", z.ZodTypeAny, {
1936
1936
  user: {
1937
- userId: string;
1938
1937
  email: string;
1938
+ userId: string;
1939
1939
  username: string;
1940
1940
  email_verified: boolean;
1941
1941
  user_type: string;
@@ -1962,8 +1962,8 @@ declare const loginResponseSchema: z.ZodObject<{
1962
1962
  ip_address?: string | null | undefined;
1963
1963
  }, {
1964
1964
  user: {
1965
- userId: string;
1966
1965
  email: string;
1966
+ userId: string;
1967
1967
  username: string;
1968
1968
  email_verified: boolean;
1969
1969
  user_type: string;
@@ -1996,8 +1996,8 @@ declare const loginResponseSchema: z.ZodObject<{
1996
1996
  refresh_token: string;
1997
1997
  frontend_session: {
1998
1998
  user: {
1999
- userId: string;
2000
1999
  email: string;
2000
+ userId: string;
2001
2001
  username: string;
2002
2002
  email_verified: boolean;
2003
2003
  user_type: string;
@@ -2029,8 +2029,8 @@ declare const loginResponseSchema: z.ZodObject<{
2029
2029
  refresh_token: string;
2030
2030
  frontend_session: {
2031
2031
  user: {
2032
- userId: string;
2033
2032
  email: string;
2033
+ userId: string;
2034
2034
  username: string;
2035
2035
  email_verified: boolean;
2036
2036
  user_type: string;
@@ -2110,9 +2110,9 @@ declare const NoteReadSchema: z.ZodObject<{
2110
2110
  archived_by?: string | null | undefined;
2111
2111
  deleted_at?: string | null | undefined;
2112
2112
  deleted_by?: string | null | undefined;
2113
- tag?: string | null | undefined;
2114
2113
  title?: string | null | undefined;
2115
2114
  body?: string | null | undefined;
2115
+ tag?: string | null | undefined;
2116
2116
  original_id?: number | null | undefined;
2117
2117
  created_by_display_name?: string | null | undefined;
2118
2118
  updated_by_display_name?: string | null | undefined;
@@ -2129,9 +2129,9 @@ declare const NoteReadSchema: z.ZodObject<{
2129
2129
  archived_by?: string | null | undefined;
2130
2130
  deleted_at?: string | null | undefined;
2131
2131
  deleted_by?: string | null | undefined;
2132
- tag?: string | null | undefined;
2133
2132
  title?: string | null | undefined;
2134
2133
  body?: string | null | undefined;
2134
+ tag?: string | null | undefined;
2135
2135
  original_id?: number | null | undefined;
2136
2136
  created_by_display_name?: string | null | undefined;
2137
2137
  updated_by_display_name?: string | null | undefined;
@@ -2151,18 +2151,18 @@ declare const NoteCreateSchema: z.ZodObject<{
2151
2151
  record_id: string;
2152
2152
  record_type: "attachment_folder" | "attachment" | "user" | "user_session" | "user_profile" | "refresh_token" | "refresh_token_family" | "user_subscription" | "password_reset" | "record_version" | "support_ticket" | "support_ticket_activity" | "credit_transaction" | "team_member" | "client_contact" | "client_location" | "client_profile" | "business_profile" | "tracker" | "tracker_activity" | "team" | "quote" | "note" | "followup" | "saved_filter" | "user_pinned_preset" | "record_subscriber" | "support_staff";
2153
2153
  is_internal: boolean;
2154
- tag?: string | null | undefined;
2155
2154
  title?: string | null | undefined;
2156
2155
  body?: string | null | undefined;
2156
+ tag?: string | null | undefined;
2157
2157
  original_id?: number | null | undefined;
2158
2158
  }, {
2159
2159
  record_id: string;
2160
2160
  record_type: "attachment_folder" | "attachment" | "user" | "user_session" | "user_profile" | "refresh_token" | "refresh_token_family" | "user_subscription" | "password_reset" | "record_version" | "support_ticket" | "support_ticket_activity" | "credit_transaction" | "team_member" | "client_contact" | "client_location" | "client_profile" | "business_profile" | "tracker" | "tracker_activity" | "team" | "quote" | "note" | "followup" | "saved_filter" | "user_pinned_preset" | "record_subscriber" | "support_staff";
2161
- tag?: string | null | undefined;
2162
2161
  title?: string | null | undefined;
2163
2162
  body?: string | null | undefined;
2164
- original_id?: number | null | undefined;
2163
+ tag?: string | null | undefined;
2165
2164
  is_internal?: boolean | undefined;
2165
+ original_id?: number | null | undefined;
2166
2166
  }>;
2167
2167
  type NoteCreateDto = z.infer<typeof NoteCreateSchema>;
2168
2168
  //#endregion
@@ -2180,20 +2180,20 @@ declare const NoteUpdateSchema: z.ZodObject<{
2180
2180
  id: string;
2181
2181
  record_id?: string | undefined;
2182
2182
  record_type?: "attachment_folder" | "attachment" | "user" | "user_session" | "user_profile" | "refresh_token" | "refresh_token_family" | "user_subscription" | "password_reset" | "record_version" | "support_ticket" | "support_ticket_activity" | "credit_transaction" | "team_member" | "client_contact" | "client_location" | "client_profile" | "business_profile" | "tracker" | "tracker_activity" | "team" | "quote" | "note" | "followup" | "saved_filter" | "user_pinned_preset" | "record_subscriber" | "support_staff" | undefined;
2183
- tag?: string | null | undefined;
2184
2183
  title?: string | null | undefined;
2185
2184
  body?: string | null | undefined;
2186
- original_id?: number | null | undefined;
2185
+ tag?: string | null | undefined;
2187
2186
  is_internal?: boolean | undefined;
2187
+ original_id?: number | null | undefined;
2188
2188
  }, {
2189
2189
  id: string;
2190
2190
  record_id?: string | undefined;
2191
2191
  record_type?: "attachment_folder" | "attachment" | "user" | "user_session" | "user_profile" | "refresh_token" | "refresh_token_family" | "user_subscription" | "password_reset" | "record_version" | "support_ticket" | "support_ticket_activity" | "credit_transaction" | "team_member" | "client_contact" | "client_location" | "client_profile" | "business_profile" | "tracker" | "tracker_activity" | "team" | "quote" | "note" | "followup" | "saved_filter" | "user_pinned_preset" | "record_subscriber" | "support_staff" | undefined;
2192
- tag?: string | null | undefined;
2193
2192
  title?: string | null | undefined;
2194
2193
  body?: string | null | undefined;
2195
- original_id?: number | null | undefined;
2194
+ tag?: string | null | undefined;
2196
2195
  is_internal?: boolean | undefined;
2196
+ original_id?: number | null | undefined;
2197
2197
  }>;
2198
2198
  type NoteUpdateDto = z.infer<typeof NoteUpdateSchema>;
2199
2199
  //#endregion
@@ -2608,19 +2608,19 @@ declare const NoteFiltersSchema: z.ZodObject<{
2608
2608
  values?: any[] | undefined;
2609
2609
  caseSensitive?: boolean | undefined;
2610
2610
  } | undefined;
2611
- tag?: {
2611
+ title?: {
2612
2612
  operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
2613
2613
  value?: string | undefined;
2614
2614
  values?: string[] | undefined;
2615
2615
  caseSensitive?: boolean | undefined;
2616
2616
  } | undefined;
2617
- title?: {
2617
+ body?: {
2618
2618
  operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
2619
2619
  value?: string | undefined;
2620
2620
  values?: string[] | undefined;
2621
2621
  caseSensitive?: boolean | undefined;
2622
2622
  } | undefined;
2623
- body?: {
2623
+ tag?: {
2624
2624
  operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
2625
2625
  value?: string | undefined;
2626
2626
  values?: string[] | undefined;
@@ -2686,19 +2686,19 @@ declare const NoteFiltersSchema: z.ZodObject<{
2686
2686
  values?: any[] | undefined;
2687
2687
  caseSensitive?: boolean | undefined;
2688
2688
  } | undefined;
2689
- tag?: {
2689
+ title?: {
2690
2690
  operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
2691
2691
  value?: string | undefined;
2692
2692
  values?: string[] | undefined;
2693
2693
  caseSensitive?: boolean | undefined;
2694
2694
  } | undefined;
2695
- title?: {
2695
+ body?: {
2696
2696
  operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
2697
2697
  value?: string | undefined;
2698
2698
  values?: string[] | undefined;
2699
2699
  caseSensitive?: boolean | undefined;
2700
2700
  } | undefined;
2701
- body?: {
2701
+ tag?: {
2702
2702
  operator: "eq" | "ne" | "contains" | "sw" | "ew" | "in" | "notIn";
2703
2703
  value?: string | undefined;
2704
2704
  values?: string[] | undefined;
@@ -7348,14 +7348,14 @@ declare const TeamInputBaseSchema: z.ZodObject<{
7348
7348
  url?: string | null | undefined;
7349
7349
  unique_name?: string | null | undefined;
7350
7350
  legal_name?: string | null | undefined;
7351
- contact_email?: string | null | undefined;
7352
- address_city?: string | null | undefined;
7353
- address_zip?: string | null | undefined;
7354
7351
  contact_name?: string | null | undefined;
7352
+ contact_email?: string | null | undefined;
7355
7353
  contact_business_phone?: string | null | undefined;
7356
7354
  contact_mobile_phone?: string | null | undefined;
7357
7355
  contact_time_zone?: string | null | undefined;
7358
7356
  address_full?: string | null | undefined;
7357
+ address_city?: string | null | undefined;
7358
+ address_zip?: string | null | undefined;
7359
7359
  twitter_username?: string | null | undefined;
7360
7360
  logo?: string | null | undefined;
7361
7361
  email_sent_from?: string | null | undefined;
@@ -7366,14 +7366,14 @@ declare const TeamInputBaseSchema: z.ZodObject<{
7366
7366
  url?: string | null | undefined;
7367
7367
  unique_name?: string | null | undefined;
7368
7368
  legal_name?: string | null | undefined;
7369
- contact_email?: string | null | undefined;
7370
- address_city?: string | null | undefined;
7371
- address_zip?: string | null | undefined;
7372
7369
  contact_name?: string | null | undefined;
7370
+ contact_email?: string | null | undefined;
7373
7371
  contact_business_phone?: string | null | undefined;
7374
7372
  contact_mobile_phone?: string | null | undefined;
7375
7373
  contact_time_zone?: string | null | undefined;
7376
7374
  address_full?: string | null | undefined;
7375
+ address_city?: string | null | undefined;
7376
+ address_zip?: string | null | undefined;
7377
7377
  twitter_username?: string | null | undefined;
7378
7378
  logo?: string | null | undefined;
7379
7379
  email_sent_from?: string | null | undefined;
@@ -7403,14 +7403,14 @@ declare const TeamCreateSchema: z.ZodObject<{
7403
7403
  url?: string | null | undefined;
7404
7404
  unique_name?: string | null | undefined;
7405
7405
  legal_name?: string | null | undefined;
7406
- contact_email?: string | null | undefined;
7407
- address_city?: string | null | undefined;
7408
- address_zip?: string | null | undefined;
7409
7406
  contact_name?: string | null | undefined;
7407
+ contact_email?: string | null | undefined;
7410
7408
  contact_business_phone?: string | null | undefined;
7411
7409
  contact_mobile_phone?: string | null | undefined;
7412
7410
  contact_time_zone?: string | null | undefined;
7413
7411
  address_full?: string | null | undefined;
7412
+ address_city?: string | null | undefined;
7413
+ address_zip?: string | null | undefined;
7414
7414
  twitter_username?: string | null | undefined;
7415
7415
  logo?: string | null | undefined;
7416
7416
  email_sent_from?: string | null | undefined;
@@ -7421,14 +7421,14 @@ declare const TeamCreateSchema: z.ZodObject<{
7421
7421
  url?: string | null | undefined;
7422
7422
  unique_name?: string | null | undefined;
7423
7423
  legal_name?: string | null | undefined;
7424
- contact_email?: string | null | undefined;
7425
- address_city?: string | null | undefined;
7426
- address_zip?: string | null | undefined;
7427
7424
  contact_name?: string | null | undefined;
7425
+ contact_email?: string | null | undefined;
7428
7426
  contact_business_phone?: string | null | undefined;
7429
7427
  contact_mobile_phone?: string | null | undefined;
7430
7428
  contact_time_zone?: string | null | undefined;
7431
7429
  address_full?: string | null | undefined;
7430
+ address_city?: string | null | undefined;
7431
+ address_zip?: string | null | undefined;
7432
7432
  twitter_username?: string | null | undefined;
7433
7433
  logo?: string | null | undefined;
7434
7434
  email_sent_from?: string | null | undefined;
@@ -7462,14 +7462,14 @@ declare const TeamUpdateSchema: z.ZodObject<{
7462
7462
  url?: string | null | undefined;
7463
7463
  unique_name?: string | null | undefined;
7464
7464
  legal_name?: string | null | undefined;
7465
- contact_email?: string | null | undefined;
7466
- address_city?: string | null | undefined;
7467
- address_zip?: string | null | undefined;
7468
7465
  contact_name?: string | null | undefined;
7466
+ contact_email?: string | null | undefined;
7469
7467
  contact_business_phone?: string | null | undefined;
7470
7468
  contact_mobile_phone?: string | null | undefined;
7471
7469
  contact_time_zone?: string | null | undefined;
7472
7470
  address_full?: string | null | undefined;
7471
+ address_city?: string | null | undefined;
7472
+ address_zip?: string | null | undefined;
7473
7473
  twitter_username?: string | null | undefined;
7474
7474
  logo?: string | null | undefined;
7475
7475
  email_sent_from?: string | null | undefined;
@@ -7481,14 +7481,14 @@ declare const TeamUpdateSchema: z.ZodObject<{
7481
7481
  url?: string | null | undefined;
7482
7482
  unique_name?: string | null | undefined;
7483
7483
  legal_name?: string | null | undefined;
7484
- contact_email?: string | null | undefined;
7485
- address_city?: string | null | undefined;
7486
- address_zip?: string | null | undefined;
7487
7484
  contact_name?: string | null | undefined;
7485
+ contact_email?: string | null | undefined;
7488
7486
  contact_business_phone?: string | null | undefined;
7489
7487
  contact_mobile_phone?: string | null | undefined;
7490
7488
  contact_time_zone?: string | null | undefined;
7491
7489
  address_full?: string | null | undefined;
7490
+ address_city?: string | null | undefined;
7491
+ address_zip?: string | null | undefined;
7492
7492
  twitter_username?: string | null | undefined;
7493
7493
  logo?: string | null | undefined;
7494
7494
  email_sent_from?: string | null | undefined;
@@ -7545,14 +7545,14 @@ declare const TeamPageSchema: z.ZodObject<{
7545
7545
  updated_by_display_name?: string | null | undefined;
7546
7546
  unique_name?: string | null | undefined;
7547
7547
  legal_name?: string | null | undefined;
7548
- contact_email?: string | null | undefined;
7549
- address_city?: string | null | undefined;
7550
- address_zip?: string | null | undefined;
7551
7548
  contact_name?: string | null | undefined;
7549
+ contact_email?: string | null | undefined;
7552
7550
  contact_business_phone?: string | null | undefined;
7553
7551
  contact_mobile_phone?: string | null | undefined;
7554
7552
  contact_time_zone?: string | null | undefined;
7555
7553
  address_full?: string | null | undefined;
7554
+ address_city?: string | null | undefined;
7555
+ address_zip?: string | null | undefined;
7556
7556
  twitter_username?: string | null | undefined;
7557
7557
  logo?: string | null | undefined;
7558
7558
  email_sent_from?: string | null | undefined;
@@ -7574,14 +7574,14 @@ declare const TeamPageSchema: z.ZodObject<{
7574
7574
  updated_by_display_name?: string | null | undefined;
7575
7575
  unique_name?: string | null | undefined;
7576
7576
  legal_name?: string | null | undefined;
7577
- contact_email?: string | null | undefined;
7578
- address_city?: string | null | undefined;
7579
- address_zip?: string | null | undefined;
7580
7577
  contact_name?: string | null | undefined;
7578
+ contact_email?: string | null | undefined;
7581
7579
  contact_business_phone?: string | null | undefined;
7582
7580
  contact_mobile_phone?: string | null | undefined;
7583
7581
  contact_time_zone?: string | null | undefined;
7584
7582
  address_full?: string | null | undefined;
7583
+ address_city?: string | null | undefined;
7584
+ address_zip?: string | null | undefined;
7585
7585
  twitter_username?: string | null | undefined;
7586
7586
  logo?: string | null | undefined;
7587
7587
  email_sent_from?: string | null | undefined;
@@ -7627,14 +7627,14 @@ declare const TeamPageSchema: z.ZodObject<{
7627
7627
  updated_by_display_name?: string | null | undefined;
7628
7628
  unique_name?: string | null | undefined;
7629
7629
  legal_name?: string | null | undefined;
7630
- contact_email?: string | null | undefined;
7631
- address_city?: string | null | undefined;
7632
- address_zip?: string | null | undefined;
7633
7630
  contact_name?: string | null | undefined;
7631
+ contact_email?: string | null | undefined;
7634
7632
  contact_business_phone?: string | null | undefined;
7635
7633
  contact_mobile_phone?: string | null | undefined;
7636
7634
  contact_time_zone?: string | null | undefined;
7637
7635
  address_full?: string | null | undefined;
7636
+ address_city?: string | null | undefined;
7637
+ address_zip?: string | null | undefined;
7638
7638
  twitter_username?: string | null | undefined;
7639
7639
  logo?: string | null | undefined;
7640
7640
  email_sent_from?: string | null | undefined;
@@ -7666,14 +7666,14 @@ declare const TeamPageSchema: z.ZodObject<{
7666
7666
  updated_by_display_name?: string | null | undefined;
7667
7667
  unique_name?: string | null | undefined;
7668
7668
  legal_name?: string | null | undefined;
7669
- contact_email?: string | null | undefined;
7670
- address_city?: string | null | undefined;
7671
- address_zip?: string | null | undefined;
7672
7669
  contact_name?: string | null | undefined;
7670
+ contact_email?: string | null | undefined;
7673
7671
  contact_business_phone?: string | null | undefined;
7674
7672
  contact_mobile_phone?: string | null | undefined;
7675
7673
  contact_time_zone?: string | null | undefined;
7676
7674
  address_full?: string | null | undefined;
7675
+ address_city?: string | null | undefined;
7676
+ address_zip?: string | null | undefined;
7677
7677
  twitter_username?: string | null | undefined;
7678
7678
  logo?: string | null | undefined;
7679
7679
  email_sent_from?: string | null | undefined;
@@ -7738,14 +7738,14 @@ declare const TeamReadSchema: z.ZodObject<{
7738
7738
  updated_by_display_name?: string | null | undefined;
7739
7739
  unique_name?: string | null | undefined;
7740
7740
  legal_name?: string | null | undefined;
7741
- contact_email?: string | null | undefined;
7742
- address_city?: string | null | undefined;
7743
- address_zip?: string | null | undefined;
7744
7741
  contact_name?: string | null | undefined;
7742
+ contact_email?: string | null | undefined;
7745
7743
  contact_business_phone?: string | null | undefined;
7746
7744
  contact_mobile_phone?: string | null | undefined;
7747
7745
  contact_time_zone?: string | null | undefined;
7748
7746
  address_full?: string | null | undefined;
7747
+ address_city?: string | null | undefined;
7748
+ address_zip?: string | null | undefined;
7749
7749
  twitter_username?: string | null | undefined;
7750
7750
  logo?: string | null | undefined;
7751
7751
  email_sent_from?: string | null | undefined;
@@ -7767,14 +7767,14 @@ declare const TeamReadSchema: z.ZodObject<{
7767
7767
  updated_by_display_name?: string | null | undefined;
7768
7768
  unique_name?: string | null | undefined;
7769
7769
  legal_name?: string | null | undefined;
7770
- contact_email?: string | null | undefined;
7771
- address_city?: string | null | undefined;
7772
- address_zip?: string | null | undefined;
7773
7770
  contact_name?: string | null | undefined;
7771
+ contact_email?: string | null | undefined;
7774
7772
  contact_business_phone?: string | null | undefined;
7775
7773
  contact_mobile_phone?: string | null | undefined;
7776
7774
  contact_time_zone?: string | null | undefined;
7777
7775
  address_full?: string | null | undefined;
7776
+ address_city?: string | null | undefined;
7777
+ address_zip?: string | null | undefined;
7778
7778
  twitter_username?: string | null | undefined;
7779
7779
  logo?: string | null | undefined;
7780
7780
  email_sent_from?: string | null | undefined;
@@ -7834,14 +7834,14 @@ declare const TeamOptionSchema: z.ZodObject<{
7834
7834
  updated_by_display_name?: string | null | undefined;
7835
7835
  unique_name?: string | null | undefined;
7836
7836
  legal_name?: string | null | undefined;
7837
- contact_email?: string | null | undefined;
7838
- address_city?: string | null | undefined;
7839
- address_zip?: string | null | undefined;
7840
7837
  contact_name?: string | null | undefined;
7838
+ contact_email?: string | null | undefined;
7841
7839
  contact_business_phone?: string | null | undefined;
7842
7840
  contact_mobile_phone?: string | null | undefined;
7843
7841
  contact_time_zone?: string | null | undefined;
7844
7842
  address_full?: string | null | undefined;
7843
+ address_city?: string | null | undefined;
7844
+ address_zip?: string | null | undefined;
7845
7845
  twitter_username?: string | null | undefined;
7846
7846
  logo?: string | null | undefined;
7847
7847
  email_sent_from?: string | null | undefined;
@@ -7863,14 +7863,14 @@ declare const TeamOptionSchema: z.ZodObject<{
7863
7863
  updated_by_display_name?: string | null | undefined;
7864
7864
  unique_name?: string | null | undefined;
7865
7865
  legal_name?: string | null | undefined;
7866
- contact_email?: string | null | undefined;
7867
- address_city?: string | null | undefined;
7868
- address_zip?: string | null | undefined;
7869
7866
  contact_name?: string | null | undefined;
7867
+ contact_email?: string | null | undefined;
7870
7868
  contact_business_phone?: string | null | undefined;
7871
7869
  contact_mobile_phone?: string | null | undefined;
7872
7870
  contact_time_zone?: string | null | undefined;
7873
7871
  address_full?: string | null | undefined;
7872
+ address_city?: string | null | undefined;
7873
+ address_zip?: string | null | undefined;
7874
7874
  twitter_username?: string | null | undefined;
7875
7875
  logo?: string | null | undefined;
7876
7876
  email_sent_from?: string | null | undefined;
@@ -7928,14 +7928,14 @@ declare const UserTeamsSchema: z.ZodObject<{
7928
7928
  updated_by_display_name?: string | null | undefined;
7929
7929
  unique_name?: string | null | undefined;
7930
7930
  legal_name?: string | null | undefined;
7931
- contact_email?: string | null | undefined;
7932
- address_city?: string | null | undefined;
7933
- address_zip?: string | null | undefined;
7934
7931
  contact_name?: string | null | undefined;
7932
+ contact_email?: string | null | undefined;
7935
7933
  contact_business_phone?: string | null | undefined;
7936
7934
  contact_mobile_phone?: string | null | undefined;
7937
7935
  contact_time_zone?: string | null | undefined;
7938
7936
  address_full?: string | null | undefined;
7937
+ address_city?: string | null | undefined;
7938
+ address_zip?: string | null | undefined;
7939
7939
  twitter_username?: string | null | undefined;
7940
7940
  logo?: string | null | undefined;
7941
7941
  email_sent_from?: string | null | undefined;
@@ -7957,14 +7957,14 @@ declare const UserTeamsSchema: z.ZodObject<{
7957
7957
  updated_by_display_name?: string | null | undefined;
7958
7958
  unique_name?: string | null | undefined;
7959
7959
  legal_name?: string | null | undefined;
7960
- contact_email?: string | null | undefined;
7961
- address_city?: string | null | undefined;
7962
- address_zip?: string | null | undefined;
7963
7960
  contact_name?: string | null | undefined;
7961
+ contact_email?: string | null | undefined;
7964
7962
  contact_business_phone?: string | null | undefined;
7965
7963
  contact_mobile_phone?: string | null | undefined;
7966
7964
  contact_time_zone?: string | null | undefined;
7967
7965
  address_full?: string | null | undefined;
7966
+ address_city?: string | null | undefined;
7967
+ address_zip?: string | null | undefined;
7968
7968
  twitter_username?: string | null | undefined;
7969
7969
  logo?: string | null | undefined;
7970
7970
  email_sent_from?: string | null | undefined;
@@ -7988,14 +7988,14 @@ declare const UserTeamsSchema: z.ZodObject<{
7988
7988
  updated_by_display_name?: string | null | undefined;
7989
7989
  unique_name?: string | null | undefined;
7990
7990
  legal_name?: string | null | undefined;
7991
- contact_email?: string | null | undefined;
7992
- address_city?: string | null | undefined;
7993
- address_zip?: string | null | undefined;
7994
7991
  contact_name?: string | null | undefined;
7992
+ contact_email?: string | null | undefined;
7995
7993
  contact_business_phone?: string | null | undefined;
7996
7994
  contact_mobile_phone?: string | null | undefined;
7997
7995
  contact_time_zone?: string | null | undefined;
7998
7996
  address_full?: string | null | undefined;
7997
+ address_city?: string | null | undefined;
7998
+ address_zip?: string | null | undefined;
7999
7999
  twitter_username?: string | null | undefined;
8000
8000
  logo?: string | null | undefined;
8001
8001
  email_sent_from?: string | null | undefined;
@@ -8019,14 +8019,14 @@ declare const UserTeamsSchema: z.ZodObject<{
8019
8019
  updated_by_display_name?: string | null | undefined;
8020
8020
  unique_name?: string | null | undefined;
8021
8021
  legal_name?: string | null | undefined;
8022
- contact_email?: string | null | undefined;
8023
- address_city?: string | null | undefined;
8024
- address_zip?: string | null | undefined;
8025
8022
  contact_name?: string | null | undefined;
8023
+ contact_email?: string | null | undefined;
8026
8024
  contact_business_phone?: string | null | undefined;
8027
8025
  contact_mobile_phone?: string | null | undefined;
8028
8026
  contact_time_zone?: string | null | undefined;
8029
8027
  address_full?: string | null | undefined;
8028
+ address_city?: string | null | undefined;
8029
+ address_zip?: string | null | undefined;
8030
8030
  twitter_username?: string | null | undefined;
8031
8031
  logo?: string | null | undefined;
8032
8032
  email_sent_from?: string | null | undefined;
@@ -9292,20 +9292,20 @@ declare const UserReadSchema: z.ZodObject<{
9292
9292
  updated_at: z.ZodNullable<z.ZodString>;
9293
9293
  }, "strip", z.ZodTypeAny, {
9294
9294
  created_at: string;
9295
+ id: string;
9295
9296
  email: string;
9297
+ updated_at: string | null;
9296
9298
  username: string;
9297
9299
  email_verified: boolean;
9298
9300
  user_type: "consumer" | "lead" | "staff" | "super_admin";
9299
- id: string;
9300
- updated_at: string | null;
9301
9301
  }, {
9302
9302
  created_at: string;
9303
+ id: string;
9303
9304
  email: string;
9305
+ updated_at: string | null;
9304
9306
  username: string;
9305
9307
  email_verified: boolean;
9306
9308
  user_type: "consumer" | "lead" | "staff" | "super_admin";
9307
- id: string;
9308
- updated_at: string | null;
9309
9309
  }>;
9310
9310
  type UserReadDto = z.infer<typeof UserReadSchema>;
9311
9311
  //#endregion
@@ -9314,11 +9314,11 @@ declare const UserUpdateSchema: z.ZodObject<{
9314
9314
  id: z.ZodString;
9315
9315
  user_type: z.ZodEnum<["consumer", "lead", "staff", "super_admin"]>;
9316
9316
  }, "strip", z.ZodTypeAny, {
9317
- user_type: "consumer" | "lead" | "staff" | "super_admin";
9318
9317
  id: string;
9319
- }, {
9320
9318
  user_type: "consumer" | "lead" | "staff" | "super_admin";
9319
+ }, {
9321
9320
  id: string;
9321
+ user_type: "consumer" | "lead" | "staff" | "super_admin";
9322
9322
  }>;
9323
9323
  type UserUpdateDto = z.infer<typeof UserUpdateSchema>;
9324
9324
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dragonmastery/dragoncore-shared",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Shared types and utilities for dragoncore",
5
5
  "author": "DragonMastery",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -20,7 +20,14 @@
20
20
  "README.md"
21
21
  ],
22
22
  "publishConfig": {
23
- "access": "public"
23
+ "access": "public",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/index.d.mts",
27
+ "import": "./dist/index.mjs",
28
+ "default": "./dist/index.mjs"
29
+ }
30
+ }
24
31
  },
25
32
  "scripts": {
26
33
  "npm:build": "tsdown",