@naturali/sdk 0.283.0 → 0.284.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.d.cts +19 -0
- package/dist/index.d.mts +19 -0
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -2755,6 +2755,11 @@ type Channel = {
|
|
|
2755
2755
|
*
|
|
2756
2756
|
*/
|
|
2757
2757
|
max_context_messages?: number | null;
|
|
2758
|
+
/**
|
|
2759
|
+
* Seconds of inactivity after which a conversation's session expires; the contact's next message opens a new conversation. Applies to sessions opened after it is set. Null never expires.
|
|
2760
|
+
*
|
|
2761
|
+
*/
|
|
2762
|
+
session_inactivity_ttl_seconds?: number | null;
|
|
2758
2763
|
/**
|
|
2759
2764
|
* Whether an access token is on file (its value is never returned).
|
|
2760
2765
|
*/
|
|
@@ -2812,6 +2817,11 @@ type ChannelCreate = {
|
|
|
2812
2817
|
*
|
|
2813
2818
|
*/
|
|
2814
2819
|
max_context_messages?: number | null;
|
|
2820
|
+
/**
|
|
2821
|
+
* Seconds of inactivity after which a conversation's session expires; the contact's next message opens a new conversation. Applies to sessions opened after it is set. Null never expires.
|
|
2822
|
+
*
|
|
2823
|
+
*/
|
|
2824
|
+
session_inactivity_ttl_seconds?: number | null;
|
|
2815
2825
|
channel?: 'whatsapp' | 'discord' | 'x';
|
|
2816
2826
|
/**
|
|
2817
2827
|
* Required for `whatsapp`.
|
|
@@ -2896,6 +2906,11 @@ type ChannelUpdate = {
|
|
|
2896
2906
|
*
|
|
2897
2907
|
*/
|
|
2898
2908
|
max_context_messages?: number | null;
|
|
2909
|
+
/**
|
|
2910
|
+
* Seconds of inactivity after which a conversation's session expires; the contact's next message opens a new conversation. Applies to sessions opened after it is set. Null never expires.
|
|
2911
|
+
*
|
|
2912
|
+
*/
|
|
2913
|
+
session_inactivity_ttl_seconds?: number | null;
|
|
2899
2914
|
/**
|
|
2900
2915
|
* WhatsApp. Write-only. Replaces the stored credential.
|
|
2901
2916
|
*/
|
|
@@ -5923,6 +5938,8 @@ type PlaybookTransformation = {
|
|
|
5923
5938
|
type ChannelResourceProperties = {
|
|
5924
5939
|
channel?: string;
|
|
5925
5940
|
status?: string;
|
|
5941
|
+
max_context_messages?: number;
|
|
5942
|
+
session_inactivity_ttl_seconds?: number;
|
|
5926
5943
|
phone_number_id?: string;
|
|
5927
5944
|
waba_id?: string;
|
|
5928
5945
|
credential_source?: string;
|
|
@@ -10973,6 +10990,8 @@ type FileRecordWritable = {
|
|
|
10973
10990
|
type ChannelResourcePropertiesWritable = {
|
|
10974
10991
|
channel?: string;
|
|
10975
10992
|
status?: string;
|
|
10993
|
+
max_context_messages?: number;
|
|
10994
|
+
session_inactivity_ttl_seconds?: number;
|
|
10976
10995
|
phone_number_id?: string;
|
|
10977
10996
|
waba_id?: string;
|
|
10978
10997
|
credential_source?: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -2755,6 +2755,11 @@ type Channel = {
|
|
|
2755
2755
|
*
|
|
2756
2756
|
*/
|
|
2757
2757
|
max_context_messages?: number | null;
|
|
2758
|
+
/**
|
|
2759
|
+
* Seconds of inactivity after which a conversation's session expires; the contact's next message opens a new conversation. Applies to sessions opened after it is set. Null never expires.
|
|
2760
|
+
*
|
|
2761
|
+
*/
|
|
2762
|
+
session_inactivity_ttl_seconds?: number | null;
|
|
2758
2763
|
/**
|
|
2759
2764
|
* Whether an access token is on file (its value is never returned).
|
|
2760
2765
|
*/
|
|
@@ -2812,6 +2817,11 @@ type ChannelCreate = {
|
|
|
2812
2817
|
*
|
|
2813
2818
|
*/
|
|
2814
2819
|
max_context_messages?: number | null;
|
|
2820
|
+
/**
|
|
2821
|
+
* Seconds of inactivity after which a conversation's session expires; the contact's next message opens a new conversation. Applies to sessions opened after it is set. Null never expires.
|
|
2822
|
+
*
|
|
2823
|
+
*/
|
|
2824
|
+
session_inactivity_ttl_seconds?: number | null;
|
|
2815
2825
|
channel?: 'whatsapp' | 'discord' | 'x';
|
|
2816
2826
|
/**
|
|
2817
2827
|
* Required for `whatsapp`.
|
|
@@ -2896,6 +2906,11 @@ type ChannelUpdate = {
|
|
|
2896
2906
|
*
|
|
2897
2907
|
*/
|
|
2898
2908
|
max_context_messages?: number | null;
|
|
2909
|
+
/**
|
|
2910
|
+
* Seconds of inactivity after which a conversation's session expires; the contact's next message opens a new conversation. Applies to sessions opened after it is set. Null never expires.
|
|
2911
|
+
*
|
|
2912
|
+
*/
|
|
2913
|
+
session_inactivity_ttl_seconds?: number | null;
|
|
2899
2914
|
/**
|
|
2900
2915
|
* WhatsApp. Write-only. Replaces the stored credential.
|
|
2901
2916
|
*/
|
|
@@ -5923,6 +5938,8 @@ type PlaybookTransformation = {
|
|
|
5923
5938
|
type ChannelResourceProperties = {
|
|
5924
5939
|
channel?: string;
|
|
5925
5940
|
status?: string;
|
|
5941
|
+
max_context_messages?: number;
|
|
5942
|
+
session_inactivity_ttl_seconds?: number;
|
|
5926
5943
|
phone_number_id?: string;
|
|
5927
5944
|
waba_id?: string;
|
|
5928
5945
|
credential_source?: string;
|
|
@@ -10973,6 +10990,8 @@ type FileRecordWritable = {
|
|
|
10973
10990
|
type ChannelResourcePropertiesWritable = {
|
|
10974
10991
|
channel?: string;
|
|
10975
10992
|
status?: string;
|
|
10993
|
+
max_context_messages?: number;
|
|
10994
|
+
session_inactivity_ttl_seconds?: number;
|
|
10976
10995
|
phone_number_id?: string;
|
|
10977
10996
|
waba_id?: string;
|
|
10978
10997
|
credential_source?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.284.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.284.0",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.10.1",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|