sendblue 2.1.0 → 3.3.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.
Files changed (126) hide show
  1. package/CHANGELOG.md +174 -0
  2. package/LICENSE +1 -1
  3. package/README.md +34 -5
  4. package/client.d.mts +25 -3
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +25 -3
  7. package/client.d.ts.map +1 -1
  8. package/client.js +44 -19
  9. package/client.js.map +1 -1
  10. package/client.mjs +44 -19
  11. package/client.mjs.map +1 -1
  12. package/internal/parse.d.mts.map +1 -1
  13. package/internal/parse.d.ts.map +1 -1
  14. package/internal/parse.js +5 -0
  15. package/internal/parse.js.map +1 -1
  16. package/internal/parse.mjs +5 -0
  17. package/internal/parse.mjs.map +1 -1
  18. package/internal/utils/query.d.mts +5 -0
  19. package/internal/utils/query.d.mts.map +1 -0
  20. package/internal/utils/query.d.ts +5 -0
  21. package/internal/utils/query.d.ts.map +1 -0
  22. package/internal/utils/query.js +23 -0
  23. package/internal/utils/query.js.map +1 -0
  24. package/internal/utils/query.mjs +20 -0
  25. package/internal/utils/query.mjs.map +1 -0
  26. package/internal/utils.d.mts +1 -0
  27. package/internal/utils.d.ts +1 -0
  28. package/internal/utils.js +1 -0
  29. package/internal/utils.js.map +1 -1
  30. package/internal/utils.mjs +1 -0
  31. package/package.json +1 -1
  32. package/resources/contacts/bulk.d.mts +25 -3
  33. package/resources/contacts/bulk.d.mts.map +1 -1
  34. package/resources/contacts/bulk.d.ts +25 -3
  35. package/resources/contacts/bulk.d.ts.map +1 -1
  36. package/resources/contacts/bulk.js +3 -0
  37. package/resources/contacts/bulk.js.map +1 -1
  38. package/resources/contacts/bulk.mjs +3 -0
  39. package/resources/contacts/bulk.mjs.map +1 -1
  40. package/resources/contacts/contacts.d.mts +105 -18
  41. package/resources/contacts/contacts.d.mts.map +1 -1
  42. package/resources/contacts/contacts.d.ts +105 -18
  43. package/resources/contacts/contacts.d.ts.map +1 -1
  44. package/resources/contacts/contacts.js +5 -2
  45. package/resources/contacts/contacts.js.map +1 -1
  46. package/resources/contacts/contacts.mjs +5 -2
  47. package/resources/contacts/contacts.mjs.map +1 -1
  48. package/resources/contacts/index.d.mts +1 -1
  49. package/resources/contacts/index.d.mts.map +1 -1
  50. package/resources/contacts/index.d.ts +1 -1
  51. package/resources/contacts/index.d.ts.map +1 -1
  52. package/resources/contacts/index.js.map +1 -1
  53. package/resources/contacts/index.mjs.map +1 -1
  54. package/resources/groups.d.mts +3 -0
  55. package/resources/groups.d.mts.map +1 -1
  56. package/resources/groups.d.ts +3 -0
  57. package/resources/groups.d.ts.map +1 -1
  58. package/resources/groups.js +3 -0
  59. package/resources/groups.js.map +1 -1
  60. package/resources/groups.mjs +3 -0
  61. package/resources/groups.mjs.map +1 -1
  62. package/resources/index.d.mts +1 -1
  63. package/resources/index.d.mts.map +1 -1
  64. package/resources/index.d.ts +1 -1
  65. package/resources/index.d.ts.map +1 -1
  66. package/resources/index.js.map +1 -1
  67. package/resources/index.mjs.map +1 -1
  68. package/resources/lookups.d.mts +3 -0
  69. package/resources/lookups.d.mts.map +1 -1
  70. package/resources/lookups.d.ts +3 -0
  71. package/resources/lookups.d.ts.map +1 -1
  72. package/resources/lookups.js +3 -0
  73. package/resources/lookups.js.map +1 -1
  74. package/resources/lookups.mjs +3 -0
  75. package/resources/lookups.mjs.map +1 -1
  76. package/resources/media-objects.d.mts +3 -0
  77. package/resources/media-objects.d.mts.map +1 -1
  78. package/resources/media-objects.d.ts +3 -0
  79. package/resources/media-objects.d.ts.map +1 -1
  80. package/resources/media-objects.js +3 -0
  81. package/resources/media-objects.js.map +1 -1
  82. package/resources/media-objects.mjs +3 -0
  83. package/resources/media-objects.mjs.map +1 -1
  84. package/resources/messages.d.mts +50 -7
  85. package/resources/messages.d.mts.map +1 -1
  86. package/resources/messages.d.ts +50 -7
  87. package/resources/messages.d.ts.map +1 -1
  88. package/resources/messages.js +19 -0
  89. package/resources/messages.js.map +1 -1
  90. package/resources/messages.mjs +19 -0
  91. package/resources/messages.mjs.map +1 -1
  92. package/resources/typing-indicators.d.mts +10 -2
  93. package/resources/typing-indicators.d.mts.map +1 -1
  94. package/resources/typing-indicators.d.ts +10 -2
  95. package/resources/typing-indicators.d.ts.map +1 -1
  96. package/resources/typing-indicators.js +5 -2
  97. package/resources/typing-indicators.js.map +1 -1
  98. package/resources/typing-indicators.mjs +5 -2
  99. package/resources/typing-indicators.mjs.map +1 -1
  100. package/resources/webhooks.d.mts +149 -145
  101. package/resources/webhooks.d.mts.map +1 -1
  102. package/resources/webhooks.d.ts +149 -145
  103. package/resources/webhooks.d.ts.map +1 -1
  104. package/resources/webhooks.js +11 -57
  105. package/resources/webhooks.js.map +1 -1
  106. package/resources/webhooks.mjs +11 -57
  107. package/resources/webhooks.mjs.map +1 -1
  108. package/src/client.ts +51 -24
  109. package/src/internal/parse.ts +6 -0
  110. package/src/internal/utils/query.ts +23 -0
  111. package/src/internal/utils.ts +1 -0
  112. package/src/resources/contacts/bulk.ts +24 -3
  113. package/src/resources/contacts/contacts.ts +118 -18
  114. package/src/resources/contacts/index.ts +1 -0
  115. package/src/resources/groups.ts +3 -0
  116. package/src/resources/index.ts +1 -0
  117. package/src/resources/lookups.ts +3 -0
  118. package/src/resources/media-objects.ts +3 -0
  119. package/src/resources/messages.ts +52 -7
  120. package/src/resources/typing-indicators.ts +11 -2
  121. package/src/resources/webhooks.ts +185 -154
  122. package/src/version.ts +1 -1
  123. package/version.d.mts +1 -1
  124. package/version.d.ts +1 -1
  125. package/version.js +1 -1
  126. package/version.mjs +1 -1
