@rotesblatt/hex-tractor-data-api 2.5.5 → 2.5.6

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.
@@ -987,16 +987,20 @@ export declare const schemas: {
987
987
  };
988
988
  export declare const api: import("@zodios/core").ZodiosInstance<[{
989
989
  method: "get";
990
- path: "/account/:region/:puuid";
991
- alias: "getAccountByPuuid";
992
- description: "Retrieve Riot account details using the encrypted summoner ID for a specific region";
990
+ path: "/account/by-name/:region/:summonerName/:tagLine";
991
+ alias: "getAccountBySummonerName";
992
+ description: "Retrieve Riot account details using the summoner name and tag line for a specific region";
993
993
  requestFormat: "json";
994
994
  parameters: [{
995
995
  name: "region";
996
996
  type: "Path";
997
997
  schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
998
998
  }, {
999
- name: "puuid";
999
+ name: "summonerName";
1000
+ type: "Path";
1001
+ schema: z.ZodString;
1002
+ }, {
1003
+ name: "tagLine";
1000
1004
  type: "Path";
1001
1005
  schema: z.ZodString;
1002
1006
  }];
@@ -1104,20 +1108,16 @@ export declare const api: import("@zodios/core").ZodiosInstance<[{
1104
1108
  }];
1105
1109
  }, {
1106
1110
  method: "get";
1107
- path: "/account/:region/:summonerName/:tagLine";
1108
- alias: "getAccountBySummonerName";
1109
- description: "Retrieve Riot account details using the summoner name and tag line for a specific region";
1111
+ path: "/account/by-puuid/:region/:puuid";
1112
+ alias: "getAccountByPuuid";
1113
+ description: "Retrieve Riot account details using the encrypted summoner ID for a specific region";
1110
1114
  requestFormat: "json";
1111
1115
  parameters: [{
1112
1116
  name: "region";
1113
1117
  type: "Path";
1114
1118
  schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
1115
1119
  }, {
1116
- name: "summonerName";
1117
- type: "Path";
1118
- schema: z.ZodString;
1119
- }, {
1120
- name: "tagLine";
1120
+ name: "puuid";
1121
1121
  type: "Path";
1122
1122
  schema: z.ZodString;
1123
1123
  }];
@@ -1835,16 +1835,20 @@ export declare const api: import("@zodios/core").ZodiosInstance<[{
1835
1835
  }]>;
1836
1836
  export declare function createApiClient(baseUrl: string, options?: ZodiosOptions): import("@zodios/core").ZodiosInstance<[{
1837
1837
  method: "get";
1838
- path: "/account/:region/:puuid";
1839
- alias: "getAccountByPuuid";
1840
- description: "Retrieve Riot account details using the encrypted summoner ID for a specific region";
1838
+ path: "/account/by-name/:region/:summonerName/:tagLine";
1839
+ alias: "getAccountBySummonerName";
1840
+ description: "Retrieve Riot account details using the summoner name and tag line for a specific region";
1841
1841
  requestFormat: "json";
1842
1842
  parameters: [{
1843
1843
  name: "region";
1844
1844
  type: "Path";
1845
1845
  schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
1846
1846
  }, {
1847
- name: "puuid";
1847
+ name: "summonerName";
1848
+ type: "Path";
1849
+ schema: z.ZodString;
1850
+ }, {
1851
+ name: "tagLine";
1848
1852
  type: "Path";
1849
1853
  schema: z.ZodString;
1850
1854
  }];
@@ -1952,20 +1956,16 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
1952
1956
  }];
1953
1957
  }, {
1954
1958
  method: "get";
1955
- path: "/account/:region/:summonerName/:tagLine";
1956
- alias: "getAccountBySummonerName";
1957
- description: "Retrieve Riot account details using the summoner name and tag line for a specific region";
1959
+ path: "/account/by-puuid/:region/:puuid";
1960
+ alias: "getAccountByPuuid";
1961
+ description: "Retrieve Riot account details using the encrypted summoner ID for a specific region";
1958
1962
  requestFormat: "json";
1959
1963
  parameters: [{
1960
1964
  name: "region";
1961
1965
  type: "Path";
1962
1966
  schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
1963
1967
  }, {
1964
- name: "summonerName";
1965
- type: "Path";
1966
- schema: z.ZodString;
1967
- }, {
1968
- name: "tagLine";
1968
+ name: "puuid";
1969
1969
  type: "Path";
1970
1970
  schema: z.ZodString;
1971
1971
  }];
@@ -745,9 +745,9 @@ exports.schemas = {
745
745
  const endpoints = (0, core_1.makeApi)([
746
746
  {
747
747
  method: "get",
748
- path: "/account/:region/:puuid",
749
- alias: "getAccountByPuuid",
750
- description: `Retrieve Riot account details using the encrypted summoner ID for a specific region`,
748
+ path: "/account/by-name/:region/:summonerName/:tagLine",
749
+ alias: "getAccountBySummonerName",
750
+ description: `Retrieve Riot account details using the summoner name and tag line for a specific region`,
751
751
  requestFormat: "json",
752
752
  parameters: [
753
753
  {
@@ -773,7 +773,12 @@ const endpoints = (0, core_1.makeApi)([
773
773
  ]),
774
774
  },
775
775
  {
776
- name: "puuid",
776
+ name: "summonerName",
777
+ type: "Path",
778
+ schema: zod_1.z.string(),
779
+ },
780
+ {
781
+ name: "tagLine",
777
782
  type: "Path",
778
783
  schema: zod_1.z.string(),
779
784
  },
@@ -804,9 +809,9 @@ const endpoints = (0, core_1.makeApi)([
804
809
  },
805
810
  {
806
811
  method: "get",
807
- path: "/account/:region/:summonerName/:tagLine",
808
- alias: "getAccountBySummonerName",
809
- description: `Retrieve Riot account details using the summoner name and tag line for a specific region`,
812
+ path: "/account/by-puuid/:region/:puuid",
813
+ alias: "getAccountByPuuid",
814
+ description: `Retrieve Riot account details using the encrypted summoner ID for a specific region`,
810
815
  requestFormat: "json",
811
816
  parameters: [
812
817
  {
@@ -832,12 +837,7 @@ const endpoints = (0, core_1.makeApi)([
832
837
  ]),
833
838
  },
834
839
  {
835
- name: "summonerName",
836
- type: "Path",
837
- schema: zod_1.z.string(),
838
- },
839
- {
840
- name: "tagLine",
840
+ name: "puuid",
841
841
  type: "Path",
842
842
  schema: zod_1.z.string(),
843
843
  },
@@ -1352,9 +1352,9 @@ export const schemas = {
1352
1352
  const endpoints = makeApi([
1353
1353
  {
1354
1354
  method: "get",
1355
- path: "/account/:region/:puuid",
1356
- alias: "getAccountByPuuid",
1357
- description: `Retrieve Riot account details using the encrypted summoner ID for a specific region`,
1355
+ path: "/account/by-name/:region/:summonerName/:tagLine",
1356
+ alias: "getAccountBySummonerName",
1357
+ description: `Retrieve Riot account details using the summoner name and tag line for a specific region`,
1358
1358
  requestFormat: "json",
1359
1359
  parameters: [
1360
1360
  {
@@ -1380,7 +1380,12 @@ const endpoints = makeApi([
1380
1380
  ]),
1381
1381
  },
1382
1382
  {
1383
- name: "puuid",
1383
+ name: "summonerName",
1384
+ type: "Path",
1385
+ schema: z.string(),
1386
+ },
1387
+ {
1388
+ name: "tagLine",
1384
1389
  type: "Path",
1385
1390
  schema: z.string(),
1386
1391
  },
@@ -1411,9 +1416,9 @@ const endpoints = makeApi([
1411
1416
  },
1412
1417
  {
1413
1418
  method: "get",
1414
- path: "/account/:region/:summonerName/:tagLine",
1415
- alias: "getAccountBySummonerName",
1416
- description: `Retrieve Riot account details using the summoner name and tag line for a specific region`,
1419
+ path: "/account/by-puuid/:region/:puuid",
1420
+ alias: "getAccountByPuuid",
1421
+ description: `Retrieve Riot account details using the encrypted summoner ID for a specific region`,
1417
1422
  requestFormat: "json",
1418
1423
  parameters: [
1419
1424
  {
@@ -1439,12 +1444,7 @@ const endpoints = makeApi([
1439
1444
  ]),
1440
1445
  },
1441
1446
  {
1442
- name: "summonerName",
1443
- type: "Path",
1444
- schema: z.string(),
1445
- },
1446
- {
1447
- name: "tagLine",
1447
+ name: "puuid",
1448
1448
  type: "Path",
1449
1449
  schema: z.string(),
1450
1450
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rotesblatt/hex-tractor-data-api",
3
- "version": "2.5.5",
3
+ "version": "2.5.6",
4
4
  "description": "Generated TypeScript client for Hex-Tractor API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",