@naturali/sdk 0.185.1 → 0.186.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.
- package/dist/index.cjs +5 -4
- package/dist/index.d.cts +6 -5
- package/dist/index.d.mts +6 -5
- package/dist/index.mjs +5 -4
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -921,10 +921,11 @@ var Channels = class {
|
|
|
921
921
|
* `phone_number_id` and `access_token` from your own Meta app.
|
|
922
922
|
*
|
|
923
923
|
* * **Embedded signup** (`credential_source: embedded_signup`) — supply
|
|
924
|
-
* `code` and `waba_id`
|
|
925
|
-
*
|
|
926
|
-
*
|
|
927
|
-
* deployments where Meta App credentials
|
|
924
|
+
* `code` and `waba_id` from the Meta popup; naturali exchanges the
|
|
925
|
+
* `code` for the token, subscribes its app to the WABA and registers the
|
|
926
|
+
* number for sending when it is not yet, so the customer never hands
|
|
927
|
+
* over a token. Returns `501` on deployments where Meta App credentials
|
|
928
|
+
* are not configured.
|
|
928
929
|
*
|
|
929
930
|
*
|
|
930
931
|
* The project's plan limits how many channels it may hold. At the limit this responds `403` with `plan_limit_reached`, whose `details` carry the `plan` and the `limit`, before any credential is acquired. Only `active` channels count, so disabling one frees allowance without deleting it.
|
package/dist/index.d.cts
CHANGED
|
@@ -2639,7 +2639,7 @@ type ChannelCreate = {
|
|
|
2639
2639
|
*/
|
|
2640
2640
|
code?: string;
|
|
2641
2641
|
/**
|
|
2642
|
-
* Optional (`embedded_signup` only). The
|
|
2642
|
+
* Optional (`embedded_signup` only). The two-step verification PIN used if naturali registers the number, which it does only when the number is not yet registered for sending. Needed only when the number already has one; otherwise naturali generates a PIN and does not keep it. Never stored or returned.
|
|
2643
2643
|
*
|
|
2644
2644
|
*/
|
|
2645
2645
|
pin?: string;
|
|
@@ -26107,10 +26107,11 @@ export declare class Channels {
|
|
|
26107
26107
|
* `phone_number_id` and `access_token` from your own Meta app.
|
|
26108
26108
|
*
|
|
26109
26109
|
* * **Embedded signup** (`credential_source: embedded_signup`) — supply
|
|
26110
|
-
* `code` and `waba_id`
|
|
26111
|
-
*
|
|
26112
|
-
*
|
|
26113
|
-
* deployments where Meta App credentials
|
|
26110
|
+
* `code` and `waba_id` from the Meta popup; naturali exchanges the
|
|
26111
|
+
* `code` for the token, subscribes its app to the WABA and registers the
|
|
26112
|
+
* number for sending when it is not yet, so the customer never hands
|
|
26113
|
+
* over a token. Returns `501` on deployments where Meta App credentials
|
|
26114
|
+
* are not configured.
|
|
26114
26115
|
*
|
|
26115
26116
|
*
|
|
26116
26117
|
* The project's plan limits how many channels it may hold. At the limit this responds `403` with `plan_limit_reached`, whose `details` carry the `plan` and the `limit`, before any credential is acquired. Only `active` channels count, so disabling one frees allowance without deleting it.
|
package/dist/index.d.mts
CHANGED
|
@@ -2639,7 +2639,7 @@ type ChannelCreate = {
|
|
|
2639
2639
|
*/
|
|
2640
2640
|
code?: string;
|
|
2641
2641
|
/**
|
|
2642
|
-
* Optional (`embedded_signup` only). The
|
|
2642
|
+
* Optional (`embedded_signup` only). The two-step verification PIN used if naturali registers the number, which it does only when the number is not yet registered for sending. Needed only when the number already has one; otherwise naturali generates a PIN and does not keep it. Never stored or returned.
|
|
2643
2643
|
*
|
|
2644
2644
|
*/
|
|
2645
2645
|
pin?: string;
|
|
@@ -26107,10 +26107,11 @@ export declare class Channels {
|
|
|
26107
26107
|
* `phone_number_id` and `access_token` from your own Meta app.
|
|
26108
26108
|
*
|
|
26109
26109
|
* * **Embedded signup** (`credential_source: embedded_signup`) — supply
|
|
26110
|
-
* `code` and `waba_id`
|
|
26111
|
-
*
|
|
26112
|
-
*
|
|
26113
|
-
* deployments where Meta App credentials
|
|
26110
|
+
* `code` and `waba_id` from the Meta popup; naturali exchanges the
|
|
26111
|
+
* `code` for the token, subscribes its app to the WABA and registers the
|
|
26112
|
+
* number for sending when it is not yet, so the customer never hands
|
|
26113
|
+
* over a token. Returns `501` on deployments where Meta App credentials
|
|
26114
|
+
* are not configured.
|
|
26114
26115
|
*
|
|
26115
26116
|
*
|
|
26116
26117
|
* The project's plan limits how many channels it may hold. At the limit this responds `403` with `plan_limit_reached`, whose `details` carry the `plan` and the `limit`, before any credential is acquired. Only `active` channels count, so disabling one frees allowance without deleting it.
|
package/dist/index.mjs
CHANGED
|
@@ -920,10 +920,11 @@ var Channels = class {
|
|
|
920
920
|
* `phone_number_id` and `access_token` from your own Meta app.
|
|
921
921
|
*
|
|
922
922
|
* * **Embedded signup** (`credential_source: embedded_signup`) — supply
|
|
923
|
-
* `code` and `waba_id`
|
|
924
|
-
*
|
|
925
|
-
*
|
|
926
|
-
* deployments where Meta App credentials
|
|
923
|
+
* `code` and `waba_id` from the Meta popup; naturali exchanges the
|
|
924
|
+
* `code` for the token, subscribes its app to the WABA and registers the
|
|
925
|
+
* number for sending when it is not yet, so the customer never hands
|
|
926
|
+
* over a token. Returns `501` on deployments where Meta App credentials
|
|
927
|
+
* are not configured.
|
|
927
928
|
*
|
|
928
929
|
*
|
|
929
930
|
* The project's plan limits how many channels it may hold. At the limit this responds `403` with `plan_limit_reached`, whose `details` carry the `plan` and the `limit`, before any credential is acquired. Only `active` channels count, so disabling one frees allowance without deleting it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.186.0",
|
|
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.
|
|
41
|
+
"@naturali/api": "0.186.0",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.5.0",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|