fusio-sdk 6.0.0 → 6.1.0
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/dist/index.cjs +315 -130
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +102 -2
- package/dist/index.d.ts +102 -2
- package/dist/index.js +310 -126
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3325,7 +3325,7 @@ declare class BackendTokenTag extends TagAbstract {
|
|
|
3325
3325
|
* {@link https://sdkgen.app}
|
|
3326
3326
|
*/
|
|
3327
3327
|
/**
|
|
3328
|
-
* This object represents a transaction.
|
|
3328
|
+
* This object represents a transaction. The system generates a transaction in case a payment was successfully executed
|
|
3329
3329
|
*/
|
|
3330
3330
|
interface BackendTransaction {
|
|
3331
3331
|
id?: number;
|
|
@@ -3443,6 +3443,97 @@ declare class BackendTrashTag extends TagAbstract {
|
|
|
3443
3443
|
restore(type: string, payload: BackendTrashRestore): Promise<CommonMessage>;
|
|
3444
3444
|
}
|
|
3445
3445
|
|
|
3446
|
+
/**
|
|
3447
|
+
* BackendTrigger automatically generated by SDKgen please do not edit this file manually
|
|
3448
|
+
* {@link https://sdkgen.app}
|
|
3449
|
+
*/
|
|
3450
|
+
|
|
3451
|
+
/**
|
|
3452
|
+
* This object represents a trigger which can invoke an action on a custom event
|
|
3453
|
+
*/
|
|
3454
|
+
interface BackendTrigger {
|
|
3455
|
+
id?: number;
|
|
3456
|
+
name?: string;
|
|
3457
|
+
event?: string;
|
|
3458
|
+
action?: string;
|
|
3459
|
+
metadata?: CommonMetadata;
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3462
|
+
/**
|
|
3463
|
+
* BackendTriggerCollection automatically generated by SDKgen please do not edit this file manually
|
|
3464
|
+
* {@link https://sdkgen.app}
|
|
3465
|
+
*/
|
|
3466
|
+
|
|
3467
|
+
/**
|
|
3468
|
+
* A paginated collection of trigger objects
|
|
3469
|
+
*/
|
|
3470
|
+
interface BackendTriggerCollection extends CommonCollection<BackendTrigger> {
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
/**
|
|
3474
|
+
* BackendTriggerCreate automatically generated by SDKgen please do not edit this file manually
|
|
3475
|
+
* {@link https://sdkgen.app}
|
|
3476
|
+
*/
|
|
3477
|
+
|
|
3478
|
+
interface BackendTriggerCreate extends BackendTrigger {
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3481
|
+
/**
|
|
3482
|
+
* BackendTriggerUpdate automatically generated by SDKgen please do not edit this file manually
|
|
3483
|
+
* {@link https://sdkgen.app}
|
|
3484
|
+
*/
|
|
3485
|
+
|
|
3486
|
+
interface BackendTriggerUpdate extends BackendTrigger {
|
|
3487
|
+
}
|
|
3488
|
+
|
|
3489
|
+
/**
|
|
3490
|
+
* BackendTriggerTag automatically generated by SDKgen please do not edit this file manually
|
|
3491
|
+
* {@link https://sdkgen.app}
|
|
3492
|
+
*/
|
|
3493
|
+
|
|
3494
|
+
declare class BackendTriggerTag extends TagAbstract {
|
|
3495
|
+
/**
|
|
3496
|
+
* Creates a new trigger
|
|
3497
|
+
*
|
|
3498
|
+
* @returns {Promise<CommonMessage>}
|
|
3499
|
+
* @throws {CommonMessageException}
|
|
3500
|
+
* @throws {ClientException}
|
|
3501
|
+
*/
|
|
3502
|
+
create(payload: BackendTriggerCreate): Promise<CommonMessage>;
|
|
3503
|
+
/**
|
|
3504
|
+
* Deletes an existing trigger
|
|
3505
|
+
*
|
|
3506
|
+
* @returns {Promise<CommonMessage>}
|
|
3507
|
+
* @throws {CommonMessageException}
|
|
3508
|
+
* @throws {ClientException}
|
|
3509
|
+
*/
|
|
3510
|
+
delete(triggerId: string): Promise<CommonMessage>;
|
|
3511
|
+
/**
|
|
3512
|
+
* Returns a specific trigger
|
|
3513
|
+
*
|
|
3514
|
+
* @returns {Promise<BackendTrigger>}
|
|
3515
|
+
* @throws {CommonMessageException}
|
|
3516
|
+
* @throws {ClientException}
|
|
3517
|
+
*/
|
|
3518
|
+
get(triggerId: string): Promise<BackendTrigger>;
|
|
3519
|
+
/**
|
|
3520
|
+
* Returns a paginated list of triggers
|
|
3521
|
+
*
|
|
3522
|
+
* @returns {Promise<BackendTriggerCollection>}
|
|
3523
|
+
* @throws {CommonMessageException}
|
|
3524
|
+
* @throws {ClientException}
|
|
3525
|
+
*/
|
|
3526
|
+
getAll(startIndex?: number, count?: number, search?: string): Promise<BackendTriggerCollection>;
|
|
3527
|
+
/**
|
|
3528
|
+
* Updates an existing trigger
|
|
3529
|
+
*
|
|
3530
|
+
* @returns {Promise<CommonMessage>}
|
|
3531
|
+
* @throws {CommonMessageException}
|
|
3532
|
+
* @throws {ClientException}
|
|
3533
|
+
*/
|
|
3534
|
+
update(triggerId: string, payload: BackendTriggerUpdate): Promise<CommonMessage>;
|
|
3535
|
+
}
|
|
3536
|
+
|
|
3446
3537
|
/**
|
|
3447
3538
|
* BackendUserCollection automatically generated by SDKgen please do not edit this file manually
|
|
3448
3539
|
* {@link https://sdkgen.app}
|
|
@@ -3501,6 +3592,14 @@ declare class BackendUserTag extends TagAbstract {
|
|
|
3501
3592
|
* @throws {ClientException}
|
|
3502
3593
|
*/
|
|
3503
3594
|
getAll(startIndex?: number, count?: number, search?: string): Promise<BackendUserCollection>;
|
|
3595
|
+
/**
|
|
3596
|
+
* Resend the activation mail to the provided user
|
|
3597
|
+
*
|
|
3598
|
+
* @returns {Promise<CommonMessage>}
|
|
3599
|
+
* @throws {CommonMessageException}
|
|
3600
|
+
* @throws {ClientException}
|
|
3601
|
+
*/
|
|
3602
|
+
resend(userId: string, payload: Passthru): Promise<CommonMessage>;
|
|
3504
3603
|
/**
|
|
3505
3604
|
* Updates an existing user
|
|
3506
3605
|
*
|
|
@@ -3653,6 +3752,7 @@ declare class BackendTag extends TagAbstract {
|
|
|
3653
3752
|
token(): BackendTokenTag;
|
|
3654
3753
|
transaction(): BackendTransactionTag;
|
|
3655
3754
|
trash(): BackendTrashTag;
|
|
3755
|
+
trigger(): BackendTriggerTag;
|
|
3656
3756
|
user(): BackendUserTag;
|
|
3657
3757
|
webhook(): BackendWebhookTag;
|
|
3658
3758
|
}
|
|
@@ -4962,4 +5062,4 @@ declare class CommonMessageException extends KnownStatusCodeException {
|
|
|
4962
5062
|
getPayload(): CommonMessage;
|
|
4963
5063
|
}
|
|
4964
5064
|
|
|
4965
|
-
export { AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, type BackendConnectionCollection, type BackendConnectionConfig, type BackendConnectionCreate, BackendConnectionDatabaseTag, BackendConnectionFilesystemTag, BackendConnectionHttpTag, type BackendConnectionIndex, type BackendConnectionIndexEntry, type BackendConnectionRedirectResponse, BackendConnectionSdkTag, BackendConnectionTag, type BackendConnectionUpdate, type BackendCronjob, type BackendCronjobCollection, type BackendCronjobCreate, type BackendCronjobError, BackendCronjobTag, type BackendCronjobUpdate, type BackendDashboard, BackendDashboardTag, type BackendDatabaseRow, type BackendDatabaseRowCollection, type BackendDatabaseTable, type BackendDatabaseTableCollection, type BackendDatabaseTableColumn, type BackendDatabaseTableForeignKeyConstraint, type BackendDatabaseTableIndex, type BackendEvent, type BackendEventCollection, type BackendEventCreate, BackendEventTag, type BackendEventUpdate, type BackendFile, type BackendFileCollection, type BackendFirewall, type BackendFirewallCollection, type BackendFirewallCreate, BackendFirewallTag, type BackendFirewallUpdate, type BackendForm, type BackendFormCollection, type BackendFormCreate, BackendFormTag, type BackendFormUpdate, type BackendGeneratorIndexProvider, type BackendGeneratorIndexProviders, type BackendGeneratorProvider, type BackendGeneratorProviderChangelog, type BackendGeneratorProviderConfig, BackendGeneratorTag, type BackendHttpRequest, type BackendHttpResponse, type BackendIdentity, type BackendIdentityCollection, type BackendIdentityConfig, type BackendIdentityCreate, type BackendIdentityIndex, type BackendIdentityIndexEntry, BackendIdentityTag, type BackendIdentityUpdate, type BackendLog, type BackendLogCollection, type BackendLogError, type BackendLogErrorCollection, BackendLogTag, BackendMarketplaceActionTag, BackendMarketplaceAppTag, BackendMarketplaceTag, type BackendOperation, type BackendOperationCollection, type BackendOperationCreate, type BackendOperationParameters, type BackendOperationSchema, BackendOperationTag, type BackendOperationThrows, type BackendOperationUpdate, type BackendPage, type BackendPageCollection, type BackendPageCreate, BackendPageTag, type BackendPageUpdate, type BackendPlan, type BackendPlanCollection, type BackendPlanCreate, BackendPlanTag, type BackendPlanUpdate, type BackendRate, type BackendRateAllocation, type BackendRateCollection, type BackendRateCreate, BackendRateTag, type BackendRateUpdate, type BackendRole, type BackendRoleCollection, type BackendRoleCreate, BackendRoleTag, type BackendRoleUpdate, type BackendSchema, type BackendSchemaCollection, type BackendSchemaCreate, type BackendSchemaPreviewResponse, type BackendSchemaSource, BackendSchemaTag, type BackendSchemaUpdate, type BackendScope, type BackendScopeCategories, type BackendScopeCategory, type BackendScopeCategoryScope, type BackendScopeCollection, type BackendScopeCreate, type BackendScopeOperation, BackendScopeTag, type BackendScopeUpdate, type BackendSdkGenerate, type BackendSdkMessage, type BackendSdkResponse, BackendSdkTag, type BackendSdkTypes, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, BackendTenantTag, type BackendTest, type BackendTestCollection, type BackendTestConfig, BackendTestTag, type BackendToken, type BackendTokenCollection, BackendTokenTag, type BackendTransaction, type BackendTransactionCollection, BackendTransactionTag, type BackendTrashData, type BackendTrashDataCollection, type BackendTrashRestore, BackendTrashTag, type BackendTrashTypes, type BackendUser, type BackendUserCollection, type BackendUserCreate, BackendUserTag, type BackendUserUpdate, type BackendWebhook, type BackendWebhookCollection, type BackendWebhookCreate, type BackendWebhookResponse, BackendWebhookTag, type BackendWebhookUpdate, Client, type CommonCollection, type CommonFormContainer, type CommonFormElement, type CommonFormElementInput, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTag, type CommonFormElementTextArea, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerApp, type ConsumerAppCollection, type ConsumerAppCreate, ConsumerAppTag, type ConsumerAppUpdate, type ConsumerAuthorizeMeta, type ConsumerAuthorizeRequest, type ConsumerAuthorizeResponse, type ConsumerEvent, type ConsumerEventCollection, ConsumerEventTag, type ConsumerForm, type ConsumerFormCollection, ConsumerFormTag, type ConsumerGrant, type ConsumerGrantCollection, ConsumerGrantTag, type ConsumerIdentity, type ConsumerIdentityCollection, ConsumerIdentityTag, type ConsumerLog, type ConsumerLogCollection, ConsumerLogTag, type ConsumerPage, type ConsumerPageCollection, ConsumerPageTag, type ConsumerPaymentCheckoutRequest, type ConsumerPaymentCheckoutResponse, type ConsumerPaymentPortalRequest, type ConsumerPaymentPortalResponse, ConsumerPaymentTag, type ConsumerPlan, type ConsumerPlanCollection, ConsumerPlanTag, type ConsumerScope, type ConsumerScopeCategories, type ConsumerScopeCategory, type ConsumerScopeCategoryScope, type ConsumerScopeCollection, ConsumerScopeTag, ConsumerTag, type ConsumerToken, type ConsumerTokenAccessToken, type ConsumerTokenCollection, type ConsumerTokenCreate, ConsumerTokenTag, type ConsumerTokenUpdate, type ConsumerTransaction, type ConsumerTransactionCollection, ConsumerTransactionTag, type ConsumerUserAccount, type ConsumerUserActivate, type ConsumerUserEmail, type ConsumerUserJWT, type ConsumerUserLogin, type ConsumerUserPasswordReset, type ConsumerUserPlan, type ConsumerUserRefresh, type ConsumerUserRegister, type ConsumerWebhook, type ConsumerWebhookCollection, type ConsumerWebhookCreate, type ConsumerWebhookResponse, ConsumerWebhookTag, type ConsumerWebhookUpdate, type MarketplaceAction, type MarketplaceActionCollection, type MarketplaceActionConfig, type MarketplaceApp, type MarketplaceAppCollection, type MarketplaceCollection, type MarketplaceInstall, type MarketplaceMessage, type MarketplaceObject, type MarketplaceUser, type Passthru, type SystemAbout, type SystemAboutApps, type SystemAboutLink, SystemConnectionTag, type SystemHealthCheck, SystemMetaTag, SystemPaymentTag, type SystemRoute, type SystemRouteMethod, type SystemRoutePath, type SystemSchema, type SystemSchemaForm, type SystemSchemaTypeSchema, SystemTag };
|
|
5065
|
+
export { AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, type BackendConnectionCollection, type BackendConnectionConfig, type BackendConnectionCreate, BackendConnectionDatabaseTag, BackendConnectionFilesystemTag, BackendConnectionHttpTag, type BackendConnectionIndex, type BackendConnectionIndexEntry, type BackendConnectionRedirectResponse, BackendConnectionSdkTag, BackendConnectionTag, type BackendConnectionUpdate, type BackendCronjob, type BackendCronjobCollection, type BackendCronjobCreate, type BackendCronjobError, BackendCronjobTag, type BackendCronjobUpdate, type BackendDashboard, BackendDashboardTag, type BackendDatabaseRow, type BackendDatabaseRowCollection, type BackendDatabaseTable, type BackendDatabaseTableCollection, type BackendDatabaseTableColumn, type BackendDatabaseTableForeignKeyConstraint, type BackendDatabaseTableIndex, type BackendEvent, type BackendEventCollection, type BackendEventCreate, BackendEventTag, type BackendEventUpdate, type BackendFile, type BackendFileCollection, type BackendFirewall, type BackendFirewallCollection, type BackendFirewallCreate, BackendFirewallTag, type BackendFirewallUpdate, type BackendForm, type BackendFormCollection, type BackendFormCreate, BackendFormTag, type BackendFormUpdate, type BackendGeneratorIndexProvider, type BackendGeneratorIndexProviders, type BackendGeneratorProvider, type BackendGeneratorProviderChangelog, type BackendGeneratorProviderConfig, BackendGeneratorTag, type BackendHttpRequest, type BackendHttpResponse, type BackendIdentity, type BackendIdentityCollection, type BackendIdentityConfig, type BackendIdentityCreate, type BackendIdentityIndex, type BackendIdentityIndexEntry, BackendIdentityTag, type BackendIdentityUpdate, type BackendLog, type BackendLogCollection, type BackendLogError, type BackendLogErrorCollection, BackendLogTag, BackendMarketplaceActionTag, BackendMarketplaceAppTag, BackendMarketplaceTag, type BackendOperation, type BackendOperationCollection, type BackendOperationCreate, type BackendOperationParameters, type BackendOperationSchema, BackendOperationTag, type BackendOperationThrows, type BackendOperationUpdate, type BackendPage, type BackendPageCollection, type BackendPageCreate, BackendPageTag, type BackendPageUpdate, type BackendPlan, type BackendPlanCollection, type BackendPlanCreate, BackendPlanTag, type BackendPlanUpdate, type BackendRate, type BackendRateAllocation, type BackendRateCollection, type BackendRateCreate, BackendRateTag, type BackendRateUpdate, type BackendRole, type BackendRoleCollection, type BackendRoleCreate, BackendRoleTag, type BackendRoleUpdate, type BackendSchema, type BackendSchemaCollection, type BackendSchemaCreate, type BackendSchemaPreviewResponse, type BackendSchemaSource, BackendSchemaTag, type BackendSchemaUpdate, type BackendScope, type BackendScopeCategories, type BackendScopeCategory, type BackendScopeCategoryScope, type BackendScopeCollection, type BackendScopeCreate, type BackendScopeOperation, BackendScopeTag, type BackendScopeUpdate, type BackendSdkGenerate, type BackendSdkMessage, type BackendSdkResponse, BackendSdkTag, type BackendSdkTypes, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, BackendTenantTag, type BackendTest, type BackendTestCollection, type BackendTestConfig, BackendTestTag, type BackendToken, type BackendTokenCollection, BackendTokenTag, type BackendTransaction, type BackendTransactionCollection, BackendTransactionTag, type BackendTrashData, type BackendTrashDataCollection, type BackendTrashRestore, BackendTrashTag, type BackendTrashTypes, type BackendTrigger, type BackendTriggerCollection, type BackendTriggerCreate, BackendTriggerTag, type BackendTriggerUpdate, type BackendUser, type BackendUserCollection, type BackendUserCreate, BackendUserTag, type BackendUserUpdate, type BackendWebhook, type BackendWebhookCollection, type BackendWebhookCreate, type BackendWebhookResponse, BackendWebhookTag, type BackendWebhookUpdate, Client, type CommonCollection, type CommonFormContainer, type CommonFormElement, type CommonFormElementInput, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTag, type CommonFormElementTextArea, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerApp, type ConsumerAppCollection, type ConsumerAppCreate, ConsumerAppTag, type ConsumerAppUpdate, type ConsumerAuthorizeMeta, type ConsumerAuthorizeRequest, type ConsumerAuthorizeResponse, type ConsumerEvent, type ConsumerEventCollection, ConsumerEventTag, type ConsumerForm, type ConsumerFormCollection, ConsumerFormTag, type ConsumerGrant, type ConsumerGrantCollection, ConsumerGrantTag, type ConsumerIdentity, type ConsumerIdentityCollection, ConsumerIdentityTag, type ConsumerLog, type ConsumerLogCollection, ConsumerLogTag, type ConsumerPage, type ConsumerPageCollection, ConsumerPageTag, type ConsumerPaymentCheckoutRequest, type ConsumerPaymentCheckoutResponse, type ConsumerPaymentPortalRequest, type ConsumerPaymentPortalResponse, ConsumerPaymentTag, type ConsumerPlan, type ConsumerPlanCollection, ConsumerPlanTag, type ConsumerScope, type ConsumerScopeCategories, type ConsumerScopeCategory, type ConsumerScopeCategoryScope, type ConsumerScopeCollection, ConsumerScopeTag, ConsumerTag, type ConsumerToken, type ConsumerTokenAccessToken, type ConsumerTokenCollection, type ConsumerTokenCreate, ConsumerTokenTag, type ConsumerTokenUpdate, type ConsumerTransaction, type ConsumerTransactionCollection, ConsumerTransactionTag, type ConsumerUserAccount, type ConsumerUserActivate, type ConsumerUserEmail, type ConsumerUserJWT, type ConsumerUserLogin, type ConsumerUserPasswordReset, type ConsumerUserPlan, type ConsumerUserRefresh, type ConsumerUserRegister, type ConsumerWebhook, type ConsumerWebhookCollection, type ConsumerWebhookCreate, type ConsumerWebhookResponse, ConsumerWebhookTag, type ConsumerWebhookUpdate, type MarketplaceAction, type MarketplaceActionCollection, type MarketplaceActionConfig, type MarketplaceApp, type MarketplaceAppCollection, type MarketplaceCollection, type MarketplaceInstall, type MarketplaceMessage, type MarketplaceObject, type MarketplaceUser, type Passthru, type SystemAbout, type SystemAboutApps, type SystemAboutLink, SystemConnectionTag, type SystemHealthCheck, SystemMetaTag, SystemPaymentTag, type SystemRoute, type SystemRouteMethod, type SystemRoutePath, type SystemSchema, type SystemSchemaForm, type SystemSchemaTypeSchema, SystemTag };
|
package/dist/index.d.ts
CHANGED
|
@@ -3325,7 +3325,7 @@ declare class BackendTokenTag extends TagAbstract {
|
|
|
3325
3325
|
* {@link https://sdkgen.app}
|
|
3326
3326
|
*/
|
|
3327
3327
|
/**
|
|
3328
|
-
* This object represents a transaction.
|
|
3328
|
+
* This object represents a transaction. The system generates a transaction in case a payment was successfully executed
|
|
3329
3329
|
*/
|
|
3330
3330
|
interface BackendTransaction {
|
|
3331
3331
|
id?: number;
|
|
@@ -3443,6 +3443,97 @@ declare class BackendTrashTag extends TagAbstract {
|
|
|
3443
3443
|
restore(type: string, payload: BackendTrashRestore): Promise<CommonMessage>;
|
|
3444
3444
|
}
|
|
3445
3445
|
|
|
3446
|
+
/**
|
|
3447
|
+
* BackendTrigger automatically generated by SDKgen please do not edit this file manually
|
|
3448
|
+
* {@link https://sdkgen.app}
|
|
3449
|
+
*/
|
|
3450
|
+
|
|
3451
|
+
/**
|
|
3452
|
+
* This object represents a trigger which can invoke an action on a custom event
|
|
3453
|
+
*/
|
|
3454
|
+
interface BackendTrigger {
|
|
3455
|
+
id?: number;
|
|
3456
|
+
name?: string;
|
|
3457
|
+
event?: string;
|
|
3458
|
+
action?: string;
|
|
3459
|
+
metadata?: CommonMetadata;
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3462
|
+
/**
|
|
3463
|
+
* BackendTriggerCollection automatically generated by SDKgen please do not edit this file manually
|
|
3464
|
+
* {@link https://sdkgen.app}
|
|
3465
|
+
*/
|
|
3466
|
+
|
|
3467
|
+
/**
|
|
3468
|
+
* A paginated collection of trigger objects
|
|
3469
|
+
*/
|
|
3470
|
+
interface BackendTriggerCollection extends CommonCollection<BackendTrigger> {
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
/**
|
|
3474
|
+
* BackendTriggerCreate automatically generated by SDKgen please do not edit this file manually
|
|
3475
|
+
* {@link https://sdkgen.app}
|
|
3476
|
+
*/
|
|
3477
|
+
|
|
3478
|
+
interface BackendTriggerCreate extends BackendTrigger {
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3481
|
+
/**
|
|
3482
|
+
* BackendTriggerUpdate automatically generated by SDKgen please do not edit this file manually
|
|
3483
|
+
* {@link https://sdkgen.app}
|
|
3484
|
+
*/
|
|
3485
|
+
|
|
3486
|
+
interface BackendTriggerUpdate extends BackendTrigger {
|
|
3487
|
+
}
|
|
3488
|
+
|
|
3489
|
+
/**
|
|
3490
|
+
* BackendTriggerTag automatically generated by SDKgen please do not edit this file manually
|
|
3491
|
+
* {@link https://sdkgen.app}
|
|
3492
|
+
*/
|
|
3493
|
+
|
|
3494
|
+
declare class BackendTriggerTag extends TagAbstract {
|
|
3495
|
+
/**
|
|
3496
|
+
* Creates a new trigger
|
|
3497
|
+
*
|
|
3498
|
+
* @returns {Promise<CommonMessage>}
|
|
3499
|
+
* @throws {CommonMessageException}
|
|
3500
|
+
* @throws {ClientException}
|
|
3501
|
+
*/
|
|
3502
|
+
create(payload: BackendTriggerCreate): Promise<CommonMessage>;
|
|
3503
|
+
/**
|
|
3504
|
+
* Deletes an existing trigger
|
|
3505
|
+
*
|
|
3506
|
+
* @returns {Promise<CommonMessage>}
|
|
3507
|
+
* @throws {CommonMessageException}
|
|
3508
|
+
* @throws {ClientException}
|
|
3509
|
+
*/
|
|
3510
|
+
delete(triggerId: string): Promise<CommonMessage>;
|
|
3511
|
+
/**
|
|
3512
|
+
* Returns a specific trigger
|
|
3513
|
+
*
|
|
3514
|
+
* @returns {Promise<BackendTrigger>}
|
|
3515
|
+
* @throws {CommonMessageException}
|
|
3516
|
+
* @throws {ClientException}
|
|
3517
|
+
*/
|
|
3518
|
+
get(triggerId: string): Promise<BackendTrigger>;
|
|
3519
|
+
/**
|
|
3520
|
+
* Returns a paginated list of triggers
|
|
3521
|
+
*
|
|
3522
|
+
* @returns {Promise<BackendTriggerCollection>}
|
|
3523
|
+
* @throws {CommonMessageException}
|
|
3524
|
+
* @throws {ClientException}
|
|
3525
|
+
*/
|
|
3526
|
+
getAll(startIndex?: number, count?: number, search?: string): Promise<BackendTriggerCollection>;
|
|
3527
|
+
/**
|
|
3528
|
+
* Updates an existing trigger
|
|
3529
|
+
*
|
|
3530
|
+
* @returns {Promise<CommonMessage>}
|
|
3531
|
+
* @throws {CommonMessageException}
|
|
3532
|
+
* @throws {ClientException}
|
|
3533
|
+
*/
|
|
3534
|
+
update(triggerId: string, payload: BackendTriggerUpdate): Promise<CommonMessage>;
|
|
3535
|
+
}
|
|
3536
|
+
|
|
3446
3537
|
/**
|
|
3447
3538
|
* BackendUserCollection automatically generated by SDKgen please do not edit this file manually
|
|
3448
3539
|
* {@link https://sdkgen.app}
|
|
@@ -3501,6 +3592,14 @@ declare class BackendUserTag extends TagAbstract {
|
|
|
3501
3592
|
* @throws {ClientException}
|
|
3502
3593
|
*/
|
|
3503
3594
|
getAll(startIndex?: number, count?: number, search?: string): Promise<BackendUserCollection>;
|
|
3595
|
+
/**
|
|
3596
|
+
* Resend the activation mail to the provided user
|
|
3597
|
+
*
|
|
3598
|
+
* @returns {Promise<CommonMessage>}
|
|
3599
|
+
* @throws {CommonMessageException}
|
|
3600
|
+
* @throws {ClientException}
|
|
3601
|
+
*/
|
|
3602
|
+
resend(userId: string, payload: Passthru): Promise<CommonMessage>;
|
|
3504
3603
|
/**
|
|
3505
3604
|
* Updates an existing user
|
|
3506
3605
|
*
|
|
@@ -3653,6 +3752,7 @@ declare class BackendTag extends TagAbstract {
|
|
|
3653
3752
|
token(): BackendTokenTag;
|
|
3654
3753
|
transaction(): BackendTransactionTag;
|
|
3655
3754
|
trash(): BackendTrashTag;
|
|
3755
|
+
trigger(): BackendTriggerTag;
|
|
3656
3756
|
user(): BackendUserTag;
|
|
3657
3757
|
webhook(): BackendWebhookTag;
|
|
3658
3758
|
}
|
|
@@ -4962,4 +5062,4 @@ declare class CommonMessageException extends KnownStatusCodeException {
|
|
|
4962
5062
|
getPayload(): CommonMessage;
|
|
4963
5063
|
}
|
|
4964
5064
|
|
|
4965
|
-
export { AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, type BackendConnectionCollection, type BackendConnectionConfig, type BackendConnectionCreate, BackendConnectionDatabaseTag, BackendConnectionFilesystemTag, BackendConnectionHttpTag, type BackendConnectionIndex, type BackendConnectionIndexEntry, type BackendConnectionRedirectResponse, BackendConnectionSdkTag, BackendConnectionTag, type BackendConnectionUpdate, type BackendCronjob, type BackendCronjobCollection, type BackendCronjobCreate, type BackendCronjobError, BackendCronjobTag, type BackendCronjobUpdate, type BackendDashboard, BackendDashboardTag, type BackendDatabaseRow, type BackendDatabaseRowCollection, type BackendDatabaseTable, type BackendDatabaseTableCollection, type BackendDatabaseTableColumn, type BackendDatabaseTableForeignKeyConstraint, type BackendDatabaseTableIndex, type BackendEvent, type BackendEventCollection, type BackendEventCreate, BackendEventTag, type BackendEventUpdate, type BackendFile, type BackendFileCollection, type BackendFirewall, type BackendFirewallCollection, type BackendFirewallCreate, BackendFirewallTag, type BackendFirewallUpdate, type BackendForm, type BackendFormCollection, type BackendFormCreate, BackendFormTag, type BackendFormUpdate, type BackendGeneratorIndexProvider, type BackendGeneratorIndexProviders, type BackendGeneratorProvider, type BackendGeneratorProviderChangelog, type BackendGeneratorProviderConfig, BackendGeneratorTag, type BackendHttpRequest, type BackendHttpResponse, type BackendIdentity, type BackendIdentityCollection, type BackendIdentityConfig, type BackendIdentityCreate, type BackendIdentityIndex, type BackendIdentityIndexEntry, BackendIdentityTag, type BackendIdentityUpdate, type BackendLog, type BackendLogCollection, type BackendLogError, type BackendLogErrorCollection, BackendLogTag, BackendMarketplaceActionTag, BackendMarketplaceAppTag, BackendMarketplaceTag, type BackendOperation, type BackendOperationCollection, type BackendOperationCreate, type BackendOperationParameters, type BackendOperationSchema, BackendOperationTag, type BackendOperationThrows, type BackendOperationUpdate, type BackendPage, type BackendPageCollection, type BackendPageCreate, BackendPageTag, type BackendPageUpdate, type BackendPlan, type BackendPlanCollection, type BackendPlanCreate, BackendPlanTag, type BackendPlanUpdate, type BackendRate, type BackendRateAllocation, type BackendRateCollection, type BackendRateCreate, BackendRateTag, type BackendRateUpdate, type BackendRole, type BackendRoleCollection, type BackendRoleCreate, BackendRoleTag, type BackendRoleUpdate, type BackendSchema, type BackendSchemaCollection, type BackendSchemaCreate, type BackendSchemaPreviewResponse, type BackendSchemaSource, BackendSchemaTag, type BackendSchemaUpdate, type BackendScope, type BackendScopeCategories, type BackendScopeCategory, type BackendScopeCategoryScope, type BackendScopeCollection, type BackendScopeCreate, type BackendScopeOperation, BackendScopeTag, type BackendScopeUpdate, type BackendSdkGenerate, type BackendSdkMessage, type BackendSdkResponse, BackendSdkTag, type BackendSdkTypes, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, BackendTenantTag, type BackendTest, type BackendTestCollection, type BackendTestConfig, BackendTestTag, type BackendToken, type BackendTokenCollection, BackendTokenTag, type BackendTransaction, type BackendTransactionCollection, BackendTransactionTag, type BackendTrashData, type BackendTrashDataCollection, type BackendTrashRestore, BackendTrashTag, type BackendTrashTypes, type BackendUser, type BackendUserCollection, type BackendUserCreate, BackendUserTag, type BackendUserUpdate, type BackendWebhook, type BackendWebhookCollection, type BackendWebhookCreate, type BackendWebhookResponse, BackendWebhookTag, type BackendWebhookUpdate, Client, type CommonCollection, type CommonFormContainer, type CommonFormElement, type CommonFormElementInput, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTag, type CommonFormElementTextArea, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerApp, type ConsumerAppCollection, type ConsumerAppCreate, ConsumerAppTag, type ConsumerAppUpdate, type ConsumerAuthorizeMeta, type ConsumerAuthorizeRequest, type ConsumerAuthorizeResponse, type ConsumerEvent, type ConsumerEventCollection, ConsumerEventTag, type ConsumerForm, type ConsumerFormCollection, ConsumerFormTag, type ConsumerGrant, type ConsumerGrantCollection, ConsumerGrantTag, type ConsumerIdentity, type ConsumerIdentityCollection, ConsumerIdentityTag, type ConsumerLog, type ConsumerLogCollection, ConsumerLogTag, type ConsumerPage, type ConsumerPageCollection, ConsumerPageTag, type ConsumerPaymentCheckoutRequest, type ConsumerPaymentCheckoutResponse, type ConsumerPaymentPortalRequest, type ConsumerPaymentPortalResponse, ConsumerPaymentTag, type ConsumerPlan, type ConsumerPlanCollection, ConsumerPlanTag, type ConsumerScope, type ConsumerScopeCategories, type ConsumerScopeCategory, type ConsumerScopeCategoryScope, type ConsumerScopeCollection, ConsumerScopeTag, ConsumerTag, type ConsumerToken, type ConsumerTokenAccessToken, type ConsumerTokenCollection, type ConsumerTokenCreate, ConsumerTokenTag, type ConsumerTokenUpdate, type ConsumerTransaction, type ConsumerTransactionCollection, ConsumerTransactionTag, type ConsumerUserAccount, type ConsumerUserActivate, type ConsumerUserEmail, type ConsumerUserJWT, type ConsumerUserLogin, type ConsumerUserPasswordReset, type ConsumerUserPlan, type ConsumerUserRefresh, type ConsumerUserRegister, type ConsumerWebhook, type ConsumerWebhookCollection, type ConsumerWebhookCreate, type ConsumerWebhookResponse, ConsumerWebhookTag, type ConsumerWebhookUpdate, type MarketplaceAction, type MarketplaceActionCollection, type MarketplaceActionConfig, type MarketplaceApp, type MarketplaceAppCollection, type MarketplaceCollection, type MarketplaceInstall, type MarketplaceMessage, type MarketplaceObject, type MarketplaceUser, type Passthru, type SystemAbout, type SystemAboutApps, type SystemAboutLink, SystemConnectionTag, type SystemHealthCheck, SystemMetaTag, SystemPaymentTag, type SystemRoute, type SystemRouteMethod, type SystemRoutePath, type SystemSchema, type SystemSchemaForm, type SystemSchemaTypeSchema, SystemTag };
|
|
5065
|
+
export { AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, type BackendConnectionCollection, type BackendConnectionConfig, type BackendConnectionCreate, BackendConnectionDatabaseTag, BackendConnectionFilesystemTag, BackendConnectionHttpTag, type BackendConnectionIndex, type BackendConnectionIndexEntry, type BackendConnectionRedirectResponse, BackendConnectionSdkTag, BackendConnectionTag, type BackendConnectionUpdate, type BackendCronjob, type BackendCronjobCollection, type BackendCronjobCreate, type BackendCronjobError, BackendCronjobTag, type BackendCronjobUpdate, type BackendDashboard, BackendDashboardTag, type BackendDatabaseRow, type BackendDatabaseRowCollection, type BackendDatabaseTable, type BackendDatabaseTableCollection, type BackendDatabaseTableColumn, type BackendDatabaseTableForeignKeyConstraint, type BackendDatabaseTableIndex, type BackendEvent, type BackendEventCollection, type BackendEventCreate, BackendEventTag, type BackendEventUpdate, type BackendFile, type BackendFileCollection, type BackendFirewall, type BackendFirewallCollection, type BackendFirewallCreate, BackendFirewallTag, type BackendFirewallUpdate, type BackendForm, type BackendFormCollection, type BackendFormCreate, BackendFormTag, type BackendFormUpdate, type BackendGeneratorIndexProvider, type BackendGeneratorIndexProviders, type BackendGeneratorProvider, type BackendGeneratorProviderChangelog, type BackendGeneratorProviderConfig, BackendGeneratorTag, type BackendHttpRequest, type BackendHttpResponse, type BackendIdentity, type BackendIdentityCollection, type BackendIdentityConfig, type BackendIdentityCreate, type BackendIdentityIndex, type BackendIdentityIndexEntry, BackendIdentityTag, type BackendIdentityUpdate, type BackendLog, type BackendLogCollection, type BackendLogError, type BackendLogErrorCollection, BackendLogTag, BackendMarketplaceActionTag, BackendMarketplaceAppTag, BackendMarketplaceTag, type BackendOperation, type BackendOperationCollection, type BackendOperationCreate, type BackendOperationParameters, type BackendOperationSchema, BackendOperationTag, type BackendOperationThrows, type BackendOperationUpdate, type BackendPage, type BackendPageCollection, type BackendPageCreate, BackendPageTag, type BackendPageUpdate, type BackendPlan, type BackendPlanCollection, type BackendPlanCreate, BackendPlanTag, type BackendPlanUpdate, type BackendRate, type BackendRateAllocation, type BackendRateCollection, type BackendRateCreate, BackendRateTag, type BackendRateUpdate, type BackendRole, type BackendRoleCollection, type BackendRoleCreate, BackendRoleTag, type BackendRoleUpdate, type BackendSchema, type BackendSchemaCollection, type BackendSchemaCreate, type BackendSchemaPreviewResponse, type BackendSchemaSource, BackendSchemaTag, type BackendSchemaUpdate, type BackendScope, type BackendScopeCategories, type BackendScopeCategory, type BackendScopeCategoryScope, type BackendScopeCollection, type BackendScopeCreate, type BackendScopeOperation, BackendScopeTag, type BackendScopeUpdate, type BackendSdkGenerate, type BackendSdkMessage, type BackendSdkResponse, BackendSdkTag, type BackendSdkTypes, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, BackendTenantTag, type BackendTest, type BackendTestCollection, type BackendTestConfig, BackendTestTag, type BackendToken, type BackendTokenCollection, BackendTokenTag, type BackendTransaction, type BackendTransactionCollection, BackendTransactionTag, type BackendTrashData, type BackendTrashDataCollection, type BackendTrashRestore, BackendTrashTag, type BackendTrashTypes, type BackendTrigger, type BackendTriggerCollection, type BackendTriggerCreate, BackendTriggerTag, type BackendTriggerUpdate, type BackendUser, type BackendUserCollection, type BackendUserCreate, BackendUserTag, type BackendUserUpdate, type BackendWebhook, type BackendWebhookCollection, type BackendWebhookCreate, type BackendWebhookResponse, BackendWebhookTag, type BackendWebhookUpdate, Client, type CommonCollection, type CommonFormContainer, type CommonFormElement, type CommonFormElementInput, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTag, type CommonFormElementTextArea, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerApp, type ConsumerAppCollection, type ConsumerAppCreate, ConsumerAppTag, type ConsumerAppUpdate, type ConsumerAuthorizeMeta, type ConsumerAuthorizeRequest, type ConsumerAuthorizeResponse, type ConsumerEvent, type ConsumerEventCollection, ConsumerEventTag, type ConsumerForm, type ConsumerFormCollection, ConsumerFormTag, type ConsumerGrant, type ConsumerGrantCollection, ConsumerGrantTag, type ConsumerIdentity, type ConsumerIdentityCollection, ConsumerIdentityTag, type ConsumerLog, type ConsumerLogCollection, ConsumerLogTag, type ConsumerPage, type ConsumerPageCollection, ConsumerPageTag, type ConsumerPaymentCheckoutRequest, type ConsumerPaymentCheckoutResponse, type ConsumerPaymentPortalRequest, type ConsumerPaymentPortalResponse, ConsumerPaymentTag, type ConsumerPlan, type ConsumerPlanCollection, ConsumerPlanTag, type ConsumerScope, type ConsumerScopeCategories, type ConsumerScopeCategory, type ConsumerScopeCategoryScope, type ConsumerScopeCollection, ConsumerScopeTag, ConsumerTag, type ConsumerToken, type ConsumerTokenAccessToken, type ConsumerTokenCollection, type ConsumerTokenCreate, ConsumerTokenTag, type ConsumerTokenUpdate, type ConsumerTransaction, type ConsumerTransactionCollection, ConsumerTransactionTag, type ConsumerUserAccount, type ConsumerUserActivate, type ConsumerUserEmail, type ConsumerUserJWT, type ConsumerUserLogin, type ConsumerUserPasswordReset, type ConsumerUserPlan, type ConsumerUserRefresh, type ConsumerUserRegister, type ConsumerWebhook, type ConsumerWebhookCollection, type ConsumerWebhookCreate, type ConsumerWebhookResponse, ConsumerWebhookTag, type ConsumerWebhookUpdate, type MarketplaceAction, type MarketplaceActionCollection, type MarketplaceActionConfig, type MarketplaceApp, type MarketplaceAppCollection, type MarketplaceCollection, type MarketplaceInstall, type MarketplaceMessage, type MarketplaceObject, type MarketplaceUser, type Passthru, type SystemAbout, type SystemAboutApps, type SystemAboutLink, SystemConnectionTag, type SystemHealthCheck, SystemMetaTag, SystemPaymentTag, type SystemRoute, type SystemRouteMethod, type SystemRoutePath, type SystemSchema, type SystemSchemaForm, type SystemSchemaTypeSchema, SystemTag };
|