@openclaw-china/feishu 0.1.7 → 0.1.9
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 +11 -11
- package/dist/index.js.map +1 -1
- package/package.json +23 -2
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var __export = (target, all) => {
|
|
|
6
6
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
// ../../node_modules
|
|
9
|
+
// ../../node_modules/zod/v3/external.js
|
|
10
10
|
var external_exports = {};
|
|
11
11
|
__export(external_exports, {
|
|
12
12
|
BRAND: () => BRAND,
|
|
@@ -118,7 +118,7 @@ __export(external_exports, {
|
|
|
118
118
|
void: () => voidType
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
// ../../node_modules
|
|
121
|
+
// ../../node_modules/zod/v3/helpers/util.js
|
|
122
122
|
var util;
|
|
123
123
|
(function(util2) {
|
|
124
124
|
util2.assertEqual = (_) => {
|
|
@@ -252,7 +252,7 @@ var getParsedType = (data) => {
|
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
// ../../node_modules
|
|
255
|
+
// ../../node_modules/zod/v3/ZodError.js
|
|
256
256
|
var ZodIssueCode = util.arrayToEnum([
|
|
257
257
|
"invalid_type",
|
|
258
258
|
"invalid_literal",
|
|
@@ -370,7 +370,7 @@ ZodError.create = (issues) => {
|
|
|
370
370
|
return error;
|
|
371
371
|
};
|
|
372
372
|
|
|
373
|
-
// ../../node_modules
|
|
373
|
+
// ../../node_modules/zod/v3/locales/en.js
|
|
374
374
|
var errorMap = (issue, _ctx) => {
|
|
375
375
|
let message;
|
|
376
376
|
switch (issue.code) {
|
|
@@ -473,7 +473,7 @@ var errorMap = (issue, _ctx) => {
|
|
|
473
473
|
};
|
|
474
474
|
var en_default = errorMap;
|
|
475
475
|
|
|
476
|
-
// ../../node_modules
|
|
476
|
+
// ../../node_modules/zod/v3/errors.js
|
|
477
477
|
var overrideErrorMap = en_default;
|
|
478
478
|
function setErrorMap(map) {
|
|
479
479
|
overrideErrorMap = map;
|
|
@@ -482,7 +482,7 @@ function getErrorMap() {
|
|
|
482
482
|
return overrideErrorMap;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
// ../../node_modules
|
|
485
|
+
// ../../node_modules/zod/v3/helpers/parseUtil.js
|
|
486
486
|
var makeIssue = (params) => {
|
|
487
487
|
const { data, path, errorMaps, issueData } = params;
|
|
488
488
|
const fullPath = [...path, ...issueData.path || []];
|
|
@@ -592,14 +592,14 @@ var isDirty = (x) => x.status === "dirty";
|
|
|
592
592
|
var isValid = (x) => x.status === "valid";
|
|
593
593
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
594
594
|
|
|
595
|
-
// ../../node_modules
|
|
595
|
+
// ../../node_modules/zod/v3/helpers/errorUtil.js
|
|
596
596
|
var errorUtil;
|
|
597
597
|
(function(errorUtil2) {
|
|
598
598
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
599
599
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
600
600
|
})(errorUtil || (errorUtil = {}));
|
|
601
601
|
|
|
602
|
-
// ../../node_modules
|
|
602
|
+
// ../../node_modules/zod/v3/types.js
|
|
603
603
|
var ParseInputLazyPath = class {
|
|
604
604
|
constructor(parent, value, path, key) {
|
|
605
605
|
this._cachedPath = [];
|
|
@@ -4234,7 +4234,7 @@ var feishuOutbound = {
|
|
|
4234
4234
|
}
|
|
4235
4235
|
};
|
|
4236
4236
|
|
|
4237
|
-
// ../../
|
|
4237
|
+
// ../../packages/shared/src/logger/logger.ts
|
|
4238
4238
|
function createLogger(prefix, opts) {
|
|
4239
4239
|
const logFn = opts?.log ?? console.log;
|
|
4240
4240
|
const errorFn = opts?.error ?? console.error;
|
|
@@ -4246,7 +4246,7 @@ function createLogger(prefix, opts) {
|
|
|
4246
4246
|
};
|
|
4247
4247
|
}
|
|
4248
4248
|
|
|
4249
|
-
// ../../
|
|
4249
|
+
// ../../packages/shared/src/policy/dm-policy.ts
|
|
4250
4250
|
function checkDmPolicy(params) {
|
|
4251
4251
|
const { dmPolicy, senderId, allowFrom = [] } = params;
|
|
4252
4252
|
switch (dmPolicy) {
|
|
@@ -4267,7 +4267,7 @@ function checkDmPolicy(params) {
|
|
|
4267
4267
|
}
|
|
4268
4268
|
}
|
|
4269
4269
|
|
|
4270
|
-
// ../../
|
|
4270
|
+
// ../../packages/shared/src/policy/group-policy.ts
|
|
4271
4271
|
function checkGroupPolicy(params) {
|
|
4272
4272
|
const { groupPolicy, conversationId, groupAllowFrom = [], requireMention, mentionedBot } = params;
|
|
4273
4273
|
switch (groupPolicy) {
|