@tailor-platform/sdk 0.16.1 → 0.16.2

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.
@@ -1380,7 +1380,7 @@ declare const FunctionOperationSchema: z.ZodObject<{
1380
1380
  declare const GqlOperationSchema: z.ZodObject<{
1381
1381
  kind: z.ZodLiteral<"graphql">;
1382
1382
  appName: z.ZodOptional<z.ZodString>;
1383
- query: z.ZodString;
1383
+ query: z.ZodPipe<z.ZodTransform<string, unknown>, z.ZodString>;
1384
1384
  variables: z.ZodOptional<z.ZodCustom<Function, Function>>;
1385
1385
  authInvoker: z.ZodOptional<z.ZodObject<{
1386
1386
  namespace: z.ZodString;
@@ -1396,6 +1396,15 @@ declare const WebhookOperationSchema: z.ZodObject<{
1396
1396
  key: z.ZodString;
1397
1397
  }, z.core.$strip>]>>>;
1398
1398
  }, z.core.$strip>;
1399
+ declare const WorkflowOperationSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodObject<{
1400
+ kind: z.ZodLiteral<"workflow">;
1401
+ workflowName: z.ZodString;
1402
+ args: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodCustom<Function, Function>]>>;
1403
+ authInvoker: z.ZodOptional<z.ZodObject<{
1404
+ namespace: z.ZodString;
1405
+ machineUserName: z.ZodString;
1406
+ }, z.core.$strip>>;
1407
+ }, z.core.$strip>>;
1399
1408
  declare const ExecutorSchema: z.ZodObject<{
1400
1409
  name: z.ZodString;
1401
1410
  description: z.ZodOptional<z.ZodString>;
@@ -1419,7 +1428,7 @@ declare const ExecutorSchema: z.ZodObject<{
1419
1428
  }, z.core.$strip>, z.ZodObject<{
1420
1429
  kind: z.ZodLiteral<"incomingWebhook">;
1421
1430
  }, z.core.$strip>], "kind">;
1422
- operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
1431
+ operation: z.ZodUnion<readonly [z.ZodObject<{
1423
1432
  kind: z.ZodEnum<{
1424
1433
  function: "function";
1425
1434
  jobFunction: "jobFunction";
@@ -1432,7 +1441,7 @@ declare const ExecutorSchema: z.ZodObject<{
1432
1441
  }, z.core.$strip>, z.ZodObject<{
1433
1442
  kind: z.ZodLiteral<"graphql">;
1434
1443
  appName: z.ZodOptional<z.ZodString>;
1435
- query: z.ZodString;
1444
+ query: z.ZodPipe<z.ZodTransform<string, unknown>, z.ZodString>;
1436
1445
  variables: z.ZodOptional<z.ZodCustom<Function, Function>>;
1437
1446
  authInvoker: z.ZodOptional<z.ZodObject<{
1438
1447
  namespace: z.ZodString;
@@ -1446,7 +1455,15 @@ declare const ExecutorSchema: z.ZodObject<{
1446
1455
  vault: z.ZodString;
1447
1456
  key: z.ZodString;
1448
1457
  }, z.core.$strip>]>>>;
1449
- }, z.core.$strip>], "kind">;
1458
+ }, z.core.$strip>, z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodObject<{
1459
+ kind: z.ZodLiteral<"workflow">;
1460
+ workflowName: z.ZodString;
1461
+ args: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodCustom<Function, Function>]>>;
1462
+ authInvoker: z.ZodOptional<z.ZodObject<{
1463
+ namespace: z.ZodString;
1464
+ machineUserName: z.ZodString;
1465
+ }, z.core.$strip>>;
1466
+ }, z.core.$strip>>]>;
1450
1467
  }, z.core.$strip>;
1451
1468
  //#endregion
1452
1469
  //#region src/parser/service/executor/types.d.ts
@@ -1457,8 +1474,9 @@ type IncomingWebhookTrigger = z.infer<typeof IncomingWebhookTriggerSchema>;
1457
1474
  type FunctionOperation = z.infer<typeof FunctionOperationSchema>;
1458
1475
  type GqlOperation = z.infer<typeof GqlOperationSchema>;
1459
1476
  type WebhookOperation = z.infer<typeof WebhookOperationSchema>;
1477
+ type WorkflowOperation = z.infer<typeof WorkflowOperationSchema>;
1460
1478
  type Executor = z.infer<typeof ExecutorSchema>;
