@appconda/nextjs 1.0.21 → 1.0.23

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 (114) hide show
  1. package/dist/index.js +37 -12565
  2. package/package.json +1 -2
  3. package/dist/iife/sdk.js +0 -12556
  4. package/dist/index.js.map +0 -1
  5. package/dist/types/Cache/Adapter.d.ts +0 -10
  6. package/dist/types/Cache/Adapters/Filesystem.d.ts +0 -16
  7. package/dist/types/Cache/Adapters/Memory.d.ts +0 -18
  8. package/dist/types/Cache/Adapters/None.d.ts +0 -12
  9. package/dist/types/Cache/Adapters/Redis.d.ts +0 -14
  10. package/dist/types/Cache/Adapters/Sharding.d.ts +0 -17
  11. package/dist/types/Cache/Cache.d.ts +0 -16
  12. package/dist/types/Cache/index.d.ts +0 -5
  13. package/dist/types/Cache/test.d.ts +0 -0
  14. package/dist/types/Services.d.ts +0 -6
  15. package/dist/types/actions/actionClient.d.ts +0 -4
  16. package/dist/types/actions/index.d.ts +0 -1
  17. package/dist/types/actions/nodes.d.ts +0 -4
  18. package/dist/types/client.d.ts +0 -141
  19. package/dist/types/decorators/Cache.d.ts +0 -1
  20. package/dist/types/decorators/CacheKey.d.ts +0 -1
  21. package/dist/types/decorators/Invalidate.d.ts +0 -1
  22. package/dist/types/enums/api-service.d.ts +0 -13
  23. package/dist/types/enums/api.d.ts +0 -5
  24. package/dist/types/enums/auth-method.d.ts +0 -9
  25. package/dist/types/enums/authentication-factor.d.ts +0 -6
  26. package/dist/types/enums/authenticator-type.d.ts +0 -3
  27. package/dist/types/enums/browser.d.ts +0 -16
  28. package/dist/types/enums/compression.d.ts +0 -5
  29. package/dist/types/enums/credit-card.d.ts +0 -18
  30. package/dist/types/enums/database-usage-range.d.ts +0 -5
  31. package/dist/types/enums/email-template-locale.d.ts +0 -133
  32. package/dist/types/enums/email-template-type.d.ts +0 -9
  33. package/dist/types/enums/entities/EntityLimitType.d.ts +0 -4
  34. package/dist/types/enums/entities/PropertyAttributeName.d.ts +0 -27
  35. package/dist/types/enums/entities/PropertyCondition.d.ts +0 -7
  36. package/dist/types/enums/entities/PropertyType.d.ts +0 -12
  37. package/dist/types/enums/entities/PropertyValueType.d.ts +0 -6
  38. package/dist/types/enums/entities/RowAccess.d.ts +0 -2
  39. package/dist/types/enums/entities/ViewFilterCondition.d.ts +0 -12
  40. package/dist/types/enums/execution-method.d.ts +0 -8
  41. package/dist/types/enums/flag.d.ts +0 -197
  42. package/dist/types/enums/function-usage-range.d.ts +0 -5
  43. package/dist/types/enums/image-format.d.ts +0 -7
  44. package/dist/types/enums/image-gravity.d.ts +0 -11
  45. package/dist/types/enums/index-type.d.ts +0 -5
  46. package/dist/types/enums/messaging-provider-type.d.ts +0 -5
  47. package/dist/types/enums/name.d.ts +0 -14
  48. package/dist/types/enums/o-auth-provider copy.d.ts +0 -41
  49. package/dist/types/enums/o-auth-provider.d.ts +0 -41
  50. package/dist/types/enums/password-hash.d.ts +0 -13
  51. package/dist/types/enums/platform-type.d.ts +0 -17
  52. package/dist/types/enums/project-usage-range.d.ts +0 -4
  53. package/dist/types/enums/region.d.ts +0 -4
  54. package/dist/types/enums/relation-mutate.d.ts +0 -5
  55. package/dist/types/enums/relationship-type.d.ts +0 -6
  56. package/dist/types/enums/resource-type.d.ts +0 -4
  57. package/dist/types/enums/runtime.d.ts +0 -48
  58. package/dist/types/enums/s-m-t-p-secure.d.ts +0 -3
  59. package/dist/types/enums/shared/ApplicationLayout.d.ts +0 -4
  60. package/dist/types/enums/shared/Colors.d.ts +0 -24
  61. package/dist/types/enums/shared/InputType.d.ts +0 -6
  62. package/dist/types/enums/shared/Periodicity.d.ts +0 -7
  63. package/dist/types/enums/shared/SvgIcon.d.ts +0 -37
  64. package/dist/types/enums/shared/Theme.d.ts +0 -4
  65. package/dist/types/enums/sms-template-locale.d.ts +0 -133
  66. package/dist/types/enums/sms-template-type.d.ts +0 -6
  67. package/dist/types/enums/smtp-encryption.d.ts +0 -5
  68. package/dist/types/enums/storage-usage-range.d.ts +0 -5
  69. package/dist/types/enums/subscriptions/PricingModel.d.ts +0 -11
  70. package/dist/types/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
  71. package/dist/types/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
  72. package/dist/types/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
  73. package/dist/types/enums/tenants/LinkedAccountStatus.d.ts +0 -5
  74. package/dist/types/enums/tenants/TenantUserJoined.d.ts +0 -6
  75. package/dist/types/enums/tenants/TenantUserStatus.d.ts +0 -6
  76. package/dist/types/enums/tenants/TenantUserType.d.ts +0 -5
  77. package/dist/types/enums/user-usage-range.d.ts +0 -5
  78. package/dist/types/getAppcondaClient.d.ts +0 -2
  79. package/dist/types/getSDKForCurrentUser.d.ts +0 -33
  80. package/dist/types/id.d.ts +0 -20
  81. package/dist/types/index.d.ts +0 -39
  82. package/dist/types/inputFile.d.ts +0 -6
  83. package/dist/types/lib/Registry/Registry.d.ts +0 -38
  84. package/dist/types/lib/Registry/index.d.ts +0 -1
  85. package/dist/types/models.d.ts +0 -3272
  86. package/dist/types/permission.d.ts +0 -43
  87. package/dist/types/query.d.ts +0 -194
  88. package/dist/types/role.d.ts +0 -70
  89. package/dist/types/service-client.d.ts +0 -7
  90. package/dist/types/service.d.ts +0 -11
  91. package/dist/types/services/account.d.ts +0 -530
  92. package/dist/types/services/applets.d.ts +0 -9
  93. package/dist/types/services/avatars.d.ts +0 -115
  94. package/dist/types/services/community.d.ts +0 -19
  95. package/dist/types/services/configuration.d.ts +0 -5
  96. package/dist/types/services/databases.d.ts +0 -613
  97. package/dist/types/services/functions.d.ts +0 -319
  98. package/dist/types/services/graphql.d.ts +0 -25
  99. package/dist/types/services/health.d.ts +0 -231
  100. package/dist/types/services/locale.d.ts +0 -80
  101. package/dist/types/services/messaging.d.ts +0 -685
  102. package/dist/types/services/node.d.ts +0 -5
  103. package/dist/types/services/permissions.d.ts +0 -20
  104. package/dist/types/services/pricing.d.ts +0 -15
  105. package/dist/types/services/projects.d.ts +0 -542
  106. package/dist/types/services/roles.d.ts +0 -19
  107. package/dist/types/services/schema.d.ts +0 -17
  108. package/dist/types/services/storage.d.ts +0 -189
  109. package/dist/types/services/subscription.d.ts +0 -15
  110. package/dist/types/services/teams.d.ts +0 -167
  111. package/dist/types/services/tenant-subscription.d.ts +0 -12
  112. package/dist/types/services/tenant.d.ts +0 -32
  113. package/dist/types/services/users.d.ts +0 -499
  114. package/dist/types/services/waitlist.d.ts +0 -5
