@nulvless/nulvless-js 0.2.0 → 0.3.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 +3 -2
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -17,7 +17,7 @@ interface NulvlessStorage {
|
|
|
17
17
|
removeItem(key: string): Promise<void>;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
type Language = 'en-US' | 'pt-BR';
|
|
20
|
+
type Language = 'en-US' | 'pt-BR' | 'pt-PT' | 'es-419' | 'es-ES' | 'es-AR' | 'fr-FR' | 'fr-CA' | 'de-DE' | 'ko-KR';
|
|
21
21
|
interface Phone {
|
|
22
22
|
/** Country dial code — e.g. "+55" */
|
|
23
23
|
country_code: string;
|
|
@@ -669,6 +669,7 @@ interface Session {
|
|
|
669
669
|
updated_at: string;
|
|
670
670
|
expires_at: string;
|
|
671
671
|
sudo_expires_at?: string | null;
|
|
672
|
+
oauth_client_id?: string | null;
|
|
672
673
|
}
|
|
673
674
|
type OAuthAppType = 'public' | 'confidential';
|
|
674
675
|
type OAuthAppTokenEndpointAuthMethod = 'none' | 'client_secret_basic' | 'client_secret_post';
|
|
@@ -1951,7 +1952,7 @@ interface SendSMSParams {
|
|
|
1951
1952
|
params?: Record<string, unknown>;
|
|
1952
1953
|
}
|
|
1953
1954
|
type NotificationChannel = 'email' | 'sms' | 'webhook';
|
|
1954
|
-
type TemplateLanguage =
|
|
1955
|
+
type TemplateLanguage = Language;
|
|
1955
1956
|
interface TemplateTranslation {
|
|
1956
1957
|
language: TemplateLanguage;
|
|
1957
1958
|
subject?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ interface NulvlessStorage {
|
|
|
17
17
|
removeItem(key: string): Promise<void>;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
type Language = 'en-US' | 'pt-BR';
|
|
20
|
+
type Language = 'en-US' | 'pt-BR' | 'pt-PT' | 'es-419' | 'es-ES' | 'es-AR' | 'fr-FR' | 'fr-CA' | 'de-DE' | 'ko-KR';
|
|
21
21
|
interface Phone {
|
|
22
22
|
/** Country dial code — e.g. "+55" */
|
|
23
23
|
country_code: string;
|
|
@@ -669,6 +669,7 @@ interface Session {
|
|
|
669
669
|
updated_at: string;
|
|
670
670
|
expires_at: string;
|
|
671
671
|
sudo_expires_at?: string | null;
|
|
672
|
+
oauth_client_id?: string | null;
|
|
672
673
|
}
|
|
673
674
|
type OAuthAppType = 'public' | 'confidential';
|
|
674
675
|
type OAuthAppTokenEndpointAuthMethod = 'none' | 'client_secret_basic' | 'client_secret_post';
|
|
@@ -1951,7 +1952,7 @@ interface SendSMSParams {
|
|
|
1951
1952
|
params?: Record<string, unknown>;
|
|
1952
1953
|
}
|
|
1953
1954
|
type NotificationChannel = 'email' | 'sms' | 'webhook';
|
|
1954
|
-
type TemplateLanguage =
|
|
1955
|
+
type TemplateLanguage = Language;
|
|
1955
1956
|
interface TemplateTranslation {
|
|
1956
1957
|
language: TemplateLanguage;
|
|
1957
1958
|
subject?: string;
|