@appconda/sdk 1.0.553 → 1.0.556

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 (350) hide show
  1. package/package.json +1 -1
  2. package/src/client.ts +96 -8
  3. package/src/getAppcondaClient.ts +69 -58
  4. package/src/getSDKForService.ts +7 -4
  5. package/src/index.ts +5 -2
  6. package/src/modules/emploid/schema.ts +1 -1
  7. package/dist/EmploidClient.d.ts +0 -52
  8. package/dist/EmploidClient.js +0 -78
  9. package/dist/client.d.ts +0 -141
  10. package/dist/client.js +0 -341
  11. package/dist/enums/api-service.d.ts +0 -13
  12. package/dist/enums/api-service.js +0 -15
  13. package/dist/enums/api.d.ts +0 -5
  14. package/dist/enums/api.js +0 -7
  15. package/dist/enums/auth-method.d.ts +0 -9
  16. package/dist/enums/auth-method.js +0 -11
  17. package/dist/enums/browser.d.ts +0 -16
  18. package/dist/enums/browser.js +0 -18
  19. package/dist/enums/compression.d.ts +0 -5
  20. package/dist/enums/compression.js +0 -7
  21. package/dist/enums/credit-card.d.ts +0 -18
  22. package/dist/enums/credit-card.js +0 -20
  23. package/dist/enums/database-usage-range.d.ts +0 -5
  24. package/dist/enums/database-usage-range.js +0 -7
  25. package/dist/enums/email-template-locale.d.ts +0 -133
  26. package/dist/enums/email-template-locale.js +0 -135
  27. package/dist/enums/email-template-type.d.ts +0 -9
  28. package/dist/enums/email-template-type.js +0 -11
  29. package/dist/enums/entities/EntityLimitType.d.ts +0 -4
  30. package/dist/enums/entities/EntityLimitType.js +0 -6
  31. package/dist/enums/entities/PropertyAttributeName.d.ts +0 -27
  32. package/dist/enums/entities/PropertyAttributeName.js +0 -29
  33. package/dist/enums/entities/PropertyCondition.d.ts +0 -7
  34. package/dist/enums/entities/PropertyCondition.js +0 -10
  35. package/dist/enums/entities/PropertyType.d.ts +0 -12
  36. package/dist/enums/entities/PropertyType.js +0 -18
  37. package/dist/enums/entities/PropertyValueType.d.ts +0 -6
  38. package/dist/enums/entities/PropertyValueType.js +0 -8
  39. package/dist/enums/entities/RowAccess.d.ts +0 -2
  40. package/dist/enums/entities/RowAccess.js +0 -2
  41. package/dist/enums/entities/ViewFilterCondition.d.ts +0 -12
  42. package/dist/enums/entities/ViewFilterCondition.js +0 -14
  43. package/dist/enums/execution-method.d.ts +0 -8
  44. package/dist/enums/execution-method.js +0 -10
  45. package/dist/enums/flag.d.ts +0 -197
  46. package/dist/enums/flag.js +0 -199
  47. package/dist/enums/function-usage-range.d.ts +0 -5
  48. package/dist/enums/function-usage-range.js +0 -7
  49. package/dist/enums/image-format.d.ts +0 -7
  50. package/dist/enums/image-format.js +0 -9
  51. package/dist/enums/image-gravity.d.ts +0 -11
  52. package/dist/enums/image-gravity.js +0 -13
  53. package/dist/enums/index-type.d.ts +0 -5
  54. package/dist/enums/index-type.js +0 -7
  55. package/dist/enums/messaging-provider-type.d.ts +0 -5
  56. package/dist/enums/messaging-provider-type.js +0 -7
  57. package/dist/enums/name.d.ts +0 -14
  58. package/dist/enums/name.js +0 -16
  59. package/dist/enums/o-auth-provider copy.d.ts +0 -41
  60. package/dist/enums/o-auth-provider copy.js +0 -43
  61. package/dist/enums/password-hash.d.ts +0 -13
  62. package/dist/enums/password-hash.js +0 -15
  63. package/dist/enums/platform-type.d.ts +0 -17
  64. package/dist/enums/platform-type.js +0 -19
  65. package/dist/enums/project-usage-range.d.ts +0 -4
  66. package/dist/enums/project-usage-range.js +0 -6
  67. package/dist/enums/region.d.ts +0 -4
  68. package/dist/enums/region.js +0 -6
  69. package/dist/enums/relation-mutate.d.ts +0 -5
  70. package/dist/enums/relation-mutate.js +0 -7
  71. package/dist/enums/relationship-type.d.ts +0 -6
  72. package/dist/enums/relationship-type.js +0 -8
  73. package/dist/enums/resource-type.d.ts +0 -4
  74. package/dist/enums/resource-type.js +0 -6
  75. package/dist/enums/runtime.d.ts +0 -48
  76. package/dist/enums/runtime.js +0 -50
  77. package/dist/enums/s-m-t-p-secure.d.ts +0 -3
  78. package/dist/enums/s-m-t-p-secure.js +0 -5
  79. package/dist/enums/shared/ApplicationLayout.d.ts +0 -4
  80. package/dist/enums/shared/ApplicationLayout.js +0 -6
  81. package/dist/enums/shared/Colors.d.ts +0 -24
  82. package/dist/enums/shared/Colors.js +0 -26
  83. package/dist/enums/shared/InputType.d.ts +0 -6
  84. package/dist/enums/shared/InputType.js +0 -8
  85. package/dist/enums/shared/Periodicity.d.ts +0 -7
  86. package/dist/enums/shared/Periodicity.js +0 -9
  87. package/dist/enums/shared/SvgIcon.d.ts +0 -37
  88. package/dist/enums/shared/SvgIcon.js +0 -39
  89. package/dist/enums/shared/Theme.d.ts +0 -4
  90. package/dist/enums/shared/Theme.js +0 -6
  91. package/dist/enums/sms-template-locale.d.ts +0 -133
  92. package/dist/enums/sms-template-locale.js +0 -135
  93. package/dist/enums/sms-template-type.d.ts +0 -6
  94. package/dist/enums/sms-template-type.js +0 -8
  95. package/dist/enums/smtp-encryption.d.ts +0 -5
  96. package/dist/enums/smtp-encryption.js +0 -7
  97. package/dist/enums/storage-usage-range.d.ts +0 -5
  98. package/dist/enums/storage-usage-range.js +0 -7
  99. package/dist/enums/subscriptions/PricingModel.d.ts +0 -11
  100. package/dist/enums/subscriptions/PricingModel.js +0 -12
  101. package/dist/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
  102. package/dist/enums/subscriptions/SubscriptionBillingPeriod.js +0 -11
  103. package/dist/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
  104. package/dist/enums/subscriptions/SubscriptionFeatureLimitType.js +0 -13
  105. package/dist/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
  106. package/dist/enums/subscriptions/SubscriptionPriceType.js +0 -8
  107. package/dist/enums/tenants/LinkedAccountStatus.d.ts +0 -5
  108. package/dist/enums/tenants/LinkedAccountStatus.js +0 -7
  109. package/dist/enums/tenants/TenantUserJoined.d.ts +0 -6
  110. package/dist/enums/tenants/TenantUserJoined.js +0 -8
  111. package/dist/enums/tenants/TenantUserStatus.d.ts +0 -6
  112. package/dist/enums/tenants/TenantUserStatus.js +0 -8
  113. package/dist/enums/tenants/TenantUserType.d.ts +0 -5
  114. package/dist/enums/tenants/TenantUserType.js +0 -7
  115. package/dist/enums/user-usage-range.d.ts +0 -5
  116. package/dist/enums/user-usage-range.js +0 -7
  117. package/dist/getAppcondaClient.d.ts +0 -3
  118. package/dist/getAppcondaClient.js +0 -68
  119. package/dist/getSDKForService.d.ts +0 -20
  120. package/dist/getSDKForService.js +0 -72
  121. package/dist/id.d.ts +0 -20
  122. package/dist/id.js +0 -45
  123. package/dist/index.d.ts +0 -3
  124. package/dist/index.js +0 -4
  125. package/dist/lib/errors.d.ts +0 -70
  126. package/dist/lib/errors.js +0 -79
  127. package/dist/lib/index.d.ts +0 -0
  128. package/dist/lib/index.js +0 -1
  129. package/dist/lib/types.d.ts +0 -5
  130. package/dist/lib/types.js +0 -2
  131. package/dist/models.d.ts +0 -3272
  132. package/dist/models.js +0 -2
  133. package/dist/modules/account/enums/authentication-factor.d.ts +0 -6
  134. package/dist/modules/account/enums/authentication-factor.js +0 -8
  135. package/dist/modules/account/enums/authenticator-type.d.ts +0 -3
  136. package/dist/modules/account/enums/authenticator-type.js +0 -5
  137. package/dist/modules/account/enums/o-auth-provider.d.ts +0 -41
  138. package/dist/modules/account/enums/o-auth-provider.js +0 -43
  139. package/dist/modules/account/index.d.ts +0 -2
  140. package/dist/modules/account/index.js +0 -3
  141. package/dist/modules/account/schema.d.ts +0 -7
  142. package/dist/modules/account/schema.js +0 -8
  143. package/dist/modules/account/service.d.ts +0 -530
  144. package/dist/modules/account/service.js +0 -1263
  145. package/dist/modules/account/types.d.ts +0 -411
  146. package/dist/modules/account/types.js +0 -2
  147. package/dist/modules/accounv1/index.d.ts +0 -3
  148. package/dist/modules/accounv1/index.js +0 -4
  149. package/dist/modules/accounv1/schema.d.ts +0 -43
  150. package/dist/modules/accounv1/schema.js +0 -44
  151. package/dist/modules/accounv1/service.d.ts +0 -14
  152. package/dist/modules/accounv1/service.js +0 -28
  153. package/dist/modules/accounv1/types.d.ts +0 -14
  154. package/dist/modules/accounv1/types.js +0 -2
  155. package/dist/modules/acl/service.d.ts +0 -26
  156. package/dist/modules/acl/service.js +0 -27
  157. package/dist/modules/agent/index.d.ts +0 -3
  158. package/dist/modules/agent/index.js +0 -4
  159. package/dist/modules/agent/schema.d.ts +0 -20
  160. package/dist/modules/agent/schema.js +0 -21
  161. package/dist/modules/agent/service.d.ts +0 -12
  162. package/dist/modules/agent/service.js +0 -22
  163. package/dist/modules/agent/types.d.ts +0 -11
  164. package/dist/modules/agent/types.js +0 -2
  165. package/dist/modules/ai/index.d.ts +0 -1
  166. package/dist/modules/ai/index.js +0 -2
  167. package/dist/modules/ai/node/index.d.ts +0 -1
  168. package/dist/modules/ai/node/index.js +0 -2
  169. package/dist/modules/ai/node/service.d.ts +0 -5
  170. package/dist/modules/ai/node/service.js +0 -12
  171. package/dist/modules/bpm/index.d.ts +0 -3
  172. package/dist/modules/bpm/index.js +0 -4
  173. package/dist/modules/bpm/schema.d.ts +0 -18
  174. package/dist/modules/bpm/schema.js +0 -19
  175. package/dist/modules/bpm/service.d.ts +0 -11
  176. package/dist/modules/bpm/service.js +0 -20
  177. package/dist/modules/bpm/types.d.ts +0 -9
  178. package/dist/modules/bpm/types.js +0 -2
  179. package/dist/modules/builder/index.d.ts +0 -3
  180. package/dist/modules/builder/index.js +0 -4
  181. package/dist/modules/builder/schema.d.ts +0 -80
  182. package/dist/modules/builder/schema.js +0 -81
  183. package/dist/modules/builder/service.d.ts +0 -22
  184. package/dist/modules/builder/service.js +0 -52
  185. package/dist/modules/builder/types.d.ts +0 -62
  186. package/dist/modules/builder/types.js +0 -2
  187. package/dist/modules/datasource/index.d.ts +0 -3
  188. package/dist/modules/datasource/index.js +0 -4
  189. package/dist/modules/datasource/schema.d.ts +0 -55
  190. package/dist/modules/datasource/schema.js +0 -56
  191. package/dist/modules/datasource/service.d.ts +0 -19
  192. package/dist/modules/datasource/service.js +0 -43
  193. package/dist/modules/datasource/types.d.ts +0 -28
  194. package/dist/modules/datasource/types.js +0 -2
  195. package/dist/modules/emploid/index.d.ts +0 -3
  196. package/dist/modules/emploid/index.js +0 -4
  197. package/dist/modules/emploid/schema.d.ts +0 -1057
  198. package/dist/modules/emploid/schema.js +0 -1019
  199. package/dist/modules/emploid/service.d.ts +0 -198
  200. package/dist/modules/emploid/service.js +0 -575
  201. package/dist/modules/emploid/types.d.ts +0 -350
  202. package/dist/modules/emploid/types.js +0 -2
  203. package/dist/modules/google/index.d.ts +0 -3
  204. package/dist/modules/google/index.js +0 -4
  205. package/dist/modules/google/schema.d.ts +0 -13
  206. package/dist/modules/google/schema.js +0 -14
  207. package/dist/modules/google/service.d.ts +0 -10
  208. package/dist/modules/google/service.js +0 -16
  209. package/dist/modules/google/types.d.ts +0 -12
  210. package/dist/modules/google/types.js +0 -2
  211. package/dist/modules/hooks/index.d.ts +0 -2
  212. package/dist/modules/hooks/index.js +0 -3
  213. package/dist/modules/hooks/lib/Hooks.d.ts +0 -32
  214. package/dist/modules/hooks/lib/Hooks.js +0 -64
  215. package/dist/modules/hooks/lib/jobs/index.d.ts +0 -2
  216. package/dist/modules/hooks/lib/jobs/index.js +0 -3
  217. package/dist/modules/hooks/lib/jobs/job1.d.ts +0 -1
  218. package/dist/modules/hooks/lib/jobs/job1.js +0 -16
  219. package/dist/modules/hooks/lib/jobs/log-job.d.ts +0 -1
  220. package/dist/modules/hooks/lib/jobs/log-job.js +0 -9
  221. package/dist/modules/hooks/lib/wait.d.ts +0 -8
  222. package/dist/modules/hooks/lib/wait.js +0 -13
  223. package/dist/modules/index.d.ts +0 -18
  224. package/dist/modules/index.js +0 -19
  225. package/dist/modules/mail/index.d.ts +0 -3
  226. package/dist/modules/mail/index.js +0 -4
  227. package/dist/modules/mail/schema.d.ts +0 -6
  228. package/dist/modules/mail/schema.js +0 -7
  229. package/dist/modules/mail/service.d.ts +0 -8
  230. package/dist/modules/mail/service.js +0 -10
  231. package/dist/modules/mail/types.d.ts +0 -6
  232. package/dist/modules/mail/types.js +0 -2
  233. package/dist/modules/notion/index.d.ts +0 -3
  234. package/dist/modules/notion/index.js +0 -4
  235. package/dist/modules/notion/schema.d.ts +0 -13
  236. package/dist/modules/notion/schema.js +0 -14
  237. package/dist/modules/notion/service.d.ts +0 -10
  238. package/dist/modules/notion/service.js +0 -19
  239. package/dist/modules/notion/types.d.ts +0 -11
  240. package/dist/modules/notion/types.js +0 -2
  241. package/dist/modules/organization/index.d.ts +0 -3
  242. package/dist/modules/organization/index.js +0 -4
  243. package/dist/modules/organization/schema.d.ts +0 -31
  244. package/dist/modules/organization/schema.js +0 -27
  245. package/dist/modules/organization/service.d.ts +0 -13
  246. package/dist/modules/organization/service.js +0 -25
  247. package/dist/modules/organization/types.d.ts +0 -11
  248. package/dist/modules/organization/types.js +0 -2
  249. package/dist/modules/scheduled-job/index.d.ts +0 -5
  250. package/dist/modules/scheduled-job/index.js +0 -6
  251. package/dist/modules/scheduled-job/lib/Schedules.d.ts +0 -34
  252. package/dist/modules/scheduled-job/lib/Schedules.js +0 -65
  253. package/dist/modules/scheduled-job/lib/jobs/index.d.ts +0 -1
  254. package/dist/modules/scheduled-job/lib/jobs/index.js +0 -2
  255. package/dist/modules/scheduled-job/lib/jobs/job1.d.ts +0 -1
  256. package/dist/modules/scheduled-job/lib/jobs/job1.js +0 -10
  257. package/dist/modules/scheduled-job/lib/wait.d.ts +0 -8
  258. package/dist/modules/scheduled-job/lib/wait.js +0 -13
  259. package/dist/modules/scheduled-job/schema.d.ts +0 -39
  260. package/dist/modules/scheduled-job/schema.js +0 -40
  261. package/dist/modules/scheduled-job/service.d.ts +0 -20
  262. package/dist/modules/scheduled-job/service.js +0 -46
  263. package/dist/modules/scheduled-job/types.d.ts +0 -66
  264. package/dist/modules/scheduled-job/types.js +0 -2
  265. package/dist/modules/scrapflow/index.d.ts +0 -2
  266. package/dist/modules/scrapflow/index.js +0 -3
  267. package/dist/modules/scrapflow/schema.d.ts +0 -105
  268. package/dist/modules/scrapflow/schema.js +0 -106
  269. package/dist/modules/scrapflow/service.d.ts +0 -24
  270. package/dist/modules/scrapflow/service.js +0 -61
  271. package/dist/modules/scrapflow/types.d.ts +0 -0
  272. package/dist/modules/scrapflow/types.js +0 -1
  273. package/dist/modules/task/index.d.ts +0 -3
  274. package/dist/modules/task/index.js +0 -4
  275. package/dist/modules/task/schema.d.ts +0 -355
  276. package/dist/modules/task/schema.js +0 -371
  277. package/dist/modules/task/service.d.ts +0 -69
  278. package/dist/modules/task/service.js +0 -193
  279. package/dist/modules/task/types.d.ts +0 -293
  280. package/dist/modules/task/types.js +0 -37
  281. package/dist/modules/tenant/index.d.ts +0 -2
  282. package/dist/modules/tenant/index.js +0 -3
  283. package/dist/modules/tenant/schema.d.ts +0 -26
  284. package/dist/modules/tenant/schema.js +0 -28
  285. package/dist/modules/tenant/service.d.ts +0 -14
  286. package/dist/modules/tenant/service.js +0 -28
  287. package/dist/modules/tenant/tenant.d.ts +0 -32
  288. package/dist/modules/tenant/tenant.js +0 -125
  289. package/dist/modules/tenant/types.d.ts +0 -20
  290. package/dist/modules/tenant/types.js +0 -2
  291. package/dist/modules/waitlist/index.d.ts +0 -3
  292. package/dist/modules/waitlist/index.js +0 -4
  293. package/dist/modules/waitlist/schema.d.ts +0 -17
  294. package/dist/modules/waitlist/schema.js +0 -18
  295. package/dist/modules/waitlist/service.d.ts +0 -13
  296. package/dist/modules/waitlist/service.js +0 -28
  297. package/dist/modules/waitlist/types.d.ts +0 -14
  298. package/dist/modules/waitlist/types.js +0 -2
  299. package/dist/permission.d.ts +0 -43
  300. package/dist/permission.js +0 -54
  301. package/dist/query.d.ts +0 -194
  302. package/dist/query.js +0 -204
  303. package/dist/role.d.ts +0 -70
  304. package/dist/role.js +0 -94
  305. package/dist/service-client.d.ts +0 -10
  306. package/dist/service-client.js +0 -31
  307. package/dist/service.d.ts +0 -11
  308. package/dist/service.js +0 -23
  309. package/dist/services/applets.d.ts +0 -9
  310. package/dist/services/applets.js +0 -40
  311. package/dist/services/avatars.d.ts +0 -115
  312. package/dist/services/avatars.js +0 -251
  313. package/dist/services/chat-flow.d.ts +0 -7
  314. package/dist/services/chat-flow.js +0 -26
  315. package/dist/services/community.d.ts +0 -19
  316. package/dist/services/community.js +0 -69
  317. package/dist/services/configuration.d.ts +0 -5
  318. package/dist/services/configuration.js +0 -11
  319. package/dist/services/databases.d.ts +0 -613
  320. package/dist/services/databases.js +0 -1736
  321. package/dist/services/functions.d.ts +0 -319
  322. package/dist/services/functions.js +0 -810
  323. package/dist/services/graphql.d.ts +0 -25
  324. package/dist/services/graphql.js +0 -57
  325. package/dist/services/health.d.ts +0 -231
  326. package/dist/services/health.js +0 -463
  327. package/dist/services/locale.d.ts +0 -80
  328. package/dist/services/locale.js +0 -144
  329. package/dist/services/messaging.d.ts +0 -685
  330. package/dist/services/messaging.js +0 -1920
  331. package/dist/services/permissions.d.ts +0 -20
  332. package/dist/services/permissions.js +0 -90
  333. package/dist/services/pricing.d.ts +0 -15
  334. package/dist/services/pricing.js +0 -21
  335. package/dist/services/projects.d.ts +0 -542
  336. package/dist/services/projects.js +0 -1526
  337. package/dist/services/roles.d.ts +0 -19
  338. package/dist/services/roles.js +0 -72
  339. package/dist/services/schema.d.ts +0 -17
  340. package/dist/services/schema.js +0 -48
  341. package/dist/services/storage.d.ts +0 -189
  342. package/dist/services/storage.js +0 -474
  343. package/dist/services/subscription.d.ts +0 -15
  344. package/dist/services/subscription.js +0 -30
  345. package/dist/services/teams.d.ts +0 -167
  346. package/dist/services/teams.js +0 -395
  347. package/dist/services/tenant-subscription.d.ts +0 -12
  348. package/dist/services/tenant-subscription.js +0 -52
  349. package/dist/services/users.d.ts +0 -499
  350. 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbC5qcyIsInNvdXJj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IH0gPSB7XG4gICAgICAgICAgICAneC1zZGstZ3JhcGhxbCc6ICd0cnVlJyxcbiAgICAgICAgICAgICdjb250ZW50LXR5cGUnOiAnYXBwbGljYXRpb24vanNvbicsXG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gYXdhaXQgdGhpcy5jbGllbnQuY2FsbChcbiAgICAgICAgICAgICdwb3N0JyxcbiAgICAgICAgICAgIHVyaSxcbiAgICAgICAgICAgIGFwaUhlYWRlcnMsXG4gICAgICAgICAgICBwYXlsb2FkLFxuICAgICAgICApO1xuICAgIH1cbn1cbiJdfQ==
@@ -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
- }