@appconda/nextjs 1.0.39 → 1.0.41

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 (124) hide show
  1. package/dist/actions/actionClient.d.ts +1 -1
  2. package/dist/actions/actionClient.js +6 -3
  3. package/dist/actions/index.js +17 -1
  4. package/dist/actions/nodes.d.ts +1 -1
  5. package/dist/actions/nodes.js +7 -4
  6. package/dist/client.js +39 -33
  7. package/dist/decorators/Cache.js +7 -4
  8. package/dist/decorators/CacheKey.js +4 -1
  9. package/dist/decorators/Invalidate.js +7 -4
  10. package/dist/enums/api-service.js +5 -2
  11. package/dist/enums/api.js +5 -2
  12. package/dist/enums/auth-method.js +5 -2
  13. package/dist/enums/authentication-factor.js +5 -2
  14. package/dist/enums/authenticator-type.js +5 -2
  15. package/dist/enums/browser.js +5 -2
  16. package/dist/enums/compression.js +5 -2
  17. package/dist/enums/credit-card.js +5 -2
  18. package/dist/enums/database-usage-range.js +5 -2
  19. package/dist/enums/email-template-locale.js +5 -2
  20. package/dist/enums/email-template-type.js +5 -2
  21. package/dist/enums/entities/EntityLimitType.js +5 -2
  22. package/dist/enums/entities/PropertyAttributeName.js +5 -2
  23. package/dist/enums/entities/PropertyCondition.js +5 -2
  24. package/dist/enums/entities/PropertyType.js +5 -2
  25. package/dist/enums/entities/PropertyValueType.js +5 -2
  26. package/dist/enums/entities/RowAccess.js +4 -1
  27. package/dist/enums/entities/ViewFilterCondition.js +5 -2
  28. package/dist/enums/execution-method.js +5 -2
  29. package/dist/enums/flag.js +5 -2
  30. package/dist/enums/function-usage-range.js +5 -2
  31. package/dist/enums/image-format.js +5 -2
  32. package/dist/enums/image-gravity.js +5 -2
  33. package/dist/enums/index-type.js +5 -2
  34. package/dist/enums/messaging-provider-type.js +5 -2
  35. package/dist/enums/name.js +5 -2
  36. package/dist/enums/o-auth-provider copy.js +5 -2
  37. package/dist/enums/o-auth-provider.js +5 -2
  38. package/dist/enums/password-hash.js +5 -2
  39. package/dist/enums/platform-type.js +5 -2
  40. package/dist/enums/project-usage-range.js +5 -2
  41. package/dist/enums/region.js +5 -2
  42. package/dist/enums/relation-mutate.js +5 -2
  43. package/dist/enums/relationship-type.js +5 -2
  44. package/dist/enums/resource-type.js +5 -2
  45. package/dist/enums/runtime.js +5 -2
  46. package/dist/enums/s-m-t-p-secure.js +5 -2
  47. package/dist/enums/shared/ApplicationLayout.js +5 -2
  48. package/dist/enums/shared/Colors.js +5 -2
  49. package/dist/enums/shared/InputType.js +5 -2
  50. package/dist/enums/shared/Periodicity.js +5 -2
  51. package/dist/enums/shared/SvgIcon.js +5 -2
  52. package/dist/enums/shared/Theme.js +5 -2
  53. package/dist/enums/sms-template-locale.js +5 -2
  54. package/dist/enums/sms-template-type.js +5 -2
  55. package/dist/enums/smtp-encryption.js +5 -2
  56. package/dist/enums/storage-usage-range.js +5 -2
  57. package/dist/enums/subscriptions/PricingModel.js +7 -4
  58. package/dist/enums/subscriptions/SubscriptionBillingPeriod.js +7 -4
  59. package/dist/enums/subscriptions/SubscriptionFeatureLimitType.js +7 -4
  60. package/dist/enums/subscriptions/SubscriptionPriceType.js +7 -4
  61. package/dist/enums/tenants/LinkedAccountStatus.js +5 -2
  62. package/dist/enums/tenants/TenantUserJoined.js +5 -2
  63. package/dist/enums/tenants/TenantUserStatus.js +5 -2
  64. package/dist/enums/tenants/TenantUserType.js +5 -2
  65. package/dist/enums/user-usage-range.js +5 -2
  66. package/dist/getAppcondaClient.js +6 -3
  67. package/dist/getSDKForCurrentUser.js +40 -37
  68. package/dist/id.js +20 -16
  69. package/dist/index.d.ts +1 -1
  70. package/dist/index.js +91 -38
  71. package/dist/inputFile.js +10 -6
  72. package/dist/lib/Cache/Adapter.js +2 -1
  73. package/dist/lib/Cache/Adapters/Filesystem.js +6 -2
  74. package/dist/lib/Cache/Adapters/Memory.js +7 -4
  75. package/dist/lib/Cache/Adapters/None.js +5 -1
  76. package/dist/lib/Cache/Adapters/Sharding.js +19 -14
  77. package/dist/lib/Cache/Cache.js +7 -2
  78. package/dist/lib/Cache/index.js +20 -4
  79. package/dist/lib/Cache/test.d.ts +1 -0
  80. package/dist/lib/Cache/test.js +2 -0
  81. package/dist/lib/Registry/Registry.js +23 -21
  82. package/dist/lib/Registry/index.js +17 -1
  83. package/dist/lib/Services.js +12 -8
  84. package/dist/models.js +2 -1
  85. package/dist/modules/index.js +17 -1
  86. package/dist/modules/waitlist/action.d.ts +2 -2
  87. package/dist/modules/waitlist/action.js +11 -8
  88. package/dist/modules/waitlist/index.js +19 -3
  89. package/dist/modules/waitlist/schema.js +6 -3
  90. package/dist/modules/waitlist/service.js +6 -2
  91. package/dist/permission.js +53 -49
  92. package/dist/query.js +175 -168
  93. package/dist/role.js +5 -1
  94. package/dist/schemas/nodes.d.ts +1 -0
  95. package/dist/schemas/nodes.js +2 -0
  96. package/dist/service-client.js +6 -1
  97. package/dist/service.js +10 -5
  98. package/dist/services/account.js +63 -58
  99. package/dist/services/applets.js +9 -4
  100. package/dist/services/avatars.js +13 -8
  101. package/dist/services/community.js +10 -5
  102. package/dist/services/configuration.js +6 -2
  103. package/dist/services/databases.js +155 -150
  104. package/dist/services/functions.js +47 -42
  105. package/dist/services/graphql.js +9 -4
  106. package/dist/services/health.js +8 -3
  107. package/dist/services/locale.js +6 -1
  108. package/dist/services/messaging.js +71 -66
  109. package/dist/services/node.js +8 -4
  110. package/dist/services/permissions.js +12 -7
  111. package/dist/services/pricing.js +6 -2
  112. package/dist/services/projects.js +118 -113
  113. package/dist/services/roles.js +11 -6
  114. package/dist/services/schema.js +10 -5
  115. package/dist/services/storage.js +29 -24
  116. package/dist/services/subscription.js +6 -2
  117. package/dist/services/teams.js +30 -25
  118. package/dist/services/tenant-subscription.js +10 -5
  119. package/dist/services/tenant.js +13 -9
  120. package/dist/services/users.js +87 -82
  121. package/package.json +1 -1
  122. package/src/index.ts +1 -1
  123. package/src/modules/waitlist/action.ts +2 -1
  124. package/tsconfig.json +29 -26