@@ -1,15 +1,18 @@
1
1
  import { APIResource } from "../core/resource.mjs";
2
2
  import { APIPromise } from "../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../internal/request-options.mjs";
4
+ /**
5
+ * Operations for sending and managing messages
6
+ */
4
7
  export declare class TypingIndicators extends APIResource {
5
8
  /**
6
9
  * Send an indication that you are typing to a user. This shows up as the animated
7
- * three dots on the recipient's device. Only available for existing chats and not
8
- * supported in group chats.
10
+ * three dots on the recipient's device. Not supported in group chats.
9
11
  *
10
12
  * @example
11
13
  * ```ts
12
14
  * const response = await client.typingIndicators.send({
15
+ * from_number: '+16292925296',
13
16
  * number: '+19998887777',
14
17
  * });
15
18
  * ```
@@ -31,6 +34,11 @@ export interface TypingIndicatorSendResponse {
31
34
  status?: 'SENT' | 'ERROR';
32
35
  }
33
36
  export interface TypingIndicatorSendParams {
37
+ /**
38
+ * The Sendblue phone number you want to send the typing indicator from (E.164
39
+ * format). This should be the number you use to send messages.
40
+ */
41
+ from_number: string;
34
42
  /**
35
43
  * The number you want to send a typing indicator to (E.164 format)
36
44
  */
@@ -1 +1 @@
1
- {"version":3,"file":"typing-indicators.d.mts","sourceRoot":"","sources":["../src/resources/typing-indicators.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAGzG;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
1
+ {"version":3,"file":"typing-indicators.d.mts","sourceRoot":"","sources":["../src/resources/typing-indicators.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAGzG;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -1,15 +1,18 @@
1
1
  import { APIResource } from "../core/resource.js";
2
2
  import { APIPromise } from "../core/api-promise.js";
3
3
  import { RequestOptions } from "../internal/request-options.js";
4
+ /**
5
+ * Operations for sending and managing messages
6
+ */
4
7
  export declare class TypingIndicators extends APIResource {
5
8
  /**
6
9
  * Send an indication that you are typing to a user. This shows up as the animated
7
- * three dots on the recipient's device. Only available for existing chats and not
8
- * supported in group chats.
10
+ * three dots on the recipient's device. Not supported in group chats.
9
11
  *
10
12
  * @example
11
13
  * ```ts
12
14
  * const response = await client.typingIndicators.send({
15
+ * from_number: '+16292925296',
13
16
  * number: '+19998887777',
14
17
  * });
15
18
  * ```
@@ -31,6 +34,11 @@ export interface TypingIndicatorSendResponse {
31
34
  status?: 'SENT' | 'ERROR';
32
35
  }
33
36
  export interface TypingIndicatorSendParams {
37
+ /**
38
+ * The Sendblue phone number you want to send the typing indicator from (E.164
39
+ * format). This should be the number you use to send messages.
40
+ */
41
+ from_number: string;
34
42
  /**
35
43
  * The number you want to send a typing indicator to (E.164 format)
36
44
  */
@@ -1 +1 @@
1
- {"version":3,"file":"typing-indicators.d.ts","sourceRoot":"","sources":["../src/resources/typing-indicators.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAGzG;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
1
+ {"version":3,"file":"typing-indicators.d.ts","sourceRoot":"","sources":["../src/resources/typing-indicators.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAGzG;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -3,15 +3,18 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.TypingIndicators = void 0;
5
5
  const resource_1 = require("../core/resource.js");
6
+ /**
7
+ * Operations for sending and managing messages
8
+ */
6
9
  class TypingIndicators extends resource_1.APIResource {
7
10
  /**
8
11
  * Send an indication that you are typing to a user. This shows up as the animated
9
- * three dots on the recipient's device. Only available for existing chats and not
10
- * supported in group chats.
12
+ * three dots on the recipient's device. Not supported in group chats.
11
13
  *
12
14
  * @example
13
15
  * ```ts
14
16
  * const response = await client.typingIndicators.send({
17
+ * from_number: '+16292925296',
15
18
  * number: '+19998887777',
16
19
  * });
17
20
  * ```
@@ -1 +1 @@
1
- {"version":3,"file":"typing-indicators.js","sourceRoot":"","sources":["../src/resources/typing-indicators.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAA+B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF;AAhBD,4CAgBC"}
1
+ {"version":3,"file":"typing-indicators.js","sourceRoot":"","sources":["../src/resources/typing-indicators.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAA+B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF;AAhBD,4CAgBC"}
@@ -1,14 +1,17 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../core/resource.mjs";
3
+ /**
4
+ * Operations for sending and managing messages
5
+ */
3
6
  export class TypingIndicators extends APIResource {
4
7
  /**
5
8
  * Send an indication that you are typing to a user. This shows up as the animated
6
- * three dots on the recipient's device. Only available for existing chats and not
7
- * supported in group chats.
9
+ * three dots on the recipient's device. Not supported in group chats.
8
10
  *
9
11
  * @example
10
12
  * ```ts
11
13
  * const response = await client.typingIndicators.send({
14
+ * from_number: '+16292925296',
12
15
  * number: '+19998887777',
13
16
  * });
14
17
  * ```
@@ -1 +1 @@
1
- {"version":3,"file":"typing-indicators.mjs","sourceRoot":"","sources":["../src/resources/typing-indicators.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAA+B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF"}
1
+ {"version":3,"file":"typing-indicators.mjs","sourceRoot":"","sources":["../src/resources/typing-indicators.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAA+B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF"}
@@ -1,222 +1,226 @@
1
1
  import { APIResource } from "../core/resource.mjs";
2
+ import * as WebhooksAPI from "./webhooks.mjs";
2
3
  import { APIPromise } from "../core/api-promise.mjs";
3
4
  import { RequestOptions } from "../internal/request-options.mjs";
5
+ /**
6
+ * Operations for managing webhook subscriptions
7
+ */
4
8
  export declare class Webhooks extends APIResource {
5
9
  /**
6
- * Add new webhooks to your account. This endpoint appends webhooks to the existing
7
- * list.
8
- *
9
- * @example
10
- * ```ts
11
- * const webhook = await client.webhooks.create({
12
- * webhooks: [
13
- * 'https://example.com/new-webhook',
14
- * {
15
- * url: 'https://example.com/webhook-with-secret',
16
- * secret: 'my-webhook-secret',
17
- * },
18
- * ],
19
- * globalSecret: 'optional-global-secret',
20
- * type: 'receive',
21
- * });
22
- * ```
10
+ * Add new webhooks to the account. Webhooks are appended to existing ones.
23
11
  */
24
12
  create(body: WebhookCreateParams, options?: RequestOptions): APIPromise<WebhookCreateResponse>;
25
13
  /**
26
- * Replace all webhooks for your account. This endpoint completely replaces the
27
- * existing webhook configuration.
28
- *
29
- * @example
30
- * ```ts
31
- * const webhook = await client.webhooks.update({
32
- * webhooks: {
33
- * receive: [
34
- * 'https://example.com/webhook1',
35
- * {
36
- * url: 'https://example.com/webhook2',
37
- * secret: 'webhook-secret',
38
- * },
39
- * ],
40
- * call_log: ['https://example.com/call-webhook'],
41
- * contact_created: [
42
- * 'https://example.com/contact-webhook',
43
- * ],
44
- * globalSecret: 'my-global-secret',
45
- * },
46
- * });
47
- * ```
14
+ * Replace all webhooks for the account. This overwrites existing webhooks.
48
15
  */
49
16
  update(body: WebhookUpdateParams, options?: RequestOptions): APIPromise<WebhookUpdateResponse>;
50
17
  /**
51
- * Get all webhooks configured for your account.
52
- *
53
- * @example
54
- * ```ts
55
- * const webhooks = await client.webhooks.list();
56
- * ```
18
+ * Get all webhooks configured for the authenticated account
57
19
  */
58
20
  list(options?: RequestOptions): APIPromise<WebhookListResponse>;
59
21
  /**
60
- * Delete specific webhooks from your account.
61
- *
62
- * @example
63
- * ```ts
64
- * const webhook = await client.webhooks.delete({
65
- * webhooks: ['https://example.com'],
66
- * });
67
- * ```
22
+ * Delete specific webhooks from the account
68
23
  */
69
24
  delete(body: WebhookDeleteParams, options?: RequestOptions): APIPromise<WebhookDeleteResponse>;
70
25
  }
71
26
  export interface WebhookConfiguration {
72
27
  /**
73
- * Webhooks for call logs
28
+ * Webhook endpoint URL for receiving callbacks
74
29
  */
75
- call_log?: Array<string | WebhookConfiguration.WebhookObject>;
30
+ url: string;
76
31
  /**
77
- * Webhooks for contact creation (URL strings only)
78
- */
79
- contact_created?: Array<string>;
80
- /**
81
- * Global secret applied to all webhooks
82
- */
83
- globalSecret?: string;
84
- /**
85
- * Webhooks for line assignment
86
- */
87
- line_assigned?: Array<string | WebhookConfiguration.WebhookObject>;
88
- /**
89
- * Webhooks for blocked lines
90
- */
91
- line_blocked?: Array<string | WebhookConfiguration.WebhookObject>;
92
- /**
93
- * Webhooks for outbound messages
94
- */
95
- outbound?: Array<string | WebhookConfiguration.WebhookObject>;
96
- /**
97
- * Webhooks for inbound messages
98
- */
99
- receive?: Array<string | WebhookConfiguration.WebhookObject>;
100
- /**
101
- * Legacy secret field
32
+ * Secret for webhook signature verification
102
33
  */
103
34
  secret?: string;
104
35
  }
105
- export declare namespace WebhookConfiguration {
106
- interface WebhookObject {
36
+ export interface WebhookCreateResponse {
37
+ message?: string;
38
+ status?: string;
39
+ webhooks?: WebhookCreateResponse.Webhooks;
40
+ }
41
+ export declare namespace WebhookCreateResponse {
42
+ interface Webhooks {
107
43
  /**
108
- * Webhook URL (HTTPS only)
44
+ * Webhooks for call log events
109
45
  */
110
- url: string;
46
+ call_log?: Array<string | WebhooksAPI.WebhookConfiguration>;
111
47
  /**
112
- * Secret for webhook verification
48
+ * Webhooks for contact created events (URL strings only)
113
49
  */
114
- secret?: string;
115
- }
116
- interface WebhookObject {
50
+ contact_created?: Array<string>;
117
51
  /**
118
- * Webhook URL (HTTPS only)
52
+ * Global secret applied to all webhooks
119
53
  */
120
- url: string;
54
+ globalSecret?: string;
121
55
  /**
122
- * Secret for webhook verification
56
+ * Webhooks for line assigned events
123
57
  */
124
- secret?: string;
125
- }
126
- interface WebhookObject {
58
+ line_assigned?: Array<string | WebhooksAPI.WebhookConfiguration>;
127
59
  /**
128
- * Webhook URL (HTTPS only)
60
+ * Webhooks for line blocked events
129
61
  */
130
- url: string;
62
+ line_blocked?: Array<string | WebhooksAPI.WebhookConfiguration>;
131
63
  /**
132
- * Secret for webhook verification
64
+ * Webhooks for outbound message status updates
133
65
  */
134
- secret?: string;
135
- }
136
- interface WebhookObject {
66
+ outbound?: Array<string | WebhooksAPI.WebhookConfiguration>;
137
67
  /**
138
- * Webhook URL (HTTPS only)
68
+ * Webhooks for inbound message events
139
69
  */
140
- url: string;
70
+ receive?: Array<string | WebhooksAPI.WebhookConfiguration>;
141
71
  /**
142
- * Secret for webhook verification
72
+ * Webhooks for typing indicator events
143
73
  */
144
- secret?: string;
74
+ typing_indicator?: Array<string | WebhooksAPI.WebhookConfiguration>;
145
75
  }
146
- interface WebhookObject {
76
+ }
77
+ export interface WebhookUpdateResponse {
78
+ message?: string;
79
+ status?: string;
80
+ webhooks?: WebhookUpdateResponse.Webhooks;
81
+ }
82
+ export declare namespace WebhookUpdateResponse {
83
+ interface Webhooks {
84
+ /**
85
+ * Webhooks for call log events
86
+ */
87
+ call_log?: Array<string | WebhooksAPI.WebhookConfiguration>;
88
+ /**
89
+ * Webhooks for contact created events (URL strings only)
90
+ */
91
+ contact_created?: Array<string>;
92
+ /**
93
+ * Global secret applied to all webhooks
94
+ */
95
+ globalSecret?: string;
96
+ /**
97
+ * Webhooks for line assigned events
98
+ */
99
+ line_assigned?: Array<string | WebhooksAPI.WebhookConfiguration>;
100
+ /**
101
+ * Webhooks for line blocked events
102
+ */
103
+ line_blocked?: Array<string | WebhooksAPI.WebhookConfiguration>;
104
+ /**
105
+ * Webhooks for outbound message status updates
106
+ */
107
+ outbound?: Array<string | WebhooksAPI.WebhookConfiguration>;
147
108
  /**
148
- * Webhook URL (HTTPS only)
109
+ * Webhooks for inbound message events
149
110
  */
150
- url: string;
111
+ receive?: Array<string | WebhooksAPI.WebhookConfiguration>;
151
112
  /**
152
- * Secret for webhook verification
113
+ * Webhooks for typing indicator events
153
114
  */
154
- secret?: string;
115
+ typing_indicator?: Array<string | WebhooksAPI.WebhookConfiguration>;
155
116
  }
156
117
  }
157
- export interface WebhookCreateResponse {
158
- status: 'OK' | 'ERROR';
159
- message?: string;
160
- /**
161
- * Updated webhook configration (partial)
162
- */
163
- webhooks?: WebhookConfiguration;
164
- }
165
- export interface WebhookUpdateResponse {
166
- status: 'OK' | 'ERROR';
167
- message?: string;
168
- /**
169
- * Updated webhook configration (partial)
170
- */
171
- webhooks?: WebhookConfiguration;
172
- }
173
118
  export interface WebhookListResponse {
174
- status: 'OK' | 'ERROR';
175
- message?: string;
176
- webhooks?: WebhookConfiguration;
119
+ status?: string;
120
+ webhooks?: WebhookListResponse.Webhooks;
121
+ }
122
+ export declare namespace WebhookListResponse {
123
+ interface Webhooks {
124
+ /**
125
+ * Webhooks for call log events
126
+ */
127
+ call_log?: Array<string | WebhooksAPI.WebhookConfiguration>;
128
+ /**
129
+ * Webhooks for contact created events (URL strings only)
130
+ */
131
+ contact_created?: Array<string>;
132
+ /**
133
+ * Global secret applied to all webhooks
134
+ */
135
+ globalSecret?: string;
136
+ /**
137
+ * Webhooks for line assigned events
138
+ */
139
+ line_assigned?: Array<string | WebhooksAPI.WebhookConfiguration>;
140
+ /**
141
+ * Webhooks for line blocked events
142
+ */
143
+ line_blocked?: Array<string | WebhooksAPI.WebhookConfiguration>;
144
+ /**
145
+ * Webhooks for outbound message status updates
146
+ */
147
+ outbound?: Array<string | WebhooksAPI.WebhookConfiguration>;
148
+ /**
149
+ * Webhooks for inbound message events
150
+ */
151
+ receive?: Array<string | WebhooksAPI.WebhookConfiguration>;
152
+ /**
153
+ * Webhooks for typing indicator events
154
+ */
155
+ typing_indicator?: Array<string | WebhooksAPI.WebhookConfiguration>;
156
+ }
177
157
  }
178
158
  export interface WebhookDeleteResponse {
179
- status: 'OK' | 'ERROR';
180
159
  message?: string;
160
+ status?: string;
181
161
  }
182
162
  export interface WebhookCreateParams {
183
163
  /**
184
- * Array of webhook URLs or webhook objects to add
164
+ * Array of webhook URLs or webhook objects
185
165
  */
186
- webhooks: Array<string | WebhookCreateParams.WebhookObject>;
166
+ webhooks: Array<string | WebhookConfiguration>;
187
167
  /**
188
- * Optional global secret to apply to all webhooks
168
+ * Global secret for webhook signature verification
189
169
  */
190
170
  globalSecret?: string;
191
171
  /**
192
- * Webhook type (default to 'receive')
172
+ * Type of webhook to add
193
173
  */
194
- type?: 'receive' | 'call_log' | 'line_blocked' | 'line_assigned' | 'outbound' | 'contact_created';
174
+ type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'contact_created';
175
+ }
176
+ export interface WebhookUpdateParams {
177
+ webhooks: WebhookUpdateParams.Webhooks;
195
178
  }
196
- export declare namespace WebhookCreateParams {
197
- interface WebhookObject {
179
+ export declare namespace WebhookUpdateParams {
180
+ interface Webhooks {
181
+ /**
182
+ * Webhooks for call log events
183
+ */
184
+ call_log?: Array<string | WebhooksAPI.WebhookConfiguration>;
185
+ /**
186
+ * Webhooks for contact created events (URL strings only)
187
+ */
188
+ contact_created?: Array<string>;
198
189
  /**
199
- * Webhook URL (HTTPS only)
190
+ * Global secret applied to all webhooks
200
191
  */
201
- url: string;
192
+ globalSecret?: string;
202
193
  /**
203
- * Secret for webhook verification
194
+ * Webhooks for line assigned events
204
195
  */
205
- secret?: string;
196
+ line_assigned?: Array<string | WebhooksAPI.WebhookConfiguration>;
197
+ /**
198
+ * Webhooks for line blocked events
199
+ */
200
+ line_blocked?: Array<string | WebhooksAPI.WebhookConfiguration>;
201
+ /**
202
+ * Webhooks for outbound message status updates
203
+ */
204
+ outbound?: Array<string | WebhooksAPI.WebhookConfiguration>;
205
+ /**
206
+ * Webhooks for inbound message events
207
+ */
208
+ receive?: Array<string | WebhooksAPI.WebhookConfiguration>;
209
+ /**
210
+ * Webhooks for typing indicator events
211
+ */
212
+ typing_indicator?: Array<string | WebhooksAPI.WebhookConfiguration>;
206
213
  }
207
214
  }
208
- export interface WebhookUpdateParams {
209
- webhooks: WebhookConfiguration;
210
- }
211
215
  export interface WebhookDeleteParams {
212
216
  /**
213
217
  * Array of webhook URLs to delete
214
218
  */
215
219
  webhooks: Array<string>;
216
220
  /**
217
- * Webhook type (default to 'receive')
221
+ * Type of webhook to delete from
218
222
  */
219
- type?: 'receive' | 'call_log' | 'line_blocked' | 'line_assigned' | 'outbound' | 'contact_created';
223
+ type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'contact_created';
220
224
  }
221
225
  export declare namespace Webhooks {
222
226
  export { type WebhookConfiguration as WebhookConfiguration, type WebhookCreateResponse as WebhookCreateResponse, type WebhookUpdateResponse as WebhookUpdateResponse, type WebhookListResponse as WebhookListResponse, type WebhookDeleteResponse as WebhookDeleteResponse, type WebhookCreateParams as WebhookCreateParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookDeleteParams as WebhookDeleteParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;O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