@appconda/nextjs 1.0.17 → 1.0.19

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 (236) hide show
  1. package/dist/Cache/Adapter.js +1 -0
  2. package/dist/Cache/Adapters/Filesystem.js +102 -0
  3. package/dist/Cache/Adapters/Memory.js +46 -0
  4. package/dist/Cache/Adapters/None.js +27 -0
  5. package/dist/Cache/Adapters/Redis.js +79 -0
  6. package/dist/Cache/Adapters/Sharding.js +72 -0
  7. package/dist/Cache/Cache.js +51 -0
  8. package/dist/Cache/index.js +5 -0
  9. package/dist/Cache/test.js +0 -0
  10. package/dist/Services.js +28 -0
  11. package/dist/actions/actionClient.js +35 -0
  12. package/dist/actions/index.js +1 -0
  13. package/dist/actions/nodes.js +9 -0
  14. package/dist/client.js +334 -0
  15. package/dist/decorators/Cache.js +78 -0
  16. package/dist/decorators/CacheKey.js +8 -0
  17. package/dist/decorators/Invalidate.js +46 -0
  18. package/dist/enums/api-service.js +14 -0
  19. package/dist/enums/api.js +6 -0
  20. package/dist/enums/auth-method.js +10 -0
  21. package/dist/enums/authentication-factor.js +7 -0
  22. package/dist/enums/authenticator-type.js +4 -0
  23. package/dist/enums/browser.js +17 -0
  24. package/dist/enums/compression.js +6 -0
  25. package/dist/enums/credit-card.js +19 -0
  26. package/dist/enums/database-usage-range.js +6 -0
  27. package/dist/enums/email-template-locale.js +134 -0
  28. package/dist/enums/email-template-type.js +10 -0
  29. package/dist/enums/entities/EntityLimitType.js +5 -0
  30. package/dist/enums/entities/PropertyAttributeName.js +28 -0
  31. package/dist/enums/entities/PropertyCondition.js +9 -0
  32. package/dist/enums/entities/PropertyType.js +17 -0
  33. package/dist/enums/entities/PropertyValueType.js +7 -0
  34. package/dist/enums/entities/RowAccess.js +1 -0
  35. package/dist/enums/entities/ViewFilterCondition.js +13 -0
  36. package/dist/enums/execution-method.js +9 -0
  37. package/dist/enums/flag.js +198 -0
  38. package/dist/enums/function-usage-range.js +6 -0
  39. package/dist/enums/image-format.js +8 -0
  40. package/dist/enums/image-gravity.js +12 -0
  41. package/dist/enums/index-type.js +6 -0
  42. package/dist/enums/messaging-provider-type.js +6 -0
  43. package/dist/enums/name.js +15 -0
  44. package/dist/enums/o-auth-provider copy.js +42 -0
  45. package/dist/enums/o-auth-provider.js +42 -0
  46. package/dist/enums/password-hash.js +14 -0
  47. package/dist/enums/platform-type.js +18 -0
  48. package/dist/enums/project-usage-range.js +5 -0
  49. package/dist/enums/region.js +5 -0
  50. package/dist/enums/relation-mutate.js +6 -0
  51. package/dist/enums/relationship-type.js +7 -0
  52. package/dist/enums/resource-type.js +5 -0
  53. package/dist/enums/runtime.js +49 -0
  54. package/dist/enums/s-m-t-p-secure.js +4 -0
  55. package/dist/enums/shared/ApplicationLayout.js +5 -0
  56. package/dist/enums/shared/Colors.js +25 -0
  57. package/dist/enums/shared/InputType.js +7 -0
  58. package/dist/enums/shared/Periodicity.js +8 -0
  59. package/dist/enums/shared/SvgIcon.js +38 -0
  60. package/dist/enums/shared/Theme.js +5 -0
  61. package/dist/enums/sms-template-locale.js +134 -0
  62. package/dist/enums/sms-template-type.js +7 -0
  63. package/dist/enums/smtp-encryption.js +6 -0
  64. package/dist/enums/storage-usage-range.js +6 -0
  65. package/dist/enums/subscriptions/PricingModel.js +11 -0
  66. package/dist/enums/subscriptions/SubscriptionBillingPeriod.js +10 -0
  67. package/dist/enums/subscriptions/SubscriptionFeatureLimitType.js +12 -0
  68. package/dist/enums/subscriptions/SubscriptionPriceType.js +7 -0
  69. package/dist/enums/tenants/LinkedAccountStatus.js +6 -0
  70. package/dist/enums/tenants/TenantUserJoined.js +7 -0
  71. package/dist/enums/tenants/TenantUserStatus.js +7 -0
  72. package/dist/enums/tenants/TenantUserType.js +6 -0
  73. package/dist/enums/user-usage-range.js +6 -0
  74. package/dist/getAppcondaClient.js +42 -0
  75. package/dist/getSDKForCurrentUser.js +62 -0
  76. package/dist/id.js +44 -0
  77. package/dist/iife/sdk.js +7063 -7805
  78. package/dist/index.js +12558 -0
  79. package/dist/index.js.map +1 -0
  80. package/dist/inputFile.js +16 -0
  81. package/dist/lib/Registry/Registry.js +55 -0
  82. package/dist/lib/Registry/index.js +1 -0
  83. package/dist/models.js +1 -0
  84. package/dist/permission.js +53 -0
  85. package/dist/query.js +203 -0
  86. package/dist/role.js +93 -0
  87. package/dist/service-client.js +13 -0
  88. package/dist/service.js +22 -0
  89. package/dist/services/account.js +1259 -0
  90. package/dist/services/applets.js +39 -0
  91. package/dist/services/avatars.js +250 -0
  92. package/dist/services/community.js +68 -0
  93. package/dist/services/configuration.js +10 -0
  94. package/dist/services/databases.js +1735 -0
  95. package/dist/services/functions.js +809 -0
  96. package/dist/services/graphql.js +56 -0
  97. package/dist/services/health.js +462 -0
  98. package/dist/services/locale.js +143 -0
  99. package/dist/services/messaging.js +1919 -0
  100. package/dist/services/node.js +10 -0
  101. package/dist/services/permissions.js +89 -0
  102. package/dist/services/pricing.js +20 -0
  103. package/dist/services/projects.js +1525 -0
  104. package/dist/services/roles.js +71 -0
  105. package/dist/services/schema.js +47 -0
  106. package/dist/services/storage.js +473 -0
  107. package/dist/services/subscription.js +45 -0
  108. package/dist/services/teams.js +394 -0
  109. package/dist/services/tenant-subscription.js +51 -0
  110. package/dist/services/tenant.js +124 -0
  111. package/dist/services/users.js +1282 -0
  112. package/dist/services/waitlist.js +11 -0
  113. package/package.json +5 -12
  114. package/tsconfig.json +2 -1
  115. package/types/Cache/Adapter.d.ts +10 -0
  116. package/types/Cache/Adapters/Filesystem.d.ts +16 -0
  117. package/types/Cache/Adapters/Memory.d.ts +18 -0
  118. package/types/Cache/Adapters/None.d.ts +12 -0
  119. package/types/Cache/Adapters/Redis.d.ts +14 -0
  120. package/types/Cache/Adapters/Sharding.d.ts +17 -0
  121. package/types/Cache/Cache.d.ts +16 -0
  122. package/types/Cache/index.d.ts +5 -0
  123. package/types/Cache/test.d.ts +0 -0
  124. package/types/Services.d.ts +6 -0
  125. package/types/actions/actionClient.d.ts +4 -0
  126. package/types/actions/index.d.ts +1 -0
  127. package/types/actions/nodes.d.ts +4 -0
  128. package/types/client.d.ts +141 -0
  129. package/types/decorators/Cache.d.ts +1 -0
  130. package/types/decorators/CacheKey.d.ts +1 -0
  131. package/types/decorators/Invalidate.d.ts +1 -0
  132. package/types/enums/api-service.d.ts +13 -0
  133. package/types/enums/api.d.ts +5 -0
  134. package/types/enums/auth-method.d.ts +9 -0
  135. package/types/enums/authentication-factor.d.ts +6 -0
  136. package/types/enums/authenticator-type.d.ts +3 -0
  137. package/types/enums/browser.d.ts +16 -0
  138. package/types/enums/compression.d.ts +5 -0
  139. package/types/enums/credit-card.d.ts +18 -0
  140. package/types/enums/database-usage-range.d.ts +5 -0
  141. package/types/enums/email-template-locale.d.ts +133 -0
  142. package/types/enums/email-template-type.d.ts +9 -0
  143. package/types/enums/entities/EntityLimitType.d.ts +4 -0
  144. package/types/enums/entities/PropertyAttributeName.d.ts +27 -0
  145. package/types/enums/entities/PropertyCondition.d.ts +7 -0
  146. package/types/enums/entities/PropertyType.d.ts +12 -0
  147. package/types/enums/entities/PropertyValueType.d.ts +6 -0
  148. package/types/enums/entities/RowAccess.d.ts +2 -0
  149. package/types/enums/entities/ViewFilterCondition.d.ts +12 -0
  150. package/types/enums/execution-method.d.ts +8 -0
  151. package/types/enums/flag.d.ts +197 -0
  152. package/types/enums/function-usage-range.d.ts +5 -0
  153. package/types/enums/image-format.d.ts +7 -0
  154. package/types/enums/image-gravity.d.ts +11 -0
  155. package/types/enums/index-type.d.ts +5 -0
  156. package/types/enums/messaging-provider-type.d.ts +5 -0
  157. package/types/enums/name.d.ts +14 -0
  158. package/types/enums/o-auth-provider copy.d.ts +41 -0
  159. package/types/enums/o-auth-provider.d.ts +41 -0
  160. package/types/enums/password-hash.d.ts +13 -0
  161. package/types/enums/platform-type.d.ts +17 -0
  162. package/types/enums/project-usage-range.d.ts +4 -0
  163. package/types/enums/region.d.ts +4 -0
  164. package/types/enums/relation-mutate.d.ts +5 -0
  165. package/types/enums/relationship-type.d.ts +6 -0
  166. package/types/enums/resource-type.d.ts +4 -0
  167. package/types/enums/runtime.d.ts +48 -0
  168. package/types/enums/s-m-t-p-secure.d.ts +3 -0
  169. package/types/enums/shared/ApplicationLayout.d.ts +4 -0
  170. package/types/enums/shared/Colors.d.ts +24 -0
  171. package/types/enums/shared/InputType.d.ts +6 -0
  172. package/types/enums/shared/Periodicity.d.ts +7 -0
  173. package/types/enums/shared/SvgIcon.d.ts +37 -0
  174. package/types/enums/shared/Theme.d.ts +4 -0
  175. package/types/enums/sms-template-locale.d.ts +133 -0
  176. package/types/enums/sms-template-type.d.ts +6 -0
  177. package/types/enums/smtp-encryption.d.ts +5 -0
  178. package/types/enums/storage-usage-range.d.ts +5 -0
  179. package/types/enums/subscriptions/PricingModel.d.ts +11 -0
  180. package/types/enums/subscriptions/SubscriptionBillingPeriod.d.ts +10 -0
  181. package/types/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +10 -0
  182. package/types/enums/subscriptions/SubscriptionPriceType.d.ts +7 -0
  183. package/types/enums/tenants/LinkedAccountStatus.d.ts +5 -0
  184. package/types/enums/tenants/TenantUserJoined.d.ts +6 -0
  185. package/types/enums/tenants/TenantUserStatus.d.ts +6 -0
  186. package/types/enums/tenants/TenantUserType.d.ts +5 -0
  187. package/types/enums/user-usage-range.d.ts +5 -0
  188. package/types/getAppcondaClient.d.ts +2 -0
  189. package/types/getSDKForCurrentUser.d.ts +33 -0
  190. package/types/id.d.ts +20 -0
  191. package/types/index.d.ts +39 -0
  192. package/types/inputFile.d.ts +6 -0
  193. package/types/lib/Registry/Registry.d.ts +38 -0
  194. package/types/lib/Registry/index.d.ts +1 -0
  195. package/types/models.d.ts +3272 -0
  196. package/types/permission.d.ts +43 -0
  197. package/types/query.d.ts +194 -0
  198. package/types/role.d.ts +70 -0
  199. package/types/service-client.d.ts +7 -0
  200. package/types/service.d.ts +11 -0
  201. package/types/services/account.d.ts +530 -0
  202. package/types/services/acl.d.ts +28 -0
  203. package/types/services/applets.d.ts +9 -0
  204. package/types/services/assistant.d.ts +14 -0
  205. package/types/services/avatars.d.ts +115 -0
  206. package/types/services/community.d.ts +19 -0
  207. package/types/services/configuration.d.ts +5 -0
  208. package/types/services/console.d.ts +15 -0
  209. package/types/services/databases.d.ts +613 -0
  210. package/types/services/functions.d.ts +319 -0
  211. package/types/services/graphql.d.ts +25 -0
  212. package/types/services/health.d.ts +231 -0
  213. package/types/services/locale.d.ts +80 -0
  214. package/types/services/messaging.d.ts +685 -0
  215. package/types/services/migrations.d.ts +185 -0
  216. package/types/services/node.d.ts +5 -0
  217. package/types/services/permissions.d.ts +20 -0
  218. package/types/services/pricing.d.ts +15 -0
  219. package/types/services/project.d.ts +70 -0
  220. package/types/services/projects.d.ts +542 -0
  221. package/types/services/proxy.d.ts +59 -0
  222. package/types/services/roles.d.ts +19 -0
  223. package/types/services/schema.d.ts +17 -0
  224. package/types/services/storage.d.ts +189 -0
  225. package/types/services/subscription-product.d.ts +77 -0
  226. package/types/services/subscription.d.ts +15 -0
  227. package/types/services/teams.d.ts +167 -0
  228. package/types/services/tenant-subscription.d.ts +12 -0
  229. package/types/services/tenant.d.ts +32 -0
  230. package/types/services/users.d.ts +499 -0
  231. package/types/services/vcs.d.ts +108 -0
  232. package/types/services/waitlist.d.ts +5 -0
  233. package/dist/cjs/sdk.js +0 -13300
  234. package/dist/cjs/sdk.js.map +0 -1
  235. package/dist/esm/sdk.js +0 -13278
  236. package/dist/esm/sdk.js.map +0 -1
