@petercatai/whisker-client 0.1.202601221632 → 0.2.202601231238-dev

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.
Files changed (2) hide show
  1. package/dist/api.d.ts +12 -0
  2. package/package.json +3 -3
package/dist/api.d.ts CHANGED
@@ -3951,6 +3951,11 @@ export interface IWebhookSubscriptionCreate {
3951
3951
  * 签名密钥(可选,不提供则不进行签名验证)
3952
3952
  */
3953
3953
  secret?: string | null;
3954
+ /**
3955
+ * Custom Headers
3956
+ * 自定义请求头,最多10个,禁止覆盖系统保留头
3957
+ */
3958
+ custom_headers?: Record<string, string> | null;
3954
3959
  }
3955
3960
  /** WebhookSubscriptionResponse */
3956
3961
  export interface IWebhookSubscriptionResponse {
@@ -3966,6 +3971,8 @@ export interface IWebhookSubscriptionResponse {
3966
3971
  status: IWebhookSubscriptionStatus;
3967
3972
  /** Secret */
3968
3973
  secret?: string | null;
3974
+ /** Custom Headers */
3975
+ custom_headers?: Record<string, string> | null;
3969
3976
  /** Gmt Create */
3970
3977
  gmt_create?: string | null;
3971
3978
  /** Gmt Modified */
@@ -3990,6 +3997,11 @@ export interface IWebhookSubscriptionUpdate {
3990
3997
  event_types?: IWebhookEventType[] | null;
3991
3998
  /** 订阅状态 */
3992
3999
  status?: IWebhookSubscriptionStatus | null;
4000
+ /**
4001
+ * Custom Headers
4002
+ * 自定义请求头,最多10个,禁止覆盖系统保留头
4003
+ */
4004
+ custom_headers?: Record<string, string> | null;
3993
4005
  }
3994
4006
  /** WebhookTestResponse */
3995
4007
  export interface IWebhookTestResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@petercatai/whisker-client",
3
- "version": "0.1.202601221632",
4
- "description": "Generated API client (Production)",
3
+ "version": "0.2.202601231238-dev",
4
+ "description": "Generated API client (Development)",
5
5
  "main": "dist/api.js",
6
6
  "types": "dist/api.d.ts",
7
7
  "files": [
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "publishConfig": {
15
15
  "access": "public",
16
- "tag": "latest"
16
+ "tag": "dev"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/node": "^25.0.10",