@@ -1,4 +1,4 @@
1
- export declare const actionClient: import("next-safe-action").SafeActionClient<string, undefined, undefined, unknown, {}, undefined, undefined, undefined, readonly [], {
1
+ export declare const actionClient: import("next-safe-action", { with: { "resolution-mode": "import" } }).SafeActionClient<string, undefined, undefined, unknown, {}, undefined, undefined, undefined, readonly [], {
2
2
  formErrors: string[];
3
3
  fieldErrors: {};
4
4
  }, readonly []>;
@@ -1,5 +1,8 @@
1
- import { DEFAULT_SERVER_ERROR_MESSAGE, createSafeActionClient } from "next-safe-action";
2
- export const actionClient = createSafeActionClient({
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.actionClient = void 0;
4
+ const next_safe_action_1 = require("next-safe-action");
5
+ exports.actionClient = (0, next_safe_action_1.createSafeActionClient)({
3
6
  handleServerError(e) {
4
7
  /* if (
5
8
  e instanceof ResourceNotFoundError ||
@@ -14,7 +17,7 @@ export const actionClient = createSafeActionClient({
14
17
  } */
15
18
  // eslint-disable-next-line no-console -- This error needs to be logged for debugging server-side errors
16
19
  console.error("SERVER ERROR: ", e);
17
- return DEFAULT_SERVER_ERROR_MESSAGE;
20
+ return next_safe_action_1.DEFAULT_SERVER_ERROR_MESSAGE;
18
21
  },
19
22
  });
20
23
  /* export const authenticatedActionClient = actionClient.use(async ({ next }) => {
@@ -1 +1,17 @@
1
- export * from './nodes';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./nodes"), exports);
@@ -1,4 +1,4 @@
1
- export declare const getAllNodesAction: import("next-safe-action/.").SafeActionFn<string, undefined, readonly [], {
1
+ export declare const getAllNodesAction: import("next-safe-action", { with: { "resolution-mode": "import" } }).SafeActionFn<string, undefined, readonly [], {
2
2
  formErrors: string[];
3
3
  fieldErrors: {};
4
4
  }, readonly [], any[]>;
@@ -1,11 +1,14 @@
1
1
  'use server';
2
- import { actionClient } from "./actionClient";
3
- import { getSDKForCurrentUser } from '../getSDKForCurrentUser';
4
- export const getAllNodesAction = actionClient
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.getAllNodesAction = void 0;
5
+ const actionClient_1 = require("./actionClient");
6
+ const getSDKForCurrentUser_1 = require("../getSDKForCurrentUser");
7
+ exports.getAllNodesAction = actionClient_1.actionClient
5
8
  // .schema(listModelsSchema)
6
9
  .action(async ({ parsedInput }) => {
7
10
  try {
8
- const { node } = await getSDKForCurrentUser();
11
+ const { node } = await (0, getSDKForCurrentUser_1.getSDKForCurrentUser)();
9
12
  return await node.GetAllNodes();
10
13
  }
11
14
  catch (error) {
package/dist/client.js CHANGED
@@ -1,6 +1,12 @@
1
- import { fetch, FormData, File } from 'node-fetch-native-with-agent';
2
- import { createAgent } from 'node-fetch-native-with-agent/agent';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Query = exports.AppcondaException = exports.Client = void 0;
4
+ const node_fetch_native_with_agent_1 = require("node-fetch-native-with-agent");
5
+ const agent_1 = require("node-fetch-native-with-agent/agent");
3
6
  class AppcondaException extends Error {
7
+ code;
8
+ response;
9
+ type;
4
10
  constructor(message, code = 0, type = '', response = '') {
5
11
  super(message);
6
12
  this.name = 'AppcondaException';
@@ -10,6 +16,7 @@ class AppcondaException extends Error {
10
16
  this.response = response;
11
17
  }
12
18
  }
19
+ exports.AppcondaException = AppcondaException;
13
20
  function getUserAgent() {
14
21
  let ua = 'AppcondaNodeJSSDK/14.1.0';
15
22
  // `process` is a global in Node.js, but not fully available in all runtimes.
@@ -42,27 +49,26 @@ function getUserAgent() {
42
49
  return ua;
43
50
  }
44
51
  class Client {
45
- constructor() {
46
- this.config = {
47
- endpoint: 'https://cloud.appconda.io/v1',
48
- selfSigned: false,
49
- project: '',
50
- mode: '',
51
- key: '',
52
- jwt: '',
53
- locale: '',
54
- session: '',
55
- forwardeduseragent: '',
56
- };
57
- this.headers = {
58
- 'x-sdk-name': 'Node.js',
59
- 'x-sdk-platform': 'server',
60
- 'x-sdk-language': 'nodejs',
61
- 'x-sdk-version': '14.1.0',
62
- 'user-agent': getUserAgent(),
63
- 'X-Appconda-Response-Format': '1.6.0',
64
- };
65
- }
52
+ static CHUNK_SIZE = 1024 * 1024 * 5;
53
+ config = {
54
+ endpoint: 'https://cloud.appconda.io/v1',
55
+ selfSigned: false,
56
+ project: '',
57
+ mode: '',
58
+ key: '',
59
+ jwt: '',
60
+ locale: '',
61
+ session: '',
62
+ forwardeduseragent: '',
63
+ };
64
+ headers = {
65
+ 'x-sdk-name': 'Node.js',
66
+ 'x-sdk-platform': 'server',
67
+ 'x-sdk-language': 'nodejs',
68
+ 'x-sdk-version': '14.1.0',
69
+ 'user-agent': getUserAgent(),
70
+ 'X-Appconda-Response-Format': '1.6.0',
71
+ };
66
72
  /**
67
73
  * Set Endpoint
68
74
  *
@@ -208,7 +214,7 @@ class Client {
208
214
  let options = {
209
215
  method,
210
216
  headers,
211
- ...createAgent(this.config.endpoint, { rejectUnauthorized: !this.config.selfSigned }),
217
+ ...(0, agent_1.createAgent)(this.config.endpoint, { rejectUnauthorized: !this.config.selfSigned }),
212
218
  };
213
219
  if (method === 'GET') {
214
220
  for (const [key, value] of Object.entries(Client.flatten(params))) {
@@ -221,9 +227,9 @@ class Client {
221
227
  options.body = JSON.stringify(params);
222
228
  break;
223
229
  case 'multipart/form-data':
224
- const formData = new FormData();
230
+ const formData = new node_fetch_native_with_agent_1.FormData();
225
231
  for (const [key, value] of Object.entries(params)) {
226
- if (value instanceof File) {
232
+ if (value instanceof node_fetch_native_with_agent_1.File) {
227
233
  formData.append(key, value, value.name);
228
234
  }
229
235
  else if (Array.isArray(value)) {
@@ -243,7 +249,7 @@ class Client {
243
249
  return { uri: url.toString(), options };
244
250
  }
245
251
  async chunkedUpload(method, url, headers = {}, originalPayload = {}, onProgress) {
246
- const file = Object.values(originalPayload).find((value) => value instanceof File);
252
+ const file = Object.values(originalPayload).find((value) => value instanceof node_fetch_native_with_agent_1.File);
247
253
  if (file.size <= Client.CHUNK_SIZE) {
248
254
  return await this.call(method, url, headers, originalPayload);
249
255
  }
@@ -256,7 +262,7 @@ class Client {
256
262
  }
257
263
  headers['content-range'] = `bytes ${start}-${end - 1}/${file.size}`;
258
264
  const chunk = file.slice(start, end);
259
- let payload = { ...originalPayload, file: new File([chunk], file.name) };
265
+ let payload = { ...originalPayload, file: new node_fetch_native_with_agent_1.File([chunk], file.name) };
260
266
  response = await this.call(method, url, headers, payload);
261
267
  if (onProgress && typeof onProgress === 'function') {
262
268
  onProgress({
@@ -276,7 +282,7 @@ class Client {
276
282
  }
277
283
  async redirect(method, url, headers = {}, params = {}) {
278
284
  const { uri, options } = this.prepareRequest(method, url, headers, params);
279
- const response = await fetch(uri, {
285
+ const response = await (0, node_fetch_native_with_agent_1.fetch)(uri, {
280
286
  ...options,
281
287
  redirect: 'manual'
282
288
  });
@@ -289,7 +295,7 @@ class Client {
289
295
  const { uri, options } = this.prepareRequest(method, url, headers, params);
290
296
  let data = null;
291
297
  try {
292
- const response = await fetch(uri, options);
298
+ const response = await (0, node_fetch_native_with_agent_1.fetch)(uri, options);
293
299
  const warnings = response.headers.get('x-appconda-warning');
294
300
  if (warnings) {
295
301
  warnings.split(';').forEach((warning) => console.warn('Warning: ' + warning));
@@ -329,6 +335,6 @@ class Client {
329
335
  return output;
330
336
  }
331
337
  }
332
- Client.CHUNK_SIZE = 1024 * 1024 * 5;
333
- export { Client, AppcondaException };
334
- export { Query } from './query';
338
+ exports.Client = Client;
339
+ var query_1 = require("./query");
340
+ Object.defineProperty(exports, "Query", { enumerable: true, get: function () { return query_1.Query; } });
@@ -1,4 +1,7 @@
1
- import { Services } from "lib/Services";
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Cache = Cache;
4
+ const Services_1 = require("lib/Services");
2
5
  function stableStringify(obj) {
3
6
  if (obj && typeof obj === "object" && !Array.isArray(obj)) {
4
7
  return `{${Object.keys(obj).sort().map(key => `"${key}":${stableStringify(obj[key])}`).join(",")}}`;
@@ -10,7 +13,7 @@ function generateCacheKey(...args) {
10
13
  }
11
14
  // console.log(generateCacheKey("user", 123, true, { role: "admin", permissions: ["read", "write"] }));
12
15
  // console.log(generateCacheKey("user", 123, true, { permissions: ["read", "write"], role: "admin" }));
13
- export function Cache( /* cacheKey?: string | string[] */) {
16
+ function Cache( /* cacheKey?: string | string[] */) {
14
17
  return function (target, propertyKey, descriptor) {
15
18
  const originalMethod = descriptor.value;
16
19
  descriptor.value = async function (...args) {
@@ -38,14 +41,14 @@ export function Cache( /* cacheKey?: string | string[] */) {
38
41
  // Cache key'i dizeye dönüştür
39
42
  // const key = Array.isArray(cacheKey) ? cacheKey.join(':') : cacheKey;
40
43
  // Cache'ten veri al
41
- let cachedData = await Services.Cache.load(cacheKey);
44
+ let cachedData = await Services_1.Services.Cache.load(cacheKey);
42
45
  if (cachedData != null) {
43
46
  return cachedData; // Cache'teki veriyi döndür
44
47
  }
45
48
  // Orijinal metodu çağır ve dönen değeri cache'e kaydet
46
49
  const result = await originalMethod.apply(this, args);
47
50
  // Cache'e kaydet (asenkron yapılır, beklenmez)
48
- Services.Cache.save(cacheKey, result);
51
+ Services_1.Services.Cache.save(cacheKey, result);
49
52
  console.log('------------------------------Cache executed..');
50
53
  return result;
51
54
  };
@@ -1,4 +1,7 @@
1
- export function CacheKey() {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CacheKey = CacheKey;
4
+ function CacheKey() {
2
5
  return function (target, propertyKey, parameterIndex) {
3
6
  if (!target.__cacheKeys) {
4
7
  target.__cacheKeys = [];
@@ -1,5 +1,8 @@
1
- import { Services } from "lib/Services";
2
- export function Invalidate(keys) {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Invalidate = Invalidate;
4
+ const Services_1 = require("lib/Services");
5
+ function Invalidate(keys) {
3
6
  return function (target, propertyKey, descriptor) {
4
7
  const originalMethod = descriptor.value;
5
8
  descriptor.value = async function (...args) {
@@ -11,8 +14,8 @@ export function Invalidate(keys) {
11
14
  const result = await originalMethod.apply(this, args);
12
15
  // Cache'e kaydet (asenkron yapılır, beklenmez)
13
16
  for (let key of keys) {
14
- Services.Cache.purge([...cacheKey, key]);
15
- Services.Cache.delWithStart([...cacheKey, key]);
17
+ Services_1.Services.Cache.purge([...cacheKey, key]);
18
+ Services_1.Services.Cache.delWithStart([...cacheKey, key]);
16
19
  }
17
20
  console.log('------------------------------Cache deleted.');
18
21
  return result;
@@ -1,4 +1,7 @@
1
- export var ApiService;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApiService = void 0;
4
+ var ApiService;
2
5
  (function (ApiService) {
3
6
  ApiService["Account"] = "account";
4
7
  ApiService["Avatars"] = "avatars";
@@ -11,4 +14,4 @@ export var ApiService;
11
14
  ApiService["Functions"] = "functions";
12
15
  ApiService["Graphql"] = "graphql";
13
16
  ApiService["Messaging"] = "messaging";
14
- })(ApiService || (ApiService = {}));
17
+ })(ApiService || (exports.ApiService = ApiService = {}));
package/dist/enums/api.js CHANGED
@@ -1,6 +1,9 @@
1
- export var Api;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Api = void 0;
4
+ var Api;
2
5
  (function (Api) {
3
6
  Api["Rest"] = "rest";
4
7
  Api["Graphql"] = "graphql";
5
8
  Api["Realtime"] = "realtime";
6
- })(Api || (Api = {}));
9
+ })(Api || (exports.Api = Api = {}));
@@ -1,4 +1,7 @@
1
- export var AuthMethod;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthMethod = void 0;
4
+ var AuthMethod;
2
5
  (function (AuthMethod) {
3
6
  AuthMethod["Emailpassword"] = "email-password";
4
7
  AuthMethod["Magicurl"] = "magic-url";
@@ -7,4 +10,4 @@ export var AuthMethod;
7
10
  AuthMethod["Invites"] = "invites";
8
11
  AuthMethod["Jwt"] = "jwt";
9
12
  AuthMethod["Phone"] = "phone";
10
- })(AuthMethod || (AuthMethod = {}));
13
+ })(AuthMethod || (exports.AuthMethod = AuthMethod = {}));
@@ -1,7 +1,10 @@
1
- export var AuthenticationFactor;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthenticationFactor = void 0;
4
+ var AuthenticationFactor;
2
5
  (function (AuthenticationFactor) {
3
6
  AuthenticationFactor["Email"] = "email";
4
7
  AuthenticationFactor["Phone"] = "phone";
5
8
  AuthenticationFactor["Totp"] = "totp";
6
9
  AuthenticationFactor["Recoverycode"] = "recoverycode";
7
- })(AuthenticationFactor || (AuthenticationFactor = {}));
10
+ })(AuthenticationFactor || (exports.AuthenticationFactor = AuthenticationFactor = {}));
@@ -1,4 +1,7 @@
1
- export var AuthenticatorType;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthenticatorType = void 0;
4
+ var AuthenticatorType;
2
5
  (function (AuthenticatorType) {
3
6
  AuthenticatorType["Totp"] = "totp";
4
- })(AuthenticatorType || (AuthenticatorType = {}));
7
+ })(AuthenticatorType || (exports.AuthenticatorType = AuthenticatorType = {}));
@@ -1,4 +1,7 @@
1
- export var Browser;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Browser = void 0;
4
+ var Browser;
2
5
  (function (Browser) {
3
6
  Browser["AvantBrowser"] = "aa";
4
7
  Browser["AndroidWebViewBeta"] = "an";
@@ -14,4 +17,4 @@ export var Browser;
14
17
  Browser["OperaMini"] = "om";
15
18
  Browser["Opera"] = "op";
16
19
  Browser["OperaNext"] = "on";
17
- })(Browser || (Browser = {}));
20
+ })(Browser || (exports.Browser = Browser = {}));
@@ -1,6 +1,9 @@
1
- export var Compression;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Compression = void 0;
4
+ var Compression;
2
5
  (function (Compression) {
3
6
  Compression["None"] = "none";
4
7
  Compression["Gzip"] = "gzip";
5
8
  Compression["Zstd"] = "zstd";
6
- })(Compression || (Compression = {}));
9
+ })(Compression || (exports.Compression = Compression = {}));
@@ -1,4 +1,7 @@
1
- export var CreditCard;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreditCard = void 0;
4
+ var CreditCard;
2
5
  (function (CreditCard) {
3
6
  CreditCard["AmericanExpress"] = "amex";
4
7
  CreditCard["Argencard"] = "argencard";
@@ -16,4 +19,4 @@ export var CreditCard;
16
19
  CreditCard["Visa"] = "visa";
17
20
  CreditCard["MIR"] = "mir";
18
21
  CreditCard["Maestro"] = "maestro";
19
- })(CreditCard || (CreditCard = {}));
22
+ })(CreditCard || (exports.CreditCard = CreditCard = {}));
@@ -1,6 +1,9 @@
1
- export var DatabaseUsageRange;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DatabaseUsageRange = void 0;
4
+ var DatabaseUsageRange;
2
5
  (function (DatabaseUsageRange) {
3
6
  DatabaseUsageRange["TwentyFourHours"] = "24h";
4
7
  DatabaseUsageRange["ThirtyDays"] = "30d";
5
8
  DatabaseUsageRange["NinetyDays"] = "90d";
6
- })(DatabaseUsageRange || (DatabaseUsageRange = {}));
9
+ })(DatabaseUsageRange || (exports.DatabaseUsageRange = DatabaseUsageRange = {}));
@@ -1,4 +1,7 @@
1
- export var EmailTemplateLocale;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EmailTemplateLocale = void 0;
4
+ var EmailTemplateLocale;
2
5
  (function (EmailTemplateLocale) {
3
6
  EmailTemplateLocale["Af"] = "af";
4
7
  EmailTemplateLocale["Arae"] = "ar-ae";
@@ -131,4 +134,4 @@ export var EmailTemplateLocale;
131
134
  EmailTemplateLocale["Zhsg"] = "zh-sg";
132
135
  EmailTemplateLocale["Zhtw"] = "zh-tw";
133
136
  EmailTemplateLocale["Zu"] = "zu";
134
- })(EmailTemplateLocale || (EmailTemplateLocale = {}));
137
+ })(EmailTemplateLocale || (exports.EmailTemplateLocale = EmailTemplateLocale = {}));
@@ -1,4 +1,7 @@
1
- export var EmailTemplateType;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EmailTemplateType = void 0;
4
+ var EmailTemplateType;
2
5
  (function (EmailTemplateType) {
3
6
  EmailTemplateType["Verification"] = "verification";
4
7
  EmailTemplateType["Magicsession"] = "magicsession";
@@ -7,4 +10,4 @@ export var EmailTemplateType;
7
10
  EmailTemplateType["Mfachallenge"] = "mfachallenge";
8
11
  EmailTemplateType["Sessionalert"] = "sessionalert";
9
12
  EmailTemplateType["Otpsession"] = "otpsession";
10
- })(EmailTemplateType || (EmailTemplateType = {}));
13
+ })(EmailTemplateType || (exports.EmailTemplateType = EmailTemplateType = {}));
@@ -1,5 +1,8 @@
1
- export var EntityLimitType;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EntityLimitType = void 0;
4
+ var EntityLimitType;
2
5
  (function (EntityLimitType) {
3
6
  EntityLimitType[EntityLimitType["MAX"] = 0] = "MAX";
4
7
  EntityLimitType[EntityLimitType["MONTHLY"] = 1] = "MONTHLY";
5
- })(EntityLimitType || (EntityLimitType = {}));
8
+ })(EntityLimitType || (exports.EntityLimitType = EntityLimitType = {}));
@@ -1,4 +1,7 @@
1
- export var PropertyAttributeName;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyAttributeName = void 0;
4
+ var PropertyAttributeName;
2
5
  (function (PropertyAttributeName) {
3
6
  PropertyAttributeName["HintText"] = "HintText";
4
7
  PropertyAttributeName["HelpText"] = "HelpText";
@@ -25,4 +28,4 @@ export var PropertyAttributeName;
25
28
  PropertyAttributeName["Separator"] = "Separator";
26
29
  PropertyAttributeName["SelectOptions"] = "SelectOptions";
27
30
  PropertyAttributeName["Password"] = "Password";
28
- })(PropertyAttributeName || (PropertyAttributeName = {}));
31
+ })(PropertyAttributeName || (exports.PropertyAttributeName = PropertyAttributeName = {}));
@@ -1,4 +1,7 @@
1
- export var PropertyCondition;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyCondition = void 0;
4
+ var PropertyCondition;
2
5
  (function (PropertyCondition) {
3
6
  PropertyCondition[PropertyCondition["EQUAL"] = 0] = "EQUAL";
4
7
  PropertyCondition[PropertyCondition["GREATER_THAN"] = 1] = "GREATER_THAN";
@@ -6,4 +9,4 @@ export var PropertyCondition;
6
9
  PropertyCondition[PropertyCondition["LESS_THAN"] = 3] = "LESS_THAN";
7
10
  PropertyCondition[PropertyCondition["EQUAL_OR_LESS_THAN"] = 4] = "EQUAL_OR_LESS_THAN";
8
11
  // CONTAINS, // (),
9
- })(PropertyCondition || (PropertyCondition = {}));
12
+ })(PropertyCondition || (exports.PropertyCondition = PropertyCondition = {}));
@@ -1,4 +1,7 @@
1
- export var PropertyType;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyType = void 0;
4
+ var PropertyType;
2
5
  (function (PropertyType) {
3
6
  PropertyType[PropertyType["NUMBER"] = 0] = "NUMBER";
4
7
  PropertyType[PropertyType["TEXT"] = 1] = "TEXT";
@@ -14,4 +17,4 @@ export var PropertyType;
14
17
  PropertyType[PropertyType["MULTI_TEXT"] = 12] = "MULTI_TEXT";
15
18
  PropertyType[PropertyType["RANGE_NUMBER"] = 13] = "RANGE_NUMBER";
16
19
  PropertyType[PropertyType["RANGE_DATE"] = 14] = "RANGE_DATE";
17
- })(PropertyType || (PropertyType = {}));
20
+ })(PropertyType || (exports.PropertyType = PropertyType = {}));
@@ -1,7 +1,10 @@
1
- export var PropertyValueType;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyValueType = void 0;
4
+ var PropertyValueType;
2
5
  (function (PropertyValueType) {
3
6
  PropertyValueType[PropertyValueType["ID"] = 0] = "ID";
4
7
  PropertyValueType[PropertyValueType["NUMBER"] = 1] = "NUMBER";
5
8
  PropertyValueType[PropertyValueType["TEXT"] = 2] = "TEXT";
6
9
  PropertyValueType[PropertyValueType["DATE"] = 3] = "DATE";
7
- })(PropertyValueType || (PropertyValueType = {}));
10
+ })(PropertyValueType || (exports.PropertyValueType = PropertyValueType = {}));
@@ -1 +1,4 @@
1
- export const RowAccessTypes = ["none", "view", "comment", "edit", "delete"];
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RowAccessTypes = void 0;
4
+ exports.RowAccessTypes = ["none", "view", "comment", "edit", "delete"];
@@ -1,4 +1,7 @@
1
- export var ViewFilterCondition;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ViewFilterCondition = void 0;
4
+ var ViewFilterCondition;
2
5
  (function (ViewFilterCondition) {
3
6
  ViewFilterCondition["equals"] = "equals";
4
7
  ViewFilterCondition["contains"] = "contains";
@@ -10,4 +13,4 @@ export var ViewFilterCondition;
10
13
  ViewFilterCondition["endsWith"] = "endsWith";
11
14
  ViewFilterCondition["in"] = "in";
12
15
  ViewFilterCondition["notIn"] = "notIn";
13
- })(ViewFilterCondition || (ViewFilterCondition = {}));
16
+ })(ViewFilterCondition || (exports.ViewFilterCondition = ViewFilterCondition = {}));
@@ -1,4 +1,7 @@
1
- export var ExecutionMethod;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExecutionMethod = void 0;
4
+ var ExecutionMethod;
2
5
  (function (ExecutionMethod) {
3
6
  ExecutionMethod["GET"] = "GET";
4
7
  ExecutionMethod["POST"] = "POST";
@@ -6,4 +9,4 @@ export var ExecutionMethod;
6
9
  ExecutionMethod["PATCH"] = "PATCH";
7
10
  ExecutionMethod["DELETE"] = "DELETE";
8
11
  ExecutionMethod["OPTIONS"] = "OPTIONS";
9
- })(ExecutionMethod || (ExecutionMethod = {}));
12
+ })(ExecutionMethod || (exports.ExecutionMethod = ExecutionMethod = {}));
@@ -1,4 +1,7 @@
1
- export var Flag;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Flag = void 0;
4
+ var Flag;
2
5
  (function (Flag) {
3
6
  Flag["Afghanistan"] = "af";
4
7
  Flag["Angola"] = "ao";
@@ -195,4 +198,4 @@ export var Flag;
195
198
  Flag["SouthAfrica"] = "za";
196
199
  Flag["Zambia"] = "zm";
197
200
  Flag["Zimbabwe"] = "zw";
198
- })(Flag || (Flag = {}));
201
+ })(Flag || (exports.Flag = Flag = {}));
@@ -1,6 +1,9 @@
1
- export var FunctionUsageRange;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FunctionUsageRange = void 0;
4
+ var FunctionUsageRange;
2
5
  (function (FunctionUsageRange) {
3
6
  FunctionUsageRange["TwentyFourHours"] = "24h";
4
7
  FunctionUsageRange["ThirtyDays"] = "30d";
5
8
  FunctionUsageRange["NinetyDays"] = "90d";
6
- })(FunctionUsageRange || (FunctionUsageRange = {}));
9
+ })(FunctionUsageRange || (exports.FunctionUsageRange = FunctionUsageRange = {}));
@@ -1,8 +1,11 @@
1
- export var ImageFormat;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImageFormat = void 0;
4
+ var ImageFormat;
2
5
  (function (ImageFormat) {
3
6
  ImageFormat["Jpg"] = "jpg";
4
7
  ImageFormat["Jpeg"] = "jpeg";
5
8
  ImageFormat["Gif"] = "gif";
6
9
  ImageFormat["Png"] = "png";
7
10
  ImageFormat["Webp"] = "webp";
8
- })(ImageFormat || (ImageFormat = {}));
11
+ })(ImageFormat || (exports.ImageFormat = ImageFormat = {}));
@@ -1,4 +1,7 @@
1
- export var ImageGravity;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImageGravity = void 0;
4
+ var ImageGravity;
2
5
  (function (ImageGravity) {
3
6
  ImageGravity["Center"] = "center";
4
7
  ImageGravity["Topleft"] = "top-left";
@@ -9,4 +12,4 @@ export var ImageGravity;
9
12
  ImageGravity["Bottomleft"] = "bottom-left";
10
13
  ImageGravity["Bottom"] = "bottom";
11
14
  ImageGravity["Bottomright"] = "bottom-right";
12
- })(ImageGravity || (ImageGravity = {}));
15
+ })(ImageGravity || (exports.ImageGravity = ImageGravity = {}));
@@ -1,6 +1,9 @@
1
- export var IndexType;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IndexType = void 0;
4
+ var IndexType;
2
5
  (function (IndexType) {
3
6
  IndexType["Key"] = "key";
4
7
  IndexType["Fulltext"] = "fulltext";
5
8
  IndexType["Unique"] = "unique";
6
- })(IndexType || (IndexType = {}));
9
+ })(IndexType || (exports.IndexType = IndexType = {}));
@@ -1,6 +1,9 @@
1
- export var MessagingProviderType;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessagingProviderType = void 0;
4
+ var MessagingProviderType;
2
5
  (function (MessagingProviderType) {
3
6
  MessagingProviderType["Email"] = "email";
4
7
  MessagingProviderType["Sms"] = "sms";
5
8
  MessagingProviderType["Push"] = "push";
6
- })(MessagingProviderType || (MessagingProviderType = {}));
9
+ })(MessagingProviderType || (exports.MessagingProviderType = MessagingProviderType = {}));