@@ -0,0 +1,133 @@
1
+ export declare enum SmsTemplateLocale {
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
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum SmsTemplateType {
2
+ Verification = "verification",
3
+ Login = "login",
4
+ Invitation = "invitation",
5
+ Mfachallenge = "mfachallenge"
6
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum SmtpEncryption {
2
+ None = "none",
3
+ Ssl = "ssl",
4
+ Tls = "tls"
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum StorageUsageRange {
2
+ TwentyFourHours = "24h",
3
+ ThirtyDays = "30d",
4
+ NinetyDays = "90d"
5
+ }
@@ -0,0 +1,11 @@
1
+ import { z } from "zod";
2
+ export declare enum PricingModel {
3
+ FLAT_RATE = 0,
4
+ PER_SEAT = 1,
5
+ USAGE_BASED = 2,
6
+ FLAT_RATE_USAGE_BASED = 3,
7
+ ONCE = 4,
8
+ ALL = 5
9
+ }
10
+ export declare const ZPricingModel: z.ZodNativeEnum<typeof PricingModel>;
11
+ export type TPricingModel = z.infer<typeof ZPricingModel>;
@@ -0,0 +1,10 @@
1
+ import { z } from "zod";
2
+ export declare enum SubscriptionBillingPeriod {
3
+ ONCE = 0,
4
+ DAILY = 1,
5
+ WEEKLY = 2,
6
+ MONTHLY = 3,
7
+ YEARLY = 4
8
+ }
9
+ export declare const ZSubscriptionBillingPeriod: z.ZodNativeEnum<typeof SubscriptionBillingPeriod>;
10
+ export type TSubscriptionBillingPeriod = z.infer<typeof ZSubscriptionBillingPeriod>;
@@ -0,0 +1,10 @@
1
+ import { z } from "zod";
2
+ export declare enum SubscriptionFeatureLimitType {
3
+ NOT_INCLUDED = 0,
4
+ INCLUDED = 1,
5
+ MONTHLY = 2,
6
+ MAX = 3,
7
+ UNLIMITED = 4
8
+ }
9
+ export declare const ZSubscriptionFeatureLimitType: z.ZodNativeEnum<typeof SubscriptionFeatureLimitType>;
10
+ export type TSubscriptionFeatureLimitType = z.infer<typeof ZSubscriptionFeatureLimitType>;
@@ -0,0 +1,7 @@
1
+ import { z } from "zod";
2
+ export declare enum SubscriptionPriceType {
3
+ ONE_TIME = 0,
4
+ RECURRING = 1
5
+ }
6
+ export declare const ZSubscriptionPriceType: z.ZodNativeEnum<typeof SubscriptionPriceType>;
7
+ export type TSubscriptionPriceType = z.infer<typeof ZSubscriptionPriceType>;
@@ -0,0 +1,5 @@
1
+ export declare enum LinkedAccountStatus {
2
+ PENDING = 0,
3
+ LINKED = 1,
4
+ REJECTED = 2
5
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum TenantUserJoined {
2
+ CREATOR = 0,
3
+ JOINED_BY_INVITATION = 1,
4
+ JOINED_BY_LINK = 2,
5
+ JOINED_BY_PUBLIC_URL = 3
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum TenantUserStatus {
2
+ PENDING_INVITATION = 0,
3
+ PENDING_ACCEPTANCE = 1,
4
+ ACTIVE = 2,
5
+ INACTIVE = 3
6
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum TenantUserType {
2
+ OWNER = 0,
3
+ ADMIN = 1,
4
+ MEMBER = 2
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum UserUsageRange {
2
+ TwentyFourHours = "24h",
3
+ ThirtyDays = "30d",
4
+ NinetyDays = "90d"
5
+ }
@@ -0,0 +1,2 @@
1
+ import { Client } from "./client";
2
+ export declare function getAppcondaClient(): Promise<Client>;
@@ -0,0 +1,33 @@
1
+ import { Account } from "./services/account";
2
+ import { Community } from "./services/community";
3
+ import { Configuration } from "./services/configuration";
4
+ import { Databases } from "./services/databases";
5
+ import { Pricing } from "./services/pricing";
6
+ import { Projects } from "./services/projects";
7
+ import { Roles } from "./services/roles";
8
+ import { Schemas } from "./services/schema";
9
+ import { Subscription } from "./services/subscription";
10
+ import { Teams } from "./services/teams";
11
+ import { Tenant } from "./services/tenant";
12
+ import { TenantSubscription } from "./services/tenant-subscription";
13
+ import { Users } from "./services/users";
14
+ import { Node } from "./services/node";
15
+ import { Permissions } from "./services/permissions";
16
+ export declare function getSDKForCurrentUser(): Promise<{
17
+ currentUser: import("./models").Models.User<import("./models").Models.Preferences>;
18
+ accounts: Account;
19
+ databases: Databases;
20
+ projects: Projects;
21
+ users: Users;
22
+ teams: Teams;
23
+ tenants: Tenant;
24
+ roles: Roles;
25
+ permissions: Permissions;
26
+ schemas: Schemas;
27
+ community: Community;
28
+ tenantSubscriptions: TenantSubscription;
29
+ subscription: Subscription;
30
+ pricing: Pricing;
31
+ configuration: Configuration;
32
+ node: Node;
33
+ }>;
package/types/id.d.ts ADDED
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Helper class to generate ID strings for resources.
3
+ */
4
+ export declare class ID {
5
+ #private;
6
+ /**
7
+ * Uses the provided ID as the ID for the resource.
8
+ *
9
+ * @param {string} id
10
+ * @returns {string}
11
+ */
12
+ static custom(id: string): string;
13
+ /**
14
+ * Have Appconda generate a unique ID for you.
15
+ *
16
+ * @param {number} padding. Default is 7.
17
+ * @returns {string}
18
+ */
19
+ static unique(padding?: number): string;
20
+ }
@@ -0,0 +1,39 @@
1
+ export { Client, Query, AppcondaException } from './client';
2
+ export { Account } from './services/account';
3
+ export { Avatars } from './services/avatars';
4
+ export { Databases } from './services/databases';
5
+ export { Applets } from './services/applets';
6
+ export { Functions } from './services/functions';
7
+ export { Graphql } from './services/graphql';
8
+ export { Health } from './services/health';
9
+ export { Locale } from './services/locale';
10
+ export { Messaging } from './services/messaging';
11
+ export { Storage } from './services/storage';
12
+ export { Teams } from './services/teams';
13
+ export { Users } from './services/users';
14
+ export { Waitlist } from './services/waitlist';
15
+ export type { Models, Payload, UploadProgress } from './client';
16
+ export type { QueryTypes, QueryTypesList } from './query';
17
+ export { Permission } from './permission';
18
+ export { Role } from './role';
19
+ export { ID } from './id';
20
+ export { AuthenticatorType } from './enums/authenticator-type';
21
+ export { AuthenticationFactor } from './enums/authentication-factor';
22
+ export { OAuthProvider } from './enums/o-auth-provider';
23
+ export { Browser } from './enums/browser';
24
+ export { CreditCard } from './enums/credit-card';
25
+ export { Flag } from './enums/flag';
26
+ export { RelationshipType } from './enums/relationship-type';
27
+ export { RelationMutate } from './enums/relation-mutate';
28
+ export { IndexType } from './enums/index-type';
29
+ export { Runtime } from './enums/runtime';
30
+ export { ExecutionMethod } from './enums/execution-method';
31
+ export { Name } from './enums/name';
32
+ export { SmtpEncryption } from './enums/smtp-encryption';
33
+ export { Compression } from './enums/compression';
34
+ export { ImageGravity } from './enums/image-gravity';
35
+ export { ImageFormat } from './enums/image-format';
36
+ export { PasswordHash } from './enums/password-hash';
37
+ export { MessagingProviderType } from './enums/messaging-provider-type';
38
+ export { getSDKForCurrentUser } from './getSDKForCurrentUser';
39
+ export * from './actions';
@@ -0,0 +1,6 @@
1
+ import type { BinaryLike } from "crypto";
2
+ export declare class InputFile {
3
+ static fromBuffer(parts: Blob | BinaryLike, name: string): File;
4
+ static fromPath(path: string, name: string): File;
5
+ static fromPlainText(content: string, name: string): File;
6
+ }
@@ -0,0 +1,38 @@
1
+ export declare class Registry {
2
+ /**
3
+ * List of all callbacks
4
+ */
5
+ protected callbacks: {
6
+ [key: string]: () => any;
7
+ };
8
+ /**
9
+ * List of all fresh resources
10
+ */
11
+ protected fresh: {
12
+ [key: string]: boolean;
13
+ };
14
+ /**
15
+ * List of all connections
16
+ */
17
+ protected registry: {
18
+ [key: string]: {
19
+ [key: string]: any;
20
+ };
21
+ };
22
+ /**
23
+ * Current context
24
+ */
25
+ protected _context: string;
26
+ /**
27
+ * Set a new connection callback
28
+ */
29
+ set(name: string, callback: () => any, fresh?: boolean): this;
30
+ /**
31
+ * If connection has been created returns it, otherwise create and then return it
32
+ */
33
+ get(name: string, fresh?: boolean): any;
34
+ /**
35
+ * Set the current context
36
+ */
37
+ context(name: string): this;
38
+ }
@@ -0,0 +1 @@
1
+ export * from './Registry';