@naturali/sdk 0.212.2 → 0.212.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/dist/index.cjs CHANGED
@@ -919,7 +919,7 @@ var Channels = class {
919
919
  * Connect a channel
920
920
  *
921
921
  * Connect a channel. The required fields depend on `channel`; no credential is ever returned.
922
- * **Discord** (`channel: discord`) — supply `application_id` and `bot_token`, plus the `modes` selecting which Gateway flows to serve (direct messages, and/or @mention-opens-a-thread). The token is checked with Discord first: `400 invalid_bot_token` when Discord rejects it, `400 application_mismatch` when it belongs to another application. Returns `501` when this deployment does not enable Discord channels.
922
+ * **Discord** (`channel: discord`) — supply `application_id` and `bot_token`, plus the `modes` selecting which Gateway flows to serve (direct messages, and/or @mention-opens-a-thread). The token is checked with Discord first: `400 invalid_bot_token` when Discord rejects it, `400 application_mismatch` when it belongs to another application, `502 discord_unavailable` when Discord cannot be read. Returns `501` when this deployment does not enable Discord channels.
923
923
  * **WhatsApp** (default) — one of two credential paths, both filling the same write-only secret:
924
924
  * * **BYOT** (`credential_source: byot`, default) — supply
925
925
  * `phone_number_id` and `access_token` from your own Meta app. The
package/dist/index.d.cts CHANGED
@@ -32664,7 +32664,7 @@ export declare class Channels {
32664
32664
  * Connect a channel
32665
32665
  *
32666
32666
  * Connect a channel. The required fields depend on `channel`; no credential is ever returned.
32667
- * **Discord** (`channel: discord`) — supply `application_id` and `bot_token`, plus the `modes` selecting which Gateway flows to serve (direct messages, and/or @mention-opens-a-thread). The token is checked with Discord first: `400 invalid_bot_token` when Discord rejects it, `400 application_mismatch` when it belongs to another application. Returns `501` when this deployment does not enable Discord channels.
32667
+ * **Discord** (`channel: discord`) — supply `application_id` and `bot_token`, plus the `modes` selecting which Gateway flows to serve (direct messages, and/or @mention-opens-a-thread). The token is checked with Discord first: `400 invalid_bot_token` when Discord rejects it, `400 application_mismatch` when it belongs to another application, `502 discord_unavailable` when Discord cannot be read. Returns `501` when this deployment does not enable Discord channels.
32668
32668
  * **WhatsApp** (default) — one of two credential paths, both filling the same write-only secret:
32669
32669
  * * **BYOT** (`credential_source: byot`, default) — supply
32670
32670
  * `phone_number_id` and `access_token` from your own Meta app. The
package/dist/index.d.mts CHANGED
@@ -32664,7 +32664,7 @@ export declare class Channels {
32664
32664
  * Connect a channel
32665
32665
  *
32666
32666
  * Connect a channel. The required fields depend on `channel`; no credential is ever returned.
32667
- * **Discord** (`channel: discord`) — supply `application_id` and `bot_token`, plus the `modes` selecting which Gateway flows to serve (direct messages, and/or @mention-opens-a-thread). The token is checked with Discord first: `400 invalid_bot_token` when Discord rejects it, `400 application_mismatch` when it belongs to another application. Returns `501` when this deployment does not enable Discord channels.
32667
+ * **Discord** (`channel: discord`) — supply `application_id` and `bot_token`, plus the `modes` selecting which Gateway flows to serve (direct messages, and/or @mention-opens-a-thread). The token is checked with Discord first: `400 invalid_bot_token` when Discord rejects it, `400 application_mismatch` when it belongs to another application, `502 discord_unavailable` when Discord cannot be read. Returns `501` when this deployment does not enable Discord channels.
32668
32668
  * **WhatsApp** (default) — one of two credential paths, both filling the same write-only secret:
32669
32669
  * * **BYOT** (`credential_source: byot`, default) — supply
32670
32670
  * `phone_number_id` and `access_token` from your own Meta app. The
package/dist/index.mjs CHANGED
@@ -918,7 +918,7 @@ var Channels = class {
918
918
  * Connect a channel
919
919
  *
920
920
  * Connect a channel. The required fields depend on `channel`; no credential is ever returned.
921
- * **Discord** (`channel: discord`) — supply `application_id` and `bot_token`, plus the `modes` selecting which Gateway flows to serve (direct messages, and/or @mention-opens-a-thread). The token is checked with Discord first: `400 invalid_bot_token` when Discord rejects it, `400 application_mismatch` when it belongs to another application. Returns `501` when this deployment does not enable Discord channels.
921
+ * **Discord** (`channel: discord`) — supply `application_id` and `bot_token`, plus the `modes` selecting which Gateway flows to serve (direct messages, and/or @mention-opens-a-thread). The token is checked with Discord first: `400 invalid_bot_token` when Discord rejects it, `400 application_mismatch` when it belongs to another application, `502 discord_unavailable` when Discord cannot be read. Returns `501` when this deployment does not enable Discord channels.
922
922
  * **WhatsApp** (default) — one of two credential paths, both filling the same write-only secret:
923
923
  * * **BYOT** (`credential_source: byot`, default) — supply
924
924
  * `phone_number_id` and `access_token` from your own Meta app. The
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.212.2",
3
+ "version": "0.212.3",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "keywords": [
6
6
  "naturali",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@hey-api/openapi-ts": "^0.99.0",
41
- "@naturali/api": "0.212.2",
41
+ "@naturali/api": "0.212.3",
42
42
  "@ttoss/openapi-codegen": "^0.10.0",
43
43
  "@types/node": "^26.5.1",
44
44
  "tsdown": "^0.23.0",