@messagebird/n8n-nodes-bird 0.30.1 → 0.31.0

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.
@@ -11,7 +11,6 @@ exports.birdPickers = {
11
11
  emailInboundRoutesList: { route: "email:inbound_routes_list", fields: ["match_value", "domain"], search: "", pathFrom: [] },
12
12
  inboundAddressList: { route: "inbound_address:list", fields: ["address"], search: "", pathFrom: [] },
13
13
  inboundMessageList: { route: "inbound_message:list", fields: ["subject", "message_id"], search: "", pathFrom: [] },
14
- emailMailboxesList: { route: "email:mailboxes_list", fields: ["address"], search: "q", pathFrom: [] },
15
14
  numbersOrdersList: { route: "numbers:orders_list", fields: ["number"], search: "", pathFrom: [] },
16
15
  preferencesList: { route: "preferences:list", fields: ["handle"], search: "", pathFrom: [] },
17
16
  realtimeAppsList: { route: "realtime:apps_list", fields: ["name"], search: "name", pathFrom: [] },
@@ -592,7 +592,7 @@ exports.birdProperties = [
592
592
  name: "ip_pool_id",
593
593
  type: "string",
594
594
  default: "",
595
- description: "ID of the IP pool to send from (`ipp_` prefix), or `ipp_shared` to route through the shared pool explicitly. Omit to use your organization's default pool. An unknown pool, or a pool with no dedicated IPs available to send from, is rejected with a `422`.",
595
+ description: "ID of the IP pool to send from (`ipp_` prefix), or `ipp_shared` to route through the shared pool explicitly. Omit to use the sending domain's default pool in this workspace, or the organization's default when the domain has none. An unknown pool, or a pool with no dedicated IPs available to send from, is rejected with a `422`.",
596
596
  },
597
597
  {
598
598
  displayName: "Metadata",
@@ -2778,7 +2778,7 @@ exports.birdProperties = [
2778
2778
  required: true,
2779
2779
  displayOptions: { show: { resource: ["sms"], operation: ["send"] } },
2780
2780
  default: "",
2781
- description: "Recipient phone number in E.164 format (for example `+14155550100`). One recipient per message. The number is stored and returned in canonical E.164; a recipient that cannot be routed returns a `422` `SMSInvalidRecipient`.",
2781
+ description: "Recipient phone number in E.164 format (for example `+14155550100`), or in national format when you also pass `to_country_code`. One recipient per message. The number is stored and returned in canonical E.164; a recipient that cannot be routed returns a `422` `SMSInvalidRecipient`.",
2782
2782
  },
2783
2783
  {
2784
2784
  displayName: "Additional Fields",
@@ -2800,14 +2800,14 @@ exports.birdProperties = [
2800
2800
  { name: "Transactional", value: "transactional" },
2801
2801
  ],
2802
2802
  default: "",
2803
- description: "Content classification: why you are sending. Required on a free-text send; omit it on a template send, where the category is derived from the template. Where the destination country requires the sender to be registered, a category outside what that registration covers returns a `422` `SenderCategoryNotPermitted`.",
2803
+ description: "Content classification: why you are sending. Required on a free-text send unless the messaging profile in `messaging_profile_id` sets a default category; omit it on a template send, where the category is derived from the template. Where the destination country requires the sender to be registered, a category outside what that registration covers returns a `422` `SenderCategoryNotPermitted`.",
2804
2804
  },
2805
2805
  {
2806
2806
  displayName: "From",
2807
2807
  name: "from",
2808
2808
  type: "string",
2809
2809
  default: "",
2810
- description: "Sender to send from. It must be a sender the workspace holds: a number it owns in E.164, such as `+15557654321`, a short code it holds, such as `24680`, or an alphanumeric sender ID it has claimed, such as `MyBrand`. A sender the workspace does not hold returns a `422` `SMSSenderNotConfigured`, and an alphanumeric sender must also be permitted, and where required registered, for the destination country. Required on a free-text send and when sending a workspace template. Omitting it in either case returns `422`. A built-in template selects its sender automatically and rejects `from`.",
2810
+ description: "Sender to send from. It must be a sender the workspace holds: a number it owns in E.164, such as `+15557654321`, a short code it holds, such as `24680`, or an alphanumeric sender ID it has claimed, such as `MyBrand`. A sender the workspace does not hold returns a `422` `SMSSenderNotConfigured`, and an alphanumeric sender must also be permitted, and where required registered, for the destination country. Required on a free-text send and when sending a workspace template, unless `messaging_profile_id` is set and the profile selects a sender for the destination country or has a default sender. Omitting it otherwise returns `422`. A built-in template selects its sender automatically and rejects `from`.",
2811
2811
  },
2812
2812
  {
2813
2813
  displayName: "Metadata",
@@ -3033,6 +3033,13 @@ exports.birdProperties = [
3033
3033
  default: "",
3034
3034
  description: "Filter by category",
3035
3035
  },
3036
+ {
3037
+ displayName: "Country",
3038
+ name: "country",
3039
+ type: "string",
3040
+ default: "",
3041
+ description: "Filter by destination country, as an ISO 3166-1 alpha-2 code. An outbound message's country is the recipient's; a received message's is the country of the Bird number it arrived on.",
3042
+ },
3036
3043
  {
3037
3044
  displayName: "Created After",
3038
3045
  name: "created_after",
@@ -4880,18 +4887,25 @@ exports.birdProperties = [
4880
4887
  description: "The template to send, the only content deliverable outside the customer service window. A group takes only templates your workspace authored, outside the authentication category.",
4881
4888
  options: [
4882
4889
  {
4883
- displayName: "ID",
4884
- name: "id",
4885
- type: "string",
4890
+ displayName: "Bid Multiplier",
4891
+ name: "bid_multiplier",
4892
+ type: "number",
4886
4893
  default: "",
4887
- description: "The template to send, by its ID",
4894
+ description: "Scales the language's maximum price for this message only. The effective bid is the language's `optimization_spec.bid_amount`, times its country multiplier, times this value. At least 0.01 and at most 100; 1 when omitted. Only a language with an `optimization_spec`, on a template still in the `marketing` category, accepts it.",
4888
4895
  },
4889
4896
  {
4890
- displayName: "Slug",
4891
- name: "slug",
4897
+ displayName: "Components",
4898
+ name: "components",
4899
+ type: "json",
4900
+ default: "",
4901
+ description: "Values for the template's placeholders. Build it from the template language's `components`: each block's `example_parameters`, with real values, becomes that part's `parameters`. A template's `buttons` block becomes one `button` part per button that has `example_parameters`, in order; a `carousel` becomes one `cards` entry per card, built the same way. A `location` header always needs a part with a `location` parameter. Leave out other blocks without any.",
4902
+ },
4903
+ {
4904
+ displayName: "ID",
4905
+ name: "id",
4892
4906
  type: "string",
4893
4907
  default: "",
4894
- description: "The template to send, by its slug handle (for example `bird_otp`)",
4908
+ description: "The template to send, by its ID",
4895
4909
  },
4896
4910
  {
4897
4911
  displayName: "Language",
@@ -4901,11 +4915,11 @@ exports.birdProperties = [
4901
4915
  description: "Which of the template's languages to send, as a BCP-47 tag (for example `en-US`; Meta's `en_US` is accepted too). Omit it for the template's default language, unless the template sets `language_source_required`. A language the template lacks is handled by its `on_missing_language` setting. The message is priced at the language it resolves to, which the accepted message echoes.",
4902
4916
  },
4903
4917
  {
4904
- displayName: "Components",
4905
- name: "components",
4906
- type: "json",
4918
+ displayName: "Slug",
4919
+ name: "slug",
4920
+ type: "string",
4907
4921
  default: "",
4908
- description: "Values for the template's placeholders. Build it from the template language's `components`: each block's `example_parameters`, with real values, becomes that part's `parameters`. A template's `buttons` block becomes one `button` part per button that has `example_parameters`, in order; a `carousel` becomes one `cards` entry per card, built the same way. A `location` header always needs a part with a `location` parameter. Leave out other blocks without any.",
4922
+ description: "The template to send, by its slug handle (for example `bird_otp`)",
4909
4923
  },
4910
4924
  ],
4911
4925
  },
@@ -6168,6 +6182,13 @@ exports.birdProperties = [
6168
6182
  default: {},
6169
6183
  displayOptions: { show: { resource: ["domains"], operation: ["update"] } },
6170
6184
  options: [
6185
+ {
6186
+ displayName: "Default IP Pool ID",
6187
+ name: "default_ip_pool_id",
6188
+ type: "string",
6189
+ default: "",
6190
+ description: "Default IP pool for this domain in this workspace. Used only when a send omits `ip_pool_id`; an explicit send option takes precedence. The pool must belong to the same organization. Set to `null` to use normal organization routing.",
6191
+ },
6171
6192
  {
6172
6193
  displayName: "Dkim",
6173
6194
  name: "dkim",
@@ -8626,46 +8647,32 @@ exports.birdProperties = [
8626
8647
  name: "mailbox_id",
8627
8648
  type: "resourceLocator",
8628
8649
  required: true,
8629
- default: { mode: "list", value: "" },
8650
+ default: { mode: "id", value: "" },
8630
8651
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_get"] } },
8631
8652
  modes: [
8632
- {
8633
- displayName: "From List",
8634
- name: "list",
8635
- type: "list",
8636
- placeholder: "Select a Mailbox...",
8637
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
8638
- },
8639
8653
  {
8640
8654
  displayName: "By ID",
8641
8655
  name: "id",
8642
8656
  type: "string",
8643
8657
  },
8644
8658
  ],
8645
- description: "Mailbox identifier. Starts with `mbx_`.",
8659
+ description: "Mailbox ID or email address in this workspace",
8646
8660
  },
8647
8661
  {
8648
8662
  displayName: "Mailbox",
8649
8663
  name: "mailbox_id",
8650
8664
  type: "resourceLocator",
8651
8665
  required: true,
8652
- default: { mode: "list", value: "" },
8666
+ default: { mode: "id", value: "" },
8653
8667
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_update"] } },
8654
8668
  modes: [
8655
- {
8656
- displayName: "From List",
8657
- name: "list",
8658
- type: "list",
8659
- placeholder: "Select a Mailbox...",
8660
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
8661
- },
8662
8669
  {
8663
8670
  displayName: "By ID",
8664
8671
  name: "id",
8665
8672
  type: "string",
8666
8673
  },
8667
8674
  ],
8668
- description: "Mailbox identifier. Starts with `mbx_`.",
8675
+ description: "Mailbox ID or email address in this workspace",
8669
8676
  },
8670
8677
  {
8671
8678
  displayName: "Update Fields",
@@ -8759,92 +8766,64 @@ exports.birdProperties = [
8759
8766
  name: "mailbox_id",
8760
8767
  type: "resourceLocator",
8761
8768
  required: true,
8762
- default: { mode: "list", value: "" },
8769
+ default: { mode: "id", value: "" },
8763
8770
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_delete"] } },
8764
8771
  modes: [
8765
- {
8766
- displayName: "From List",
8767
- name: "list",
8768
- type: "list",
8769
- placeholder: "Select a Mailbox...",
8770
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
8771
- },
8772
8772
  {
8773
8773
  displayName: "By ID",
8774
8774
  name: "id",
8775
8775
  type: "string",
8776
8776
  },
8777
8777
  ],
8778
- description: "Mailbox identifier. Starts with `mbx_`.",
8778
+ description: "Mailbox ID or email address in this workspace",
8779
8779
  },
8780
8780
  {
8781
8781
  displayName: "Mailbox",
8782
8782
  name: "mailbox_id",
8783
8783
  type: "resourceLocator",
8784
8784
  required: true,
8785
- default: { mode: "list", value: "" },
8785
+ default: { mode: "id", value: "" },
8786
8786
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_restore"] } },
8787
8787
  modes: [
8788
- {
8789
- displayName: "From List",
8790
- name: "list",
8791
- type: "list",
8792
- placeholder: "Select a Mailbox...",
8793
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
8794
- },
8795
8788
  {
8796
8789
  displayName: "By ID",
8797
8790
  name: "id",
8798
8791
  type: "string",
8799
8792
  },
8800
8793
  ],
8801
- description: "Mailbox identifier. Starts with `mbx_`.",
8794
+ description: "Mailbox ID or email address in this workspace",
8802
8795
  },
8803
8796
  {
8804
8797
  displayName: "Mailbox",
8805
8798
  name: "mailbox_id",
8806
8799
  type: "resourceLocator",
8807
8800
  required: true,
8808
- default: { mode: "list", value: "" },
8801
+ default: { mode: "id", value: "" },
8809
8802
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_resume"] } },
8810
8803
  modes: [
8811
- {
8812
- displayName: "From List",
8813
- name: "list",
8814
- type: "list",
8815
- placeholder: "Select a Mailbox...",
8816
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
8817
- },
8818
8804
  {
8819
8805
  displayName: "By ID",
8820
8806
  name: "id",
8821
8807
  type: "string",
8822
8808
  },
8823
8809
  ],
8824
- description: "Mailbox identifier. Starts with `mbx_`.",
8810
+ description: "Mailbox ID or email address in this workspace",
8825
8811
  },
8826
8812
  {
8827
8813
  displayName: "Mailbox",
8828
8814
  name: "mailbox_id",
8829
8815
  type: "resourceLocator",
8830
8816
  required: true,
8831
- default: { mode: "list", value: "" },
8817
+ default: { mode: "id", value: "" },
8832
8818
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_stats"] } },
8833
8819
  modes: [
8834
- {
8835
- displayName: "From List",
8836
- name: "list",
8837
- type: "list",
8838
- placeholder: "Select a Mailbox...",
8839
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
8840
- },
8841
8820
  {
8842
8821
  displayName: "By ID",
8843
8822
  name: "id",
8844
8823
  type: "string",
8845
8824
  },
8846
8825
  ],
8847
- description: "Mailbox identifier. Starts with `mbx_`.",
8826
+ description: "Mailbox ID or email address in this workspace",
8848
8827
  },
8849
8828
  {
8850
8829
  displayName: "Additional Fields",
@@ -8894,23 +8873,16 @@ exports.birdProperties = [
8894
8873
  name: "mailbox_id",
8895
8874
  type: "resourceLocator",
8896
8875
  required: true,
8897
- default: { mode: "list", value: "" },
8876
+ default: { mode: "id", value: "" },
8898
8877
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_messages_create"] } },
8899
8878
  modes: [
8900
- {
8901
- displayName: "From List",
8902
- name: "list",
8903
- type: "list",
8904
- placeholder: "Select a Mailbox...",
8905
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
8906
- },
8907
8879
  {
8908
8880
  displayName: "By ID",
8909
8881
  name: "id",
8910
8882
  type: "string",
8911
8883
  },
8912
8884
  ],
8913
- description: "Mailbox identifier. Starts with `mbx_`.",
8885
+ description: "Mailbox ID or email address in this workspace",
8914
8886
  },
8915
8887
  {
8916
8888
  displayName: "To",
@@ -9131,46 +9103,32 @@ exports.birdProperties = [
9131
9103
  name: "mailbox_id",
9132
9104
  type: "resourceLocator",
9133
9105
  required: true,
9134
- default: { mode: "list", value: "" },
9106
+ default: { mode: "id", value: "" },
9135
9107
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_labels"] } },
9136
9108
  modes: [
9137
- {
9138
- displayName: "From List",
9139
- name: "list",
9140
- type: "list",
9141
- placeholder: "Select a Mailbox...",
9142
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
9143
- },
9144
9109
  {
9145
9110
  displayName: "By ID",
9146
9111
  name: "id",
9147
9112
  type: "string",
9148
9113
  },
9149
9114
  ],
9150
- description: "Mailbox identifier. Starts with `mbx_`.",
9115
+ description: "Mailbox ID or email address in this workspace",
9151
9116
  },
9152
9117
  {
9153
9118
  displayName: "Mailbox",
9154
9119
  name: "mailbox_id",
9155
9120
  type: "resourceLocator",
9156
9121
  required: true,
9157
- default: { mode: "list", value: "" },
9122
+ default: { mode: "id", value: "" },
9158
9123
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_receive_rules_list"] } },
9159
9124
  modes: [
9160
- {
9161
- displayName: "From List",
9162
- name: "list",
9163
- type: "list",
9164
- placeholder: "Select a Mailbox...",
9165
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
9166
- },
9167
9125
  {
9168
9126
  displayName: "By ID",
9169
9127
  name: "id",
9170
9128
  type: "string",
9171
9129
  },
9172
9130
  ],
9173
- description: "Mailbox identifier. Starts with `mbx_`.",
9131
+ description: "Mailbox ID or email address in this workspace",
9174
9132
  },
9175
9133
  {
9176
9134
  displayName: "Return All",
@@ -9216,23 +9174,16 @@ exports.birdProperties = [
9216
9174
  name: "mailbox_id",
9217
9175
  type: "resourceLocator",
9218
9176
  required: true,
9219
- default: { mode: "list", value: "" },
9177
+ default: { mode: "id", value: "" },
9220
9178
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_receive_rules_create"] } },
9221
9179
  modes: [
9222
- {
9223
- displayName: "From List",
9224
- name: "list",
9225
- type: "list",
9226
- placeholder: "Select a Mailbox...",
9227
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
9228
- },
9229
9180
  {
9230
9181
  displayName: "By ID",
9231
9182
  name: "id",
9232
9183
  type: "string",
9233
9184
  },
9234
9185
  ],
9235
- description: "Mailbox identifier. Starts with `mbx_`.",
9186
+ description: "Mailbox ID or email address in this workspace",
9236
9187
  },
9237
9188
  {
9238
9189
  displayName: "Action",
@@ -9279,23 +9230,16 @@ exports.birdProperties = [
9279
9230
  name: "mailbox_id",
9280
9231
  type: "resourceLocator",
9281
9232
  required: true,
9282
- default: { mode: "list", value: "" },
9233
+ default: { mode: "id", value: "" },
9283
9234
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_receive_rules_delete"] } },
9284
9235
  modes: [
9285
- {
9286
- displayName: "From List",
9287
- name: "list",
9288
- type: "list",
9289
- placeholder: "Select a Mailbox...",
9290
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
9291
- },
9292
9236
  {
9293
9237
  displayName: "By ID",
9294
9238
  name: "id",
9295
9239
  type: "string",
9296
9240
  },
9297
9241
  ],
9298
- description: "Mailbox identifier. Starts with `mbx_`.",
9242
+ description: "Mailbox ID or email address in this workspace",
9299
9243
  },
9300
9244
  {
9301
9245
  displayName: "Rule",
@@ -9385,7 +9329,7 @@ exports.birdProperties = [
9385
9329
  name: "mailbox_id",
9386
9330
  type: "string",
9387
9331
  default: "",
9388
- description: "Filter to conversations in a specific mailbox",
9332
+ description: "Filter to conversations in a mailbox by ID or email address in this workspace. An unknown or ambiguous email address returns 404; a valid mailbox ID with no matching threads returns an empty page.",
9389
9333
  },
9390
9334
  {
9391
9335
  displayName: "Participant",
@@ -10599,23 +10543,16 @@ exports.birdProperties = [
10599
10543
  name: "mailbox_id",
10600
10544
  type: "resourceLocator",
10601
10545
  required: true,
10602
- default: { mode: "list", value: "" },
10546
+ default: { mode: "id", value: "" },
10603
10547
  displayOptions: { show: { resource: ["email"], operation: ["mailboxes_messages_list"] } },
10604
10548
  modes: [
10605
- {
10606
- displayName: "From List",
10607
- name: "list",
10608
- type: "list",
10609
- placeholder: "Select a Mailbox...",
10610
- typeOptions: { searchListMethod: "emailMailboxesList", searchable: true },
10611
- },
10612
10549
  {
10613
10550
  displayName: "By ID",
10614
10551
  name: "id",
10615
10552
  type: "string",
10616
10553
  },
10617
10554
  ],
10618
- description: "Mailbox identifier. Starts with `mbx_`.",
10555
+ description: "Mailbox ID or email address in this workspace",
10619
10556
  },
10620
10557
  {
10621
10558
  displayName: "Return All",
@@ -27,7 +27,7 @@ exports.birdRoutes = {
27
27
  "sms:send": { method: "POST", path: "/v1/sms/messages", pathParams: [], topLevel: ["to"], collections: ["additionalFields"], query: [], body: ["to", "from", "text", "category", "tags", "metadata", "options", "template"], jsonFields: [], structured: { "tags": "list", "metadata": "map", "options": "struct", "template": "struct" }, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["sms"] },
28
28
  "sms:send_batch": { method: "POST", path: "/v1/sms/batches", pathParams: [], topLevel: ["messages"], collections: ["additionalFields"], query: [], body: ["messages"], jsonFields: ["messages"], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: true, idempotencyHeader: true, scopes: ["sms"] },
29
29
  "sms:get": { method: "GET", path: "/v1/sms/messages/{message_id}", pathParams: ["message_id"], topLevel: ["message_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: false, scopes: ["sms"] },
30
- "sms:list": { method: "GET", path: "/v1/sms/messages", pathParams: [], topLevel: [], collections: ["additionalFields"], query: ["limit", "starting_after", "ending_before", "created_after", "created_before", "direction", "status", "error_code", "category", "to", "from", "tag"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: ["status", "error_code", "tag"], dateTimeFields: ["created_after", "created_before"], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["sms"] },
30
+ "sms:list": { method: "GET", path: "/v1/sms/messages", pathParams: [], topLevel: [], collections: ["additionalFields"], query: ["limit", "starting_after", "ending_before", "created_after", "created_before", "direction", "status", "error_code", "category", "to", "from", "country", "tag"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: ["status", "error_code", "tag"], dateTimeFields: ["created_after", "created_before"], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["sms"] },
31
31
  "sms_templates:list": { method: "GET", path: "/v1/sms/templates", pathParams: [], topLevel: [], collections: ["additionalFields", "sort"], query: ["scope", "category", "status", "language", "q", "sort", "order", "limit", "starting_after", "ending_before"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["sms_management"] },
32
32
  "sms_templates:get": { method: "GET", path: "/v1/sms/templates/{template_ref}", pathParams: ["template_ref"], topLevel: ["template_ref"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: false, scopes: ["sms_management"] },
33
33
  "sms:list_events": { method: "GET", path: "/v1/sms/messages/{message_id}/events", pathParams: ["message_id"], topLevel: ["message_id"], collections: ["additionalFields"], query: ["type"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: true, idempotencyHeader: false, scopes: ["sms"] },
@@ -82,7 +82,7 @@ exports.birdRoutes = {
82
82
  "domains:get": { method: "GET", path: "/v1/email/domains/{domain_id}", pathParams: ["domain_id"], topLevel: ["domain_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: false, scopes: ["domains"] },
83
83
  "domains:create": { method: "POST", path: "/v1/email/domains", pathParams: [], topLevel: ["domain"], collections: ["additionalFields"], query: [], body: ["domain", "return_path", "tracking", "dkim", "settings"], jsonFields: [], structured: { "return_path": "struct", "tracking": "struct", "dkim": "struct", "settings": "struct" }, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["domains"] },
84
84
  "domains:verify": { method: "POST", path: "/v1/email/domains/{domain_id}/verify", pathParams: ["domain_id"], topLevel: ["domain_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["domains"] },
85
- "domains:update": { method: "PATCH", path: "/v1/email/domains/{domain_id}", pathParams: ["domain_id"], topLevel: ["domain_id"], collections: ["updateFields"], query: [], body: ["settings", "return_path", "tracking", "dkim", "inbound"], jsonFields: [], structured: { "settings": "struct", "return_path": "struct", "tracking": "struct", "dkim": "struct", "inbound": "struct" }, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: ["tracking"], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["domains"] },
85
+ "domains:update": { method: "PATCH", path: "/v1/email/domains/{domain_id}", pathParams: ["domain_id"], topLevel: ["domain_id"], collections: ["updateFields"], query: [], body: ["default_ip_pool_id", "settings", "return_path", "tracking", "dkim", "inbound"], jsonFields: [], structured: { "settings": "struct", "return_path": "struct", "tracking": "struct", "dkim": "struct", "inbound": "struct" }, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: ["default_ip_pool_id", "tracking"], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["domains"] },
86
86
  "domains:delete": { method: "DELETE", path: "/v1/email/domains/{domain_id}", pathParams: ["domain_id"], topLevel: ["domain_id"], collections: ["additionalFields"], query: [], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["domains"] },
87
87
  "inbound_address:list": { method: "GET", path: "/v1/email/inbound-addresses", pathParams: [], topLevel: [], collections: ["additionalFields"], query: ["limit", "starting_after", "ending_before"], body: [], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: true, collection: true, idempotencyHeader: false, scopes: ["emails"] },
88
88
  "inbound_address:create": { method: "POST", path: "/v1/email/inbound-addresses", pathParams: [], topLevel: [], collections: ["additionalFields"], query: [], body: ["label"], jsonFields: [], structured: {}, renames: {}, arrayFields: [], dateTimeFields: [], nullableFields: [], binaryFields: [], rawBodyField: "", paginated: false, collection: false, idempotencyHeader: true, scopes: ["email_management"] },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messagebird/n8n-nodes-bird",
3
- "version": "0.30.1",
3
+ "version": "0.31.0",
4
4
  "description": "The official Bird node for n8n: email, SMS, WhatsApp, and verification, plus a webhook trigger for Bird events.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -44,9 +44,9 @@
44
44
  ]
45
45
  },
46
46
  "scripts": {
47
- "build": "rimraf dist && tsc6 && cp nodes/Bird/bird.svg nodes/Bird/bird-dark.svg nodes/Bird/Bird.node.json nodes/Bird/BirdTrigger.node.json dist/nodes/Bird/ && cp credentials/bird.svg credentials/bird-dark.svg dist/credentials/",
47
+ "build": "rimraf dist && tsc && cp nodes/Bird/bird.svg nodes/Bird/bird-dark.svg nodes/Bird/Bird.node.json nodes/Bird/BirdTrigger.node.json dist/nodes/Bird/ && cp credentials/bird.svg credentials/bird-dark.svg dist/credentials/",
48
48
  "test": "vitest run",
49
- "typecheck": "tsc6 --noEmit",
49
+ "typecheck": "tsc --noEmit",
50
50
  "lint": "npm run typecheck && node scan.mjs",
51
51
  "prepack": "npm run build"
52
52
  },
@@ -55,10 +55,10 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "@n8n/scan-community-package": "0.33.0",
58
- "@types/node": "22.20.2",
58
+ "@types/node": "22.20.5",
59
59
  "n8n-workflow": "2.16.0",
60
60
  "rimraf": "6.1.3",
61
- "typescript": "npm:@typescript/typescript6@^6.0.2",
62
- "vitest": "5.0.0"
61
+ "typescript": "npm:typescript@7.1.0-beta",
62
+ "vitest": "5.0.5"
63
63
  }
64
64
  }