@membranehq/sdk 0.2.1 → 0.3.0

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.
Files changed (39) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -8
  3. package/dist/bundle.d.ts +724 -223
  4. package/dist/bundle.js +166 -47
  5. package/dist/bundle.js.map +1 -1
  6. package/dist/dts/api-client.d.ts +5 -5
  7. package/dist/dts/connections/accessors.d.ts +1 -10
  8. package/dist/dts/connections/types.d.ts +1 -3
  9. package/dist/dts/connectors/auth.d.ts +6 -3
  10. package/dist/dts/connectors/data-locations/base.d.ts +3 -3
  11. package/dist/dts/connectors/data-locations/collections/events/implementation-types/connector-event.d.ts +2 -2
  12. package/dist/dts/connectors/data-locations/collections/events/implementation-types/custom-pull.d.ts +2 -2
  13. package/dist/dts/connectors/data-locations/collections/events/implementation-types/pull-latest-records.d.ts +2 -2
  14. package/dist/dts/connectors/data-locations/collections/events/implementation-types/webhook.d.ts +2 -2
  15. package/dist/dts/connectors/data-locations/collections/index.d.ts +24 -24
  16. package/dist/dts/connectors/data-locations/collections/methods/base.d.ts +3 -3
  17. package/dist/dts/connectors/data-locations/index.d.ts +1 -2
  18. package/dist/dts/connectors/data-locations/methods.d.ts +2 -2
  19. package/dist/dts/connectors/data-locations/schemas.d.ts +1329 -0
  20. package/dist/dts/connectors/data-locations/utils.d.ts +2 -2
  21. package/dist/dts/connectors/types.d.ts +1 -12
  22. package/dist/dts/data-builder/formulas/dataSchemaRef.d.ts +2 -2
  23. package/dist/dts/data-schema/index.d.ts +1 -0
  24. package/dist/dts/data-schema/schemas.d.ts +4 -0
  25. package/dist/dts/errors/index.d.ts +3 -10
  26. package/dist/dts/flow-runs/flow-node-runs.d.ts +347 -15
  27. package/dist/dts/flows/schemas.d.ts +14 -14
  28. package/dist/dts/integrations/accessors.d.ts +3 -5
  29. package/dist/index.d.ts +1708 -354
  30. package/dist/index.js +191 -87
  31. package/dist/index.js.map +1 -1
  32. package/dist/index.module.d.mts +1708 -354
  33. package/dist/index.module.mjs +166 -85
  34. package/dist/index.module.mjs.map +1 -1
  35. package/package.json +3 -3
  36. package/dist/dts/connectors/data-locations/directories/index.d.ts +0 -17
  37. package/dist/dts/connectors/data-locations/directories/methods/base.d.ts +0 -18
  38. package/dist/dts/connectors/data-locations/directories/methods/list.d.ts +0 -2
  39. package/dist/dts/connectors/data-locations/types.d.ts +0 -258
