@appconda/sdk 1.0.193 → 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,1063 @@
|
|
|
1
|
+
'use server';
|
|
2
|
+
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { AppcondaException } from '../../client';
|
|
5
|
+
import { CreateAgentFlowSchema, CreateAssistantSchema, CreateCompetencySchema, CreateEmploidSchema, CreateExtensionSchema, CreateInputSchema, CreateInstructionSchema, CreateJobDefinitionSchema, CreateOccupationSchema, CreateScopeSchema, CreateSkillSchema, CreateStreamIdSchema, CreateTeamSchema, CreateWorkerSchema, DeleteAssistantSchema, DeleteChatByIdSchema, DeleteCompetencySchema, DeleteDocumentsByIdAfterTimestampSchema, DeleteEmploidSchema, DeleteInputSchema, DeleteInstructionSchema, DeleteJobDefinitionSchema, DeleteMessagesByChatIdAfterTimestampSchema, DeleteOccupationSchema, DeleteScopeSchema, DeleteSkillSchema, DeleteTeamSchema, DeleteWorkerSchema, GetChatByIdSchema, GetChatsByUserIdSchema, GetDocumentByIdSchema, GetDocumentsByIdSchema, GetMessageByIdSchema, GetMessageCountByUserIdSchema, GetMessagesByChatIdSchema, GetStreamIdsByChatIdSchema, GetSuggestionsByDocumentIdSchema, GetVotesByChatIdSchema, ListAgentFlowsSchema, ListAssistantsSchema, ListCompetenciesSchema, ListEmploidsPaginatedSchema, ListEmploidsSchema, ListExtensionsSchema, ListInputSchema, ListInstructionsSchema, ListJobDefinitionSchema, ListOccupationsSchema, ListScopesSchema, ListSkillsSchema, ListTeamsSchema, ListWorkersSchema, SaveChatSchema, SaveDocumentSchema, SaveMessagesSchema, SaveSuggestionsSchema, UpdateAssistantSchema, UpdateChatLastContextByIdSchema, UpdateChatVisiblityByIdSchema, UpdateCompetencySchema, UpdateEmploidSchema, UpdateInputSchema, UpdateInstructionSchema, UpdateJobDefinitionSchema, UpdateOccupationSchema, UpdateScopeSchema, UpdateSkillSchema, UpdateTeamSchema, UpdateWorkerSchema, VoteMessageSchema } from './schema';
|
|
6
|
+
import { TEmploid, TInstruction } from './types';
|
|
7
|
+
import { getSDKForService } from '../../getSDKForService';
|
|
8
|
+
|
|
9
|
+
export async function CreateEmploid(parsedInput: z.infer<typeof CreateEmploidSchema>): Promise<TEmploid> {
|
|
10
|
+
try {
|
|
11
|
+
const { emploid } = await getSDKForService();
|
|
12
|
+
//@ts-ignore
|
|
13
|
+
const app = await emploid.CreateEmploid(parsedInput);
|
|
14
|
+
return app;
|
|
15
|
+
} catch (error) {
|
|
16
|
+
if (error instanceof AppcondaException) {
|
|
17
|
+
throw new Error(error.message);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
throw error;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export const UpdateEmploid = async (parsedInput: z.infer<typeof UpdateEmploidSchema>): Promise<TEmploid> => {
|
|
26
|
+
try {
|
|
27
|
+
const { emploid } = await getSDKForService();
|
|
28
|
+
//@ts-ignore
|
|
29
|
+
const app = await emploid.UpdateEmploid(parsedInput);
|
|
30
|
+
return app;
|
|
31
|
+
} catch (error) {
|
|
32
|
+
if (error instanceof AppcondaException) {
|
|
33
|
+
throw new Error(error.message);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
throw error;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export const DeleteEmploid = async (parsedInput: z.infer<typeof DeleteEmploidSchema>): Promise<TEmploid> => {
|
|
41
|
+
try {
|
|
42
|
+
const { emploid } = await getSDKForService();
|
|
43
|
+
//@ts-ignore
|
|
44
|
+
const app = await emploid.DeleteEmploid(parsedInput);
|
|
45
|
+
return app;
|
|
46
|
+
} catch (error) {
|
|
47
|
+
if (error instanceof AppcondaException) {
|
|
48
|
+
throw new Error(error.message);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
throw error;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const CreateInstruction = async (parsedInput: z.infer<typeof CreateInstructionSchema>): Promise<TInstruction> => {
|
|
56
|
+
try {
|
|
57
|
+
const { emploid } = await getSDKForService();
|
|
58
|
+
//@ts-ignore
|
|
59
|
+
const app = await emploid.CreateInstruction(parsedInput);
|
|
60
|
+
return app;
|
|
61
|
+
} catch (error) {
|
|
62
|
+
if (error instanceof AppcondaException) {
|
|
63
|
+
throw new Error(error.message);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
throw error;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export const UpdateInstruction = async (parsedInput: z.infer<typeof UpdateInstructionSchema>): Promise<TInstruction> => {
|
|
71
|
+
try {
|
|
72
|
+
const { emploid } = await getSDKForService();
|
|
73
|
+
//@ts-ignore
|
|
74
|
+
const app = await emploid.UpdateInstruction(parsedInput);
|
|
75
|
+
return app;
|
|
76
|
+
} catch (error) {
|
|
77
|
+
if (error instanceof AppcondaException) {
|
|
78
|
+
throw new Error(error.message);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
throw error;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export const ListInstructions = async (parsedInput: z.infer<typeof ListInstructionsSchema>): Promise<TInstruction[]> => {
|
|
86
|
+
try {
|
|
87
|
+
const { emploid } = await getSDKForService();
|
|
88
|
+
//@ts-ignore
|
|
89
|
+
const app = await emploid.ListInstructions(parsedInput);
|
|
90
|
+
return app;
|
|
91
|
+
} catch (error) {
|
|
92
|
+
if (error instanceof AppcondaException) {
|
|
93
|
+
throw new Error(error.message);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
throw error;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export const DeleteInstruction = async (parsedInput: z.infer<typeof DeleteInstructionSchema>): Promise<TInstruction> => {
|
|
101
|
+
try {
|
|
102
|
+
const { emploid } = await getSDKForService();
|
|
103
|
+
//@ts-ignore
|
|
104
|
+
const app = await emploid.DeleteInstruction(parsedInput);
|
|
105
|
+
return app;
|
|
106
|
+
} catch (error) {
|
|
107
|
+
if (error instanceof AppcondaException) {
|
|
108
|
+
throw new Error(error.message);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
throw error;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
export const ListEmploids = async (parsedInput: z.infer<typeof ListEmploidsSchema>) => {
|
|
117
|
+
try {
|
|
118
|
+
const { emploid } = await getSDKForService();
|
|
119
|
+
//@ts-ignore
|
|
120
|
+
const app = await emploid.ListEmploids(parsedInput);
|
|
121
|
+
return app;
|
|
122
|
+
} catch (error) {
|
|
123
|
+
if (error instanceof AppcondaException) {
|
|
124
|
+
throw new Error(error.message);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
throw error;
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export const ListEmploidsPaginated = async (parsedInput: z.infer<typeof ListEmploidsPaginatedSchema>) => {
|
|
132
|
+
try {
|
|
133
|
+
const { emploid } = await getSDKForService();
|
|
134
|
+
//@ts-ignore
|
|
135
|
+
const app = await emploid.ListEmploidsPaginated(parsedInput);
|
|
136
|
+
return app;
|
|
137
|
+
} catch (error) {
|
|
138
|
+
if (error instanceof AppcondaException) {
|
|
139
|
+
throw new Error(error.message);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
throw error;
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
export const ListScopes = async (parsedInput: z.infer<typeof ListScopesSchema>) => {
|
|
147
|
+
try {
|
|
148
|
+
const { emploid } = await getSDKForService();
|
|
149
|
+
//@ts-ignore
|
|
150
|
+
const app = await emploid.ListScopes(parsedInput);
|
|
151
|
+
return app;
|
|
152
|
+
} catch (error) {
|
|
153
|
+
if (error instanceof AppcondaException) {
|
|
154
|
+
throw new Error(error.message);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
throw error;
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
export const CreateOccupation = async (parsedInput: z.infer<typeof CreateOccupationSchema>) => {
|
|
162
|
+
try {
|
|
163
|
+
const { emploid } = await getSDKForService();
|
|
164
|
+
//@ts-ignore
|
|
165
|
+
const app = await emploid.CreateOccupation(parsedInput);
|
|
166
|
+
return app;
|
|
167
|
+
} catch (error) {
|
|
168
|
+
if (error instanceof AppcondaException) {
|
|
169
|
+
throw new Error(error.message);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
throw error;
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
export const UpdateOccupation = async (parsedInput: z.infer<typeof UpdateOccupationSchema>) => {
|
|
177
|
+
try {
|
|
178
|
+
const { emploid } = await getSDKForService();
|
|
179
|
+
//@ts-ignore
|
|
180
|
+
const app = await emploid.UpdateOccupation(parsedInput);
|
|
181
|
+
return app;
|
|
182
|
+
} catch (error) {
|
|
183
|
+
if (error instanceof AppcondaException) {
|
|
184
|
+
throw new Error(error.message);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
throw error;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export const DeleteOccupation = async (parsedInput: z.infer<typeof DeleteOccupationSchema>) => {
|
|
192
|
+
try {
|
|
193
|
+
const { emploid } = await getSDKForService();
|
|
194
|
+
//@ts-ignore
|
|
195
|
+
const app = await emploid.DeleteOccupation(parsedInput);
|
|
196
|
+
return app;
|
|
197
|
+
} catch (error) {
|
|
198
|
+
if (error instanceof AppcondaException) {
|
|
199
|
+
throw new Error(error.message);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
throw error;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
export const CreateScope = async (parsedInput: z.infer<typeof CreateScopeSchema>) => {
|
|
208
|
+
try {
|
|
209
|
+
const { emploid } = await getSDKForService();
|
|
210
|
+
//@ts-ignore
|
|
211
|
+
const app = await emploid.CreateScope(parsedInput);
|
|
212
|
+
return app;
|
|
213
|
+
} catch (error) {
|
|
214
|
+
if (error instanceof AppcondaException) {
|
|
215
|
+
throw new Error(error.message);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
throw error;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export const UpdateScope = async (parsedInput: z.infer<typeof UpdateScopeSchema>) => {
|
|
223
|
+
try {
|
|
224
|
+
const { emploid } = await getSDKForService();
|
|
225
|
+
//@ts-ignore
|
|
226
|
+
const app = await emploid.UpdateScope(parsedInput);
|
|
227
|
+
return app;
|
|
228
|
+
} catch (error) {
|
|
229
|
+
if (error instanceof AppcondaException) {
|
|
230
|
+
throw new Error(error.message);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
throw error;
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
export const DeleteScope = async (parsedInput: z.infer<typeof DeleteScopeSchema>) => {
|
|
238
|
+
try {
|
|
239
|
+
const { emploid } = await getSDKForService();
|
|
240
|
+
//@ts-ignore
|
|
241
|
+
const app = await emploid.DeleteScope(parsedInput);
|
|
242
|
+
return app;
|
|
243
|
+
} catch (error) {
|
|
244
|
+
if (error instanceof AppcondaException) {
|
|
245
|
+
throw new Error(error.message);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
throw error;
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
export const ListOccupations = async (parsedInput: z.infer<typeof ListOccupationsSchema>) => {
|
|
254
|
+
try {
|
|
255
|
+
const { emploid } = await getSDKForService();
|
|
256
|
+
//@ts-ignore
|
|
257
|
+
const app = await emploid.ListOccupations(parsedInput);
|
|
258
|
+
return app;
|
|
259
|
+
} catch (error) {
|
|
260
|
+
if (error instanceof AppcondaException) {
|
|
261
|
+
throw new Error(error.message);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
throw error;
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
export const CreateJobDefinition = async (parsedInput: z.infer<typeof CreateJobDefinitionSchema>) => {
|
|
269
|
+
try {
|
|
270
|
+
const { emploid } = await getSDKForService();
|
|
271
|
+
//@ts-ignore
|
|
272
|
+
const app = await emploid.CreateJobDefinition(parsedInput);
|
|
273
|
+
return app;
|
|
274
|
+
} catch (error) {
|
|
275
|
+
if (error instanceof AppcondaException) {
|
|
276
|
+
throw new Error(error.message);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
throw error;
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
export const UpdateJobDefinition = async (parsedInput: z.infer<typeof UpdateJobDefinitionSchema>) => {
|
|
284
|
+
try {
|
|
285
|
+
const { emploid } = await getSDKForService();
|
|
286
|
+
//@ts-ignore
|
|
287
|
+
const app = await emploid.UpdateJobDefinition(parsedInput);
|
|
288
|
+
return app;
|
|
289
|
+
} catch (error) {
|
|
290
|
+
if (error instanceof AppcondaException) {
|
|
291
|
+
throw new Error(error.message);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
throw error;
|
|
295
|
+
}
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
export const DeleteJobDefinition = async (parsedInput: z.infer<typeof DeleteJobDefinitionSchema>) => {
|
|
299
|
+
try {
|
|
300
|
+
const { emploid } = await getSDKForService();
|
|
301
|
+
//@ts-ignore
|
|
302
|
+
const app = await emploid.DeleteJobDefinition(parsedInput);
|
|
303
|
+
return app;
|
|
304
|
+
} catch (error) {
|
|
305
|
+
if (error instanceof AppcondaException) {
|
|
306
|
+
throw new Error(error.message);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
throw error;
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
export const ListJobDefinitions = async (parsedInput: z.infer<typeof ListJobDefinitionSchema>) => {
|
|
314
|
+
try {
|
|
315
|
+
const { emploid } = await getSDKForService();
|
|
316
|
+
//@ts-ignore
|
|
317
|
+
const app = await emploid.ListJobDefinitions(parsedInput);
|
|
318
|
+
return app;
|
|
319
|
+
} catch (error) {
|
|
320
|
+
if (error instanceof AppcondaException) {
|
|
321
|
+
throw new Error(error.message);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
throw error;
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
export const CreateCompetency = async (parsedInput: z.infer<typeof CreateCompetencySchema>) => {
|
|
330
|
+
try {
|
|
331
|
+
const { emploid } = await getSDKForService();
|
|
332
|
+
//@ts-ignore
|
|
333
|
+
const app = await emploid.CreateCompetency(parsedInput);
|
|
334
|
+
return app;
|
|
335
|
+
} catch (error) {
|
|
336
|
+
if (error instanceof AppcondaException) {
|
|
337
|
+
throw new Error(error.message);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
throw error;
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
export const UpdateCompetency = async (parsedInput: z.infer<typeof UpdateCompetencySchema>) => {
|
|
345
|
+
try {
|
|
346
|
+
const { emploid } = await getSDKForService();
|
|
347
|
+
//@ts-ignore
|
|
348
|
+
const app = await emploid.UpdateCompetency(parsedInput);
|
|
349
|
+
return app;
|
|
350
|
+
} catch (error) {
|
|
351
|
+
if (error instanceof AppcondaException) {
|
|
352
|
+
throw new Error(error.message);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
throw error;
|
|
356
|
+
}
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
export const DeleteCompetency = async (parsedInput: z.infer<typeof DeleteCompetencySchema>) => {
|
|
360
|
+
try {
|
|
361
|
+
const { emploid } = await getSDKForService();
|
|
362
|
+
//@ts-ignore
|
|
363
|
+
const app = await emploid.DeleteCompetency(parsedInput);
|
|
364
|
+
return app;
|
|
365
|
+
} catch (error) {
|
|
366
|
+
if (error instanceof AppcondaException) {
|
|
367
|
+
throw new Error(error.message);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
throw error;
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
export const ListCompetencies = async (parsedInput: z.infer<typeof ListCompetenciesSchema>) => {
|
|
375
|
+
try {
|
|
376
|
+
const { emploid } = await getSDKForService();
|
|
377
|
+
//@ts-ignore
|
|
378
|
+
const app = await emploid.ListCompetencies(parsedInput);
|
|
379
|
+
return app;
|
|
380
|
+
} catch (error) {
|
|
381
|
+
if (error instanceof AppcondaException) {
|
|
382
|
+
throw new Error(error.message);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
throw error;
|
|
386
|
+
}
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
export const CreateAgentFlow = async (parsedInput: z.infer<typeof CreateAgentFlowSchema>) => {
|
|
390
|
+
try {
|
|
391
|
+
const { emploid } = await getSDKForService();
|
|
392
|
+
//@ts-ignore
|
|
393
|
+
const app = await emploid.CreateAgentFlow(parsedInput);
|
|
394
|
+
return app;
|
|
395
|
+
} catch (error) {
|
|
396
|
+
if (error instanceof AppcondaException) {
|
|
397
|
+
throw new Error(error.message);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
throw error;
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
export const ListAgentFlows = async (parsedInput: z.infer<typeof ListAgentFlowsSchema>) => {
|
|
405
|
+
try {
|
|
406
|
+
const { emploid } = await getSDKForService();
|
|
407
|
+
//@ts-ignore
|
|
408
|
+
const app = await emploid.ListAgentFlows(parsedInput);
|
|
409
|
+
return app;
|
|
410
|
+
} catch (error) {
|
|
411
|
+
if (error instanceof AppcondaException) {
|
|
412
|
+
throw new Error(error.message);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
throw error;
|
|
416
|
+
}
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
export const CreateExtension = async (parsedInput: z.infer<typeof CreateExtensionSchema>) => {
|
|
420
|
+
try {
|
|
421
|
+
const { emploid } = await getSDKForService();
|
|
422
|
+
//@ts-ignore
|
|
423
|
+
const app = await emploid.CreateExtension(parsedInput);
|
|
424
|
+
return app;
|
|
425
|
+
} catch (error) {
|
|
426
|
+
if (error instanceof AppcondaException) {
|
|
427
|
+
throw new Error(error.message);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
throw error;
|
|
431
|
+
}
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
export const ListExtensions = async (parsedInput: z.infer<typeof ListExtensionsSchema>) => {
|
|
435
|
+
try {
|
|
436
|
+
const { emploid } = await getSDKForService();
|
|
437
|
+
//@ts-ignore
|
|
438
|
+
const app = await emploid.ListExtensions(parsedInput);
|
|
439
|
+
return app;
|
|
440
|
+
} catch (error) {
|
|
441
|
+
if (error instanceof AppcondaException) {
|
|
442
|
+
throw new Error(error.message);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
throw error;
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
export const CreateAssistant = async (parsedInput: z.infer<typeof CreateAssistantSchema>) => {
|
|
450
|
+
try {
|
|
451
|
+
const { emploid } = await getSDKForService();
|
|
452
|
+
//@ts-ignore
|
|
453
|
+
const app = await emploid.CreateAssistant(parsedInput);
|
|
454
|
+
return app;
|
|
455
|
+
} catch (error) {
|
|
456
|
+
if (error instanceof AppcondaException) {
|
|
457
|
+
throw new Error(error.message);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
throw error;
|
|
461
|
+
}
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
export const UpdateAssistant = async (parsedInput: z.infer<typeof UpdateAssistantSchema>) => {
|
|
465
|
+
try {
|
|
466
|
+
const { emploid } = await getSDKForService();
|
|
467
|
+
//@ts-ignore
|
|
468
|
+
const app = await emploid.UpdateAssistant(parsedInput);
|
|
469
|
+
return app;
|
|
470
|
+
} catch (error) {
|
|
471
|
+
if (error instanceof AppcondaException) {
|
|
472
|
+
throw new Error(error.message);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
throw error;
|
|
476
|
+
}
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
export const DeleteAssistant = async (parsedInput: z.infer<typeof DeleteAssistantSchema>) => {
|
|
480
|
+
try {
|
|
481
|
+
const { emploid } = await getSDKForService();
|
|
482
|
+
//@ts-ignore
|
|
483
|
+
const app = await emploid.DeleteAssistant(parsedInput);
|
|
484
|
+
return app;
|
|
485
|
+
} catch (error) {
|
|
486
|
+
if (error instanceof AppcondaException) {
|
|
487
|
+
throw new Error(error.message);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
throw error;
|
|
491
|
+
}
|
|
492
|
+
};
|
|
493
|
+
|
|
494
|
+
export const ListAssistants = async (parsedInput: z.infer<typeof ListAssistantsSchema>) => {
|
|
495
|
+
try {
|
|
496
|
+
const { emploid } = await getSDKForService();
|
|
497
|
+
//@ts-ignore
|
|
498
|
+
const app = await emploid.ListAssistants(parsedInput);
|
|
499
|
+
return app;
|
|
500
|
+
} catch (error) {
|
|
501
|
+
if (error instanceof AppcondaException) {
|
|
502
|
+
throw new Error(error.message);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
throw error;
|
|
506
|
+
}
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
export const CreateWorker = async (parsedInput: z.infer<typeof CreateWorkerSchema>) => {
|
|
510
|
+
try {
|
|
511
|
+
const { emploid } = await getSDKForService();
|
|
512
|
+
//@ts-ignore
|
|
513
|
+
const app = await emploid.CreateWorker(parsedInput);
|
|
514
|
+
return app;
|
|
515
|
+
} catch (error) {
|
|
516
|
+
if (error instanceof AppcondaException) {
|
|
517
|
+
throw new Error(error.message);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
throw error;
|
|
521
|
+
}
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
export const UpdateWorker = async (parsedInput: z.infer<typeof UpdateWorkerSchema>) => {
|
|
525
|
+
try {
|
|
526
|
+
const { emploid } = await getSDKForService();
|
|
527
|
+
//@ts-ignore
|
|
528
|
+
const app = await emploid.UpdateWorker(parsedInput);
|
|
529
|
+
return app;
|
|
530
|
+
} catch (error) {
|
|
531
|
+
if (error instanceof AppcondaException) {
|
|
532
|
+
throw new Error(error.message);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
throw error;
|
|
536
|
+
}
|
|
537
|
+
};
|
|
538
|
+
|
|
539
|
+
export const DeleteWorker = async (parsedInput: z.infer<typeof DeleteWorkerSchema>) => {
|
|
540
|
+
try {
|
|
541
|
+
const { emploid } = await getSDKForService();
|
|
542
|
+
//@ts-ignore
|
|
543
|
+
const app = await emploid.DeleteWorker(parsedInput);
|
|
544
|
+
return app;
|
|
545
|
+
} catch (error) {
|
|
546
|
+
if (error instanceof AppcondaException) {
|
|
547
|
+
throw new Error(error.message);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
throw error;
|
|
551
|
+
}
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
export const ListWorkers = async (parsedInput: z.infer<typeof ListWorkersSchema>) => {
|
|
555
|
+
try {
|
|
556
|
+
const { emploid } = await getSDKForService();
|
|
557
|
+
//@ts-ignore
|
|
558
|
+
const app = await emploid.ListWorkers(parsedInput);
|
|
559
|
+
return app;
|
|
560
|
+
} catch (error) {
|
|
561
|
+
if (error instanceof AppcondaException) {
|
|
562
|
+
throw new Error(error.message);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
throw error;
|
|
566
|
+
}
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
export const CreateInput = async (parsedInput: z.infer<typeof CreateInputSchema>) => {
|
|
570
|
+
try {
|
|
571
|
+
const { emploid } = await getSDKForService();
|
|
572
|
+
//@ts-ignore
|
|
573
|
+
const app = await emploid.CreateInput(parsedInput);
|
|
574
|
+
return app;
|
|
575
|
+
} catch (error) {
|
|
576
|
+
if (error instanceof AppcondaException) {
|
|
577
|
+
throw new Error(error.message);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
throw error;
|
|
581
|
+
}
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
export const UpdateInput = async (parsedInput: z.infer<typeof UpdateInputSchema>) => {
|
|
585
|
+
try {
|
|
586
|
+
const { emploid } = await getSDKForService();
|
|
587
|
+
//@ts-ignore
|
|
588
|
+
const app = await emploid.UpdateInput(parsedInput);
|
|
589
|
+
return app;
|
|
590
|
+
} catch (error) {
|
|
591
|
+
if (error instanceof AppcondaException) {
|
|
592
|
+
throw new Error(error.message);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
throw error;
|
|
596
|
+
}
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
export const DeleteInput = async (parsedInput: z.infer<typeof DeleteInputSchema>) => {
|
|
600
|
+
try {
|
|
601
|
+
const { emploid } = await getSDKForService();
|
|
602
|
+
//@ts-ignore
|
|
603
|
+
const app = await emploid.DeleteInput(parsedInput);
|
|
604
|
+
return app;
|
|
605
|
+
} catch (error) {
|
|
606
|
+
if (error instanceof AppcondaException) {
|
|
607
|
+
throw new Error(error.message);
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
throw error;
|
|
611
|
+
}
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
export const ListInputs = async (parsedInput: z.infer<typeof ListInputSchema>) => {
|
|
615
|
+
try {
|
|
616
|
+
const { emploid } = await getSDKForService();
|
|
617
|
+
//@ts-ignore
|
|
618
|
+
const app = await emploid.ListInputs(parsedInput);
|
|
619
|
+
return app;
|
|
620
|
+
} catch (error) {
|
|
621
|
+
if (error instanceof AppcondaException) {
|
|
622
|
+
throw new Error(error.message);
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
throw error;
|
|
626
|
+
}
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
export const CreateTeam = async (parsedInput: z.infer<typeof CreateTeamSchema>) => {
|
|
630
|
+
try {
|
|
631
|
+
const { emploid } = await getSDKForService();
|
|
632
|
+
//@ts-ignore
|
|
633
|
+
const app = await emploid.CreateTeam(parsedInput);
|
|
634
|
+
return app;
|
|
635
|
+
} catch (error) {
|
|
636
|
+
if (error instanceof AppcondaException) {
|
|
637
|
+
throw new Error(error.message);
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
throw error;
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
export const UpdateTeam = async (parsedInput: z.infer<typeof UpdateTeamSchema>) => {
|
|
645
|
+
try {
|
|
646
|
+
const { emploid } = await getSDKForService();
|
|
647
|
+
//@ts-ignore
|
|
648
|
+
const app = await emploid.UpdateTeam(parsedInput);
|
|
649
|
+
return app;
|
|
650
|
+
} catch (error) {
|
|
651
|
+
if (error instanceof AppcondaException) {
|
|
652
|
+
throw new Error(error.message);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
throw error;
|
|
656
|
+
}
|
|
657
|
+
};
|
|
658
|
+
|
|
659
|
+
export const DeleteTeam = async (parsedInput: z.infer<typeof DeleteTeamSchema>) => {
|
|
660
|
+
try {
|
|
661
|
+
const { emploid } = await getSDKForService();
|
|
662
|
+
//@ts-ignore
|
|
663
|
+
const app = await emploid.DeleteTeam(parsedInput);
|
|
664
|
+
return app;
|
|
665
|
+
} catch (error) {
|
|
666
|
+
if (error instanceof AppcondaException) {
|
|
667
|
+
throw new Error(error.message);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
throw error;
|
|
671
|
+
}
|
|
672
|
+
};
|
|
673
|
+
|
|
674
|
+
export const ListTeams = async (parsedInput: z.infer<typeof ListTeamsSchema>) => {
|
|
675
|
+
try {
|
|
676
|
+
const { emploid } = await getSDKForService();
|
|
677
|
+
//@ts-ignore
|
|
678
|
+
const app = await emploid.ListTeams(parsedInput);
|
|
679
|
+
return app;
|
|
680
|
+
} catch (error) {
|
|
681
|
+
if (error instanceof AppcondaException) {
|
|
682
|
+
throw new Error(error.message);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
throw error;
|
|
686
|
+
}
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
export const SaveChat = async (parsedInput: z.infer<typeof SaveChatSchema>) => {
|
|
690
|
+
try {
|
|
691
|
+
const { emploid } = await getSDKForService();
|
|
692
|
+
//@ts-ignore
|
|
693
|
+
const app = await emploid.SaveChat(parsedInput);
|
|
694
|
+
return app;
|
|
695
|
+
} catch (error) {
|
|
696
|
+
if (error instanceof AppcondaException) {
|
|
697
|
+
throw new Error(error.message);
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
throw error;
|
|
701
|
+
}
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
export const DeleteChatById = async (parsedInput: z.infer<typeof DeleteChatByIdSchema>) => {
|
|
705
|
+
try {
|
|
706
|
+
const { emploid } = await getSDKForService();
|
|
707
|
+
//@ts-ignore
|
|
708
|
+
const app = await emploid.DeleteChatById(parsedInput);
|
|
709
|
+
return app;
|
|
710
|
+
} catch (error) {
|
|
711
|
+
if (error instanceof AppcondaException) {
|
|
712
|
+
throw new Error(error.message);
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
throw error;
|
|
716
|
+
}
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
export const GetChatById = async (parsedInput: z.infer<typeof GetChatByIdSchema>) => {
|
|
720
|
+
try {
|
|
721
|
+
const { emploid } = await getSDKForService();
|
|
722
|
+
//@ts-ignore
|
|
723
|
+
const app = await emploid.GetChatById(parsedInput);
|
|
724
|
+
return app;
|
|
725
|
+
} catch (error) {
|
|
726
|
+
if (error instanceof AppcondaException) {
|
|
727
|
+
throw new Error(error.message);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
throw error;
|
|
731
|
+
}
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
export const GetChatsByUserId = async (parsedInput: z.infer<typeof GetChatsByUserIdSchema>) => {
|
|
735
|
+
try {
|
|
736
|
+
const { emploid } = await getSDKForService();
|
|
737
|
+
//@ts-ignore
|
|
738
|
+
const app = await emploid.GetChatsByUserId(parsedInput);
|
|
739
|
+
return app;
|
|
740
|
+
} catch (error) {
|
|
741
|
+
if (error instanceof AppcondaException) {
|
|
742
|
+
throw new Error(error.message);
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
throw error;
|
|
746
|
+
}
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
export const SaveMessages = async (parsedInput: z.infer<typeof SaveMessagesSchema>) => {
|
|
750
|
+
try {
|
|
751
|
+
const { emploid } = await getSDKForService();
|
|
752
|
+
//@ts-ignore
|
|
753
|
+
const app = await emploid.SaveMessages(parsedInput);
|
|
754
|
+
return app;
|
|
755
|
+
} catch (error) {
|
|
756
|
+
if (error instanceof AppcondaException) {
|
|
757
|
+
throw new Error(error.message);
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
throw error;
|
|
761
|
+
}
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
export const GetMessagesByChatId = async (parsedInput: z.infer<typeof GetMessagesByChatIdSchema>) => {
|
|
765
|
+
try {
|
|
766
|
+
const { emploid } = await getSDKForService();
|
|
767
|
+
//@ts-ignore
|
|
768
|
+
const app = await emploid.GetMessagesByChatId(parsedInput);
|
|
769
|
+
return app;
|
|
770
|
+
} catch (error) {
|
|
771
|
+
if (error instanceof AppcondaException) {
|
|
772
|
+
throw new Error(error.message);
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
throw error;
|
|
776
|
+
}
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
export const GetMessageById = async (parsedInput: z.infer<typeof GetMessageByIdSchema>) => {
|
|
780
|
+
try {
|
|
781
|
+
const { emploid } = await getSDKForService();
|
|
782
|
+
//@ts-ignore
|
|
783
|
+
const app = await emploid.GetMessageById(parsedInput);
|
|
784
|
+
return app;
|
|
785
|
+
} catch (error) {
|
|
786
|
+
if (error instanceof AppcondaException) {
|
|
787
|
+
throw new Error(error.message);
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
throw error;
|
|
791
|
+
}
|
|
792
|
+
};
|
|
793
|
+
|
|
794
|
+
export const VoteMessage = async (parsedInput: z.infer<typeof VoteMessageSchema>) => {
|
|
795
|
+
try {
|
|
796
|
+
const { emploid } = await getSDKForService();
|
|
797
|
+
//@ts-ignore
|
|
798
|
+
const app = await emploid.VoteMessage(parsedInput);
|
|
799
|
+
return app;
|
|
800
|
+
} catch (error) {
|
|
801
|
+
if (error instanceof AppcondaException) {
|
|
802
|
+
throw new Error(error.message);
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
throw error;
|
|
806
|
+
}
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
export const GetVotesByChatId = async (parsedInput: z.infer<typeof GetVotesByChatIdSchema>) => {
|
|
810
|
+
try {
|
|
811
|
+
const { emploid } = await getSDKForService();
|
|
812
|
+
//@ts-ignore
|
|
813
|
+
const app = await emploid.GetVotesByChatId(parsedInput);
|
|
814
|
+
return app;
|
|
815
|
+
} catch (error) {
|
|
816
|
+
if (error instanceof AppcondaException) {
|
|
817
|
+
throw new Error(error.message);
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
throw error;
|
|
821
|
+
}
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
export const DeleteDocumentsByIdAfterTimestamp = async (parsedInput: z.infer<typeof DeleteDocumentsByIdAfterTimestampSchema>) => {
|
|
825
|
+
try {
|
|
826
|
+
const { emploid } = await getSDKForService();
|
|
827
|
+
//@ts-ignore
|
|
828
|
+
const app = await emploid.DeleteDocumentsByIdAfterTimestamp(parsedInput);
|
|
829
|
+
return app;
|
|
830
|
+
} catch (error) {
|
|
831
|
+
if (error instanceof AppcondaException) {
|
|
832
|
+
throw new Error(error.message);
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
throw error;
|
|
836
|
+
}
|
|
837
|
+
};
|
|
838
|
+
|
|
839
|
+
export const SaveSuggestions = async (parsedInput: z.infer<typeof SaveSuggestionsSchema>) => {
|
|
840
|
+
try {
|
|
841
|
+
const { emploid } = await getSDKForService();
|
|
842
|
+
//@ts-ignore
|
|
843
|
+
const app = await emploid.SaveSuggestions(parsedInput);
|
|
844
|
+
return app;
|
|
845
|
+
} catch (error) {
|
|
846
|
+
if (error instanceof AppcondaException) {
|
|
847
|
+
throw new Error(error.message);
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
throw error;
|
|
851
|
+
}
|
|
852
|
+
};
|
|
853
|
+
|
|
854
|
+
export const GetSuggestionsByDocumentId = async (parsedInput: z.infer<typeof GetSuggestionsByDocumentIdSchema>) => {
|
|
855
|
+
try {
|
|
856
|
+
const { emploid } = await getSDKForService();
|
|
857
|
+
//@ts-ignore
|
|
858
|
+
const app = await emploid.GetSuggestionsByDocumentId(parsedInput);
|
|
859
|
+
return app;
|
|
860
|
+
} catch (error) {
|
|
861
|
+
if (error instanceof AppcondaException) {
|
|
862
|
+
throw new Error(error.message);
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
throw error;
|
|
866
|
+
}
|
|
867
|
+
};
|
|
868
|
+
|
|
869
|
+
export const DeleteMessagesByChatIdAfterTimestamp = async (parsedInput: z.infer<typeof DeleteMessagesByChatIdAfterTimestampSchema>) => {
|
|
870
|
+
try {
|
|
871
|
+
const { emploid } = await getSDKForService();
|
|
872
|
+
//@ts-ignore
|
|
873
|
+
const app = await emploid.DeleteMessagesByChatIdAfterTimestamp(parsedInput);
|
|
874
|
+
return app;
|
|
875
|
+
} catch (error) {
|
|
876
|
+
if (error instanceof AppcondaException) {
|
|
877
|
+
throw new Error(error.message);
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
throw error;
|
|
881
|
+
}
|
|
882
|
+
};
|
|
883
|
+
|
|
884
|
+
export const UpdateChatVisiblityById = async (parsedInput: z.infer<typeof UpdateChatVisiblityByIdSchema>) => {
|
|
885
|
+
try {
|
|
886
|
+
const { emploid } = await getSDKForService();
|
|
887
|
+
//@ts-ignore
|
|
888
|
+
const app = await emploid.UpdateChatVisiblityById(parsedInput);
|
|
889
|
+
return app;
|
|
890
|
+
} catch (error) {
|
|
891
|
+
if (error instanceof AppcondaException) {
|
|
892
|
+
throw new Error(error.message);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
throw error;
|
|
896
|
+
}
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
export const UpdateChatLastContextById = async (parsedInput: z.infer<typeof UpdateChatLastContextByIdSchema>) => {
|
|
900
|
+
try {
|
|
901
|
+
const { emploid } = await getSDKForService();
|
|
902
|
+
//@ts-ignore
|
|
903
|
+
const app = await emploid.UpdateChatLastContextById(parsedInput);
|
|
904
|
+
return app;
|
|
905
|
+
} catch (error) {
|
|
906
|
+
if (error instanceof AppcondaException) {
|
|
907
|
+
throw new Error(error.message);
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
throw error;
|
|
911
|
+
}
|
|
912
|
+
};
|
|
913
|
+
|
|
914
|
+
export const GetMessageCountByUserId = async (parsedInput: z.infer<typeof GetMessageCountByUserIdSchema>) => {
|
|
915
|
+
try {
|
|
916
|
+
const { emploid } = await getSDKForService();
|
|
917
|
+
//@ts-ignore
|
|
918
|
+
const app = await emploid.GetMessageCountByUserId(parsedInput);
|
|
919
|
+
return app;
|
|
920
|
+
} catch (error) {
|
|
921
|
+
if (error instanceof AppcondaException) {
|
|
922
|
+
throw new Error(error.message);
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
throw error;
|
|
926
|
+
}
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
export const CreateStreamId = async (parsedInput: z.infer<typeof CreateStreamIdSchema>) => {
|
|
930
|
+
try {
|
|
931
|
+
const { emploid } = await getSDKForService();
|
|
932
|
+
//@ts-ignore
|
|
933
|
+
const app = await emploid.CreateStreamId(parsedInput);
|
|
934
|
+
return app;
|
|
935
|
+
} catch (error) {
|
|
936
|
+
if (error instanceof AppcondaException) {
|
|
937
|
+
throw new Error(error.message);
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
throw error;
|
|
941
|
+
}
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
export const GetStreamIdsByChatId = async (parsedInput: z.infer<typeof GetStreamIdsByChatIdSchema>) => {
|
|
945
|
+
try {
|
|
946
|
+
const { emploid } = await getSDKForService();
|
|
947
|
+
//@ts-ignore
|
|
948
|
+
const app = await emploid.GetStreamIdsByChatId(parsedInput);
|
|
949
|
+
return app;
|
|
950
|
+
} catch (error) {
|
|
951
|
+
if (error instanceof AppcondaException) {
|
|
952
|
+
throw new Error(error.message);
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
throw error;
|
|
956
|
+
}
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
export const SaveDocument = async (parsedInput: z.infer<typeof SaveDocumentSchema>) => {
|
|
960
|
+
try {
|
|
961
|
+
const { emploid } = await getSDKForService();
|
|
962
|
+
//@ts-ignore
|
|
963
|
+
const app = await emploid.SaveDocument(parsedInput);
|
|
964
|
+
return app;
|
|
965
|
+
} catch (error) {
|
|
966
|
+
if (error instanceof AppcondaException) {
|
|
967
|
+
throw new Error(error.message);
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
throw error;
|
|
971
|
+
}
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
export const GetDocumentById = async (parsedInput: z.infer<typeof GetDocumentByIdSchema>) => {
|
|
975
|
+
try {
|
|
976
|
+
const { emploid } = await getSDKForService();
|
|
977
|
+
//@ts-ignore
|
|
978
|
+
const app = await emploid.GetDocumentById(parsedInput);
|
|
979
|
+
return app;
|
|
980
|
+
} catch (error) {
|
|
981
|
+
if (error instanceof AppcondaException) {
|
|
982
|
+
throw new Error(error.message);
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
throw error;
|
|
986
|
+
}
|
|
987
|
+
};
|
|
988
|
+
|
|
989
|
+
export const GetDocumentsById = async (parsedInput: z.infer<typeof GetDocumentsByIdSchema>) => {
|
|
990
|
+
try {
|
|
991
|
+
const { emploid } = await getSDKForService();
|
|
992
|
+
//@ts-ignore
|
|
993
|
+
const app = await emploid.GetDocumentsById(parsedInput);
|
|
994
|
+
return app;
|
|
995
|
+
} catch (error) {
|
|
996
|
+
if (error instanceof AppcondaException) {
|
|
997
|
+
throw new Error(error.message);
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
throw error;
|
|
1001
|
+
}
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
export const CreateSkill = async (parsedInput: z.infer<typeof CreateSkillSchema>) => {
|
|
1005
|
+
try {
|
|
1006
|
+
const { emploid } = await getSDKForService();
|
|
1007
|
+
//@ts-ignore
|
|
1008
|
+
const app = await emploid.CreateSkill(parsedInput);
|
|
1009
|
+
return app;
|
|
1010
|
+
} catch (error) {
|
|
1011
|
+
if (error instanceof AppcondaException) {
|
|
1012
|
+
throw new Error(error.message);
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
throw error;
|
|
1016
|
+
}
|
|
1017
|
+
};
|
|
1018
|
+
|
|
1019
|
+
export const UpdateSkill = async (parsedInput: z.infer<typeof UpdateSkillSchema>) => {
|
|
1020
|
+
try {
|
|
1021
|
+
const { emploid } = await getSDKForService();
|
|
1022
|
+
//@ts-ignore
|
|
1023
|
+
const app = await emploid.UpdateSkill(parsedInput);
|
|
1024
|
+
return app;
|
|
1025
|
+
} catch (error) {
|
|
1026
|
+
if (error instanceof AppcondaException) {
|
|
1027
|
+
throw new Error(error.message);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
throw error;
|
|
1031
|
+
}
|
|
1032
|
+
};
|
|
1033
|
+
|
|
1034
|
+
export const DeleteSkill = async (parsedInput: z.infer<typeof DeleteSkillSchema>) => {
|
|
1035
|
+
try {
|
|
1036
|
+
const { emploid } = await getSDKForService();
|
|
1037
|
+
//@ts-ignore
|
|
1038
|
+
const app = await emploid.DeleteSkill(parsedInput);
|
|
1039
|
+
return app;
|
|
1040
|
+
} catch (error) {
|
|
1041
|
+
if (error instanceof AppcondaException) {
|
|
1042
|
+
throw new Error(error.message);
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
throw error;
|
|
1046
|
+
}
|
|
1047
|
+
};
|
|
1048
|
+
|
|
1049
|
+
export const ListSkills = async (parsedInput: z.infer<typeof ListSkillsSchema>) => {
|
|
1050
|
+
try {
|
|
1051
|
+
const { emploid } = await getSDKForService();
|
|
1052
|
+
//@ts-ignore
|
|
1053
|
+
const app = await emploid.ListSkills(parsedInput);
|
|
1054
|
+
return app;
|
|
1055
|
+
} catch (error) {
|
|
1056
|
+
if (error instanceof AppcondaException) {
|
|
1057
|
+
throw new Error(error.message);
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
throw error;
|
|
1061
|
+
}
|
|
1062
|
+
};
|
|
1063
|
+
|