@linqapp/sdk 0.1.0 → 0.1.3
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/CHANGELOG.md +36 -0
- package/LICENSE +198 -4
- package/README.md +52 -52
- package/client.d.mts +34 -22
- package/client.d.mts.map +1 -1
- package/client.d.ts +34 -22
- package/client.d.ts.map +1 -1
- package/client.js +50 -41
- package/client.js.map +1 -1
- package/client.mjs +49 -40
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts +2 -2
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts +2 -2
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts +2 -2
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +2 -2
- package/core/error.d.ts.map +1 -1
- package/core/error.js +4 -4
- package/core/error.js.map +1 -1
- package/core/error.mjs +2 -2
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts +3 -3
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts +3 -3
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs.map +1 -1
- package/index.d.mts +3 -3
- package/index.d.mts.map +1 -1
- package/index.d.ts +3 -3
- package/index.d.ts.map +1 -1
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/index.mjs +3 -3
- package/index.mjs.map +1 -1
- package/internal/parse.d.mts +2 -2
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts +2 -2
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/shims.js +1 -1
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/uploads.d.mts +4 -4
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts +4 -4
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.js +2 -2
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +3 -3
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts +3 -3
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +3 -3
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.js +1 -1
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +2 -2
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/values.js +5 -5
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +6 -6
- package/internal/utils/values.mjs.map +1 -1
- package/package.json +4 -4
- package/resources/attachments.d.mts +28 -3
- package/resources/attachments.d.mts.map +1 -1
- package/resources/attachments.d.ts +28 -3
- package/resources/attachments.d.ts.map +1 -1
- package/resources/capability.d.mts +74 -0
- package/resources/capability.d.mts.map +1 -0
- package/resources/capability.d.ts +74 -0
- package/resources/capability.d.ts.map +1 -0
- package/resources/capability.js +36 -0
- package/resources/capability.js.map +1 -0
- package/resources/capability.mjs +32 -0
- package/resources/capability.mjs.map +1 -0
- package/resources/chats/chats.d.mts +133 -663
- package/resources/chats/chats.d.mts.map +1 -1
- package/resources/chats/chats.d.ts +133 -663
- package/resources/chats/chats.d.ts.map +1 -1
- package/resources/chats/chats.js +2 -2
- package/resources/chats/chats.js.map +1 -1
- package/resources/chats/chats.mjs +2 -2
- package/resources/chats/chats.mjs.map +1 -1
- package/resources/chats/index.d.mts +2 -2
- package/resources/chats/index.d.mts.map +1 -1
- package/resources/chats/index.d.ts +2 -2
- package/resources/chats/index.d.ts.map +1 -1
- package/resources/chats/index.js.map +1 -1
- package/resources/chats/index.mjs.map +1 -1
- package/resources/chats/messages.d.mts +55 -716
- package/resources/chats/messages.d.mts.map +1 -1
- package/resources/chats/messages.d.ts +55 -716
- package/resources/chats/messages.d.ts.map +1 -1
- package/resources/chats/messages.js.map +1 -1
- package/resources/chats/messages.mjs.map +1 -1
- package/resources/index.d.mts +8 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -2
- package/resources/index.mjs.map +1 -1
- package/resources/messages.d.mts +129 -553
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +129 -553
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +1 -1
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +1 -1
- package/resources/messages.mjs.map +1 -1
- package/resources/phone-numbers.d.mts +1 -50
- package/resources/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers.d.ts +1 -50
- package/resources/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers.js +0 -8
- package/resources/phone-numbers.js.map +1 -1
- package/resources/phone-numbers.mjs +0 -8
- package/resources/phone-numbers.mjs.map +1 -1
- package/resources/phonenumbers.d.mts +58 -0
- package/resources/phonenumbers.d.mts.map +1 -0
- package/resources/phonenumbers.d.ts +58 -0
- package/resources/phonenumbers.d.ts.map +1 -0
- package/resources/phonenumbers.js +17 -0
- package/resources/phonenumbers.js.map +1 -0
- package/resources/phonenumbers.mjs +13 -0
- package/resources/phonenumbers.mjs.map +1 -0
- package/resources/webhook-events.d.mts +29 -0
- package/resources/webhook-events.d.mts.map +1 -0
- package/resources/webhook-events.d.ts +29 -0
- package/resources/webhook-events.d.ts.map +1 -0
- package/resources/{webhooks/events.js → webhook-events.js} +5 -10
- package/resources/webhook-events.js.map +1 -0
- package/resources/{webhooks/events.mjs → webhook-events.mjs} +3 -8
- package/resources/webhook-events.mjs.map +1 -0
- package/resources/webhook-subscriptions.d.mts +184 -0
- package/resources/webhook-subscriptions.d.mts.map +1 -0
- package/resources/webhook-subscriptions.d.ts +184 -0
- package/resources/webhook-subscriptions.d.ts.map +1 -0
- package/resources/{webhooks/subscriptions.js → webhook-subscriptions.js} +16 -16
- package/resources/webhook-subscriptions.js.map +1 -0
- package/resources/{webhooks/subscriptions.mjs → webhook-subscriptions.mjs} +14 -14
- package/resources/webhook-subscriptions.mjs.map +1 -0
- package/src/client.ts +97 -41
- package/src/core/api-promise.ts +4 -4
- package/src/core/error.ts +2 -2
- package/src/core/resource.ts +3 -3
- package/src/index.ts +3 -3
- package/src/internal/parse.ts +2 -2
- package/src/internal/shims.ts +1 -1
- package/src/internal/uploads.ts +5 -5
- package/src/internal/utils/base64.ts +3 -3
- package/src/internal/utils/log.ts +3 -3
- package/src/internal/utils/path.ts +2 -2
- package/src/internal/utils/values.ts +6 -6
- package/src/resources/attachments.ts +81 -106
- package/src/resources/capability.ts +98 -0
- package/src/resources/chats/chats.ts +135 -770
- package/src/resources/chats/index.ts +4 -2
- package/src/resources/chats/messages.ts +60 -839
- package/src/resources/index.ts +29 -9
- package/src/resources/messages.ts +153 -659
- package/src/resources/phone-numbers.ts +1 -65
- package/src/resources/phonenumbers.ts +72 -0
- package/src/resources/webhook-events.ts +57 -0
- package/src/resources/webhook-subscriptions.ts +238 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/webhooks/events.d.mts +0 -30
- package/resources/webhooks/events.d.mts.map +0 -1
- package/resources/webhooks/events.d.ts +0 -30
- package/resources/webhooks/events.d.ts.map +0 -1
- package/resources/webhooks/events.js.map +0 -1
- package/resources/webhooks/events.mjs.map +0 -1
- package/resources/webhooks/index.d.mts +0 -4
- package/resources/webhooks/index.d.mts.map +0 -1
- package/resources/webhooks/index.d.ts +0 -4
- package/resources/webhooks/index.d.ts.map +0 -1
- package/resources/webhooks/index.js +0 -11
- package/resources/webhooks/index.js.map +0 -1
- package/resources/webhooks/index.mjs +0 -5
- package/resources/webhooks/index.mjs.map +0 -1
- package/resources/webhooks/subscriptions.d.mts +0 -237
- package/resources/webhooks/subscriptions.d.mts.map +0 -1
- package/resources/webhooks/subscriptions.d.ts +0 -237
- package/resources/webhooks/subscriptions.d.ts.map +0 -1
- package/resources/webhooks/subscriptions.js.map +0 -1
- package/resources/webhooks/subscriptions.mjs.map +0 -1
- package/resources/webhooks/webhooks.d.mts +0 -14
- package/resources/webhooks/webhooks.d.mts.map +0 -1
- package/resources/webhooks/webhooks.d.ts +0 -14
- package/resources/webhooks/webhooks.d.ts.map +0 -1
- package/resources/webhooks/webhooks.js +0 -21
- package/resources/webhooks/webhooks.js.map +0 -1
- package/resources/webhooks/webhooks.mjs +0 -16
- package/resources/webhooks/webhooks.mjs.map +0 -1
- package/resources/webhooks.d.mts +0 -2
- package/resources/webhooks.d.mts.map +0 -1
- package/resources/webhooks.d.ts +0 -2
- package/resources/webhooks.d.ts.map +0 -1
- package/resources/webhooks.js +0 -6
- package/resources/webhooks.js.map +0 -1
- package/resources/webhooks.mjs +0 -3
- package/resources/webhooks.mjs.map +0 -1
- package/src/resources/webhooks/events.ts +0 -55
- package/src/resources/webhooks/index.ts +0 -13
- package/src/resources/webhooks/subscriptions.ts +0 -409
- package/src/resources/webhooks/webhooks.ts +0 -37
- package/src/resources/webhooks.ts +0 -3
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
-
export declare class Subscriptions extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Create a new webhook subscription to receive events at a target URL. Upon
|
|
7
|
-
* creation, a signing secret is generated for verifying webhook authenticity.
|
|
8
|
-
* **Store this secret securely — it cannot be retrieved later.**
|
|
9
|
-
*
|
|
10
|
-
* **Webhook Delivery:**
|
|
11
|
-
*
|
|
12
|
-
* - Events are sent via HTTP POST to the target URL
|
|
13
|
-
* - Each request includes `X-Webhook-Signature` and `X-Webhook-Timestamp` headers
|
|
14
|
-
* - Signature is HMAC-SHA256 over `{timestamp}.{payload}` — see
|
|
15
|
-
* [Webhook Events](/docs/webhook-events) for verification details
|
|
16
|
-
* - Failed deliveries (5xx, 429, network errors) are retried up to 10 times over
|
|
17
|
-
* ~2 hours with exponential backoff
|
|
18
|
-
* - Client errors (4xx except 429) are not retried
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```ts
|
|
22
|
-
* const subscription =
|
|
23
|
-
* await client.webhooks.subscriptions.create({
|
|
24
|
-
* subscribed_events: [
|
|
25
|
-
* 'message.sent',
|
|
26
|
-
* 'message.delivered',
|
|
27
|
-
* 'message.read',
|
|
28
|
-
* ],
|
|
29
|
-
* target_url: 'https://webhooks.example.com/linq/events',
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
create(body: SubscriptionCreateParams, options?: RequestOptions): APIPromise<SubscriptionCreateResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* Retrieve details for a specific webhook subscription including its target URL,
|
|
36
|
-
* subscribed events, and current status.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* ```ts
|
|
40
|
-
* const subscription =
|
|
41
|
-
* await client.webhooks.subscriptions.retrieve(
|
|
42
|
-
* 'b2c3d4e5-f6a7-8901-bcde-f23456789012',
|
|
43
|
-
* );
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
retrieve(subscriptionID: string, options?: RequestOptions): APIPromise<SubscriptionRetrieveResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* Update an existing webhook subscription. You can modify the target URL,
|
|
49
|
-
* subscribed events, or activate/deactivate the subscription.
|
|
50
|
-
*
|
|
51
|
-
* **Note:** The signing secret cannot be changed via this endpoint.
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
54
|
-
* ```ts
|
|
55
|
-
* const subscription =
|
|
56
|
-
* await client.webhooks.subscriptions.update(
|
|
57
|
-
* 'b2c3d4e5-f6a7-8901-bcde-f23456789012',
|
|
58
|
-
* {
|
|
59
|
-
* target_url:
|
|
60
|
-
* 'https://webhooks.example.com/linq/events',
|
|
61
|
-
* },
|
|
62
|
-
* );
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
update(subscriptionID: string, body: SubscriptionUpdateParams, options?: RequestOptions): APIPromise<SubscriptionUpdateResponse>;
|
|
66
|
-
/**
|
|
67
|
-
* Retrieve all webhook subscriptions for the authenticated partner. Returns a list
|
|
68
|
-
* of active and inactive subscriptions with their configuration and status.
|
|
69
|
-
*
|
|
70
|
-
* @example
|
|
71
|
-
* ```ts
|
|
72
|
-
* const subscriptions =
|
|
73
|
-
* await client.webhooks.subscriptions.list();
|
|
74
|
-
* ```
|
|
75
|
-
*/
|
|
76
|
-
list(options?: RequestOptions): APIPromise<SubscriptionListResponse>;
|
|
77
|
-
/**
|
|
78
|
-
* Delete a webhook subscription.
|
|
79
|
-
*
|
|
80
|
-
* @example
|
|
81
|
-
* ```ts
|
|
82
|
-
* await client.webhooks.subscriptions.delete(
|
|
83
|
-
* 'b2c3d4e5-f6a7-8901-bcde-f23456789012',
|
|
84
|
-
* );
|
|
85
|
-
* ```
|
|
86
|
-
*/
|
|
87
|
-
delete(subscriptionID: string, options?: RequestOptions): APIPromise<void>;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Response returned when creating a webhook subscription. Includes the signing
|
|
91
|
-
* secret which is only shown once.
|
|
92
|
-
*/
|
|
93
|
-
export interface SubscriptionCreateResponse {
|
|
94
|
-
/**
|
|
95
|
-
* Unique identifier for the webhook subscription
|
|
96
|
-
*/
|
|
97
|
-
id: string;
|
|
98
|
-
/**
|
|
99
|
-
* When the subscription was created
|
|
100
|
-
*/
|
|
101
|
-
created_at: string;
|
|
102
|
-
/**
|
|
103
|
-
* Whether this subscription is currently active
|
|
104
|
-
*/
|
|
105
|
-
is_active: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* Secret for verifying webhook signatures. Store this securely - it cannot be
|
|
108
|
-
* retrieved again.
|
|
109
|
-
*/
|
|
110
|
-
signing_secret: string;
|
|
111
|
-
/**
|
|
112
|
-
* List of event types this subscription receives
|
|
113
|
-
*/
|
|
114
|
-
subscribed_events: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
115
|
-
/**
|
|
116
|
-
* URL where webhook events will be sent
|
|
117
|
-
*/
|
|
118
|
-
target_url: string;
|
|
119
|
-
/**
|
|
120
|
-
* When the subscription was last updated
|
|
121
|
-
*/
|
|
122
|
-
updated_at: string;
|
|
123
|
-
}
|
|
124
|
-
export interface SubscriptionRetrieveResponse {
|
|
125
|
-
/**
|
|
126
|
-
* Unique identifier for the webhook subscription
|
|
127
|
-
*/
|
|
128
|
-
id: string;
|
|
129
|
-
/**
|
|
130
|
-
* When the subscription was created
|
|
131
|
-
*/
|
|
132
|
-
created_at: string;
|
|
133
|
-
/**
|
|
134
|
-
* Whether this subscription is currently active
|
|
135
|
-
*/
|
|
136
|
-
is_active: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* List of event types this subscription receives
|
|
139
|
-
*/
|
|
140
|
-
subscribed_events: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
141
|
-
/**
|
|
142
|
-
* URL where webhook events will be sent
|
|
143
|
-
*/
|
|
144
|
-
target_url: string;
|
|
145
|
-
/**
|
|
146
|
-
* When the subscription was last updated
|
|
147
|
-
*/
|
|
148
|
-
updated_at: string;
|
|
149
|
-
}
|
|
150
|
-
export interface SubscriptionUpdateResponse {
|
|
151
|
-
/**
|
|
152
|
-
* Unique identifier for the webhook subscription
|
|
153
|
-
*/
|
|
154
|
-
id: string;
|
|
155
|
-
/**
|
|
156
|
-
* When the subscription was created
|
|
157
|
-
*/
|
|
158
|
-
created_at: string;
|
|
159
|
-
/**
|
|
160
|
-
* Whether this subscription is currently active
|
|
161
|
-
*/
|
|
162
|
-
is_active: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* List of event types this subscription receives
|
|
165
|
-
*/
|
|
166
|
-
subscribed_events: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
167
|
-
/**
|
|
168
|
-
* URL where webhook events will be sent
|
|
169
|
-
*/
|
|
170
|
-
target_url: string;
|
|
171
|
-
/**
|
|
172
|
-
* When the subscription was last updated
|
|
173
|
-
*/
|
|
174
|
-
updated_at: string;
|
|
175
|
-
}
|
|
176
|
-
export interface SubscriptionListResponse {
|
|
177
|
-
/**
|
|
178
|
-
* List of webhook subscriptions
|
|
179
|
-
*/
|
|
180
|
-
subscriptions: Array<SubscriptionListResponse.Subscription>;
|
|
181
|
-
}
|
|
182
|
-
export declare namespace SubscriptionListResponse {
|
|
183
|
-
interface Subscription {
|
|
184
|
-
/**
|
|
185
|
-
* Unique identifier for the webhook subscription
|
|
186
|
-
*/
|
|
187
|
-
id: string;
|
|
188
|
-
/**
|
|
189
|
-
* When the subscription was created
|
|
190
|
-
*/
|
|
191
|
-
created_at: string;
|
|
192
|
-
/**
|
|
193
|
-
* Whether this subscription is currently active
|
|
194
|
-
*/
|
|
195
|
-
is_active: boolean;
|
|
196
|
-
/**
|
|
197
|
-
* List of event types this subscription receives
|
|
198
|
-
*/
|
|
199
|
-
subscribed_events: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
200
|
-
/**
|
|
201
|
-
* URL where webhook events will be sent
|
|
202
|
-
*/
|
|
203
|
-
target_url: string;
|
|
204
|
-
/**
|
|
205
|
-
* When the subscription was last updated
|
|
206
|
-
*/
|
|
207
|
-
updated_at: string;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
export interface SubscriptionCreateParams {
|
|
211
|
-
/**
|
|
212
|
-
* List of event types to subscribe to
|
|
213
|
-
*/
|
|
214
|
-
subscribed_events: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
215
|
-
/**
|
|
216
|
-
* URL where webhook events will be sent. Must be HTTPS.
|
|
217
|
-
*/
|
|
218
|
-
target_url: string;
|
|
219
|
-
}
|
|
220
|
-
export interface SubscriptionUpdateParams {
|
|
221
|
-
/**
|
|
222
|
-
* Activate or deactivate the subscription
|
|
223
|
-
*/
|
|
224
|
-
is_active?: boolean;
|
|
225
|
-
/**
|
|
226
|
-
* Updated list of event types to subscribe to
|
|
227
|
-
*/
|
|
228
|
-
subscribed_events?: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
229
|
-
/**
|
|
230
|
-
* New target URL for webhook events
|
|
231
|
-
*/
|
|
232
|
-
target_url?: string;
|
|
233
|
-
}
|
|
234
|
-
export declare namespace Subscriptions {
|
|
235
|
-
export { type SubscriptionCreateResponse as SubscriptionCreateResponse, type SubscriptionRetrieveResponse as SubscriptionRetrieveResponse, type SubscriptionUpdateResponse as SubscriptionUpdateResponse, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, };
|
|
236
|
-
}
|
|
237
|
-
//# sourceMappingURL=subscriptions.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.d.mts","sourceRoot":"","sources":["../../src/resources/webhooks/subscriptions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIxG;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;IAIpG;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;;;;;;;;OASG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AE,MAAM,CAAC;QAEnB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,iBAAiB,EAAE,KAAK,CACpB,cAAc,GACd,kBAAkB,GAClB,cAAc,GACd,mBAAmB,GACnB,gBAAgB,GAChB,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,qBAAqB,GACrB,cAAc,GACd,yBAAyB,GACzB,yBAAyB,GACzB,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,6BAA6B,CAChC,CAAC;IAEF;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,KAAK,CACrB,cAAc,GACd,kBAAkB,GAClB,cAAc,GACd,mBAAmB,GACnB,gBAAgB,GAChB,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,qBAAqB,GACrB,cAAc,GACd,yBAAyB,GACzB,yBAAyB,GACzB,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,6BAA6B,CAChC,CAAC;IAEF;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
-
export declare class Subscriptions extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Create a new webhook subscription to receive events at a target URL. Upon
|
|
7
|
-
* creation, a signing secret is generated for verifying webhook authenticity.
|
|
8
|
-
* **Store this secret securely — it cannot be retrieved later.**
|
|
9
|
-
*
|
|
10
|
-
* **Webhook Delivery:**
|
|
11
|
-
*
|
|
12
|
-
* - Events are sent via HTTP POST to the target URL
|
|
13
|
-
* - Each request includes `X-Webhook-Signature` and `X-Webhook-Timestamp` headers
|
|
14
|
-
* - Signature is HMAC-SHA256 over `{timestamp}.{payload}` — see
|
|
15
|
-
* [Webhook Events](/docs/webhook-events) for verification details
|
|
16
|
-
* - Failed deliveries (5xx, 429, network errors) are retried up to 10 times over
|
|
17
|
-
* ~2 hours with exponential backoff
|
|
18
|
-
* - Client errors (4xx except 429) are not retried
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```ts
|
|
22
|
-
* const subscription =
|
|
23
|
-
* await client.webhooks.subscriptions.create({
|
|
24
|
-
* subscribed_events: [
|
|
25
|
-
* 'message.sent',
|
|
26
|
-
* 'message.delivered',
|
|
27
|
-
* 'message.read',
|
|
28
|
-
* ],
|
|
29
|
-
* target_url: 'https://webhooks.example.com/linq/events',
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
create(body: SubscriptionCreateParams, options?: RequestOptions): APIPromise<SubscriptionCreateResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* Retrieve details for a specific webhook subscription including its target URL,
|
|
36
|
-
* subscribed events, and current status.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* ```ts
|
|
40
|
-
* const subscription =
|
|
41
|
-
* await client.webhooks.subscriptions.retrieve(
|
|
42
|
-
* 'b2c3d4e5-f6a7-8901-bcde-f23456789012',
|
|
43
|
-
* );
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
retrieve(subscriptionID: string, options?: RequestOptions): APIPromise<SubscriptionRetrieveResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* Update an existing webhook subscription. You can modify the target URL,
|
|
49
|
-
* subscribed events, or activate/deactivate the subscription.
|
|
50
|
-
*
|
|
51
|
-
* **Note:** The signing secret cannot be changed via this endpoint.
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
54
|
-
* ```ts
|
|
55
|
-
* const subscription =
|
|
56
|
-
* await client.webhooks.subscriptions.update(
|
|
57
|
-
* 'b2c3d4e5-f6a7-8901-bcde-f23456789012',
|
|
58
|
-
* {
|
|
59
|
-
* target_url:
|
|
60
|
-
* 'https://webhooks.example.com/linq/events',
|
|
61
|
-
* },
|
|
62
|
-
* );
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
update(subscriptionID: string, body: SubscriptionUpdateParams, options?: RequestOptions): APIPromise<SubscriptionUpdateResponse>;
|
|
66
|
-
/**
|
|
67
|
-
* Retrieve all webhook subscriptions for the authenticated partner. Returns a list
|
|
68
|
-
* of active and inactive subscriptions with their configuration and status.
|
|
69
|
-
*
|
|
70
|
-
* @example
|
|
71
|
-
* ```ts
|
|
72
|
-
* const subscriptions =
|
|
73
|
-
* await client.webhooks.subscriptions.list();
|
|
74
|
-
* ```
|
|
75
|
-
*/
|
|
76
|
-
list(options?: RequestOptions): APIPromise<SubscriptionListResponse>;
|
|
77
|
-
/**
|
|
78
|
-
* Delete a webhook subscription.
|
|
79
|
-
*
|
|
80
|
-
* @example
|
|
81
|
-
* ```ts
|
|
82
|
-
* await client.webhooks.subscriptions.delete(
|
|
83
|
-
* 'b2c3d4e5-f6a7-8901-bcde-f23456789012',
|
|
84
|
-
* );
|
|
85
|
-
* ```
|
|
86
|
-
*/
|
|
87
|
-
delete(subscriptionID: string, options?: RequestOptions): APIPromise<void>;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Response returned when creating a webhook subscription. Includes the signing
|
|
91
|
-
* secret which is only shown once.
|
|
92
|
-
*/
|
|
93
|
-
export interface SubscriptionCreateResponse {
|
|
94
|
-
/**
|
|
95
|
-
* Unique identifier for the webhook subscription
|
|
96
|
-
*/
|
|
97
|
-
id: string;
|
|
98
|
-
/**
|
|
99
|
-
* When the subscription was created
|
|
100
|
-
*/
|
|
101
|
-
created_at: string;
|
|
102
|
-
/**
|
|
103
|
-
* Whether this subscription is currently active
|
|
104
|
-
*/
|
|
105
|
-
is_active: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* Secret for verifying webhook signatures. Store this securely - it cannot be
|
|
108
|
-
* retrieved again.
|
|
109
|
-
*/
|
|
110
|
-
signing_secret: string;
|
|
111
|
-
/**
|
|
112
|
-
* List of event types this subscription receives
|
|
113
|
-
*/
|
|
114
|
-
subscribed_events: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
115
|
-
/**
|
|
116
|
-
* URL where webhook events will be sent
|
|
117
|
-
*/
|
|
118
|
-
target_url: string;
|
|
119
|
-
/**
|
|
120
|
-
* When the subscription was last updated
|
|
121
|
-
*/
|
|
122
|
-
updated_at: string;
|
|
123
|
-
}
|
|
124
|
-
export interface SubscriptionRetrieveResponse {
|
|
125
|
-
/**
|
|
126
|
-
* Unique identifier for the webhook subscription
|
|
127
|
-
*/
|
|
128
|
-
id: string;
|
|
129
|
-
/**
|
|
130
|
-
* When the subscription was created
|
|
131
|
-
*/
|
|
132
|
-
created_at: string;
|
|
133
|
-
/**
|
|
134
|
-
* Whether this subscription is currently active
|
|
135
|
-
*/
|
|
136
|
-
is_active: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* List of event types this subscription receives
|
|
139
|
-
*/
|
|
140
|
-
subscribed_events: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
141
|
-
/**
|
|
142
|
-
* URL where webhook events will be sent
|
|
143
|
-
*/
|
|
144
|
-
target_url: string;
|
|
145
|
-
/**
|
|
146
|
-
* When the subscription was last updated
|
|
147
|
-
*/
|
|
148
|
-
updated_at: string;
|
|
149
|
-
}
|
|
150
|
-
export interface SubscriptionUpdateResponse {
|
|
151
|
-
/**
|
|
152
|
-
* Unique identifier for the webhook subscription
|
|
153
|
-
*/
|
|
154
|
-
id: string;
|
|
155
|
-
/**
|
|
156
|
-
* When the subscription was created
|
|
157
|
-
*/
|
|
158
|
-
created_at: string;
|
|
159
|
-
/**
|
|
160
|
-
* Whether this subscription is currently active
|
|
161
|
-
*/
|
|
162
|
-
is_active: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* List of event types this subscription receives
|
|
165
|
-
*/
|
|
166
|
-
subscribed_events: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
167
|
-
/**
|
|
168
|
-
* URL where webhook events will be sent
|
|
169
|
-
*/
|
|
170
|
-
target_url: string;
|
|
171
|
-
/**
|
|
172
|
-
* When the subscription was last updated
|
|
173
|
-
*/
|
|
174
|
-
updated_at: string;
|
|
175
|
-
}
|
|
176
|
-
export interface SubscriptionListResponse {
|
|
177
|
-
/**
|
|
178
|
-
* List of webhook subscriptions
|
|
179
|
-
*/
|
|
180
|
-
subscriptions: Array<SubscriptionListResponse.Subscription>;
|
|
181
|
-
}
|
|
182
|
-
export declare namespace SubscriptionListResponse {
|
|
183
|
-
interface Subscription {
|
|
184
|
-
/**
|
|
185
|
-
* Unique identifier for the webhook subscription
|
|
186
|
-
*/
|
|
187
|
-
id: string;
|
|
188
|
-
/**
|
|
189
|
-
* When the subscription was created
|
|
190
|
-
*/
|
|
191
|
-
created_at: string;
|
|
192
|
-
/**
|
|
193
|
-
* Whether this subscription is currently active
|
|
194
|
-
*/
|
|
195
|
-
is_active: boolean;
|
|
196
|
-
/**
|
|
197
|
-
* List of event types this subscription receives
|
|
198
|
-
*/
|
|
199
|
-
subscribed_events: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
200
|
-
/**
|
|
201
|
-
* URL where webhook events will be sent
|
|
202
|
-
*/
|
|
203
|
-
target_url: string;
|
|
204
|
-
/**
|
|
205
|
-
* When the subscription was last updated
|
|
206
|
-
*/
|
|
207
|
-
updated_at: string;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
export interface SubscriptionCreateParams {
|
|
211
|
-
/**
|
|
212
|
-
* List of event types to subscribe to
|
|
213
|
-
*/
|
|
214
|
-
subscribed_events: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
215
|
-
/**
|
|
216
|
-
* URL where webhook events will be sent. Must be HTTPS.
|
|
217
|
-
*/
|
|
218
|
-
target_url: string;
|
|
219
|
-
}
|
|
220
|
-
export interface SubscriptionUpdateParams {
|
|
221
|
-
/**
|
|
222
|
-
* Activate or deactivate the subscription
|
|
223
|
-
*/
|
|
224
|
-
is_active?: boolean;
|
|
225
|
-
/**
|
|
226
|
-
* Updated list of event types to subscribe to
|
|
227
|
-
*/
|
|
228
|
-
subscribed_events?: Array<'message.sent' | 'message.received' | 'message.read' | 'message.delivered' | 'message.failed' | 'reaction.added' | 'reaction.removed' | 'participant.added' | 'participant.removed' | 'chat.created' | 'chat.group_name_updated' | 'chat.group_icon_updated' | 'chat.group_name_update_failed' | 'chat.group_icon_update_failed' | 'chat.typing_indicator.started' | 'chat.typing_indicator.stopped' | 'phone_number.status_updated'>;
|
|
229
|
-
/**
|
|
230
|
-
* New target URL for webhook events
|
|
231
|
-
*/
|
|
232
|
-
target_url?: string;
|
|
233
|
-
}
|
|
234
|
-
export declare namespace Subscriptions {
|
|
235
|
-
export { type SubscriptionCreateResponse as SubscriptionCreateResponse, type SubscriptionRetrieveResponse as SubscriptionRetrieveResponse, type SubscriptionUpdateResponse as SubscriptionUpdateResponse, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, };
|
|
236
|
-
}
|
|
237
|
-
//# sourceMappingURL=subscriptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../src/resources/webhooks/subscriptions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,E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C3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,cAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,6BAA6B,cAAc,EAAE,EAAE;YAC5E,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import * as EventsAPI from "./events.mjs";
|
|
3
|
-
import { EventListResponse, Events } from "./events.mjs";
|
|
4
|
-
import * as SubscriptionsAPI from "./subscriptions.mjs";
|
|
5
|
-
import { SubscriptionCreateParams, SubscriptionCreateResponse, SubscriptionListResponse, SubscriptionRetrieveResponse, SubscriptionUpdateParams, SubscriptionUpdateResponse, Subscriptions } from "./subscriptions.mjs";
|
|
6
|
-
export declare class Webhooks extends APIResource {
|
|
7
|
-
subscriptions: SubscriptionsAPI.Subscriptions;
|
|
8
|
-
events: EventsAPI.Events;
|
|
9
|
-
}
|
|
10
|
-
export declare namespace Webhooks {
|
|
11
|
-
export { Subscriptions as Subscriptions, type SubscriptionCreateResponse as SubscriptionCreateResponse, type SubscriptionRetrieveResponse as SubscriptionRetrieveResponse, type SubscriptionUpdateResponse as SubscriptionUpdateResponse, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, };
|
|
12
|
-
export { Events as Events, type EventListResponse as EventListResponse };
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=webhooks.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["../../src/resources/webhooks/webhooks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,iBAAiB,EAAE,MAAM,EAAE;OAC7B,KAAK,gBAAgB;OACrB,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACd;AAED,qBAAa,QAAS,SAAQ,WAAW;IACvC,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IACjG,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CAC1E"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.js";
|
|
2
|
-
import * as EventsAPI from "./events.js";
|
|
3
|
-
import { EventListResponse, Events } from "./events.js";
|
|
4
|
-
import * as SubscriptionsAPI from "./subscriptions.js";
|
|
5
|
-
import { SubscriptionCreateParams, SubscriptionCreateResponse, SubscriptionListResponse, SubscriptionRetrieveResponse, SubscriptionUpdateParams, SubscriptionUpdateResponse, Subscriptions } from "./subscriptions.js";
|
|
6
|
-
export declare class Webhooks extends APIResource {
|
|
7
|
-
subscriptions: SubscriptionsAPI.Subscriptions;
|
|
8
|
-
events: EventsAPI.Events;
|
|
9
|
-
}
|
|
10
|
-
export declare namespace Webhooks {
|
|
11
|
-
export { Subscriptions as Subscriptions, type SubscriptionCreateResponse as SubscriptionCreateResponse, type SubscriptionRetrieveResponse as SubscriptionRetrieveResponse, type SubscriptionUpdateResponse as SubscriptionUpdateResponse, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, };
|
|
12
|
-
export { Events as Events, type EventListResponse as EventListResponse };
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=webhooks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../../src/resources/webhooks/webhooks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,iBAAiB,EAAE,MAAM,EAAE;OAC7B,KAAK,gBAAgB;OACrB,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACd;AAED,qBAAa,QAAS,SAAQ,WAAW;IACvC,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IACjG,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CAC1E"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Webhooks = void 0;
|
|
5
|
-
const tslib_1 = require("../../internal/tslib.js");
|
|
6
|
-
const resource_1 = require("../../core/resource.js");
|
|
7
|
-
const EventsAPI = tslib_1.__importStar(require("./events.js"));
|
|
8
|
-
const events_1 = require("./events.js");
|
|
9
|
-
const SubscriptionsAPI = tslib_1.__importStar(require("./subscriptions.js"));
|
|
10
|
-
const subscriptions_1 = require("./subscriptions.js");
|
|
11
|
-
class Webhooks extends resource_1.APIResource {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.subscriptions = new SubscriptionsAPI.Subscriptions(this._client);
|
|
15
|
-
this.events = new EventsAPI.Events(this._client);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.Webhooks = Webhooks;
|
|
19
|
-
Webhooks.Subscriptions = subscriptions_1.Subscriptions;
|
|
20
|
-
Webhooks.Events = events_1.Events;
|
|
21
|
-
//# sourceMappingURL=webhooks.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../../src/resources/webhooks/webhooks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAqD;AACrD,6EAAoD;AACpD,sDAQyB;AAEzB,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAHD,4BAGC;AAED,QAAQ,CAAC,aAAa,GAAG,6BAAa,CAAC;AACvC,QAAQ,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
-
import * as EventsAPI from "./events.mjs";
|
|
4
|
-
import { Events } from "./events.mjs";
|
|
5
|
-
import * as SubscriptionsAPI from "./subscriptions.mjs";
|
|
6
|
-
import { Subscriptions, } from "./subscriptions.mjs";
|
|
7
|
-
export class Webhooks extends APIResource {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.subscriptions = new SubscriptionsAPI.Subscriptions(this._client);
|
|
11
|
-
this.events = new EventsAPI.Events(this._client);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
Webhooks.Subscriptions = Subscriptions;
|
|
15
|
-
Webhooks.Events = Events;
|
|
16
|
-
//# sourceMappingURL=webhooks.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.mjs","sourceRoot":"","sources":["../../src/resources/webhooks/webhooks.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAqB,MAAM,EAAE;OAC7B,KAAK,gBAAgB;OACrB,EAOL,aAAa,GACd;AAED,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,QAAQ,CAAC,aAAa,GAAG,aAAa,CAAC;AACvC,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
package/resources/webhooks.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":""}
|
package/resources/webhooks.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":""}
|
package/resources/webhooks.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
-
tslib_1.__exportStar(require("./webhooks/index.js"), exports);
|
|
6
|
-
//# sourceMappingURL=webhooks.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAAiC"}
|
package/resources/webhooks.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.mjs","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|