@36node/auth-sdk 1.4.3 → 1.5.1
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/main.js +126 -0
- package/dist/main.js.map +1 -1
- package/dist/module.js +127 -1
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +197 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -64,6 +64,9 @@ $parcel$export($00d9c40198a72115$exports, "$SmsRecord", () => $00d9c40198a72115$
|
|
|
64
64
|
$parcel$export($00d9c40198a72115$exports, "$UpdateSmsRecordDto", () => $00d9c40198a72115$export$b885d88b4209b261);
|
|
65
65
|
$parcel$export($00d9c40198a72115$exports, "$Industry", () => $00d9c40198a72115$export$86e7567d0e80a3fd);
|
|
66
66
|
$parcel$export($00d9c40198a72115$exports, "$Region", () => $00d9c40198a72115$export$fd4976cd1b633c9);
|
|
67
|
+
$parcel$export($00d9c40198a72115$exports, "$CreateRoleDto", () => $00d9c40198a72115$export$50f2012a72dcff8f);
|
|
68
|
+
$parcel$export($00d9c40198a72115$exports, "$Role", () => $00d9c40198a72115$export$5828fa7e2c71b157);
|
|
69
|
+
$parcel$export($00d9c40198a72115$exports, "$UpdateRoleDto", () => $00d9c40198a72115$export$4a58276f1c17d5f3);
|
|
67
70
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
68
71
|
const $00d9c40198a72115$export$88f4d4b355951aa3 = {
|
|
69
72
|
type: "object",
|
|
@@ -1657,6 +1660,94 @@ const $00d9c40198a72115$export$fd4976cd1b633c9 = {
|
|
|
1657
1660
|
"dialingPrefix"
|
|
1658
1661
|
]
|
|
1659
1662
|
};
|
|
1663
|
+
const $00d9c40198a72115$export$50f2012a72dcff8f = {
|
|
1664
|
+
type: "object",
|
|
1665
|
+
properties: {
|
|
1666
|
+
permissions: {
|
|
1667
|
+
description: "\u6743\u9650",
|
|
1668
|
+
type: "array",
|
|
1669
|
+
items: {
|
|
1670
|
+
type: "string"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
key: {
|
|
1674
|
+
type: "string",
|
|
1675
|
+
description: "role key"
|
|
1676
|
+
},
|
|
1677
|
+
name: {
|
|
1678
|
+
type: "string",
|
|
1679
|
+
description: "\u540D\u79F0"
|
|
1680
|
+
}
|
|
1681
|
+
},
|
|
1682
|
+
required: [
|
|
1683
|
+
"key",
|
|
1684
|
+
"name"
|
|
1685
|
+
]
|
|
1686
|
+
};
|
|
1687
|
+
const $00d9c40198a72115$export$5828fa7e2c71b157 = {
|
|
1688
|
+
type: "object",
|
|
1689
|
+
properties: {
|
|
1690
|
+
key: {
|
|
1691
|
+
type: "string",
|
|
1692
|
+
description: "role key"
|
|
1693
|
+
},
|
|
1694
|
+
name: {
|
|
1695
|
+
type: "string",
|
|
1696
|
+
description: "\u540D\u79F0"
|
|
1697
|
+
},
|
|
1698
|
+
permissions: {
|
|
1699
|
+
description: "\u6743\u9650",
|
|
1700
|
+
type: "array",
|
|
1701
|
+
items: {
|
|
1702
|
+
type: "string"
|
|
1703
|
+
}
|
|
1704
|
+
},
|
|
1705
|
+
id: {
|
|
1706
|
+
type: "string",
|
|
1707
|
+
description: "Entity id"
|
|
1708
|
+
},
|
|
1709
|
+
createdAt: {
|
|
1710
|
+
format: "date-time",
|
|
1711
|
+
type: "string",
|
|
1712
|
+
description: "Entity created at when"
|
|
1713
|
+
},
|
|
1714
|
+
updatedAt: {
|
|
1715
|
+
format: "date-time",
|
|
1716
|
+
type: "string",
|
|
1717
|
+
description: "Entity updated at when"
|
|
1718
|
+
},
|
|
1719
|
+
createdBy: {
|
|
1720
|
+
type: "string",
|
|
1721
|
+
description: "Entity created by who"
|
|
1722
|
+
},
|
|
1723
|
+
updatedBy: {
|
|
1724
|
+
type: "string",
|
|
1725
|
+
description: "Entity updated by who"
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1728
|
+
required: [
|
|
1729
|
+
"key",
|
|
1730
|
+
"name",
|
|
1731
|
+
"permissions",
|
|
1732
|
+
"id"
|
|
1733
|
+
]
|
|
1734
|
+
};
|
|
1735
|
+
const $00d9c40198a72115$export$4a58276f1c17d5f3 = {
|
|
1736
|
+
type: "object",
|
|
1737
|
+
properties: {
|
|
1738
|
+
name: {
|
|
1739
|
+
type: "string",
|
|
1740
|
+
description: "\u540D\u79F0"
|
|
1741
|
+
},
|
|
1742
|
+
permissions: {
|
|
1743
|
+
description: "\u6743\u9650",
|
|
1744
|
+
type: "array",
|
|
1745
|
+
items: {
|
|
1746
|
+
type: "string"
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
};
|
|
1660
1751
|
|
|
1661
1752
|
|
|
1662
1753
|
var $f3613dc0d7a37c99$exports = {};
|
|
@@ -1715,6 +1806,11 @@ $parcel$export($f3613dc0d7a37c99$exports, "updateSmsRecord", () => $f3613dc0d7a3
|
|
|
1715
1806
|
$parcel$export($f3613dc0d7a37c99$exports, "deleteSmsRecord", () => $f3613dc0d7a37c99$export$2816e50d4ec74f93);
|
|
1716
1807
|
$parcel$export($f3613dc0d7a37c99$exports, "listIndustries", () => $f3613dc0d7a37c99$export$6a657f882af8e729);
|
|
1717
1808
|
$parcel$export($f3613dc0d7a37c99$exports, "listRegions", () => $f3613dc0d7a37c99$export$40295cce70884665);
|
|
1809
|
+
$parcel$export($f3613dc0d7a37c99$exports, "createRole", () => $f3613dc0d7a37c99$export$9678a115f63a3512);
|
|
1810
|
+
$parcel$export($f3613dc0d7a37c99$exports, "listRoles", () => $f3613dc0d7a37c99$export$585f9121120b2a47);
|
|
1811
|
+
$parcel$export($f3613dc0d7a37c99$exports, "getRole", () => $f3613dc0d7a37c99$export$d1c3a5ff834adfa2);
|
|
1812
|
+
$parcel$export($f3613dc0d7a37c99$exports, "updateRole", () => $f3613dc0d7a37c99$export$c37c5570c259cd71);
|
|
1813
|
+
$parcel$export($f3613dc0d7a37c99$exports, "deleteRole", () => $f3613dc0d7a37c99$export$a7396bae498de6f1);
|
|
1718
1814
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
1719
1815
|
|
|
1720
1816
|
const $f3613dc0d7a37c99$export$388e0302ca0d9a41 = (0, $8zHUo$heyapiclientfetch.createClient)((0, $8zHUo$heyapiclientfetch.createConfig)());
|
|
@@ -2036,6 +2132,36 @@ const $f3613dc0d7a37c99$export$40295cce70884665 = (options)=>{
|
|
|
2036
2132
|
url: "/regions"
|
|
2037
2133
|
});
|
|
2038
2134
|
};
|
|
2135
|
+
const $f3613dc0d7a37c99$export$9678a115f63a3512 = (options)=>{
|
|
2136
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({
|
|
2137
|
+
...options,
|
|
2138
|
+
url: "/roles"
|
|
2139
|
+
});
|
|
2140
|
+
};
|
|
2141
|
+
const $f3613dc0d7a37c99$export$585f9121120b2a47 = (options)=>{
|
|
2142
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
|
|
2143
|
+
...options,
|
|
2144
|
+
url: "/roles"
|
|
2145
|
+
});
|
|
2146
|
+
};
|
|
2147
|
+
const $f3613dc0d7a37c99$export$d1c3a5ff834adfa2 = (options)=>{
|
|
2148
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({
|
|
2149
|
+
...options,
|
|
2150
|
+
url: "/roles/{roleIdOrKey}"
|
|
2151
|
+
});
|
|
2152
|
+
};
|
|
2153
|
+
const $f3613dc0d7a37c99$export$c37c5570c259cd71 = (options)=>{
|
|
2154
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({
|
|
2155
|
+
...options,
|
|
2156
|
+
url: "/roles/{roleId}"
|
|
2157
|
+
});
|
|
2158
|
+
};
|
|
2159
|
+
const $f3613dc0d7a37c99$export$a7396bae498de6f1 = (options)=>{
|
|
2160
|
+
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).delete({
|
|
2161
|
+
...options,
|
|
2162
|
+
url: "/roles/{roleId}"
|
|
2163
|
+
});
|
|
2164
|
+
};
|
|
2039
2165
|
|
|
2040
2166
|
|
|
2041
2167
|
var $88825bdeeeec0ab1$exports = {};
|