@@ -117,15 +117,8 @@ declare enum ConnectionErrorKey {
117
117
  declare enum ConcurrencyErrorKey {
118
118
  LOCK_TIMEOUT = "lock_timeout"
119
119
  }
120
- interface ErrorDataFields {
121
- type?: ErrorType;
122
- key?: string;
123
- message: string;
124
- data?: any;
125
- doc?: ErrorDoc;
126
- stack?: any;
127
- causedByError?: ErrorData;
128
- logs?: any[];
120
+ declare const ErrorDataSchema: any;
121
+ interface ErrorDataFields extends z.infer<typeof ErrorDataSchema> {
129
122
  }
130
123
  type ErrorConstructorArg = string | ErrorDataFields | Error;
131
124
  declare function isIntegrationAppError(error: any): any;
@@ -208,11 +201,11 @@ declare class IntegrationAppApiClient {
208
201
  constructor({ uiUri, apiUri, accessToken, token, fetchToken, fetchCredentials, credentials, }?: IntegrationAppClientOptions);
209
202
  setCredentials(credentials: any): Promise<any>;
210
203
  getToken(): Promise<string>;
211
- get(uri: string, queryParams?: Record<string, any>, options?: AxiosRequestConfig): Promise<any>;
212
- post(uri: string, data?: any, options?: AxiosRequestConfig): Promise<any>;
213
- put(uri: string, data?: any, options?: AxiosRequestConfig): Promise<any>;
214
- patch(uri: string, data?: any, options?: AxiosRequestConfig): Promise<any>;
215
- delete(uri: string, data?: any, options?: AxiosRequestConfig): Promise<any>;
204
+ get<T = any>(uri: string, queryParams?: Record<string, any>, options?: AxiosRequestConfig): Promise<T>;
205
+ post<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
206
+ put<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
207
+ patch<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
208
+ delete<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
216
209
  getEmbedUri(page: string, pageParams?: Record<string, any>, options?: {
217
210
  embedMode: 'isolated-embed' | 'popup-embed';
218
211
  }): Promise<string>;
@@ -441,6 +434,10 @@ declare function unwrapSchema(schema: any): any[];
441
434
  declare function unwrapSchemas(schemas: any[]): any[];
442
435
  declare function wrapAnyOfSchema(schema: any): any;
443
436
 
437
+ declare const DataSchemaSchema: any;
438
+
439
+ type DataSchemaType = z.infer<typeof DataSchemaSchema>;
440
+
444
441
  declare function buildDataSchema(value: any, variablesSchema?: any): any;
445
442
  declare function updateImpliedSchema({ schema, value, variablesSchema, }: {
446
443
  schema: DataSchema | undefined;
@@ -683,40 +680,11 @@ interface ConnectorMethodImplementationNotSupported extends ConnectorMethodImple
683
680
  implementationType: ConnectorMethodImplementationType.notSupported;
684
681
  }
685
682
 
686
- type ConnectorDataLocationMethod<ConfigFields = unknown, ImplementationFields extends ConnectorMethodImplementation | ConnectorMethodImplementationBase = ConnectorMethodImplementationBase> = {
683
+ type ConnectorDataCollectionMethod<ConfigFields = unknown, ImplementationFields extends ConnectorMethodImplementation | ConnectorMethodImplementationBase = ConnectorMethodImplementationBase> = {
687
684
  apiRequests?: ApiRequestSpec[];
688
685
  } & ImplementationFields & ConfigFields;
689
686
  declare const DataLocationMethodImplementationTypes: ConnectorMethodImplementationType[];
690
687
 
691
- declare const DataLocationTypeDirectory: {
692
- spec: ConnectorDataDirectoryMethodType<unknown>;
693
- methods: {
694
- list: ConnectorDataDirectoryMethodType<unknown>;
695
- };
696
- };
697
- interface ConnectorDataDirectory extends ConnectorDataLocationBase {
698
- type: 'directory';
699
- spec?: ConnectorDataLocationMethod;
700
- methods: {
701
- list: ConnectorDataLocationMethod<any>;
702
- };
703
- }
704
- declare const ConnectorDataDirectoryMethodKeys: Array<keyof typeof DataLocationTypeDirectory.methods>;
705
-
706
- interface ConnectorDataDirectoryMethodType<ConfigType = unknown> {
707
- name?: string;
708
- description?: string;
709
- fileKey?: string;
710
- getConfigSchema?: (args: ConnectorDataDirectoryMethodTypeArgs<ConfigType>) => DataSchema;
711
- getInputSchema?: (args: ConnectorDataDirectoryMethodTypeArgs<ConfigType>) => DataSchema;
712
- getOutputSchema?: (args: ConnectorDataDirectoryMethodTypeArgs<ConfigType>) => DataSchema;
713
- supportedImplementationTypes: ConnectorMethodImplementationType[];
714
- }
715
- interface ConnectorDataDirectoryMethodTypeArgs<ConfigType = unknown> {
716
- method: ConnectorDataLocationMethod<ConfigType>;
717
- directory: ConnectorDataDirectory;
718
- }
719
-
720
688
  interface ConnectorDataCollectionEventMethodTypeArgs<ImplementationFields = unknown> {
721
689
  event: ConnectorDataCollectionEvent<ImplementationFields>;
722
690
  collection: ConnectorDataCollection;
@@ -731,7 +699,7 @@ interface ConnectorDataCollectionEventMethodType<ImplementationFields = unknown>
731
699
  interface ConnectorEventImplementationFields {
732
700
  implementationType: 'connector-event';
733
701
  stateSchema?: DataSchema;
734
- methods: Record<keyof typeof ConnectorEventImplementationType$1.methods, ConnectorDataLocationMethod>;
702
+ methods: Record<keyof typeof ConnectorEventImplementationType$1.methods, ConnectorDataCollectionMethod>;
735
703
  }
736
704
  declare const ConnectorEventImplementationType$1: {
737
705
  methods: {
@@ -743,7 +711,7 @@ declare const ConnectorEventImplementationType$1: {
743
711
  interface CustomPullEventImplementationFields {
744
712
  implementationType: 'custom-pull';
745
713
  stateSchema?: DataSchema;
746
- methods: Record<keyof typeof CustomPullEventImplementationType.methods, ConnectorDataLocationMethod>;
714
+ methods: Record<keyof typeof CustomPullEventImplementationType.methods, ConnectorDataCollectionMethod>;
747
715
  }
748
716
  declare const CustomPullEventImplementationType: {
749
717
  methods: {
@@ -759,7 +727,7 @@ interface FullScanEventImplementationFields {
759
727
 
760
728
  interface PullLatestRecordsEventImplementationFields {
761
729
  implementationType: 'pull-latest-records';
762
- methods: Record<keyof typeof PullLatestRecordsEventImplementationType.methods, ConnectorDataLocationMethod>;
730
+ methods: Record<keyof typeof PullLatestRecordsEventImplementationType.methods, ConnectorDataCollectionMethod>;
763
731
  }
764
732
  interface PullLatestRecordsEventOutput {
765
733
  records: DataRecord[];
@@ -777,7 +745,7 @@ interface WebhookEventImplementationFields {
777
745
  querySchema?: DataSchema;
778
746
  dataSchema?: DataSchema;
779
747
  stateSchema?: DataSchema;
780
- methods: Record<keyof typeof WebhookEventImplementationType.methods, ConnectorDataLocationMethod>;
748
+ methods: Record<keyof typeof WebhookEventImplementationType.methods, ConnectorDataCollectionMethod>;
781
749
  }
782
750
  declare const WebhookEventImplementationType: {
783
751
  methods: {
@@ -873,38 +841,38 @@ declare const DataLocationTypeCollection: {
873
841
  fieldsToApiMapping: ConnectorDataCollectionMethodType<unknown>;
874
842
  fieldsToApiCode: ConnectorDataCollectionMethodType<unknown>;
875
843
  };
876
- interface ConnectorDataCollection extends ConnectorDataLocationBase {
844
+ interface ConnectorDataCollection extends ConnectorDataCollectionBase {
877
845
  type: 'collection';
878
846
  fieldsSchema?: DataSchema;
879
847
  isHidden?: boolean;
880
848
  customFields?: boolean;
881
- customFieldsSchema?: ConnectorDataLocationMethod;
882
- spec?: ConnectorDataLocationMethod;
883
- recordFromFields?: ConnectorDataLocationMethod;
884
- fieldsFromApi?: ConnectorDataLocationMethod;
885
- recordFromApi?: ConnectorDataLocationMethod;
886
- recordFromApiCode?: ConnectorDataLocationMethod;
887
- recordFromApiMapping?: ConnectorDataLocationMethod;
888
- recordToApi?: ConnectorDataLocationMethod;
889
- fieldsToApi?: ConnectorDataLocationMethod;
890
- fieldsToApiCode?: ConnectorDataLocationMethod;
891
- fieldsToApiMapping?: ConnectorDataLocationMethod;
849
+ customFieldsSchema?: ConnectorDataCollectionMethod;
850
+ spec?: ConnectorDataCollectionMethod;
851
+ recordFromFields?: ConnectorDataCollectionMethod;
852
+ fieldsFromApi?: ConnectorDataCollectionMethod;
853
+ recordFromApi?: ConnectorDataCollectionMethod;
854
+ recordFromApiCode?: ConnectorDataCollectionMethod;
855
+ recordFromApiMapping?: ConnectorDataCollectionMethod;
856
+ recordToApi?: ConnectorDataCollectionMethod;
857
+ fieldsToApi?: ConnectorDataCollectionMethod;
858
+ fieldsToApiCode?: ConnectorDataCollectionMethod;
859
+ fieldsToApiMapping?: ConnectorDataCollectionMethod;
892
860
  methods?: {
893
- list?: ConnectorDataLocationMethod<DataCollectionListConfigType>;
894
- findById?: ConnectorDataLocationMethod;
895
- match?: ConnectorDataLocationMethod<DataCollectionMatchConfigType>;
896
- search?: ConnectorDataLocationMethod;
897
- create?: ConnectorDataLocationMethod<DataCollectionCreateConfigType>;
898
- update?: ConnectorDataLocationMethod<DataCollectionUpdateConfigType>;
899
- delete?: ConnectorDataLocationMethod;
900
- find?: ConnectorDataLocationMethod<{
861
+ list?: ConnectorDataCollectionMethod<DataCollectionListConfigType>;
862
+ findById?: ConnectorDataCollectionMethod;
863
+ match?: ConnectorDataCollectionMethod<DataCollectionMatchConfigType>;
864
+ search?: ConnectorDataCollectionMethod;
865
+ create?: ConnectorDataCollectionMethod<DataCollectionCreateConfigType>;
866
+ update?: ConnectorDataCollectionMethod<DataCollectionUpdateConfigType>;
867
+ delete?: ConnectorDataCollectionMethod;
868
+ find?: ConnectorDataCollectionMethod<{
901
869
  queryFields?: string[];
902
870
  }>;
903
871
  };
904
872
  events?: Partial<Record<'created' | 'updated' | 'deleted', ConnectorDataCollectionEvent>>;
905
873
  udm?: Partial<Record<string, {
906
- extract?: ConnectorDataLocationMethod;
907
- parse?: ConnectorDataLocationMethod;
874
+ extract?: ConnectorDataCollectionMethod;
875
+ parse?: ConnectorDataCollectionMethod;
908
876
  }>>;
909
877
  }
910
878
  declare const ConnectorDataCollectionMethodKeys: Array<keyof typeof DataLocationTypeCollection.methods>;
@@ -920,7 +888,7 @@ interface ConnectorDataCollectionMethodType<ConfigFields = unknown> {
920
888
  isDeprecated?: boolean;
921
889
  }
922
890
  interface ConnectorDataCollectionMethodTypeArgs<ConfigFields = unknown> {
923
- method?: ConnectorDataLocationMethod<ConfigFields>;
891
+ method?: ConnectorDataCollectionMethod<ConfigFields>;
924
892
  collectionHandler?: ConnectorDataCollection;
925
893
  collectionSpec?: DataCollectionSpec;
926
894
  connectorSpec?: ConnectorSpec;
@@ -932,109 +900,1197 @@ interface DataCollectionUpdateConfigType {
932
900
  excludedFields?: string[];
933
901
  }
934
902
 
935
- type DataLocationSpec = DataCollectionSpec | DataDirectorySpec;
936
- declare enum DataLocationType {
937
- directory = "directory",
938
- collection = "collection"
939
- }
940
- interface DataLocationListItem {
941
- key: string;
903
+ declare const ApiRequestSpecSchema: z.ZodObject<{
904
+ path: z.ZodUnknown;
905
+ method: z.ZodUnknown;
906
+ }, "strip", z.ZodTypeAny, {
907
+ path?: unknown;
908
+ method?: unknown;
909
+ }, {
910
+ path?: unknown;
911
+ method?: unknown;
912
+ }>;
913
+ type ApiRequestSpec = z.infer<typeof ApiRequestSpecSchema>;
914
+ declare const DataCollectionMethodSpecSchema: z.ZodObject<{
915
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
916
+ path: z.ZodUnknown;
917
+ method: z.ZodUnknown;
918
+ }, "strip", z.ZodTypeAny, {
919
+ path?: unknown;
920
+ method?: unknown;
921
+ }, {
922
+ path?: unknown;
923
+ method?: unknown;
924
+ }>, "many">>;
925
+ }, "strip", z.ZodTypeAny, {
926
+ apiRequests?: {
927
+ path?: unknown;
928
+ method?: unknown;
929
+ }[] | undefined;
930
+ }, {
931
+ apiRequests?: {
932
+ path?: unknown;
933
+ method?: unknown;
934
+ }[] | undefined;
935
+ }>;
936
+ type DataCollectionMethodSpec = z.infer<typeof DataCollectionMethodSpecSchema>;
937
+ declare const DataCollectionListSpecSchema: z.ZodObject<{
938
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
939
+ path: z.ZodUnknown;
940
+ method: z.ZodUnknown;
941
+ }, "strip", z.ZodTypeAny, {
942
+ path?: unknown;
943
+ method?: unknown;
944
+ }, {
945
+ path?: unknown;
946
+ method?: unknown;
947
+ }>, "many">>;
948
+ } & {
949
+ filterFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
950
+ }, "strip", z.ZodTypeAny, {
951
+ apiRequests?: {
952
+ path?: unknown;
953
+ method?: unknown;
954
+ }[] | undefined;
955
+ filterFields?: string[] | undefined;
956
+ }, {
957
+ apiRequests?: {
958
+ path?: unknown;
959
+ method?: unknown;
960
+ }[] | undefined;
961
+ filterFields?: string[] | undefined;
962
+ }>;
963
+ type DataCollectionListSpec = z.infer<typeof DataCollectionListSpecSchema>;
964
+ declare const DataCollectionSearchSpecSchema: z.ZodObject<{
965
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
966
+ path: z.ZodUnknown;
967
+ method: z.ZodUnknown;
968
+ }, "strip", z.ZodTypeAny, {
969
+ path?: unknown;
970
+ method?: unknown;
971
+ }, {
972
+ path?: unknown;
973
+ method?: unknown;
974
+ }>, "many">>;
975
+ }, "strip", z.ZodTypeAny, {
976
+ apiRequests?: {
977
+ path?: unknown;
978
+ method?: unknown;
979
+ }[] | undefined;
980
+ }, {
981
+ apiRequests?: {
982
+ path?: unknown;
983
+ method?: unknown;
984
+ }[] | undefined;
985
+ }>;
986
+ type DataCollectionSearchSpec = z.infer<typeof DataCollectionSearchSpecSchema>;
987
+ declare const DataCollectionMatchSpecSchema: z.ZodObject<{
988
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
989
+ path: z.ZodUnknown;
990
+ method: z.ZodUnknown;
991
+ }, "strip", z.ZodTypeAny, {
992
+ path?: unknown;
993
+ method?: unknown;
994
+ }, {
995
+ path?: unknown;
996
+ method?: unknown;
997
+ }>, "many">>;
998
+ } & {
999
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ apiRequests?: {
1002
+ path?: unknown;
1003
+ method?: unknown;
1004
+ }[] | undefined;
1005
+ fields?: string[] | undefined;
1006
+ }, {
1007
+ apiRequests?: {
1008
+ path?: unknown;
1009
+ method?: unknown;
1010
+ }[] | undefined;
1011
+ fields?: string[] | undefined;
1012
+ }>;
1013
+ type DataCollectionMatchSpec = z.infer<typeof DataCollectionMatchSpecSchema>;
1014
+ declare const DataCollectionFindByIdSpecSchema: z.ZodObject<{
1015
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1016
+ path: z.ZodUnknown;
1017
+ method: z.ZodUnknown;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ path?: unknown;
1020
+ method?: unknown;
1021
+ }, {
1022
+ path?: unknown;
1023
+ method?: unknown;
1024
+ }>, "many">>;
1025
+ }, "strip", z.ZodTypeAny, {
1026
+ apiRequests?: {
1027
+ path?: unknown;
1028
+ method?: unknown;
1029
+ }[] | undefined;
1030
+ }, {
1031
+ apiRequests?: {
1032
+ path?: unknown;
1033
+ method?: unknown;
1034
+ }[] | undefined;
1035
+ }>;
1036
+ type DataCollectionFindByIdSpec = z.infer<typeof DataCollectionFindByIdSpecSchema>;
1037
+ declare const DataCollectionCreateSpecSchema: z.ZodObject<{
1038
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1039
+ path: z.ZodUnknown;
1040
+ method: z.ZodUnknown;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ path?: unknown;
1043
+ method?: unknown;
1044
+ }, {
1045
+ path?: unknown;
1046
+ method?: unknown;
1047
+ }>, "many">>;
1048
+ } & {
1049
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1050
+ requiredFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1051
+ excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1052
+ }, "strip", z.ZodTypeAny, {
1053
+ apiRequests?: {
1054
+ path?: unknown;
1055
+ method?: unknown;
1056
+ }[] | undefined;
1057
+ fields?: string[] | undefined;
1058
+ requiredFields?: string[] | undefined;
1059
+ excludedFields?: string[] | undefined;
1060
+ }, {
1061
+ apiRequests?: {
1062
+ path?: unknown;
1063
+ method?: unknown;
1064
+ }[] | undefined;
1065
+ fields?: string[] | undefined;
1066
+ requiredFields?: string[] | undefined;
1067
+ excludedFields?: string[] | undefined;
1068
+ }>;
1069
+ type DataCollectionCreateSpec = z.infer<typeof DataCollectionCreateSpecSchema>;
1070
+ declare const DataCollectionUpdateSpecSchema: z.ZodObject<{
1071
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1072
+ path: z.ZodUnknown;
1073
+ method: z.ZodUnknown;
1074
+ }, "strip", z.ZodTypeAny, {
1075
+ path?: unknown;
1076
+ method?: unknown;
1077
+ }, {
1078
+ path?: unknown;
1079
+ method?: unknown;
1080
+ }>, "many">>;
1081
+ } & {
1082
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1083
+ excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1084
+ }, "strip", z.ZodTypeAny, {
1085
+ apiRequests?: {
1086
+ path?: unknown;
1087
+ method?: unknown;
1088
+ }[] | undefined;
1089
+ fields?: string[] | undefined;
1090
+ excludedFields?: string[] | undefined;
1091
+ }, {
1092
+ apiRequests?: {
1093
+ path?: unknown;
1094
+ method?: unknown;
1095
+ }[] | undefined;
1096
+ fields?: string[] | undefined;
1097
+ excludedFields?: string[] | undefined;
1098
+ }>;
1099
+ type DataCollectionUpdateSpec = z.infer<typeof DataCollectionUpdateSpecSchema>;
1100
+ declare const DataCollectionDeleteSpecSchema: z.ZodObject<{
1101
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1102
+ path: z.ZodUnknown;
1103
+ method: z.ZodUnknown;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ path?: unknown;
1106
+ method?: unknown;
1107
+ }, {
1108
+ path?: unknown;
1109
+ method?: unknown;
1110
+ }>, "many">>;
1111
+ }, "strip", z.ZodTypeAny, {
1112
+ apiRequests?: {
1113
+ path?: unknown;
1114
+ method?: unknown;
1115
+ }[] | undefined;
1116
+ }, {
1117
+ apiRequests?: {
1118
+ path?: unknown;
1119
+ method?: unknown;
1120
+ }[] | undefined;
1121
+ }>;
1122
+ type DataCollectionDeleteSpec = z.infer<typeof DataCollectionDeleteSpecSchema>;
1123
+ declare const DataCollectionFindSpecSchema: z.ZodObject<{
1124
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1125
+ path: z.ZodUnknown;
1126
+ method: z.ZodUnknown;
1127
+ }, "strip", z.ZodTypeAny, {
1128
+ path?: unknown;
1129
+ method?: unknown;
1130
+ }, {
1131
+ path?: unknown;
1132
+ method?: unknown;
1133
+ }>, "many">>;
1134
+ } & {
1135
+ queryFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1136
+ }, "strip", z.ZodTypeAny, {
1137
+ apiRequests?: {
1138
+ path?: unknown;
1139
+ method?: unknown;
1140
+ }[] | undefined;
1141
+ queryFields?: string[] | undefined;
1142
+ }, {
1143
+ apiRequests?: {
1144
+ path?: unknown;
1145
+ method?: unknown;
1146
+ }[] | undefined;
1147
+ queryFields?: string[] | undefined;
1148
+ }>;
1149
+ type DataCollectionFindSpec = z.infer<typeof DataCollectionFindSpecSchema>;
1150
+ declare const DataCollectionEventTypeSpecSchema: z.ZodObject<{
1151
+ type: z.ZodEnum<["push", "pull"]>;
1152
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1153
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ type: "push" | "pull";
1156
+ isFullScan?: boolean | undefined;
1157
+ isIdOnly?: boolean | undefined;
1158
+ }, {
1159
+ type: "push" | "pull";
1160
+ isFullScan?: boolean | undefined;
1161
+ isIdOnly?: boolean | undefined;
1162
+ }>;
1163
+ type DataCollectionEventTypeSpec = z.infer<typeof DataCollectionEventTypeSpecSchema>;
1164
+ declare const DataCollectionEventsSpecSchema: z.ZodObject<{
1165
+ created: z.ZodOptional<z.ZodObject<{
1166
+ type: z.ZodEnum<["push", "pull"]>;
1167
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1168
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ type: "push" | "pull";
1171
+ isFullScan?: boolean | undefined;
1172
+ isIdOnly?: boolean | undefined;
1173
+ }, {
1174
+ type: "push" | "pull";
1175
+ isFullScan?: boolean | undefined;
1176
+ isIdOnly?: boolean | undefined;
1177
+ }>>;
1178
+ updated: z.ZodOptional<z.ZodObject<{
1179
+ type: z.ZodEnum<["push", "pull"]>;
1180
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1181
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ type: "push" | "pull";
1184
+ isFullScan?: boolean | undefined;
1185
+ isIdOnly?: boolean | undefined;
1186
+ }, {
1187
+ type: "push" | "pull";
1188
+ isFullScan?: boolean | undefined;
1189
+ isIdOnly?: boolean | undefined;
1190
+ }>>;
1191
+ deleted: z.ZodOptional<z.ZodObject<{
1192
+ type: z.ZodEnum<["push", "pull"]>;
1193
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1194
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1195
+ }, "strip", z.ZodTypeAny, {
1196
+ type: "push" | "pull";
1197
+ isFullScan?: boolean | undefined;
1198
+ isIdOnly?: boolean | undefined;
1199
+ }, {
1200
+ type: "push" | "pull";
1201
+ isFullScan?: boolean | undefined;
1202
+ isIdOnly?: boolean | undefined;
1203
+ }>>;
1204
+ all: z.ZodOptional<z.ZodObject<{
1205
+ type: z.ZodEnum<["push", "pull"]>;
1206
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1207
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1208
+ }, "strip", z.ZodTypeAny, {
1209
+ type: "push" | "pull";
1210
+ isFullScan?: boolean | undefined;
1211
+ isIdOnly?: boolean | undefined;
1212
+ }, {
1213
+ type: "push" | "pull";
1214
+ isFullScan?: boolean | undefined;
1215
+ isIdOnly?: boolean | undefined;
1216
+ }>>;
1217
+ }, "strip", z.ZodObject<{
1218
+ type: z.ZodEnum<["push", "pull"]>;
1219
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1220
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1221
+ }, "strip", z.ZodTypeAny, {
1222
+ type: "push" | "pull";
1223
+ isFullScan?: boolean | undefined;
1224
+ isIdOnly?: boolean | undefined;
1225
+ }, {
1226
+ type: "push" | "pull";
1227
+ isFullScan?: boolean | undefined;
1228
+ isIdOnly?: boolean | undefined;
1229
+ }>, z.objectOutputType<{
1230
+ created: z.ZodOptional<z.ZodObject<{
1231
+ type: z.ZodEnum<["push", "pull"]>;
1232
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1233
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1234
+ }, "strip", z.ZodTypeAny, {
1235
+ type: "push" | "pull";
1236
+ isFullScan?: boolean | undefined;
1237
+ isIdOnly?: boolean | undefined;
1238
+ }, {
1239
+ type: "push" | "pull";
1240
+ isFullScan?: boolean | undefined;
1241
+ isIdOnly?: boolean | undefined;
1242
+ }>>;
1243
+ updated: z.ZodOptional<z.ZodObject<{
1244
+ type: z.ZodEnum<["push", "pull"]>;
1245
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1246
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1247
+ }, "strip", z.ZodTypeAny, {
1248
+ type: "push" | "pull";
1249
+ isFullScan?: boolean | undefined;
1250
+ isIdOnly?: boolean | undefined;
1251
+ }, {
1252
+ type: "push" | "pull";
1253
+ isFullScan?: boolean | undefined;
1254
+ isIdOnly?: boolean | undefined;
1255
+ }>>;
1256
+ deleted: z.ZodOptional<z.ZodObject<{
1257
+ type: z.ZodEnum<["push", "pull"]>;
1258
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1259
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ type: "push" | "pull";
1262
+ isFullScan?: boolean | undefined;
1263
+ isIdOnly?: boolean | undefined;
1264
+ }, {
1265
+ type: "push" | "pull";
1266
+ isFullScan?: boolean | undefined;
1267
+ isIdOnly?: boolean | undefined;
1268
+ }>>;
1269
+ all: z.ZodOptional<z.ZodObject<{
1270
+ type: z.ZodEnum<["push", "pull"]>;
1271
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1272
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1273
+ }, "strip", z.ZodTypeAny, {
1274
+ type: "push" | "pull";
1275
+ isFullScan?: boolean | undefined;
1276
+ isIdOnly?: boolean | undefined;
1277
+ }, {
1278
+ type: "push" | "pull";
1279
+ isFullScan?: boolean | undefined;
1280
+ isIdOnly?: boolean | undefined;
1281
+ }>>;
1282
+ }, z.ZodObject<{
1283
+ type: z.ZodEnum<["push", "pull"]>;
1284
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1285
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1286
+ }, "strip", z.ZodTypeAny, {
1287
+ type: "push" | "pull";
1288
+ isFullScan?: boolean | undefined;
1289
+ isIdOnly?: boolean | undefined;
1290
+ }, {
1291
+ type: "push" | "pull";
1292
+ isFullScan?: boolean | undefined;
1293
+ isIdOnly?: boolean | undefined;
1294
+ }>, "strip">, z.objectInputType<{
1295
+ created: z.ZodOptional<z.ZodObject<{
1296
+ type: z.ZodEnum<["push", "pull"]>;
1297
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1298
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1299
+ }, "strip", z.ZodTypeAny, {
1300
+ type: "push" | "pull";
1301
+ isFullScan?: boolean | undefined;
1302
+ isIdOnly?: boolean | undefined;
1303
+ }, {
1304
+ type: "push" | "pull";
1305
+ isFullScan?: boolean | undefined;
1306
+ isIdOnly?: boolean | undefined;
1307
+ }>>;
1308
+ updated: z.ZodOptional<z.ZodObject<{
1309
+ type: z.ZodEnum<["push", "pull"]>;
1310
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1311
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ type: "push" | "pull";
1314
+ isFullScan?: boolean | undefined;
1315
+ isIdOnly?: boolean | undefined;
1316
+ }, {
1317
+ type: "push" | "pull";
1318
+ isFullScan?: boolean | undefined;
1319
+ isIdOnly?: boolean | undefined;
1320
+ }>>;
1321
+ deleted: z.ZodOptional<z.ZodObject<{
1322
+ type: z.ZodEnum<["push", "pull"]>;
1323
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1324
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ type: "push" | "pull";
1327
+ isFullScan?: boolean | undefined;
1328
+ isIdOnly?: boolean | undefined;
1329
+ }, {
1330
+ type: "push" | "pull";
1331
+ isFullScan?: boolean | undefined;
1332
+ isIdOnly?: boolean | undefined;
1333
+ }>>;
1334
+ all: z.ZodOptional<z.ZodObject<{
1335
+ type: z.ZodEnum<["push", "pull"]>;
1336
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1337
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1338
+ }, "strip", z.ZodTypeAny, {
1339
+ type: "push" | "pull";
1340
+ isFullScan?: boolean | undefined;
1341
+ isIdOnly?: boolean | undefined;
1342
+ }, {
1343
+ type: "push" | "pull";
1344
+ isFullScan?: boolean | undefined;
1345
+ isIdOnly?: boolean | undefined;
1346
+ }>>;
1347
+ }, z.ZodObject<{
1348
+ type: z.ZodEnum<["push", "pull"]>;
1349
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1350
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1351
+ }, "strip", z.ZodTypeAny, {
1352
+ type: "push" | "pull";
1353
+ isFullScan?: boolean | undefined;
1354
+ isIdOnly?: boolean | undefined;
1355
+ }, {
1356
+ type: "push" | "pull";
1357
+ isFullScan?: boolean | undefined;
1358
+ isIdOnly?: boolean | undefined;
1359
+ }>, "strip">>;
1360
+ type DataCollectionEventsSpec = z.infer<typeof DataCollectionEventsSpecSchema>;
1361
+ declare const DataCollectionUdmSpecSchema: z.ZodObject<{
1362
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1363
+ extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1364
+ parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1365
+ }, "strip", z.ZodTypeAny, {
1366
+ fields?: string[] | undefined;
1367
+ extract?: Record<string, any> | undefined;
1368
+ parse?: Record<string, any> | undefined;
1369
+ }, {
1370
+ fields?: string[] | undefined;
1371
+ extract?: Record<string, any> | undefined;
1372
+ parse?: Record<string, any> | undefined;
1373
+ }>;
1374
+ type DataCollectionUdmSpec = z.infer<typeof DataCollectionUdmSpecSchema>;
1375
+ declare const DataCollectionUdmsSpecSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1376
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1377
+ extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1378
+ parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1379
+ }, "strip", z.ZodTypeAny, {
1380
+ fields?: string[] | undefined;
1381
+ extract?: Record<string, any> | undefined;
1382
+ parse?: Record<string, any> | undefined;
1383
+ }, {
1384
+ fields?: string[] | undefined;
1385
+ extract?: Record<string, any> | undefined;
1386
+ parse?: Record<string, any> | undefined;
1387
+ }>>;
1388
+ type DataCollectionUdmsSpec = z.infer<typeof DataCollectionUdmsSpecSchema>;
1389
+ declare const DataCollectionSpecSchema: z.ZodObject<{
1390
+ type: z.ZodLiteral<"collection">;
1391
+ key: z.ZodOptional<z.ZodString>;
1392
+ name: z.ZodString;
1393
+ parametersSchema: z.ZodOptional<z.ZodLazy<any>>;
1394
+ fieldsSchema: z.ZodOptional<z.ZodLazy<any>>;
1395
+ list: z.ZodOptional<z.ZodObject<{
1396
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1397
+ path: z.ZodUnknown;
1398
+ method: z.ZodUnknown;
1399
+ }, "strip", z.ZodTypeAny, {
1400
+ path?: unknown;
1401
+ method?: unknown;
1402
+ }, {
1403
+ path?: unknown;
1404
+ method?: unknown;
1405
+ }>, "many">>;
1406
+ } & {
1407
+ filterFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1408
+ }, "strip", z.ZodTypeAny, {
1409
+ apiRequests?: {
1410
+ path?: unknown;
1411
+ method?: unknown;
1412
+ }[] | undefined;
1413
+ filterFields?: string[] | undefined;
1414
+ }, {
1415
+ apiRequests?: {
1416
+ path?: unknown;
1417
+ method?: unknown;
1418
+ }[] | undefined;
1419
+ filterFields?: string[] | undefined;
1420
+ }>>;
1421
+ search: z.ZodOptional<z.ZodObject<{
1422
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1423
+ path: z.ZodUnknown;
1424
+ method: z.ZodUnknown;
1425
+ }, "strip", z.ZodTypeAny, {
1426
+ path?: unknown;
1427
+ method?: unknown;
1428
+ }, {
1429
+ path?: unknown;
1430
+ method?: unknown;
1431
+ }>, "many">>;
1432
+ }, "strip", z.ZodTypeAny, {
1433
+ apiRequests?: {
1434
+ path?: unknown;
1435
+ method?: unknown;
1436
+ }[] | undefined;
1437
+ }, {
1438
+ apiRequests?: {
1439
+ path?: unknown;
1440
+ method?: unknown;
1441
+ }[] | undefined;
1442
+ }>>;
1443
+ match: z.ZodOptional<z.ZodObject<{
1444
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1445
+ path: z.ZodUnknown;
1446
+ method: z.ZodUnknown;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ path?: unknown;
1449
+ method?: unknown;
1450
+ }, {
1451
+ path?: unknown;
1452
+ method?: unknown;
1453
+ }>, "many">>;
1454
+ } & {
1455
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1456
+ }, "strip", z.ZodTypeAny, {
1457
+ apiRequests?: {
1458
+ path?: unknown;
1459
+ method?: unknown;
1460
+ }[] | undefined;
1461
+ fields?: string[] | undefined;
1462
+ }, {
1463
+ apiRequests?: {
1464
+ path?: unknown;
1465
+ method?: unknown;
1466
+ }[] | undefined;
1467
+ fields?: string[] | undefined;
1468
+ }>>;
1469
+ findById: z.ZodOptional<z.ZodObject<{
1470
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1471
+ path: z.ZodUnknown;
1472
+ method: z.ZodUnknown;
1473
+ }, "strip", z.ZodTypeAny, {
1474
+ path?: unknown;
1475
+ method?: unknown;
1476
+ }, {
1477
+ path?: unknown;
1478
+ method?: unknown;
1479
+ }>, "many">>;
1480
+ }, "strip", z.ZodTypeAny, {
1481
+ apiRequests?: {
1482
+ path?: unknown;
1483
+ method?: unknown;
1484
+ }[] | undefined;
1485
+ }, {
1486
+ apiRequests?: {
1487
+ path?: unknown;
1488
+ method?: unknown;
1489
+ }[] | undefined;
1490
+ }>>;
1491
+ create: z.ZodOptional<z.ZodObject<{
1492
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1493
+ path: z.ZodUnknown;
1494
+ method: z.ZodUnknown;
1495
+ }, "strip", z.ZodTypeAny, {
1496
+ path?: unknown;
1497
+ method?: unknown;
1498
+ }, {
1499
+ path?: unknown;
1500
+ method?: unknown;
1501
+ }>, "many">>;
1502
+ } & {
1503
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1504
+ requiredFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1505
+ excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ apiRequests?: {
1508
+ path?: unknown;
1509
+ method?: unknown;
1510
+ }[] | undefined;
1511
+ fields?: string[] | undefined;
1512
+ requiredFields?: string[] | undefined;
1513
+ excludedFields?: string[] | undefined;
1514
+ }, {
1515
+ apiRequests?: {
1516
+ path?: unknown;
1517
+ method?: unknown;
1518
+ }[] | undefined;
1519
+ fields?: string[] | undefined;
1520
+ requiredFields?: string[] | undefined;
1521
+ excludedFields?: string[] | undefined;
1522
+ }>>;
1523
+ update: z.ZodOptional<z.ZodObject<{
1524
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1525
+ path: z.ZodUnknown;
1526
+ method: z.ZodUnknown;
1527
+ }, "strip", z.ZodTypeAny, {
1528
+ path?: unknown;
1529
+ method?: unknown;
1530
+ }, {
1531
+ path?: unknown;
1532
+ method?: unknown;
1533
+ }>, "many">>;
1534
+ } & {
1535
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1536
+ excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ apiRequests?: {
1539
+ path?: unknown;
1540
+ method?: unknown;
1541
+ }[] | undefined;
1542
+ fields?: string[] | undefined;
1543
+ excludedFields?: string[] | undefined;
1544
+ }, {
1545
+ apiRequests?: {
1546
+ path?: unknown;
1547
+ method?: unknown;
1548
+ }[] | undefined;
1549
+ fields?: string[] | undefined;
1550
+ excludedFields?: string[] | undefined;
1551
+ }>>;
1552
+ delete: z.ZodOptional<z.ZodObject<{
1553
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1554
+ path: z.ZodUnknown;
1555
+ method: z.ZodUnknown;
1556
+ }, "strip", z.ZodTypeAny, {
1557
+ path?: unknown;
1558
+ method?: unknown;
1559
+ }, {
1560
+ path?: unknown;
1561
+ method?: unknown;
1562
+ }>, "many">>;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ apiRequests?: {
1565
+ path?: unknown;
1566
+ method?: unknown;
1567
+ }[] | undefined;
1568
+ }, {
1569
+ apiRequests?: {
1570
+ path?: unknown;
1571
+ method?: unknown;
1572
+ }[] | undefined;
1573
+ }>>;
1574
+ events: z.ZodOptional<z.ZodObject<{
1575
+ created: z.ZodOptional<z.ZodObject<{
1576
+ type: z.ZodEnum<["push", "pull"]>;
1577
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1578
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1579
+ }, "strip", z.ZodTypeAny, {
1580
+ type: "push" | "pull";
1581
+ isFullScan?: boolean | undefined;
1582
+ isIdOnly?: boolean | undefined;
1583
+ }, {
1584
+ type: "push" | "pull";
1585
+ isFullScan?: boolean | undefined;
1586
+ isIdOnly?: boolean | undefined;
1587
+ }>>;
1588
+ updated: z.ZodOptional<z.ZodObject<{
1589
+ type: z.ZodEnum<["push", "pull"]>;
1590
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1591
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1592
+ }, "strip", z.ZodTypeAny, {
1593
+ type: "push" | "pull";
1594
+ isFullScan?: boolean | undefined;
1595
+ isIdOnly?: boolean | undefined;
1596
+ }, {
1597
+ type: "push" | "pull";
1598
+ isFullScan?: boolean | undefined;
1599
+ isIdOnly?: boolean | undefined;
1600
+ }>>;
1601
+ deleted: z.ZodOptional<z.ZodObject<{
1602
+ type: z.ZodEnum<["push", "pull"]>;
1603
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1604
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1605
+ }, "strip", z.ZodTypeAny, {
1606
+ type: "push" | "pull";
1607
+ isFullScan?: boolean | undefined;
1608
+ isIdOnly?: boolean | undefined;
1609
+ }, {
1610
+ type: "push" | "pull";
1611
+ isFullScan?: boolean | undefined;
1612
+ isIdOnly?: boolean | undefined;
1613
+ }>>;
1614
+ all: z.ZodOptional<z.ZodObject<{
1615
+ type: z.ZodEnum<["push", "pull"]>;
1616
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1617
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1618
+ }, "strip", z.ZodTypeAny, {
1619
+ type: "push" | "pull";
1620
+ isFullScan?: boolean | undefined;
1621
+ isIdOnly?: boolean | undefined;
1622
+ }, {
1623
+ type: "push" | "pull";
1624
+ isFullScan?: boolean | undefined;
1625
+ isIdOnly?: boolean | undefined;
1626
+ }>>;
1627
+ }, "strip", z.ZodObject<{
1628
+ type: z.ZodEnum<["push", "pull"]>;
1629
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1630
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1631
+ }, "strip", z.ZodTypeAny, {
1632
+ type: "push" | "pull";
1633
+ isFullScan?: boolean | undefined;
1634
+ isIdOnly?: boolean | undefined;
1635
+ }, {
1636
+ type: "push" | "pull";
1637
+ isFullScan?: boolean | undefined;
1638
+ isIdOnly?: boolean | undefined;
1639
+ }>, z.objectOutputType<{
1640
+ created: z.ZodOptional<z.ZodObject<{
1641
+ type: z.ZodEnum<["push", "pull"]>;
1642
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1643
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1644
+ }, "strip", z.ZodTypeAny, {
1645
+ type: "push" | "pull";
1646
+ isFullScan?: boolean | undefined;
1647
+ isIdOnly?: boolean | undefined;
1648
+ }, {
1649
+ type: "push" | "pull";
1650
+ isFullScan?: boolean | undefined;
1651
+ isIdOnly?: boolean | undefined;
1652
+ }>>;
1653
+ updated: z.ZodOptional<z.ZodObject<{
1654
+ type: z.ZodEnum<["push", "pull"]>;
1655
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1656
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1657
+ }, "strip", z.ZodTypeAny, {
1658
+ type: "push" | "pull";
1659
+ isFullScan?: boolean | undefined;
1660
+ isIdOnly?: boolean | undefined;
1661
+ }, {
1662
+ type: "push" | "pull";
1663
+ isFullScan?: boolean | undefined;
1664
+ isIdOnly?: boolean | undefined;
1665
+ }>>;
1666
+ deleted: z.ZodOptional<z.ZodObject<{
1667
+ type: z.ZodEnum<["push", "pull"]>;
1668
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1669
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1670
+ }, "strip", z.ZodTypeAny, {
1671
+ type: "push" | "pull";
1672
+ isFullScan?: boolean | undefined;
1673
+ isIdOnly?: boolean | undefined;
1674
+ }, {
1675
+ type: "push" | "pull";
1676
+ isFullScan?: boolean | undefined;
1677
+ isIdOnly?: boolean | undefined;
1678
+ }>>;
1679
+ all: z.ZodOptional<z.ZodObject<{
1680
+ type: z.ZodEnum<["push", "pull"]>;
1681
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1682
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1683
+ }, "strip", z.ZodTypeAny, {
1684
+ type: "push" | "pull";
1685
+ isFullScan?: boolean | undefined;
1686
+ isIdOnly?: boolean | undefined;
1687
+ }, {
1688
+ type: "push" | "pull";
1689
+ isFullScan?: boolean | undefined;
1690
+ isIdOnly?: boolean | undefined;
1691
+ }>>;
1692
+ }, z.ZodObject<{
1693
+ type: z.ZodEnum<["push", "pull"]>;
1694
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1695
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1696
+ }, "strip", z.ZodTypeAny, {
1697
+ type: "push" | "pull";
1698
+ isFullScan?: boolean | undefined;
1699
+ isIdOnly?: boolean | undefined;
1700
+ }, {
1701
+ type: "push" | "pull";
1702
+ isFullScan?: boolean | undefined;
1703
+ isIdOnly?: boolean | undefined;
1704
+ }>, "strip">, z.objectInputType<{
1705
+ created: z.ZodOptional<z.ZodObject<{
1706
+ type: z.ZodEnum<["push", "pull"]>;
1707
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1708
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1709
+ }, "strip", z.ZodTypeAny, {
1710
+ type: "push" | "pull";
1711
+ isFullScan?: boolean | undefined;
1712
+ isIdOnly?: boolean | undefined;
1713
+ }, {
1714
+ type: "push" | "pull";
1715
+ isFullScan?: boolean | undefined;
1716
+ isIdOnly?: boolean | undefined;
1717
+ }>>;
1718
+ updated: z.ZodOptional<z.ZodObject<{
1719
+ type: z.ZodEnum<["push", "pull"]>;
1720
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1721
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1722
+ }, "strip", z.ZodTypeAny, {
1723
+ type: "push" | "pull";
1724
+ isFullScan?: boolean | undefined;
1725
+ isIdOnly?: boolean | undefined;
1726
+ }, {
1727
+ type: "push" | "pull";
1728
+ isFullScan?: boolean | undefined;
1729
+ isIdOnly?: boolean | undefined;
1730
+ }>>;
1731
+ deleted: z.ZodOptional<z.ZodObject<{
1732
+ type: z.ZodEnum<["push", "pull"]>;
1733
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1734
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1735
+ }, "strip", z.ZodTypeAny, {
1736
+ type: "push" | "pull";
1737
+ isFullScan?: boolean | undefined;
1738
+ isIdOnly?: boolean | undefined;
1739
+ }, {
1740
+ type: "push" | "pull";
1741
+ isFullScan?: boolean | undefined;
1742
+ isIdOnly?: boolean | undefined;
1743
+ }>>;
1744
+ all: z.ZodOptional<z.ZodObject<{
1745
+ type: z.ZodEnum<["push", "pull"]>;
1746
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1747
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1748
+ }, "strip", z.ZodTypeAny, {
1749
+ type: "push" | "pull";
1750
+ isFullScan?: boolean | undefined;
1751
+ isIdOnly?: boolean | undefined;
1752
+ }, {
1753
+ type: "push" | "pull";
1754
+ isFullScan?: boolean | undefined;
1755
+ isIdOnly?: boolean | undefined;
1756
+ }>>;
1757
+ }, z.ZodObject<{
1758
+ type: z.ZodEnum<["push", "pull"]>;
1759
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1760
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1761
+ }, "strip", z.ZodTypeAny, {
1762
+ type: "push" | "pull";
1763
+ isFullScan?: boolean | undefined;
1764
+ isIdOnly?: boolean | undefined;
1765
+ }, {
1766
+ type: "push" | "pull";
1767
+ isFullScan?: boolean | undefined;
1768
+ isIdOnly?: boolean | undefined;
1769
+ }>, "strip">>>;
1770
+ customFields: z.ZodOptional<z.ZodBoolean>;
1771
+ udm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1772
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1773
+ extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1774
+ parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1775
+ }, "strip", z.ZodTypeAny, {
1776
+ fields?: string[] | undefined;
1777
+ extract?: Record<string, any> | undefined;
1778
+ parse?: Record<string, any> | undefined;
1779
+ }, {
1780
+ fields?: string[] | undefined;
1781
+ extract?: Record<string, any> | undefined;
1782
+ parse?: Record<string, any> | undefined;
1783
+ }>>>;
1784
+ find: z.ZodOptional<z.ZodObject<{
1785
+ apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1786
+ path: z.ZodUnknown;
1787
+ method: z.ZodUnknown;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ path?: unknown;
1790
+ method?: unknown;
1791
+ }, {
1792
+ path?: unknown;
1793
+ method?: unknown;
1794
+ }>, "many">>;
1795
+ } & {
1796
+ queryFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1797
+ }, "strip", z.ZodTypeAny, {
1798
+ apiRequests?: {
1799
+ path?: unknown;
1800
+ method?: unknown;
1801
+ }[] | undefined;
1802
+ queryFields?: string[] | undefined;
1803
+ }, {
1804
+ apiRequests?: {
1805
+ path?: unknown;
1806
+ method?: unknown;
1807
+ }[] | undefined;
1808
+ queryFields?: string[] | undefined;
1809
+ }>>;
1810
+ }, "strip", z.ZodTypeAny, {
1811
+ type: "collection";
942
1812
  name: string;
943
- type: DataLocationType;
944
- isHidden?: boolean;
945
- }
1813
+ key?: string | undefined;
1814
+ find?: {
1815
+ apiRequests?: {
1816
+ path?: unknown;
1817
+ method?: unknown;
1818
+ }[] | undefined;
1819
+ queryFields?: string[] | undefined;
1820
+ } | undefined;
1821
+ match?: {
1822
+ apiRequests?: {
1823
+ path?: unknown;
1824
+ method?: unknown;
1825
+ }[] | undefined;
1826
+ fields?: string[] | undefined;
1827
+ } | undefined;
1828
+ search?: {
1829
+ apiRequests?: {
1830
+ path?: unknown;
1831
+ method?: unknown;
1832
+ }[] | undefined;
1833
+ } | undefined;
1834
+ delete?: {
1835
+ apiRequests?: {
1836
+ path?: unknown;
1837
+ method?: unknown;
1838
+ }[] | undefined;
1839
+ } | undefined;
1840
+ parametersSchema?: any;
1841
+ fieldsSchema?: any;
1842
+ list?: {
1843
+ apiRequests?: {
1844
+ path?: unknown;
1845
+ method?: unknown;
1846
+ }[] | undefined;
1847
+ filterFields?: string[] | undefined;
1848
+ } | undefined;
1849
+ findById?: {
1850
+ apiRequests?: {
1851
+ path?: unknown;
1852
+ method?: unknown;
1853
+ }[] | undefined;
1854
+ } | undefined;
1855
+ create?: {
1856
+ apiRequests?: {
1857
+ path?: unknown;
1858
+ method?: unknown;
1859
+ }[] | undefined;
1860
+ fields?: string[] | undefined;
1861
+ requiredFields?: string[] | undefined;
1862
+ excludedFields?: string[] | undefined;
1863
+ } | undefined;
1864
+ update?: {
1865
+ apiRequests?: {
1866
+ path?: unknown;
1867
+ method?: unknown;
1868
+ }[] | undefined;
1869
+ fields?: string[] | undefined;
1870
+ excludedFields?: string[] | undefined;
1871
+ } | undefined;
1872
+ events?: z.objectOutputType<{
1873
+ created: z.ZodOptional<z.ZodObject<{
1874
+ type: z.ZodEnum<["push", "pull"]>;
1875
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1876
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1877
+ }, "strip", z.ZodTypeAny, {
1878
+ type: "push" | "pull";
1879
+ isFullScan?: boolean | undefined;
1880
+ isIdOnly?: boolean | undefined;
1881
+ }, {
1882
+ type: "push" | "pull";
1883
+ isFullScan?: boolean | undefined;
1884
+ isIdOnly?: boolean | undefined;
1885
+ }>>;
1886
+ updated: z.ZodOptional<z.ZodObject<{
1887
+ type: z.ZodEnum<["push", "pull"]>;
1888
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1889
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1890
+ }, "strip", z.ZodTypeAny, {
1891
+ type: "push" | "pull";
1892
+ isFullScan?: boolean | undefined;
1893
+ isIdOnly?: boolean | undefined;
1894
+ }, {
1895
+ type: "push" | "pull";
1896
+ isFullScan?: boolean | undefined;
1897
+ isIdOnly?: boolean | undefined;
1898
+ }>>;
1899
+ deleted: z.ZodOptional<z.ZodObject<{
1900
+ type: z.ZodEnum<["push", "pull"]>;
1901
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1902
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1903
+ }, "strip", z.ZodTypeAny, {
1904
+ type: "push" | "pull";
1905
+ isFullScan?: boolean | undefined;
1906
+ isIdOnly?: boolean | undefined;
1907
+ }, {
1908
+ type: "push" | "pull";
1909
+ isFullScan?: boolean | undefined;
1910
+ isIdOnly?: boolean | undefined;
1911
+ }>>;
1912
+ all: z.ZodOptional<z.ZodObject<{
1913
+ type: z.ZodEnum<["push", "pull"]>;
1914
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1915
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ type: "push" | "pull";
1918
+ isFullScan?: boolean | undefined;
1919
+ isIdOnly?: boolean | undefined;
1920
+ }, {
1921
+ type: "push" | "pull";
1922
+ isFullScan?: boolean | undefined;
1923
+ isIdOnly?: boolean | undefined;
1924
+ }>>;
1925
+ }, z.ZodObject<{
1926
+ type: z.ZodEnum<["push", "pull"]>;
1927
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
1928
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
1929
+ }, "strip", z.ZodTypeAny, {
1930
+ type: "push" | "pull";
1931
+ isFullScan?: boolean | undefined;
1932
+ isIdOnly?: boolean | undefined;
1933
+ }, {
1934
+ type: "push" | "pull";
1935
+ isFullScan?: boolean | undefined;
1936
+ isIdOnly?: boolean | undefined;
1937
+ }>, "strip"> | undefined;
1938
+ customFields?: boolean | undefined;
1939
+ udm?: Record<string, {
1940
+ fields?: string[] | undefined;
1941
+ extract?: Record<string, any> | undefined;
1942
+ parse?: Record<string, any> | undefined;
1943
+ }> | undefined;
1944
+ }, {
1945
+ type: "collection";
1946
+ name: string;
1947
+ key?: string | undefined;
1948
+ find?: {
1949
+ apiRequests?: {
1950
+ path?: unknown;
1951
+ method?: unknown;
1952
+ }[] | undefined;
1953
+ queryFields?: string[] | undefined;
1954
+ } | undefined;
1955
+ match?: {
1956
+ apiRequests?: {
1957
+ path?: unknown;
1958
+ method?: unknown;
1959
+ }[] | undefined;
1960
+ fields?: string[] | undefined;
1961
+ } | undefined;
1962
+ search?: {
1963
+ apiRequests?: {
1964
+ path?: unknown;
1965
+ method?: unknown;
1966
+ }[] | undefined;
1967
+ } | undefined;
1968
+ delete?: {
1969
+ apiRequests?: {
1970
+ path?: unknown;
1971
+ method?: unknown;
1972
+ }[] | undefined;
1973
+ } | undefined;
1974
+ parametersSchema?: any;
1975
+ fieldsSchema?: any;
1976
+ list?: {
1977
+ apiRequests?: {
1978
+ path?: unknown;
1979
+ method?: unknown;
1980
+ }[] | undefined;
1981
+ filterFields?: string[] | undefined;
1982
+ } | undefined;
1983
+ findById?: {
1984
+ apiRequests?: {
1985
+ path?: unknown;
1986
+ method?: unknown;
1987
+ }[] | undefined;
1988
+ } | undefined;
1989
+ create?: {
1990
+ apiRequests?: {
1991
+ path?: unknown;
1992
+ method?: unknown;
1993
+ }[] | undefined;
1994
+ fields?: string[] | undefined;
1995
+ requiredFields?: string[] | undefined;
1996
+ excludedFields?: string[] | undefined;
1997
+ } | undefined;
1998
+ update?: {
1999
+ apiRequests?: {
2000
+ path?: unknown;
2001
+ method?: unknown;
2002
+ }[] | undefined;
2003
+ fields?: string[] | undefined;
2004
+ excludedFields?: string[] | undefined;
2005
+ } | undefined;
2006
+ events?: z.objectInputType<{
2007
+ created: z.ZodOptional<z.ZodObject<{
2008
+ type: z.ZodEnum<["push", "pull"]>;
2009
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2010
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2011
+ }, "strip", z.ZodTypeAny, {
2012
+ type: "push" | "pull";
2013
+ isFullScan?: boolean | undefined;
2014
+ isIdOnly?: boolean | undefined;
2015
+ }, {
2016
+ type: "push" | "pull";
2017
+ isFullScan?: boolean | undefined;
2018
+ isIdOnly?: boolean | undefined;
2019
+ }>>;
2020
+ updated: z.ZodOptional<z.ZodObject<{
2021
+ type: z.ZodEnum<["push", "pull"]>;
2022
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2023
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2024
+ }, "strip", z.ZodTypeAny, {
2025
+ type: "push" | "pull";
2026
+ isFullScan?: boolean | undefined;
2027
+ isIdOnly?: boolean | undefined;
2028
+ }, {
2029
+ type: "push" | "pull";
2030
+ isFullScan?: boolean | undefined;
2031
+ isIdOnly?: boolean | undefined;
2032
+ }>>;
2033
+ deleted: z.ZodOptional<z.ZodObject<{
2034
+ type: z.ZodEnum<["push", "pull"]>;
2035
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2036
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2037
+ }, "strip", z.ZodTypeAny, {
2038
+ type: "push" | "pull";
2039
+ isFullScan?: boolean | undefined;
2040
+ isIdOnly?: boolean | undefined;
2041
+ }, {
2042
+ type: "push" | "pull";
2043
+ isFullScan?: boolean | undefined;
2044
+ isIdOnly?: boolean | undefined;
2045
+ }>>;
2046
+ all: z.ZodOptional<z.ZodObject<{
2047
+ type: z.ZodEnum<["push", "pull"]>;
2048
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2049
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2050
+ }, "strip", z.ZodTypeAny, {
2051
+ type: "push" | "pull";
2052
+ isFullScan?: boolean | undefined;
2053
+ isIdOnly?: boolean | undefined;
2054
+ }, {
2055
+ type: "push" | "pull";
2056
+ isFullScan?: boolean | undefined;
2057
+ isIdOnly?: boolean | undefined;
2058
+ }>>;
2059
+ }, z.ZodObject<{
2060
+ type: z.ZodEnum<["push", "pull"]>;
2061
+ isFullScan: z.ZodOptional<z.ZodBoolean>;
2062
+ isIdOnly: z.ZodOptional<z.ZodBoolean>;
2063
+ }, "strip", z.ZodTypeAny, {
2064
+ type: "push" | "pull";
2065
+ isFullScan?: boolean | undefined;
2066
+ isIdOnly?: boolean | undefined;
2067
+ }, {
2068
+ type: "push" | "pull";
2069
+ isFullScan?: boolean | undefined;
2070
+ isIdOnly?: boolean | undefined;
2071
+ }>, "strip"> | undefined;
2072
+ customFields?: boolean | undefined;
2073
+ udm?: Record<string, {
2074
+ fields?: string[] | undefined;
2075
+ extract?: Record<string, any> | undefined;
2076
+ parse?: Record<string, any> | undefined;
2077
+ }> | undefined;
2078
+ }>;
2079
+ type DataCollectionSpec = z.infer<typeof DataCollectionSpecSchema>;
946
2080
  interface DataLocationPointer {
947
2081
  key: string;
948
2082
  parameters?: Record<string, any>;
949
- type?: DataLocationType;
950
- }
951
- interface DataLocation {
952
- key?: string;
953
- parameters?: any;
954
- path?: string;
955
- name?: string;
956
- type?: DataLocationType;
957
- isDefault?: boolean;
958
- read?: boolean;
959
- write?: boolean;
960
2083
  }
