@appconda/sdk 1.0.194 → 1.0.409
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/.github/workflows/autoclose.yml +11 -0
- package/.github/workflows/publish.yml +42 -0
- package/.travis.yml +32 -0
- package/CHANGELOG.md +1 -0
- package/LICENSE +12 -0
- package/README.md +0 -0
- package/dist/actions/_authOptions.d.ts +5 -0
- package/dist/actions/_authOptions.js +235 -0
- package/dist/actions/actionClient.d.ts +10 -0
- package/dist/actions/actionClient.js +41 -0
- package/dist/actions/auth.d.ts +1 -0
- package/dist/actions/auth.js +7 -0
- package/dist/actions/authOptions.d.ts +5 -0
- package/dist/actions/authOptions.js +133 -0
- package/dist/actions/index.d.ts +3 -0
- package/dist/actions/index.js +4 -0
- package/dist/actions/nextAuthHandler.d.ts +1 -0
- package/dist/actions/nextAuthHandler.js +6 -0
- package/dist/client.d.ts +141 -0
- package/dist/client.js +335 -0
- package/dist/decorators/Cache.d.ts +1 -0
- package/dist/decorators/Cache.js +79 -0
- package/dist/decorators/CacheKey.d.ts +1 -0
- package/dist/decorators/CacheKey.js +9 -0
- package/dist/decorators/Invalidate.d.ts +1 -0
- package/dist/decorators/Invalidate.js +47 -0
- package/dist/enums/api-service.d.ts +13 -0
- package/dist/enums/api-service.js +15 -0
- package/dist/enums/api.d.ts +5 -0
- package/dist/enums/api.js +7 -0
- package/dist/enums/auth-method.d.ts +9 -0
- package/dist/enums/auth-method.js +11 -0
- package/dist/enums/browser.d.ts +16 -0
- package/dist/enums/browser.js +18 -0
- package/dist/enums/compression.d.ts +5 -0
- package/dist/enums/compression.js +7 -0
- package/dist/enums/credit-card.d.ts +18 -0
- package/dist/enums/credit-card.js +20 -0
- package/dist/enums/database-usage-range.d.ts +5 -0
- package/dist/enums/database-usage-range.js +7 -0
- package/dist/enums/email-template-locale.d.ts +133 -0
- package/dist/enums/email-template-locale.js +135 -0
- package/dist/enums/email-template-type.d.ts +9 -0
- package/dist/enums/email-template-type.js +11 -0
- package/dist/enums/entities/EntityLimitType.d.ts +4 -0
- package/dist/enums/entities/EntityLimitType.js +6 -0
- package/dist/enums/entities/PropertyAttributeName.d.ts +27 -0
- package/dist/enums/entities/PropertyAttributeName.js +29 -0
- package/dist/enums/entities/PropertyCondition.d.ts +7 -0
- package/dist/enums/entities/PropertyCondition.js +10 -0
- package/dist/enums/entities/PropertyType.d.ts +12 -0
- package/dist/enums/entities/PropertyType.js +18 -0
- package/dist/enums/entities/PropertyValueType.d.ts +6 -0
- package/dist/enums/entities/PropertyValueType.js +8 -0
- package/dist/enums/entities/RowAccess.d.ts +2 -0
- package/dist/enums/entities/RowAccess.js +2 -0
- package/dist/enums/entities/ViewFilterCondition.d.ts +12 -0
- package/dist/enums/entities/ViewFilterCondition.js +14 -0
- package/dist/enums/execution-method.d.ts +8 -0
- package/dist/enums/execution-method.js +10 -0
- package/dist/enums/flag.d.ts +197 -0
- package/dist/enums/flag.js +199 -0
- package/dist/enums/function-usage-range.d.ts +5 -0
- package/dist/enums/function-usage-range.js +7 -0
- package/dist/enums/image-format.d.ts +7 -0
- package/dist/enums/image-format.js +9 -0
- package/dist/enums/image-gravity.d.ts +11 -0
- package/dist/enums/image-gravity.js +13 -0
- package/dist/enums/index-type.d.ts +5 -0
- package/dist/enums/index-type.js +7 -0
- package/dist/enums/messaging-provider-type.d.ts +5 -0
- package/dist/enums/messaging-provider-type.js +7 -0
- package/dist/enums/name.d.ts +14 -0
- package/dist/enums/name.js +16 -0
- package/dist/enums/o-auth-provider copy.d.ts +41 -0
- package/dist/enums/o-auth-provider copy.js +43 -0
- package/dist/enums/password-hash.d.ts +13 -0
- package/dist/enums/password-hash.js +15 -0
- package/dist/enums/platform-type.d.ts +17 -0
- package/dist/enums/platform-type.js +19 -0
- package/dist/enums/project-usage-range.d.ts +4 -0
- package/dist/enums/project-usage-range.js +6 -0
- package/dist/enums/region.d.ts +4 -0
- package/dist/enums/region.js +6 -0
- package/dist/enums/relation-mutate.d.ts +5 -0
- package/dist/enums/relation-mutate.js +7 -0
- package/dist/enums/relationship-type.d.ts +6 -0
- package/dist/enums/relationship-type.js +8 -0
- package/dist/enums/resource-type.d.ts +4 -0
- package/dist/enums/resource-type.js +6 -0
- package/dist/enums/runtime.d.ts +48 -0
- package/dist/enums/runtime.js +50 -0
- package/dist/enums/s-m-t-p-secure.d.ts +3 -0
- package/dist/enums/s-m-t-p-secure.js +5 -0
- package/dist/enums/shared/ApplicationLayout.d.ts +4 -0
- package/dist/enums/shared/ApplicationLayout.js +6 -0
- package/dist/enums/shared/Colors.d.ts +24 -0
- package/dist/enums/shared/Colors.js +26 -0
- package/dist/enums/shared/InputType.d.ts +6 -0
- package/dist/enums/shared/InputType.js +8 -0
- package/dist/enums/shared/Periodicity.d.ts +7 -0
- package/dist/enums/shared/Periodicity.js +9 -0
- package/dist/enums/shared/SvgIcon.d.ts +37 -0
- package/dist/enums/shared/SvgIcon.js +39 -0
- package/dist/enums/shared/Theme.d.ts +4 -0
- package/dist/enums/shared/Theme.js +6 -0
- package/dist/enums/sms-template-locale.d.ts +133 -0
- package/dist/enums/sms-template-locale.js +135 -0
- package/dist/enums/sms-template-type.d.ts +6 -0
- package/dist/enums/sms-template-type.js +8 -0
- package/dist/enums/smtp-encryption.d.ts +5 -0
- package/dist/enums/smtp-encryption.js +7 -0
- package/dist/enums/storage-usage-range.d.ts +5 -0
- package/dist/enums/storage-usage-range.js +7 -0
- package/dist/enums/subscriptions/PricingModel.d.ts +11 -0
- package/dist/enums/subscriptions/PricingModel.js +12 -0
- package/dist/enums/subscriptions/SubscriptionBillingPeriod.d.ts +10 -0
- package/dist/enums/subscriptions/SubscriptionBillingPeriod.js +11 -0
- package/dist/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +10 -0
- package/dist/enums/subscriptions/SubscriptionFeatureLimitType.js +13 -0
- package/dist/enums/subscriptions/SubscriptionPriceType.d.ts +7 -0
- package/dist/enums/subscriptions/SubscriptionPriceType.js +8 -0
- package/dist/enums/tenants/LinkedAccountStatus.d.ts +5 -0
- package/dist/enums/tenants/LinkedAccountStatus.js +7 -0
- package/dist/enums/tenants/TenantUserJoined.d.ts +6 -0
- package/dist/enums/tenants/TenantUserJoined.js +8 -0
- package/dist/enums/tenants/TenantUserStatus.d.ts +6 -0
- package/dist/enums/tenants/TenantUserStatus.js +8 -0
- package/dist/enums/tenants/TenantUserType.d.ts +5 -0
- package/dist/enums/tenants/TenantUserType.js +7 -0
- package/dist/enums/user-usage-range.d.ts +5 -0
- package/dist/enums/user-usage-range.js +7 -0
- package/dist/getAppcondaClient.d.ts +3 -0
- package/dist/getAppcondaClient.js +71 -0
- package/dist/getSDKForCurrentUser.d.ts +59 -0
- package/dist/getSDKForCurrentUser.js +100 -0
- package/dist/getSDKForService.d.ts +18 -0
- package/dist/getSDKForService.js +67 -0
- package/dist/getSDKForTenant.d.ts +20 -0
- package/dist/getSDKForTenant.js +44 -0
- package/dist/id.d.ts +20 -0
- package/dist/id.js +45 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/inputFile.d.ts +6 -0
- package/dist/inputFile.js +17 -0
- package/dist/lib/Cache/Adapter.d.ts +10 -0
- package/dist/lib/Cache/Adapter.js +2 -0
- package/dist/lib/Cache/Adapters/Filesystem.d.ts +16 -0
- package/dist/lib/Cache/Adapters/Filesystem.js +103 -0
- package/dist/lib/Cache/Adapters/Memory.d.ts +18 -0
- package/dist/lib/Cache/Adapters/Memory.js +47 -0
- package/dist/lib/Cache/Adapters/None.d.ts +12 -0
- package/dist/lib/Cache/Adapters/None.js +28 -0
- package/dist/lib/Cache/Adapters/Sharding.d.ts +17 -0
- package/dist/lib/Cache/Adapters/Sharding.js +73 -0
- package/dist/lib/Cache/Cache.d.ts +16 -0
- package/dist/lib/Cache/Cache.js +52 -0
- package/dist/lib/Cache/index.d.ts +4 -0
- package/dist/lib/Cache/index.js +5 -0
- package/dist/lib/Cache/test.d.ts +0 -0
- package/dist/lib/Cache/test.js +1 -0
- package/dist/lib/Registry/Registry.d.ts +38 -0
- package/dist/lib/Registry/Registry.js +56 -0
- package/dist/lib/Registry/index.d.ts +1 -0
- package/dist/lib/Registry/index.js +2 -0
- package/dist/lib/Services.d.ts +6 -0
- package/dist/lib/Services.js +14 -0
- package/dist/lib/crypto.d.ts +23 -0
- package/dist/lib/crypto.js +78 -0
- package/dist/lib/env.d.ts +1 -0
- package/dist/lib/env.js +137 -0
- package/dist/lib/errors.d.ts +70 -0
- package/dist/lib/errors.js +79 -0
- package/dist/lib/index.d.ts +0 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/jwt.d.ts +12 -0
- package/dist/lib/jwt.js +103 -0
- package/dist/lib/types.d.ts +5 -0
- package/dist/lib/types.js +2 -0
- package/dist/models.d.ts +3272 -0
- package/dist/models.js +2 -0
- package/dist/modules/account/actions.d.ts +11 -0
- package/dist/modules/account/actions.js +49 -0
- package/dist/modules/account/enums/authentication-factor.d.ts +6 -0
- package/dist/modules/account/enums/authentication-factor.js +8 -0
- package/dist/modules/account/enums/authenticator-type.d.ts +3 -0
- package/dist/modules/account/enums/authenticator-type.js +5 -0
- package/dist/modules/account/enums/o-auth-provider.d.ts +41 -0
- package/dist/modules/account/enums/o-auth-provider.js +43 -0
- package/dist/modules/account/index.d.ts +2 -0
- package/dist/modules/account/index.js +3 -0
- package/dist/modules/account/schema.d.ts +7 -0
- package/dist/modules/account/schema.js +8 -0
- package/dist/modules/account/service.d.ts +530 -0
- package/dist/modules/account/service.js +1263 -0
- package/dist/modules/account/types.d.ts +411 -0
- package/dist/modules/account/types.js +2 -0
- package/dist/modules/accounv1/action.d.ts +9 -0
- package/dist/modules/accounv1/action.js +88 -0
- package/dist/modules/accounv1/index.d.ts +3 -0
- package/dist/modules/accounv1/index.js +4 -0
- package/dist/modules/accounv1/schema.d.ts +43 -0
- package/dist/modules/accounv1/schema.js +44 -0
- package/dist/modules/accounv1/service.d.ts +14 -0
- package/dist/modules/accounv1/service.js +28 -0
- package/dist/modules/accounv1/types.d.ts +14 -0
- package/dist/modules/accounv1/types.js +2 -0
- package/dist/modules/acl/service.d.ts +26 -0
- package/dist/modules/acl/service.js +27 -0
- package/dist/modules/agent/action.d.ts +29 -0
- package/dist/modules/agent/action.js +53 -0
- package/dist/modules/agent/index.d.ts +4 -0
- package/dist/modules/agent/index.js +5 -0
- package/dist/modules/agent/schema.d.ts +20 -0
- package/dist/modules/agent/schema.js +21 -0
- package/dist/modules/agent/service.d.ts +12 -0
- package/dist/modules/agent/service.js +22 -0
- package/dist/modules/agent/types.d.ts +11 -0
- package/dist/modules/agent/types.js +2 -0
- package/dist/modules/ai/index.d.ts +1 -0
- package/dist/modules/ai/index.js +2 -0
- package/dist/modules/ai/node/actions.d.ts +4 -0
- package/dist/modules/ai/node/actions.js +14 -0
- package/dist/modules/ai/node/index.d.ts +2 -0
- package/dist/modules/ai/node/index.js +3 -0
- package/dist/modules/ai/node/service.d.ts +5 -0
- package/dist/modules/ai/node/service.js +12 -0
- package/dist/modules/bpm/action.d.ts +7 -0
- package/dist/modules/bpm/action.js +60 -0
- package/dist/modules/bpm/index.d.ts +3 -0
- package/dist/modules/bpm/index.js +4 -0
- package/dist/modules/bpm/schema.d.ts +18 -0
- package/dist/modules/bpm/schema.js +19 -0
- package/dist/modules/bpm/service.d.ts +11 -0
- package/dist/modules/bpm/service.js +19 -0
- package/dist/modules/bpm/types.d.ts +9 -0
- package/dist/modules/bpm/types.js +2 -0
- package/dist/modules/builder/action.d.ts +18 -0
- package/dist/modules/builder/action.js +214 -0
- package/dist/modules/builder/index.d.ts +4 -0
- package/dist/modules/builder/index.js +5 -0
- package/dist/modules/builder/schema.d.ts +80 -0
- package/dist/modules/builder/schema.js +81 -0
- package/dist/modules/builder/service.d.ts +22 -0
- package/dist/modules/builder/service.js +52 -0
- package/dist/modules/builder/types.d.ts +62 -0
- package/dist/modules/builder/types.js +2 -0
- package/dist/modules/datasource/action.d.ts +14 -0
- package/dist/modules/datasource/action.js +172 -0
- package/dist/modules/datasource/index.d.ts +4 -0
- package/dist/modules/datasource/index.js +5 -0
- package/dist/modules/datasource/schema.d.ts +55 -0
- package/dist/modules/datasource/schema.js +56 -0
- package/dist/modules/datasource/service.d.ts +19 -0
- package/dist/modules/datasource/service.js +43 -0
- package/dist/modules/datasource/types.d.ts +28 -0
- package/dist/modules/datasource/types.js +2 -0
- package/dist/modules/emploid/action.d.ts +73 -0
- package/dist/modules/emploid/action.js +984 -0
- package/dist/modules/emploid/index.d.ts +4 -0
- package/dist/modules/emploid/index.js +5 -0
- package/dist/modules/emploid/schema.d.ts +386 -0
- package/dist/modules/emploid/schema.js +331 -0
- package/dist/modules/emploid/service.d.ts +77 -0
- package/dist/modules/emploid/service.js +217 -0
- package/dist/modules/emploid/types.d.ts +114 -0
- package/dist/modules/emploid/types.js +2 -0
- package/dist/modules/google/action.d.ts +5 -0
- package/dist/modules/google/action.js +46 -0
- package/dist/modules/google/index.d.ts +4 -0
- package/dist/modules/google/index.js +5 -0
- package/dist/modules/google/schema.d.ts +13 -0
- package/dist/modules/google/schema.js +14 -0
- package/dist/modules/google/service.d.ts +10 -0
- package/dist/modules/google/service.js +16 -0
- package/dist/modules/google/types.d.ts +12 -0
- package/dist/modules/google/types.js +2 -0
- package/dist/modules/hooks/index.d.ts +3 -0
- package/dist/modules/hooks/index.js +4 -0
- package/dist/modules/hooks/lib/Hooks.d.ts +32 -0
- package/dist/modules/hooks/lib/Hooks.js +64 -0
- package/dist/modules/hooks/lib/handler.d.ts +12 -0
- package/dist/modules/hooks/lib/handler.js +23 -0
- package/dist/modules/hooks/lib/jobs/index.d.ts +2 -0
- package/dist/modules/hooks/lib/jobs/index.js +3 -0
- package/dist/modules/hooks/lib/jobs/job1.d.ts +1 -0
- package/dist/modules/hooks/lib/jobs/job1.js +16 -0
- package/dist/modules/hooks/lib/jobs/log-job.d.ts +1 -0
- package/dist/modules/hooks/lib/jobs/log-job.js +9 -0
- package/dist/modules/hooks/lib/wait.d.ts +8 -0
- package/dist/modules/hooks/lib/wait.js +13 -0
- package/dist/modules/index.d.ts +17 -0
- package/dist/modules/index.js +18 -0
- package/dist/modules/mail/action.d.ts +3 -0
- package/dist/modules/mail/action.js +18 -0
- package/dist/modules/mail/index.d.ts +4 -0
- package/dist/modules/mail/index.js +5 -0
- package/dist/modules/mail/schema.d.ts +6 -0
- package/dist/modules/mail/schema.js +7 -0
- package/dist/modules/mail/service.d.ts +8 -0
- package/dist/modules/mail/service.js +10 -0
- package/dist/modules/mail/types.d.ts +6 -0
- package/dist/modules/mail/types.js +2 -0
- package/dist/modules/notion/action.d.ts +5 -0
- package/dist/modules/notion/action.js +46 -0
- package/dist/modules/notion/index.d.ts +4 -0
- package/dist/modules/notion/index.js +5 -0
- package/dist/modules/notion/schema.d.ts +13 -0
- package/dist/modules/notion/schema.js +14 -0
- package/dist/modules/notion/service.d.ts +10 -0
- package/dist/modules/notion/service.js +19 -0
- package/dist/modules/notion/types.d.ts +11 -0
- package/dist/modules/notion/types.js +2 -0
- package/dist/modules/organization/action.d.ts +7 -0
- package/dist/modules/organization/action.js +60 -0
- package/dist/modules/organization/index.d.ts +4 -0
- package/dist/modules/organization/index.js +5 -0
- package/dist/modules/organization/schema.d.ts +24 -0
- package/dist/modules/organization/schema.js +20 -0
- package/dist/modules/organization/service.d.ts +11 -0
- package/dist/modules/organization/service.js +19 -0
- package/dist/modules/organization/types.d.ts +11 -0
- package/dist/modules/organization/types.js +2 -0
- package/dist/modules/scheduled-job/action.d.ts +70 -0
- package/dist/modules/scheduled-job/action.js +173 -0
- package/dist/modules/scheduled-job/index.d.ts +7 -0
- package/dist/modules/scheduled-job/index.js +8 -0
- package/dist/modules/scheduled-job/lib/Schedules.d.ts +34 -0
- package/dist/modules/scheduled-job/lib/Schedules.js +65 -0
- package/dist/modules/scheduled-job/lib/handler.d.ts +13 -0
- package/dist/modules/scheduled-job/lib/handler.js +23 -0
- package/dist/modules/scheduled-job/lib/jobs/index.d.ts +1 -0
- package/dist/modules/scheduled-job/lib/jobs/index.js +2 -0
- package/dist/modules/scheduled-job/lib/jobs/job1.d.ts +1 -0
- package/dist/modules/scheduled-job/lib/jobs/job1.js +10 -0
- package/dist/modules/scheduled-job/lib/wait.d.ts +8 -0
- package/dist/modules/scheduled-job/lib/wait.js +13 -0
- package/dist/modules/scheduled-job/schema.d.ts +39 -0
- package/dist/modules/scheduled-job/schema.js +40 -0
- package/dist/modules/scheduled-job/service.d.ts +20 -0
- package/dist/modules/scheduled-job/service.js +46 -0
- package/dist/modules/scheduled-job/types.d.ts +66 -0
- package/dist/modules/scheduled-job/types.js +2 -0
- package/dist/modules/task/action.d.ts +64 -0
- package/dist/modules/task/action.js +758 -0
- package/dist/modules/task/index.d.ts +4 -0
- package/dist/modules/task/index.js +5 -0
- package/dist/modules/task/schema.d.ts +355 -0
- package/dist/modules/task/schema.js +371 -0
- package/dist/modules/task/service.d.ts +69 -0
- package/dist/modules/task/service.js +193 -0
- package/dist/modules/task/types.d.ts +293 -0
- package/dist/modules/task/types.js +37 -0
- package/dist/modules/tenant/actions.d.ts +10 -0
- package/dist/modules/tenant/actions.js +160 -0
- package/dist/modules/tenant/index.d.ts +3 -0
- package/dist/modules/tenant/index.js +4 -0
- package/dist/modules/tenant/schema.d.ts +26 -0
- package/dist/modules/tenant/schema.js +28 -0
- package/dist/modules/tenant/service.d.ts +14 -0
- package/dist/modules/tenant/service.js +28 -0
- package/dist/modules/tenant/tenant.d.ts +32 -0
- package/dist/modules/tenant/tenant.js +125 -0
- package/dist/modules/tenant/types.d.ts +20 -0
- package/dist/modules/tenant/types.js +2 -0
- package/dist/modules/waitlist/action.d.ts +6 -0
- package/dist/modules/waitlist/action.js +78 -0
- package/dist/modules/waitlist/index.d.ts +4 -0
- package/dist/modules/waitlist/index.js +5 -0
- package/dist/modules/waitlist/schema.d.ts +17 -0
- package/dist/modules/waitlist/schema.js +18 -0
- package/dist/modules/waitlist/service.d.ts +13 -0
- package/dist/modules/waitlist/service.js +28 -0
- package/dist/modules/waitlist/types.d.ts +14 -0
- package/dist/modules/waitlist/types.js +2 -0
- package/dist/permission.d.ts +43 -0
- package/dist/permission.js +54 -0
- package/dist/query.d.ts +194 -0
- package/dist/query.js +204 -0
- package/dist/role.d.ts +70 -0
- package/dist/role.js +94 -0
- package/dist/schemas/nodes.d.ts +0 -0
- package/dist/schemas/nodes.js +1 -0
- package/dist/service-client.d.ts +8 -0
- package/dist/service-client.js +22 -0
- package/dist/service.d.ts +11 -0
- package/dist/service.js +23 -0
- package/dist/services/applets.d.ts +9 -0
- package/dist/services/applets.js +40 -0
- package/dist/services/avatars.d.ts +115 -0
- package/dist/services/avatars.js +251 -0
- package/dist/services/chat-flow.d.ts +7 -0
- package/dist/services/chat-flow.js +26 -0
- package/dist/services/community.d.ts +19 -0
- package/dist/services/community.js +69 -0
- package/dist/services/configuration.d.ts +5 -0
- package/dist/services/configuration.js +11 -0
- package/dist/services/databases.d.ts +613 -0
- package/dist/services/databases.js +1736 -0
- package/dist/services/functions.d.ts +319 -0
- package/dist/services/functions.js +810 -0
- package/dist/services/graphql.d.ts +25 -0
- package/dist/services/graphql.js +57 -0
- package/dist/services/health.d.ts +231 -0
- package/dist/services/health.js +463 -0
- package/dist/services/locale.d.ts +80 -0
- package/dist/services/locale.js +144 -0
- package/dist/services/messaging.d.ts +685 -0
- package/dist/services/messaging.js +1920 -0
- package/dist/services/permissions.d.ts +20 -0
- package/dist/services/permissions.js +90 -0
- package/dist/services/pricing.d.ts +15 -0
- package/dist/services/pricing.js +21 -0
- package/dist/services/projects.d.ts +542 -0
- package/dist/services/projects.js +1526 -0
- package/dist/services/roles.d.ts +19 -0
- package/dist/services/roles.js +72 -0
- package/dist/services/schema.d.ts +17 -0
- package/dist/services/schema.js +48 -0
- package/dist/services/storage.d.ts +189 -0
- package/dist/services/storage.js +474 -0
- package/dist/services/subscription.d.ts +15 -0
- package/dist/services/subscription.js +30 -0
- package/dist/services/teams.d.ts +167 -0
- package/dist/services/teams.js +395 -0
- package/dist/services/tenant-subscription.d.ts +12 -0
- package/dist/services/tenant-subscription.js +52 -0
- package/dist/services/users.d.ts +499 -0
- package/dist/services/users.js +1283 -0
- package/docs/examples/account/create-anonymous-session.md +11 -0
- package/docs/examples/account/create-email-password-session.md +14 -0
- package/docs/examples/account/create-email-token.md +15 -0
- package/docs/examples/account/create-j-w-t.md +11 -0
- package/docs/examples/account/create-magic-u-r-l-token.md +16 -0
- package/docs/examples/account/create-mfa-authenticator.md +13 -0
- package/docs/examples/account/create-mfa-challenge.md +13 -0
- package/docs/examples/account/create-mfa-recovery-codes.md +11 -0
- package/docs/examples/account/create-o-auth2session.md +15 -0
- package/docs/examples/account/create-o-auth2token.md +15 -0
- package/docs/examples/account/create-phone-token.md +14 -0
- package/docs/examples/account/create-phone-verification.md +11 -0
- package/docs/examples/account/create-push-target.md +15 -0
- package/docs/examples/account/create-recovery.md +14 -0
- package/docs/examples/account/create-session.md +14 -0
- package/docs/examples/account/create-verification.md +13 -0
- package/docs/examples/account/create.md +16 -0
- package/docs/examples/account/delete-identity.md +13 -0
- package/docs/examples/account/delete-mfa-authenticator.md +13 -0
- package/docs/examples/account/delete-push-target.md +13 -0
- package/docs/examples/account/delete-session.md +13 -0
- package/docs/examples/account/delete-sessions.md +11 -0
- package/docs/examples/account/delete.md +11 -0
- package/docs/examples/account/get-mfa-recovery-codes.md +11 -0
- package/docs/examples/account/get-prefs.md +11 -0
- package/docs/examples/account/get-session.md +13 -0
- package/docs/examples/account/get.md +11 -0
- package/docs/examples/account/list-identities.md +13 -0
- package/docs/examples/account/list-logs.md +13 -0
- package/docs/examples/account/list-mfa-factors.md +11 -0
- package/docs/examples/account/list-sessions.md +11 -0
- package/docs/examples/account/update-email.md +14 -0
- package/docs/examples/account/update-m-f-a.md +13 -0
- package/docs/examples/account/update-magic-u-r-l-session.md +14 -0
- package/docs/examples/account/update-mfa-authenticator.md +14 -0
- package/docs/examples/account/update-mfa-challenge.md +14 -0
- package/docs/examples/account/update-mfa-recovery-codes.md +11 -0
- package/docs/examples/account/update-name.md +13 -0
- package/docs/examples/account/update-password.md +14 -0
- package/docs/examples/account/update-phone-session.md +14 -0
- package/docs/examples/account/update-phone-verification.md +14 -0
- package/docs/examples/account/update-phone.md +14 -0
- package/docs/examples/account/update-prefs.md +13 -0
- package/docs/examples/account/update-push-target.md +14 -0
- package/docs/examples/account/update-recovery.md +15 -0
- package/docs/examples/account/update-session.md +13 -0
- package/docs/examples/account/update-status.md +11 -0
- package/docs/examples/account/update-verification.md +14 -0
- package/docs/examples/assistant/chat.md +13 -0
- package/docs/examples/avatars/get-browser.md +16 -0
- package/docs/examples/avatars/get-credit-card.md +16 -0
- package/docs/examples/avatars/get-favicon.md +13 -0
- package/docs/examples/avatars/get-flag.md +16 -0
- package/docs/examples/avatars/get-image.md +15 -0
- package/docs/examples/avatars/get-initials.md +16 -0
- package/docs/examples/avatars/get-q-r.md +16 -0
- package/docs/examples/console/variables.md +11 -0
- package/docs/examples/databases/create-boolean-attribute.md +18 -0
- package/docs/examples/databases/create-collection.md +18 -0
- package/docs/examples/databases/create-datetime-attribute.md +18 -0
- package/docs/examples/databases/create-document.md +17 -0
- package/docs/examples/databases/create-email-attribute.md +18 -0
- package/docs/examples/databases/create-enum-attribute.md +19 -0
- package/docs/examples/databases/create-float-attribute.md +20 -0
- package/docs/examples/databases/create-index.md +18 -0
- package/docs/examples/databases/create-integer-attribute.md +20 -0
- package/docs/examples/databases/create-ip-attribute.md +18 -0
- package/docs/examples/databases/create-relationship-attribute.md +20 -0
- package/docs/examples/databases/create-string-attribute.md +20 -0
- package/docs/examples/databases/create-url-attribute.md +18 -0
- package/docs/examples/databases/create.md +15 -0
- package/docs/examples/databases/delete-attribute.md +15 -0
- package/docs/examples/databases/delete-collection.md +14 -0
- package/docs/examples/databases/delete-document.md +15 -0
- package/docs/examples/databases/delete-index.md +15 -0
- package/docs/examples/databases/delete.md +13 -0
- package/docs/examples/databases/get-attribute.md +15 -0
- package/docs/examples/databases/get-collection-usage.md +15 -0
- package/docs/examples/databases/get-collection.md +14 -0
- package/docs/examples/databases/get-database-usage.md +14 -0
- package/docs/examples/databases/get-document.md +16 -0
- package/docs/examples/databases/get-index.md +15 -0
- package/docs/examples/databases/get-usage.md +13 -0
- package/docs/examples/databases/get.md +13 -0
- package/docs/examples/databases/list-attributes.md +15 -0
- package/docs/examples/databases/list-collection-logs.md +15 -0
- package/docs/examples/databases/list-collections.md +15 -0
- package/docs/examples/databases/list-document-logs.md +16 -0
- package/docs/examples/databases/list-documents.md +15 -0
- package/docs/examples/databases/list-indexes.md +15 -0
- package/docs/examples/databases/list-logs.md +14 -0
- package/docs/examples/databases/list.md +14 -0
- package/docs/examples/databases/update-boolean-attribute.md +17 -0
- package/docs/examples/databases/update-collection.md +18 -0
- package/docs/examples/databases/update-datetime-attribute.md +17 -0
- package/docs/examples/databases/update-document.md +17 -0
- package/docs/examples/databases/update-email-attribute.md +17 -0
- package/docs/examples/databases/update-enum-attribute.md +18 -0
- package/docs/examples/databases/update-float-attribute.md +19 -0
- package/docs/examples/databases/update-integer-attribute.md +19 -0
- package/docs/examples/databases/update-ip-attribute.md +17 -0
- package/docs/examples/databases/update-relationship-attribute.md +16 -0
- package/docs/examples/databases/update-string-attribute.md +17 -0
- package/docs/examples/databases/update-url-attribute.md +17 -0
- package/docs/examples/databases/update.md +15 -0
- package/docs/examples/functions/create-build.md +15 -0
- package/docs/examples/functions/create-deployment.md +17 -0
- package/docs/examples/functions/create-execution.md +19 -0
- package/docs/examples/functions/create-variable.md +15 -0
- package/docs/examples/functions/create.md +34 -0
- package/docs/examples/functions/delete-deployment.md +14 -0
- package/docs/examples/functions/delete-execution.md +14 -0
- package/docs/examples/functions/delete-variable.md +14 -0
- package/docs/examples/functions/delete.md +13 -0
- package/docs/examples/functions/get-deployment-download.md +14 -0
- package/docs/examples/functions/get-deployment.md +14 -0
- package/docs/examples/functions/get-execution.md +14 -0
- package/docs/examples/functions/get-function-usage.md +14 -0
- package/docs/examples/functions/get-template.md +13 -0
- package/docs/examples/functions/get-usage.md +13 -0
- package/docs/examples/functions/get-variable.md +14 -0
- package/docs/examples/functions/get.md +13 -0
- package/docs/examples/functions/list-deployments.md +15 -0
- package/docs/examples/functions/list-executions.md +15 -0
- package/docs/examples/functions/list-runtimes.md +11 -0
- package/docs/examples/functions/list-specifications.md +11 -0
- package/docs/examples/functions/list-templates.md +16 -0
- package/docs/examples/functions/list-variables.md +13 -0
- package/docs/examples/functions/list.md +14 -0
- package/docs/examples/functions/update-deployment-build.md +14 -0
- package/docs/examples/functions/update-deployment.md +14 -0
- package/docs/examples/functions/update-variable.md +16 -0
- package/docs/examples/functions/update.md +30 -0
- package/docs/examples/graphql/mutation.md +13 -0
- package/docs/examples/graphql/query.md +13 -0
- package/docs/examples/health/get-antivirus.md +11 -0
- package/docs/examples/health/get-cache.md +11 -0
- package/docs/examples/health/get-certificate.md +13 -0
- package/docs/examples/health/get-d-b.md +11 -0
- package/docs/examples/health/get-failed-jobs.md +14 -0
- package/docs/examples/health/get-pub-sub.md +11 -0
- package/docs/examples/health/get-queue-builds.md +13 -0
- package/docs/examples/health/get-queue-certificates.md +13 -0
- package/docs/examples/health/get-queue-databases.md +14 -0
- package/docs/examples/health/get-queue-deletes.md +13 -0
- package/docs/examples/health/get-queue-functions.md +13 -0
- package/docs/examples/health/get-queue-logs.md +13 -0
- package/docs/examples/health/get-queue-mails.md +13 -0
- package/docs/examples/health/get-queue-messaging.md +13 -0
- package/docs/examples/health/get-queue-migrations.md +13 -0
- package/docs/examples/health/get-queue-usage-dump.md +13 -0
- package/docs/examples/health/get-queue-usage.md +13 -0
- package/docs/examples/health/get-queue-webhooks.md +13 -0
- package/docs/examples/health/get-queue.md +11 -0
- package/docs/examples/health/get-storage-local.md +11 -0
- package/docs/examples/health/get-storage.md +11 -0
- package/docs/examples/health/get-time.md +11 -0
- package/docs/examples/health/get.md +11 -0
- package/docs/examples/locale/get.md +11 -0
- package/docs/examples/locale/list-codes.md +11 -0
- package/docs/examples/locale/list-continents.md +11 -0
- package/docs/examples/locale/list-countries-e-u.md +11 -0
- package/docs/examples/locale/list-countries-phones.md +11 -0
- package/docs/examples/locale/list-countries.md +11 -0
- package/docs/examples/locale/list-currencies.md +11 -0
- package/docs/examples/locale/list-languages.md +11 -0
- package/docs/examples/messaging/create-apns-provider.md +20 -0
- package/docs/examples/messaging/create-email.md +24 -0
- package/docs/examples/messaging/create-fcm-provider.md +16 -0
- package/docs/examples/messaging/create-mailgun-provider.md +22 -0
- package/docs/examples/messaging/create-msg91provider.md +18 -0
- package/docs/examples/messaging/create-push.md +28 -0
- package/docs/examples/messaging/create-sendgrid-provider.md +20 -0
- package/docs/examples/messaging/create-sms.md +19 -0
- package/docs/examples/messaging/create-smtp-provider.md +26 -0
- package/docs/examples/messaging/create-subscriber.md +15 -0
- package/docs/examples/messaging/create-telesign-provider.md +18 -0
- package/docs/examples/messaging/create-textmagic-provider.md +18 -0
- package/docs/examples/messaging/create-topic.md +15 -0
- package/docs/examples/messaging/create-twilio-provider.md +18 -0
- package/docs/examples/messaging/create-vonage-provider.md +18 -0
- package/docs/examples/messaging/delete-provider.md +13 -0
- package/docs/examples/messaging/delete-subscriber.md +14 -0
- package/docs/examples/messaging/delete-topic.md +13 -0
- package/docs/examples/messaging/delete.md +13 -0
- package/docs/examples/messaging/get-message.md +13 -0
- package/docs/examples/messaging/get-provider.md +13 -0
- package/docs/examples/messaging/get-subscriber.md +14 -0
- package/docs/examples/messaging/get-topic.md +13 -0
- package/docs/examples/messaging/list-message-logs.md +14 -0
- package/docs/examples/messaging/list-messages.md +14 -0
- package/docs/examples/messaging/list-provider-logs.md +14 -0
- package/docs/examples/messaging/list-providers.md +14 -0
- package/docs/examples/messaging/list-subscriber-logs.md +14 -0
- package/docs/examples/messaging/list-subscribers.md +15 -0
- package/docs/examples/messaging/list-targets.md +14 -0
- package/docs/examples/messaging/list-topic-logs.md +14 -0
- package/docs/examples/messaging/list-topics.md +14 -0
- package/docs/examples/messaging/update-apns-provider.md +20 -0
- package/docs/examples/messaging/update-email.md +24 -0
- package/docs/examples/messaging/update-fcm-provider.md +16 -0
- package/docs/examples/messaging/update-mailgun-provider.md +22 -0
- package/docs/examples/messaging/update-msg91provider.md +18 -0
- package/docs/examples/messaging/update-push.md +28 -0
- package/docs/examples/messaging/update-sendgrid-provider.md +20 -0
- package/docs/examples/messaging/update-sms.md +19 -0
- package/docs/examples/messaging/update-smtp-provider.md +26 -0
- package/docs/examples/messaging/update-telesign-provider.md +18 -0
- package/docs/examples/messaging/update-textmagic-provider.md +18 -0
- package/docs/examples/messaging/update-topic.md +15 -0
- package/docs/examples/messaging/update-twilio-provider.md +18 -0
- package/docs/examples/messaging/update-vonage-provider.md +18 -0
- package/docs/examples/migrations/create-appwrite-migration.md +16 -0
- package/docs/examples/migrations/create-firebase-migration.md +14 -0
- package/docs/examples/migrations/create-firebase-o-auth-migration.md +14 -0
- package/docs/examples/migrations/create-n-host-migration.md +20 -0
- package/docs/examples/migrations/create-supabase-migration.md +19 -0
- package/docs/examples/migrations/delete-firebase-auth.md +11 -0
- package/docs/examples/migrations/delete.md +13 -0
- package/docs/examples/migrations/get-appwrite-report.md +16 -0
- package/docs/examples/migrations/get-firebase-report-o-auth.md +14 -0
- package/docs/examples/migrations/get-firebase-report.md +14 -0
- package/docs/examples/migrations/get-n-host-report.md +20 -0
- package/docs/examples/migrations/get-supabase-report.md +19 -0
- package/docs/examples/migrations/get.md +13 -0
- package/docs/examples/migrations/list-firebase-projects.md +11 -0
- package/docs/examples/migrations/list.md +14 -0
- package/docs/examples/migrations/retry.md +13 -0
- package/docs/examples/project/create-variable.md +14 -0
- package/docs/examples/project/delete-variable.md +13 -0
- package/docs/examples/project/get-usage.md +15 -0
- package/docs/examples/project/get-variable.md +13 -0
- package/docs/examples/project/list-variables.md +11 -0
- package/docs/examples/project/update-variable.md +15 -0
- package/docs/examples/projects/create-j-w-t.md +15 -0
- package/docs/examples/projects/create-key.md +16 -0
- package/docs/examples/projects/create-platform.md +18 -0
- package/docs/examples/projects/create-smtp-test.md +22 -0
- package/docs/examples/projects/create-webhook.md +20 -0
- package/docs/examples/projects/create.md +25 -0
- package/docs/examples/projects/delete-email-template.md +15 -0
- package/docs/examples/projects/delete-key.md +14 -0
- package/docs/examples/projects/delete-platform.md +14 -0
- package/docs/examples/projects/delete-sms-template.md +15 -0
- package/docs/examples/projects/delete-webhook.md +14 -0
- package/docs/examples/projects/delete.md +13 -0
- package/docs/examples/projects/get-email-template.md +15 -0
- package/docs/examples/projects/get-key.md +14 -0
- package/docs/examples/projects/get-platform.md +14 -0
- package/docs/examples/projects/get-sms-template.md +15 -0
- package/docs/examples/projects/get-webhook.md +14 -0
- package/docs/examples/projects/get.md +13 -0
- package/docs/examples/projects/list-keys.md +13 -0
- package/docs/examples/projects/list-platforms.md +13 -0
- package/docs/examples/projects/list-webhooks.md +13 -0
- package/docs/examples/projects/list.md +14 -0
- package/docs/examples/projects/update-api-status-all.md +14 -0
- package/docs/examples/projects/update-api-status.md +15 -0
- package/docs/examples/projects/update-auth-duration.md +14 -0
- package/docs/examples/projects/update-auth-limit.md +14 -0
- package/docs/examples/projects/update-auth-password-dictionary.md +14 -0
- package/docs/examples/projects/update-auth-password-history.md +14 -0
- package/docs/examples/projects/update-auth-sessions-limit.md +14 -0
- package/docs/examples/projects/update-auth-status.md +15 -0
- package/docs/examples/projects/update-email-template.md +20 -0
- package/docs/examples/projects/update-key.md +17 -0
- package/docs/examples/projects/update-mock-numbers.md +14 -0
- package/docs/examples/projects/update-o-auth2.md +17 -0
- package/docs/examples/projects/update-personal-data-check.md +14 -0
- package/docs/examples/projects/update-platform.md +18 -0
- package/docs/examples/projects/update-service-status-all.md +14 -0
- package/docs/examples/projects/update-service-status.md +15 -0
- package/docs/examples/projects/update-session-alerts.md +14 -0
- package/docs/examples/projects/update-sms-template.md +16 -0
- package/docs/examples/projects/update-smtp.md +22 -0
- package/docs/examples/projects/update-team.md +14 -0
- package/docs/examples/projects/update-webhook-signature.md +14 -0
- package/docs/examples/projects/update-webhook.md +21 -0
- package/docs/examples/projects/update.md +23 -0
- package/docs/examples/proxy/create-rule.md +15 -0
- package/docs/examples/proxy/delete-rule.md +13 -0
- package/docs/examples/proxy/get-rule.md +13 -0
- package/docs/examples/proxy/list-rules.md +14 -0
- package/docs/examples/proxy/update-rule-verification.md +13 -0
- package/docs/examples/storage/create-bucket.md +22 -0
- package/docs/examples/storage/create-file.md +16 -0
- package/docs/examples/storage/delete-bucket.md +13 -0
- package/docs/examples/storage/delete-file.md +14 -0
- package/docs/examples/storage/get-bucket-usage.md +14 -0
- package/docs/examples/storage/get-bucket.md +13 -0
- package/docs/examples/storage/get-file-download.md +14 -0
- package/docs/examples/storage/get-file-preview.md +25 -0
- package/docs/examples/storage/get-file-view.md +14 -0
- package/docs/examples/storage/get-file.md +14 -0
- package/docs/examples/storage/get-usage.md +13 -0
- package/docs/examples/storage/list-buckets.md +14 -0
- package/docs/examples/storage/list-files.md +15 -0
- package/docs/examples/storage/update-bucket.md +22 -0
- package/docs/examples/storage/update-file.md +16 -0
- package/docs/examples/teams/create-membership.md +19 -0
- package/docs/examples/teams/create.md +15 -0
- package/docs/examples/teams/delete-membership.md +14 -0
- package/docs/examples/teams/delete.md +13 -0
- package/docs/examples/teams/get-membership.md +14 -0
- package/docs/examples/teams/get-prefs.md +13 -0
- package/docs/examples/teams/get.md +13 -0
- package/docs/examples/teams/list-logs.md +14 -0
- package/docs/examples/teams/list-memberships.md +15 -0
- package/docs/examples/teams/list.md +14 -0
- package/docs/examples/teams/update-membership-status.md +16 -0
- package/docs/examples/teams/update-membership.md +15 -0
- package/docs/examples/teams/update-name.md +14 -0
- package/docs/examples/teams/update-prefs.md +14 -0
- package/docs/examples/users/create-argon2user.md +16 -0
- package/docs/examples/users/create-bcrypt-user.md +16 -0
- package/docs/examples/users/create-j-w-t.md +15 -0
- package/docs/examples/users/create-m-d5user.md +16 -0
- package/docs/examples/users/create-mfa-recovery-codes.md +13 -0
- package/docs/examples/users/create-p-h-pass-user.md +16 -0
- package/docs/examples/users/create-s-h-a-user.md +17 -0
- package/docs/examples/users/create-scrypt-modified-user.md +19 -0
- package/docs/examples/users/create-scrypt-user.md +21 -0
- package/docs/examples/users/create-session.md +13 -0
- package/docs/examples/users/create-target.md +18 -0
- package/docs/examples/users/create-token.md +15 -0
- package/docs/examples/users/create.md +17 -0
- package/docs/examples/users/delete-identity.md +13 -0
- package/docs/examples/users/delete-mfa-authenticator.md +14 -0
- package/docs/examples/users/delete-session.md +14 -0
- package/docs/examples/users/delete-sessions.md +13 -0
- package/docs/examples/users/delete-target.md +14 -0
- package/docs/examples/users/delete.md +13 -0
- package/docs/examples/users/get-mfa-recovery-codes.md +13 -0
- package/docs/examples/users/get-prefs.md +13 -0
- package/docs/examples/users/get-target.md +14 -0
- package/docs/examples/users/get-usage.md +13 -0
- package/docs/examples/users/get.md +13 -0
- package/docs/examples/users/list-identities.md +14 -0
- package/docs/examples/users/list-logs.md +14 -0
- package/docs/examples/users/list-memberships.md +13 -0
- package/docs/examples/users/list-mfa-factors.md +13 -0
- package/docs/examples/users/list-sessions.md +13 -0
- package/docs/examples/users/list-targets.md +14 -0
- package/docs/examples/users/list.md +14 -0
- package/docs/examples/users/update-email-verification.md +14 -0
- package/docs/examples/users/update-email.md +14 -0
- package/docs/examples/users/update-labels.md +14 -0
- package/docs/examples/users/update-mfa-recovery-codes.md +13 -0
- package/docs/examples/users/update-mfa.md +14 -0
- package/docs/examples/users/update-name.md +14 -0
- package/docs/examples/users/update-password.md +14 -0
- package/docs/examples/users/update-phone-verification.md +14 -0
- package/docs/examples/users/update-phone.md +14 -0
- package/docs/examples/users/update-prefs.md +14 -0
- package/docs/examples/users/update-status.md +14 -0
- package/docs/examples/users/update-target.md +17 -0
- package/docs/examples/vcs/create-repository-detection.md +15 -0
- package/docs/examples/vcs/create-repository.md +15 -0
- package/docs/examples/vcs/delete-installation.md +13 -0
- package/docs/examples/vcs/get-installation.md +13 -0
- package/docs/examples/vcs/get-repository-contents.md +15 -0
- package/docs/examples/vcs/get-repository.md +14 -0
- package/docs/examples/vcs/list-installations.md +14 -0
- package/docs/examples/vcs/list-repositories.md +14 -0
- package/docs/examples/vcs/list-repository-branches.md +14 -0
- package/docs/examples/vcs/update-external-deployments.md +15 -0
- package/package.json +38 -141
- package/publish.sh +4 -0
- package/src/client.ts +397 -0
- package/src/enums/api-service.ts +13 -0
- package/src/enums/api.ts +5 -0
- package/src/enums/auth-method.ts +9 -0
- package/src/enums/browser.ts +16 -0
- package/src/enums/compression.ts +5 -0
- package/src/enums/credit-card.ts +18 -0
- package/src/enums/database-usage-range.ts +5 -0
- package/src/enums/email-template-locale.ts +133 -0
- package/src/enums/email-template-type.ts +9 -0
- package/src/enums/entities/EntityLimitType.ts +4 -0
- package/src/enums/entities/PropertyAttributeName.ts +27 -0
- package/src/enums/entities/PropertyCondition.ts +8 -0
- package/src/enums/entities/PropertyType.ts +16 -0
- package/src/enums/entities/PropertyValueType.ts +6 -0
- package/src/enums/entities/RowAccess.ts +2 -0
- package/src/enums/entities/ViewFilterCondition.ts +12 -0
- package/src/enums/execution-method.ts +8 -0
- package/src/enums/flag.ts +197 -0
- package/src/enums/function-usage-range.ts +5 -0
- package/src/enums/image-format.ts +7 -0
- package/src/enums/image-gravity.ts +11 -0
- package/src/enums/index-type.ts +5 -0
- package/src/enums/messaging-provider-type.ts +5 -0
- package/src/enums/name.ts +14 -0
- package/src/enums/o-auth-provider copy.ts +41 -0
- package/src/enums/password-hash.ts +13 -0
- package/src/enums/platform-type.ts +17 -0
- package/src/enums/project-usage-range.ts +4 -0
- package/src/enums/region.ts +4 -0
- package/src/enums/relation-mutate.ts +5 -0
- package/src/enums/relationship-type.ts +6 -0
- package/src/enums/resource-type.ts +4 -0
- package/src/enums/runtime.ts +48 -0
- package/src/enums/s-m-t-p-secure.ts +3 -0
- package/src/enums/shared/ApplicationLayout.ts +4 -0
- package/src/enums/shared/Colors.ts +24 -0
- package/src/enums/shared/InputType.ts +6 -0
- package/src/enums/shared/Periodicity.ts +7 -0
- package/src/enums/shared/SvgIcon.ts +37 -0
- package/src/enums/shared/Theme.ts +4 -0
- package/src/enums/sms-template-locale.ts +133 -0
- package/src/enums/sms-template-type.ts +6 -0
- package/src/enums/smtp-encryption.ts +5 -0
- package/src/enums/storage-usage-range.ts +5 -0
- package/src/enums/subscriptions/PricingModel.ts +14 -0
- package/src/enums/subscriptions/SubscriptionBillingPeriod.ts +15 -0
- package/src/enums/subscriptions/SubscriptionFeatureLimitType.ts +16 -0
- package/src/enums/subscriptions/SubscriptionPriceType.ts +10 -0
- package/src/enums/tenants/LinkedAccountStatus.ts +5 -0
- package/src/enums/tenants/TenantUserJoined.ts +6 -0
- package/src/enums/tenants/TenantUserStatus.ts +6 -0
- package/src/enums/tenants/TenantUserType.ts +5 -0
- package/src/enums/user-usage-range.ts +5 -0
- package/src/getAppcondaClient.ts +75 -0
- package/src/getSDKForService.ts +71 -0
- package/src/id.ts +47 -0
- package/src/index.ts +3 -0
- package/src/inputFile.ts +23 -0
- package/src/lib/errors.ts +141 -0
- package/src/lib/index.ts +0 -0
- package/src/lib/types.ts +7 -0
- package/src/models.ts +3339 -0
- package/src/modules/account/enums/authentication-factor.ts +6 -0
- package/src/modules/account/enums/authenticator-type.ts +3 -0
- package/src/modules/account/enums/o-auth-provider.ts +41 -0
- package/src/modules/account/index.ts +3 -0
- package/src/modules/account/schema.ts +8 -0
- package/src/modules/account/service.ts +1648 -0
- package/src/modules/account/types.ts +426 -0
- package/src/modules/accounv1/index.ts +4 -0
- package/src/modules/accounv1/schema.ts +50 -0
- package/src/modules/accounv1/service.ts +43 -0
- package/src/modules/accounv1/types.ts +16 -0
- package/src/modules/acl/service.ts +55 -0
- package/src/modules/agent/action.ts +66 -0
- package/src/modules/agent/index.ts +4 -0
- package/src/modules/agent/schema.ts +25 -0
- package/src/modules/agent/service.ts +34 -0
- package/src/modules/agent/types.ts +15 -0
- package/src/modules/ai/index.ts +1 -0
- package/src/modules/ai/node/actions.ts +14 -0
- package/src/modules/ai/node/index.ts +2 -0
- package/src/modules/ai/node/service.ts +18 -0
- package/src/modules/bpm/index.ts +3 -0
- package/src/modules/bpm/schema.ts +23 -0
- package/src/modules/bpm/service.ts +28 -0
- package/src/modules/bpm/types.ts +11 -0
- package/src/modules/builder/action.ts +234 -0
- package/src/modules/builder/index.ts +4 -0
- package/src/modules/builder/schema.ts +95 -0
- package/src/modules/builder/service.ts +74 -0
- package/src/modules/builder/types.ts +68 -0
- package/src/modules/datasource/action.ts +189 -0
- package/src/modules/datasource/index.ts +4 -0
- package/src/modules/datasource/schema.ts +69 -0
- package/src/modules/datasource/service.ts +58 -0
- package/src/modules/datasource/types.ts +31 -0
- package/src/modules/emploid/action.ts +1063 -0
- package/src/modules/emploid/index.ts +4 -0
- package/src/modules/emploid/schema.ts +405 -0
- package/src/modules/emploid/service.ts +295 -0
- package/src/modules/emploid/types.ts +132 -0
- package/src/modules/google/action.ts +54 -0
- package/src/modules/google/index.ts +4 -0
- package/src/modules/google/schema.ts +19 -0
- package/src/modules/google/service.ts +23 -0
- package/src/modules/google/types.ts +15 -0
- package/src/modules/hooks/index.ts +5 -0
- package/src/modules/hooks/lib/Hooks.ts +103 -0
- package/src/modules/hooks/lib/handler.ts +27 -0
- package/src/modules/hooks/lib/jobs/index.ts +2 -0
- package/src/modules/hooks/lib/jobs/job1.ts +20 -0
- package/src/modules/hooks/lib/jobs/log-job.ts +10 -0
- package/src/modules/hooks/lib/wait.ts +17 -0
- package/src/modules/index.ts +17 -0
- package/src/modules/mail/action.ts +22 -0
- package/src/modules/mail/index.ts +4 -0
- package/src/modules/mail/schema.ts +9 -0
- package/src/modules/mail/service.ts +15 -0
- package/src/modules/mail/types.ts +11 -0
- package/src/modules/notion/action.ts +53 -0
- package/src/modules/notion/index.ts +4 -0
- package/src/modules/notion/schema.ts +21 -0
- package/src/modules/notion/service.ts +26 -0
- package/src/modules/notion/types.ts +14 -0
- package/src/modules/organization/action.ts +71 -0
- package/src/modules/organization/index.ts +4 -0
- package/src/modules/organization/schema.ts +23 -0
- package/src/modules/organization/service.ts +32 -0
- package/src/modules/organization/types.ts +15 -0
- package/src/modules/scheduled-job/action.ts +212 -0
- package/src/modules/scheduled-job/index.ts +8 -0
- package/src/modules/scheduled-job/lib/Schedules.ts +105 -0
- package/src/modules/scheduled-job/lib/handler.ts +27 -0
- package/src/modules/scheduled-job/lib/jobs/index.ts +2 -0
- package/src/modules/scheduled-job/lib/jobs/job1.ts +12 -0
- package/src/modules/scheduled-job/lib/wait.ts +17 -0
- package/src/modules/scheduled-job/schema.ts +62 -0
- package/src/modules/scheduled-job/service.ts +63 -0
- package/src/modules/scheduled-job/types.ts +79 -0
- package/src/modules/task/action.ts +819 -0
- package/src/modules/task/index.ts +4 -0
- package/src/modules/task/schema.ts +455 -0
- package/src/modules/task/service.ts +268 -0
- package/src/modules/task/types.ts +325 -0
- package/src/modules/tenant/actions.ts +173 -0
- package/src/modules/tenant/index.ts +3 -0
- package/src/modules/tenant/schema.ts +32 -0
- package/src/modules/tenant/service.ts +43 -0
- package/src/modules/tenant/tenant.ts +193 -0
- package/src/modules/tenant/types.ts +22 -0
- package/src/modules/waitlist/action.ts +93 -0
- package/src/modules/waitlist/index.ts +4 -0
- package/src/modules/waitlist/schema.ts +24 -0
- package/src/modules/waitlist/service.ts +41 -0
- package/src/modules/waitlist/types.ts +18 -0
- package/src/permission.ts +57 -0
- package/src/query.ts +261 -0
- package/src/role.ts +100 -0
- package/src/service-client.ts +40 -0
- package/src/service.ts +30 -0
- package/src/services/applets.ts +75 -0
- package/src/services/avatars.ts +314 -0
- package/src/services/chat-flow.ts +32 -0
- package/src/services/community.ts +102 -0
- package/src/services/configuration.ts +15 -0
- package/src/services/databases.ts +2037 -0
- package/src/services/functions.ts +986 -0
- package/src/services/graphql.ts +75 -0
- package/src/services/health.ts +629 -0
- package/src/services/locale.ts +205 -0
- package/src/services/messaging.ts +2247 -0
- package/src/services/permissions.ts +131 -0
- package/src/services/pricing.ts +30 -0
- package/src/services/projects.ts +1901 -0
- package/src/services/roles.ts +101 -0
- package/src/services/schema.ts +65 -0
- package/src/services/storage.ts +576 -0
- package/src/services/subscription.ts +39 -0
- package/src/services/teams.ts +490 -0
- package/src/services/tenant-subscription.ts +93 -0
- package/src/services/users.ts +1584 -0
- package/tsconfig.json +32 -0
- package/index.d.ts +0 -3367
- package/index.js +0 -407
|
@@ -0,0 +1,819 @@
|
|
|
1
|
+
'use server';
|
|
2
|
+
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { AppcondaException } from '../../client';
|
|
5
|
+
import { getSDKForCurrentUser } from '../../getSDKForCurrentUser';
|
|
6
|
+
import { ChangePostCategorySchema, ChangePostStatusSchema, ChangeTaskStatusSchema, CreateBoardSchema, CreateChangelogSchema, CreateCommentSchema, CreateLabelSchema, CreateListSchema, CreatePostCategorySchema, CreatePostSchema, CreateProjectSchema, CreateRoadmapSchema, CreateSprintSchema, CreateStatusChangeSchema, CreateTagSchema, CreateTaskListSchema, CreateTaskSchema, CreateViewSchema, CreateVoteSchema, DeleteBoardSchema, DeleteCommentSchema, DeleteLabelSchema, DeletePostCategorySchema, DeleteSprintSchema, DeleteTaskListSchema, DeleteVoteSchema, GetBoardSchema, GetChangeLogSchema, GetCommentSchema, GetPostCategorySchema, GetPostSchema, GetProjectSchema, GetRoadmapSchema, GetSprintSchema, GetTagSchema, GetTaskListSchema, GetTaskSchema, GetVoteSchema, ListBoardsSchema, ListChangeLogsSchema, ListCommentsSchema, ListLabelsSchema, ListPostCategoriesSchema, ListPostsSchema, ListProjectsSchema, ListTagsSchema, ListTaskListsSchema, ListTasksInListSchema, ListTasksSchema, ListViewsSchema, ListVotesSchema, MoveTaskSchema, MoveViewSchema, UpdateLabelSchema, UpdateListSchema, UpdateProjectSchema, UpdateSprintSchema, UpdateTaskListSchema, UpdateViewSchema } from './schema';
|
|
7
|
+
|
|
8
|
+
export const CreateProject = async (parsedInput: z.infer<typeof CreateProjectSchema>) => {
|
|
9
|
+
try {
|
|
10
|
+
const { task } = await getSDKForCurrentUser();
|
|
11
|
+
//@ts-ignore
|
|
12
|
+
const project = await task.CreateProject(parsedInput);
|
|
13
|
+
const view = await CreateView({
|
|
14
|
+
id: `${project.id}-default`,
|
|
15
|
+
title: 'Backlog',
|
|
16
|
+
projectId: project.id
|
|
17
|
+
});
|
|
18
|
+
return project;
|
|
19
|
+
} catch (error) {
|
|
20
|
+
if (error instanceof AppcondaException) {
|
|
21
|
+
throw new Error(error.message);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
throw error;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const UpdateProject = async (parsedInput: z.infer<typeof UpdateProjectSchema>) => {
|
|
29
|
+
try {
|
|
30
|
+
const { task } = await getSDKForCurrentUser();
|
|
31
|
+
return await task.UpdateProject(parsedInput);
|
|
32
|
+
} catch (error) {
|
|
33
|
+
if (error instanceof AppcondaException) {
|
|
34
|
+
throw new Error(error.message);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
throw error;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export const GetProject = async (parsedInput: z.infer<typeof GetProjectSchema>) => {
|
|
42
|
+
try {
|
|
43
|
+
const { task } = await getSDKForCurrentUser();
|
|
44
|
+
return await task.GetProject(parsedInput);
|
|
45
|
+
} catch (error) {
|
|
46
|
+
if (error instanceof AppcondaException) {
|
|
47
|
+
throw new Error(error.message);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
throw error;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export const ListProjects = async (parsedInput: z.infer<typeof ListProjectsSchema>) => {
|
|
55
|
+
try {
|
|
56
|
+
const { task } = await getSDKForCurrentUser();
|
|
57
|
+
//@ts-ignore
|
|
58
|
+
return await task.ListProjects(parsedInput);
|
|
59
|
+
|
|
60
|
+
} catch (error) {
|
|
61
|
+
if (error instanceof AppcondaException) {
|
|
62
|
+
throw new Error(error.message);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
throw error;
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export const GetTask = async (parsedInput: z.infer<typeof GetTaskSchema>) => {
|
|
70
|
+
try {
|
|
71
|
+
const { task } = await getSDKForCurrentUser();
|
|
72
|
+
return await task.GetTask(parsedInput);
|
|
73
|
+
} catch (error) {
|
|
74
|
+
if (error instanceof AppcondaException) {
|
|
75
|
+
throw new Error(error.message);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
throw error;
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export const ChangeTaskStatus = async (parsedInput: z.infer<typeof ChangeTaskStatusSchema>) => {
|
|
83
|
+
try {
|
|
84
|
+
const { task } = await getSDKForCurrentUser();
|
|
85
|
+
return await task.ChangeTaskStatus(parsedInput);
|
|
86
|
+
} catch (error) {
|
|
87
|
+
if (error instanceof AppcondaException) {
|
|
88
|
+
throw new Error(error.message);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
throw error;
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export const CreateTaskList = async (parsedInput: z.infer<typeof CreateTaskListSchema>) => {
|
|
96
|
+
try {
|
|
97
|
+
|
|
98
|
+
const { task } = await getSDKForCurrentUser();
|
|
99
|
+
return await task.CreateTaskList(parsedInput);
|
|
100
|
+
|
|
101
|
+
} catch (error) {
|
|
102
|
+
if (error instanceof AppcondaException) {
|
|
103
|
+
throw new Error(error.message);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
throw error;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export const GetTaskList = async (parsedInput: z.infer<typeof GetTaskListSchema>) => {
|
|
111
|
+
try {
|
|
112
|
+
const { task } = await getSDKForCurrentUser();
|
|
113
|
+
return await task.GetTaskList(parsedInput);
|
|
114
|
+
} catch (error) {
|
|
115
|
+
if (error instanceof AppcondaException) {
|
|
116
|
+
throw new Error(error.message);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
throw error;
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
export const ListTaskLists = async (parsedInput: z.infer<typeof ListTaskListsSchema>) => {
|
|
126
|
+
try {
|
|
127
|
+
|
|
128
|
+
const { task } = await getSDKForCurrentUser();
|
|
129
|
+
return await task.ListTaskLists(parsedInput);
|
|
130
|
+
|
|
131
|
+
} catch (error) {
|
|
132
|
+
if (error instanceof AppcondaException) {
|
|
133
|
+
throw new Error(error.message);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
throw error;
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
export const UpdateTaskList = async (parsedInput: z.infer<typeof UpdateTaskListSchema>) => {
|
|
141
|
+
try {
|
|
142
|
+
|
|
143
|
+
const { task } = await getSDKForCurrentUser();
|
|
144
|
+
return await task.UpdateTaskList(parsedInput);
|
|
145
|
+
|
|
146
|
+
} catch (error) {
|
|
147
|
+
if (error instanceof AppcondaException) {
|
|
148
|
+
throw new Error(error.message);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
throw error;
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
export const DeleteTaskList = async (parsedInput: z.infer<typeof DeleteTaskListSchema>) => {
|
|
156
|
+
try {
|
|
157
|
+
|
|
158
|
+
const { task } = await getSDKForCurrentUser();
|
|
159
|
+
return await task.DeleteTaskList(parsedInput);
|
|
160
|
+
|
|
161
|
+
} catch (error) {
|
|
162
|
+
if (error instanceof AppcondaException) {
|
|
163
|
+
throw new Error(error.message);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
throw error;
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
export const CreateSprint = async (parsedInput: z.infer<typeof CreateSprintSchema>) => {
|
|
171
|
+
try {
|
|
172
|
+
|
|
173
|
+
const { task } = await getSDKForCurrentUser();
|
|
174
|
+
return await task.CreateSprint(parsedInput);
|
|
175
|
+
|
|
176
|
+
} catch (error) {
|
|
177
|
+
if (error instanceof AppcondaException) {
|
|
178
|
+
throw new Error(error.message);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
throw error;
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export const GetSprint = async (parsedInput: z.infer<typeof GetSprintSchema>) => {
|
|
186
|
+
try {
|
|
187
|
+
|
|
188
|
+
const { task } = await getSDKForCurrentUser();
|
|
189
|
+
return await task.GetSprint(parsedInput);
|
|
190
|
+
|
|
191
|
+
} catch (error) {
|
|
192
|
+
if (error instanceof AppcondaException) {
|
|
193
|
+
throw new Error(error.message);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
throw error;
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
//@ts-ignore
|
|
201
|
+
export const ListSprints = async (parsedInput: z.infer<typeof ListSprintsSchema>) => {
|
|
202
|
+
try {
|
|
203
|
+
|
|
204
|
+
const { task } = await getSDKForCurrentUser();
|
|
205
|
+
return await task.ListSprints(parsedInput);
|
|
206
|
+
|
|
207
|
+
} catch (error) {
|
|
208
|
+
if (error instanceof AppcondaException) {
|
|
209
|
+
throw new Error(error.message);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
throw error;
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
export const UpdateSprint = async (parsedInput: z.infer<typeof UpdateSprintSchema>) => {
|
|
217
|
+
try {
|
|
218
|
+
|
|
219
|
+
const { task } = await getSDKForCurrentUser();
|
|
220
|
+
return await task.UpdateSprint(parsedInput);
|
|
221
|
+
|
|
222
|
+
} catch (error) {
|
|
223
|
+
if (error instanceof AppcondaException) {
|
|
224
|
+
throw new Error(error.message);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
throw error;
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
export const DeleteSprint = async (parsedInput: z.infer<typeof DeleteSprintSchema>) => {
|
|
232
|
+
try {
|
|
233
|
+
|
|
234
|
+
const { task } = await getSDKForCurrentUser();
|
|
235
|
+
return await task.DeleteSprint(parsedInput);
|
|
236
|
+
|
|
237
|
+
} catch (error) {
|
|
238
|
+
if (error instanceof AppcondaException) {
|
|
239
|
+
throw new Error(error.message);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
throw error;
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
export const CreateList = async (parsedInput: z.infer<typeof CreateListSchema>) => {
|
|
247
|
+
try {
|
|
248
|
+
|
|
249
|
+
const { task } = await getSDKForCurrentUser();
|
|
250
|
+
return await task.CreateList(parsedInput);
|
|
251
|
+
|
|
252
|
+
} catch (error) {
|
|
253
|
+
if (error instanceof AppcondaException) {
|
|
254
|
+
throw new Error(error.message);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
throw error;
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
export const UpdateList = async (parsedInput: z.infer<typeof UpdateListSchema>) => {
|
|
262
|
+
try {
|
|
263
|
+
|
|
264
|
+
const { task } = await getSDKForCurrentUser();
|
|
265
|
+
return await task.UpdateList(parsedInput);
|
|
266
|
+
|
|
267
|
+
} catch (error) {
|
|
268
|
+
if (error instanceof AppcondaException) {
|
|
269
|
+
throw new Error(error.message);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
throw error;
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
export const ListTasksInList = async (parsedInput: z.infer<typeof ListTasksInListSchema>) => {
|
|
278
|
+
try {
|
|
279
|
+
|
|
280
|
+
const { task } = await getSDKForCurrentUser();
|
|
281
|
+
return await task.ListTasksInList(parsedInput);
|
|
282
|
+
|
|
283
|
+
} catch (error) {
|
|
284
|
+
if (error instanceof AppcondaException) {
|
|
285
|
+
throw new Error(error.message);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
throw error;
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
export const CreateTask = async (parsedInput: z.infer<typeof CreateTaskSchema>) => {
|
|
293
|
+
try {
|
|
294
|
+
|
|
295
|
+
const { task } = await getSDKForCurrentUser();
|
|
296
|
+
return await task.CreateTask(parsedInput);
|
|
297
|
+
|
|
298
|
+
} catch (error) {
|
|
299
|
+
if (error instanceof AppcondaException) {
|
|
300
|
+
throw new Error(error.message);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
throw error;
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
export const MoveTask = async (parsedInput: z.infer<typeof MoveTaskSchema>) => {
|
|
308
|
+
try {
|
|
309
|
+
|
|
310
|
+
const { task } = await getSDKForCurrentUser();
|
|
311
|
+
return await task.MoveTask(parsedInput);
|
|
312
|
+
|
|
313
|
+
} catch (error) {
|
|
314
|
+
if (error instanceof AppcondaException) {
|
|
315
|
+
throw new Error(`Error in MoveTask : ${error.toString()}`);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
throw error;
|
|
319
|
+
}
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
export const CreateView = async (parsedInput: z.infer<typeof CreateViewSchema>) => {
|
|
323
|
+
try {
|
|
324
|
+
|
|
325
|
+
const { task } = await getSDKForCurrentUser();
|
|
326
|
+
return await task.CreateView(parsedInput);
|
|
327
|
+
|
|
328
|
+
} catch (error) {
|
|
329
|
+
if (error instanceof AppcondaException) {
|
|
330
|
+
throw new Error(error.message);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
throw error;
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
export const UpdateView = async (parsedInput: z.infer<typeof UpdateViewSchema>) => {
|
|
338
|
+
try {
|
|
339
|
+
const { task } = await getSDKForCurrentUser();
|
|
340
|
+
return await task.UpdateView(parsedInput);
|
|
341
|
+
} catch (error) {
|
|
342
|
+
if (error instanceof AppcondaException) {
|
|
343
|
+
throw new Error(error.message);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
throw error;
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
export const ListViews = async (parsedInput: z.infer<typeof ListViewsSchema>) => {
|
|
351
|
+
try {
|
|
352
|
+
const { task } = await getSDKForCurrentUser();
|
|
353
|
+
return await task.ListViews(parsedInput);
|
|
354
|
+
} catch (error) {
|
|
355
|
+
if (error instanceof AppcondaException) {
|
|
356
|
+
throw new Error(error.message);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
throw error;
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
export const ListTasks = async (parsedInput: z.infer<typeof ListTasksSchema>) => {
|
|
364
|
+
try {
|
|
365
|
+
const { task } = await getSDKForCurrentUser();
|
|
366
|
+
return await task.ListTasks(parsedInput);
|
|
367
|
+
} catch (error) {
|
|
368
|
+
if (error instanceof AppcondaException) {
|
|
369
|
+
throw new Error(error.message);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
throw error;
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
// Feedback modülü action fonksiyonları
|
|
377
|
+
export const ChangePostCategory = async (parsedInput: z.infer<typeof ChangePostCategorySchema>) => {
|
|
378
|
+
try {
|
|
379
|
+
const { task } = await getSDKForCurrentUser();
|
|
380
|
+
return await task.ChangePostCategory(parsedInput);
|
|
381
|
+
} catch (error) {
|
|
382
|
+
if (error instanceof AppcondaException) {
|
|
383
|
+
throw new Error(error.message);
|
|
384
|
+
}
|
|
385
|
+
throw error;
|
|
386
|
+
}
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
export const ChangePostStatus = async (parsedInput: z.infer<typeof ChangePostStatusSchema>) => {
|
|
390
|
+
try {
|
|
391
|
+
const { task } = await getSDKForCurrentUser();
|
|
392
|
+
return await task.ChangePostStatus(parsedInput);
|
|
393
|
+
} catch (error) {
|
|
394
|
+
if (error instanceof AppcondaException) {
|
|
395
|
+
throw new Error(error.message);
|
|
396
|
+
}
|
|
397
|
+
throw error;
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
export const CreateBoard = async (parsedInput: z.infer<typeof CreateBoardSchema>) => {
|
|
402
|
+
try {
|
|
403
|
+
const { task } = await getSDKForCurrentUser();
|
|
404
|
+
return await task.CreateBoard(parsedInput);
|
|
405
|
+
} catch (error) {
|
|
406
|
+
if (error instanceof AppcondaException) {
|
|
407
|
+
throw new Error(error.message);
|
|
408
|
+
}
|
|
409
|
+
throw error;
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
export const GetBoard = async (parsedInput: z.infer<typeof GetBoardSchema>) => {
|
|
414
|
+
try {
|
|
415
|
+
const { task } = await getSDKForCurrentUser();
|
|
416
|
+
return await task.GetBoard(parsedInput);
|
|
417
|
+
} catch (error) {
|
|
418
|
+
if (error instanceof AppcondaException) {
|
|
419
|
+
throw new Error(error.message);
|
|
420
|
+
}
|
|
421
|
+
throw error;
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
export const ListBoards = async (parsedInput: z.infer<typeof ListBoardsSchema>) => {
|
|
426
|
+
try {
|
|
427
|
+
const { task } = await getSDKForCurrentUser();
|
|
428
|
+
return await task.ListBoards(parsedInput);
|
|
429
|
+
} catch (error) {
|
|
430
|
+
if (error instanceof AppcondaException) {
|
|
431
|
+
throw new Error(error.message);
|
|
432
|
+
}
|
|
433
|
+
throw error;
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
export const DeleteBoard = async (parsedInput: z.infer<typeof DeleteBoardSchema>) => {
|
|
438
|
+
try {
|
|
439
|
+
const { task } = await getSDKForCurrentUser();
|
|
440
|
+
return await task.DeleteBoard(parsedInput);
|
|
441
|
+
} catch (error) {
|
|
442
|
+
if (error instanceof AppcondaException) {
|
|
443
|
+
throw new Error(error.message);
|
|
444
|
+
}
|
|
445
|
+
throw error;
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
export const CreateChangelog = async (parsedInput: z.infer<typeof CreateChangelogSchema>) => {
|
|
450
|
+
try {
|
|
451
|
+
const { task } = await getSDKForCurrentUser();
|
|
452
|
+
return await task.CreateChangelog(parsedInput);
|
|
453
|
+
} catch (error) {
|
|
454
|
+
if (error instanceof AppcondaException) {
|
|
455
|
+
throw new Error(error.message);
|
|
456
|
+
}
|
|
457
|
+
throw error;
|
|
458
|
+
}
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
export const CreateComment = async (parsedInput: z.infer<typeof CreateCommentSchema>) => {
|
|
462
|
+
try {
|
|
463
|
+
const { task } = await getSDKForCurrentUser();
|
|
464
|
+
return await task.CreateComment(parsedInput);
|
|
465
|
+
} catch (error) {
|
|
466
|
+
if (error instanceof AppcondaException) {
|
|
467
|
+
throw new Error(error.message);
|
|
468
|
+
}
|
|
469
|
+
throw error;
|
|
470
|
+
}
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
export const CreatePost = async (parsedInput: z.infer<typeof CreatePostSchema>) => {
|
|
474
|
+
try {
|
|
475
|
+
const { task } = await getSDKForCurrentUser();
|
|
476
|
+
return await task.CreatePost(parsedInput);
|
|
477
|
+
} catch (error) {
|
|
478
|
+
if (error instanceof AppcondaException) {
|
|
479
|
+
throw new Error(error.message);
|
|
480
|
+
}
|
|
481
|
+
throw error;
|
|
482
|
+
}
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
export const CreatePostCategory = async (parsedInput: z.infer<typeof CreatePostCategorySchema>) => {
|
|
486
|
+
try {
|
|
487
|
+
const { task } = await getSDKForCurrentUser();
|
|
488
|
+
return await task.CreatePostCategory(parsedInput);
|
|
489
|
+
} catch (error) {
|
|
490
|
+
if (error instanceof AppcondaException) {
|
|
491
|
+
throw new Error(error.message);
|
|
492
|
+
}
|
|
493
|
+
throw error;
|
|
494
|
+
}
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
export const CreateRoadmap = async (parsedInput: z.infer<typeof CreateRoadmapSchema>) => {
|
|
498
|
+
try {
|
|
499
|
+
const { task } = await getSDKForCurrentUser();
|
|
500
|
+
return await task.CreateRoadmap(parsedInput);
|
|
501
|
+
} catch (error) {
|
|
502
|
+
if (error instanceof AppcondaException) {
|
|
503
|
+
throw new Error(error.message);
|
|
504
|
+
}
|
|
505
|
+
throw error;
|
|
506
|
+
}
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
export const CreateStatusChange = async (parsedInput: z.infer<typeof CreateStatusChangeSchema>) => {
|
|
510
|
+
try {
|
|
511
|
+
const { task } = await getSDKForCurrentUser();
|
|
512
|
+
return await task.CreateStatusChange(parsedInput);
|
|
513
|
+
} catch (error) {
|
|
514
|
+
if (error instanceof AppcondaException) {
|
|
515
|
+
throw new Error(error.message);
|
|
516
|
+
}
|
|
517
|
+
throw error;
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
export const CreateTag = async (parsedInput: z.infer<typeof CreateTagSchema>) => {
|
|
522
|
+
try {
|
|
523
|
+
const { task } = await getSDKForCurrentUser();
|
|
524
|
+
return await task.CreateTag(parsedInput);
|
|
525
|
+
} catch (error) {
|
|
526
|
+
if (error instanceof AppcondaException) {
|
|
527
|
+
throw new Error(error.message);
|
|
528
|
+
}
|
|
529
|
+
throw error;
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
export const CreateVote = async (parsedInput: z.infer<typeof CreateVoteSchema>) => {
|
|
534
|
+
try {
|
|
535
|
+
const { task } = await getSDKForCurrentUser();
|
|
536
|
+
return await task.CreateVote(parsedInput);
|
|
537
|
+
} catch (error) {
|
|
538
|
+
if (error instanceof AppcondaException) {
|
|
539
|
+
throw new Error(error.message);
|
|
540
|
+
}
|
|
541
|
+
throw error;
|
|
542
|
+
}
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
export const DeleteComment = async (parsedInput: z.infer<typeof DeleteCommentSchema>) => {
|
|
546
|
+
try {
|
|
547
|
+
const { task } = await getSDKForCurrentUser();
|
|
548
|
+
return await task.DeleteComment(parsedInput);
|
|
549
|
+
} catch (error) {
|
|
550
|
+
if (error instanceof AppcondaException) {
|
|
551
|
+
throw new Error(error.message);
|
|
552
|
+
}
|
|
553
|
+
throw error;
|
|
554
|
+
}
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
export const DeletePostCategory = async (parsedInput: z.infer<typeof DeletePostCategorySchema>) => {
|
|
558
|
+
try {
|
|
559
|
+
const { task } = await getSDKForCurrentUser();
|
|
560
|
+
return await task.DeletePostCategory(parsedInput);
|
|
561
|
+
} catch (error) {
|
|
562
|
+
if (error instanceof AppcondaException) {
|
|
563
|
+
throw new Error(error.message);
|
|
564
|
+
}
|
|
565
|
+
throw error;
|
|
566
|
+
}
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
export const DeleteVote = async (parsedInput: z.infer<typeof DeleteVoteSchema>) => {
|
|
570
|
+
try {
|
|
571
|
+
const { task } = await getSDKForCurrentUser();
|
|
572
|
+
return await task.DeleteVote(parsedInput);
|
|
573
|
+
} catch (error) {
|
|
574
|
+
if (error instanceof AppcondaException) {
|
|
575
|
+
throw new Error(error.message);
|
|
576
|
+
}
|
|
577
|
+
throw error;
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
export const GetChangeLog = async (parsedInput: z.infer<typeof GetChangeLogSchema>) => {
|
|
582
|
+
try {
|
|
583
|
+
const { task } = await getSDKForCurrentUser();
|
|
584
|
+
return await task.GetChangeLog(parsedInput);
|
|
585
|
+
} catch (error) {
|
|
586
|
+
if (error instanceof AppcondaException) {
|
|
587
|
+
throw new Error(error.message);
|
|
588
|
+
}
|
|
589
|
+
throw error;
|
|
590
|
+
}
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
export const GetComment = async (parsedInput: z.infer<typeof GetCommentSchema>) => {
|
|
594
|
+
try {
|
|
595
|
+
const { task } = await getSDKForCurrentUser();
|
|
596
|
+
return await task.GetComment(parsedInput);
|
|
597
|
+
} catch (error) {
|
|
598
|
+
if (error instanceof AppcondaException) {
|
|
599
|
+
throw new Error(error.message);
|
|
600
|
+
}
|
|
601
|
+
throw error;
|
|
602
|
+
}
|
|
603
|
+
};
|
|
604
|
+
|
|
605
|
+
export const GetPost = async (parsedInput: z.infer<typeof GetPostSchema>) => {
|
|
606
|
+
try {
|
|
607
|
+
const { task } = await getSDKForCurrentUser();
|
|
608
|
+
return await task.GetPost(parsedInput);
|
|
609
|
+
} catch (error) {
|
|
610
|
+
if (error instanceof AppcondaException) {
|
|
611
|
+
throw new Error(error.message);
|
|
612
|
+
}
|
|
613
|
+
throw error;
|
|
614
|
+
}
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
export const GetPostCategory = async (parsedInput: z.infer<typeof GetPostCategorySchema>) => {
|
|
618
|
+
try {
|
|
619
|
+
const { task } = await getSDKForCurrentUser();
|
|
620
|
+
return await task.GetPostCategory(parsedInput);
|
|
621
|
+
} catch (error) {
|
|
622
|
+
if (error instanceof AppcondaException) {
|
|
623
|
+
throw new Error(error.message);
|
|
624
|
+
}
|
|
625
|
+
throw error;
|
|
626
|
+
}
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
export const GetRoadmap = async (parsedInput: z.infer<typeof GetRoadmapSchema>) => {
|
|
630
|
+
try {
|
|
631
|
+
const { task } = await getSDKForCurrentUser();
|
|
632
|
+
return await task.GetRoadmap(parsedInput);
|
|
633
|
+
} catch (error) {
|
|
634
|
+
if (error instanceof AppcondaException) {
|
|
635
|
+
throw new Error(error.message);
|
|
636
|
+
}
|
|
637
|
+
throw error;
|
|
638
|
+
}
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
export const GetTag = async (parsedInput: z.infer<typeof GetTagSchema>) => {
|
|
642
|
+
try {
|
|
643
|
+
const { task } = await getSDKForCurrentUser();
|
|
644
|
+
return await task.GetTag(parsedInput);
|
|
645
|
+
} catch (error) {
|
|
646
|
+
if (error instanceof AppcondaException) {
|
|
647
|
+
throw new Error(error.message);
|
|
648
|
+
}
|
|
649
|
+
throw error;
|
|
650
|
+
}
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
export const GetVote = async (parsedInput: z.infer<typeof GetVoteSchema>) => {
|
|
654
|
+
try {
|
|
655
|
+
const { task } = await getSDKForCurrentUser();
|
|
656
|
+
return await task.GetVote(parsedInput);
|
|
657
|
+
} catch (error) {
|
|
658
|
+
if (error instanceof AppcondaException) {
|
|
659
|
+
throw new Error(error.message);
|
|
660
|
+
}
|
|
661
|
+
throw error;
|
|
662
|
+
}
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
export const ListChangeLogs = async (parsedInput: z.infer<typeof ListChangeLogsSchema>) => {
|
|
666
|
+
try {
|
|
667
|
+
const { task } = await getSDKForCurrentUser();
|
|
668
|
+
return await task.ListChangeLogs(parsedInput);
|
|
669
|
+
} catch (error) {
|
|
670
|
+
if (error instanceof AppcondaException) {
|
|
671
|
+
throw new Error(error.message);
|
|
672
|
+
}
|
|
673
|
+
throw error;
|
|
674
|
+
}
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
export const ListComments = async (parsedInput: z.infer<typeof ListCommentsSchema>) => {
|
|
678
|
+
try {
|
|
679
|
+
const { task } = await getSDKForCurrentUser();
|
|
680
|
+
return await task.ListComments(parsedInput);
|
|
681
|
+
} catch (error) {
|
|
682
|
+
if (error instanceof AppcondaException) {
|
|
683
|
+
throw new Error(error.message);
|
|
684
|
+
}
|
|
685
|
+
throw error;
|
|
686
|
+
}
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
export const ListPostCategories = async (parsedInput: z.infer<typeof ListPostCategoriesSchema>) => {
|
|
690
|
+
try {
|
|
691
|
+
const { task } = await getSDKForCurrentUser();
|
|
692
|
+
return await task.ListPostCategories(parsedInput);
|
|
693
|
+
} catch (error) {
|
|
694
|
+
if (error instanceof AppcondaException) {
|
|
695
|
+
throw new Error(error.message);
|
|
696
|
+
}
|
|
697
|
+
throw error;
|
|
698
|
+
}
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
export const ListPosts = async (parsedInput: z.infer<typeof ListPostsSchema>) => {
|
|
702
|
+
try {
|
|
703
|
+
const { task } = await getSDKForCurrentUser();
|
|
704
|
+
return await task.ListPosts(parsedInput);
|
|
705
|
+
} catch (error) {
|
|
706
|
+
if (error instanceof AppcondaException) {
|
|
707
|
+
throw new Error(error.message);
|
|
708
|
+
}
|
|
709
|
+
throw error;
|
|
710
|
+
}
|
|
711
|
+
};
|
|
712
|
+
|
|
713
|
+
export const ListRoadmaps = async () => {
|
|
714
|
+
try {
|
|
715
|
+
const { task } = await getSDKForCurrentUser();
|
|
716
|
+
return await task.ListRoadmaps();
|
|
717
|
+
} catch (error) {
|
|
718
|
+
if (error instanceof AppcondaException) {
|
|
719
|
+
throw new Error(error.message);
|
|
720
|
+
}
|
|
721
|
+
throw error;
|
|
722
|
+
}
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
export const ListStatusChanges = async () => {
|
|
726
|
+
try {
|
|
727
|
+
const { task } = await getSDKForCurrentUser();
|
|
728
|
+
return await task.ListStatusChanges();
|
|
729
|
+
} catch (error) {
|
|
730
|
+
if (error instanceof AppcondaException) {
|
|
731
|
+
throw new Error(error.message);
|
|
732
|
+
}
|
|
733
|
+
throw error;
|
|
734
|
+
}
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
export const ListTags = async (parsedInput: z.infer<typeof ListTagsSchema>) => {
|
|
738
|
+
try {
|
|
739
|
+
const { task } = await getSDKForCurrentUser();
|
|
740
|
+
return await task.ListTags(parsedInput);
|
|
741
|
+
} catch (error) {
|
|
742
|
+
if (error instanceof AppcondaException) {
|
|
743
|
+
throw new Error(error.message);
|
|
744
|
+
}
|
|
745
|
+
throw error;
|
|
746
|
+
}
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
export const ListVotes = async (parsedInput: z.infer<typeof ListVotesSchema>) => {
|
|
750
|
+
try {
|
|
751
|
+
const { task } = await getSDKForCurrentUser();
|
|
752
|
+
return await task.ListVotes(parsedInput);
|
|
753
|
+
} catch (error) {
|
|
754
|
+
if (error instanceof AppcondaException) {
|
|
755
|
+
throw new Error(error.message);
|
|
756
|
+
}
|
|
757
|
+
throw error;
|
|
758
|
+
}
|
|
759
|
+
};
|
|
760
|
+
|
|
761
|
+
export const MoveView = async (parsedInput: z.infer<typeof MoveViewSchema>) => {
|
|
762
|
+
try {
|
|
763
|
+
const { task } = await getSDKForCurrentUser();
|
|
764
|
+
return await task.MoveView(parsedInput);
|
|
765
|
+
} catch (error) {
|
|
766
|
+
if (error instanceof AppcondaException) {
|
|
767
|
+
throw new Error(error.message);
|
|
768
|
+
}
|
|
769
|
+
throw error;
|
|
770
|
+
}
|
|
771
|
+
};
|
|
772
|
+
|
|
773
|
+
export const CreateLabel = async (parsedInput: z.infer<typeof CreateLabelSchema>) => {
|
|
774
|
+
try {
|
|
775
|
+
const { task } = await getSDKForCurrentUser();
|
|
776
|
+
return await task.CreateLabel(parsedInput);
|
|
777
|
+
} catch (error) {
|
|
778
|
+
if (error instanceof AppcondaException) {
|
|
779
|
+
throw new Error(error.message);
|
|
780
|
+
}
|
|
781
|
+
throw error;
|
|
782
|
+
}
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
export const ListLabels = async (parsedInput: z.infer<typeof ListLabelsSchema>) => {
|
|
786
|
+
try {
|
|
787
|
+
const { task } = await getSDKForCurrentUser();
|
|
788
|
+
return await task.ListLabels(parsedInput);
|
|
789
|
+
} catch (error) {
|
|
790
|
+
if (error instanceof AppcondaException) {
|
|
791
|
+
throw new Error(error.message);
|
|
792
|
+
}
|
|
793
|
+
throw error;
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
|
|
797
|
+
export const DeleteLabel = async (parsedInput: z.infer<typeof DeleteLabelSchema>) => {
|
|
798
|
+
try {
|
|
799
|
+
const { task } = await getSDKForCurrentUser();
|
|
800
|
+
return await task.DeleteLabel(parsedInput);
|
|
801
|
+
} catch (error) {
|
|
802
|
+
if (error instanceof AppcondaException) {
|
|
803
|
+
throw new Error(error.message);
|
|
804
|
+
}
|
|
805
|
+
throw error;
|
|
806
|
+
}
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
export const UpdateLabel = async (parsedInput: z.infer<typeof UpdateLabelSchema>) => {
|
|
810
|
+
try {
|
|
811
|
+
const { task } = await getSDKForCurrentUser();
|
|
812
|
+
return await task.UpdateLabel(parsedInput);
|
|
813
|
+
} catch (error) {
|
|
814
|
+
if (error instanceof AppcondaException) {
|
|
815
|
+
throw new Error(error.message);
|
|
816
|
+
}
|
|
817
|
+
throw error;
|
|
818
|
+
}
|
|
819
|
+
};
|