fusio-sdk 7.0.9 → 7.0.11
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 +53 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -1
- package/dist/index.d.ts +30 -1
- package/dist/index.js +53 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -685,6 +685,8 @@ interface BackendAgent {
|
|
|
685
685
|
name?: string;
|
|
686
686
|
description?: string;
|
|
687
687
|
introduction?: string;
|
|
688
|
+
temperature?: number;
|
|
689
|
+
costs?: number;
|
|
688
690
|
tools?: Array<string>;
|
|
689
691
|
outgoing?: string;
|
|
690
692
|
action?: string;
|
|
@@ -3794,6 +3796,17 @@ declare class BackendSdkTag extends TagAbstract {
|
|
|
3794
3796
|
getAll(): Promise<BackendSdkResponse>;
|
|
3795
3797
|
}
|
|
3796
3798
|
|
|
3799
|
+
/**
|
|
3800
|
+
* BackendSpecificationChangelog automatically generated by SDKgen please do not edit this file manually
|
|
3801
|
+
* {@link https://sdkgen.app}
|
|
3802
|
+
*/
|
|
3803
|
+
interface BackendSpecificationChangelog {
|
|
3804
|
+
master?: any;
|
|
3805
|
+
tag?: any;
|
|
3806
|
+
version?: string;
|
|
3807
|
+
changelog?: Array<string>;
|
|
3808
|
+
}
|
|
3809
|
+
|
|
3797
3810
|
/**
|
|
3798
3811
|
* BackendSpecificationGet automatically generated by SDKgen please do not edit this file manually
|
|
3799
3812
|
* {@link https://sdkgen.app}
|
|
@@ -3826,6 +3839,14 @@ declare class BackendSpecificationTag extends TagAbstract {
|
|
|
3826
3839
|
* @throws {ClientException}
|
|
3827
3840
|
*/
|
|
3828
3841
|
get(): Promise<BackendSpecificationGet>;
|
|
3842
|
+
/**
|
|
3843
|
+
* Returns the changelog between your current specification and the last tag
|
|
3844
|
+
*
|
|
3845
|
+
* @returns {Promise<BackendSpecificationChangelog>}
|
|
3846
|
+
* @throws {CommonMessageException}
|
|
3847
|
+
* @throws {ClientException}
|
|
3848
|
+
*/
|
|
3849
|
+
getChangelog(): Promise<BackendSpecificationChangelog>;
|
|
3829
3850
|
/**
|
|
3830
3851
|
* Publish the specification
|
|
3831
3852
|
*
|
|
@@ -3834,6 +3855,14 @@ declare class BackendSpecificationTag extends TagAbstract {
|
|
|
3834
3855
|
* @throws {ClientException}
|
|
3835
3856
|
*/
|
|
3836
3857
|
publish(payload: BackendSpecificationPublish): Promise<CommonMessage>;
|
|
3858
|
+
/**
|
|
3859
|
+
* Creates a new tag of your specification
|
|
3860
|
+
*
|
|
3861
|
+
* @returns {Promise<CommonMessage>}
|
|
3862
|
+
* @throws {CommonMessageException}
|
|
3863
|
+
* @throws {ClientException}
|
|
3864
|
+
*/
|
|
3865
|
+
tag(payload: Passthru): Promise<CommonMessage>;
|
|
3837
3866
|
}
|
|
3838
3867
|
|
|
3839
3868
|
/**
|
|
@@ -6049,4 +6078,4 @@ declare class CommonMessageException extends KnownStatusCodeException {
|
|
|
6049
6078
|
getPayload(): CommonMessage;
|
|
6050
6079
|
}
|
|
6051
6080
|
|
|
6052
|
-
export { type AgentInput, type AgentItem, type AgentItemBinary, type AgentItemChoice, type AgentItemObject, type AgentItemText, type AgentItemToolCall, type AgentItemToolCallFunction, type AgentOutput, AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionCommit, type BackendActionCommitCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendAgent, type BackendAgentCollection, type BackendAgentCreate, type BackendAgentMessage, type BackendAgentMessageCollection, BackendAgentMessageTag, BackendAgentTag, type BackendAgentTool, type BackendAgentTools, type BackendAgentUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendBundle, type BackendBundleCollection, type BackendBundleConfig, type BackendBundleCreate, BackendBundleTag, type BackendBundleUpdate, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, BackendConnectionAgentTag, 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, BackendMarketplaceBundleTag, 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 BackendSchemaCommit, type BackendSchemaCommitCollection, 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 BackendSpecificationGet, type BackendSpecificationPublish, BackendSpecificationTag, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, type BackendTaxonomy, type BackendTaxonomyCollection, type BackendTaxonomyCreate, type BackendTaxonomyMove, BackendTaxonomyTag, type BackendTaxonomyUpdate, 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 CommonFormElementCheckbox, type CommonFormElementCollection, type CommonFormElementInput, type CommonFormElementMap, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTextArea, type CommonFormElementTypeAPI, type CommonFormElementTypeSchema, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerAgent, type ConsumerAgentCollection, type ConsumerAgentMessage, type ConsumerAgentMessageCollection, ConsumerAgentMessageTag, ConsumerAgentTag, 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 MarketplaceBundle, type MarketplaceBundleAction, type MarketplaceBundleActionConfig, type MarketplaceBundleCollection, type MarketplaceBundleConfig, type MarketplaceBundleCronjob, type MarketplaceBundleEvent, type MarketplaceBundleSchema, type MarketplaceBundleSchemaSource, type MarketplaceBundleTrigger, 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 };
|
|
6081
|
+
export { type AgentInput, type AgentItem, type AgentItemBinary, type AgentItemChoice, type AgentItemObject, type AgentItemText, type AgentItemToolCall, type AgentItemToolCallFunction, type AgentOutput, AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionCommit, type BackendActionCommitCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendAgent, type BackendAgentCollection, type BackendAgentCreate, type BackendAgentMessage, type BackendAgentMessageCollection, BackendAgentMessageTag, BackendAgentTag, type BackendAgentTool, type BackendAgentTools, type BackendAgentUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendBundle, type BackendBundleCollection, type BackendBundleConfig, type BackendBundleCreate, BackendBundleTag, type BackendBundleUpdate, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, BackendConnectionAgentTag, 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, BackendMarketplaceBundleTag, 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 BackendSchemaCommit, type BackendSchemaCommitCollection, 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 BackendSpecificationChangelog, type BackendSpecificationGet, type BackendSpecificationPublish, BackendSpecificationTag, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, type BackendTaxonomy, type BackendTaxonomyCollection, type BackendTaxonomyCreate, type BackendTaxonomyMove, BackendTaxonomyTag, type BackendTaxonomyUpdate, 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 CommonFormElementCheckbox, type CommonFormElementCollection, type CommonFormElementInput, type CommonFormElementMap, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTextArea, type CommonFormElementTypeAPI, type CommonFormElementTypeSchema, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerAgent, type ConsumerAgentCollection, type ConsumerAgentMessage, type ConsumerAgentMessageCollection, ConsumerAgentMessageTag, ConsumerAgentTag, 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 MarketplaceBundle, type MarketplaceBundleAction, type MarketplaceBundleActionConfig, type MarketplaceBundleCollection, type MarketplaceBundleConfig, type MarketplaceBundleCronjob, type MarketplaceBundleEvent, type MarketplaceBundleSchema, type MarketplaceBundleSchemaSource, type MarketplaceBundleTrigger, 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
|
@@ -685,6 +685,8 @@ interface BackendAgent {
|
|
|
685
685
|
name?: string;
|
|
686
686
|
description?: string;
|
|
687
687
|
introduction?: string;
|
|
688
|
+
temperature?: number;
|
|
689
|
+
costs?: number;
|
|
688
690
|
tools?: Array<string>;
|
|
689
691
|
outgoing?: string;
|
|
690
692
|
action?: string;
|
|
@@ -3794,6 +3796,17 @@ declare class BackendSdkTag extends TagAbstract {
|
|
|
3794
3796
|
getAll(): Promise<BackendSdkResponse>;
|
|
3795
3797
|
}
|
|
3796
3798
|
|
|
3799
|
+
/**
|
|
3800
|
+
* BackendSpecificationChangelog automatically generated by SDKgen please do not edit this file manually
|
|
3801
|
+
* {@link https://sdkgen.app}
|
|
3802
|
+
*/
|
|
3803
|
+
interface BackendSpecificationChangelog {
|
|
3804
|
+
master?: any;
|
|
3805
|
+
tag?: any;
|
|
3806
|
+
version?: string;
|
|
3807
|
+
changelog?: Array<string>;
|
|
3808
|
+
}
|
|
3809
|
+
|
|
3797
3810
|
/**
|
|
3798
3811
|
* BackendSpecificationGet automatically generated by SDKgen please do not edit this file manually
|
|
3799
3812
|
* {@link https://sdkgen.app}
|
|
@@ -3826,6 +3839,14 @@ declare class BackendSpecificationTag extends TagAbstract {
|
|
|
3826
3839
|
* @throws {ClientException}
|
|
3827
3840
|
*/
|
|
3828
3841
|
get(): Promise<BackendSpecificationGet>;
|
|
3842
|
+
/**
|
|
3843
|
+
* Returns the changelog between your current specification and the last tag
|
|
3844
|
+
*
|
|
3845
|
+
* @returns {Promise<BackendSpecificationChangelog>}
|
|
3846
|
+
* @throws {CommonMessageException}
|
|
3847
|
+
* @throws {ClientException}
|
|
3848
|
+
*/
|
|
3849
|
+
getChangelog(): Promise<BackendSpecificationChangelog>;
|
|
3829
3850
|
/**
|
|
3830
3851
|
* Publish the specification
|
|
3831
3852
|
*
|
|
@@ -3834,6 +3855,14 @@ declare class BackendSpecificationTag extends TagAbstract {
|
|
|
3834
3855
|
* @throws {ClientException}
|
|
3835
3856
|
*/
|
|
3836
3857
|
publish(payload: BackendSpecificationPublish): Promise<CommonMessage>;
|
|
3858
|
+
/**
|
|
3859
|
+
* Creates a new tag of your specification
|
|
3860
|
+
*
|
|
3861
|
+
* @returns {Promise<CommonMessage>}
|
|
3862
|
+
* @throws {CommonMessageException}
|
|
3863
|
+
* @throws {ClientException}
|
|
3864
|
+
*/
|
|
3865
|
+
tag(payload: Passthru): Promise<CommonMessage>;
|
|
3837
3866
|
}
|
|
3838
3867
|
|
|
3839
3868
|
/**
|
|
@@ -6049,4 +6078,4 @@ declare class CommonMessageException extends KnownStatusCodeException {
|
|
|
6049
6078
|
getPayload(): CommonMessage;
|
|
6050
6079
|
}
|
|
6051
6080
|
|
|
6052
|
-
export { type AgentInput, type AgentItem, type AgentItemBinary, type AgentItemChoice, type AgentItemObject, type AgentItemText, type AgentItemToolCall, type AgentItemToolCallFunction, type AgentOutput, AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionCommit, type BackendActionCommitCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendAgent, type BackendAgentCollection, type BackendAgentCreate, type BackendAgentMessage, type BackendAgentMessageCollection, BackendAgentMessageTag, BackendAgentTag, type BackendAgentTool, type BackendAgentTools, type BackendAgentUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendBundle, type BackendBundleCollection, type BackendBundleConfig, type BackendBundleCreate, BackendBundleTag, type BackendBundleUpdate, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, BackendConnectionAgentTag, 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, BackendMarketplaceBundleTag, 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 BackendSchemaCommit, type BackendSchemaCommitCollection, 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 BackendSpecificationGet, type BackendSpecificationPublish, BackendSpecificationTag, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, type BackendTaxonomy, type BackendTaxonomyCollection, type BackendTaxonomyCreate, type BackendTaxonomyMove, BackendTaxonomyTag, type BackendTaxonomyUpdate, 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 CommonFormElementCheckbox, type CommonFormElementCollection, type CommonFormElementInput, type CommonFormElementMap, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTextArea, type CommonFormElementTypeAPI, type CommonFormElementTypeSchema, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerAgent, type ConsumerAgentCollection, type ConsumerAgentMessage, type ConsumerAgentMessageCollection, ConsumerAgentMessageTag, ConsumerAgentTag, 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 MarketplaceBundle, type MarketplaceBundleAction, type MarketplaceBundleActionConfig, type MarketplaceBundleCollection, type MarketplaceBundleConfig, type MarketplaceBundleCronjob, type MarketplaceBundleEvent, type MarketplaceBundleSchema, type MarketplaceBundleSchemaSource, type MarketplaceBundleTrigger, 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 };
|
|
6081
|
+
export { type AgentInput, type AgentItem, type AgentItemBinary, type AgentItemChoice, type AgentItemObject, type AgentItemText, type AgentItemToolCall, type AgentItemToolCallFunction, type AgentOutput, AuthorizationTag, type BackendAccountChangePassword, BackendAccountTag, type BackendAction, type BackendActionCollection, type BackendActionCommit, type BackendActionCommitCollection, type BackendActionConfig, type BackendActionCreate, type BackendActionExecuteRequest, type BackendActionExecuteRequestBody, type BackendActionExecuteResponse, type BackendActionExecuteResponseBody, type BackendActionExecuteResponseHeaders, type BackendActionIndex, type BackendActionIndexEntry, BackendActionTag, type BackendActionUpdate, type BackendAgent, type BackendAgentCollection, type BackendAgentCreate, type BackendAgentMessage, type BackendAgentMessageCollection, BackendAgentMessageTag, BackendAgentTag, type BackendAgentTool, type BackendAgentTools, type BackendAgentUpdate, type BackendApp, type BackendAppCollection, type BackendAppCreate, BackendAppTag, type BackendAppUpdate, type BackendAudit, type BackendAuditCollection, type BackendAuditObject, BackendAuditTag, type BackendBackupExport, type BackendBackupImport, type BackendBackupImportResult, BackendBackupTag, type BackendBundle, type BackendBundleCollection, type BackendBundleConfig, type BackendBundleCreate, BackendBundleTag, type BackendBundleUpdate, type BackendCategory, type BackendCategoryCollection, type BackendCategoryCreate, BackendCategoryTag, type BackendCategoryUpdate, type BackendConfig, type BackendConfigCollection, BackendConfigTag, type BackendConfigUpdate, type BackendConnection, BackendConnectionAgentTag, 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, BackendMarketplaceBundleTag, 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 BackendSchemaCommit, type BackendSchemaCommitCollection, 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 BackendSpecificationChangelog, type BackendSpecificationGet, type BackendSpecificationPublish, BackendSpecificationTag, type BackendStatisticChart, type BackendStatisticChartSeries, type BackendStatisticCount, BackendStatisticTag, BackendTag, type BackendTaxonomy, type BackendTaxonomyCollection, type BackendTaxonomyCreate, type BackendTaxonomyMove, BackendTaxonomyTag, type BackendTaxonomyUpdate, 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 CommonFormElementCheckbox, type CommonFormElementCollection, type CommonFormElementInput, type CommonFormElementMap, type CommonFormElementSelect, type CommonFormElementSelectOption, type CommonFormElementTextArea, type CommonFormElementTypeAPI, type CommonFormElementTypeSchema, type CommonMessage, CommonMessageException, type CommonMetadata, ConsumerAccountTag, type ConsumerAgent, type ConsumerAgentCollection, type ConsumerAgentMessage, type ConsumerAgentMessageCollection, ConsumerAgentMessageTag, ConsumerAgentTag, 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 MarketplaceBundle, type MarketplaceBundleAction, type MarketplaceBundleActionConfig, type MarketplaceBundleCollection, type MarketplaceBundleConfig, type MarketplaceBundleCronjob, type MarketplaceBundleEvent, type MarketplaceBundleSchema, type MarketplaceBundleSchemaSource, type MarketplaceBundleTrigger, 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.js
CHANGED
|
@@ -4844,6 +4844,31 @@ var BackendSpecificationTag = class extends TagAbstract38 {
|
|
|
4844
4844
|
}
|
|
4845
4845
|
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4846
4846
|
}
|
|
4847
|
+
/**
|
|
4848
|
+
* Returns the changelog between your current specification and the last tag
|
|
4849
|
+
*
|
|
4850
|
+
* @returns {Promise<BackendSpecificationChangelog>}
|
|
4851
|
+
* @throws {CommonMessageException}
|
|
4852
|
+
* @throws {ClientException}
|
|
4853
|
+
*/
|
|
4854
|
+
async getChangelog() {
|
|
4855
|
+
const url = this.parser.url("/backend/specification/changelog", {});
|
|
4856
|
+
let request = {
|
|
4857
|
+
url,
|
|
4858
|
+
method: "GET",
|
|
4859
|
+
headers: {},
|
|
4860
|
+
params: this.parser.query({}, [])
|
|
4861
|
+
};
|
|
4862
|
+
const response = await this.httpClient.request(request);
|
|
4863
|
+
if (response.ok) {
|
|
4864
|
+
return await response.json();
|
|
4865
|
+
}
|
|
4866
|
+
const statusCode = response.status;
|
|
4867
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4868
|
+
throw new CommonMessageException(await response.json());
|
|
4869
|
+
}
|
|
4870
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4871
|
+
}
|
|
4847
4872
|
/**
|
|
4848
4873
|
* Publish the specification
|
|
4849
4874
|
*
|
|
@@ -4872,6 +4897,34 @@ var BackendSpecificationTag = class extends TagAbstract38 {
|
|
|
4872
4897
|
}
|
|
4873
4898
|
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4874
4899
|
}
|
|
4900
|
+
/**
|
|
4901
|
+
* Creates a new tag of your specification
|
|
4902
|
+
*
|
|
4903
|
+
* @returns {Promise<CommonMessage>}
|
|
4904
|
+
* @throws {CommonMessageException}
|
|
4905
|
+
* @throws {ClientException}
|
|
4906
|
+
*/
|
|
4907
|
+
async tag(payload) {
|
|
4908
|
+
const url = this.parser.url("/backend/specification/tag", {});
|
|
4909
|
+
let request = {
|
|
4910
|
+
url,
|
|
4911
|
+
method: "POST",
|
|
4912
|
+
headers: {
|
|
4913
|
+
"Content-Type": "application/json"
|
|
4914
|
+
},
|
|
4915
|
+
params: this.parser.query({}, []),
|
|
4916
|
+
data: payload
|
|
4917
|
+
};
|
|
4918
|
+
const response = await this.httpClient.request(request);
|
|
4919
|
+
if (response.ok) {
|
|
4920
|
+
return await response.json();
|
|
4921
|
+
}
|
|
4922
|
+
const statusCode = response.status;
|
|
4923
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4924
|
+
throw new CommonMessageException(await response.json());
|
|
4925
|
+
}
|
|
4926
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4927
|
+
}
|
|
4875
4928
|
};
|
|
4876
4929
|
|
|
4877
4930
|
// src/BackendStatisticTag.ts
|