@appconda/sdk 1.0.555 → 1.0.557

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 (347) hide show
  1. package/package.json +1 -1
  2. package/src/modules/emploid/schema.ts +6 -6
  3. package/src/modules/emploid/types.ts +1 -1
  4. package/dist/EmploidClient.d.ts +0 -52
  5. package/dist/EmploidClient.js +0 -78
  6. package/dist/client.d.ts +0 -149
  7. package/dist/client.js +0 -408
  8. package/dist/enums/api-service.d.ts +0 -13
  9. package/dist/enums/api-service.js +0 -15
  10. package/dist/enums/api.d.ts +0 -5
  11. package/dist/enums/api.js +0 -7
  12. package/dist/enums/auth-method.d.ts +0 -9
  13. package/dist/enums/auth-method.js +0 -11
  14. package/dist/enums/browser.d.ts +0 -16
  15. package/dist/enums/browser.js +0 -18
  16. package/dist/enums/compression.d.ts +0 -5
  17. package/dist/enums/compression.js +0 -7
  18. package/dist/enums/credit-card.d.ts +0 -18
  19. package/dist/enums/credit-card.js +0 -20
  20. package/dist/enums/database-usage-range.d.ts +0 -5
  21. package/dist/enums/database-usage-range.js +0 -7
  22. package/dist/enums/email-template-locale.d.ts +0 -133
  23. package/dist/enums/email-template-locale.js +0 -135
  24. package/dist/enums/email-template-type.d.ts +0 -9
  25. package/dist/enums/email-template-type.js +0 -11
  26. package/dist/enums/entities/EntityLimitType.d.ts +0 -4
  27. package/dist/enums/entities/EntityLimitType.js +0 -6
  28. package/dist/enums/entities/PropertyAttributeName.d.ts +0 -27
  29. package/dist/enums/entities/PropertyAttributeName.js +0 -29
  30. package/dist/enums/entities/PropertyCondition.d.ts +0 -7
  31. package/dist/enums/entities/PropertyCondition.js +0 -10
  32. package/dist/enums/entities/PropertyType.d.ts +0 -12
  33. package/dist/enums/entities/PropertyType.js +0 -18
  34. package/dist/enums/entities/PropertyValueType.d.ts +0 -6
  35. package/dist/enums/entities/PropertyValueType.js +0 -8
  36. package/dist/enums/entities/RowAccess.d.ts +0 -2
  37. package/dist/enums/entities/RowAccess.js +0 -2
  38. package/dist/enums/entities/ViewFilterCondition.d.ts +0 -12
  39. package/dist/enums/entities/ViewFilterCondition.js +0 -14
  40. package/dist/enums/execution-method.d.ts +0 -8
  41. package/dist/enums/execution-method.js +0 -10
  42. package/dist/enums/flag.d.ts +0 -197
  43. package/dist/enums/flag.js +0 -199
  44. package/dist/enums/function-usage-range.d.ts +0 -5
  45. package/dist/enums/function-usage-range.js +0 -7
  46. package/dist/enums/image-format.d.ts +0 -7
  47. package/dist/enums/image-format.js +0 -9
  48. package/dist/enums/image-gravity.d.ts +0 -11
  49. package/dist/enums/image-gravity.js +0 -13
  50. package/dist/enums/index-type.d.ts +0 -5
  51. package/dist/enums/index-type.js +0 -7
  52. package/dist/enums/messaging-provider-type.d.ts +0 -5
  53. package/dist/enums/messaging-provider-type.js +0 -7
  54. package/dist/enums/name.d.ts +0 -14
  55. package/dist/enums/name.js +0 -16
  56. package/dist/enums/o-auth-provider copy.d.ts +0 -41
  57. package/dist/enums/o-auth-provider copy.js +0 -43
  58. package/dist/enums/password-hash.d.ts +0 -13
  59. package/dist/enums/password-hash.js +0 -15
  60. package/dist/enums/platform-type.d.ts +0 -17
  61. package/dist/enums/platform-type.js +0 -19
  62. package/dist/enums/project-usage-range.d.ts +0 -4
  63. package/dist/enums/project-usage-range.js +0 -6
  64. package/dist/enums/region.d.ts +0 -4
  65. package/dist/enums/region.js +0 -6
  66. package/dist/enums/relation-mutate.d.ts +0 -5
  67. package/dist/enums/relation-mutate.js +0 -7
  68. package/dist/enums/relationship-type.d.ts +0 -6
  69. package/dist/enums/relationship-type.js +0 -8
  70. package/dist/enums/resource-type.d.ts +0 -4
  71. package/dist/enums/resource-type.js +0 -6
  72. package/dist/enums/runtime.d.ts +0 -48
  73. package/dist/enums/runtime.js +0 -50
  74. package/dist/enums/s-m-t-p-secure.d.ts +0 -3
  75. package/dist/enums/s-m-t-p-secure.js +0 -5
  76. package/dist/enums/shared/ApplicationLayout.d.ts +0 -4
  77. package/dist/enums/shared/ApplicationLayout.js +0 -6
  78. package/dist/enums/shared/Colors.d.ts +0 -24
  79. package/dist/enums/shared/Colors.js +0 -26
  80. package/dist/enums/shared/InputType.d.ts +0 -6
  81. package/dist/enums/shared/InputType.js +0 -8
  82. package/dist/enums/shared/Periodicity.d.ts +0 -7
  83. package/dist/enums/shared/Periodicity.js +0 -9
  84. package/dist/enums/shared/SvgIcon.d.ts +0 -37
  85. package/dist/enums/shared/SvgIcon.js +0 -39
  86. package/dist/enums/shared/Theme.d.ts +0 -4
  87. package/dist/enums/shared/Theme.js +0 -6
  88. package/dist/enums/sms-template-locale.d.ts +0 -133
  89. package/dist/enums/sms-template-locale.js +0 -135
  90. package/dist/enums/sms-template-type.d.ts +0 -6
  91. package/dist/enums/sms-template-type.js +0 -8
  92. package/dist/enums/smtp-encryption.d.ts +0 -5
  93. package/dist/enums/smtp-encryption.js +0 -7
  94. package/dist/enums/storage-usage-range.d.ts +0 -5
  95. package/dist/enums/storage-usage-range.js +0 -7
  96. package/dist/enums/subscriptions/PricingModel.d.ts +0 -11
  97. package/dist/enums/subscriptions/PricingModel.js +0 -12
  98. package/dist/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
  99. package/dist/enums/subscriptions/SubscriptionBillingPeriod.js +0 -11
  100. package/dist/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
  101. package/dist/enums/subscriptions/SubscriptionFeatureLimitType.js +0 -13
  102. package/dist/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
  103. package/dist/enums/subscriptions/SubscriptionPriceType.js +0 -8
  104. package/dist/enums/tenants/LinkedAccountStatus.d.ts +0 -5
  105. package/dist/enums/tenants/LinkedAccountStatus.js +0 -7
  106. package/dist/enums/tenants/TenantUserJoined.d.ts +0 -6
  107. package/dist/enums/tenants/TenantUserJoined.js +0 -8
  108. package/dist/enums/tenants/TenantUserStatus.d.ts +0 -6
  109. package/dist/enums/tenants/TenantUserStatus.js +0 -8
  110. package/dist/enums/tenants/TenantUserType.d.ts +0 -5
  111. package/dist/enums/tenants/TenantUserType.js +0 -7
  112. package/dist/enums/user-usage-range.d.ts +0 -5
  113. package/dist/enums/user-usage-range.js +0 -7
  114. package/dist/getAppcondaClient.d.ts +0 -14
  115. package/dist/getAppcondaClient.js +0 -60
  116. package/dist/getSDKForService.d.ts +0 -22
  117. package/dist/getSDKForService.js +0 -72
  118. package/dist/id.d.ts +0 -20
  119. package/dist/id.js +0 -45
  120. package/dist/index.d.ts +0 -7
  121. package/dist/index.js +0 -6
  122. package/dist/lib/errors.d.ts +0 -70
  123. package/dist/lib/errors.js +0 -79
  124. package/dist/lib/index.d.ts +0 -0
  125. package/dist/lib/index.js +0 -1
  126. package/dist/lib/types.d.ts +0 -5
  127. package/dist/lib/types.js +0 -2
  128. package/dist/models.d.ts +0 -3272
  129. package/dist/models.js +0 -2
  130. package/dist/modules/account/enums/authentication-factor.d.ts +0 -6
  131. package/dist/modules/account/enums/authentication-factor.js +0 -8
  132. package/dist/modules/account/enums/authenticator-type.d.ts +0 -3
  133. package/dist/modules/account/enums/authenticator-type.js +0 -5
  134. package/dist/modules/account/enums/o-auth-provider.d.ts +0 -41
  135. package/dist/modules/account/enums/o-auth-provider.js +0 -43
  136. package/dist/modules/account/index.d.ts +0 -2
  137. package/dist/modules/account/index.js +0 -3
  138. package/dist/modules/account/schema.d.ts +0 -7
  139. package/dist/modules/account/schema.js +0 -8
  140. package/dist/modules/account/service.d.ts +0 -530
  141. package/dist/modules/account/service.js +0 -1263
  142. package/dist/modules/account/types.d.ts +0 -411
  143. package/dist/modules/account/types.js +0 -2
  144. package/dist/modules/accounv1/index.d.ts +0 -3
  145. package/dist/modules/accounv1/index.js +0 -4
  146. package/dist/modules/accounv1/schema.d.ts +0 -43
  147. package/dist/modules/accounv1/schema.js +0 -44
  148. package/dist/modules/accounv1/service.d.ts +0 -14
  149. package/dist/modules/accounv1/service.js +0 -28
  150. package/dist/modules/accounv1/types.d.ts +0 -14
  151. package/dist/modules/accounv1/types.js +0 -2
  152. package/dist/modules/acl/service.d.ts +0 -26
  153. package/dist/modules/acl/service.js +0 -27
  154. package/dist/modules/agent/index.d.ts +0 -3
  155. package/dist/modules/agent/index.js +0 -4
  156. package/dist/modules/agent/schema.d.ts +0 -20
  157. package/dist/modules/agent/schema.js +0 -21
  158. package/dist/modules/agent/service.d.ts +0 -12
  159. package/dist/modules/agent/service.js +0 -22
  160. package/dist/modules/agent/types.d.ts +0 -11
  161. package/dist/modules/agent/types.js +0 -2
  162. package/dist/modules/ai/index.d.ts +0 -1
  163. package/dist/modules/ai/index.js +0 -2
  164. package/dist/modules/ai/node/index.d.ts +0 -1
  165. package/dist/modules/ai/node/index.js +0 -2
  166. package/dist/modules/ai/node/service.d.ts +0 -5
  167. package/dist/modules/ai/node/service.js +0 -12
  168. package/dist/modules/bpm/index.d.ts +0 -3
  169. package/dist/modules/bpm/index.js +0 -4
  170. package/dist/modules/bpm/schema.d.ts +0 -18
  171. package/dist/modules/bpm/schema.js +0 -19
  172. package/dist/modules/bpm/service.d.ts +0 -11
  173. package/dist/modules/bpm/service.js +0 -20
  174. package/dist/modules/bpm/types.d.ts +0 -9
  175. package/dist/modules/bpm/types.js +0 -2
  176. package/dist/modules/builder/index.d.ts +0 -3
  177. package/dist/modules/builder/index.js +0 -4
  178. package/dist/modules/builder/schema.d.ts +0 -80
  179. package/dist/modules/builder/schema.js +0 -81
  180. package/dist/modules/builder/service.d.ts +0 -22
  181. package/dist/modules/builder/service.js +0 -52
  182. package/dist/modules/builder/types.d.ts +0 -62
  183. package/dist/modules/builder/types.js +0 -2
  184. package/dist/modules/datasource/index.d.ts +0 -3
  185. package/dist/modules/datasource/index.js +0 -4
  186. package/dist/modules/datasource/schema.d.ts +0 -55
  187. package/dist/modules/datasource/schema.js +0 -56
  188. package/dist/modules/datasource/service.d.ts +0 -19
  189. package/dist/modules/datasource/service.js +0 -43
  190. package/dist/modules/datasource/types.d.ts +0 -28
  191. package/dist/modules/datasource/types.js +0 -2
  192. package/dist/modules/emploid/index.d.ts +0 -3
  193. package/dist/modules/emploid/index.js +0 -4
  194. package/dist/modules/emploid/schema.d.ts +0 -1057
  195. package/dist/modules/emploid/schema.js +0 -1019
  196. package/dist/modules/emploid/service.d.ts +0 -198
  197. package/dist/modules/emploid/service.js +0 -575
  198. package/dist/modules/emploid/types.d.ts +0 -350
  199. package/dist/modules/emploid/types.js +0 -2
  200. package/dist/modules/google/index.d.ts +0 -3
  201. package/dist/modules/google/index.js +0 -4
  202. package/dist/modules/google/schema.d.ts +0 -13
  203. package/dist/modules/google/schema.js +0 -14
  204. package/dist/modules/google/service.d.ts +0 -10
  205. package/dist/modules/google/service.js +0 -16
  206. package/dist/modules/google/types.d.ts +0 -12
  207. package/dist/modules/google/types.js +0 -2
  208. package/dist/modules/hooks/index.d.ts +0 -2
  209. package/dist/modules/hooks/index.js +0 -3
  210. package/dist/modules/hooks/lib/Hooks.d.ts +0 -32
  211. package/dist/modules/hooks/lib/Hooks.js +0 -64
  212. package/dist/modules/hooks/lib/jobs/index.d.ts +0 -2
  213. package/dist/modules/hooks/lib/jobs/index.js +0 -3
  214. package/dist/modules/hooks/lib/jobs/job1.d.ts +0 -1
  215. package/dist/modules/hooks/lib/jobs/job1.js +0 -16
  216. package/dist/modules/hooks/lib/jobs/log-job.d.ts +0 -1
  217. package/dist/modules/hooks/lib/jobs/log-job.js +0 -9
  218. package/dist/modules/hooks/lib/wait.d.ts +0 -8
  219. package/dist/modules/hooks/lib/wait.js +0 -13
  220. package/dist/modules/index.d.ts +0 -18
  221. package/dist/modules/index.js +0 -19
  222. package/dist/modules/mail/index.d.ts +0 -3
  223. package/dist/modules/mail/index.js +0 -4
  224. package/dist/modules/mail/schema.d.ts +0 -6
  225. package/dist/modules/mail/schema.js +0 -7
  226. package/dist/modules/mail/service.d.ts +0 -8
  227. package/dist/modules/mail/service.js +0 -10
  228. package/dist/modules/mail/types.d.ts +0 -6
  229. package/dist/modules/mail/types.js +0 -2
  230. package/dist/modules/notion/index.d.ts +0 -3
  231. package/dist/modules/notion/index.js +0 -4
  232. package/dist/modules/notion/schema.d.ts +0 -13
  233. package/dist/modules/notion/schema.js +0 -14
  234. package/dist/modules/notion/service.d.ts +0 -10
  235. package/dist/modules/notion/service.js +0 -19
  236. package/dist/modules/notion/types.d.ts +0 -11
  237. package/dist/modules/notion/types.js +0 -2
  238. package/dist/modules/organization/index.d.ts +0 -3
  239. package/dist/modules/organization/index.js +0 -4
  240. package/dist/modules/organization/schema.d.ts +0 -31
  241. package/dist/modules/organization/schema.js +0 -27
  242. package/dist/modules/organization/service.d.ts +0 -13
  243. package/dist/modules/organization/service.js +0 -25
  244. package/dist/modules/organization/types.d.ts +0 -11
  245. package/dist/modules/organization/types.js +0 -2
  246. package/dist/modules/scheduled-job/index.d.ts +0 -5
  247. package/dist/modules/scheduled-job/index.js +0 -6
  248. package/dist/modules/scheduled-job/lib/Schedules.d.ts +0 -34
  249. package/dist/modules/scheduled-job/lib/Schedules.js +0 -65
  250. package/dist/modules/scheduled-job/lib/jobs/index.d.ts +0 -1
  251. package/dist/modules/scheduled-job/lib/jobs/index.js +0 -2
  252. package/dist/modules/scheduled-job/lib/jobs/job1.d.ts +0 -1
  253. package/dist/modules/scheduled-job/lib/jobs/job1.js +0 -10
  254. package/dist/modules/scheduled-job/lib/wait.d.ts +0 -8
  255. package/dist/modules/scheduled-job/lib/wait.js +0 -13
  256. package/dist/modules/scheduled-job/schema.d.ts +0 -39
  257. package/dist/modules/scheduled-job/schema.js +0 -40
  258. package/dist/modules/scheduled-job/service.d.ts +0 -20
  259. package/dist/modules/scheduled-job/service.js +0 -46
  260. package/dist/modules/scheduled-job/types.d.ts +0 -66
  261. package/dist/modules/scheduled-job/types.js +0 -2
  262. package/dist/modules/scrapflow/index.d.ts +0 -2
  263. package/dist/modules/scrapflow/index.js +0 -3
  264. package/dist/modules/scrapflow/schema.d.ts +0 -105
  265. package/dist/modules/scrapflow/schema.js +0 -106
  266. package/dist/modules/scrapflow/service.d.ts +0 -24
  267. package/dist/modules/scrapflow/service.js +0 -61
  268. package/dist/modules/scrapflow/types.d.ts +0 -0
  269. package/dist/modules/scrapflow/types.js +0 -1
  270. package/dist/modules/task/index.d.ts +0 -3
  271. package/dist/modules/task/index.js +0 -4
  272. package/dist/modules/task/schema.d.ts +0 -355
  273. package/dist/modules/task/schema.js +0 -371
  274. package/dist/modules/task/service.d.ts +0 -69
  275. package/dist/modules/task/service.js +0 -193
  276. package/dist/modules/task/types.d.ts +0 -293
  277. package/dist/modules/task/types.js +0 -37
  278. package/dist/modules/tenant/index.d.ts +0 -2
  279. package/dist/modules/tenant/index.js +0 -3
  280. package/dist/modules/tenant/schema.d.ts +0 -26
  281. package/dist/modules/tenant/schema.js +0 -28
  282. package/dist/modules/tenant/service.d.ts +0 -14
  283. package/dist/modules/tenant/service.js +0 -28
  284. package/dist/modules/tenant/tenant.d.ts +0 -32
  285. package/dist/modules/tenant/tenant.js +0 -125
  286. package/dist/modules/tenant/types.d.ts +0 -20
  287. package/dist/modules/tenant/types.js +0 -2
  288. package/dist/modules/waitlist/index.d.ts +0 -3
  289. package/dist/modules/waitlist/index.js +0 -4
  290. package/dist/modules/waitlist/schema.d.ts +0 -17
  291. package/dist/modules/waitlist/schema.js +0 -18
  292. package/dist/modules/waitlist/service.d.ts +0 -13
  293. package/dist/modules/waitlist/service.js +0 -28
  294. package/dist/modules/waitlist/types.d.ts +0 -14
  295. package/dist/modules/waitlist/types.js +0 -2
  296. package/dist/permission.d.ts +0 -43
  297. package/dist/permission.js +0 -54
  298. package/dist/query.d.ts +0 -194
  299. package/dist/query.js +0 -204
  300. package/dist/role.d.ts +0 -70
  301. package/dist/role.js +0 -94
  302. package/dist/service-client.d.ts +0 -10
  303. package/dist/service-client.js +0 -31
  304. package/dist/service.d.ts +0 -11
  305. package/dist/service.js +0 -23
  306. package/dist/services/applets.d.ts +0 -9
  307. package/dist/services/applets.js +0 -40
  308. package/dist/services/avatars.d.ts +0 -115
  309. package/dist/services/avatars.js +0 -251
  310. package/dist/services/chat-flow.d.ts +0 -7
  311. package/dist/services/chat-flow.js +0 -26
  312. package/dist/services/community.d.ts +0 -19
  313. package/dist/services/community.js +0 -69
  314. package/dist/services/configuration.d.ts +0 -5
  315. package/dist/services/configuration.js +0 -11
  316. package/dist/services/databases.d.ts +0 -613
  317. package/dist/services/databases.js +0 -1736
  318. package/dist/services/functions.d.ts +0 -319
  319. package/dist/services/functions.js +0 -810
  320. package/dist/services/graphql.d.ts +0 -25
  321. package/dist/services/graphql.js +0 -57
  322. package/dist/services/health.d.ts +0 -231
  323. package/dist/services/health.js +0 -463
  324. package/dist/services/locale.d.ts +0 -80
  325. package/dist/services/locale.js +0 -144
  326. package/dist/services/messaging.d.ts +0 -685
  327. package/dist/services/messaging.js +0 -1920
  328. package/dist/services/permissions.d.ts +0 -20
  329. package/dist/services/permissions.js +0 -90
  330. package/dist/services/pricing.d.ts +0 -15
  331. package/dist/services/pricing.js +0 -21
  332. package/dist/services/projects.d.ts +0 -542
  333. package/dist/services/projects.js +0 -1526
  334. package/dist/services/roles.d.ts +0 -19
  335. package/dist/services/roles.js +0 -72
  336. package/dist/services/schema.d.ts +0 -17
  337. package/dist/services/schema.js +0 -48
  338. package/dist/services/storage.d.ts +0 -189
  339. package/dist/services/storage.js +0 -474
  340. package/dist/services/subscription.d.ts +0 -15
  341. package/dist/services/subscription.js +0 -30
  342. package/dist/services/teams.d.ts +0 -167
  343. package/dist/services/teams.js +0 -395
  344. package/dist/services/tenant-subscription.d.ts +0 -12
  345. package/dist/services/tenant-subscription.js +0 -52
  346. package/dist/services/users.d.ts +0 -499
  347. package/dist/services/users.js +0 -1283
