@appconda/sdk 1.0.639 → 1.0.643
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/EmploidClient.d.ts +52 -0
- package/dist/EmploidClient.js +78 -0
- package/dist/client.d.ts +149 -0
- package/dist/client.js +408 -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 +14 -0
- package/dist/getAppcondaClient.js +60 -0
- package/dist/getSDKForService.d.ts +22 -0
- package/dist/getSDKForService.js +72 -0
- package/dist/id.d.ts +20 -0
- package/dist/id.js +45 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +6 -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/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/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/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/index.d.ts +3 -0
- package/dist/modules/agent/index.js +4 -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/index.d.ts +1 -0
- package/dist/modules/ai/node/index.js +2 -0
- package/dist/modules/ai/node/service.d.ts +5 -0
- package/dist/modules/ai/node/service.js +12 -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 +20 -0
- package/dist/modules/bpm/types.d.ts +9 -0
- package/dist/modules/bpm/types.js +2 -0
- package/dist/modules/builder/index.d.ts +3 -0
- package/dist/modules/builder/index.js +4 -0
- package/dist/modules/builder/schema.d.ts +92 -0
- package/dist/modules/builder/schema.js +93 -0
- package/dist/modules/builder/service.d.ts +25 -0
- package/dist/modules/builder/service.js +61 -0
- package/dist/modules/builder/types.d.ts +100 -0
- package/dist/modules/builder/types.js +2 -0
- package/dist/modules/datasource/index.d.ts +3 -0
- package/dist/modules/datasource/index.js +4 -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/index.d.ts +3 -0
- package/dist/modules/emploid/index.js +4 -0
- package/dist/modules/emploid/schema.d.ts +1831 -0
- package/dist/modules/emploid/schema.js +1710 -0
- package/dist/modules/emploid/service.d.ts +336 -0
- package/dist/modules/emploid/service.js +998 -0
- package/dist/modules/emploid/types.d.ts +660 -0
- package/dist/modules/emploid/types.js +2 -0
- package/dist/modules/google/index.d.ts +3 -0
- package/dist/modules/google/index.js +4 -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 +2 -0
- package/dist/modules/hooks/index.js +3 -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/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 +18 -0
- package/dist/modules/index.js +19 -0
- package/dist/modules/mail/index.d.ts +3 -0
- package/dist/modules/mail/index.js +4 -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/index.d.ts +3 -0
- package/dist/modules/notion/index.js +4 -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/index.d.ts +3 -0
- package/dist/modules/organization/index.js +4 -0
- package/dist/modules/organization/schema.d.ts +65 -0
- package/dist/modules/organization/schema.js +56 -0
- package/dist/modules/organization/service.d.ts +20 -0
- package/dist/modules/organization/service.js +46 -0
- package/dist/modules/organization/types.d.ts +55 -0
- package/dist/modules/organization/types.js +2 -0
- package/dist/modules/scheduled-job/index.d.ts +5 -0
- package/dist/modules/scheduled-job/index.js +6 -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/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/scrapflow/index.d.ts +2 -0
- package/dist/modules/scrapflow/index.js +3 -0
- package/dist/modules/scrapflow/schema.d.ts +105 -0
- package/dist/modules/scrapflow/schema.js +106 -0
- package/dist/modules/scrapflow/service.d.ts +24 -0
- package/dist/modules/scrapflow/service.js +61 -0
- package/dist/modules/scrapflow/types.d.ts +0 -0
- package/dist/modules/scrapflow/types.js +1 -0
- package/dist/modules/task/index.d.ts +3 -0
- package/dist/modules/task/index.js +4 -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/index.d.ts +2 -0
- package/dist/modules/tenant/index.js +3 -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/index.d.ts +3 -0
- package/dist/modules/waitlist/index.js +4 -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/service-client.d.ts +10 -0
- package/dist/service-client.js +31 -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/package.json +1 -1
- package/src/modules/emploid/schema.ts +19 -0
- package/src/modules/emploid/service.ts +22 -1
- package/src/modules/emploid/types.ts +10 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@appconda/sdk",
|
|
3
3
|
"homepage": "https://appconda.io/support",
|
|
4
4
|
"description": "Appconda is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.643",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -229,6 +229,8 @@ export const CreateAgentFlowFolderSchema = z.object({
|
|
|
229
229
|
tenantId: z.string(),
|
|
230
230
|
name: z.string(),
|
|
231
231
|
description: z.string().optional(),
|
|
232
|
+
visibility: z.enum(["public", "private"]).optional(),
|
|
233
|
+
ownerId: z.string().nullable().optional(),
|
|
232
234
|
});
|
|
233
235
|
|
|
234
236
|
export const UpdateAgentFlowFolderSchema = z.object({
|
|
@@ -246,6 +248,10 @@ export const ListAgentFlowFoldersSchema = z.object({
|
|
|
246
248
|
tenantId: z.string(),
|
|
247
249
|
});
|
|
248
250
|
|
|
251
|
+
export const GetPrivateAgentFlowFolderSchema = z.object({
|
|
252
|
+
tenantId: z.string(),
|
|
253
|
+
});
|
|
254
|
+
|
|
249
255
|
export const ListDriveItemsSchema = z.object({
|
|
250
256
|
tenantId: z.string(),
|
|
251
257
|
folderId: z.string().optional(),
|
|
@@ -905,6 +911,13 @@ export const ExportDataModelSchema = z.object({
|
|
|
905
911
|
includeData: z.boolean().optional(),
|
|
906
912
|
});
|
|
907
913
|
|
|
914
|
+
export const ImportDataModelSchema = z.object({
|
|
915
|
+
tenantId: z.string(),
|
|
916
|
+
exportData: z.object({}).catchall(z.any()),
|
|
917
|
+
includeData: z.boolean().optional(),
|
|
918
|
+
actor: z.string().optional(),
|
|
919
|
+
});
|
|
920
|
+
|
|
908
921
|
export const HardDeleteDataModelSchema = z.object({
|
|
909
922
|
tenantId: z.string(),
|
|
910
923
|
dataModelId: z.string(),
|
|
@@ -1887,6 +1900,12 @@ export const ListWikiPagesSchema = z.object({
|
|
|
1887
1900
|
workspaceId: z.string(),
|
|
1888
1901
|
});
|
|
1889
1902
|
|
|
1903
|
+
export const SetWikiPageUserStateSchema = z.object({
|
|
1904
|
+
pageId: z.string(),
|
|
1905
|
+
isFavorite: z.boolean().optional(),
|
|
1906
|
+
isWatching: z.boolean().optional(),
|
|
1907
|
+
});
|
|
1908
|
+
|
|
1890
1909
|
export const UploadEditorFileSchema = z.object({
|
|
1891
1910
|
fileName: z.string(),
|
|
1892
1911
|
fileType: z.string().optional(),
|
|
@@ -3,8 +3,9 @@ import z from "zod";
|
|
|
3
3
|
import { ServiceClient } from "../../service-client";
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
import { AggregateRecordsSchema, BulkCreateRecordsSchema, BulkDeleteRecordsSchema, BulkUpdateRecordsSchema, ChangeAgentflowProjectSchema, CheckRecordPermissionSchema, ConnectTrelloImportCredentialSchema, CountRecordsSchema, CreateAgentFlowFolderSchema, CreateAgentFlowSchema, CreateAssistantChannelSchema, CreateAssistantConstraintSchema, CreateAssistantDatasourceSchema, CreateAssistantInstructionSchema, CreateAssistantSchema, CreateAssistantSkillSchema, CreateChannelSchema, CreateCollectionAutomationRuleSchema, CreateCollectionButtonSchema, CreateCollectionFieldSchema, CreateCollectionRelationSchema, CreateCollectionSchema, CreateCollectionViewSchema, CreateCommandSchema, CreateCompetencySchema, CreateConstraintSchema, CreateDataModelSchema, CreateDatasourceSchema, CreateDomainTopicSchema, CreateDriveFolderSchema, CreateDriveRootFolderSchema, CreateDriveRootSchema, CreateEmploidSchema, CreateExtensionSchema, CreateInputSchema, CreateInstructionSchema, CreateJobDefinitionSchema, CreateKnowledgeSchema, CreateOccupationSchema, CreateRecordSchema, CreateScopeSchema, CreateSkillSchema, CreateStreamIdSchema, CreateTaskTemplateSchema, CreateTeamSchema, CreateTopicSchema, CreateWikiCommentSchema, CreateWikiPageSchema, CreateWikiRevisionSchema, CreateWorkerSchema, CreateWorkerTopicSchema, DeleteAgentFlowFolderSchema, DeleteAgentFlowSchema, DeleteAssistantChannelSchema, DeleteAssistantDatasourceSchema, DeleteAssistantSchema, DeleteAssistantSkillSchema, DeleteChannelSchema, DeleteChatByIdSchema, DeleteCollectionAutomationRuleSchema, DeleteCollectionButtonSchema, DeleteCollectionFieldSchema, DeleteCollectionRelationSchema, DeleteCollectionViewSchema, DeleteCommandSchema, DeleteCompetencySchema, DeleteConstraintSchema, DeleteDataModelSchema, DeleteDatasourceSchema, DeleteDocumentsByIdAfterTimestampSchema, DeleteDomainTopicSchema, DeleteDriveItemSchema, DeleteDriveRootItemSchema, DeleteDriveRootSchema, DeleteEmploidSchema, DeleteExtensionSchema, DeleteInputSchema, DeleteInstructionSchema, DeleteJobDefinitionSchema, DeleteKnowledgeSchema, DeleteMessagesByChatIdAfterTimestampSchema, DeleteOccupationSchema, DeleteRecordSchema, DeleteScopeSchema, DeleteSkillSchema, DeleteTaskTemplateSchema, DeleteTeamSchema, DeleteTopicSchema, DeleteWikiCommentSchema, DeleteWikiPageSchema, DeleteWorkerSchema, DeleteWorkerTopicSchema, DistinctFieldValuesSchema, DuplicateAgentFlowSchema, DuplicateRecordSchema, EnhanceTopicSchema, EnsureAirtableImportCredentialSchema, EnsureDriveProviderCredentialSchema, EnsureGmailImportCredentialSchema, EnsureGithubImportCredentialSchema, EnsureJiraImportCredentialSchema, EnsureLinearImportCredentialSchema, EnsureNotionImportCredentialSchema, EnsureTrelloImportCredentialSchema, ExecuteCollectionAiFieldSchema, ExecuteCollectionButtonSchema, ExportDataModelSchema, GetChatByIdSchema, GetChatsByUserIdSchema, GetCollectionByIdSchema, GetCollectionSchemaSchema, GetDataModelByIdSchema, GetDocumentByIdSchema, GetDocumentsByIdSchema, GetDriveDeleteImpactSchema, GetDriveRootDeleteImpactSchema, GetLatestWikiRevisionSchema, GetMarketStoreItemSchema, GetMessageByIdSchema, GetMessageCountByUserIdSchema, GetMessagesByChatIdSchema, GetRecordByIdSchema, GetRecordRelationsSchema, GetScopeByTypeSchema, GetStreamIdsByChatIdSchema, GetSuggestionsByDocumentIdSchema, GetVotesByChatIdSchema, GetWikiPageByIdSchema, GetWikiPageBySlugSchema, GetWikiRevisionByIdSchema, GetWikiTreeSchema, GrantRecordPermissionSchema, GroupRecordsSchema, HardDeleteDataModelSchema, ListAgentFlowFoldersSchema, ListAgentFlowsSchema, ListAirtableImportSourcesSchema, ListAssistantChannelsSchema, ListAssistantConstraintsSchema, ListAssistantDatasourcesSchema, ListAssistantInstructionsSchema, ListAssistantSkillsSchema, ListAssistantsSchema, ListChannelsSchema, ListChatHistorySchema, ListCollectionAutomationRulesSchema, ListCollectionButtonsSchema, ListCollectionRelationsSchema, ListCollectionsSchema, ListCollectionViewsSchema, ListCommandsSchema, ListCompetenciesSchema, ListConstraintsSchema, ListDataModelsSchema, ListDatasourcesSchema, ListDomainTopicsSchema, ListDriveItemsSchema, ListDriveProviderFoldersSchema, ListDriveRootItemsSchema, ListDriveRootsSchema, ListDriveRootTreeSchema, ListDriveTreeSchema, ListEmploidsPaginatedSchema, ListEmploidsSchema, ListExtensionsSchema, ListGmailImportSourcesSchema, ListGithubImportSourcesSchema, ListInputSchema, ListInstructionsSchema, ListJiraImportSourcesSchema, ListJobDefinitionSchema, ListKnowledgesSchema, ListLinearImportSourcesSchema, ListMarketStoreItemsSchema, ListNotionImportSourcesSchema, ListOccupationsSchema, ListRecordPermissionsSchema, ListRecordsSchema, ListRelationCandidatesSchema, ListScopesSchema, ListSkillsSchema, ListTaskTemplatesSchema, ListTeamsSchema, ListTopicsSchema, ListTrelloImportSourcesSchema, ListWikiCommentsSchema, ListWikiPagesSchema, ListWorkersSchema, ListWorkerTopicsSchema, MoveDriveItemSchema, MoveDriveRootItemSchema, PrepareDriveUploadSchema, PreviewAirtableImportSchema, PreviewCsvImportSchema, PreviewGmailImportSchema, PreviewGithubImportSchema, PreviewJiraImportSchema, PreviewLinearImportSchema, PreviewNotionImportSchema, PreviewTrelloImportSchema, PreviewValidationErrorsSchema, PublishDomainSchema, PublishEmploidSchema, PublishWorkerToMarketStoreSchema, QueryRecordsSchema, ReadDriveRootFileContentSchema, RenameDriveItemSchema, RenameDriveRootItemSchema, ReorderCollectionFieldsSchema, ResolveCollectionFileViewSchema, ResolveDriveDownloadSchema, ResolveDriveRootDownloadSchema, ResolveScopeFileViewSchema, ResolveWikiFileViewSchema, RestoreDataModelSchema, RestoreRecordSchema, RestoreWikiPageSchema, RevokeRecordPermissionSchema, RunAirtableImportSchema, RunCsvImportSchema, RunGmailImportSchema, RunGithubImportSchema, RunJiraImportSchema, RunLinearImportSchema, RunNotionImportSchema, RunTrelloImportSchema, SaveChatSchema, SaveDocumentSchema, SaveMessagesSchema, SaveSuggestionsSchema, SearchDriveItemsSchema, SearchDriveRootItemsSchema, SearchRecordsSchema, UpdateAgentFlowFolderSchema, UpdateAgentFlowSchema, UpdateAssistantChannelSchema, UpdateAssistantDatasourceSchema, UpdateAssistantSchema, UpdateAssistantSkillSchema, UpdateChannelSchema, UpdateChatLastContextByIdSchema, UpdateChatVisiblityByIdSchema, UpdateCollectionAutomationRuleSchema, UpdateCollectionButtonSchema, UpdateCollectionFieldSchema, UpdateCollectionRelationSchema, UpdateCollectionViewSchema, UpdateCommandSchema, UpdateCompetencySchema, UpdateConstraintSchema, UpdateDataModelSchema, UpdateDatasourceSchema, UpdateDomainTopicSchema, UpdateEmploidSchema, UpdateExtensionSchema, UpdateInputSchema, UpdateInstructionSchema, UpdateJobDefinitionSchema, UpdateKnowledgeSchema, UpdateOccupationSchema, UpdateRecordSchema, UpdateScopeSchema, UpdateSkillSchema, UpdateTaskTemplateSchema, UpdateTeamSchema, UpdateTopicSchema, UpdateWikiCommentSchema, UpdateWikiPageSchema, UpdateWorkerSchema, UpdateWorkerTopicSchema, UploadCollectionFileSchema, UploadDriveRootFilesSchema, UploadEditorFileSchema, UpsertRecordSchema, ValidateRecordSchema, VoteMessageSchema } from "./schema";
|
|
6
|
+
import { AggregateRecordsSchema, BulkCreateRecordsSchema, BulkDeleteRecordsSchema, BulkUpdateRecordsSchema, ChangeAgentflowProjectSchema, CheckRecordPermissionSchema, ConnectTrelloImportCredentialSchema, CountRecordsSchema, CreateAgentFlowFolderSchema, CreateAgentFlowSchema, CreateAssistantChannelSchema, CreateAssistantConstraintSchema, CreateAssistantDatasourceSchema, CreateAssistantInstructionSchema, CreateAssistantSchema, CreateAssistantSkillSchema, CreateChannelSchema, CreateCollectionAutomationRuleSchema, CreateCollectionButtonSchema, CreateCollectionFieldSchema, CreateCollectionRelationSchema, CreateCollectionSchema, CreateCollectionViewSchema, CreateCommandSchema, CreateCompetencySchema, CreateConstraintSchema, CreateDataModelSchema, CreateDatasourceSchema, CreateDomainTopicSchema, CreateDriveFolderSchema, CreateDriveRootFolderSchema, CreateDriveRootSchema, CreateEmploidSchema, CreateExtensionSchema, CreateInputSchema, CreateInstructionSchema, CreateJobDefinitionSchema, CreateKnowledgeSchema, CreateOccupationSchema, CreateRecordSchema, CreateScopeSchema, CreateSkillSchema, CreateStreamIdSchema, CreateTaskTemplateSchema, CreateTeamSchema, CreateTopicSchema, CreateWikiCommentSchema, CreateWikiPageSchema, CreateWikiRevisionSchema, CreateWorkerSchema, CreateWorkerTopicSchema, DeleteAgentFlowFolderSchema, DeleteAgentFlowSchema, DeleteAssistantChannelSchema, DeleteAssistantDatasourceSchema, DeleteAssistantSchema, DeleteAssistantSkillSchema, DeleteChannelSchema, DeleteChatByIdSchema, DeleteCollectionAutomationRuleSchema, DeleteCollectionButtonSchema, DeleteCollectionFieldSchema, DeleteCollectionRelationSchema, DeleteCollectionViewSchema, DeleteCommandSchema, DeleteCompetencySchema, DeleteConstraintSchema, DeleteDataModelSchema, DeleteDatasourceSchema, DeleteDocumentsByIdAfterTimestampSchema, DeleteDomainTopicSchema, DeleteDriveItemSchema, DeleteDriveRootItemSchema, DeleteDriveRootSchema, DeleteEmploidSchema, DeleteExtensionSchema, DeleteInputSchema, DeleteInstructionSchema, DeleteJobDefinitionSchema, DeleteKnowledgeSchema, DeleteMessagesByChatIdAfterTimestampSchema, DeleteOccupationSchema, DeleteRecordSchema, DeleteScopeSchema, DeleteSkillSchema, DeleteTaskTemplateSchema, DeleteTeamSchema, DeleteTopicSchema, DeleteWikiCommentSchema, DeleteWikiPageSchema, DeleteWorkerSchema, DeleteWorkerTopicSchema, DistinctFieldValuesSchema, DuplicateAgentFlowSchema, DuplicateRecordSchema, EnhanceTopicSchema, EnsureAirtableImportCredentialSchema, EnsureDriveProviderCredentialSchema, EnsureGmailImportCredentialSchema, EnsureGithubImportCredentialSchema, EnsureJiraImportCredentialSchema, EnsureLinearImportCredentialSchema, EnsureNotionImportCredentialSchema, EnsureTrelloImportCredentialSchema, ExecuteCollectionAiFieldSchema, ExecuteCollectionButtonSchema, ExportDataModelSchema, GetChatByIdSchema, GetChatsByUserIdSchema, GetCollectionByIdSchema, GetCollectionSchemaSchema, GetDataModelByIdSchema, GetDocumentByIdSchema, GetDocumentsByIdSchema, GetDriveDeleteImpactSchema, GetDriveRootDeleteImpactSchema, GetLatestWikiRevisionSchema, GetMarketStoreItemSchema, GetMessageByIdSchema, GetMessageCountByUserIdSchema, GetMessagesByChatIdSchema, GetPrivateAgentFlowFolderSchema, GetRecordByIdSchema, GetRecordRelationsSchema, GetScopeByTypeSchema, GetStreamIdsByChatIdSchema, GetSuggestionsByDocumentIdSchema, GetVotesByChatIdSchema, GetWikiPageByIdSchema, GetWikiPageBySlugSchema, GetWikiRevisionByIdSchema, GetWikiTreeSchema, GrantRecordPermissionSchema, GroupRecordsSchema, HardDeleteDataModelSchema, ListAgentFlowFoldersSchema, ListAgentFlowsSchema, ListAirtableImportSourcesSchema, ListAssistantChannelsSchema, ListAssistantConstraintsSchema, ListAssistantDatasourcesSchema, ListAssistantInstructionsSchema, ListAssistantSkillsSchema, ListAssistantsSchema, ListChannelsSchema, ListChatHistorySchema, ListCollectionAutomationRulesSchema, ListCollectionButtonsSchema, ListCollectionRelationsSchema, ListCollectionsSchema, ListCollectionViewsSchema, ListCommandsSchema, ListCompetenciesSchema, ListConstraintsSchema, ListDataModelsSchema, ListDatasourcesSchema, ListDomainTopicsSchema, ListDriveItemsSchema, ListDriveProviderFoldersSchema, ListDriveRootItemsSchema, ListDriveRootsSchema, ListDriveRootTreeSchema, ListDriveTreeSchema, ListEmploidsPaginatedSchema, ListEmploidsSchema, ListExtensionsSchema, ListGmailImportSourcesSchema, ListGithubImportSourcesSchema, ListInputSchema, ListInstructionsSchema, ListJiraImportSourcesSchema, ListJobDefinitionSchema, ListKnowledgesSchema, ListLinearImportSourcesSchema, ListMarketStoreItemsSchema, ListNotionImportSourcesSchema, ListOccupationsSchema, ListRecordPermissionsSchema, ListRecordsSchema, ListRelationCandidatesSchema, ListScopesSchema, ListSkillsSchema, ListTaskTemplatesSchema, ListTeamsSchema, ListTopicsSchema, ListTrelloImportSourcesSchema, ListWikiCommentsSchema, ListWikiPagesSchema, ListWorkersSchema, ListWorkerTopicsSchema, MoveDriveItemSchema, MoveDriveRootItemSchema, PrepareDriveUploadSchema, PreviewAirtableImportSchema, PreviewCsvImportSchema, PreviewGmailImportSchema, PreviewGithubImportSchema, PreviewJiraImportSchema, PreviewLinearImportSchema, PreviewNotionImportSchema, PreviewTrelloImportSchema, PreviewValidationErrorsSchema, PublishDomainSchema, PublishEmploidSchema, PublishWorkerToMarketStoreSchema, QueryRecordsSchema, ReadDriveRootFileContentSchema, RenameDriveItemSchema, RenameDriveRootItemSchema, ReorderCollectionFieldsSchema, ResolveCollectionFileViewSchema, ResolveDriveDownloadSchema, ResolveDriveRootDownloadSchema, ResolveScopeFileViewSchema, ResolveWikiFileViewSchema, RestoreDataModelSchema, RestoreRecordSchema, RestoreWikiPageSchema, RevokeRecordPermissionSchema, RunAirtableImportSchema, RunCsvImportSchema, RunGmailImportSchema, RunGithubImportSchema, RunJiraImportSchema, RunLinearImportSchema, RunNotionImportSchema, RunTrelloImportSchema, SaveChatSchema, SaveDocumentSchema, SaveMessagesSchema, SaveSuggestionsSchema, SearchDriveItemsSchema, SearchDriveRootItemsSchema, SearchRecordsSchema, SetWikiPageUserStateSchema, UpdateAgentFlowFolderSchema, UpdateAgentFlowSchema, UpdateAssistantChannelSchema, UpdateAssistantDatasourceSchema, UpdateAssistantSchema, UpdateAssistantSkillSchema, UpdateChannelSchema, UpdateChatLastContextByIdSchema, UpdateChatVisiblityByIdSchema, UpdateCollectionAutomationRuleSchema, UpdateCollectionButtonSchema, UpdateCollectionFieldSchema, UpdateCollectionRelationSchema, UpdateCollectionViewSchema, UpdateCommandSchema, UpdateCompetencySchema, UpdateConstraintSchema, UpdateDataModelSchema, UpdateDatasourceSchema, UpdateDomainTopicSchema, UpdateEmploidSchema, UpdateExtensionSchema, UpdateInputSchema, UpdateInstructionSchema, UpdateJobDefinitionSchema, UpdateKnowledgeSchema, UpdateOccupationSchema, UpdateRecordSchema, UpdateScopeSchema, UpdateSkillSchema, UpdateTaskTemplateSchema, UpdateTeamSchema, UpdateTopicSchema, UpdateWikiCommentSchema, UpdateWikiPageSchema, UpdateWorkerSchema, UpdateWorkerTopicSchema, UploadCollectionFileSchema, UploadDriveRootFilesSchema, UploadEditorFileSchema, UpsertRecordSchema, ValidateRecordSchema, VoteMessageSchema } from "./schema";
|
|
7
7
|
import { TAgentFlow, TAgentFlowFolder, TAssistant, TAssistantChannel, TAssistantConstraint, TAssistantDatasource, TAssistantInstruction, TAssistantSkill, TChannel, TChat, TCollectionAutomationRule, TCollectionButton, TCollectionRelation, TCollectionView, TCommand, TCompetency, TConstraint, TDatasource, TDeleteAgentFlowResult, TDocument, TDomainTopic, TDriveDeleteImpact, TDriveFileContent, TDriveItem, TDriveProviderFolder, TDriveRoot, TDriveRootProvider, TDriveTreeNode, TEmploid, TEnhanceTopic, TExtension, TInput, TInstruction, TJobDefinition, TKnowledge, TMarketStoreItem, TOccupation, TPaginatedEmploidsResult, TPreparedDriveUpload, TPublishEmploid, TPublishWorkerToMarketStore, TRelationRecordOption, TScope, TSkill, TStreamId, TTaskTemplate, TTeam, TTopic, TUploadedFile, TWikiComment, TWikiCommentPagination, TWikiFileViewResolution, TWorker, TWorkerTopic } from "./types";
|
|
8
|
+
import { ImportDataModelSchema } from "./schema";
|
|
8
9
|
|
|
9
10
|
export class EmploidService extends ServiceClient {
|
|
10
11
|
protected getServiceName(): string {
|
|
@@ -314,6 +315,10 @@ export class EmploidService extends ServiceClient {
|
|
|
314
315
|
return await this.actionCall('agent-flow', 'ListAgentFlowFolders', payload);
|
|
315
316
|
}
|
|
316
317
|
|
|
318
|
+
public async GetPrivateAgentFlowFolder(payload: z.infer<typeof GetPrivateAgentFlowFolderSchema>): Promise<TAgentFlowFolder | null> {
|
|
319
|
+
return await this.actionCall('agent-flow', 'GetPrivateAgentFlowFolder', payload);
|
|
320
|
+
}
|
|
321
|
+
|
|
317
322
|
public async ListDriveItems(
|
|
318
323
|
payload: z.infer<typeof ListDriveItemsSchema>
|
|
319
324
|
): Promise<{ currentFolder: TDriveItem; items: TDriveItem[] }> {
|
|
@@ -940,6 +945,16 @@ export class EmploidService extends ServiceClient {
|
|
|
940
945
|
);
|
|
941
946
|
}
|
|
942
947
|
|
|
948
|
+
public async ImportDataModel(
|
|
949
|
+
payload: z.infer<typeof ImportDataModelSchema>
|
|
950
|
+
): Promise<any> {
|
|
951
|
+
return await this.actionCall(
|
|
952
|
+
"collection",
|
|
953
|
+
"ImportDataModel",
|
|
954
|
+
payload
|
|
955
|
+
);
|
|
956
|
+
}
|
|
957
|
+
|
|
943
958
|
public async ListDataModels(
|
|
944
959
|
payload: z.infer<typeof ListDataModelsSchema>
|
|
945
960
|
): Promise<any> {
|
|
@@ -1871,6 +1886,12 @@ export class EmploidService extends ServiceClient {
|
|
|
1871
1886
|
return await this.actionCall("wiki", "ListWikiPages", payload);
|
|
1872
1887
|
}
|
|
1873
1888
|
|
|
1889
|
+
public async SetWikiPageUserState(
|
|
1890
|
+
payload: z.infer<typeof SetWikiPageUserStateSchema>
|
|
1891
|
+
): Promise<any> {
|
|
1892
|
+
return await this.actionCall("wiki", "SetWikiPageUserState", payload);
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1874
1895
|
public async UploadWikiFile(
|
|
1875
1896
|
payload: z.infer<typeof UploadEditorFileSchema>
|
|
1876
1897
|
): Promise<TUploadedFile> {
|
|
@@ -83,6 +83,9 @@ export type TAgentFlowFolder = {
|
|
|
83
83
|
id: string;
|
|
84
84
|
name: string;
|
|
85
85
|
description: string;
|
|
86
|
+
tenantId?: string;
|
|
87
|
+
visibility?: "public" | "private";
|
|
88
|
+
ownerId?: string | null;
|
|
86
89
|
agentFlows: TAgentFlow[];
|
|
87
90
|
}
|
|
88
91
|
|
|
@@ -405,6 +408,13 @@ export interface TWikiPage {
|
|
|
405
408
|
canEdit?: boolean;
|
|
406
409
|
canDelete?: boolean;
|
|
407
410
|
canManage?: boolean;
|
|
411
|
+
|
|
412
|
+
userState?: TWikiPageUserState;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type TWikiPageUserState = {
|
|
416
|
+
isFavorite: boolean;
|
|
417
|
+
isWatching: boolean;
|
|
408
418
|
}
|
|
409
419
|
|
|
410
420
|
export interface TWikiRevision {
|