@36node/auth-sdk
Advanced tools
Comparing version 1.1.1 to 1.2.0-pr-12-9569deef24
339
dist/main.js
@@ -49,2 +49,5 @@ var $8zHUo$heyapiclientfetch = require("@hey-api/client-fetch"); | ||
$parcel$export($00d9c40198a72115$exports, "$UpdateSessionDto", () => $00d9c40198a72115$export$8799e003f5e64a20); | ||
$parcel$export($00d9c40198a72115$exports, "$CreateGroupDto", () => $00d9c40198a72115$export$f82ca5b68f88f064); | ||
$parcel$export($00d9c40198a72115$exports, "$Group", () => $00d9c40198a72115$export$c90c1d4bd95ad384); | ||
$parcel$export($00d9c40198a72115$exports, "$UpdateGroupDto", () => $00d9c40198a72115$export$1003ec321a8b124); | ||
$parcel$export($00d9c40198a72115$exports, "$CreateCaptchaDto", () => $00d9c40198a72115$export$7e72ed431ee59116); | ||
@@ -187,2 +190,42 @@ $parcel$export($00d9c40198a72115$exports, "$Captcha", () => $00d9c40198a72115$export$1f2dec6968d7e276); | ||
}, | ||
employeeId: { | ||
type: "string", | ||
description: "\u5458\u5DE5\u7F16\u53F7" | ||
}, | ||
permissions: { | ||
description: "\u6743\u9650", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
groups: { | ||
description: "\u56E2\u961F", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
lastLoginAt: { | ||
format: "date-time", | ||
type: "string", | ||
description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4" | ||
}, | ||
active: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u542F\u7528" | ||
}, | ||
inviteCode: { | ||
type: "string", | ||
description: "\u9080\u8BF7\u7801" | ||
}, | ||
status: { | ||
type: "string", | ||
description: "\u72B6\u6001" | ||
}, | ||
expireAt: { | ||
format: "date-time", | ||
type: "string", | ||
description: "\u8FC7\u671F\u65F6\u95F4" | ||
}, | ||
id: { | ||
@@ -545,2 +588,37 @@ type: "string", | ||
description: "\u7528\u6237\u540D" | ||
}, | ||
employeeId: { | ||
type: "string", | ||
description: "\u5458\u5DE5\u7F16\u53F7" | ||
}, | ||
permissions: { | ||
description: "\u6743\u9650", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
groups: { | ||
description: "\u56E2\u961F", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
active: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u542F\u7528" | ||
}, | ||
inviteCode: { | ||
type: "string", | ||
description: "\u9080\u8BF7\u7801" | ||
}, | ||
status: { | ||
type: "string", | ||
description: "\u72B6\u6001" | ||
}, | ||
expireAt: { | ||
format: "date-time", | ||
type: "string", | ||
description: "\u8FC7\u671F\u65F6\u95F4" | ||
} | ||
@@ -636,2 +714,42 @@ } | ||
description: "\u7528\u6237\u540D" | ||
}, | ||
employeeId: { | ||
type: "string", | ||
description: "\u5458\u5DE5\u7F16\u53F7" | ||
}, | ||
permissions: { | ||
description: "\u6743\u9650", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
groups: { | ||
description: "\u56E2\u961F", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
lastLoginAt: { | ||
format: "date-time", | ||
type: "string", | ||
description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4" | ||
}, | ||
active: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u542F\u7528" | ||
}, | ||
inviteCode: { | ||
type: "string", | ||
description: "\u9080\u8BF7\u7801" | ||
}, | ||
status: { | ||
type: "string", | ||
description: "\u72B6\u6001" | ||
}, | ||
expireAt: { | ||
format: "date-time", | ||
type: "string", | ||
description: "\u8FC7\u671F\u65F6\u95F4" | ||
} | ||
@@ -696,2 +814,25 @@ } | ||
description: "\u6240\u5C5E\u7684 namespace" | ||
}, | ||
permissions: { | ||
description: "\u6743\u9650", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
active: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u542F\u7528" | ||
}, | ||
defaultPassword: { | ||
type: "string", | ||
description: "\u9ED8\u8BA4\u5BC6\u7801" | ||
}, | ||
exportable: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u53EF\u5BFC\u51FA" | ||
}, | ||
userCount: { | ||
type: "number", | ||
description: "\u4EBA\u6570" | ||
} | ||
@@ -736,2 +877,25 @@ }, | ||
}, | ||
permissions: { | ||
description: "\u6743\u9650", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
active: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u542F\u7528" | ||
}, | ||
defaultPassword: { | ||
type: "string", | ||
description: "\u9ED8\u8BA4\u5BC6\u7801" | ||
}, | ||
exportable: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u53EF\u5BFC\u51FA" | ||
}, | ||
userCount: { | ||
type: "number", | ||
description: "\u4EBA\u6570" | ||
}, | ||
id: { | ||
@@ -787,2 +951,25 @@ type: "string", | ||
description: "\u540D\u79F0" | ||
}, | ||
permissions: { | ||
description: "\u6743\u9650", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
active: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u542F\u7528" | ||
}, | ||
defaultPassword: { | ||
type: "string", | ||
description: "\u9ED8\u8BA4\u5BC6\u7801" | ||
}, | ||
exportable: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u53EF\u5BFC\u51FA" | ||
}, | ||
userCount: { | ||
type: "number", | ||
description: "\u4EBA\u6570" | ||
} | ||
@@ -897,2 +1084,103 @@ } | ||
}; | ||
const $00d9c40198a72115$export$f82ca5b68f88f064 = { | ||
type: "object", | ||
properties: { | ||
name: { | ||
type: "string", | ||
description: "\u540D\u79F0" | ||
}, | ||
permissions: { | ||
description: "\u6743\u9650", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
active: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u542F\u7528" | ||
}, | ||
userCount: { | ||
type: "number", | ||
description: "\u4EBA\u6570" | ||
} | ||
}, | ||
required: [ | ||
"name" | ||
] | ||
}; | ||
const $00d9c40198a72115$export$c90c1d4bd95ad384 = { | ||
type: "object", | ||
properties: { | ||
name: { | ||
type: "string", | ||
description: "\u540D\u79F0" | ||
}, | ||
permissions: { | ||
description: "\u6743\u9650", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
active: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u542F\u7528" | ||
}, | ||
userCount: { | ||
type: "number", | ||
description: "\u4EBA\u6570" | ||
}, | ||
id: { | ||
type: "string", | ||
description: "Entity id" | ||
}, | ||
createdAt: { | ||
format: "date-time", | ||
type: "string", | ||
description: "Entity created at when" | ||
}, | ||
updatedAt: { | ||
format: "date-time", | ||
type: "string", | ||
description: "Entity updated at when" | ||
}, | ||
createdBy: { | ||
type: "string", | ||
description: "Entity created by who" | ||
}, | ||
updatedBy: { | ||
type: "string", | ||
description: "Entity updated by who" | ||
} | ||
}, | ||
required: [ | ||
"name", | ||
"id" | ||
] | ||
}; | ||
const $00d9c40198a72115$export$1003ec321a8b124 = { | ||
type: "object", | ||
properties: { | ||
name: { | ||
type: "string", | ||
description: "\u540D\u79F0" | ||
}, | ||
permissions: { | ||
description: "\u6743\u9650", | ||
type: "array", | ||
items: { | ||
type: "string" | ||
} | ||
}, | ||
active: { | ||
type: "boolean", | ||
description: "\u662F\u5426\u542F\u7528" | ||
}, | ||
userCount: { | ||
type: "number", | ||
description: "\u4EBA\u6570" | ||
} | ||
} | ||
}; | ||
const $00d9c40198a72115$export$7e72ed431ee59116 = { | ||
@@ -1361,2 +1649,3 @@ type: "object", | ||
$parcel$export($f3613dc0d7a37c99$exports, "refresh", () => $f3613dc0d7a37c99$export$2d6e9b4c68afb6c8); | ||
$parcel$export($f3613dc0d7a37c99$exports, "cleanupAllData", () => $f3613dc0d7a37c99$export$1d732abae8c2178b); | ||
$parcel$export($f3613dc0d7a37c99$exports, "createUser", () => $f3613dc0d7a37c99$export$3493b8991d49f558); | ||
@@ -1367,2 +1656,3 @@ $parcel$export($f3613dc0d7a37c99$exports, "listUsers", () => $f3613dc0d7a37c99$export$1c4bb93498097c2d); | ||
$parcel$export($f3613dc0d7a37c99$exports, "deleteUser", () => $f3613dc0d7a37c99$export$7d0f10f273c0438a); | ||
$parcel$export($f3613dc0d7a37c99$exports, "upsertUserByEmployeeId", () => $f3613dc0d7a37c99$export$6bae5989866b69dc); | ||
$parcel$export($f3613dc0d7a37c99$exports, "verifyIdentity", () => $f3613dc0d7a37c99$export$ba1d92ba04505a80); | ||
@@ -1381,2 +1671,7 @@ $parcel$export($f3613dc0d7a37c99$exports, "resetPassword", () => $f3613dc0d7a37c99$export$dc726c8e334dd814); | ||
$parcel$export($f3613dc0d7a37c99$exports, "deleteSession", () => $f3613dc0d7a37c99$export$f3b72123251cadf); | ||
$parcel$export($f3613dc0d7a37c99$exports, "createGroup", () => $f3613dc0d7a37c99$export$856f728536d122cb); | ||
$parcel$export($f3613dc0d7a37c99$exports, "listGroups", () => $f3613dc0d7a37c99$export$6e0114716bd43025); | ||
$parcel$export($f3613dc0d7a37c99$exports, "getGroup", () => $f3613dc0d7a37c99$export$dd8fe8767b0c9948); | ||
$parcel$export($f3613dc0d7a37c99$exports, "updateGroup", () => $f3613dc0d7a37c99$export$7266cde9e95c4de8); | ||
$parcel$export($f3613dc0d7a37c99$exports, "deleteGroup", () => $f3613dc0d7a37c99$export$ae2679b329fc10b6); | ||
$parcel$export($f3613dc0d7a37c99$exports, "createCaptcha", () => $f3613dc0d7a37c99$export$a6205785190db785); | ||
@@ -1458,2 +1753,8 @@ $parcel$export($f3613dc0d7a37c99$exports, "listCaptchas", () => $f3613dc0d7a37c99$export$72a6916a1591271b); | ||
}; | ||
const $f3613dc0d7a37c99$export$1d732abae8c2178b = (options)=>{ | ||
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).delete({ | ||
...options, | ||
url: "/auth/@cleanup" | ||
}); | ||
}; | ||
const $f3613dc0d7a37c99$export$3493b8991d49f558 = (options)=>{ | ||
@@ -1489,2 +1790,8 @@ return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({ | ||
}; | ||
const $f3613dc0d7a37c99$export$6bae5989866b69dc = (options)=>{ | ||
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({ | ||
...options, | ||
url: "/users/employee/{userEmployeeId}" | ||
}); | ||
}; | ||
const $f3613dc0d7a37c99$export$ba1d92ba04505a80 = (options)=>{ | ||
@@ -1529,3 +1836,3 @@ return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({ | ||
...options, | ||
url: "/namespaces/{namespaceId}" | ||
url: "/namespaces/{namespaceIdOrKey}" | ||
}); | ||
@@ -1569,2 +1876,32 @@ }; | ||
}; | ||
const $f3613dc0d7a37c99$export$856f728536d122cb = (options)=>{ | ||
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({ | ||
...options, | ||
url: "/groups" | ||
}); | ||
}; | ||
const $f3613dc0d7a37c99$export$6e0114716bd43025 = (options)=>{ | ||
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({ | ||
...options, | ||
url: "/groups" | ||
}); | ||
}; | ||
const $f3613dc0d7a37c99$export$dd8fe8767b0c9948 = (options)=>{ | ||
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).get({ | ||
...options, | ||
url: "/groups/{groupIdOrName}" | ||
}); | ||
}; | ||
const $f3613dc0d7a37c99$export$7266cde9e95c4de8 = (options)=>{ | ||
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).patch({ | ||
...options, | ||
url: "/groups/{groupId}" | ||
}); | ||
}; | ||
const $f3613dc0d7a37c99$export$ae2679b329fc10b6 = (options)=>{ | ||
return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).delete({ | ||
...options, | ||
url: "/groups/{groupId}" | ||
}); | ||
}; | ||
const $f3613dc0d7a37c99$export$a6205785190db785 = (options)=>{ | ||
@@ -1571,0 +1908,0 @@ return (options?.client ?? $f3613dc0d7a37c99$export$388e0302ca0d9a41).post({ |
{ | ||
"name": "@36node/auth-sdk", | ||
"version": "1.1.1", | ||
"version": "1.2.0-pr-12-9569deef24", | ||
"description": "36node auth sdk for auth service", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
468969
7000
0
2