@@ -1,319 +0,0 @@
1
- import { Client, UploadProgress } from '../client';
2
- import type { Models } from '../models';
3
- import { Runtime } from '../enums/runtime';
4
- import { ExecutionMethod } from '../enums/execution-method';
5
- export declare class Functions {
6
- client: Client;
7
- constructor(client: Client);
8
- /**
9
- * List functions
10
- *
11
- * Get a list of all the project's functions. You can use the query params to filter your results.
12
- *
13
- * @param {string[]} queries
14
- * @param {string} search
15
- * @throws {AppcondaException}
16
- * @returns {Promise<Models.FunctionList>}
17
- */
18
- list(queries?: string[], search?: string): Promise<Models.FunctionList>;
19
- /**
20
- * Create function
21
- *
22
- * Create a new function. You can pass a list of [permissions](https://appconda.io/docs/permissions) to allow different project users or team with access to execute the function using the client API.
23
- *
24
- * @param {string} functionId
25
- * @param {string} name
26
- * @param {Runtime} runtime
27
- * @param {string[]} execute
28
- * @param {string[]} events
29
- * @param {string} schedule
30
- * @param {number} timeout
31
- * @param {boolean} enabled
32
- * @param {boolean} logging
33
- * @param {string} entrypoint
34
- * @param {string} commands
35
- * @param {string[]} scopes
36
- * @param {string} installationId
37
- * @param {string} providerRepositoryId
38
- * @param {string} providerBranch
39
- * @param {boolean} providerSilentMode
40
- * @param {string} providerRootDirectory
41
- * @param {string} templateRepository
42
- * @param {string} templateOwner
43
- * @param {string} templateRootDirectory
44
- * @param {string} templateVersion
45
- * @param {string} specification
46
- * @throws {AppcondaException}
47
- * @returns {Promise<Models.Function>}
48
- */
49
- create(functionId: string, name: string, runtime: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: string[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, templateRepository?: string, templateOwner?: string, templateRootDirectory?: string, templateVersion?: string, specification?: string): Promise<Models.Function>;
50
- /**
51
- * List runtimes
52
- *
53
- * Get a list of all runtimes that are currently active on your instance.
54
- *
55
- * @throws {AppcondaException}
56
- * @returns {Promise<Models.RuntimeList>}
57
- */
58
- listRuntimes(): Promise<Models.RuntimeList>;
59
- /**
60
- * List available function runtime specifications
61
- *
62
- * List allowed function specifications for this instance.
63
-
64
- *
65
- * @throws {AppcondaException}
66
- * @returns {Promise<Models.SpecificationList>}
67
- */
68
- listSpecifications(): Promise<Models.SpecificationList>;
69
- /**
70
- * Get function
71
- *
72
- * Get a function by its unique ID.
73
- *
74
- * @param {string} functionId
75
- * @throws {AppcondaException}
76
- * @returns {Promise<Models.Function>}
77
- */
78
- get(functionId: string): Promise<Models.Function>;
79
- /**
80
- * Update function
81
- *
82
- * Update function by its unique ID.
83
- *
84
- * @param {string} functionId
85
- * @param {string} name
86
- * @param {Runtime} runtime
87
- * @param {string[]} execute
88
- * @param {string[]} events
89
- * @param {string} schedule
90
- * @param {number} timeout
91
- * @param {boolean} enabled
92
- * @param {boolean} logging
93
- * @param {string} entrypoint
94
- * @param {string} commands
95
- * @param {string[]} scopes
96
- * @param {string} installationId
97
- * @param {string} providerRepositoryId
98
- * @param {string} providerBranch
99
- * @param {boolean} providerSilentMode
100
- * @param {string} providerRootDirectory
101
- * @param {string} specification
102
- * @throws {AppcondaException}
103
- * @returns {Promise<Models.Function>}
104
- */
105
- update(functionId: string, name: string, runtime?: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: string[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string): Promise<Models.Function>;
106
- /**
107
- * Delete function
108
- *
109
- * Delete a function by its unique ID.
110
- *
111
- * @param {string} functionId
112
- * @throws {AppcondaException}
113
- * @returns {Promise<{}>}
114
- */
115
- delete(functionId: string): Promise<{}>;
116
- /**
117
- * List deployments
118
- *
119
- * Get a list of all the project&#039;s code deployments. You can use the query params to filter your results.
120
- *
121
- * @param {string} functionId
122
- * @param {string[]} queries
123
- * @param {string} search
124
- * @throws {AppcondaException}
125
- * @returns {Promise<Models.DeploymentList>}
126
- */
127
- listDeployments(functionId: string, queries?: string[], search?: string): Promise<Models.DeploymentList>;
128
- /**
129
- * Create deployment
130
- *
131
- * Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you&#039;ll need to update the function&#039;s deployment to use your new deployment UID.
132
-
133
- This endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appconda Cloud Functions tutorial](https://appconda.io/docs/functions).
134
-
135
- Use the &quot;command&quot; param to set the entrypoint used to execute your code.
136
- *
137
- * @param {string} functionId
138
- * @param {File} code
139
- * @param {boolean} activate
140
- * @param {string} entrypoint
141
- * @param {string} commands
142
- * @throws {AppcondaException}
143
- * @returns {Promise<Models.Deployment>}
144
- */
145
- createDeployment(functionId: string, code: File, activate: boolean, entrypoint?: string, commands?: string, onProgress?: (progress: UploadProgress) => void): Promise<Models.Deployment>;
146
- /**
147
- * Get deployment
148
- *
149
- * Get a code deployment by its unique ID.
150
- *
151
- * @param {string} functionId
152
- * @param {string} deploymentId
153
- * @throws {AppcondaException}
154
- * @returns {Promise<Models.Deployment>}
155
- */
156
- getDeployment(functionId: string, deploymentId: string): Promise<Models.Deployment>;
157
- /**
158
- * Update deployment
159
- *
160
- * Update the function code deployment ID using the unique function ID. Use this endpoint to switch the code deployment that should be executed by the execution endpoint.
161
- *
162
- * @param {string} functionId
163
- * @param {string} deploymentId
164
- * @throws {AppcondaException}
165
- * @returns {Promise<Models.Function>}
166
- */
167
- updateDeployment(functionId: string, deploymentId: string): Promise<Models.Function>;
168
- /**
169
- * Delete deployment
170
- *
171
- * Delete a code deployment by its unique ID.
172
- *
173
- * @param {string} functionId
174
- * @param {string} deploymentId
175
- * @throws {AppcondaException}
176
- * @returns {Promise<{}>}
177
- */
178
- deleteDeployment(functionId: string, deploymentId: string): Promise<{}>;
179
- /**
180
- * Rebuild deployment
181
- *
182
- *
183
- * @param {string} functionId
184
- * @param {string} deploymentId
185
- * @param {string} buildId
186
- * @throws {AppcondaException}
187
- * @returns {Promise<{}>}
188
- */
189
- createBuild(functionId: string, deploymentId: string, buildId?: string): Promise<{}>;
190
- /**
191
- * Cancel deployment
192
- *
193
- *
194
- * @param {string} functionId
195
- * @param {string} deploymentId
196
- * @throws {AppcondaException}
197
- * @returns {Promise<Models.Build>}
198
- */
199
- updateDeploymentBuild(functionId: string, deploymentId: string): Promise<Models.Build>;
200
- /**
201
- * Download deployment
202
- *
203
- * Get a Deployment&#039;s contents by its unique ID. This endpoint supports range requests for partial or streaming file download.
204
- *
205
- * @param {string} functionId
206
- * @param {string} deploymentId
207
- * @throws {AppcondaException}
208
- * @returns {Promise<ArrayBuffer>}
209
- */
210
- getDeploymentDownload(functionId: string, deploymentId: string): Promise<ArrayBuffer>;
211
- /**
212
- * List executions
213
- *
214
- * Get a list of all the current user function execution logs. You can use the query params to filter your results.
215
- *
216
- * @param {string} functionId
217
- * @param {string[]} queries
218
- * @param {string} search
219
- * @throws {AppcondaException}
220
- * @returns {Promise<Models.ExecutionList>}
221
- */
222
- listExecutions(functionId: string, queries?: string[], search?: string): Promise<Models.ExecutionList>;
223
- /**
224
- * Create execution
225
- *
226
- * Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.
227
- *
228
- * @param {string} functionId
229
- * @param {string} body
230
- * @param {boolean} async
231
- * @param {string} xpath
232
- * @param {ExecutionMethod} method
233
- * @param {object} headers
234
- * @param {string} scheduledAt
235
- * @throws {AppcondaException}
236
- * @returns {Promise<Models.Execution>}
237
- */
238
- createExecution(functionId: string, body?: string, async?: boolean, xpath?: string, method?: ExecutionMethod, headers?: object, scheduledAt?: string): Promise<Models.Execution>;
239
- /**
240
- * Get execution
241
- *
242
- * Get a function execution log by its unique ID.
243
- *
244
- * @param {string} functionId
245
- * @param {string} executionId
246
- * @throws {AppcondaException}
247
- * @returns {Promise<Models.Execution>}
248
- */
249
- getExecution(functionId: string, executionId: string): Promise<Models.Execution>;
250
- /**
251
- * Delete execution
252
- *
253
- * Delete a function execution by its unique ID.
254
-
255
- *
256
- * @param {string} functionId
257
- * @param {string} executionId
258
- * @throws {AppcondaException}
259
- * @returns {Promise<{}>}
260
- */
261
- deleteExecution(functionId: string, executionId: string): Promise<{}>;
262
- /**
263
- * List variables
264
- *
265
- * Get a list of all variables of a specific function.
266
- *
267
- * @param {string} functionId
268
- * @throws {AppcondaException}
269
- * @returns {Promise<Models.VariableList>}
270
- */
271
- listVariables(functionId: string): Promise<Models.VariableList>;
272
- /**
273
- * Create variable
274
- *
275
- * Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables.
276
- *
277
- * @param {string} functionId
278
- * @param {string} key
279
- * @param {string} value
280
- * @throws {AppcondaException}
281
- * @returns {Promise<Models.Variable>}
282
- */
283
- createVariable(functionId: string, key: string, value: string): Promise<Models.Variable>;
284
- /**
285
- * Get variable
286
- *
287
- * Get a variable by its unique ID.
288
- *
289
- * @param {string} functionId
290
- * @param {string} variableId
291
- * @throws {AppcondaException}
292
- * @returns {Promise<Models.Variable>}
293
- */
294
- getVariable(functionId: string, variableId: string): Promise<Models.Variable>;
295
- /**
296
- * Update variable
297
- *
298
- * Update variable by its unique ID.
299
- *
300
- * @param {string} functionId
301
- * @param {string} variableId
302
- * @param {string} key
303
- * @param {string} value
304
- * @throws {AppcondaException}
305
- * @returns {Promise<Models.Variable>}
306
- */
307
- updateVariable(functionId: string, variableId: string, key: string, value?: string): Promise<Models.Variable>;
308
- /**
309
- * Delete variable
310
- *
311
- * Delete a variable by its unique ID.
312
- *
313
- * @param {string} functionId
314
- * @param {string} variableId
315
- * @throws {AppcondaException}
316
- * @returns {Promise<{}>}
317
- */
318
- deleteVariable(functionId: string, variableId: string): Promise<{}>;
319
- }
@@ -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,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
- }
@@ -1,80 +0,0 @@
1
- import { Client } from '../client';
2
- import type { Models } from '../models';
3
- export declare class Locale {
4
- client: Client;
5
- constructor(client: Client);
6
- /**
7
- * Get user locale
8
- *
9
- * Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.
10
-
11
- ([IP Geolocation by DB-IP](https://db-ip.com))
12
- *
13
- * @throws {AppcondaException}
14
- * @returns {Promise<Models.Locale>}
15
- */
16
- get(): Promise<Models.Locale>;
17
- /**
18
- * List Locale Codes
19
- *
20
- * List of all locale codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes).
21
- *
22
- * @throws {AppcondaException}
23
- * @returns {Promise<Models.LocaleCodeList>}
24
- */
25
- listCodes(): Promise<Models.LocaleCodeList>;
26
- /**
27
- * List continents
28
- *
29
- * List of all continents. You can use the locale header to get the data in a supported language.
30
- *
31
- * @throws {AppcondaException}
32
- * @returns {Promise<Models.ContinentList>}
33
- */
34
- listContinents(): Promise<Models.ContinentList>;
35
- /**
36
- * List countries
37
- *
38
- * List of all countries. You can use the locale header to get the data in a supported language.
39
- *
40
- * @throws {AppcondaException}
41
- * @returns {Promise<Models.CountryList>}
42
- */
43
- listCountries(): Promise<Models.CountryList>;
44
- /**
45
- * List EU countries
46
- *
47
- * List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.
48
- *
49
- * @throws {AppcondaException}
50
- * @returns {Promise<Models.CountryList>}
51
- */
52
- listCountriesEU(): Promise<Models.CountryList>;
53
- /**
54
- * List countries phone codes
55
- *
56
- * List of all countries phone codes. You can use the locale header to get the data in a supported language.
57
- *
58
- * @throws {AppcondaException}
59
- * @returns {Promise<Models.PhoneList>}
60
- */
61
- listCountriesPhones(): Promise<Models.PhoneList>;
62
- /**
63
- * List currencies
64
- *
65
- * List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.
66
- *
67
- * @throws {AppcondaException}
68
- * @returns {Promise<Models.CurrencyList>}
69
- */
70
- listCurrencies(): Promise<Models.CurrencyList>;
71
- /**
72
- * List languages
73
- *
74
- * List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.
75
- *
76
- * @throws {AppcondaException}
77
- * @returns {Promise<Models.LanguageList>}
78
- */
79
- listLanguages(): Promise<Models.LanguageList>;
80
- }