@petercatai/whisker-client 0.1.202601221632 → 0.2.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/api.d.ts +12 -0
- package/package.json +1 -1
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 {
|