961
- interface DataLocationMixin {
2084
+ interface DataCollectionMixin {
962
2085
  key: string;
963
2086
  parameters?: any;
964
2087
  }
965
- interface DataLocationSpecBase {
966
- type: DataLocationType;
967
- key?: string;
2088
+ interface DataCollectionListItem {
2089
+ key: string;
968
2090
  name: string;
969
- parametersSchema?: DataSchema;
970
- }
971
- interface DataCollectionSpec extends DataLocationSpecBase {
972
- fieldsSchema?: DataSchema;
973
- list?: DataCollectionListSpec;
974
- search?: DataCollectionSearchSpec;
975
- match?: DataCollectionMatchSpec;
976
- findById?: DataCollectionFindByIdSpec;
977
- create?: DataCollectionCreateSpec;
978
- update?: DataCollectionUpdateSpec;
979
- delete?: DataCollectionDeleteSpec;
980
- events?: DataCollectionEventsSpec;
981
- customFields?: boolean;
982
- udm?: DataCollectionUdmsSpec;
983
- find?: DataCollectionFindSpec;
984
- }
985
- interface ApiRequestSpec {
986
- path: any;
987
- method: any;
988
- }
989
- declare enum DataDirectoryOperation {
990
- list = "list"
991
- }
992
- interface DataDirectorySpec extends DataLocationSpecBase {
993
- locations?: DataLocation[];
994
- }
995
- interface DataCollectionMethodSpec {
996
- apiRequests?: ApiRequestSpec[];
997
- }
998
- interface DataCollectionFindSpec extends DataCollectionMethodSpec {
999
- queryFields?: string[];
1000
- }
1001
- interface DataCollectionMatchSpec extends DataCollectionMethodSpec {
1002
- fields?: string[];
1003
- }
1004
- interface DataCollectionListSpec extends DataCollectionMethodSpec {
1005
- filterFields?: string[];
1006
- }
1007
- interface DataCollectionSearchSpec extends DataCollectionMethodSpec {
1008
- }
1009
- interface DataCollectionFindByIdSpec extends DataCollectionMethodSpec {
1010
- }
1011
- interface DataCollectionCreateSpec extends DataCollectionMethodSpec {
1012
- fields?: string[];
1013
- requiredFields?: string[];
1014
- excludedFields?: string[];
1015
- }
1016
- interface DataCollectionUpdateSpec extends DataCollectionMethodSpec {
1017
- fields?: string[];
1018
- excludedFields?: string[];
1019
- }
1020
- interface DataCollectionDeleteSpec extends DataCollectionMethodSpec {
2091
+ type: 'collection';
2092
+ isHidden?: boolean;
1021
2093
  }
1022
- type DataCollectionUdmSpec = {
1023
- fields?: string[];
1024
- extract?: Record<string, any>;
1025
- parse?: Record<string, any>;
1026
- };
1027
- type DataCollectionUdmsSpec = Record<string, DataCollectionUdmSpec>;
1028
- type DataCollectionEventTypeSpec = {
1029
- type: 'push' | 'pull';
1030
- isFullScan?: boolean;
1031
- isIdOnly?: boolean;
1032
- };
1033
- type DataCollectionEventsSpec = {
1034
- [value in DataCollectionEventType]: DataCollectionEventTypeSpec;
1035
- } & {
1036
- all?: DataCollectionEventTypeSpec;
1037
- };
1038
2094
  interface DataCollectionMethodRequest {
1039
2095
  parameters?: Record<string, any>;
1040
2096
  }
@@ -1144,13 +2200,6 @@ interface DataCollectionParseUnifiedFieldsRequest {
1144
2200
  interface DataCollectionParseUnifiedFieldsResponse {
1145
2201
  fields: any;
1146
2202
  }
1147
- interface DataDirectoryListRequest {
1148
- cursor?: string;
1149
- }
1150
- interface DataDirectoryListResponse {
1151
- locations: DataLocation[];
1152
- cursor?: string;
1153
- }
1154
2203
  declare const ConnectorDataLocationTypes: {
1155
2204
  collection: {
1156
2205
  spec: ConnectorDataCollectionMethodType<unknown>;
@@ -1163,127 +2212,46 @@ declare const ConnectorDataLocationTypes: {
1163
2212
  findById: ConnectorDataCollectionMethodType<unknown>;
1164
2213
  match: ConnectorDataCollectionMethodType<DataCollectionMatchConfigType>;
1165
2214
  search: ConnectorDataCollectionMethodType<unknown>;
1166
- create: ConnectorDataCollectionMethodType<DataCollectionCreateConfigType>;
1167
- update: ConnectorDataCollectionMethodType<DataCollectionUpdateConfigType>;
1168
- delete: ConnectorDataCollectionMethodType<unknown>;
1169
- find: ConnectorDataCollectionMethodType<{
1170
- queryFields: string[];
1171
- }>;
1172
- };
1173
- recordToApi: ConnectorDataCollectionMethodType<unknown>;
1174
- recordFromApi: ConnectorDataCollectionMethodType<unknown>;
1175
- recordFromApiMapping: ConnectorDataCollectionMethodType<unknown>;
1176
- recordFromApiCode: ConnectorDataCollectionMethodType<unknown>;
1177
- fieldsToApiMapping: ConnectorDataCollectionMethodType<unknown>;
1178
- fieldsToApiCode: ConnectorDataCollectionMethodType<unknown>;
1179
- };
1180
- directory: {
1181
- spec: ConnectorDataDirectoryMethodType<unknown>;
1182
- methods: {
1183
- list: ConnectorDataDirectoryMethodType<unknown>;
1184
- };
1185
- };
1186
- };
1187
- type ConnectorDataLocation = ConnectorDataCollection | ConnectorDataDirectory;
1188
-
1189
- interface ConnectorDataLocationBase {
1190
- type: 'collection' | 'directory';
1191
- key: string;
1192
- name: string;
1193
- parametersSchema?: DataSchema;
1194
- extends?: DataLocationMixin[];
1195
- relatedOperationKeys?: string[];
1196
- }
1197
-
1198
- declare function getDataLocationMethodPath(locationKey: any, methodKey: any): string;
1199
- declare function dataLocationParametersMatch({ locationParameters, targetParameters, }: {
1200
- locationParameters: Record<string, any>;
1201
- targetParameters: Record<string, any>;
1202
- }): boolean;
1203
- declare function parseDataLocationPath(path: string): DataLocationPointer;
1204
- declare function parseDataLocationPath(path: string | undefined): DataLocationPointer | undefined;
1205
- declare function makeDataLocationPath(pointer: DataLocationPointer): string;
1206
- declare function makeDataLocationPath(pointer: DataLocationPointer | undefined): string | undefined;
1207
- declare function makeDataLocationOperationPath(collectionPath: string, operation: string): string;
1208
- declare function isSameDataLocation(location1: DataLocationPointer, location2: DataLocationPointer): boolean;
1209
- declare function isDataLocationMethodSupported(location: ConnectorDataLocation, methodKey: string): boolean;
1210
- declare function getDataCollectionCreateFields(spec: DataCollectionSpec): DataSchema | undefined;
1211
- declare function getDataCollectionUpdateFields(spec: DataCollectionSpec): DataSchema | undefined;
1212
- declare function getWritableFieldsSchema(spec: DataCollectionSpec): DataSchema | undefined;
1213
-
1214
- interface UnifiedDataModel {
1215
- singularName: string;
1216
- pluralName: string;
1217
- fieldsSchema: any;
1218
- description?: string;
1219
- categories?: (typeof CONNECTOR_CATEGORIES)[number][];
1220
- normalizeFields?: (fields: Record<string, any>) => Record<string, any>;
1221
- populateFields?: (fields: Record<string, any>) => Record<string, any>;
1222
- list?: DataCollectionListSpec;
1223
- find?: DataCollectionFindSpec;
1224
- match?: DataCollectionMatchSpec;
1225
- create?: DataCollectionCreateSpec;
1226
- update?: DataCollectionUpdateSpec;
1227
- delete?: DataCollectionDeleteSpec;
1228
- udmFallbacks?: Array<UDMFallback>;
1229
- fieldFallbacks?: Record<string, FieldFallbackValues>;
1230
- }
1231
- interface UDMFallback {
1232
- udm: string;
1233
- importFields?: Record<string, any>;
1234
- exportFields?: Record<string, any>;
1235
- }
1236
- type FieldFallbackValues = any[];
1237
-
1238
- declare enum UDM {
1239
- ACTIVITIES = "activities",
1240
- BILLS = "bills",
1241
- CAMPAIGN_MEMBERS = "campaign-members",
1242
- CAMPAIGNS = "campaigns",
1243
- COMPANIES = "companies",
1244
- CONTACTS = "contacts",
1245
- CONTACT_LISTS = "contact-lists",
1246
- CREDIT_NOTES = "credit-notes",
1247
- CUSTOMERS = "customers",
1248
- DEAL_PRODUCTS = "deal-products",
1249
- DEALS = "deals",
1250
- DEAL_STAGES = "deal-stages",
1251
- DOCUMENTS = "documents",
1252
- DRIVES = "drives",
1253
- DRIVE_ITEMS = "drive-items",
1254
- EEOCS = "eeocs",
1255
- EMAILS = "emails",
1256
- EMPLOYEES = "employees",
1257
- FILES = "files",
1258
- FOLDERS = "folders",
1259
- INVOICES = "invoices",
1260
- JOB_APPLICATIONS = "job-applications",
1261
- JOB_CANDIDATES = "job-candidates",
1262
- JOB_INTERVIEWS = "job-interviews",
1263
- JOB_OFFERS = "job-offers",
1264
- JOBS = "jobs",
1265
- JOURNAL_ENTRIES = "journal-entries",
1266
- LEADS = "leads",
1267
- LEDGER_ACCOUNTS = "ledger-accounts",
1268
- MEETINGS = "meetings",
1269
- MESSAGES = "messages",
1270
- NOTES = "notes",
1271
- ORDERS = "orders",
1272
- PAYMENTS = "payments",
1273
- PAYROLLS = "payrolls",
1274
- PRODUCTS = "products",
1275
- PROJECTS = "projects",
1276
- SUPPLIERS = "suppliers",
1277
- TASKS = "tasks",
1278
- TAX_RATES = "tax-rates",
1279
- USERS = "users",
1280
- TIMEOFF_BALANCES = "timeoff-balances",
1281
- TIMEOFF_REQUESTS = "timeoff-requests"
2215
+ create: ConnectorDataCollectionMethodType<DataCollectionCreateConfigType>;
2216
+ update: ConnectorDataCollectionMethodType<DataCollectionUpdateConfigType>;
2217
+ delete: ConnectorDataCollectionMethodType<unknown>;
2218
+ find: ConnectorDataCollectionMethodType<{
2219
+ queryFields: string[];
2220
+ }>;
2221
+ };
2222
+ recordToApi: ConnectorDataCollectionMethodType<unknown>;
2223
+ recordFromApi: ConnectorDataCollectionMethodType<unknown>;
2224
+ recordFromApiMapping: ConnectorDataCollectionMethodType<unknown>;
2225
+ recordFromApiCode: ConnectorDataCollectionMethodType<unknown>;
2226
+ fieldsToApiMapping: ConnectorDataCollectionMethodType<unknown>;
2227
+ fieldsToApiCode: ConnectorDataCollectionMethodType<unknown>;
2228
+ };
2229
+ };
2230
+
2231
+ interface ConnectorDataCollectionBase {
2232
+ type: 'collection' | 'directory';
2233
+ key: string;
2234
+ name: string;
2235
+ parametersSchema?: DataSchema;
2236
+ extends?: DataCollectionMixin[];
2237
+ relatedOperationKeys?: string[];
1282
2238
  }
1283
- declare const UNIFIED_DATA_MODELS: Record<UDM, UnifiedDataModel>;
1284
- declare function findUdmRootLocation(spec: ConnectorSpec, udm: string, useFallback?: boolean): DataLocationPointer | undefined;
1285
- declare function findUdmDefaultCollection(spec: ConnectorSpec, udm: string, useFallback?: boolean): DataLocationPointer | undefined;
1286
- declare function addUdmFallbackFields(fields: any, udm: string): any;
2239
+
2240
+ declare function getDataLocationMethodPath(locationKey: any, methodKey: any): string;
2241
+ declare function dataLocationParametersMatch({ locationParameters, targetParameters, }: {
2242
+ locationParameters: Record<string, any>;
2243
+ targetParameters: Record<string, any>;
2244
+ }): boolean;
2245
+ declare function parseDataLocationPath(path: string): DataLocationPointer;
2246
+ declare function parseDataLocationPath(path: string | undefined): DataLocationPointer | undefined;
2247
+ declare function makeDataLocationPath(pointer: DataLocationPointer): string;
2248
+ declare function makeDataLocationPath(pointer: DataLocationPointer | undefined): string | undefined;
2249
+ declare function makeDataLocationOperationPath(collectionPath: string, operation: string): string;
2250
+ declare function isSameDataLocation(location1: DataLocationPointer, location2: DataLocationPointer): boolean;
2251
+ declare function isDataLocationMethodSupported(location: ConnectorDataCollection, methodKey: string): boolean;
2252
+ declare function getDataCollectionCreateFields(spec: DataCollectionSpec): DataSchema | undefined;
2253
+ declare function getDataCollectionUpdateFields(spec: DataCollectionSpec): DataSchema | undefined;
2254
+ declare function getWritableFieldsSchema(spec: DataCollectionSpec): DataSchema | undefined;
1287
2255
 
1288
2256
  interface ConnectorUdmListLitem {
1289
2257
  key: string;
@@ -1329,15 +2297,6 @@ interface ConnectorUiSpec {
1329
2297
  helpUri?: string;
1330
2298
  test?: boolean;
1331
2299
  }
1332
- type ConnectorDataUdmSpec = {
1333
- rootLocation: DataLocation;
1334
- };
1335
- type ConnectorDataSpec = {
1336
- rootLocation?: DataLocation;
1337
- locations?: DataLocationSpec[];
1338
- udm?: Partial<Record<UDM, ConnectorDataUdmSpec>>;
1339
- root?: DataLocation;
1340
- } & Partial<Record<UDM, DataLocation>>;
1341
2300
  type ConnectorApiType = 'openapi' | 'graphql';
1342
2301
  interface ConnectorSpec {
1343
2302
  key?: string;
@@ -1351,7 +2310,6 @@ interface ConnectorSpec {
1351
2310
  ui?: ConnectorUiSpec;
1352
2311
  auth?: ConnectorAuth;
1353
2312
  parametersSchema?: DataSchema;
1354
- data?: ConnectorDataSpec;
1355
2313
  udms?: string[];
1356
2314
  udm?: Record<string, ConnectorUdmSpec>;
1357
2315
  operations?: ConnectorOperationHandler[];
@@ -1360,6 +2318,7 @@ interface ConnectorSpec {
1360
2318
  appUuid?: string;
1361
2319
  knowledgeBaseUuid?: string;
1362
2320
  workspaceId?: string;
2321
+ data?: any;
1363
2322
  }
1364
2323
  type MinimalConnector = {
1365
2324
  id: string;
@@ -1368,7 +2327,7 @@ type MinimalConnector = {
1368
2327
  logoUri: string;
1369
2328
  };
1370
2329
 
1371
- declare const CONNECTOR_AUTH_TYPES: readonly ["integration-app-token", "oauth2", "oauth1", "client-credentials", "proxy"];
2330
+ declare const CONNECTOR_AUTH_TYPES: readonly ["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"];
1372
2331
  type ConnectorAuthType = (typeof CONNECTOR_AUTH_TYPES)[number];
1373
2332
  type ConnectorAuthSpec = {
1374
2333
  title?: string;
@@ -1425,9 +2384,12 @@ interface ConnectorAuthProxy extends ConnectorAuthHandlerBase {
1425
2384
  interface ConnectorAuthIntegrationAppToken extends ConnectorAuthHandlerBase {
1426
2385
  type: 'integration-app-token';
1427
2386
  }
1428
- type ConnectorAuth = (ConnectorAuthOAuth2 | ConnectorAuthOAuth1 | ConnectorAuthClientCredentials | ConnectorAuthIntegrationAppToken | ConnectorAuthProxy) & {
2387
+ interface ConnectorAuthMembraneToken extends ConnectorAuthHandlerBase {
2388
+ type: 'membrane-token';
2389
+ }
2390
+ type ConnectorAuth = (ConnectorAuthOAuth2 | ConnectorAuthOAuth1 | ConnectorAuthClientCredentials | ConnectorAuthIntegrationAppToken | ConnectorAuthMembraneToken | ConnectorAuthProxy) & {
1429
2391
  options?: {
1430
- [key: string]: ConnectorAuthOAuth2 | ConnectorAuthOAuth1 | ConnectorAuthClientCredentials | ConnectorAuthIntegrationAppToken | ConnectorAuthProxy;
2392
+ [key: string]: ConnectorAuthOAuth2 | ConnectorAuthOAuth1 | ConnectorAuthClientCredentials | ConnectorAuthIntegrationAppToken | ConnectorAuthMembraneToken | ConnectorAuthProxy;
1431
2393
  };
1432
2394
  };
1433
2395
  interface ConnectorAuthOAuth2Config {
@@ -2050,10 +3012,8 @@ declare class IntegrationAccessor extends ElementAccessor<Integration, UpdateInt
2050
3012
  disconnect(): Promise<void>;
2051
3013
  getOperations(): Promise<OperationListItem[]>;
2052
3014
  getOperation(key: string): Promise<OperationSpec>;
2053
- getDataCollections(): Promise<DataLocationListItem[]>;
2054
- getDataCollection(key: string): Promise<DataLocationSpec>;
2055
- getDataLocations(): Promise<DataLocationListItem[]>;
2056
- getDataLocation(key: string): Promise<DataLocationSpec>;
3015
+ getDataCollections(): Promise<DataCollectionListItem[]>;
3016
+ getDataCollection(key: string): Promise<DataCollectionSpec>;
2057
3017
  }
2058
3018
 
2059
3019
  declare enum FlowNodeRunStatus {
@@ -2066,37 +3026,368 @@ interface FlowNodeHandlerRunResponse {
2066
3026
  output?: any;
2067
3027
  errors?: ErrorData[];
2068
3028
  }
2069
- interface UpstreamFlowNodeRun {
3029
+ declare const UpstreamFlowNodeRunSchema: z.ZodObject<{
3030
+ nodeKey: z.ZodString;
3031
+ runId: z.ZodString;
3032
+ outputId: z.ZodString;
3033
+ }, "strip", z.ZodTypeAny, {
3034
+ nodeKey: string;
3035
+ runId: string;
3036
+ outputId: string;
3037
+ }, {
2070
3038
  nodeKey: string;
2071
3039
  runId: string;
2072
3040
  outputId: string;
3041
+ }>;
3042
+ interface UpstreamFlowNodeRun extends z.infer<typeof UpstreamFlowNodeRunSchema> {
2073
3043
  }
2074
- interface DownstreamFlowNodeRun {
3044
+ declare const DownstreamFlowNodeRunSchema: z.ZodObject<{
3045
+ runId: z.ZodString;
3046
+ nodeKey: z.ZodString;
3047
+ }, "strip", z.ZodTypeAny, {
3048
+ nodeKey: string;
2075
3049
  runId: string;
3050
+ }, {
2076
3051
  nodeKey: string;
2077
- }
2078
- interface FlowNodeRunParameters {
3052
+ runId: string;
3053
+ }>;
3054
+ interface DownstreamFlowNodeRun extends z.infer<typeof DownstreamFlowNodeRunSchema> {
3055
+ }
3056
+ declare const FlowNodeRunParametersSchema: z.ZodObject<{
3057
+ id: z.ZodString;
3058
+ upstreamRuns: z.ZodArray<z.ZodObject<{
3059
+ nodeKey: z.ZodString;
3060
+ runId: z.ZodString;
3061
+ outputId: z.ZodString;
3062
+ }, "strip", z.ZodTypeAny, {
3063
+ nodeKey: string;
3064
+ runId: string;
3065
+ outputId: string;
3066
+ }, {
3067
+ nodeKey: string;
3068
+ runId: string;
3069
+ outputId: string;
3070
+ }>, "many">;
3071
+ input: z.ZodAny;
3072
+ }, "strip", z.ZodTypeAny, {
2079
3073
  id: string;
2080
- upstreamRuns: UpstreamFlowNodeRun[];
2081
- input: any;
3074
+ upstreamRuns: {
3075
+ nodeKey: string;
3076
+ runId: string;
3077
+ outputId: string;
3078
+ }[];
3079
+ input?: any;
3080
+ }, {
3081
+ id: string;
3082
+ upstreamRuns: {
3083
+ nodeKey: string;
3084
+ runId: string;
3085
+ outputId: string;
3086
+ }[];
3087
+ input?: any;
3088
+ }>;
3089
+ interface FlowNodeRunParameters extends z.infer<typeof FlowNodeRunParametersSchema> {
3090
+ }
3091
+ declare const FlowNodeRunOutputSchema: z.ZodObject<{
3092
+ id: z.ZodString;
3093
+ data: z.ZodString;
3094
+ downstreamRuns: z.ZodArray<z.ZodObject<{
3095
+ runId: z.ZodString;
3096
+ nodeKey: z.ZodString;
3097
+ }, "strip", z.ZodTypeAny, {
3098
+ nodeKey: string;
3099
+ runId: string;
3100
+ }, {
3101
+ nodeKey: string;
3102
+ runId: string;
3103
+ }>, "many">;
3104
+ }, "strip", z.ZodTypeAny, {
3105
+ data: string;
3106
+ id: string;
3107
+ downstreamRuns: {
3108
+ nodeKey: string;
3109
+ runId: string;
3110
+ }[];
3111
+ }, {
3112
+ data: string;
3113
+ id: string;
3114
+ downstreamRuns: {
3115
+ nodeKey: string;
3116
+ runId: string;
3117
+ }[];
3118
+ }>;
3119
+ interface FlowNodeRunOutput extends z.infer<typeof FlowNodeRunOutputSchema> {
3120
+ }
3121
+ declare const FlowNodeRunResultSchema: z.ZodObject<{
3122
+ status: z.ZodNativeEnum<typeof FlowNodeRunStatus>;
3123
+ logs: z.ZodArray<z.ZodAny, "many">;
3124
+ outputs: z.ZodArray<z.ZodObject<{
3125
+ id: z.ZodString;
3126
+ data: z.ZodString;
3127
+ downstreamRuns: z.ZodArray<z.ZodObject<{
3128
+ runId: z.ZodString;
3129
+ nodeKey: z.ZodString;
3130
+ }, "strip", z.ZodTypeAny, {
3131
+ nodeKey: string;
3132
+ runId: string;
3133
+ }, {
3134
+ nodeKey: string;
3135
+ runId: string;
3136
+ }>, "many">;
3137
+ }, "strip", z.ZodTypeAny, {
3138
+ data: string;
3139
+ id: string;
3140
+ downstreamRuns: {
3141
+ nodeKey: string;
3142
+ runId: string;
3143
+ }[];
3144
+ }, {
3145
+ data: string;
3146
+ id: string;
3147
+ downstreamRuns: {
3148
+ nodeKey: string;
3149
+ runId: string;
3150
+ }[];
3151
+ }>, "many">;
3152
+ errors: z.ZodArray<any, "many">;
3153
+ }, "strip", z.ZodTypeAny, {
3154
+ logs: any[];
3155
+ status: FlowNodeRunStatus;
3156
+ outputs: {
3157
+ data: string;
3158
+ id: string;
3159
+ downstreamRuns: {
3160
+ nodeKey: string;
3161
+ runId: string;
3162
+ }[];
3163
+ }[];
3164
+ errors: any[];
3165
+ }, {
3166
+ logs: any[];
3167
+ status: FlowNodeRunStatus;
3168
+ outputs: {
3169
+ data: string;
3170
+ id: string;
3171
+ downstreamRuns: {
3172
+ nodeKey: string;
3173
+ runId: string;
3174
+ }[];
3175
+ }[];
3176
+ errors: any[];
3177
+ }>;
3178
+ interface FlowNodeRunResult extends z.infer<typeof FlowNodeRunResultSchema> {
3179
+ }
3180
+ declare const FlowNodeRunRecordSchema: z.ZodObject<{
3181
+ id: z.ZodString;
3182
+ upstreamRuns: z.ZodArray<z.ZodObject<{
3183
+ nodeKey: z.ZodString;
3184
+ runId: z.ZodString;
3185
+ outputId: z.ZodString;
3186
+ }, "strip", z.ZodTypeAny, {
3187
+ nodeKey: string;
3188
+ runId: string;
3189
+ outputId: string;
3190
+ }, {
3191
+ nodeKey: string;
3192
+ runId: string;
3193
+ outputId: string;
3194
+ }>, "many">;
3195
+ input: z.ZodAny;
3196
+ } & {
3197
+ status: z.ZodNativeEnum<typeof FlowNodeRunStatus>;
3198
+ logs: z.ZodArray<z.ZodAny, "many">;
3199
+ outputs: z.ZodArray<z.ZodObject<{
3200
+ id: z.ZodString;
3201
+ data: z.ZodString;
3202
+ downstreamRuns: z.ZodArray<z.ZodObject<{
3203
+ runId: z.ZodString;
3204
+ nodeKey: z.ZodString;
3205
+ }, "strip", z.ZodTypeAny, {
3206
+ nodeKey: string;
3207
+ runId: string;
3208
+ }, {
3209
+ nodeKey: string;
3210
+ runId: string;
3211
+ }>, "many">;
3212
+ }, "strip", z.ZodTypeAny, {
3213
+ data: string;
3214
+ id: string;
3215
+ downstreamRuns: {
3216
+ nodeKey: string;
3217
+ runId: string;
3218
+ }[];
3219
+ }, {
3220
+ data: string;
3221
+ id: string;
3222
+ downstreamRuns: {
3223
+ nodeKey: string;
3224
+ runId: string;
3225
+ }[];
3226
+ }>, "many">;
3227
+ errors: z.ZodArray<any, "many">;
3228
+ }, "strip", z.ZodTypeAny, {
3229
+ logs: any[];
3230
+ status: FlowNodeRunStatus;
3231
+ id: string;
3232
+ upstreamRuns: {
3233
+ nodeKey: string;
3234
+ runId: string;
3235
+ outputId: string;
3236
+ }[];
3237
+ outputs: {
3238
+ data: string;
3239
+ id: string;
3240
+ downstreamRuns: {
3241
+ nodeKey: string;
3242
+ runId: string;
3243
+ }[];
3244
+ }[];
3245
+ errors: any[];
3246
+ input?: any;
3247
+ }, {
3248
+ logs: any[];
3249
+ status: FlowNodeRunStatus;
3250
+ id: string;
3251
+ upstreamRuns: {
3252
+ nodeKey: string;
3253
+ runId: string;
3254
+ outputId: string;
3255
+ }[];
3256
+ outputs: {
3257
+ data: string;
3258
+ id: string;
3259
+ downstreamRuns: {
3260
+ nodeKey: string;
3261
+ runId: string;
3262
+ }[];
3263
+ }[];
3264
+ errors: any[];
3265
+ input?: any;
3266
+ }>;
3267
+ interface FlowNodeRunRecord extends z.infer<typeof FlowNodeRunRecordSchema> {
2082
3268
  }
2083
- interface FlowNodeRunOutput {
3269
+ declare const FlowNodeRunOutputWithoutDownstreamRunsSchema: z.ZodObject<{
3270
+ id: z.ZodString;
3271
+ data: z.ZodString;
3272
+ }, "strip", z.ZodTypeAny, {
3273
+ data: string;
2084
3274
  id: string;
3275
+ }, {
2085
3276
  data: string;
2086
- downstreamRuns: DownstreamFlowNodeRun[];
3277
+ id: string;
3278
+ }>;
3279
+ interface FlowNodeRunOutputWithoutDownstreamRuns extends z.infer<typeof FlowNodeRunOutputWithoutDownstreamRunsSchema> {
2087
3280
  }
2088
- interface FlowNodeRunResult {
3281
+ declare const FlowNodeRunOutputMetadataSchema: z.ZodObject<{
3282
+ id: z.ZodString;
3283
+ downstreamRuns: z.ZodArray<z.ZodObject<{
3284
+ runId: z.ZodString;
3285
+ nodeKey: z.ZodString;
3286
+ }, "strip", z.ZodTypeAny, {
3287
+ nodeKey: string;
3288
+ runId: string;
3289
+ }, {
3290
+ nodeKey: string;
3291
+ runId: string;
3292
+ }>, "many">;
3293
+ }, "strip", z.ZodTypeAny, {
3294
+ id: string;
3295
+ downstreamRuns: {
3296
+ nodeKey: string;
3297
+ runId: string;
3298
+ }[];
3299
+ }, {
3300
+ id: string;
3301
+ downstreamRuns: {
3302
+ nodeKey: string;
3303
+ runId: string;
3304
+ }[];
3305
+ }>;
3306
+ interface FlowNodeRunOutputMetadata extends z.infer<typeof FlowNodeRunOutputMetadataSchema> {
3307
+ }
3308
+ declare const FlowNodeRunRecordWithoutOutputsDataSchema: z.ZodObject<{
3309
+ id: z.ZodString;
3310
+ upstreamRuns: z.ZodArray<z.ZodObject<{
3311
+ nodeKey: z.ZodString;
3312
+ runId: z.ZodString;
3313
+ outputId: z.ZodString;
3314
+ }, "strip", z.ZodTypeAny, {
3315
+ nodeKey: string;
3316
+ runId: string;
3317
+ outputId: string;
3318
+ }, {
3319
+ nodeKey: string;
3320
+ runId: string;
3321
+ outputId: string;
3322
+ }>, "many">;
3323
+ input: z.ZodAny;
3324
+ status: z.ZodNativeEnum<typeof FlowNodeRunStatus>;
3325
+ logs: z.ZodArray<z.ZodAny, "many">;
3326
+ outputs: z.ZodArray<z.ZodObject<{
3327
+ id: z.ZodString;
3328
+ downstreamRuns: z.ZodArray<z.ZodObject<{
3329
+ runId: z.ZodString;
3330
+ nodeKey: z.ZodString;
3331
+ }, "strip", z.ZodTypeAny, {
3332
+ nodeKey: string;
3333
+ runId: string;
3334
+ }, {
3335
+ nodeKey: string;
3336
+ runId: string;
3337
+ }>, "many">;
3338
+ }, "strip", z.ZodTypeAny, {
3339
+ id: string;
3340
+ downstreamRuns: {
3341
+ nodeKey: string;
3342
+ runId: string;
3343
+ }[];
3344
+ }, {
3345
+ id: string;
3346
+ downstreamRuns: {
3347
+ nodeKey: string;
3348
+ runId: string;
3349
+ }[];
3350
+ }>, "many">;
3351
+ errors: z.ZodArray<any, "many">;
3352
+ }, "strip", z.ZodTypeAny, {
3353
+ logs: any[];
2089
3354
  status: FlowNodeRunStatus;
3355
+ id: string;
3356
+ upstreamRuns: {
3357
+ nodeKey: string;
3358
+ runId: string;
3359
+ outputId: string;
3360
+ }[];
3361
+ outputs: {
3362
+ id: string;
3363
+ downstreamRuns: {
3364
+ nodeKey: string;
3365
+ runId: string;
3366
+ }[];
3367
+ }[];
3368
+ errors: any[];
3369
+ input?: any;
3370
+ }, {
2090
3371
  logs: any[];
2091
- outputs: FlowNodeRunOutput[];
2092
- errors: ErrorData[];
2093
- }
2094
- interface FlowNodeRunRecord extends FlowNodeRunParameters, FlowNodeRunResult {
3372
+ status: FlowNodeRunStatus;
3373
+ id: string;
3374
+ upstreamRuns: {
3375
+ nodeKey: string;
3376
+ runId: string;
3377
+ outputId: string;
3378
+ }[];
3379
+ outputs: {
3380
+ id: string;
3381
+ downstreamRuns: {
3382
+ nodeKey: string;
3383
+ runId: string;
3384
+ }[];
3385
+ }[];
3386
+ errors: any[];
3387
+ input?: any;
3388
+ }>;
3389
+ interface FlowNodeRunRecordWithoutOutputsData extends z.infer<typeof FlowNodeRunRecordWithoutOutputsDataSchema> {
2095
3390
  }
2096
- type FlowNodeRunRecordWithoutOutputsData = FlowNodeRunRecord & {
2097
- outputs: Omit<FlowNodeRunOutput, 'data'>[];
2098
- };
2099
- type FlowNodeRunOutputWithoutDownstreamRuns = Omit<FlowNodeRunOutput, 'downstreamRuns'>;
2100
3391
 
2101
3392
  interface OpenFlowRunEditorOptions extends OpenConfigurationOptions {
2102
3393
  }
@@ -2222,12 +3513,12 @@ declare const createFlowInstanceSchema: z.ZodObject<{
2222
3513
  name: z.ZodOptional<z.ZodString>;
2223
3514
  }, "strip", z.ZodTypeAny, {
2224
3515
  key?: string | undefined;
2225
- name?: string | undefined;
2226
3516
  filter?: any;
3517
+ name?: string | undefined;
2227
3518
  }, {
2228
3519
  key?: string | undefined;
2229
- name?: string | undefined;
2230
3520
  filter?: any;
3521
+ name?: string | undefined;
2231
3522
  }>, "many">>;
2232
3523
  isCustomized: z.ZodOptional<z.ZodBoolean>;
2233
3524
  }, "strip", z.ZodTypeAny, {
@@ -2240,8 +3531,8 @@ declare const createFlowInstanceSchema: z.ZodObject<{
2240
3531
  ui?: any;
2241
3532
  links?: {
2242
3533
  key?: string | undefined;
2243
- name?: string | undefined;
2244
3534
  filter?: any;
3535
+ name?: string | undefined;
2245
3536
  }[] | undefined;
2246
3537
  isCustomized?: boolean | undefined;
2247
3538
  }, {
@@ -2254,8 +3545,8 @@ declare const createFlowInstanceSchema: z.ZodObject<{
2254
3545
  ui?: any;
2255
3546
  links?: {
2256
3547
  key?: string | undefined;
2257
- name?: string | undefined;
2258
3548
  filter?: any;
3549
+ name?: string | undefined;
2259
3550
  }[] | undefined;
2260
3551
  isCustomized?: boolean | undefined;
2261
3552
  }>>>;
@@ -2274,8 +3565,8 @@ declare const createFlowInstanceSchema: z.ZodObject<{
2274
3565
  name?: string | undefined;
2275
3566
  userId?: string | undefined;
2276
3567
  integrationId?: string | undefined;
2277
- connectionId?: string | undefined;
2278
3568
  parameters?: any;
3569
+ connectionId?: string | undefined;
2279
3570
  flowId?: string | undefined;
2280
3571
  instanceKey?: string | undefined;
2281
3572
  nodes?: Record<string, {
@@ -2288,8 +3579,8 @@ declare const createFlowInstanceSchema: z.ZodObject<{
2288
3579
  ui?: any;
2289
3580
  links?: {
2290
3581
  key?: string | undefined;
2291
- name?: string | undefined;
2292
3582
  filter?: any;
3583
+ name?: string | undefined;
2293
3584
  }[] | undefined;
2294
3585
  isCustomized?: boolean | undefined;
2295
3586
  }> | undefined;
@@ -2302,8 +3593,8 @@ declare const createFlowInstanceSchema: z.ZodObject<{
2302
3593
  name?: string | undefined;
2303
3594
  userId?: string | undefined;
2304
3595
  integrationId?: string | undefined;
2305
- connectionId?: string | undefined;
2306
3596
  parameters?: any;
3597
+ connectionId?: string | undefined;
2307
3598
  flowId?: string | undefined;
2308
3599
  instanceKey?: string | undefined;
2309
3600
  nodes?: Record<string, {
@@ -2316,8 +3607,8 @@ declare const createFlowInstanceSchema: z.ZodObject<{
2316
3607
  ui?: any;
2317
3608
  links?: {
2318
3609
  key?: string | undefined;
2319
- name?: string | undefined;
2320
3610
  filter?: any;
3611
+ name?: string | undefined;
2321
3612
  }[] | undefined;
2322
3613
  isCustomized?: boolean | undefined;
2323
3614
  }> | undefined;
@@ -2343,12 +3634,12 @@ declare const updateFlowInstanceSchema: z.ZodObject<{
2343
3634
  name: z.ZodOptional<z.ZodString>;
2344
3635
  }, "strip", z.ZodTypeAny, {
2345
3636
  key?: string | undefined;
2346
- name?: string | undefined;
2347
3637
  filter?: any;
3638
+ name?: string | undefined;
2348
3639
  }, {
2349
3640
  key?: string | undefined;
2350
- name?: string | undefined;
2351
3641
  filter?: any;
3642
+ name?: string | undefined;
2352
3643
  }>, "many">>;
2353
3644
  concurrency: z.ZodOptional<z.ZodNumber>;
2354
3645
  isCustomized: z.ZodOptional<z.ZodBoolean>;
@@ -2361,8 +3652,8 @@ declare const updateFlowInstanceSchema: z.ZodObject<{
2361
3652
  onError?: "stop" | "continue" | undefined;
2362
3653
  links?: {
2363
3654
  key?: string | undefined;
2364
- name?: string | undefined;
2365
3655
  filter?: any;
3656
+ name?: string | undefined;
2366
3657
  }[] | undefined;
2367
3658
  isCustomized?: boolean | undefined;
2368
3659
  }, {
@@ -2374,8 +3665,8 @@ declare const updateFlowInstanceSchema: z.ZodObject<{
2374
3665
  onError?: "stop" | "continue" | undefined;
2375
3666
  links?: {
2376
3667
  key?: string | undefined;
2377
- name?: string | undefined;
2378
3668
  filter?: any;
3669
+ name?: string | undefined;
2379
3670
  }[] | undefined;
2380
3671
  isCustomized?: boolean | undefined;
2381
3672
  }>>>;
@@ -2402,8 +3693,8 @@ declare const updateFlowInstanceSchema: z.ZodObject<{
2402
3693
  onError?: "stop" | "continue" | undefined;
2403
3694
  links?: {
2404
3695
  key?: string | undefined;
2405
- name?: string | undefined;
2406
3696
  filter?: any;
3697
+ name?: string | undefined;
2407
3698
  }[] | undefined;
2408
3699
  isCustomized?: boolean | undefined;
2409
3700
  }> | undefined;
@@ -2425,8 +3716,8 @@ declare const updateFlowInstanceSchema: z.ZodObject<{
2425
3716
  onError?: "stop" | "continue" | undefined;
2426
3717
  links?: {
2427
3718
  key?: string | undefined;
2428
- name?: string | undefined;
2429
3719
  filter?: any;
3720
+ name?: string | undefined;
2430
3721
  }[] | undefined;
2431
3722
  isCustomized?: boolean | undefined;
2432
3723
  }> | undefined;
@@ -2943,7 +4234,6 @@ declare class ConnectionAccessor {
2943
4234
  get proxy(): ConnectionProxy;
2944
4235
  operation(key: string): ConnectionOperationAccessor;
2945
4236
  dataCollection(key: string, parameters?: Record<string, any>): ConnectionDataCollectionAccessor;
2946
- dataDirectory(key: string, parameters?: Record<string, any>): ConnectionDataDirectoryAccessor;
2947
4237
  reconnect({ parameters, authOptionKey, connectorParameters, }?: {
2948
4238
  parameters?: any;
2949
4239
  authOptionKey?: string;
@@ -2961,14 +4251,6 @@ declare class ConnectionOperationAccessor {
2961
4251
  get(): Promise<OperationSpec>;
2962
4252
  run(request?: OperationRunRequest): Promise<OperationRunResponse>;
2963
4253
  }
2964
- declare class ConnectionDataDirectoryAccessor {
2965
- client: IntegrationAppApiClient;
2966
- connectionAccessor: ConnectionAccessor;
2967
- key: string;
2968
- parameters: Record<string, any>;
2969
- constructor(client: IntegrationAppApiClient, connectionAccessor: ConnectionAccessor, key: string, parameters: Record<string, any>);
2970
- list(request?: DataDirectoryListRequest): Promise<DataDirectoryListResponse>;
2971
- }
2972
4254
  declare class ConnectionDataCollectionAccessor {
2973
4255
  client: IntegrationAppApiClient;
2974
4256
  connectionAccessor: ConnectionAccessor;
@@ -3022,8 +4304,6 @@ declare class Connection {
3022
4304
  archivedAt?: string;
3023
4305
  }
3024
4306
  type ConnectionUiSpec = ConnectorUiSpec;
3025
- type ConnectionUdmSpec = ConnectorDataUdmSpec;
3026
- type ConnectionDataSpec = ConnectorDataSpec;
3027
4307
  interface ConnectionSpec extends ConnectorSpec {
3028
4308
  }
3029
4309
  declare class ConnectionSpec {
@@ -4287,8 +5567,8 @@ declare class DataSchemaRef extends DataBuilderFormulaBase<DataSchemaRefArgs> {
4287
5567
  value: any;
4288
5568
  constructor(value: any);
4289
5569
  getValue(): undefined;
4290
- resolveValue(params: ResolveFormulaParams): Promise<DataSchema | undefined>;
4291
- resolveDataCollection(args: DataSchemaRegArgsDataCollection, params: ResolveFormulaParams): Promise<DataSchema | undefined>;
5570
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
5571
+ resolveDataCollection(args: DataSchemaRegArgsDataCollection, params: ResolveFormulaParams): Promise<any>;
4292
5572
  resolveInternalDataSchema(args: DataSchemaRegArgsInternalDataSchema, params: ResolveFormulaParams): Promise<DataSchema | undefined>;
4293
5573
  getSchema(): {
4294
5574
  type: string;
@@ -4645,6 +5925,80 @@ declare class ScreenAccessor extends ElementAccessor<Screen, UpdateScreenRequest
4645
5925
  constructor(client: IntegrationAppApiClient, selector: ScreenSelector | string);
4646
5926
  }
4647
5927
 
5928
+ interface UnifiedDataModel {
5929
+ singularName: string;
5930
+ pluralName: string;
5931
+ fieldsSchema: any;
5932
+ description?: string;
5933
+ categories?: (typeof CONNECTOR_CATEGORIES)[number][];
5934
+ normalizeFields?: (fields: Record<string, any>) => Record<string, any>;
5935
+ populateFields?: (fields: Record<string, any>) => Record<string, any>;
5936
+ list?: DataCollectionListSpec;
5937
+ find?: DataCollectionFindSpec;
5938
+ match?: DataCollectionMatchSpec;
5939
+ create?: DataCollectionCreateSpec;
5940
+ update?: DataCollectionUpdateSpec;
5941
+ delete?: DataCollectionDeleteSpec;
5942
+ udmFallbacks?: Array<UDMFallback>;
5943
+ fieldFallbacks?: Record<string, FieldFallbackValues>;
5944
+ }
5945
+ interface UDMFallback {
5946
+ udm: string;
5947
+ importFields?: Record<string, any>;
5948
+ exportFields?: Record<string, any>;
5949
+ }
5950
+ type FieldFallbackValues = any[];
5951
+
5952
+ declare enum UDM {
5953
+ ACTIVITIES = "activities",
5954
+ BILLS = "bills",
5955
+ CAMPAIGN_MEMBERS = "campaign-members",
5956
+ CAMPAIGNS = "campaigns",
5957
+ COMPANIES = "companies",
5958
+ CONTACTS = "contacts",
5959
+ CONTACT_LISTS = "contact-lists",
5960
+ CREDIT_NOTES = "credit-notes",
5961
+ CUSTOMERS = "customers",
5962
+ DEAL_PRODUCTS = "deal-products",
5963
+ DEALS = "deals",
5964
+ DEAL_STAGES = "deal-stages",
5965
+ DOCUMENTS = "documents",
5966
+ DRIVES = "drives",
5967
+ DRIVE_ITEMS = "drive-items",
5968
+ EEOCS = "eeocs",
5969
+ EMAILS = "emails",
5970
+ EMPLOYEES = "employees",
5971
+ FILES = "files",
5972
+ FOLDERS = "folders",
5973
+ INVOICES = "invoices",
5974
+ JOB_APPLICATIONS = "job-applications",
5975
+ JOB_CANDIDATES = "job-candidates",
5976
+ JOB_INTERVIEWS = "job-interviews",
5977
+ JOB_OFFERS = "job-offers",
5978
+ JOBS = "jobs",
5979
+ JOURNAL_ENTRIES = "journal-entries",
5980
+ LEADS = "leads",
5981
+ LEDGER_ACCOUNTS = "ledger-accounts",
5982
+ MEETINGS = "meetings",
5983
+ MESSAGES = "messages",
5984
+ NOTES = "notes",
5985
+ ORDERS = "orders",
5986
+ PAYMENTS = "payments",
5987
+ PAYROLLS = "payrolls",
5988
+ PRODUCTS = "products",
5989
+ PROJECTS = "projects",
5990
+ SUPPLIERS = "suppliers",
5991
+ TASKS = "tasks",
5992
+ TAX_RATES = "tax-rates",
5993
+ USERS = "users",
5994
+ TIMEOFF_BALANCES = "timeoff-balances",
5995
+ TIMEOFF_REQUESTS = "timeoff-requests"
5996
+ }
5997
+ declare const UNIFIED_DATA_MODELS: Record<UDM, UnifiedDataModel>;
5998
+ declare function findUdmRootLocation(spec: ConnectorSpec, udm: string, useFallback?: boolean): DataLocationPointer | undefined;
5999
+ declare function findUdmDefaultCollection(spec: ConnectorSpec, udm: string, useFallback?: boolean): DataLocationPointer | undefined;
6000
+ declare function addUdmFallbackFields(fields: any, udm: string): any;
6001
+
4648
6002
  declare enum UsageType {
4649
6003
  FLOW_RUNS_DURATION = "flow-runs-duration",
4650
6004
  FLOW_RUNS_NUMBER = "flow-runs-number",
@@ -5020,5 +6374,5 @@ declare class IntegrationAppClient extends IntegrationAppApiClient {
5020
6374
  connectionRequest(connectionId: string, uri: string, data?: any): Promise<any>;
5021
6375
  }
5022
6376
 
5023
- export { ACTIONS, AccessDeniedError, ActionAccessor, ActionDependencyType, ActionInstanceAccessor, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogStatus, ActionType, ActionsAccessor, AlertSeverity, AlertStatus, AlertType, AppDataSchemaAccessor, AppDataSchemaInstanceAccessor, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventSubscriptionAccessor, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypesAccessor, AppEventsAccessor, BadRequestError, BadRequestErrorKey, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, Connection, ConnectionAccessor, ConnectionDataCollectionAccessor, ConnectionDataDirectoryAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionOperationAccessor, ConnectionProxy, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorCopilotFileChunkTopicKey, ConnectorCopilotSuggestionType, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataDirectoryMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CopilotActionStatus, CopilotActionType, CopilotActivityScope, CopilotActivityType, CopilotTaskStatus, CopilotTaskType, CreateConnectionRequest, CustomCodeError, CustomerAccessor, CustomerLimits, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, DataCollectionEventType, DataDirectoryOperation, DataField$1 as DataField, DataFilterCondition, DataForm, DataLinkDirection, DataLinkTableAccessor, DataLinkTableInstanceAccessor, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationType, DataLocationTypeCollection, DataLocationTypeDirectory, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataSourceAccessor, DataSourceInstanceAccessor, DataSourceInstancesAccessor, DataSourcesAccessor, DependencyError, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ErrorData, ErrorDoc, ErrorType, ExternalEventLogStatus, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingDirection, FieldMappingInstanceAccessor, FieldMappingInstancesAccessor, FieldMappingsAccessor, FindConnectionsResponse, FlowAccessor, FlowInstanceAccessor, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunError, FlowRunLaunchedByTrigger, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, index_d as Formula, HTTP_REQUEST_SCHEMA, HttpRequestMethod, IDataField, IncomingWebhooksState, IntegrationAccessor, IntegrationAppClient, IntegrationAppError, IntegrationElementLevel, IntegrationElementType, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, LogRecordType, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimitsType, OrgUserRole, OrgUserStatus, PARALLEL_EXECUTION_LIMITS, PaginationResponse, ParallelExecutionLimits, RATE_LIMITS, RateLimitExceededError, RateLimits, ScenarioAccessor, ScenarioTemplateCategory, ScenariosAccessor, ScreenAccessor, ScreenBlockType, ScreenType, ScreensAccessor, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateConnectionRequest, UsageType, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceSizeLimits, WorkspaceType, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildUserFriendlyErrorMessage, buildValue, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, externalEventTypeToSubscriptionType, extractFieldLocator, extractIntegrationAppErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula, getFormulaLocators, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas, isDataActionType, isDataLocationMethodSupported, isFormula, isIntegrationAppError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, resolveValue, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema };
5024
- export type { Action, ActionDependency, ActionInstance, ActionInstanceSelector, ActionRunResponse, ActionSelector, ActionSpec, Alert, ApiRequestSpec, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, AppliedToIntegrations, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConfigurationStateResult, ConnectionDataSpec, ConnectionMessagePayload, ConnectionRequest, ConnectionSelector, ConnectionUdmSpec, ConnectionUiSpec, Connector, ConnectorApiType, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthOAuth1, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthType, ConnectorCopilotSuggestion, ConnectorCopilotSuggestionAction, ConnectorDataCollection, ConnectorDataCollectionEvent, ConnectorDataCollectionEventCustomPull, ConnectorDataCollectionEventFullScan, ConnectorDataCollectionEventImplementationTypeKey, ConnectorDataCollectionEventPullLatestRecords, ConnectorDataCollectionEventType, ConnectorDataCollectionEventWebhook, ConnectorDataDirectory, ConnectorDataLocation, ConnectorDataLocationBase, ConnectorDataLocationMethod, ConnectorDataSpec, ConnectorDataUdmSpec, ConnectorEventGlobalWebhookGetEventSelectorResponse, ConnectorEventHandler, ConnectorEventListItem, ConnectorEventSpec, ConnectorGlobalWebhookHandleRequest, ConnectorGlobalWebhookHandleResponse, ConnectorGlobalWebhookHandler, ConnectorGlobalWebhookListItem, ConnectorGlobalWebhookSpec, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorOperationHandler, ConnectorOperationMethod, ConnectorSpec, ConnectorUdmCollectionMapping, ConnectorUdmListLitem, ConnectorUdmSpec, ConnectorUiSpec, CopilotAction, CopilotActionReference, CopilotActivity, CopilotActivityDataTask, CopilotActivityNotificationData, CopilotTask, CreateActionInstanceRequest, CreateActionRequest, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventTypeRequest, CreateCustomerRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest, CreateDataLinkTableRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingInstanceRequest, CreateFieldMappingRequest, CreateFlowInstanceRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreateScenarioRequest, CreateScenarioTemplateRequest, CreateScreenRequest, CreateUserRequest, Customer, CustomerSelector, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEvent, DataCollectionEventTypeSpec, DataCollectionEventsRequest, DataCollectionEventsResponse, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionParseUnifiedFieldsRequest, DataCollectionParseUnifiedFieldsResponse, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionSubscribeRequest, DataCollectionSubscribeResponse, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUnsubscribeRequest, DataCollectionUnsubscribeResponse, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataCollectionUpdateSubscriptionRequest, DataCollectionUpdateSubscriptionResponse, DataDirectoryListRequest, DataDirectoryListResponse, DataDirectorySpec, DataEventWebhookPayload, DataFilter, DataFormArgs, DataLink, DataLinkInTableSelector, DataLinkSelector, DataLinkTable, DataLinkTableConfig, DataLinkTableInstance, DataLinkTableInstanceSelector, DataLocation, DataLocationListItem, DataLocationMixin, DataLocationPointer, DataLocationSpec, DataLocator, DataRecord, DataSchema, DataSource, DataSourceInstance, DataSourceInstanceSelector, DataSourceSelector, DataSourceUnitConfig, DeleteDataLinkRequest, DownstreamFlowNodeRun, ElementInstanceFields, ElementInstanceSelector, ElementTemplateFields, EngineWorkspace, EngineWorkspaceSettings, EngineWorkspaceWithOrgData, EvalOperator, ExternalEvent, ExternalEventCustomPullCollectEventsRequest, ExternalEventCustomPullCollectEventsResponse, ExternalEventCustomPullSubscribeResponse, ExternalEventLogRecord, ExternalEventPull, ExternalEventSubscription, ExternalEventSubscriptionConfig, ExternalEventUnitConfig, ExternalEventWebhookHandleRequest, ExternalEventWebhookHandleResponse, ExternalEventWebhookRefreshRequest, ExternalEventWebhookRefreshResponse, ExternalEventWebhookSubscribeRequest, ExternalEventWebhookSubscribeResponse, ExternalEventWebhookUnsubscribeRequest, FieldMapping, FieldMappingInstance, FieldMappingInstanceSelector, FieldMappingSelector, FieldMappingUnitConfig, FieldValueOption, FindActionInstancesQuery, FindActionsQuery, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindConnectionsQuery, FindCustomersQuery, FindDataLinkQuery, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceInstancesResponse, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindExternalEventLogsQuery, FindExternalEventPullsQuery, FindExternalEventSubscriptionsQuery, FindFieldMappingInstancesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationsQuery, FindIntegrationsResponse, FindScenarioTemplatesQuery, FindScenariosQuery, FindScreensQuery, FindUsersQuery, Flow, FlowInstance, FlowInstanceNode, FlowInstanceSelector, FlowNode, FlowNodeHandlerRunResponse, FlowNodeLink, FlowNodeRunOutput, FlowNodeRunOutputWithoutDownstreamRuns, FlowNodeRunParameters, FlowNodeRunRecord, FlowNodeRunRecordWithoutOutputsData, FlowNodeRunResult, FlowRun, FlowRunLaunchedBy, FlowRunNode, FlowSelector, GraphQLApiMapping, GraphQLFieldMapping, GraphqlApiClientInput, HandyScenarioTemplateElement, HttpRequestSpec, IWorkspaceUpdate, IncludeArchivedQuery, Integration, IntegrationAuthOption, IntegrationElement, IntegrationElementInstance, IntegrationElementInstanceDependency, IntegrationSpecificElementSelector, ListActionInstancesForConnectionQuery, ListActionsForIntegrationQuery, ListDataSourceInstancesForConnectionQuery, ListDataSourcesForIntegrationQuery, ListFieldMappingInstancesForConnectionQuery, ListFieldMappingsForIntegrationQuery, ListFlowInstancesForConnectionQuery, ListFlowsForIntegrationQuery, LogRecord, LookupValue, MappingItem, MinimalConnector, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenNewConnectionOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, Org, OrgLimits, OrgUser, OrgWorkspace, PaginationQuery, PatchSchemaOption, PlatformUser, PullLatestRecordsEventOutput, ResetFlowInstanceOptions, RestApiClientConstructorOptions, RestApiClientInput, RestApiClientOptions, RestApiClientOutput, RestApiClientOverride, RestApiClientResponseHandler, RestApiMapping, RunFlowOptions, Scenario, ScenarioElement, ScenarioTemplate, ScenarioTemplateElementOverride, ScenarioTemplateElements, ScenarioTemplateIntegration, ScenarioTemplateKeyCollision, ScenarioToDo, Screen, ScreenBlock, ScreenSelector, SearchQuery, Self, UnifiedDataModel, UpdateActionInstanceRequest, UpdateActionRequest, UpdateAppDataSchemaInstanceRequest, UpdateAppDataSchemaRequest, UpdateAppEventTypeRequest, UpdateCustomerRequest, UpdateDataLinkTableInstanceRequest, UpdateDataLinkTableRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingInstanceRequest, UpdateFieldMappingRequest, UpdateFlowInstanceRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdateScenarioRequest, UpdateScenarioTemplateRequest, UpdateScreenRequest, UpdateUserRequest, UpstreamFlowNodeRun, UsageEntry, UsageWithCredits, User, UserSelector, UserWorkspaceSettings, ValueToSchemaOptions, Webhook, WebhookType, WithExecutionLogs, Workspace, WorkspaceElement, WorkspaceElementCalculateStateResult, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspaceUpdate, WorkspaceUser };
6377
+ export { ACTIONS, AccessDeniedError, ActionAccessor, ActionDependencyType, ActionInstanceAccessor, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogStatus, ActionType, ActionsAccessor, AlertSeverity, AlertStatus, AlertType, ApiRequestSpecSchema, AppDataSchemaAccessor, AppDataSchemaInstanceAccessor, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventSubscriptionAccessor, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypesAccessor, AppEventsAccessor, BadRequestError, BadRequestErrorKey, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, Connection, ConnectionAccessor, ConnectionDataCollectionAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionOperationAccessor, ConnectionProxy, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorCopilotFileChunkTopicKey, ConnectorCopilotSuggestionType, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CopilotActionStatus, CopilotActionType, CopilotActivityScope, CopilotActivityType, CopilotTaskStatus, CopilotTaskType, CreateConnectionRequest, CustomCodeError, CustomerAccessor, CustomerLimits, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, DataCollectionCreateSpecSchema, DataCollectionDeleteSpecSchema, DataCollectionEventType, DataCollectionEventTypeSpecSchema, DataCollectionEventsSpecSchema, DataCollectionFindByIdSpecSchema, DataCollectionFindSpecSchema, DataCollectionListSpecSchema, DataCollectionMatchSpecSchema, DataCollectionMethodSpecSchema, DataCollectionSearchSpecSchema, DataCollectionSpecSchema, DataCollectionUdmSpecSchema, DataCollectionUdmsSpecSchema, DataCollectionUpdateSpecSchema, DataField$1 as DataField, DataFilterCondition, DataForm, DataLinkDirection, DataLinkTableAccessor, DataLinkTableInstanceAccessor, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataSchemaSchema, DataSourceAccessor, DataSourceInstanceAccessor, DataSourceInstancesAccessor, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ErrorData, ErrorDataSchema, ErrorDoc, ErrorType, ExternalEventLogStatus, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingDirection, FieldMappingInstanceAccessor, FieldMappingInstancesAccessor, FieldMappingsAccessor, FindConnectionsResponse, FlowAccessor, FlowInstanceAccessor, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunError, FlowRunLaunchedByTrigger, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, index_d as Formula, HTTP_REQUEST_SCHEMA, HttpRequestMethod, IDataField, IncomingWebhooksState, IntegrationAccessor, IntegrationAppClient, IntegrationAppError, IntegrationElementLevel, IntegrationElementType, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, LogRecordType, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimitsType, OrgUserRole, OrgUserStatus, PARALLEL_EXECUTION_LIMITS, PaginationResponse, ParallelExecutionLimits, RATE_LIMITS, RateLimitExceededError, RateLimits, ScenarioAccessor, ScenarioTemplateCategory, ScenariosAccessor, ScreenAccessor, ScreenBlockType, ScreenType, ScreensAccessor, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateConnectionRequest, UpstreamFlowNodeRunSchema, UsageType, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceSizeLimits, WorkspaceType, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildUserFriendlyErrorMessage, buildValue, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, externalEventTypeToSubscriptionType, extractFieldLocator, extractIntegrationAppErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula, getFormulaLocators, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas, isDataActionType, isDataLocationMethodSupported, isFormula, isIntegrationAppError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, resolveValue, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema };
6378
+ export type { Action, ActionDependency, ActionInstance, ActionInstanceSelector, ActionRunResponse, ActionSelector, ActionSpec, Alert, ApiRequestSpec, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, AppliedToIntegrations, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConfigurationStateResult, ConnectionMessagePayload, ConnectionRequest, ConnectionSelector, ConnectionUiSpec, Connector, ConnectorApiType, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthOAuth1, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthType, ConnectorCopilotSuggestion, ConnectorCopilotSuggestionAction, ConnectorDataCollection, ConnectorDataCollectionBase, ConnectorDataCollectionEvent, ConnectorDataCollectionEventCustomPull, ConnectorDataCollectionEventFullScan, ConnectorDataCollectionEventImplementationTypeKey, ConnectorDataCollectionEventPullLatestRecords, ConnectorDataCollectionEventType, ConnectorDataCollectionEventWebhook, ConnectorDataCollectionMethod, ConnectorEventGlobalWebhookGetEventSelectorResponse, ConnectorEventHandler, ConnectorEventListItem, ConnectorEventSpec, ConnectorGlobalWebhookHandleRequest, ConnectorGlobalWebhookHandleResponse, ConnectorGlobalWebhookHandler, ConnectorGlobalWebhookListItem, ConnectorGlobalWebhookSpec, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorOperationHandler, ConnectorOperationMethod, ConnectorSpec, ConnectorUdmCollectionMapping, ConnectorUdmListLitem, ConnectorUdmSpec, ConnectorUiSpec, CopilotAction, CopilotActionReference, CopilotActivity, CopilotActivityDataTask, CopilotActivityNotificationData, CopilotTask, CreateActionInstanceRequest, CreateActionRequest, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventTypeRequest, CreateCustomerRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest, CreateDataLinkTableRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingInstanceRequest, CreateFieldMappingRequest, CreateFlowInstanceRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreateScenarioRequest, CreateScenarioTemplateRequest, CreateScreenRequest, CreateUserRequest, Customer, CustomerSelector, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEvent, DataCollectionEventTypeSpec, DataCollectionEventsRequest, DataCollectionEventsResponse, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListItem, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionMixin, DataCollectionParseUnifiedFieldsRequest, DataCollectionParseUnifiedFieldsResponse, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionSubscribeRequest, DataCollectionSubscribeResponse, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUnsubscribeRequest, DataCollectionUnsubscribeResponse, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataCollectionUpdateSubscriptionRequest, DataCollectionUpdateSubscriptionResponse, DataEventWebhookPayload, DataFilter, DataFormArgs, DataLink, DataLinkInTableSelector, DataLinkSelector, DataLinkTable, DataLinkTableConfig, DataLinkTableInstance, DataLinkTableInstanceSelector, DataLocationPointer, DataLocator, DataRecord, DataSchema, DataSchemaType, DataSource, DataSourceInstance, DataSourceInstanceSelector, DataSourceSelector, DataSourceUnitConfig, DeleteDataLinkRequest, DownstreamFlowNodeRun, ElementInstanceFields, ElementInstanceSelector, ElementTemplateFields, EngineWorkspace, EngineWorkspaceSettings, EngineWorkspaceWithOrgData, EvalOperator, ExternalEvent, ExternalEventCustomPullCollectEventsRequest, ExternalEventCustomPullCollectEventsResponse, ExternalEventCustomPullSubscribeResponse, ExternalEventLogRecord, ExternalEventPull, ExternalEventSubscription, ExternalEventSubscriptionConfig, ExternalEventUnitConfig, ExternalEventWebhookHandleRequest, ExternalEventWebhookHandleResponse, ExternalEventWebhookRefreshRequest, ExternalEventWebhookRefreshResponse, ExternalEventWebhookSubscribeRequest, ExternalEventWebhookSubscribeResponse, ExternalEventWebhookUnsubscribeRequest, FieldMapping, FieldMappingInstance, FieldMappingInstanceSelector, FieldMappingSelector, FieldMappingUnitConfig, FieldValueOption, FindActionInstancesQuery, FindActionsQuery, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindConnectionsQuery, FindCustomersQuery, FindDataLinkQuery, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceInstancesResponse, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindExternalEventLogsQuery, FindExternalEventPullsQuery, FindExternalEventSubscriptionsQuery, FindFieldMappingInstancesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationsQuery, FindIntegrationsResponse, FindScenarioTemplatesQuery, FindScenariosQuery, FindScreensQuery, FindUsersQuery, Flow, FlowInstance, FlowInstanceNode, FlowInstanceSelector, FlowNode, FlowNodeHandlerRunResponse, FlowNodeLink, FlowNodeRunOutput, FlowNodeRunOutputMetadata, FlowNodeRunOutputWithoutDownstreamRuns, FlowNodeRunParameters, FlowNodeRunRecord, FlowNodeRunRecordWithoutOutputsData, FlowNodeRunResult, FlowRun, FlowRunLaunchedBy, FlowRunNode, FlowSelector, GraphQLApiMapping, GraphQLFieldMapping, GraphqlApiClientInput, HandyScenarioTemplateElement, HttpRequestSpec, IWorkspaceUpdate, IncludeArchivedQuery, Integration, IntegrationAuthOption, IntegrationElement, IntegrationElementInstance, IntegrationElementInstanceDependency, IntegrationSpecificElementSelector, ListActionInstancesForConnectionQuery, ListActionsForIntegrationQuery, ListDataSourceInstancesForConnectionQuery, ListDataSourcesForIntegrationQuery, ListFieldMappingInstancesForConnectionQuery, ListFieldMappingsForIntegrationQuery, ListFlowInstancesForConnectionQuery, ListFlowsForIntegrationQuery, LogRecord, LookupValue, MappingItem, MinimalConnector, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenNewConnectionOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, Org, OrgLimits, OrgUser, OrgWorkspace, PaginationQuery, PatchSchemaOption, PlatformUser, PullLatestRecordsEventOutput, ResetFlowInstanceOptions, RestApiClientConstructorOptions, RestApiClientInput, RestApiClientOptions, RestApiClientOutput, RestApiClientOverride, RestApiClientResponseHandler, RestApiMapping, RunFlowOptions, Scenario, ScenarioElement, ScenarioTemplate, ScenarioTemplateElementOverride, ScenarioTemplateElements, ScenarioTemplateIntegration, ScenarioTemplateKeyCollision, ScenarioToDo, Screen, ScreenBlock, ScreenSelector, SearchQuery, Self, UnifiedDataModel, UpdateActionInstanceRequest, UpdateActionRequest, UpdateAppDataSchemaInstanceRequest, UpdateAppDataSchemaRequest, UpdateAppEventTypeRequest, UpdateCustomerRequest, UpdateDataLinkTableInstanceRequest, UpdateDataLinkTableRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingInstanceRequest, UpdateFieldMappingRequest, UpdateFlowInstanceRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdateScenarioRequest, UpdateScenarioTemplateRequest, UpdateScreenRequest, UpdateUserRequest, UpstreamFlowNodeRun, UsageEntry, UsageWithCredits, User, UserSelector, UserWorkspaceSettings, ValueToSchemaOptions, Webhook, WebhookType, WithExecutionLogs, Workspace, WorkspaceElement, WorkspaceElementCalculateStateResult, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspaceUpdate, WorkspaceUser };