@appconda/nextjs 1.0.12 → 1.0.14

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.
Files changed (122) hide show
  1. package/dist/cjs/sdk.js +2648 -0
  2. package/dist/cjs/sdk.js.map +1 -1
  3. package/dist/esm/sdk.js +2647 -1
  4. package/dist/esm/sdk.js.map +1 -1
  5. package/dist/iife/sdk.js +2648 -2
  6. package/package.json +2 -1
  7. package/src/getAppcondaClient.ts +44 -0
  8. package/src/getSDKForCurrentUser.ts +75 -0
  9. package/src/index.ts +2 -0
  10. package/src/services/waitlist.ts +16 -0
  11. package/types/Cache/Adapter.d.ts +0 -10
  12. package/types/Cache/Adapters/Filesystem.d.ts +0 -16
  13. package/types/Cache/Adapters/Memory.d.ts +0 -18
  14. package/types/Cache/Adapters/None.d.ts +0 -12
  15. package/types/Cache/Adapters/Redis.d.ts +0 -14
  16. package/types/Cache/Adapters/Sharding.d.ts +0 -17
  17. package/types/Cache/Cache.d.ts +0 -16
  18. package/types/Cache/index.d.ts +0 -5
  19. package/types/Cache/test.d.ts +0 -0
  20. package/types/Services.d.ts +0 -6
  21. package/types/client.d.ts +0 -141
  22. package/types/decorators/Cache.d.ts +0 -1
  23. package/types/decorators/CacheKey.d.ts +0 -1
  24. package/types/decorators/Invalidate.d.ts +0 -1
  25. package/types/enums/api-service.d.ts +0 -13
  26. package/types/enums/api.d.ts +0 -5
  27. package/types/enums/auth-method.d.ts +0 -9
  28. package/types/enums/authentication-factor.d.ts +0 -6
  29. package/types/enums/authenticator-type.d.ts +0 -3
  30. package/types/enums/browser.d.ts +0 -16
  31. package/types/enums/compression.d.ts +0 -5
  32. package/types/enums/credit-card.d.ts +0 -18
  33. package/types/enums/database-usage-range.d.ts +0 -5
  34. package/types/enums/email-template-locale.d.ts +0 -133
  35. package/types/enums/email-template-type.d.ts +0 -9
  36. package/types/enums/entities/EntityLimitType.d.ts +0 -4
  37. package/types/enums/entities/PropertyAttributeName.d.ts +0 -27
  38. package/types/enums/entities/PropertyCondition.d.ts +0 -7
  39. package/types/enums/entities/PropertyType.d.ts +0 -12
  40. package/types/enums/entities/PropertyValueType.d.ts +0 -6
  41. package/types/enums/entities/RowAccess.d.ts +0 -2
  42. package/types/enums/entities/ViewFilterCondition.d.ts +0 -12
  43. package/types/enums/execution-method.d.ts +0 -8
  44. package/types/enums/flag.d.ts +0 -197
  45. package/types/enums/function-usage-range.d.ts +0 -5
  46. package/types/enums/image-format.d.ts +0 -7
  47. package/types/enums/image-gravity.d.ts +0 -11
  48. package/types/enums/index-type.d.ts +0 -5
  49. package/types/enums/messaging-provider-type.d.ts +0 -5
  50. package/types/enums/name.d.ts +0 -14
  51. package/types/enums/o-auth-provider copy.d.ts +0 -41
  52. package/types/enums/o-auth-provider.d.ts +0 -41
  53. package/types/enums/password-hash.d.ts +0 -13
  54. package/types/enums/platform-type.d.ts +0 -17
  55. package/types/enums/project-usage-range.d.ts +0 -4
  56. package/types/enums/region.d.ts +0 -4
  57. package/types/enums/relation-mutate.d.ts +0 -5
  58. package/types/enums/relationship-type.d.ts +0 -6
  59. package/types/enums/resource-type.d.ts +0 -4
  60. package/types/enums/runtime.d.ts +0 -48
  61. package/types/enums/s-m-t-p-secure.d.ts +0 -3
  62. package/types/enums/shared/ApplicationLayout.d.ts +0 -4
  63. package/types/enums/shared/Colors.d.ts +0 -24
  64. package/types/enums/shared/InputType.d.ts +0 -6
  65. package/types/enums/shared/Periodicity.d.ts +0 -7
  66. package/types/enums/shared/SvgIcon.d.ts +0 -37
  67. package/types/enums/shared/Theme.d.ts +0 -4
  68. package/types/enums/sms-template-locale.d.ts +0 -133
  69. package/types/enums/sms-template-type.d.ts +0 -6
  70. package/types/enums/smtp-encryption.d.ts +0 -5
  71. package/types/enums/storage-usage-range.d.ts +0 -5
  72. package/types/enums/subscriptions/PricingModel.d.ts +0 -11
  73. package/types/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
  74. package/types/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
  75. package/types/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
  76. package/types/enums/tenants/LinkedAccountStatus.d.ts +0 -5
  77. package/types/enums/tenants/TenantUserJoined.d.ts +0 -6
  78. package/types/enums/tenants/TenantUserStatus.d.ts +0 -6
  79. package/types/enums/tenants/TenantUserType.d.ts +0 -5
  80. package/types/enums/user-usage-range.d.ts +0 -5
  81. package/types/id.d.ts +0 -20
  82. package/types/index.d.ts +0 -36
  83. package/types/inputFile.d.ts +0 -6
  84. package/types/lib/Registry/Registry.d.ts +0 -38
  85. package/types/lib/Registry/index.d.ts +0 -1
  86. package/types/models.d.ts +0 -3272
  87. package/types/permission.d.ts +0 -43
  88. package/types/query.d.ts +0 -194
  89. package/types/role.d.ts +0 -70
  90. package/types/service-client.d.ts +0 -7
  91. package/types/service.d.ts +0 -11
  92. package/types/services/account.d.ts +0 -530
  93. package/types/services/acl.d.ts +0 -28
  94. package/types/services/applets.d.ts +0 -9
  95. package/types/services/assistant.d.ts +0 -14
  96. package/types/services/avatars.d.ts +0 -115
  97. package/types/services/community.d.ts +0 -19
  98. package/types/services/configuration.d.ts +0 -5
  99. package/types/services/console.d.ts +0 -15
  100. package/types/services/databases.d.ts +0 -613
  101. package/types/services/functions.d.ts +0 -319
  102. package/types/services/graphql.d.ts +0 -25
  103. package/types/services/health.d.ts +0 -231
  104. package/types/services/locale.d.ts +0 -80
  105. package/types/services/messaging.d.ts +0 -685
  106. package/types/services/migrations.d.ts +0 -185
  107. package/types/services/node.d.ts +0 -5
  108. package/types/services/permissions.d.ts +0 -20
  109. package/types/services/pricing.d.ts +0 -15
  110. package/types/services/project.d.ts +0 -70
  111. package/types/services/projects.d.ts +0 -542
  112. package/types/services/proxy.d.ts +0 -59
  113. package/types/services/roles.d.ts +0 -19
  114. package/types/services/schema.d.ts +0 -17
  115. package/types/services/storage.d.ts +0 -189
  116. package/types/services/subscription-product.d.ts +0 -77
  117. package/types/services/subscription.d.ts +0 -15
  118. package/types/services/teams.d.ts +0 -167
  119. package/types/services/tenant-subscription.d.ts +0 -12
  120. package/types/services/tenant.d.ts +0 -32
  121. package/types/services/users.d.ts +0 -499
  122. package/types/services/vcs.d.ts +0 -108
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@appconda/nextjs",
3
3
  "homepage": "https://appconda.io/support",
