@appconda/nextjs 1.0.50 → 1.0.52
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/actions/actionClient.d.ts +4 -1
- package/dist/actions/actionClient.js +6 -3
- package/dist/actions/index.js +17 -1
- package/dist/actions/nodes.d.ts +4 -1
- package/dist/actions/nodes.js +7 -4
- package/dist/client.js +16 -11
- package/dist/decorators/Cache.js +7 -4
- package/dist/decorators/CacheKey.js +4 -1
- package/dist/decorators/Invalidate.js +7 -4
- package/dist/enums/api-service.js +5 -2
- package/dist/enums/api.js +5 -2
- package/dist/enums/auth-method.js +5 -2
- package/dist/enums/authentication-factor.js +5 -2
- package/dist/enums/authenticator-type.js +5 -2
- package/dist/enums/browser.js +5 -2
- package/dist/enums/compression.js +5 -2
- package/dist/enums/credit-card.js +5 -2
- package/dist/enums/database-usage-range.js +5 -2
- package/dist/enums/email-template-locale.js +5 -2
- package/dist/enums/email-template-type.js +5 -2
- package/dist/enums/entities/EntityLimitType.js +5 -2
- package/dist/enums/entities/PropertyAttributeName.js +5 -2
- package/dist/enums/entities/PropertyCondition.js +5 -2
- package/dist/enums/entities/PropertyType.js +5 -2
- package/dist/enums/entities/PropertyValueType.js +5 -2
- package/dist/enums/entities/RowAccess.js +4 -1
- package/dist/enums/entities/ViewFilterCondition.js +5 -2
- package/dist/enums/execution-method.js +5 -2
- package/dist/enums/flag.js +5 -2
- package/dist/enums/function-usage-range.js +5 -2
- package/dist/enums/image-format.js +5 -2
- package/dist/enums/image-gravity.js +5 -2
- package/dist/enums/index-type.js +5 -2
- package/dist/enums/messaging-provider-type.js +5 -2
- package/dist/enums/name.js +5 -2
- package/dist/enums/o-auth-provider copy.js +5 -2
- package/dist/enums/o-auth-provider.js +5 -2
- package/dist/enums/password-hash.js +5 -2
- package/dist/enums/platform-type.js +5 -2
- package/dist/enums/project-usage-range.js +5 -2
- package/dist/enums/region.js +5 -2
- package/dist/enums/relation-mutate.js +5 -2
- package/dist/enums/relationship-type.js +5 -2
- package/dist/enums/resource-type.js +5 -2
- package/dist/enums/runtime.js +5 -2
- package/dist/enums/s-m-t-p-secure.js +5 -2
- package/dist/enums/shared/ApplicationLayout.js +5 -2
- package/dist/enums/shared/Colors.js +5 -2
- package/dist/enums/shared/InputType.js +5 -2
- package/dist/enums/shared/Periodicity.js +5 -2
- package/dist/enums/shared/SvgIcon.js +5 -2
- package/dist/enums/shared/Theme.js +5 -2
- package/dist/enums/sms-template-locale.js +5 -2
- package/dist/enums/sms-template-type.js +5 -2
- package/dist/enums/smtp-encryption.js +5 -2
- package/dist/enums/storage-usage-range.js +5 -2
- package/dist/enums/subscriptions/PricingModel.d.ts +1 -1
- package/dist/enums/subscriptions/PricingModel.js +7 -4
- package/dist/enums/subscriptions/SubscriptionBillingPeriod.d.ts +1 -1
- package/dist/enums/subscriptions/SubscriptionBillingPeriod.js +7 -4
- package/dist/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +1 -1
- package/dist/enums/subscriptions/SubscriptionFeatureLimitType.js +7 -4
- package/dist/enums/subscriptions/SubscriptionPriceType.d.ts +1 -1
- package/dist/enums/subscriptions/SubscriptionPriceType.js +7 -4
- package/dist/enums/tenants/LinkedAccountStatus.js +5 -2
- package/dist/enums/tenants/TenantUserJoined.js +5 -2
- package/dist/enums/tenants/TenantUserStatus.js +5 -2
- package/dist/enums/tenants/TenantUserType.js +5 -2
- package/dist/enums/user-usage-range.js +5 -2
- package/dist/getAppcondaClient.js +6 -3
- package/dist/getSDKForCurrentUser.js +40 -37
- package/dist/id.js +5 -1
- package/dist/index.js +91 -37
- package/dist/inputFile.d.ts +0 -1
- package/dist/inputFile.js +10 -6
- package/dist/lib/Cache/Adapter.js +2 -1
- package/dist/lib/Cache/Adapters/Filesystem.js +5 -1
- package/dist/lib/Cache/Adapters/Memory.js +5 -1
- package/dist/lib/Cache/Adapters/None.js +5 -1
- package/dist/lib/Cache/Adapters/Sharding.js +5 -1
- package/dist/lib/Cache/Cache.js +5 -1
- package/dist/lib/Cache/index.js +20 -4
- package/dist/lib/Cache/test.d.ts +1 -0
- package/dist/lib/Cache/test.js +2 -0
- package/dist/lib/Registry/Registry.js +5 -1
- package/dist/lib/Registry/index.js +17 -1
- package/dist/lib/Services.d.ts +2 -1
- package/dist/lib/Services.js +12 -8
- package/dist/models.js +2 -1
- package/dist/modules/index.js +17 -1
- package/dist/modules/waitlist/action.d.ts +29 -3
- package/dist/modules/waitlist/action.js +14 -11
- package/dist/modules/waitlist/index.js +19 -3
- package/dist/modules/waitlist/schema.d.ts +15 -2
- package/dist/modules/waitlist/schema.js +8 -5
- package/dist/modules/waitlist/service.js +6 -2
- package/dist/modules/waitlist/types.js +2 -1
- package/dist/permission.js +5 -1
- package/dist/query.js +5 -1
- package/dist/role.js +5 -1
- package/dist/schemas/nodes.d.ts +1 -0
- package/dist/schemas/nodes.js +2 -0
- package/dist/service-client.js +5 -1
- package/dist/service.js +5 -1
- package/dist/services/account.js +62 -58
- package/dist/services/applets.js +8 -4
- package/dist/services/avatars.js +12 -8
- package/dist/services/community.js +9 -5
- package/dist/services/configuration.js +6 -2
- package/dist/services/databases.js +154 -150
- package/dist/services/functions.js +46 -42
- package/dist/services/graphql.js +8 -4
- package/dist/services/health.js +7 -3
- package/dist/services/locale.js +5 -1
- package/dist/services/messaging.js +70 -66
- package/dist/services/node.js +8 -4
- package/dist/services/permissions.js +11 -7
- package/dist/services/pricing.js +6 -2
- package/dist/services/projects.js +117 -113
- package/dist/services/roles.js +10 -6
- package/dist/services/schema.js +9 -5
- package/dist/services/storage.js +28 -24
- package/dist/services/subscription.js +6 -2
- package/dist/services/teams.js +29 -25
- package/dist/services/tenant-subscription.js +9 -5
- package/dist/services/tenant.js +13 -9
- package/dist/services/users.js +86 -82
- package/package.json +1 -1
- package/tsconfig.json +3 -2
@@ -1 +1,4 @@
|
|
1
|
-
export declare const actionClient:
|
1
|
+
export declare const actionClient: import("next-safe-action", { with: { "resolution-mode": "import" } }).SafeActionClient<string, undefined, undefined, unknown, {}, undefined, undefined, undefined, readonly [], {
|
2
|
+
formErrors: string[];
|
3
|
+
fieldErrors: {};
|
4
|
+
}, readonly []>;
|
@@ -1,5 +1,8 @@
|
|
1
|
-
|
2
|
-
|
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 }) => {
|
package/dist/actions/index.js
CHANGED
@@ -1 +1,17 @@
|
|
1
|
-
|
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);
|
package/dist/actions/nodes.d.ts
CHANGED
package/dist/actions/nodes.js
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
'use server';
|
2
|
-
|
3
|
-
|
4
|
-
|
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,5 +1,8 @@
|
|
1
|
-
|
2
|
-
|
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 {
|
4
7
|
constructor(message, code = 0, type = '', response = '') {
|
5
8
|
super(message);
|
@@ -10,6 +13,7 @@ class AppcondaException extends Error {
|
|
10
13
|
this.response = response;
|
11
14
|
}
|
12
15
|
}
|
16
|
+
exports.AppcondaException = AppcondaException;
|
13
17
|
function getUserAgent() {
|
14
18
|
let ua = 'AppcondaNodeJSSDK/14.1.0';
|
15
19
|
// `process` is a global in Node.js, but not fully available in all runtimes.
|
@@ -208,7 +212,7 @@ class Client {
|
|
208
212
|
let options = {
|
209
213
|
method,
|
210
214
|
headers,
|
211
|
-
...createAgent(this.config.endpoint, { rejectUnauthorized: !this.config.selfSigned }),
|
215
|
+
...(0, agent_1.createAgent)(this.config.endpoint, { rejectUnauthorized: !this.config.selfSigned }),
|
212
216
|
};
|
213
217
|
if (method === 'GET') {
|
214
218
|
for (const [key, value] of Object.entries(Client.flatten(params))) {
|
@@ -221,9 +225,9 @@ class Client {
|
|
221
225
|
options.body = JSON.stringify(params);
|
222
226
|
break;
|
223
227
|
case 'multipart/form-data':
|
224
|
-
const formData = new FormData();
|
228
|
+
const formData = new node_fetch_native_with_agent_1.FormData();
|
225
229
|
for (const [key, value] of Object.entries(params)) {
|
226
|
-
if (value instanceof File) {
|
230
|
+
if (value instanceof node_fetch_native_with_agent_1.File) {
|
227
231
|
formData.append(key, value, value.name);
|
228
232
|
}
|
229
233
|
else if (Array.isArray(value)) {
|
@@ -243,7 +247,7 @@ class Client {
|
|
243
247
|
return { uri: url.toString(), options };
|
244
248
|
}
|
245
249
|
async chunkedUpload(method, url, headers = {}, originalPayload = {}, onProgress) {
|
246
|
-
const file = Object.values(originalPayload).find((value) => value instanceof File);
|
250
|
+
const file = Object.values(originalPayload).find((value) => value instanceof node_fetch_native_with_agent_1.File);
|
247
251
|
if (file.size <= Client.CHUNK_SIZE) {
|
248
252
|
return await this.call(method, url, headers, originalPayload);
|
249
253
|
}
|
@@ -256,7 +260,7 @@ class Client {
|
|
256
260
|
}
|
257
261
|
headers['content-range'] = `bytes ${start}-${end - 1}/${file.size}`;
|
258
262
|
const chunk = file.slice(start, end);
|
259
|
-
let payload = { ...originalPayload, file: new File([chunk], file.name) };
|
263
|
+
let payload = { ...originalPayload, file: new node_fetch_native_with_agent_1.File([chunk], file.name) };
|
260
264
|
response = await this.call(method, url, headers, payload);
|
261
265
|
if (onProgress && typeof onProgress === 'function') {
|
262
266
|
onProgress({
|
@@ -276,7 +280,7 @@ class Client {
|
|
276
280
|
}
|
277
281
|
async redirect(method, url, headers = {}, params = {}) {
|
278
282
|
const { uri, options } = this.prepareRequest(method, url, headers, params);
|
279
|
-
const response = await fetch(uri, {
|
283
|
+
const response = await (0, node_fetch_native_with_agent_1.fetch)(uri, {
|
280
284
|
...options,
|
281
285
|
redirect: 'manual'
|
282
286
|
});
|
@@ -289,7 +293,7 @@ class Client {
|
|
289
293
|
const { uri, options } = this.prepareRequest(method, url, headers, params);
|
290
294
|
let data = null;
|
291
295
|
try {
|
292
|
-
const response = await fetch(uri, options);
|
296
|
+
const response = await (0, node_fetch_native_with_agent_1.fetch)(uri, options);
|
293
297
|
const warnings = response.headers.get('x-appconda-warning');
|
294
298
|
if (warnings) {
|
295
299
|
warnings.split(';').forEach((warning) => console.warn('Warning: ' + warning));
|
@@ -329,6 +333,7 @@ class Client {
|
|
329
333
|
return output;
|
330
334
|
}
|
331
335
|
}
|
336
|
+
exports.Client = Client;
|
332
337
|
Client.CHUNK_SIZE = 1024 * 1024 * 5;
|
333
|
-
|
334
|
-
|
338
|
+
var query_1 = require("./query");
|
339
|
+
Object.defineProperty(exports, "Query", { enumerable: true, get: function () { return query_1.Query; } });
|
package/dist/decorators/Cache.js
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
2
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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 = {}));
|
package/dist/enums/browser.js
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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,4 +1,7 @@
|
|
1
|
-
|
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
|
-
|
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 = {}));
|
package/dist/enums/flag.js
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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 = {}));
|
package/dist/enums/index-type.js
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
|
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
|
-
|
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 = {}));
|
package/dist/enums/name.js
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Name = void 0;
|
4
|
+
var Name;
|
2
5
|
(function (Name) {
|
3
6
|
Name["V1database"] = "v1-database";
|
4
7
|
Name["V1deletes"] = "v1-deletes";
|
@@ -12,4 +15,4 @@ export var Name;
|
|
12
15
|
Name["V1builds"] = "v1-builds";
|
13
16
|
Name["V1messaging"] = "v1-messaging";
|
14
17
|
Name["V1migrations"] = "v1-migrations";
|
15
|
-
})(Name || (Name = {}));
|
18
|
+
})(Name || (exports.Name = Name = {}));
|
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OAuthProvider = void 0;
|
4
|
+
var OAuthProvider;
|
2
5
|
(function (OAuthProvider) {
|
3
6
|
OAuthProvider["Amazon"] = "amazon";
|
4
7
|
OAuthProvider["Apple"] = "apple";
|
@@ -39,4 +42,4 @@ export var OAuthProvider;
|
|
39
42
|
OAuthProvider["Zoho"] = "zoho";
|
40
43
|
OAuthProvider["Zoom"] = "zoom";
|
41
44
|
OAuthProvider["Mock"] = "mock";
|
42
|
-
})(OAuthProvider || (OAuthProvider = {}));
|
45
|
+
})(OAuthProvider || (exports.OAuthProvider = OAuthProvider = {}));
|
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OAuthProvider = void 0;
|
4
|
+
var OAuthProvider;
|
2
5
|
(function (OAuthProvider) {
|
3
6
|
OAuthProvider["Amazon"] = "amazon";
|
4
7
|
OAuthProvider["Apple"] = "apple";
|
@@ -39,4 +42,4 @@ export var OAuthProvider;
|
|
39
42
|
OAuthProvider["Zoho"] = "zoho";
|
40
43
|
OAuthProvider["Zoom"] = "zoom";
|
41
44
|
OAuthProvider["Mock"] = "mock";
|
42
|
-
})(OAuthProvider || (OAuthProvider = {}));
|
45
|
+
})(OAuthProvider || (exports.OAuthProvider = OAuthProvider = {}));
|