@connectedxm/admin 2.0.0 → 2.0.2

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.js CHANGED
@@ -10766,6 +10766,74 @@ var BadgeFieldTransformation = /* @__PURE__ */ ((BadgeFieldTransformation2) => {
10766
10766
  BadgeFieldTransformation2["lowercase"] = "lowercase";
10767
10767
  return BadgeFieldTransformation2;
10768
10768
  })(BadgeFieldTransformation || {});
10769
+ var SupportedLocale = /* @__PURE__ */ ((SupportedLocale2) => {
10770
+ SupportedLocale2["af"] = "af";
10771
+ SupportedLocale2["sq"] = "sq";
10772
+ SupportedLocale2["am"] = "am";
10773
+ SupportedLocale2["ar"] = "ar";
10774
+ SupportedLocale2["hy"] = "hy";
10775
+ SupportedLocale2["az"] = "az";
10776
+ SupportedLocale2["bn"] = "bn";
10777
+ SupportedLocale2["bs"] = "bs";
10778
+ SupportedLocale2["bg"] = "bg";
10779
+ SupportedLocale2["zh-CN"] = "zh-CN";
10780
+ SupportedLocale2["ca"] = "ca";
10781
+ SupportedLocale2["zh-TW"] = "zh-TW";
10782
+ SupportedLocale2["hr"] = "hr";
10783
+ SupportedLocale2["cs"] = "cs";
10784
+ SupportedLocale2["da"] = "da";
10785
+ SupportedLocale2["nl"] = "nl";
10786
+ SupportedLocale2["en"] = "en";
10787
+ SupportedLocale2["et"] = "et";
10788
+ SupportedLocale2["fi"] = "fi";
10789
+ SupportedLocale2["fr"] = "fr";
10790
+ SupportedLocale2["fr-CA"] = "fr-CA";
10791
+ SupportedLocale2["ka"] = "ka";
10792
+ SupportedLocale2["de"] = "de";
10793
+ SupportedLocale2["el"] = "el";
10794
+ SupportedLocale2["ht"] = "ht";
10795
+ SupportedLocale2["he"] = "he";
10796
+ SupportedLocale2["hi"] = "hi";
10797
+ SupportedLocale2["hu"] = "hu";
10798
+ SupportedLocale2["is"] = "is";
10799
+ SupportedLocale2["id"] = "id";
10800
+ SupportedLocale2["ga"] = "ga";
10801
+ SupportedLocale2["it"] = "it";
10802
+ SupportedLocale2["ja"] = "ja";
10803
+ SupportedLocale2["kk"] = "kk";
10804
+ SupportedLocale2["ko"] = "ko";
10805
+ SupportedLocale2["lv"] = "lv";
10806
+ SupportedLocale2["lt"] = "lt";
10807
+ SupportedLocale2["mk"] = "mk";
10808
+ SupportedLocale2["ms"] = "ms";
10809
+ SupportedLocale2["mt"] = "mt";
10810
+ SupportedLocale2["mn"] = "mn";
10811
+ SupportedLocale2["no"] = "no";
10812
+ SupportedLocale2["fa"] = "fa";
10813
+ SupportedLocale2["ps"] = "ps";
10814
+ SupportedLocale2["pl"] = "pl";
10815
+ SupportedLocale2["pt"] = "pt";
10816
+ SupportedLocale2["pt-PT"] = "pt-PT";
10817
+ SupportedLocale2["pa"] = "pa";
10818
+ SupportedLocale2["ro"] = "ro";
10819
+ SupportedLocale2["ru"] = "ru";
10820
+ SupportedLocale2["sr"] = "sr";
10821
+ SupportedLocale2["sk"] = "sk";
10822
+ SupportedLocale2["sl"] = "sl";
10823
+ SupportedLocale2["so"] = "so";
10824
+ SupportedLocale2["es"] = "es";
10825
+ SupportedLocale2["es-MX"] = "es-MX";
10826
+ SupportedLocale2["sw"] = "sw";
10827
+ SupportedLocale2["sv"] = "sv";
10828
+ SupportedLocale2["ta"] = "ta";
10829
+ SupportedLocale2["th"] = "th";
10830
+ SupportedLocale2["tr"] = "tr";
10831
+ SupportedLocale2["uk"] = "uk";
10832
+ SupportedLocale2["ur"] = "ur";
10833
+ SupportedLocale2["uz"] = "uz";
10834
+ SupportedLocale2["vi"] = "vi";
10835
+ return SupportedLocale2;
10836
+ })(SupportedLocale || {});
10769
10837
  var GroupInvitationStatus = /* @__PURE__ */ ((GroupInvitationStatus2) => {
10770
10838
  GroupInvitationStatus2["invited"] = "invited";
10771
10839
  GroupInvitationStatus2["rejected"] = "rejected";
@@ -31933,6 +32001,7 @@ export {
31933
32001
  SubscriptionStatus,
31934
32002
  SupportTicketState,
31935
32003
  SupportTicketType,
32004
+ SupportedLocale,
31936
32005
  SurveyQuestionType,
31937
32006
  SwitchImage,
31938
32007
  TAX_INTEGRATIONS_QUERY_KEY,
package/eslint.config.js CHANGED
@@ -27,6 +27,7 @@ export default [
27
27
  "@typescript-eslint/no-explicit-any": "off",
28
28
  "prettier/prettier": "off",
29
29
  "eol-last": "off",
30
+ "@typescript-eslint/no-empty-object-type": "off",
30
31
  },
31
32
  settings: {
32
33
  react: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",
@@ -15,8 +15,10 @@
15
15
  "scripts": {
16
16
  "lint": "eslint src/**/*.ts",
17
17
  "build": "tsup src/index.ts --format cjs,esm --dts",
18
+ "release": "npm run lint && npm run build",
18
19
  "local": "npm run release && npm pack",
19
- "exports": "tsx scripts/addExports.ts"
20
+ "exports": "tsx scripts/addExports.ts",
21
+ "upgrade": "ncu -i --format group"
20
22
  },
21
23
  "dependencies": {
22
24
  "axios": "^1.8.4",
@@ -27,14 +29,14 @@
27
29
  "react": "^18 || ^19"
28
30
  },
29
31
  "devDependencies": {
30
- "@babel/parser": "^7.26.10",
31
- "@swc/core": "^1.11.11",
32
- "@tanstack/react-query": "^5.69.0",
32
+ "@babel/parser": "^7.27.0",
33
+ "@swc/core": "^1.11.16",
34
+ "@tanstack/react-query": "^5.71.5",
33
35
  "@types/glob": "^8.1.0",
34
- "@types/node": "^22.13.11",
35
- "@types/react": "^19.0.12",
36
- "@typescript-eslint/eslint-plugin": "^8.27.0",
37
- "@typescript-eslint/parser": "^8.27.0",
36
+ "@types/node": "^22.14.0",
37
+ "@types/react": "^19.1.0",
38
+ "@typescript-eslint/eslint-plugin": "^8.29.0",
39
+ "@typescript-eslint/parser": "^8.29.0",
38
40
  "eslint": "^9.23.0",
39
41
  "eslint-plugin-react": "^7.37.4",
40
42
  "eslint-plugin-react-hooks": "^5.2.0",
@@ -42,9 +44,9 @@
42
44
  "recast": "^0.23.11",
43
45
  "tsup": "^8.4.0",
44
46
  "typescript": "^5.8.2",
45
- "vitest": "^3.0.9"
47
+ "vitest": "^3.1.1"
46
48
  },
47
49
  "optionalDependencies": {
48
- "@rollup/rollup-linux-x64-gnu": "4.36.0"
50
+ "@rollup/rollup-linux-x64-gnu": "4.39.0"
49
51
  }
50
52
  }