@@ -1,25 +0,0 @@
1
- import { Client } from '../client';
2
- export declare class Graphql {
3
- client: Client;
4
- constructor(client: Client);
5
- /**
6
- * GraphQL endpoint
7
- *
8
- * Execute a GraphQL mutation.
9
- *
10
- * @param {object} query
11
- * @throws {AppcondaException}
12
- * @returns {Promise<{}>}
13
- */
14
- query(query: object): Promise<{}>;
15
- /**
16
- * GraphQL endpoint
17
- *
18
- * Execute a GraphQL mutation.
19
- *
20
- * @param {object} query
21
- * @throws {AppcondaException}
22
- * @returns {Promise<{}>}
23
- */
24
- mutation(query: object): Promise<{}>;
25
- }
@@ -1,57 +0,0 @@
1
- import { AppcondaException } from '../client';
2
- export class Graphql {
3
- constructor(client) {
4
- this.client = client;
5
- }
6
- /**
7
- * GraphQL endpoint
8
- *
9
- * Execute a GraphQL mutation.
10
- *
11
- * @param {object} query
12
- * @throws {AppcondaException}
13
- * @returns {Promise<{}>}
14
- */
15
- async query(query) {
16
- if (typeof query === 'undefined') {
17
- throw new AppcondaException('Missing required parameter: "query"');
18
- }
19
- const apiPath = '/graphql';
20
- const payload = {};
21
- if (typeof query !== 'undefined') {
22
- payload['query'] = query;
23
- }
24
- const uri = new URL(this.client.config.endpoint + apiPath);
25
- const apiHeaders = {
26
- 'x-sdk-graphql': 'true',
27
- 'content-type': 'application/json',
28
- };
29
- return await this.client.call('post', uri, apiHeaders, payload);
30
- }
31
- /**
32
- * GraphQL endpoint
33
- *
34
- * Execute a GraphQL mutation.
35
- *
36
- * @param {object} query
37
- * @throws {AppcondaException}
38
- * @returns {Promise<{}>}
39
- */
40
- async mutation(query) {
41
- if (typeof query === 'undefined') {
42
- throw new AppcondaException('Missing required parameter: "query"');
43
- }
44
- const apiPath = '/graphql/mutation';
45
- const payload = {};
46
- if (typeof query !== 'undefined') {
47
- payload['query'] = query;
48
- }
49
- const uri = new URL(this.client.config.endpoint + apiPath);
50
- const apiHeaders = {
51
- 'x-sdk-graphql': 'true',
52
- 'content-type': 'application/json',
53
- };
54
- return await this.client.call('post', uri, apiHeaders, payload);
55
- }
56
- }
57
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2aWNlcy9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iAgICAgICAgICAgICdjb250ZW50LXR5cGUnOiAnYXBwbGljYXRpb24vanNvbicsXG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gYXdhaXQgdGhpcy5jbGllbnQuY2FsbChcbiAgICAgICAgICAgICdwb3N0JyxcbiAgICAgICAgICAgIHVyaSxcbiAgICAgICAgICAgIGFwaUhlYWRlcnMsXG4gICAgICAgICAgICBwYXlsb2FkLFxuICAgICAgICApO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,231 +0,0 @@
1
- import { Client } from '../client';
2
- import type { Models } from '../models';
3
- import { Name } from '../enums/name';
4
- export declare class Health {
5
- client: Client;
6
- constructor(client: Client);
7
- /**
8
- * Get HTTP
9
- *
10
- * Check the Appconda HTTP server is up and responsive.
11
- *
12
- * @throws {AppcondaException}
13
- * @returns {Promise<Models.HealthStatus>}
14
- */
15
- get(): Promise<Models.HealthStatus>;
16
- /**
17
- * Get antivirus
18
- *
19
- * Check the Appconda Antivirus server is up and connection is successful.
20
- *
21
- * @throws {AppcondaException}
22
- * @returns {Promise<Models.HealthAntivirus>}
23
- */
24
- getAntivirus(): Promise<Models.HealthAntivirus>;
25
- /**
26
- * Get cache
27
- *
28
- * Check the Appconda in-memory cache servers are up and connection is successful.
29
- *
30
- * @throws {AppcondaException}
31
- * @returns {Promise<Models.HealthStatus>}
32
- */
33
- getCache(): Promise<Models.HealthStatus>;
34
- /**
35
- * Get the SSL certificate for a domain
36
- *
37
- * Get the SSL certificate for a domain
38
- *
39
- * @param {string} domain
40
- * @throws {AppcondaException}
41
- * @returns {Promise<Models.HealthCertificate>}
42
- */
43
- getCertificate(domain?: string): Promise<Models.HealthCertificate>;
44
- /**
45
- * Get DB
46
- *
47
- * Check the Appconda database servers are up and connection is successful.
48
- *
49
- * @throws {AppcondaException}
50
- * @returns {Promise<Models.HealthStatus>}
51
- */
52
- getDB(): Promise<Models.HealthStatus>;
53
- /**
54
- * Get pubsub
55
- *
56
- * Check the Appconda pub-sub servers are up and connection is successful.
57
- *
58
- * @throws {AppcondaException}
59
- * @returns {Promise<Models.HealthStatus>}
60
- */
61
- getPubSub(): Promise<Models.HealthStatus>;
62
- /**
63
- * Get queue
64
- *
65
- * Check the Appconda queue messaging servers are up and connection is successful.
66
- *
67
- * @throws {AppcondaException}
68
- * @returns {Promise<Models.HealthStatus>}
69
- */
70
- getQueue(): Promise<Models.HealthStatus>;
71
- /**
72
- * Get builds queue
73
- *
74
- * Get the number of builds that are waiting to be processed in the Appconda internal queue server.
75
- *
76
- * @param {number} threshold
77
- * @throws {AppcondaException}
78
- * @returns {Promise<Models.HealthQueue>}
79
- */
80
- getQueueBuilds(threshold?: number): Promise<Models.HealthQueue>;
81
- /**
82
- * Get certificates queue
83
- *
84
- * Get the number of certificates that are waiting to be issued against [Letsencrypt](https://letsencrypt.org/) in the Appconda internal queue server.
85
- *
86
- * @param {number} threshold
87
- * @throws {AppcondaException}
88
- * @returns {Promise<Models.HealthQueue>}
89
- */
90
- getQueueCertificates(threshold?: number): Promise<Models.HealthQueue>;
91
- /**
92
- * Get databases queue
93
- *
94
- * Get the number of database changes that are waiting to be processed in the Appconda internal queue server.
95
- *
96
- * @param {string} name
97
- * @param {number} threshold
98
- * @throws {AppcondaException}
99
- * @returns {Promise<Models.HealthQueue>}
100
- */
101
- getQueueDatabases(name?: string, threshold?: number): Promise<Models.HealthQueue>;
102
- /**
103
- * Get deletes queue
104
- *
105
- * Get the number of background destructive changes that are waiting to be processed in the Appconda internal queue server.
106
- *
107
- * @param {number} threshold
108
- * @throws {AppcondaException}
109
- * @returns {Promise<Models.HealthQueue>}
110
- */
111
- getQueueDeletes(threshold?: number): Promise<Models.HealthQueue>;
112
- /**
113
- * Get number of failed queue jobs
114
- *
115
- * Returns the amount of failed jobs in a given queue.
116
-
117
- *
118
- * @param {Name} name
119
- * @param {number} threshold
120
- * @throws {AppcondaException}
121
- * @returns {Promise<Models.HealthQueue>}
122
- */
123
- getFailedJobs(name: Name, threshold?: number): Promise<Models.HealthQueue>;
124
- /**
125
- * Get functions queue
126
- *
127
- * Get the number of function executions that are waiting to be processed in the Appconda internal queue server.
128
- *
129
- * @param {number} threshold
130
- * @throws {AppcondaException}
131
- * @returns {Promise<Models.HealthQueue>}
132
- */
133
- getQueueFunctions(threshold?: number): Promise<Models.HealthQueue>;
134
- /**
135
- * Get logs queue
136
- *
137
- * Get the number of logs that are waiting to be processed in the Appconda internal queue server.
138
- *
139
- * @param {number} threshold
140
- * @throws {AppcondaException}
141
- * @returns {Promise<Models.HealthQueue>}
142
- */
143
- getQueueLogs(threshold?: number): Promise<Models.HealthQueue>;
144
- /**
145
- * Get mails queue
146
- *
147
- * Get the number of mails that are waiting to be processed in the Appconda internal queue server.
148
- *
149
- * @param {number} threshold
150
- * @throws {AppcondaException}
151
- * @returns {Promise<Models.HealthQueue>}
152
- */
153
- getQueueMails(threshold?: number): Promise<Models.HealthQueue>;
154
- /**
155
- * Get messaging queue
156
- *
157
- * Get the number of messages that are waiting to be processed in the Appconda internal queue server.
158
- *
159
- * @param {number} threshold
160
- * @throws {AppcondaException}
161
- * @returns {Promise<Models.HealthQueue>}
162
- */
163
- getQueueMessaging(threshold?: number): Promise<Models.HealthQueue>;
164
- /**
165
- * Get migrations queue
166
- *
167
- * Get the number of migrations that are waiting to be processed in the Appconda internal queue server.
168
- *
169
- * @param {number} threshold
170
- * @throws {AppcondaException}
171
- * @returns {Promise<Models.HealthQueue>}
172
- */
173
- getQueueMigrations(threshold?: number): Promise<Models.HealthQueue>;
174
- /**
175
- * Get usage queue
176
- *
177
- * Get the number of metrics that are waiting to be processed in the Appconda internal queue server.
178
- *
179
- * @param {number} threshold
180
- * @throws {AppcondaException}
181
- * @returns {Promise<Models.HealthQueue>}
182
- */
183
- getQueueUsage(threshold?: number): Promise<Models.HealthQueue>;
184
- /**
185
- * Get usage dump queue
186
- *
187
- * Get the number of projects containing metrics that are waiting to be processed in the Appconda internal queue server.
188
- *
189
- * @param {number} threshold
190
- * @throws {AppcondaException}
191
- * @returns {Promise<Models.HealthQueue>}
192
- */
193
- getQueueUsageDump(threshold?: number): Promise<Models.HealthQueue>;
194
- /**
195
- * Get webhooks queue
196
- *
197
- * Get the number of webhooks that are waiting to be processed in the Appconda internal queue server.
198
- *
199
- * @param {number} threshold
200
- * @throws {AppcondaException}
201
- * @returns {Promise<Models.HealthQueue>}
202
- */
203
- getQueueWebhooks(threshold?: number): Promise<Models.HealthQueue>;
204
- /**
205
- * Get storage
206
- *
207
- * Check the Appconda storage device is up and connection is successful.
208
- *
209
- * @throws {AppcondaException}
210
- * @returns {Promise<Models.HealthStatus>}
211
- */
212
- getStorage(): Promise<Models.HealthStatus>;
213
- /**
214
- * Get local storage
215
- *
216
- * Check the Appconda local storage device is up and connection is successful.
217
- *
218
- * @throws {AppcondaException}
219
- * @returns {Promise<Models.HealthStatus>}
220
- */
221
- getStorageLocal(): Promise<Models.HealthStatus>;
222
- /**
223
- * Get time
224
- *
225
- * Check the Appconda server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https://en.wikipedia.org/wiki/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.
226
- *
227
- * @throws {AppcondaException}
228
- * @returns {Promise<Models.HealthTime>}
229
- */
230
- getTime(): Promise<Models.HealthTime>;
231
- }