fusio-sdk 5.1.7 → 5.1.9
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/Client.cjs +9372 -0
- package/dist/Client.cjs.map +1 -0
- package/dist/Client.d.cts +3935 -0
- package/dist/Client.d.ts +3926 -7
- package/dist/Client.js +9330 -20
- package/dist/Client.js.map +1 -0
- package/package.json +21 -7
- package/dist/AuthorizationTag.d.ts +0 -21
- package/dist/AuthorizationTag.js +0 -78
- package/dist/BackendAccountChangePassword.d.ts +0 -9
- package/dist/BackendAccountChangePassword.js +0 -5
- package/dist/BackendAccountTag.d.ts +0 -29
- package/dist/BackendAccountTag.js +0 -121
- package/dist/BackendAction.d.ts +0 -15
- package/dist/BackendAction.js +0 -5
- package/dist/BackendActionCollection.d.ts +0 -7
- package/dist/BackendActionCollection.js +0 -5
- package/dist/BackendActionConfig.d.ts +0 -5
- package/dist/BackendActionConfig.js +0 -5
- package/dist/BackendActionCreate.d.ts +0 -7
- package/dist/BackendActionCreate.js +0 -5
- package/dist/BackendActionExecuteRequest.d.ts +0 -12
- package/dist/BackendActionExecuteRequest.js +0 -5
- package/dist/BackendActionExecuteRequestBody.d.ts +0 -5
- package/dist/BackendActionExecuteRequestBody.js +0 -5
- package/dist/BackendActionExecuteResponse.d.ts +0 -11
- package/dist/BackendActionExecuteResponse.js +0 -5
- package/dist/BackendActionExecuteResponseBody.d.ts +0 -5
- package/dist/BackendActionExecuteResponseBody.js +0 -5
- package/dist/BackendActionExecuteResponseHeaders.d.ts +0 -5
- package/dist/BackendActionExecuteResponseHeaders.js +0 -5
- package/dist/BackendActionIndex.d.ts +0 -8
- package/dist/BackendActionIndex.js +0 -5
- package/dist/BackendActionIndexEntry.d.ts +0 -8
- package/dist/BackendActionIndexEntry.js +0 -5
- package/dist/BackendActionTag.d.ts +0 -64
- package/dist/BackendActionTag.js +0 -323
- package/dist/BackendActionUpdate.d.ts +0 -7
- package/dist/BackendActionUpdate.js +0 -5
- package/dist/BackendApp.d.ts +0 -20
- package/dist/BackendApp.js +0 -5
- package/dist/BackendAppCollection.d.ts +0 -7
- package/dist/BackendAppCollection.js +0 -5
- package/dist/BackendAppCreate.d.ts +0 -7
- package/dist/BackendAppCreate.js +0 -5
- package/dist/BackendAppTag.d.ts +0 -48
- package/dist/BackendAppTag.js +0 -255
- package/dist/BackendAppUpdate.d.ts +0 -7
- package/dist/BackendAppUpdate.js +0 -5
- package/dist/BackendAudit.d.ts +0 -17
- package/dist/BackendAudit.js +0 -5
- package/dist/BackendAuditCollection.d.ts +0 -7
- package/dist/BackendAuditCollection.js +0 -5
- package/dist/BackendAuditObject.d.ts +0 -8
- package/dist/BackendAuditObject.js +0 -5
- package/dist/BackendAuditTag.d.ts +0 -21
- package/dist/BackendAuditTag.js +0 -97
- package/dist/BackendBackupExport.d.ts +0 -7
- package/dist/BackendBackupExport.js +0 -5
- package/dist/BackendBackupImport.d.ts +0 -7
- package/dist/BackendBackupImport.js +0 -5
- package/dist/BackendBackupImportResult.d.ts +0 -9
- package/dist/BackendBackupImportResult.js +0 -5
- package/dist/BackendBackupTag.d.ts +0 -22
- package/dist/BackendBackupTag.js +0 -81
- package/dist/BackendCategory.d.ts +0 -8
- package/dist/BackendCategory.js +0 -5
- package/dist/BackendCategoryCollection.d.ts +0 -7
- package/dist/BackendCategoryCollection.js +0 -5
- package/dist/BackendCategoryCreate.d.ts +0 -7
- package/dist/BackendCategoryCreate.js +0 -5
- package/dist/BackendCategoryTag.d.ts +0 -42
- package/dist/BackendCategoryTag.js +0 -213
- package/dist/BackendCategoryUpdate.d.ts +0 -7
- package/dist/BackendCategoryUpdate.js +0 -5
- package/dist/BackendConfig.d.ts +0 -11
- package/dist/BackendConfig.js +0 -5
- package/dist/BackendConfigCollection.d.ts +0 -7
- package/dist/BackendConfigCollection.js +0 -5
- package/dist/BackendConfigTag.d.ts +0 -29
- package/dist/BackendConfigTag.js +0 -134
- package/dist/BackendConfigUpdate.d.ts +0 -7
- package/dist/BackendConfigUpdate.js +0 -5
- package/dist/BackendConnection.d.ts +0 -14
- package/dist/BackendConnection.js +0 -5
- package/dist/BackendConnectionCollection.d.ts +0 -7
- package/dist/BackendConnectionCollection.js +0 -5
- package/dist/BackendConnectionConfig.d.ts +0 -5
- package/dist/BackendConnectionConfig.js +0 -5
- package/dist/BackendConnectionCreate.d.ts +0 -7
- package/dist/BackendConnectionCreate.js +0 -5
- package/dist/BackendConnectionIndex.d.ts +0 -8
- package/dist/BackendConnectionIndex.js +0 -5
- package/dist/BackendConnectionIndexEntry.d.ts +0 -8
- package/dist/BackendConnectionIndexEntry.js +0 -5
- package/dist/BackendConnectionIntrospectionEntities.d.ts +0 -7
- package/dist/BackendConnectionIntrospectionEntities.js +0 -5
- package/dist/BackendConnectionIntrospectionEntity.d.ts +0 -10
- package/dist/BackendConnectionIntrospectionEntity.js +0 -5
- package/dist/BackendConnectionIntrospectionEntityRow.d.ts +0 -7
- package/dist/BackendConnectionIntrospectionEntityRow.js +0 -5
- package/dist/BackendConnectionRedirectResponse.d.ts +0 -7
- package/dist/BackendConnectionRedirectResponse.js +0 -5
- package/dist/BackendConnectionTag.d.ts +0 -77
- package/dist/BackendConnectionTag.js +0 -401
- package/dist/BackendConnectionUpdate.d.ts +0 -7
- package/dist/BackendConnectionUpdate.js +0 -5
- package/dist/BackendCronjob.d.ts +0 -16
- package/dist/BackendCronjob.js +0 -5
- package/dist/BackendCronjobCollection.d.ts +0 -7
- package/dist/BackendCronjobCollection.js +0 -5
- package/dist/BackendCronjobCreate.d.ts +0 -7
- package/dist/BackendCronjobCreate.js +0 -5
- package/dist/BackendCronjobError.d.ts +0 -10
- package/dist/BackendCronjobError.js +0 -5
- package/dist/BackendCronjobTag.d.ts +0 -42
- package/dist/BackendCronjobTag.js +0 -213
- package/dist/BackendCronjobUpdate.d.ts +0 -7
- package/dist/BackendCronjobUpdate.js +0 -5
- package/dist/BackendDashboard.d.ts +0 -16
- package/dist/BackendDashboard.js +0 -5
- package/dist/BackendDashboardTag.d.ts +0 -14
- package/dist/BackendDashboardTag.js +0 -45
- package/dist/BackendDatabaseConnections.d.ts +0 -7
- package/dist/BackendDatabaseConnections.js +0 -5
- package/dist/BackendDatabaseRow.d.ts +0 -5
- package/dist/BackendDatabaseRow.js +0 -5
- package/dist/BackendDatabaseRows.d.ts +0 -7
- package/dist/BackendDatabaseRows.js +0 -5
- package/dist/BackendDatabaseTable.d.ts +0 -14
- package/dist/BackendDatabaseTable.js +0 -5
- package/dist/BackendDatabaseTableColumn.d.ts +0 -17
- package/dist/BackendDatabaseTableColumn.js +0 -5
- package/dist/BackendDatabaseTableForeignKeyConstraint.d.ts +0 -10
- package/dist/BackendDatabaseTableForeignKeyConstraint.js +0 -5
- package/dist/BackendDatabaseTableIndex.d.ts +0 -9
- package/dist/BackendDatabaseTableIndex.js +0 -5
- package/dist/BackendDatabaseTables.d.ts +0 -7
- package/dist/BackendDatabaseTables.js +0 -5
- package/dist/BackendDatabaseTag.d.ts +0 -79
- package/dist/BackendDatabaseTag.js +0 -471
- package/dist/BackendEvent.d.ts +0 -12
- package/dist/BackendEvent.js +0 -5
- package/dist/BackendEventCollection.d.ts +0 -7
- package/dist/BackendEventCollection.js +0 -5
- package/dist/BackendEventCreate.d.ts +0 -7
- package/dist/BackendEventCreate.js +0 -5
- package/dist/BackendEventTag.d.ts +0 -42
- package/dist/BackendEventTag.js +0 -213
- package/dist/BackendEventUpdate.d.ts +0 -7
- package/dist/BackendEventUpdate.js +0 -5
- package/dist/BackendGeneratorIndexProvider.d.ts +0 -8
- package/dist/BackendGeneratorIndexProvider.js +0 -5
- package/dist/BackendGeneratorIndexProviders.d.ts +0 -8
- package/dist/BackendGeneratorIndexProviders.js +0 -5
- package/dist/BackendGeneratorProvider.d.ts +0 -11
- package/dist/BackendGeneratorProvider.js +0 -5
- package/dist/BackendGeneratorProviderChangelog.d.ts +0 -12
- package/dist/BackendGeneratorProviderChangelog.js +0 -5
- package/dist/BackendGeneratorProviderConfig.d.ts +0 -5
- package/dist/BackendGeneratorProviderConfig.js +0 -5
- package/dist/BackendGeneratorTag.d.ts +0 -37
- package/dist/BackendGeneratorTag.js +0 -164
- package/dist/BackendIdentity.d.ts +0 -15
- package/dist/BackendIdentity.js +0 -5
- package/dist/BackendIdentityCollection.d.ts +0 -7
- package/dist/BackendIdentityCollection.js +0 -5
- package/dist/BackendIdentityConfig.d.ts +0 -5
- package/dist/BackendIdentityConfig.js +0 -5
- package/dist/BackendIdentityCreate.d.ts +0 -7
- package/dist/BackendIdentityCreate.js +0 -5
- package/dist/BackendIdentityIndex.d.ts +0 -8
- package/dist/BackendIdentityIndex.js +0 -5
- package/dist/BackendIdentityIndexEntry.d.ts +0 -8
- package/dist/BackendIdentityIndexEntry.js +0 -5
- package/dist/BackendIdentityTag.d.ts +0 -56
- package/dist/BackendIdentityTag.js +0 -285
- package/dist/BackendIdentityUpdate.d.ts +0 -7
- package/dist/BackendIdentityUpdate.js +0 -5
- package/dist/BackendLog.d.ts +0 -16
- package/dist/BackendLog.js +0 -5
- package/dist/BackendLogCollection.d.ts +0 -7
- package/dist/BackendLogCollection.js +0 -5
- package/dist/BackendLogError.d.ts +0 -11
- package/dist/BackendLogError.js +0 -5
- package/dist/BackendLogErrorCollection.d.ts +0 -7
- package/dist/BackendLogErrorCollection.js +0 -5
- package/dist/BackendLogTag.d.ts +0 -35
- package/dist/BackendLogTag.js +0 -177
- package/dist/BackendMarketplaceActionTag.d.ts +0 -36
- package/dist/BackendMarketplaceActionTag.js +0 -173
- package/dist/BackendMarketplaceAppTag.d.ts +0 -35
- package/dist/BackendMarketplaceAppTag.js +0 -172
- package/dist/BackendMarketplaceTag.d.ts +0 -11
- package/dist/BackendMarketplaceTag.js +0 -15
- package/dist/BackendOperation.d.ts +0 -27
- package/dist/BackendOperation.js +0 -5
- package/dist/BackendOperationCollection.d.ts +0 -7
- package/dist/BackendOperationCollection.js +0 -5
- package/dist/BackendOperationCreate.d.ts +0 -7
- package/dist/BackendOperationCreate.js +0 -5
- package/dist/BackendOperationParameters.d.ts +0 -6
- package/dist/BackendOperationParameters.js +0 -5
- package/dist/BackendOperationSchema.d.ts +0 -10
- package/dist/BackendOperationSchema.js +0 -5
- package/dist/BackendOperationTag.d.ts +0 -42
- package/dist/BackendOperationTag.js +0 -213
- package/dist/BackendOperationThrows.d.ts +0 -5
- package/dist/BackendOperationThrows.js +0 -5
- package/dist/BackendOperationUpdate.d.ts +0 -7
- package/dist/BackendOperationUpdate.js +0 -5
- package/dist/BackendPage.d.ts +0 -13
- package/dist/BackendPage.js +0 -5
- package/dist/BackendPageCollection.d.ts +0 -7
- package/dist/BackendPageCollection.js +0 -5
- package/dist/BackendPageCreate.d.ts +0 -7
- package/dist/BackendPageCreate.js +0 -5
- package/dist/BackendPageTag.d.ts +0 -42
- package/dist/BackendPageTag.js +0 -213
- package/dist/BackendPageUpdate.d.ts +0 -7
- package/dist/BackendPageUpdate.js +0 -5
- package/dist/BackendPlan.d.ts +0 -16
- package/dist/BackendPlan.js +0 -5
- package/dist/BackendPlanCollection.d.ts +0 -7
- package/dist/BackendPlanCollection.js +0 -5
- package/dist/BackendPlanCreate.d.ts +0 -7
- package/dist/BackendPlanCreate.js +0 -5
- package/dist/BackendPlanTag.d.ts +0 -42
- package/dist/BackendPlanTag.js +0 -213
- package/dist/BackendPlanUpdate.d.ts +0 -7
- package/dist/BackendPlanUpdate.js +0 -5
- package/dist/BackendRate.d.ts +0 -15
- package/dist/BackendRate.js +0 -5
- package/dist/BackendRateAllocation.d.ts +0 -12
- package/dist/BackendRateAllocation.js +0 -5
- package/dist/BackendRateCollection.d.ts +0 -7
- package/dist/BackendRateCollection.js +0 -5
- package/dist/BackendRateCreate.d.ts +0 -7
- package/dist/BackendRateCreate.js +0 -5
- package/dist/BackendRateTag.d.ts +0 -42
- package/dist/BackendRateTag.js +0 -213
- package/dist/BackendRateUpdate.d.ts +0 -7
- package/dist/BackendRateUpdate.js +0 -5
- package/dist/BackendRole.d.ts +0 -10
- package/dist/BackendRole.js +0 -5
- package/dist/BackendRoleCollection.d.ts +0 -7
- package/dist/BackendRoleCollection.js +0 -5
- package/dist/BackendRoleCreate.d.ts +0 -7
- package/dist/BackendRoleCreate.js +0 -5
- package/dist/BackendRoleTag.d.ts +0 -42
- package/dist/BackendRoleTag.js +0 -213
- package/dist/BackendRoleUpdate.d.ts +0 -7
- package/dist/BackendRoleUpdate.js +0 -5
- package/dist/BackendSchema.d.ts +0 -15
- package/dist/BackendSchema.js +0 -5
- package/dist/BackendSchemaCollection.d.ts +0 -7
- package/dist/BackendSchemaCollection.js +0 -5
- package/dist/BackendSchemaCreate.d.ts +0 -7
- package/dist/BackendSchemaCreate.js +0 -5
- package/dist/BackendSchemaForm.d.ts +0 -8
- package/dist/BackendSchemaForm.js +0 -5
- package/dist/BackendSchemaPreviewResponse.d.ts +0 -7
- package/dist/BackendSchemaPreviewResponse.js +0 -5
- package/dist/BackendSchemaSource.d.ts +0 -8
- package/dist/BackendSchemaSource.js +0 -5
- package/dist/BackendSchemaTag.d.ts +0 -56
- package/dist/BackendSchemaTag.js +0 -294
- package/dist/BackendSchemaUpdate.d.ts +0 -7
- package/dist/BackendSchemaUpdate.js +0 -5
- package/dist/BackendScope.d.ts +0 -13
- package/dist/BackendScope.js +0 -5
- package/dist/BackendScopeCategories.d.ts +0 -8
- package/dist/BackendScopeCategories.js +0 -5
- package/dist/BackendScopeCategory.d.ts +0 -10
- package/dist/BackendScopeCategory.js +0 -5
- package/dist/BackendScopeCategoryScope.d.ts +0 -9
- package/dist/BackendScopeCategoryScope.js +0 -5
- package/dist/BackendScopeCollection.d.ts +0 -7
- package/dist/BackendScopeCollection.js +0 -5
- package/dist/BackendScopeCreate.d.ts +0 -7
- package/dist/BackendScopeCreate.js +0 -5
- package/dist/BackendScopeOperation.d.ts +0 -8
- package/dist/BackendScopeOperation.js +0 -5
- package/dist/BackendScopeTag.d.ts +0 -49
- package/dist/BackendScopeTag.js +0 -250
- package/dist/BackendScopeUpdate.d.ts +0 -7
- package/dist/BackendScopeUpdate.js +0 -5
- package/dist/BackendSdkGenerate.d.ts +0 -8
- package/dist/BackendSdkGenerate.js +0 -5
- package/dist/BackendSdkMessage.d.ts +0 -9
- package/dist/BackendSdkMessage.js +0 -5
- package/dist/BackendSdkResponse.d.ts +0 -8
- package/dist/BackendSdkResponse.js +0 -5
- package/dist/BackendSdkTag.d.ts +0 -22
- package/dist/BackendSdkTag.js +0 -83
- package/dist/BackendSdkTypes.d.ts +0 -5
- package/dist/BackendSdkTypes.js +0 -5
- package/dist/BackendStatisticChart.d.ts +0 -10
- package/dist/BackendStatisticChart.js +0 -5
- package/dist/BackendStatisticChartData.d.ts +0 -5
- package/dist/BackendStatisticChartData.js +0 -5
- package/dist/BackendStatisticCount.d.ts +0 -9
- package/dist/BackendStatisticCount.js +0 -5
- package/dist/BackendStatisticTag.d.ts +0 -93
- package/dist/BackendStatisticTag.js +0 -695
- package/dist/BackendTag.d.ts +0 -71
- package/dist/BackendTag.js +0 -135
- package/dist/BackendTenantTag.d.ts +0 -20
- package/dist/BackendTenantTag.js +0 -92
- package/dist/BackendTest.d.ts +0 -13
- package/dist/BackendTest.js +0 -5
- package/dist/BackendTestCollection.d.ts +0 -7
- package/dist/BackendTestCollection.js +0 -5
- package/dist/BackendTestConfig.d.ts +0 -7
- package/dist/BackendTestConfig.js +0 -5
- package/dist/BackendTestTag.d.ts +0 -41
- package/dist/BackendTestTag.js +0 -216
- package/dist/BackendToken.d.ts +0 -13
- package/dist/BackendToken.js +0 -5
- package/dist/BackendTokenCollection.d.ts +0 -7
- package/dist/BackendTokenCollection.js +0 -5
- package/dist/BackendTokenTag.d.ts +0 -21
- package/dist/BackendTokenTag.js +0 -95
- package/dist/BackendTransaction.d.ts +0 -15
- package/dist/BackendTransaction.js +0 -5
- package/dist/BackendTransactionCollection.d.ts +0 -7
- package/dist/BackendTransactionCollection.js +0 -5
- package/dist/BackendTransactionTag.d.ts +0 -21
- package/dist/BackendTransactionTag.js +0 -97
- package/dist/BackendTrashData.d.ts +0 -9
- package/dist/BackendTrashData.js +0 -5
- package/dist/BackendTrashDataCollection.d.ts +0 -7
- package/dist/BackendTrashDataCollection.js +0 -5
- package/dist/BackendTrashRestore.d.ts +0 -7
- package/dist/BackendTrashRestore.js +0 -5
- package/dist/BackendTrashTag.d.ts +0 -29
- package/dist/BackendTrashTag.js +0 -126
- package/dist/BackendTrashTypes.d.ts +0 -7
- package/dist/BackendTrashTypes.js +0 -5
- package/dist/BackendUser.d.ts +0 -19
- package/dist/BackendUser.js +0 -5
- package/dist/BackendUserCollection.d.ts +0 -7
- package/dist/BackendUserCollection.js +0 -5
- package/dist/BackendUserCreate.d.ts +0 -8
- package/dist/BackendUserCreate.js +0 -5
- package/dist/BackendUserTag.d.ts +0 -42
- package/dist/BackendUserTag.js +0 -213
- package/dist/BackendUserUpdate.d.ts +0 -7
- package/dist/BackendUserUpdate.js +0 -5
- package/dist/BackendWebhook.d.ts +0 -13
- package/dist/BackendWebhook.js +0 -5
- package/dist/BackendWebhookCollection.d.ts +0 -7
- package/dist/BackendWebhookCollection.js +0 -5
- package/dist/BackendWebhookCreate.d.ts +0 -7
- package/dist/BackendWebhookCreate.js +0 -5
- package/dist/BackendWebhookResponse.d.ts +0 -12
- package/dist/BackendWebhookResponse.js +0 -5
- package/dist/BackendWebhookTag.d.ts +0 -42
- package/dist/BackendWebhookTag.js +0 -211
- package/dist/BackendWebhookUpdate.d.ts +0 -7
- package/dist/BackendWebhookUpdate.js +0 -5
- package/dist/CommonCollection.d.ts +0 -10
- package/dist/CommonCollection.js +0 -5
- package/dist/CommonFormContainer.d.ts +0 -11
- package/dist/CommonFormContainer.js +0 -5
- package/dist/CommonFormElement.d.ts +0 -10
- package/dist/CommonFormElement.js +0 -5
- package/dist/CommonFormElementInput.d.ts +0 -8
- package/dist/CommonFormElementInput.js +0 -5
- package/dist/CommonFormElementSelect.d.ts +0 -9
- package/dist/CommonFormElementSelect.js +0 -5
- package/dist/CommonFormElementSelectOption.d.ts +0 -8
- package/dist/CommonFormElementSelectOption.js +0 -5
- package/dist/CommonFormElementTag.d.ts +0 -7
- package/dist/CommonFormElementTag.js +0 -5
- package/dist/CommonFormElementTextArea.d.ts +0 -8
- package/dist/CommonFormElementTextArea.js +0 -5
- package/dist/CommonMessage.d.ts +0 -9
- package/dist/CommonMessage.js +0 -5
- package/dist/CommonMessageException.d.ts +0 -11
- package/dist/CommonMessageException.js +0 -14
- package/dist/CommonMetadata.d.ts +0 -5
- package/dist/CommonMetadata.js +0 -5
- package/dist/ConsumerAccountTag.d.ts +0 -86
- package/dist/ConsumerAccountTag.js +0 -426
- package/dist/ConsumerApp.d.ts +0 -17
- package/dist/ConsumerApp.js +0 -5
- package/dist/ConsumerAppCollection.d.ts +0 -7
- package/dist/ConsumerAppCollection.js +0 -5
- package/dist/ConsumerAppCreate.d.ts +0 -9
- package/dist/ConsumerAppCreate.js +0 -5
- package/dist/ConsumerAppTag.d.ts +0 -42
- package/dist/ConsumerAppTag.js +0 -213
- package/dist/ConsumerAppUpdate.d.ts +0 -9
- package/dist/ConsumerAppUpdate.js +0 -5
- package/dist/ConsumerAuthorizeMeta.d.ts +0 -10
- package/dist/ConsumerAuthorizeMeta.js +0 -5
- package/dist/ConsumerAuthorizeRequest.d.ts +0 -12
- package/dist/ConsumerAuthorizeRequest.js +0 -5
- package/dist/ConsumerAuthorizeResponse.d.ts +0 -11
- package/dist/ConsumerAuthorizeResponse.js +0 -5
- package/dist/ConsumerAuthorizeResponseToken.d.ts +0 -10
- package/dist/ConsumerAuthorizeResponseToken.js +0 -5
- package/dist/ConsumerEvent.d.ts +0 -11
- package/dist/ConsumerEvent.js +0 -5
- package/dist/ConsumerEventCollection.d.ts +0 -7
- package/dist/ConsumerEventCollection.js +0 -5
- package/dist/ConsumerEventTag.d.ts +0 -14
- package/dist/ConsumerEventTag.js +0 -49
- package/dist/ConsumerGrant.d.ts +0 -10
- package/dist/ConsumerGrant.js +0 -5
- package/dist/ConsumerGrantCollection.d.ts +0 -7
- package/dist/ConsumerGrantCollection.js +0 -5
- package/dist/ConsumerGrantTag.d.ts +0 -21
- package/dist/ConsumerGrantTag.js +0 -90
- package/dist/ConsumerIdentity.d.ts +0 -10
- package/dist/ConsumerIdentity.js +0 -5
- package/dist/ConsumerIdentityCollection.d.ts +0 -7
- package/dist/ConsumerIdentityCollection.js +0 -5
- package/dist/ConsumerIdentityTag.d.ts +0 -27
- package/dist/ConsumerIdentityTag.js +0 -122
- package/dist/ConsumerLog.d.ts +0 -15
- package/dist/ConsumerLog.js +0 -5
- package/dist/ConsumerLogCollection.d.ts +0 -7
- package/dist/ConsumerLogCollection.js +0 -5
- package/dist/ConsumerLogTag.d.ts +0 -21
- package/dist/ConsumerLogTag.js +0 -90
- package/dist/ConsumerPage.d.ts +0 -12
- package/dist/ConsumerPage.js +0 -5
- package/dist/ConsumerPageCollection.d.ts +0 -7
- package/dist/ConsumerPageCollection.js +0 -5
- package/dist/ConsumerPageTag.d.ts +0 -21
- package/dist/ConsumerPageTag.js +0 -90
- package/dist/ConsumerPaymentCheckoutRequest.d.ts +0 -8
- package/dist/ConsumerPaymentCheckoutRequest.js +0 -5
- package/dist/ConsumerPaymentCheckoutResponse.d.ts +0 -7
- package/dist/ConsumerPaymentCheckoutResponse.js +0 -5
- package/dist/ConsumerPaymentPortalRequest.d.ts +0 -7
- package/dist/ConsumerPaymentPortalRequest.js +0 -5
- package/dist/ConsumerPaymentPortalResponse.d.ts +0 -7
- package/dist/ConsumerPaymentPortalResponse.js +0 -5
- package/dist/ConsumerPaymentTag.d.ts +0 -23
- package/dist/ConsumerPaymentTag.js +0 -86
- package/dist/ConsumerPlan.d.ts +0 -14
- package/dist/ConsumerPlan.js +0 -5
- package/dist/ConsumerPlanCollection.d.ts +0 -7
- package/dist/ConsumerPlanCollection.js +0 -5
- package/dist/ConsumerPlanTag.d.ts +0 -21
- package/dist/ConsumerPlanTag.js +0 -90
- package/dist/ConsumerScope.d.ts +0 -11
- package/dist/ConsumerScope.js +0 -5
- package/dist/ConsumerScopeCollection.d.ts +0 -7
- package/dist/ConsumerScopeCollection.js +0 -5
- package/dist/ConsumerScopeTag.d.ts +0 -14
- package/dist/ConsumerScopeTag.js +0 -49
- package/dist/ConsumerTag.d.ts +0 -33
- package/dist/ConsumerTag.js +0 -59
- package/dist/ConsumerToken.d.ts +0 -13
- package/dist/ConsumerToken.js +0 -5
- package/dist/ConsumerTokenAccessToken.d.ts +0 -11
- package/dist/ConsumerTokenAccessToken.js +0 -5
- package/dist/ConsumerTokenCollection.d.ts +0 -7
- package/dist/ConsumerTokenCollection.js +0 -5
- package/dist/ConsumerTokenCreate.d.ts +0 -9
- package/dist/ConsumerTokenCreate.js +0 -5
- package/dist/ConsumerTokenTag.d.ts +0 -43
- package/dist/ConsumerTokenTag.js +0 -213
- package/dist/ConsumerTokenUpdate.d.ts +0 -8
- package/dist/ConsumerTokenUpdate.js +0 -5
- package/dist/ConsumerTransaction.d.ts +0 -17
- package/dist/ConsumerTransaction.js +0 -5
- package/dist/ConsumerTransactionCollection.d.ts +0 -7
- package/dist/ConsumerTransactionCollection.js +0 -5
- package/dist/ConsumerTransactionTag.d.ts +0 -21
- package/dist/ConsumerTransactionTag.js +0 -90
- package/dist/ConsumerUserAccount.d.ts +0 -18
- package/dist/ConsumerUserAccount.js +0 -5
- package/dist/ConsumerUserActivate.d.ts +0 -7
- package/dist/ConsumerUserActivate.js +0 -5
- package/dist/ConsumerUserEmail.d.ts +0 -8
- package/dist/ConsumerUserEmail.js +0 -5
- package/dist/ConsumerUserJWT.d.ts +0 -10
- package/dist/ConsumerUserJWT.js +0 -5
- package/dist/ConsumerUserLogin.d.ts +0 -9
- package/dist/ConsumerUserLogin.js +0 -5
- package/dist/ConsumerUserPasswordReset.d.ts +0 -8
- package/dist/ConsumerUserPasswordReset.js +0 -5
- package/dist/ConsumerUserPlan.d.ts +0 -11
- package/dist/ConsumerUserPlan.js +0 -5
- package/dist/ConsumerUserRefresh.d.ts +0 -7
- package/dist/ConsumerUserRefresh.js +0 -5
- package/dist/ConsumerUserRegister.d.ts +0 -10
- package/dist/ConsumerUserRegister.js +0 -5
- package/dist/ConsumerWebhook.d.ts +0 -13
- package/dist/ConsumerWebhook.js +0 -5
- package/dist/ConsumerWebhookCollection.d.ts +0 -7
- package/dist/ConsumerWebhookCollection.js +0 -5
- package/dist/ConsumerWebhookCreate.d.ts +0 -9
- package/dist/ConsumerWebhookCreate.js +0 -5
- package/dist/ConsumerWebhookResponse.d.ts +0 -10
- package/dist/ConsumerWebhookResponse.js +0 -5
- package/dist/ConsumerWebhookTag.d.ts +0 -42
- package/dist/ConsumerWebhookTag.js +0 -213
- package/dist/ConsumerWebhookUpdate.d.ts +0 -9
- package/dist/ConsumerWebhookUpdate.js +0 -5
- package/dist/MarketplaceAction.d.ts +0 -10
- package/dist/MarketplaceAction.js +0 -5
- package/dist/MarketplaceActionCollection.d.ts +0 -7
- package/dist/MarketplaceActionCollection.js +0 -5
- package/dist/MarketplaceActionConfig.d.ts +0 -5
- package/dist/MarketplaceActionConfig.js +0 -5
- package/dist/MarketplaceApp.d.ts +0 -10
- package/dist/MarketplaceApp.js +0 -5
- package/dist/MarketplaceAppCollection.d.ts +0 -7
- package/dist/MarketplaceAppCollection.js +0 -5
- package/dist/MarketplaceCollection.d.ts +0 -10
- package/dist/MarketplaceCollection.js +0 -5
- package/dist/MarketplaceInstall.d.ts +0 -7
- package/dist/MarketplaceInstall.js +0 -5
- package/dist/MarketplaceMessage.d.ts +0 -8
- package/dist/MarketplaceMessage.js +0 -5
- package/dist/MarketplaceMessageException.d.ts +0 -11
- package/dist/MarketplaceMessageException.js +0 -14
- package/dist/MarketplaceObject.d.ts +0 -17
- package/dist/MarketplaceObject.js +0 -5
- package/dist/MarketplaceUser.d.ts +0 -9
- package/dist/MarketplaceUser.js +0 -5
- package/dist/Passthru.d.ts +0 -8
- package/dist/Passthru.js +0 -5
- package/dist/SystemAbout.d.ts +0 -22
- package/dist/SystemAbout.js +0 -5
- package/dist/SystemAboutApps.d.ts +0 -5
- package/dist/SystemAboutApps.js +0 -5
- package/dist/SystemAboutLink.d.ts +0 -8
- package/dist/SystemAboutLink.js +0 -5
- package/dist/SystemConnectionTag.d.ts +0 -13
- package/dist/SystemConnectionTag.js +0 -41
- package/dist/SystemHealthCheck.d.ts +0 -8
- package/dist/SystemHealthCheck.js +0 -5
- package/dist/SystemMetaTag.d.ts +0 -44
- package/dist/SystemMetaTag.js +0 -200
- package/dist/SystemOAuthConfiguration.d.ts +0 -12
- package/dist/SystemOAuthConfiguration.js +0 -5
- package/dist/SystemPaymentTag.d.ts +0 -14
- package/dist/SystemPaymentTag.js +0 -45
- package/dist/SystemRoute.d.ts +0 -8
- package/dist/SystemRoute.js +0 -5
- package/dist/SystemRouteMethod.d.ts +0 -5
- package/dist/SystemRouteMethod.js +0 -5
- package/dist/SystemRoutePath.d.ts +0 -6
- package/dist/SystemRoutePath.js +0 -5
- package/dist/SystemSchema.d.ts +0 -10
- package/dist/SystemSchema.js +0 -5
- package/dist/SystemSchemaForm.d.ts +0 -5
- package/dist/SystemSchemaForm.js +0 -5
- package/dist/SystemSchemaTypeSchema.d.ts +0 -5
- package/dist/SystemSchemaTypeSchema.js +0 -5
- package/dist/SystemTag.d.ts +0 -13
- package/dist/SystemTag.js +0 -19
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerIdentityTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import axios from "axios";
|
|
6
|
-
import { TagAbstract } from "sdkgen-client";
|
|
7
|
-
import { ClientException, UnknownStatusCodeException } from "sdkgen-client";
|
|
8
|
-
import { CommonMessageException } from "./CommonMessageException";
|
|
9
|
-
export class ConsumerIdentityTag extends TagAbstract {
|
|
10
|
-
/**
|
|
11
|
-
* @returns {Promise<Passthru>}
|
|
12
|
-
* @throws {CommonMessageExceptionException}
|
|
13
|
-
* @throws {ClientException}
|
|
14
|
-
*/
|
|
15
|
-
async redirect(identity) {
|
|
16
|
-
const url = this.parser.url('/consumer/identity/:identity/redirect', {
|
|
17
|
-
'identity': identity,
|
|
18
|
-
});
|
|
19
|
-
let params = {
|
|
20
|
-
url: url,
|
|
21
|
-
method: 'GET',
|
|
22
|
-
params: this.parser.query({}, []),
|
|
23
|
-
};
|
|
24
|
-
try {
|
|
25
|
-
const response = await this.httpClient.request(params);
|
|
26
|
-
return response.data;
|
|
27
|
-
}
|
|
28
|
-
catch (error) {
|
|
29
|
-
if (error instanceof ClientException) {
|
|
30
|
-
throw error;
|
|
31
|
-
}
|
|
32
|
-
else if (axios.isAxiosError(error) && error.response) {
|
|
33
|
-
switch (error.response.status) {
|
|
34
|
-
case 400:
|
|
35
|
-
throw new CommonMessageException(error.response.data);
|
|
36
|
-
case 500:
|
|
37
|
-
throw new CommonMessageException(error.response.data);
|
|
38
|
-
default:
|
|
39
|
-
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @returns {Promise<Passthru>}
|
|
49
|
-
* @throws {CommonMessageExceptionException}
|
|
50
|
-
* @throws {ClientException}
|
|
51
|
-
*/
|
|
52
|
-
async exchange(identity) {
|
|
53
|
-
const url = this.parser.url('/consumer/identity/:identity/exchange', {
|
|
54
|
-
'identity': identity,
|
|
55
|
-
});
|
|
56
|
-
let params = {
|
|
57
|
-
url: url,
|
|
58
|
-
method: 'GET',
|
|
59
|
-
params: this.parser.query({}, []),
|
|
60
|
-
};
|
|
61
|
-
try {
|
|
62
|
-
const response = await this.httpClient.request(params);
|
|
63
|
-
return response.data;
|
|
64
|
-
}
|
|
65
|
-
catch (error) {
|
|
66
|
-
if (error instanceof ClientException) {
|
|
67
|
-
throw error;
|
|
68
|
-
}
|
|
69
|
-
else if (axios.isAxiosError(error) && error.response) {
|
|
70
|
-
switch (error.response.status) {
|
|
71
|
-
case 400:
|
|
72
|
-
throw new CommonMessageException(error.response.data);
|
|
73
|
-
case 500:
|
|
74
|
-
throw new CommonMessageException(error.response.data);
|
|
75
|
-
default:
|
|
76
|
-
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* @returns {Promise<ConsumerIdentityCollection>}
|
|
86
|
-
* @throws {CommonMessageExceptionException}
|
|
87
|
-
* @throws {ClientException}
|
|
88
|
-
*/
|
|
89
|
-
async getAll(appId, appKey) {
|
|
90
|
-
const url = this.parser.url('/consumer/identity', {});
|
|
91
|
-
let params = {
|
|
92
|
-
url: url,
|
|
93
|
-
method: 'GET',
|
|
94
|
-
params: this.parser.query({
|
|
95
|
-
'appId': appId,
|
|
96
|
-
'appKey': appKey,
|
|
97
|
-
}, []),
|
|
98
|
-
};
|
|
99
|
-
try {
|
|
100
|
-
const response = await this.httpClient.request(params);
|
|
101
|
-
return response.data;
|
|
102
|
-
}
|
|
103
|
-
catch (error) {
|
|
104
|
-
if (error instanceof ClientException) {
|
|
105
|
-
throw error;
|
|
106
|
-
}
|
|
107
|
-
else if (axios.isAxiosError(error) && error.response) {
|
|
108
|
-
switch (error.response.status) {
|
|
109
|
-
case 400:
|
|
110
|
-
throw new CommonMessageException(error.response.data);
|
|
111
|
-
case 500:
|
|
112
|
-
throw new CommonMessageException(error.response.data);
|
|
113
|
-
default:
|
|
114
|
-
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
else {
|
|
118
|
-
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
package/dist/ConsumerLog.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerLog automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
export interface ConsumerLog {
|
|
6
|
-
id?: number;
|
|
7
|
-
appId?: number;
|
|
8
|
-
ip?: string;
|
|
9
|
-
userAgent?: string;
|
|
10
|
-
method?: string;
|
|
11
|
-
path?: string;
|
|
12
|
-
header?: string;
|
|
13
|
-
body?: string;
|
|
14
|
-
date?: string;
|
|
15
|
-
}
|
package/dist/ConsumerLog.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerLogCollection automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import { CommonCollection } from "./CommonCollection";
|
|
6
|
-
import { ConsumerLog } from "./ConsumerLog";
|
|
7
|
-
export type ConsumerLogCollection = CommonCollection<ConsumerLog>;
|
package/dist/ConsumerLogTag.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerLogTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import { TagAbstract } from "sdkgen-client";
|
|
6
|
-
import { ConsumerLog } from "./ConsumerLog";
|
|
7
|
-
import { ConsumerLogCollection } from "./ConsumerLogCollection";
|
|
8
|
-
export declare class ConsumerLogTag extends TagAbstract {
|
|
9
|
-
/**
|
|
10
|
-
* @returns {Promise<ConsumerLog>}
|
|
11
|
-
* @throws {CommonMessageExceptionException}
|
|
12
|
-
* @throws {ClientException}
|
|
13
|
-
*/
|
|
14
|
-
get(logId: string): Promise<ConsumerLog>;
|
|
15
|
-
/**
|
|
16
|
-
* @returns {Promise<ConsumerLogCollection>}
|
|
17
|
-
* @throws {CommonMessageExceptionException}
|
|
18
|
-
* @throws {ClientException}
|
|
19
|
-
*/
|
|
20
|
-
getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerLogCollection>;
|
|
21
|
-
}
|
package/dist/ConsumerLogTag.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerLogTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import axios from "axios";
|
|
6
|
-
import { TagAbstract } from "sdkgen-client";
|
|
7
|
-
import { ClientException, UnknownStatusCodeException } from "sdkgen-client";
|
|
8
|
-
import { CommonMessageException } from "./CommonMessageException";
|
|
9
|
-
export class ConsumerLogTag extends TagAbstract {
|
|
10
|
-
/**
|
|
11
|
-
* @returns {Promise<ConsumerLog>}
|
|
12
|
-
* @throws {CommonMessageExceptionException}
|
|
13
|
-
* @throws {ClientException}
|
|
14
|
-
*/
|
|
15
|
-
async get(logId) {
|
|
16
|
-
const url = this.parser.url('/consumer/log/$log_id<[0-9]+>', {
|
|
17
|
-
'log_id': logId,
|
|
18
|
-
});
|
|
19
|
-
let params = {
|
|
20
|
-
url: url,
|
|
21
|
-
method: 'GET',
|
|
22
|
-
params: this.parser.query({}, []),
|
|
23
|
-
};
|
|
24
|
-
try {
|
|
25
|
-
const response = await this.httpClient.request(params);
|
|
26
|
-
return response.data;
|
|
27
|
-
}
|
|
28
|
-
catch (error) {
|
|
29
|
-
if (error instanceof ClientException) {
|
|
30
|
-
throw error;
|
|
31
|
-
}
|
|
32
|
-
else if (axios.isAxiosError(error) && error.response) {
|
|
33
|
-
switch (error.response.status) {
|
|
34
|
-
case 401:
|
|
35
|
-
throw new CommonMessageException(error.response.data);
|
|
36
|
-
case 404:
|
|
37
|
-
throw new CommonMessageException(error.response.data);
|
|
38
|
-
case 410:
|
|
39
|
-
throw new CommonMessageException(error.response.data);
|
|
40
|
-
case 500:
|
|
41
|
-
throw new CommonMessageException(error.response.data);
|
|
42
|
-
default:
|
|
43
|
-
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @returns {Promise<ConsumerLogCollection>}
|
|
53
|
-
* @throws {CommonMessageExceptionException}
|
|
54
|
-
* @throws {ClientException}
|
|
55
|
-
*/
|
|
56
|
-
async getAll(startIndex, count, search) {
|
|
57
|
-
const url = this.parser.url('/consumer/log', {});
|
|
58
|
-
let params = {
|
|
59
|
-
url: url,
|
|
60
|
-
method: 'GET',
|
|
61
|
-
params: this.parser.query({
|
|
62
|
-
'startIndex': startIndex,
|
|
63
|
-
'count': count,
|
|
64
|
-
'search': search,
|
|
65
|
-
}, []),
|
|
66
|
-
};
|
|
67
|
-
try {
|
|
68
|
-
const response = await this.httpClient.request(params);
|
|
69
|
-
return response.data;
|
|
70
|
-
}
|
|
71
|
-
catch (error) {
|
|
72
|
-
if (error instanceof ClientException) {
|
|
73
|
-
throw error;
|
|
74
|
-
}
|
|
75
|
-
else if (axios.isAxiosError(error) && error.response) {
|
|
76
|
-
switch (error.response.status) {
|
|
77
|
-
case 401:
|
|
78
|
-
throw new CommonMessageException(error.response.data);
|
|
79
|
-
case 500:
|
|
80
|
-
throw new CommonMessageException(error.response.data);
|
|
81
|
-
default:
|
|
82
|
-
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
86
|
-
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
package/dist/ConsumerPage.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerPage automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import { CommonMetadata } from "./CommonMetadata";
|
|
6
|
-
export interface ConsumerPage {
|
|
7
|
-
id?: number;
|
|
8
|
-
title?: string;
|
|
9
|
-
slug?: string;
|
|
10
|
-
content?: string;
|
|
11
|
-
metadata?: CommonMetadata;
|
|
12
|
-
}
|
package/dist/ConsumerPage.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerPageCollection automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import { CommonCollection } from "./CommonCollection";
|
|
6
|
-
import { ConsumerPage } from "./ConsumerPage";
|
|
7
|
-
export type ConsumerPageCollection = CommonCollection<ConsumerPage>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerPageTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import { TagAbstract } from "sdkgen-client";
|
|
6
|
-
import { ConsumerPage } from "./ConsumerPage";
|
|
7
|
-
import { ConsumerPageCollection } from "./ConsumerPageCollection";
|
|
8
|
-
export declare class ConsumerPageTag extends TagAbstract {
|
|
9
|
-
/**
|
|
10
|
-
* @returns {Promise<ConsumerPage>}
|
|
11
|
-
* @throws {CommonMessageExceptionException}
|
|
12
|
-
* @throws {ClientException}
|
|
13
|
-
*/
|
|
14
|
-
get(pageId: string): Promise<ConsumerPage>;
|
|
15
|
-
/**
|
|
16
|
-
* @returns {Promise<ConsumerPageCollection>}
|
|
17
|
-
* @throws {CommonMessageExceptionException}
|
|
18
|
-
* @throws {ClientException}
|
|
19
|
-
*/
|
|
20
|
-
getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerPageCollection>;
|
|
21
|
-
}
|
package/dist/ConsumerPageTag.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerPageTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import axios from "axios";
|
|
6
|
-
import { TagAbstract } from "sdkgen-client";
|
|
7
|
-
import { ClientException, UnknownStatusCodeException } from "sdkgen-client";
|
|
8
|
-
import { CommonMessageException } from "./CommonMessageException";
|
|
9
|
-
export class ConsumerPageTag extends TagAbstract {
|
|
10
|
-
/**
|
|
11
|
-
* @returns {Promise<ConsumerPage>}
|
|
12
|
-
* @throws {CommonMessageExceptionException}
|
|
13
|
-
* @throws {ClientException}
|
|
14
|
-
*/
|
|
15
|
-
async get(pageId) {
|
|
16
|
-
const url = this.parser.url('/consumer/page/:page_id', {
|
|
17
|
-
'page_id': pageId,
|
|
18
|
-
});
|
|
19
|
-
let params = {
|
|
20
|
-
url: url,
|
|
21
|
-
method: 'GET',
|
|
22
|
-
params: this.parser.query({}, []),
|
|
23
|
-
};
|
|
24
|
-
try {
|
|
25
|
-
const response = await this.httpClient.request(params);
|
|
26
|
-
return response.data;
|
|
27
|
-
}
|
|
28
|
-
catch (error) {
|
|
29
|
-
if (error instanceof ClientException) {
|
|
30
|
-
throw error;
|
|
31
|
-
}
|
|
32
|
-
else if (axios.isAxiosError(error) && error.response) {
|
|
33
|
-
switch (error.response.status) {
|
|
34
|
-
case 401:
|
|
35
|
-
throw new CommonMessageException(error.response.data);
|
|
36
|
-
case 404:
|
|
37
|
-
throw new CommonMessageException(error.response.data);
|
|
38
|
-
case 410:
|
|
39
|
-
throw new CommonMessageException(error.response.data);
|
|
40
|
-
case 500:
|
|
41
|
-
throw new CommonMessageException(error.response.data);
|
|
42
|
-
default:
|
|
43
|
-
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @returns {Promise<ConsumerPageCollection>}
|
|
53
|
-
* @throws {CommonMessageExceptionException}
|
|
54
|
-
* @throws {ClientException}
|
|
55
|
-
*/
|
|
56
|
-
async getAll(startIndex, count, search) {
|
|
57
|
-
const url = this.parser.url('/consumer/page', {});
|
|
58
|
-
let params = {
|
|
59
|
-
url: url,
|
|
60
|
-
method: 'GET',
|
|
61
|
-
params: this.parser.query({
|
|
62
|
-
'startIndex': startIndex,
|
|
63
|
-
'count': count,
|
|
64
|
-
'search': search,
|
|
65
|
-
}, []),
|
|
66
|
-
};
|
|
67
|
-
try {
|
|
68
|
-
const response = await this.httpClient.request(params);
|
|
69
|
-
return response.data;
|
|
70
|
-
}
|
|
71
|
-
catch (error) {
|
|
72
|
-
if (error instanceof ClientException) {
|
|
73
|
-
throw error;
|
|
74
|
-
}
|
|
75
|
-
else if (axios.isAxiosError(error) && error.response) {
|
|
76
|
-
switch (error.response.status) {
|
|
77
|
-
case 401:
|
|
78
|
-
throw new CommonMessageException(error.response.data);
|
|
79
|
-
case 500:
|
|
80
|
-
throw new CommonMessageException(error.response.data);
|
|
81
|
-
default:
|
|
82
|
-
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
86
|
-
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerPaymentTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import { TagAbstract } from "sdkgen-client";
|
|
6
|
-
import { ConsumerPaymentCheckoutRequest } from "./ConsumerPaymentCheckoutRequest";
|
|
7
|
-
import { ConsumerPaymentCheckoutResponse } from "./ConsumerPaymentCheckoutResponse";
|
|
8
|
-
import { ConsumerPaymentPortalRequest } from "./ConsumerPaymentPortalRequest";
|
|
9
|
-
import { ConsumerPaymentPortalResponse } from "./ConsumerPaymentPortalResponse";
|
|
10
|
-
export declare class ConsumerPaymentTag extends TagAbstract {
|
|
11
|
-
/**
|
|
12
|
-
* @returns {Promise<ConsumerPaymentCheckoutResponse>}
|
|
13
|
-
* @throws {CommonMessageExceptionException}
|
|
14
|
-
* @throws {ClientException}
|
|
15
|
-
*/
|
|
16
|
-
checkout(provider: string, payload: ConsumerPaymentCheckoutRequest): Promise<ConsumerPaymentCheckoutResponse>;
|
|
17
|
-
/**
|
|
18
|
-
* @returns {Promise<ConsumerPaymentPortalResponse>}
|
|
19
|
-
* @throws {CommonMessageExceptionException}
|
|
20
|
-
* @throws {ClientException}
|
|
21
|
-
*/
|
|
22
|
-
portal(provider: string, payload: ConsumerPaymentPortalRequest): Promise<ConsumerPaymentPortalResponse>;
|
|
23
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerPaymentTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import axios from "axios";
|
|
6
|
-
import { TagAbstract } from "sdkgen-client";
|
|
7
|
-
import { ClientException, UnknownStatusCodeException } from "sdkgen-client";
|
|
8
|
-
import { CommonMessageException } from "./CommonMessageException";
|
|
9
|
-
export class ConsumerPaymentTag extends TagAbstract {
|
|
10
|
-
/**
|
|
11
|
-
* @returns {Promise<ConsumerPaymentCheckoutResponse>}
|
|
12
|
-
* @throws {CommonMessageExceptionException}
|
|
13
|
-
* @throws {ClientException}
|
|
14
|
-
*/
|
|
15
|
-
async checkout(provider, payload) {
|
|
16
|
-
const url = this.parser.url('/consumer/payment/:provider/checkout', {
|
|
17
|
-
'provider': provider,
|
|
18
|
-
});
|
|
19
|
-
let params = {
|
|
20
|
-
url: url,
|
|
21
|
-
method: 'POST',
|
|
22
|
-
params: this.parser.query({}, []),
|
|
23
|
-
data: payload
|
|
24
|
-
};
|
|
25
|
-
try {
|
|
26
|
-
const response = await this.httpClient.request(params);
|
|
27
|
-
return response.data;
|
|
28
|
-
}
|
|
29
|
-
catch (error) {
|
|
30
|
-
if (error instanceof ClientException) {
|
|
31
|
-
throw error;
|
|
32
|
-
}
|
|
33
|
-
else if (axios.isAxiosError(error) && error.response) {
|
|
34
|
-
switch (error.response.status) {
|
|
35
|
-
case 401:
|
|
36
|
-
throw new CommonMessageException(error.response.data);
|
|
37
|
-
case 500:
|
|
38
|
-
throw new CommonMessageException(error.response.data);
|
|
39
|
-
default:
|
|
40
|
-
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* @returns {Promise<ConsumerPaymentPortalResponse>}
|
|
50
|
-
* @throws {CommonMessageExceptionException}
|
|
51
|
-
* @throws {ClientException}
|
|
52
|
-
*/
|
|
53
|
-
async portal(provider, payload) {
|
|
54
|
-
const url = this.parser.url('/consumer/payment/:provider/portal', {
|
|
55
|
-
'provider': provider,
|
|
56
|
-
});
|
|
57
|
-
let params = {
|
|
58
|
-
url: url,
|
|
59
|
-
method: 'POST',
|
|
60
|
-
params: this.parser.query({}, []),
|
|
61
|
-
data: payload
|
|
62
|
-
};
|
|
63
|
-
try {
|
|
64
|
-
const response = await this.httpClient.request(params);
|
|
65
|
-
return response.data;
|
|
66
|
-
}
|
|
67
|
-
catch (error) {
|
|
68
|
-
if (error instanceof ClientException) {
|
|
69
|
-
throw error;
|
|
70
|
-
}
|
|
71
|
-
else if (axios.isAxiosError(error) && error.response) {
|
|
72
|
-
switch (error.response.status) {
|
|
73
|
-
case 401:
|
|
74
|
-
throw new CommonMessageException(error.response.data);
|
|
75
|
-
case 500:
|
|
76
|
-
throw new CommonMessageException(error.response.data);
|
|
77
|
-
default:
|
|
78
|
-
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
package/dist/ConsumerPlan.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerPlan automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import { CommonMetadata } from "./CommonMetadata";
|
|
6
|
-
export interface ConsumerPlan {
|
|
7
|
-
id?: number;
|
|
8
|
-
name?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
price?: number;
|
|
11
|
-
points?: number;
|
|
12
|
-
period?: number;
|
|
13
|
-
metadata?: CommonMetadata;
|
|
14
|
-
}
|
package/dist/ConsumerPlan.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerPlanCollection automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import { CommonCollection } from "./CommonCollection";
|
|
6
|
-
import { ConsumerPlan } from "./ConsumerPlan";
|
|
7
|
-
export type ConsumerPlanCollection = CommonCollection<ConsumerPlan>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsumerPlanTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
import { TagAbstract } from "sdkgen-client";
|
|
6
|
-
import { ConsumerPlan } from "./ConsumerPlan";
|
|
7
|
-
import { ConsumerPlanCollection } from "./ConsumerPlanCollection";
|
|
8
|
-
export declare class ConsumerPlanTag extends TagAbstract {
|
|
9
|
-
/**
|
|
10
|
-
* @returns {Promise<ConsumerPlan>}
|
|
11
|
-
* @throws {CommonMessageExceptionException}
|
|
12
|
-
* @throws {ClientException}
|
|
13
|
-
*/
|
|
14
|
-
get(planId: string): Promise<ConsumerPlan>;
|
|
15
|
-
/**
|
|
16
|
-
* @returns {Promise<ConsumerPlanCollection>}
|
|
17
|
-
* @throws {CommonMessageExceptionException}
|
|
18
|
-
* @throws {ClientException}
|
|
19
|
-
*/
|
|
20
|
-
getAll(startIndex?: number, count?: number, search?: string): Promise<ConsumerPlanCollection>;
|
|
21
|
-
}
|