@unifyport/sdk-node 0.1.2 → 0.2.0
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/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/generated/device/operation-catalog.d.ts +10 -1
- package/dist/generated/device/operation-catalog.d.ts.map +1 -1
- package/dist/generated/device/operation-catalog.js +15 -2
- package/dist/generated/device/operation-catalog.js.map +1 -1
- package/dist/generated/device/schema.d.ts +4 -1
- package/dist/generated/device/schema.d.ts.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `@unifyport/sdk-node`
|
|
2
2
|
|
|
3
|
-
[English](https://github.com/Unify-Port/UnifyPort-SDK-Nodejs/blob/main/packages/sdk/README.md) | [简体中文](https://github.com/Unify-Port/UnifyPort-SDK-Nodejs/blob/main/packages/sdk/README.zh-CN.md)
|
|
3
|
+
[English](https://github.com/Unify-Port/UnifyPort-SDK-Nodejs/blob/main/packages/sdk/README.md) | [简体中文](https://github.com/Unify-Port/UnifyPort-SDK-Nodejs/blob/main/packages/sdk/README.zh-CN.md) | [Website](https://www.unifyport.ai)
|
|
4
4
|
|
|
5
5
|
The UnifyPort Device API SDK for Node.js and TypeScript. It provides the type-safe
|
|
6
6
|
`UnifyPortDeviceClient`, consistent success response and error models, timeouts, safe retries,
|
package/README.zh-CN.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `@unifyport/sdk-node`
|
|
2
2
|
|
|
3
|
-
[English](https://github.com/Unify-Port/UnifyPort-SDK-Nodejs/blob/main/packages/sdk/README.md) | [简体中文](https://github.com/Unify-Port/UnifyPort-SDK-Nodejs/blob/main/packages/sdk/README.zh-CN.md)
|
|
3
|
+
[English](https://github.com/Unify-Port/UnifyPort-SDK-Nodejs/blob/main/packages/sdk/README.md) | [简体中文](https://github.com/Unify-Port/UnifyPort-SDK-Nodejs/blob/main/packages/sdk/README.zh-CN.md) | [官方网站](https://www.unifyport.ai)
|
|
4
4
|
|
|
5
5
|
面向 Node.js/TypeScript 的 UnifyPort Device API SDK。它提供类型安全的
|
|
6
6
|
`UnifyPortDeviceClient`、统一的成功响应与错误模型,以及 timeout、安全重试、取消和 cursor
|
|
@@ -3500,6 +3500,7 @@ export declare const deviceOperations: {
|
|
|
3500
3500
|
readonly properties: {
|
|
3501
3501
|
readonly peer_id: {
|
|
3502
3502
|
readonly type: "string";
|
|
3503
|
+
readonly description: "成员的 provider 侧稳定标识。WhatsApp 优先返回 LID,缺少 LID 映射时回退 JID;纯手机号位于 `extra.phone`。";
|
|
3503
3504
|
};
|
|
3504
3505
|
readonly username: {
|
|
3505
3506
|
readonly type: "string";
|
|
@@ -4336,10 +4337,18 @@ export declare const deviceOperations: {
|
|
|
4336
4337
|
readonly $ref: "#/$defs/ConversationIdRequest";
|
|
4337
4338
|
}, {
|
|
4338
4339
|
readonly type: "object";
|
|
4340
|
+
readonly dependentRequired: {
|
|
4341
|
+
readonly up_to_message_id: readonly ["up_to_message_sender_id"];
|
|
4342
|
+
readonly up_to_message_sender_id: readonly ["up_to_message_id"];
|
|
4343
|
+
};
|
|
4339
4344
|
readonly properties: {
|
|
4340
4345
|
readonly up_to_message_id: {
|
|
4341
4346
|
readonly type: "string";
|
|
4342
|
-
readonly description: "
|
|
4347
|
+
readonly description: "可选。WhatsApp 中与 up_to_message_sender_id 一起发送目标消息的 read receipt;省略两者时标记整个会话已读。";
|
|
4348
|
+
};
|
|
4349
|
+
readonly up_to_message_sender_id: {
|
|
4350
|
+
readonly type: "string";
|
|
4351
|
+
readonly description: "up_to_message_id 对应消息的 provider 原始发送者 ID;群聊应传 webhook data.sender.id。与 up_to_message_id 成对必填。";
|
|
4343
4352
|
};
|
|
4344
4353
|
};
|
|
4345
4354
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-catalog.d.ts","sourceRoot":"","sources":["../../../src/generated/device/operation-catalog.ts"],"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA26TmC,CAAC"}
|
|
@@ -4240,7 +4240,8 @@ export const deviceOperations = {
|
|
|
4240
4240
|
],
|
|
4241
4241
|
"properties": {
|
|
4242
4242
|
"peer_id": {
|
|
4243
|
-
"type": "string"
|
|
4243
|
+
"type": "string",
|
|
4244
|
+
"description": "成员的 provider 侧稳定标识。WhatsApp 优先返回 LID,缺少 LID 映射时回退 JID;纯手机号位于 `extra.phone`。"
|
|
4244
4245
|
},
|
|
4245
4246
|
"username": {
|
|
4246
4247
|
"type": "string"
|
|
@@ -5254,10 +5255,22 @@ export const deviceOperations = {
|
|
|
5254
5255
|
},
|
|
5255
5256
|
{
|
|
5256
5257
|
"type": "object",
|
|
5258
|
+
"dependentRequired": {
|
|
5259
|
+
"up_to_message_id": [
|
|
5260
|
+
"up_to_message_sender_id"
|
|
5261
|
+
],
|
|
5262
|
+
"up_to_message_sender_id": [
|
|
5263
|
+
"up_to_message_id"
|
|
5264
|
+
]
|
|
5265
|
+
},
|
|
5257
5266
|
"properties": {
|
|
5258
5267
|
"up_to_message_id": {
|
|
5259
5268
|
"type": "string",
|
|
5260
|
-
"description": "
|
|
5269
|
+
"description": "可选。WhatsApp 中与 up_to_message_sender_id 一起发送目标消息的 read receipt;省略两者时标记整个会话已读。"
|
|
5270
|
+
},
|
|
5271
|
+
"up_to_message_sender_id": {
|
|
5272
|
+
"type": "string",
|
|
5273
|
+
"description": "up_to_message_id 对应消息的 provider 原始发送者 ID;群聊应传 webhook data.sender.id。与 up_to_message_id 成对必填。"
|
|
5261
5274
|
}
|
|
5262
5275
|
}
|
|
5263
5276
|
}
|