@pushwoosh/rpc-v2-http-api-data 0.1.905 → 0.1.906
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/data.js +42 -0
- package/inbound_webhooks.d.ts +14 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -10801,6 +10801,18 @@ export const data = {
|
|
|
10801
10801
|
"response": "pushwoosh.rpc_v2.inbound_webhooks.GetAPIInfoResponse",
|
|
10802
10802
|
"method": "get",
|
|
10803
10803
|
"path": "/api/inbound_webhooks/{uuid}/api_info"
|
|
10804
|
+
},
|
|
10805
|
+
"Enable": {
|
|
10806
|
+
"request": "pushwoosh.rpc_v2.inbound_webhooks.EnableInboundWebhookRequest",
|
|
10807
|
+
"response": "pushwoosh.rpc_v2.inbound_webhooks.EnableInboundWebhookResponse",
|
|
10808
|
+
"method": "post",
|
|
10809
|
+
"path": "/api/inbound_webhooks/{uuid}/enable"
|
|
10810
|
+
},
|
|
10811
|
+
"Disable": {
|
|
10812
|
+
"request": "pushwoosh.rpc_v2.inbound_webhooks.DisableInboundWebhookRequest",
|
|
10813
|
+
"response": "pushwoosh.rpc_v2.inbound_webhooks.DisableInboundWebhookResponse",
|
|
10814
|
+
"method": "post",
|
|
10815
|
+
"path": "/api/inbound_webhooks/{uuid}/disable"
|
|
10804
10816
|
}
|
|
10805
10817
|
}
|
|
10806
10818
|
},
|
|
@@ -11050,6 +11062,36 @@ export const data = {
|
|
|
11050
11062
|
}
|
|
11051
11063
|
}
|
|
11052
11064
|
},
|
|
11065
|
+
"pushwoosh.rpc_v2.inbound_webhooks.EnableInboundWebhookRequest": {
|
|
11066
|
+
"type": "I",
|
|
11067
|
+
"fields": {
|
|
11068
|
+
"uuid": {
|
|
11069
|
+
"type": "string"
|
|
11070
|
+
},
|
|
11071
|
+
"application": {
|
|
11072
|
+
"type": "string"
|
|
11073
|
+
}
|
|
11074
|
+
}
|
|
11075
|
+
},
|
|
11076
|
+
"pushwoosh.rpc_v2.inbound_webhooks.EnableInboundWebhookResponse": {
|
|
11077
|
+
"type": "I",
|
|
11078
|
+
"fields": {}
|
|
11079
|
+
},
|
|
11080
|
+
"pushwoosh.rpc_v2.inbound_webhooks.DisableInboundWebhookRequest": {
|
|
11081
|
+
"type": "I",
|
|
11082
|
+
"fields": {
|
|
11083
|
+
"uuid": {
|
|
11084
|
+
"type": "string"
|
|
11085
|
+
},
|
|
11086
|
+
"application": {
|
|
11087
|
+
"type": "string"
|
|
11088
|
+
}
|
|
11089
|
+
}
|
|
11090
|
+
},
|
|
11091
|
+
"pushwoosh.rpc_v2.inbound_webhooks.DisableInboundWebhookResponse": {
|
|
11092
|
+
"type": "I",
|
|
11093
|
+
"fields": {}
|
|
11094
|
+
},
|
|
11053
11095
|
"pushwoosh.rpc_v2.integrations.IntegrationsService": {
|
|
11054
11096
|
"type": "S",
|
|
11055
11097
|
"key": "integrations",
|
package/inbound_webhooks.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export type InboundWebhooksService_Create = RpcMethod<CreateInboundWebhookReques
|
|
|
5
5
|
export type InboundWebhooksService_Update = RpcMethod<UpdateInboundWebhookRequest, UpdateInboundWebhookResponse>;
|
|
6
6
|
export type InboundWebhooksService_Delete = RpcMethod<DeleteInboundWebhookRequest, DeleteInboundWebhookResponse>;
|
|
7
7
|
export type InboundWebhooksService_GetAPIInfo = RpcMethod<GetAPIInfoRequest, GetAPIInfoResponse>;
|
|
8
|
+
export type InboundWebhooksService_Enable = RpcMethod<EnableInboundWebhookRequest, EnableInboundWebhookResponse>;
|
|
9
|
+
export type InboundWebhooksService_Disable = RpcMethod<DisableInboundWebhookRequest, DisableInboundWebhookResponse>;
|
|
8
10
|
export interface InboundWebhooksService {
|
|
9
11
|
Get: InboundWebhooksService_Get;
|
|
10
12
|
List: InboundWebhooksService_List;
|
|
@@ -12,6 +14,8 @@ export interface InboundWebhooksService {
|
|
|
12
14
|
Update: InboundWebhooksService_Update;
|
|
13
15
|
Delete: InboundWebhooksService_Delete;
|
|
14
16
|
GetAPIInfo: InboundWebhooksService_GetAPIInfo;
|
|
17
|
+
Enable: InboundWebhooksService_Enable;
|
|
18
|
+
Disable: InboundWebhooksService_Disable;
|
|
15
19
|
}
|
|
16
20
|
export type EventAttributeItem = {
|
|
17
21
|
attributeName: string;
|
|
@@ -91,3 +95,13 @@ export type GetAPIInfoResponse = {
|
|
|
91
95
|
secret: string;
|
|
92
96
|
example: string;
|
|
93
97
|
};
|
|
98
|
+
export type EnableInboundWebhookRequest = {
|
|
99
|
+
uuid?: string;
|
|
100
|
+
application?: string;
|
|
101
|
+
};
|
|
102
|
+
export type EnableInboundWebhookResponse = {};
|
|
103
|
+
export type DisableInboundWebhookRequest = {
|
|
104
|
+
uuid?: string;
|
|
105
|
+
application?: string;
|
|
106
|
+
};
|
|
107
|
+
export type DisableInboundWebhookResponse = {};
|