@appconda/nextjs 1.0.112 → 1.0.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/dist/actions/actionClient.d.ts +0 -10
- package/dist/actions/actionClient.js +0 -38
- package/dist/actions/auth.d.ts +0 -1
- package/dist/actions/auth.js +0 -6
- package/dist/actions/authOptions.d.ts +0 -5
- package/dist/actions/authOptions.js +0 -235
- package/dist/actions/index.d.ts +0 -3
- package/dist/actions/index.js +0 -4
- package/dist/actions/nextAuthHandler.d.ts +0 -1
- package/dist/actions/nextAuthHandler.js +0 -6
- package/dist/actions/nodes.d.ts +0 -4
- package/dist/actions/nodes.js +0 -15
- package/dist/client.d.ts +0 -141
- package/dist/client.js +0 -335
- package/dist/decorators/Cache.d.ts +0 -1
- package/dist/decorators/Cache.js +0 -79
- package/dist/decorators/CacheKey.d.ts +0 -1
- package/dist/decorators/CacheKey.js +0 -9
- package/dist/decorators/Invalidate.d.ts +0 -1
- package/dist/decorators/Invalidate.js +0 -47
- package/dist/enums/api-service.d.ts +0 -13
- package/dist/enums/api-service.js +0 -15
- package/dist/enums/api.d.ts +0 -5
- package/dist/enums/api.js +0 -7
- package/dist/enums/auth-method.d.ts +0 -9
- package/dist/enums/auth-method.js +0 -11
- package/dist/enums/authentication-factor.d.ts +0 -6
- package/dist/enums/authentication-factor.js +0 -7
- package/dist/enums/authenticator-type.d.ts +0 -3
- package/dist/enums/authenticator-type.js +0 -4
- package/dist/enums/browser.d.ts +0 -16
- package/dist/enums/browser.js +0 -18
- package/dist/enums/compression.d.ts +0 -5
- package/dist/enums/compression.js +0 -7
- package/dist/enums/credit-card.d.ts +0 -18
- package/dist/enums/credit-card.js +0 -20
- package/dist/enums/database-usage-range.d.ts +0 -5
- package/dist/enums/database-usage-range.js +0 -7
- package/dist/enums/email-template-locale.d.ts +0 -133
- package/dist/enums/email-template-locale.js +0 -135
- package/dist/enums/email-template-type.d.ts +0 -9
- package/dist/enums/email-template-type.js +0 -11
- package/dist/enums/entities/EntityLimitType.d.ts +0 -4
- package/dist/enums/entities/EntityLimitType.js +0 -6
- package/dist/enums/entities/PropertyAttributeName.d.ts +0 -27
- package/dist/enums/entities/PropertyAttributeName.js +0 -29
- package/dist/enums/entities/PropertyCondition.d.ts +0 -7
- package/dist/enums/entities/PropertyCondition.js +0 -10
- package/dist/enums/entities/PropertyType.d.ts +0 -12
- package/dist/enums/entities/PropertyType.js +0 -18
- package/dist/enums/entities/PropertyValueType.d.ts +0 -6
- package/dist/enums/entities/PropertyValueType.js +0 -8
- package/dist/enums/entities/RowAccess.d.ts +0 -2
- package/dist/enums/entities/RowAccess.js +0 -2
- package/dist/enums/entities/ViewFilterCondition.d.ts +0 -12
- package/dist/enums/entities/ViewFilterCondition.js +0 -14
- package/dist/enums/execution-method.d.ts +0 -8
- package/dist/enums/execution-method.js +0 -10
- package/dist/enums/flag.d.ts +0 -197
- package/dist/enums/flag.js +0 -199
- package/dist/enums/function-usage-range.d.ts +0 -5
- package/dist/enums/function-usage-range.js +0 -7
- package/dist/enums/image-format.d.ts +0 -7
- package/dist/enums/image-format.js +0 -9
- package/dist/enums/image-gravity.d.ts +0 -11
- package/dist/enums/image-gravity.js +0 -13
- package/dist/enums/index-type.d.ts +0 -5
- package/dist/enums/index-type.js +0 -7
- package/dist/enums/messaging-provider-type.d.ts +0 -5
- package/dist/enums/messaging-provider-type.js +0 -7
- package/dist/enums/name.d.ts +0 -14
- package/dist/enums/name.js +0 -16
- package/dist/enums/o-auth-provider copy.d.ts +0 -41
- package/dist/enums/o-auth-provider copy.js +0 -43
- package/dist/enums/o-auth-provider.d.ts +0 -41
- package/dist/enums/o-auth-provider.js +0 -42
- package/dist/enums/password-hash.d.ts +0 -13
- package/dist/enums/password-hash.js +0 -15
- package/dist/enums/platform-type.d.ts +0 -17
- package/dist/enums/platform-type.js +0 -19
- package/dist/enums/project-usage-range.d.ts +0 -4
- package/dist/enums/project-usage-range.js +0 -6
- package/dist/enums/region.d.ts +0 -4
- package/dist/enums/region.js +0 -6
- package/dist/enums/relation-mutate.d.ts +0 -5
- package/dist/enums/relation-mutate.js +0 -7
- package/dist/enums/relationship-type.d.ts +0 -6
- package/dist/enums/relationship-type.js +0 -8
- package/dist/enums/resource-type.d.ts +0 -4
- package/dist/enums/resource-type.js +0 -6
- package/dist/enums/runtime.d.ts +0 -48
- package/dist/enums/runtime.js +0 -50
- package/dist/enums/s-m-t-p-secure.d.ts +0 -3
- package/dist/enums/s-m-t-p-secure.js +0 -5
- package/dist/enums/shared/ApplicationLayout.d.ts +0 -4
- package/dist/enums/shared/ApplicationLayout.js +0 -6
- package/dist/enums/shared/Colors.d.ts +0 -24
- package/dist/enums/shared/Colors.js +0 -26
- package/dist/enums/shared/InputType.d.ts +0 -6
- package/dist/enums/shared/InputType.js +0 -8
- package/dist/enums/shared/Periodicity.d.ts +0 -7
- package/dist/enums/shared/Periodicity.js +0 -9
- package/dist/enums/shared/SvgIcon.d.ts +0 -37
- package/dist/enums/shared/SvgIcon.js +0 -39
- package/dist/enums/shared/Theme.d.ts +0 -4
- package/dist/enums/shared/Theme.js +0 -6
- package/dist/enums/sms-template-locale.d.ts +0 -133
- package/dist/enums/sms-template-locale.js +0 -135
- package/dist/enums/sms-template-type.d.ts +0 -6
- package/dist/enums/sms-template-type.js +0 -8
- package/dist/enums/smtp-encryption.d.ts +0 -5
- package/dist/enums/smtp-encryption.js +0 -7
- package/dist/enums/storage-usage-range.d.ts +0 -5
- package/dist/enums/storage-usage-range.js +0 -7
- package/dist/enums/subscriptions/PricingModel.d.ts +0 -11
- package/dist/enums/subscriptions/PricingModel.js +0 -12
- package/dist/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
- package/dist/enums/subscriptions/SubscriptionBillingPeriod.js +0 -11
- package/dist/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
- package/dist/enums/subscriptions/SubscriptionFeatureLimitType.js +0 -13
- package/dist/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
- package/dist/enums/subscriptions/SubscriptionPriceType.js +0 -8
- package/dist/enums/tenants/LinkedAccountStatus.d.ts +0 -5
- package/dist/enums/tenants/LinkedAccountStatus.js +0 -7
- package/dist/enums/tenants/TenantUserJoined.d.ts +0 -6
- package/dist/enums/tenants/TenantUserJoined.js +0 -8
- package/dist/enums/tenants/TenantUserStatus.d.ts +0 -6
- package/dist/enums/tenants/TenantUserStatus.js +0 -8
- package/dist/enums/tenants/TenantUserType.d.ts +0 -5
- package/dist/enums/tenants/TenantUserType.js +0 -7
- package/dist/enums/user-usage-range.d.ts +0 -5
- package/dist/enums/user-usage-range.js +0 -7
- package/dist/getAppcondaClient.d.ts +0 -2
- package/dist/getAppcondaClient.js +0 -44
- package/dist/getSDKForCurrentUser.d.ts +0 -43
- package/dist/getSDKForCurrentUser.js +0 -76
- package/dist/getSDKForService.d.ts +0 -6
- package/dist/getSDKForService.js +0 -51
- package/dist/getSDKForTenant.d.ts +0 -20
- package/dist/getSDKForTenant.js +0 -44
- package/dist/id.d.ts +0 -20
- package/dist/id.js +0 -45
- package/dist/index.d.ts +0 -44
- package/dist/index.js +0 -42
- package/dist/inputFile.d.ts +0 -6
- package/dist/inputFile.js +0 -17
- package/dist/lib/Cache/Adapter.d.ts +0 -10
- package/dist/lib/Cache/Adapter.js +0 -2
- package/dist/lib/Cache/Adapters/Filesystem.d.ts +0 -16
- package/dist/lib/Cache/Adapters/Filesystem.js +0 -103
- package/dist/lib/Cache/Adapters/Memory.d.ts +0 -18
- package/dist/lib/Cache/Adapters/Memory.js +0 -47
- package/dist/lib/Cache/Adapters/None.d.ts +0 -12
- package/dist/lib/Cache/Adapters/None.js +0 -28
- package/dist/lib/Cache/Adapters/Sharding.d.ts +0 -17
- package/dist/lib/Cache/Adapters/Sharding.js +0 -73
- package/dist/lib/Cache/Cache.d.ts +0 -16
- package/dist/lib/Cache/Cache.js +0 -52
- package/dist/lib/Cache/index.d.ts +0 -4
- package/dist/lib/Cache/index.js +0 -5
- package/dist/lib/Cache/test.d.ts +0 -0
- package/dist/lib/Cache/test.js +0 -1
- package/dist/lib/Registry/Registry.d.ts +0 -38
- package/dist/lib/Registry/Registry.js +0 -56
- package/dist/lib/Registry/index.d.ts +0 -1
- package/dist/lib/Registry/index.js +0 -2
- package/dist/lib/Services.d.ts +0 -6
- package/dist/lib/Services.js +0 -14
- package/dist/lib/crypto.d.ts +0 -23
- package/dist/lib/crypto.js +0 -78
- package/dist/lib/env.d.ts +0 -1
- package/dist/lib/env.js +0 -137
- package/dist/lib/errors.d.ts +0 -70
- package/dist/lib/errors.js +0 -76
- package/dist/lib/index.d.ts +0 -2
- package/dist/lib/index.js +0 -3
- package/dist/lib/jwt.d.ts +0 -12
- package/dist/lib/jwt.js +0 -103
- package/dist/models.d.ts +0 -3272
- package/dist/models.js +0 -2
- package/dist/modules/account/actions.d.ts +0 -25
- package/dist/modules/account/actions.js +0 -18
- package/dist/modules/account/enums/authentication-factor.d.ts +0 -6
- package/dist/modules/account/enums/authentication-factor.js +0 -8
- package/dist/modules/account/enums/authenticator-type.d.ts +0 -3
- package/dist/modules/account/enums/authenticator-type.js +0 -5
- package/dist/modules/account/enums/o-auth-provider.d.ts +0 -41
- package/dist/modules/account/enums/o-auth-provider.js +0 -43
- package/dist/modules/account/index.d.ts +0 -3
- package/dist/modules/account/index.js +0 -4
- package/dist/modules/account/schema.d.ts +0 -17
- package/dist/modules/account/schema.js +0 -8
- package/dist/modules/account/service.d.ts +0 -530
- package/dist/modules/account/service.js +0 -1260
- package/dist/modules/account/types.d.ts +0 -411
- package/dist/modules/account/types.js +0 -2
- package/dist/modules/acl/service.d.ts +0 -26
- package/dist/modules/acl/service.js +0 -27
- package/dist/modules/agent/action.d.ts +0 -53
- package/dist/modules/agent/action.js +0 -64
- package/dist/modules/agent/index.d.ts +0 -4
- package/dist/modules/agent/index.js +0 -5
- package/dist/modules/agent/schema.d.ts +0 -48
- package/dist/modules/agent/schema.js +0 -21
- package/dist/modules/agent/service.d.ts +0 -12
- package/dist/modules/agent/service.js +0 -22
- package/dist/modules/agent/types.d.ts +0 -11
- package/dist/modules/agent/types.js +0 -2
- package/dist/modules/ai/index.d.ts +0 -1
- package/dist/modules/ai/index.js +0 -2
- package/dist/modules/ai/node/actions.d.ts +0 -4
- package/dist/modules/ai/node/actions.js +0 -16
- package/dist/modules/ai/node/index.d.ts +0 -2
- package/dist/modules/ai/node/index.js +0 -3
- package/dist/modules/ai/node/service.d.ts +0 -5
- package/dist/modules/ai/node/service.js +0 -12
- package/dist/modules/index.d.ts +0 -6
- package/dist/modules/index.js +0 -7
- package/dist/modules/task/action.d.ts +0 -168
- package/dist/modules/task/action.js +0 -163
- package/dist/modules/task/index.d.ts +0 -4
- package/dist/modules/task/index.js +0 -5
- package/dist/modules/task/schema.d.ts +0 -107
- package/dist/modules/task/schema.js +0 -44
- package/dist/modules/task/service.d.ts +0 -19
- package/dist/modules/task/service.js +0 -43
- package/dist/modules/task/types.d.ts +0 -84
- package/dist/modules/task/types.js +0 -2
- package/dist/modules/tenant/actions.d.ts +0 -45
- package/dist/modules/tenant/actions.js +0 -38
- package/dist/modules/tenant/index.d.ts +0 -3
- package/dist/modules/tenant/index.js +0 -4
- package/dist/modules/tenant/tenant.d.ts +0 -32
- package/dist/modules/tenant/tenant.js +0 -125
- package/dist/modules/tenant/types.d.ts +0 -11
- package/dist/modules/tenant/types.js +0 -2
- package/dist/modules/waitlist/action.d.ts +0 -69
- package/dist/modules/waitlist/action.js +0 -78
- package/dist/modules/waitlist/index.d.ts +0 -4
- package/dist/modules/waitlist/index.js +0 -5
- package/dist/modules/waitlist/schema.d.ts +0 -39
- package/dist/modules/waitlist/schema.js +0 -18
- package/dist/modules/waitlist/service.d.ts +0 -13
- package/dist/modules/waitlist/service.js +0 -28
- package/dist/modules/waitlist/types.d.ts +0 -14
- package/dist/modules/waitlist/types.js +0 -2
- package/dist/permission.d.ts +0 -43
- package/dist/permission.js +0 -54
- package/dist/query.d.ts +0 -194
- package/dist/query.js +0 -204
- package/dist/role.d.ts +0 -70
- package/dist/role.js +0 -94
- package/dist/schemas/nodes.d.ts +0 -0
- package/dist/schemas/nodes.js +0 -1
- package/dist/service-client.d.ts +0 -7
- package/dist/service-client.js +0 -14
- package/dist/service.d.ts +0 -11
- package/dist/service.js +0 -23
- package/dist/services/account.d.ts +0 -530
- package/dist/services/account.js +0 -1259
- package/dist/services/applets.d.ts +0 -9
- package/dist/services/applets.js +0 -40
- package/dist/services/avatars.d.ts +0 -115
- package/dist/services/avatars.js +0 -251
- package/dist/services/chat-flow.d.ts +0 -7
- package/dist/services/chat-flow.js +0 -26
- package/dist/services/community.d.ts +0 -19
- package/dist/services/community.js +0 -69
- package/dist/services/configuration.d.ts +0 -5
- package/dist/services/configuration.js +0 -11
- package/dist/services/databases.d.ts +0 -613
- package/dist/services/databases.js +0 -1736
- package/dist/services/functions.d.ts +0 -319
- package/dist/services/functions.js +0 -810
- package/dist/services/graphql.d.ts +0 -25
- package/dist/services/graphql.js +0 -57
- package/dist/services/health.d.ts +0 -231
- package/dist/services/health.js +0 -463
- package/dist/services/locale.d.ts +0 -80
- package/dist/services/locale.js +0 -144
- package/dist/services/messaging.d.ts +0 -685
- package/dist/services/messaging.js +0 -1920
- package/dist/services/node.d.ts +0 -5
- package/dist/services/node.js +0 -11
- package/dist/services/permissions.d.ts +0 -20
- package/dist/services/permissions.js +0 -90
- package/dist/services/pricing.d.ts +0 -15
- package/dist/services/pricing.js +0 -21
- package/dist/services/projects.d.ts +0 -542
- package/dist/services/projects.js +0 -1526
- package/dist/services/roles.d.ts +0 -19
- package/dist/services/roles.js +0 -72
- package/dist/services/schema.d.ts +0 -17
- package/dist/services/schema.js +0 -48
- package/dist/services/storage.d.ts +0 -189
- package/dist/services/storage.js +0 -474
- package/dist/services/subscription.d.ts +0 -15
- package/dist/services/subscription.js +0 -30
- package/dist/services/teams.d.ts +0 -167
- package/dist/services/teams.js +0 -395
- package/dist/services/tenant-subscription.d.ts +0 -12
- package/dist/services/tenant-subscription.js +0 -52
- package/dist/services/tenant.d.ts +0 -32
- package/dist/services/tenant.js +0 -124
- package/dist/services/users.d.ts +0 -499
- package/dist/services/users.js +0 -1283
@@ -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'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'll need to update the function'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 "command" 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'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
|
-
}
|