1461
1479
  type ExecutorInput = z.input<typeof ExecutorSchema>;
1462
1480
  //#endregion
1463
- export { AllowedValues, AllowedValuesOutput, AppConfig, ArrayFieldOutput, AttributeList$1 as AttributeList, AttributeMap$1 as AttributeMap, AuthConfig, AuthExternalConfig, AuthInvoker$1 as AuthInvoker, AuthOwnConfig, type AuthServiceInput, type BuiltinIdP, CodeGeneratorBase, Executor, ExecutorInput, ExecutorServiceConfig, ExecutorServiceInput, FieldMetadata, FieldOptions, FieldOutput, FunctionOperation, Generator, GqlOperation, type IDToken, IdPConfig, IdPExternalConfig, type IdProviderConfig, IncomingWebhookTrigger, InferFieldsOutput, JsonCompatible, type OAuth2Client, type OAuth2ClientGrantType, type OIDC, PermissionCondition, QueryType, RecordTrigger, Resolver, ResolverExecutedTrigger, ResolverExternalConfig, ResolverInput, ResolverServiceConfig, ResolverServiceInput, type SAML, type SCIMAttribute, type SCIMAttributeMapping, type SCIMAttributeType, type SCIMAuthorization, type SCIMConfig, type SCIMResource, ScheduleTriggerInput, StaticWebsiteConfig, TailorDBField, TailorDBInstance, TailorDBType, TailorDBTypeConfig, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, type TenantProviderConfig, type UserAttributeKey, type UserAttributeListKey, type UserAttributeMap, type UsernameFieldKey, type ValueOperand, WebhookOperation, WorkflowServiceConfig, WorkflowServiceInput, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, output, unauthenticatedTailorUser, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission };
1464
- //# sourceMappingURL=types-DGKSzhtb.d.mts.map
1481
+ export { AllowedValues, AllowedValuesOutput, AppConfig, ArrayFieldOutput, AttributeList$1 as AttributeList, AttributeMap$1 as AttributeMap, AuthConfig, AuthExternalConfig, AuthInvoker$1 as AuthInvoker, AuthOwnConfig, type AuthServiceInput, type BuiltinIdP, CodeGeneratorBase, Executor, ExecutorInput, ExecutorServiceConfig, ExecutorServiceInput, FieldMetadata, FieldOptions, FieldOutput, FunctionOperation, Generator, GqlOperation, type IDToken, IdPConfig, IdPExternalConfig, type IdProviderConfig, IncomingWebhookTrigger, InferFieldsOutput, JsonCompatible, type OAuth2Client, type OAuth2ClientGrantType, type OIDC, PermissionCondition, QueryType, RecordTrigger, Resolver, ResolverExecutedTrigger, ResolverExternalConfig, ResolverInput, ResolverServiceConfig, ResolverServiceInput, type SAML, type SCIMAttribute, type SCIMAttributeMapping, type SCIMAttributeType, type SCIMAuthorization, type SCIMConfig, type SCIMResource, ScheduleTriggerInput, StaticWebsiteConfig, TailorDBField, TailorDBInstance, TailorDBType, TailorDBTypeConfig, TailorField, TailorTypeGqlPermission, TailorTypePermission, TailorUser, type TenantProviderConfig, type UserAttributeKey, type UserAttributeListKey, type UserAttributeMap, type UsernameFieldKey, type ValueOperand, WebhookOperation, WorkflowOperation, WorkflowServiceConfig, WorkflowServiceInput, db, defineAuth, defineConfig, defineGenerators, defineIdp, defineStaticWebSite, output, unauthenticatedTailorUser, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission };
1482
+ //# sourceMappingURL=types-DUYX8rv-.d.mts.map
@@ -1,7 +1,7 @@
1
1
  /// <reference path="./../../user-defined.d.ts" />
2
2
 
3
- import { TailorDBType, TailorField, TailorUser } from "../../types-DGKSzhtb.mjs";
4
- import { output } from "../../index-BcDejW72.mjs";
3
+ import { TailorDBType, TailorField, TailorUser } from "../../types-DUYX8rv-.mjs";
4
+ import { output } from "../../index-DOA9RfBq.mjs";
5
5
  import { StandardSchemaV1 } from "@standard-schema/spec";
6
6
 
7
7
  //#region src/utils/test/index.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-platform/sdk",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/configure/index.mjs",