4
4
  "description": "Appconda is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5
- "version": "1.0.12",
5
+ "version": "1.0.14",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "dist/cjs/sdk.js",
8
8
  "exports": {
@@ -35,6 +35,7 @@
35
35
  "jsdelivr": "dist/iife/sdk.js",
36
36
  "unpkg": "dist/iife/sdk.js",
37
37
  "dependencies": {
38
+ "next": "^15.2.3",
38
39
  "node-fetch-native-with-agent": "^1.7.2",
39
40
  "redis": "^4.7.0",
40
41
  "zod": "^3.24.2"
@@ -0,0 +1,44 @@
1
+ import { Client } from "./client";
2
+
3
+ function getPortAndHostname(urlString: string): { hostname: string; port: string; protocol: string } {
4
+ try {
5
+ const url = new URL(urlString);
6
+ return {
7
+ hostname: url.hostname,
8
+ port: url.port || (url.protocol === 'https:' ? '443' : '80'), // Default ports if not specified
9
+ protocol: url.protocol
10
+ };
11
+ } catch (error) {
12
+ console.error('Invalid URL:', error);
13
+ return { hostname: '', port: '', protocol: '' };
14
+ }
15
+ }
16
+
17
+ export async function getAppcondaClient() {
18
+
19
+ let url;
20
+ if (process.env.NEXT_PUBLIC_APPCONDA_CLIENT_ENDPOINT) {
21
+ url = process.env.NEXT_PUBLIC_APPCONDA_CLIENT_ENDPOINT;
22
+ } else if (typeof window !== 'undefined') {
23
+ const hostInfo = getPortAndHostname(window.location.href);
24
+ if (hostInfo.port) {
25
+ url = `${hostInfo.protocol}//${hostInfo.hostname}:${hostInfo.port}/v1`
26
+ } else {
27
+ url = `${hostInfo.protocol}//${hostInfo.hostname}/v1`
28
+ }
29
+ } else {
30
+ url = 'http://appconda/v1'
31
+ }
32
+
33
+ /* if (ApplicationConfig.Port == null) {
34
+ url = `${ApplicationConfig.Protocol}://${ApplicationConfig.Domain}:${ApplicationConfig.Port}/v1`
35
+ } else {
36
+ url = `${ApplicationConfig.Protocol}://${ApplicationConfig.Domain}/v1`
37
+ } */
38
+ const adminClient = new Client()
39
+ .setEndpoint(url) // Your API Endpoint
40
+ .setProject('console');
41
+
42
+ return adminClient
43
+
44
+ }
@@ -0,0 +1,75 @@
1
+ import { cookies } from "next/headers";
2
+ import { getAppcondaClient } from "./getAppcondaClient";
3
+ import { Account } from "./services/account";
4
+ import { Community } from "./services/community";
5
+ import { Configuration } from "./services/configuration";
6
+ import { Databases } from "./services/databases";
7
+ import { Pricing } from "./services/pricing";
8
+ import { Projects } from "./services/projects";
9
+ import { Roles } from "./services/roles";
10
+ import { Schemas } from "./services/schema";
11
+ import { Subscription } from "./services/subscription";
12
+ import { Teams } from "./services/teams";
13
+ import { Tenant } from "./services/tenant";
14
+ import { TenantSubscription } from "./services/tenant-subscription";
15
+ import { Users } from "./services/users";
16
+ import { Node } from "./services/node";
17
+ import { Permissions } from "./services/permissions";
18
+
19
+ export async function getSDKForCurrentUser() {
20
+ const adminClient = await getAppcondaClient();
21
+
22
+ const c = await cookies()
23
+ const s = c.get('a_session') || c.get('a_session_console_legacy');
24
+ if (!s || !s.value) {
25
+ throw new Error("No session");
26
+ }
27
+
28
+ adminClient.setSession(s.value);
29
+
30
+ const accounts = new Account(adminClient);
31
+ const databases = new Databases(adminClient);
32
+
33
+ const projects = new Projects(adminClient);
34
+
35
+ const currentUser = await accounts.get();
36
+
37
+ const users = new Users(adminClient);
38
+ const teams = new Teams(adminClient);
39
+
40
+ const tenants = new Tenant(adminClient);
41
+ const roles = new Roles(adminClient);
42
+ const permissions = new Permissions(adminClient);
43
+ const schemas = new Schemas(adminClient);
44
+
45
+ const community = new Community(adminClient);
46
+
47
+ const tenantSubscriptions = new TenantSubscription(adminClient);
48
+
49
+ const subscription = new Subscription(adminClient);
50
+ const pricing = new Pricing(adminClient);
51
+ const configuration = new Configuration(adminClient);
52
+ //const acl = new Acl(adminClient);
53
+
54
+ const node = new Node(adminClient);
55
+
56
+ return {
57
+ currentUser,
58
+ accounts,
59
+ databases,
60
+ projects,
61
+ users,
62
+ teams,
63
+ tenants,
64
+ roles,
65
+ permissions,
66
+ schemas,
67
+ community,
68
+ tenantSubscriptions,
69
+ subscription,
70
+ pricing,
71
+ configuration,
72
+ // acl,
73
+ node
74
+ }
75
+ }
package/src/index.ts CHANGED
@@ -11,6 +11,7 @@ export { Messaging } from './services/messaging';
11
11
  export { Storage } from './services/storage';
12
12
  export { Teams } from './services/teams';
13
13
  export { Users } from './services/users';
14
+ export { Waitlist } from './services/waitlist';
14
15
  export type { Models, Payload, UploadProgress } from './client';
15
16
  export type { QueryTypes, QueryTypesList } from './query';
16
17
  export { Permission } from './permission';
@@ -34,3 +35,4 @@ export { ImageGravity } from './enums/image-gravity';
34
35
  export { ImageFormat } from './enums/image-format';
35
36
  export { PasswordHash } from './enums/password-hash';
36
37
  export { MessagingProviderType } from './enums/messaging-provider-type';
38
+ export { getSDKForCurrentUser } from './getSDKForCurrentUser';
@@ -0,0 +1,16 @@
1
+
2
+ import { Payload } from "../client";
3
+ import { ServiceClient } from "../service-client";
4
+
5
+ export class Waitlist extends ServiceClient {
6
+ protected getServiceName(): string {
7
+ return 'com.appconda.service.waitlist';
8
+ }
9
+
10
+ public async ListWiatlistSignups(waitlistId: string): Promise<any[]> {
11
+ const payload: Payload = {};
12
+ payload['waitlistId']
13
+ return await this.actionCall('ListWiatlistSignups', payload);
14
+ }
15
+
16
+ }
@@ -1,10 +0,0 @@
1
- export interface Adapter {
2
- load(key: string, ttl: number, hash?: string): Promise<any>;
3
- save(key: string, data: any, hash?: string): Promise<boolean | string | any[]>;
4
- list(key: string): Promise<string[]>;
5
- purge(key: string, hash?: string): Promise<boolean>;
6
- flush(): Promise<boolean>;
7
- ping(): Promise<boolean>;
8
- getSize(): Promise<number>;
9
- delWithStart(pattern: string): Promise<number>;
10
- }
@@ -1,16 +0,0 @@
1
- import { Adapter } from "../Adapter";
2
- export declare class Filesystem implements Adapter {
3
- protected path: string;
4
- constructor(path: string);
5
- delWithStart(pattern: string): Promise<number>;
6
- load(key: string, ttl: number, hash?: string): Promise<any>;
7
- save(key: string, data: any, hash?: string): Promise<boolean | string | any[]>;
8
- list(key: string): Promise<string[]>;
9
- purge(key: string, hash?: string): Promise<boolean>;
10
- flush(): Promise<boolean>;
11
- ping(): Promise<boolean>;
12
- getSize(): Promise<number>;
13
- private getDirectorySize;
14
- getPath(filename: string): string;
15
- protected deleteDirectory(dirPath: string): boolean;
16
- }
@@ -1,18 +0,0 @@
1
- import { Adapter } from "../Adapter";
2
- export declare class Memory implements Adapter {
3
- store: {
4
- [key: string]: {
5
- time: number;
6
- data: any;
7
- };
8
- };
9
- constructor();
10
- delWithStart(pattern: string): Promise<number>;
11
- load(key: string, ttl: number, hash?: string): Promise<any>;
12
- save(key: string, data: any, hash?: string): Promise<boolean | string | any[]>;
13
- list(key: string): Promise<string[]>;
14
- purge(key: string, hash?: string): Promise<boolean>;
15
- flush(): Promise<boolean>;
16
- ping(): Promise<boolean>;
17
- getSize(): Promise<number>;
18
- }
@@ -1,12 +0,0 @@
1
- import { Adapter } from "../Adapter";
2
- export declare class None implements Adapter {
3
- constructor();
4
- delWithStart(pattern: string): Promise<number>;
5
- load(key: string, ttl: number, hash?: string): Promise<any>;
6
- save(key: string, data: any, hash?: string): Promise<boolean | string | any[]>;
7
- list(key: string): Promise<string[]>;
8
- purge(key: string, hash?: string): Promise<boolean>;
9
- flush(): Promise<boolean>;
10
- ping(): Promise<boolean>;
11
- getSize(): Promise<number>;
12
- }
@@ -1,14 +0,0 @@
1
- import { RedisClientType } from 'redis';
2
- import { Adapter } from "../Adapter";
3
- export declare class Redis implements Adapter {
4
- protected redis: RedisClientType;
5
- constructor(redis: RedisClientType);
6
- load(key: string, ttl: number, hash?: string): Promise<any>;
7
- save(key: string, data: any, hash?: string): Promise<boolean | string | any[]>;
8
- list(key: string): Promise<string[]>;
9
- purge(key: string, hash?: string): Promise<boolean>;
10
- flush(): Promise<boolean>;
11
- ping(): Promise<boolean>;
12
- getSize(): Promise<number>;
13
- delWithStart(pattern: string): Promise<number>;
14
- }
@@ -1,17 +0,0 @@
1
- import { Adapter } from "../Adapter";
2
- export declare class Sharding implements Adapter {
3
- protected adapters: Adapter[];
4
- protected count: number;
5
- constructor(adapters: Adapter[]);
6
- delWithStart(pattern: string): Promise<number>;
7
- load(key: string, ttl: number, hash?: string): Promise<any>;
8
- save(key: string, data: any, hash?: string): Promise<boolean | string | any[]>;
9
- list(key: string): Promise<string[]>;
10
- purge(key: string, hash?: string): Promise<boolean>;
11
- flush(): Promise<boolean>;
12
- ping(): Promise<boolean>;
13
- getSize(): Promise<number>;
14
- protected getAdapter(key: string): Adapter;
15
- private crc32;
16
- private crc32Table;
17
- }
@@ -1,16 +0,0 @@
1
- import { Adapter } from "./Adapter";
2
- export declare class Cache {
3
- private adapter;
4
- static caseSensitive: boolean;
5
- constructor(adapter: Adapter);
6
- private constructKey;
7
- static setCaseSensitivity(value: boolean): boolean;
8
- load(key: string | string[], ttl?: number, hash?: string): Promise<any>;
9
- save(key: string | string[], data: any, hash?: string): Promise<boolean | string | any[]>;
10
- list(key: string | string[]): Promise<string[]>;
11
- purge(key: string | string[], hash?: string): Promise<boolean>;
12
- flush(): Promise<boolean>;
13
- ping(): Promise<boolean>;
14
- getSize(): Promise<number>;
15
- delWithStart(keys: string | string[]): Promise<number>;
16
- }
@@ -1,5 +0,0 @@
1
- export * from './Cache';
2
- export * from './Adapters/None';
3
- export * from './Adapters/Redis';
4
- export * from './Adapters/Sharding';
5
- export * from './Adapters/Memory';
File without changes
@@ -1,6 +0,0 @@
1
- import { Registry } from "@/lib/Registry";
2
- import { Cache } from "./Cache";
3
- export declare const registry: Registry;
4
- export declare class Services {
5
- static get Cache(): Cache;
6
- }
package/types/client.d.ts DELETED
@@ -1,141 +0,0 @@
1
- import { Models } from './models';
2
- type Payload = {
3
- [key: string]: any;
4
- };
5
- type UploadProgress = {
6
- $id: string;
7
- progress: number;
8
- sizeUploaded: number;
9
- chunksTotal: number;
10
- chunksUploaded: number;
11
- };
12
- type Headers = {
13
- [key: string]: string;
14
- };
15
- declare class AppcondaException extends Error {
16
- code: number;
17
- response: string;
18
- type: string;
19
- constructor(message: string, code?: number, type?: string, response?: string);
20
- }
21
- declare class Client {
22
- static CHUNK_SIZE: number;
23
- config: {
24
- endpoint: string;
25
- selfSigned: boolean;
26
- project: string;
27
- mode: string;
28
- key: string;
29
- jwt: string;
30
- locale: string;
31
- session: string;
32
- forwardeduseragent: string;
33
- };
34
- headers: Headers;
35
- /**
36
- * Set Endpoint
37
- *
38
- * Your project endpoint
39
- *
40
- * @param {string} endpoint
41
- *
42
- * @returns {this}
43
- */
44
- setEndpoint(endpoint: string): this;
45
- /**
46
- * Set self-signed
47
- *
48
- * @param {boolean} selfSigned
49
- *
50
- * @returns {this}
51
- */
52
- setSelfSigned(selfSigned: boolean): this;
53
- /**
54
- * Add header
55
- *
56
- * @param {string} header
57
- * @param {string} value
58
- *
59
- * @returns {this}
60
- */
61
- addHeader(header: string, value: string): this;
62
- /**
63
- * Set Project
64
- *
65
- * Your project ID
66
- *
67
- * @param value string
68
- *
69
- * @return {this}
70
- */
71
- setProject(value: string): this;
72
- /**
73
- * Set Mode
74
- *
75
- * @param value string
76
- *
77
- * @return {this}
78
- */
79
- setMode(value: string): this;
80
- /**
81
- * Set Key
82
- *
83
- * Your secret API key
84
- *
85
- * @param value string
86
- *
87
- * @return {this}
88
- */
89
- setKey(value: string): this;
90
- /**
91
- * Set JWT
92
- *
93
- * Your secret JSON Web Token
94
- *
95
- * @param value string
96
- *
97
- * @return {this}
98
- */
99
- setJWT(value: string): this;
100
- /**
101
- * Set Locale
102
- *
103
- * @param value string
104
- *
105
- * @return {this}
106
- */
107
- setLocale(value: string): this;
108
- /**
109
- * Set Session
110
- *
111
- * The user session to authenticate with
112
- *
113
- * @param value string
114
- *
115
- * @return {this}
116
- */
117
- setSession(value: string): this;
118
- /**
119
- * Set ForwardedUserAgent
120
- *
121
- * The user agent string of the client that made the request
122
- *
123
- * @param value string
124
- *
125
- * @return {this}
126
- */
127
- setForwardedUserAgent(value: string): this;
128
- setFallbackCookies(value: string): this;
129
- prepareRequest(method: string, url: URL, headers?: Headers, params?: Payload): {
130
- uri: string;
131
- options: RequestInit;
132
- };
133
- chunkedUpload(method: string, url: URL, headers: Headers, originalPayload: Payload, onProgress: (progress: UploadProgress) => void): Promise<any>;
134
- redirect(method: string, url: URL, headers?: Headers, params?: Payload): Promise<string>;
135
- call(method: string, url: URL, headers?: Headers, params?: Payload, responseType?: string): Promise<any>;
136
- static flatten(data: Payload, prefix?: string): Payload;
137
- }
138
- export { Client, AppcondaException };
139
- export { Query } from './query';
140
- export type { Models, Payload, UploadProgress };
141
- export type { QueryTypes, QueryTypesList } from './query';
@@ -1 +0,0 @@
1
- export declare function Cache(): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
@@ -1 +0,0 @@
1
- export declare function CacheKey(): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
@@ -1 +0,0 @@
1
- export declare function Invalidate(keys: string | string[]): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
@@ -1,13 +0,0 @@
1
- export declare enum ApiService {
2
- Account = "account",
3
- Avatars = "avatars",
4
- Databases = "databases",
5
- Locale = "locale",
6
- Health = "health",
7
- Storage = "storage",
8
- Teams = "teams",
9
- Users = "users",
10
- Functions = "functions",
11
- Graphql = "graphql",
12
- Messaging = "messaging"
13
- }
@@ -1,5 +0,0 @@
1
- export declare enum Api {
2
- Rest = "rest",
3
- Graphql = "graphql",
4
- Realtime = "realtime"
5
- }
@@ -1,9 +0,0 @@
1
- export declare enum AuthMethod {
2
- Emailpassword = "email-password",
3
- Magicurl = "magic-url",
4
- Emailotp = "email-otp",
5
- Anonymous = "anonymous",
6
- Invites = "invites",
7
- Jwt = "jwt",
8
- Phone = "phone"
9
- }
@@ -1,6 +0,0 @@
1
- export declare enum AuthenticationFactor {
2
- Email = "email",
3
- Phone = "phone",
4
- Totp = "totp",
5
- Recoverycode = "recoverycode"
6
- }
@@ -1,3 +0,0 @@
1
- export declare enum AuthenticatorType {
2
- Totp = "totp"
3
- }
@@ -1,16 +0,0 @@
1
- export declare enum Browser {
2
- AvantBrowser = "aa",
3
- AndroidWebViewBeta = "an",
4
- GoogleChrome = "ch",
5
- GoogleChromeIOS = "ci",
6
- GoogleChromeMobile = "cm",
7
- Chromium = "cr",
8
- MozillaFirefox = "ff",
9
- Safari = "sf",
10
- MobileSafari = "mf",
11
- MicrosoftEdge = "ps",
12
- MicrosoftEdgeIOS = "oi",
13
- OperaMini = "om",
14
- Opera = "op",
15
- OperaNext = "on"
16
- }
@@ -1,5 +0,0 @@
1
- export declare enum Compression {
2
- None = "none",
3
- Gzip = "gzip",
4
- Zstd = "zstd"
5
- }
@@ -1,18 +0,0 @@
1
- export declare enum CreditCard {
2
- AmericanExpress = "amex",
3
- Argencard = "argencard",
4
- Cabal = "cabal",
5
- Cencosud = "cencosud",
6
- DinersClub = "diners",
7
- Discover = "discover",
8
- Elo = "elo",
9
- Hipercard = "hipercard",
10
- JCB = "jcb",
11
- Mastercard = "mastercard",
12
- Naranja = "naranja",
13
- TarjetaShopping = "targeta-shopping",
14
- UnionChinaPay = "union-china-pay",
15
- Visa = "visa",
16
- MIR = "mir",
17
- Maestro = "maestro"
18
- }
@@ -1,5 +0,0 @@
1
- export declare enum DatabaseUsageRange {
2
- TwentyFourHours = "24h",
3
- ThirtyDays = "30d",
4
- NinetyDays = "90d"
5
- }
@@ -1,133 +0,0 @@
1
- export declare enum EmailTemplateLocale {
2
- Af = "af",
3
- Arae = "ar-ae",
4
- Arbh = "ar-bh",
5
- Ardz = "ar-dz",
6
- Areg = "ar-eg",
7
- Ariq = "ar-iq",
8
- Arjo = "ar-jo",
9
- Arkw = "ar-kw",
10
- Arlb = "ar-lb",
11
- Arly = "ar-ly",
12
- Arma = "ar-ma",
13
- Arom = "ar-om",
14
- Arqa = "ar-qa",
15
- Arsa = "ar-sa",
16
- Arsy = "ar-sy",
17
- Artn = "ar-tn",
18
- Arye = "ar-ye",
19
- As = "as",
20
- Az = "az",
21
- Be = "be",
22
- Bg = "bg",
23
- Bh = "bh",
24
- Bn = "bn",
25
- Bs = "bs",
26
- Ca = "ca",
27
- Cs = "cs",
28
- Cy = "cy",
29
- Da = "da",
30
- De = "de",
31
- Deat = "de-at",
32
- Dech = "de-ch",
33
- Deli = "de-li",
34
- Delu = "de-lu",
35
- El = "el",
36
- En = "en",
37
- Enau = "en-au",
38
- Enbz = "en-bz",
39
- Enca = "en-ca",
40
- Engb = "en-gb",
41
- Enie = "en-ie",
42
- Enjm = "en-jm",
43
- Ennz = "en-nz",
44
- Entt = "en-tt",
45
- Enus = "en-us",
46
- Enza = "en-za",
47
- Eo = "eo",
48
- Es = "es",
49
- Esar = "es-ar",
50
- Esbo = "es-bo",
51
- Escl = "es-cl",
52
- Esco = "es-co",
53
- Escr = "es-cr",
54
- Esdo = "es-do",
55
- Esec = "es-ec",
56
- Esgt = "es-gt",
57
- Eshn = "es-hn",
58
- Esmx = "es-mx",
59
- Esni = "es-ni",
60
- Espa = "es-pa",
61
- Espe = "es-pe",
62
- Espr = "es-pr",
63
- Espy = "es-py",
64
- Essv = "es-sv",
65
- Esuy = "es-uy",
66
- Esve = "es-ve",
67
- Et = "et",
68
- Eu = "eu",
69
- Fa = "fa",
70
- Fi = "fi",
71
- Fo = "fo",
72
- Fr = "fr",
73
- Frbe = "fr-be",
74
- Frca = "fr-ca",
75
- Frch = "fr-ch",
76
- Frlu = "fr-lu",
77
- Ga = "ga",
78
- Gd = "gd",
79
- He = "he",
80
- Hi = "hi",
81
- Hr = "hr",
82
- Hu = "hu",
83
- Id = "id",
84
- Is = "is",
85
- It = "it",
86
- Itch = "it-ch",
87
- Ja = "ja",
88
- Ji = "ji",
89
- Ko = "ko",
90
- Ku = "ku",
91
- Lt = "lt",
92
- Lv = "lv",
93
- Mk = "mk",
94
- Ml = "ml",
95
- Ms = "ms",
96
- Mt = "mt",
97
- Nb = "nb",
98
- Ne = "ne",
99
- Nl = "nl",
100
- Nlbe = "nl-be",
101
- Nn = "nn",
102
- No = "no",
103
- Pa = "pa",
104
- Pl = "pl",
105
- Pt = "pt",
106
- Ptbr = "pt-br",
107
- Rm = "rm",
108
- Ro = "ro",
109
- Romd = "ro-md",
110
- Ru = "ru",
111
- Rumd = "ru-md",
112
- Sb = "sb",
113
- Sk = "sk",
114
- Sl = "sl",
115
- Sq = "sq",
116
- Sr = "sr",
117
- Sv = "sv",
118
- Svfi = "sv-fi",
119
- Th = "th",
120
- Tn = "tn",
121
- Tr = "tr",
122
- Ts = "ts",
123
- Ua = "ua",
124
- Ur = "ur",
125
- Ve = "ve",
126
- Vi = "vi",
127
- Xh = "xh",
128
- Zhcn = "zh-cn",
129
- Zhhk = "zh-hk",
130
- Zhsg = "zh-sg",
131
- Zhtw = "zh-tw",
132
- Zu = "zu"
133
- }