@sprucelabs/spruce-file-utils 18.0.11 → 18.0.12
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.
@@ -920,28 +920,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
920
920
|
interface SaveLocalSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveLocalSettingsResponsePayloadSchema> {
|
921
921
|
}
|
922
922
|
}
|
923
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
924
|
-
interface GetUploadEndpointResponsePayload {
|
925
|
-
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
926
|
-
'restEndpointUrl'?: string | undefined | null;
|
927
|
-
}
|
928
|
-
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
929
|
-
id: 'getUploadEndpointResponsePayload';
|
930
|
-
version: 'v2022_05_13';
|
931
|
-
namespace: 'Files';
|
932
|
-
name: '';
|
933
|
-
fields: {
|
934
|
-
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
935
|
-
'restEndpointUrl': {
|
936
|
-
type: 'text';
|
937
|
-
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
938
|
-
options: undefined;
|
939
|
-
};
|
940
|
-
};
|
941
|
-
}
|
942
|
-
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
943
|
-
}
|
944
|
-
}
|
945
923
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
946
924
|
interface GetSettingsStatusEmitTarget {
|
947
925
|
'organizationId': string;
|
@@ -963,39 +941,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
963
941
|
interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
|
964
942
|
}
|
965
943
|
}
|
966
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
967
|
-
interface GetSettingsStatusEmitTargetAndPayload {
|
968
|
-
/** Source. */
|
969
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
970
|
-
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
971
|
-
}
|
972
|
-
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
973
|
-
id: 'getSettingsStatusEmitTargetAndPayload';
|
974
|
-
version: 'v2022_05_13';
|
975
|
-
namespace: 'Files';
|
976
|
-
name: '';
|
977
|
-
fields: {
|
978
|
-
/** Source. */
|
979
|
-
'source': {
|
980
|
-
label: 'Source';
|
981
|
-
type: 'schema';
|
982
|
-
options: {
|
983
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
984
|
-
};
|
985
|
-
};
|
986
|
-
/** . */
|
987
|
-
'target': {
|
988
|
-
type: 'schema';
|
989
|
-
isRequired: true;
|
990
|
-
options: {
|
991
|
-
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
992
|
-
};
|
993
|
-
};
|
994
|
-
};
|
995
|
-
}
|
996
|
-
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
997
|
-
}
|
998
|
-
}
|
999
944
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1000
945
|
interface GetSettingsStatusResponsePayload {
|
1001
946
|
'didConfigureFileUploads': boolean;
|
@@ -1018,74 +963,70 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1018
963
|
}
|
1019
964
|
}
|
1020
965
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1021
|
-
interface
|
1022
|
-
'
|
1023
|
-
'organizationId'?: string | undefined | null;
|
1024
|
-
'filePersonId'?: string | undefined | null;
|
966
|
+
interface SaveSettingsEmitTarget {
|
967
|
+
'organizationId': string;
|
1025
968
|
}
|
1026
|
-
interface
|
1027
|
-
id: '
|
969
|
+
interface SaveSettingsEmitTargetSchema extends SpruceSchema.Schema {
|
970
|
+
id: 'saveSettingsEmitTarget';
|
1028
971
|
version: 'v2022_05_13';
|
1029
972
|
namespace: 'Files';
|
1030
973
|
name: '';
|
1031
974
|
fields: {
|
1032
|
-
/** . */
|
1033
|
-
'locationId': {
|
1034
|
-
type: 'id';
|
1035
|
-
options: undefined;
|
1036
|
-
};
|
1037
975
|
/** . */
|
1038
976
|
'organizationId': {
|
1039
977
|
type: 'id';
|
1040
|
-
|
1041
|
-
};
|
1042
|
-
/** . */
|
1043
|
-
'filePersonId': {
|
1044
|
-
type: 'text';
|
978
|
+
isRequired: true;
|
1045
979
|
options: undefined;
|
1046
980
|
};
|
1047
981
|
};
|
1048
982
|
}
|
1049
|
-
interface
|
983
|
+
interface SaveSettingsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema> {
|
1050
984
|
}
|
1051
985
|
}
|
1052
986
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1053
|
-
interface
|
1054
|
-
'
|
1055
|
-
'
|
987
|
+
interface SaveSettingsEmitPayload {
|
988
|
+
'awsAccessKeyId': string;
|
989
|
+
'awsSecretAccessKey': string;
|
990
|
+
'awsS3Bucket': string;
|
1056
991
|
}
|
1057
|
-
interface
|
1058
|
-
id: '
|
992
|
+
interface SaveSettingsEmitPayloadSchema extends SpruceSchema.Schema {
|
993
|
+
id: 'saveSettingsEmitPayload';
|
1059
994
|
version: 'v2022_05_13';
|
1060
995
|
namespace: 'Files';
|
1061
996
|
name: '';
|
1062
997
|
fields: {
|
1063
998
|
/** . */
|
1064
|
-
'
|
999
|
+
'awsAccessKeyId': {
|
1000
|
+
type: 'id';
|
1001
|
+
isRequired: true;
|
1002
|
+
options: undefined;
|
1003
|
+
};
|
1004
|
+
/** . */
|
1005
|
+
'awsSecretAccessKey': {
|
1065
1006
|
type: 'text';
|
1066
1007
|
isRequired: true;
|
1067
1008
|
options: undefined;
|
1068
1009
|
};
|
1069
1010
|
/** . */
|
1070
|
-
'
|
1011
|
+
'awsS3Bucket': {
|
1071
1012
|
type: 'text';
|
1072
1013
|
isRequired: true;
|
1073
1014
|
options: undefined;
|
1074
1015
|
};
|
1075
1016
|
};
|
1076
1017
|
}
|
1077
|
-
interface
|
1018
|
+
interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
|
1078
1019
|
}
|
1079
1020
|
}
|
1080
1021
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1081
|
-
interface
|
1022
|
+
interface SaveSettingsEmitTargetAndPayload {
|
1082
1023
|
/** Source. */
|
1083
1024
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1084
|
-
'target'
|
1085
|
-
'payload': SpruceSchemas.Files.v2022_05_13.
|
1025
|
+
'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
|
1026
|
+
'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
|
1086
1027
|
}
|
1087
|
-
interface
|
1088
|
-
id: '
|
1028
|
+
interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1029
|
+
id: 'saveSettingsEmitTargetAndPayload';
|
1089
1030
|
version: 'v2022_05_13';
|
1090
1031
|
namespace: 'Files';
|
1091
1032
|
name: '';
|
@@ -1101,8 +1042,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1101
1042
|
/** . */
|
1102
1043
|
'target': {
|
1103
1044
|
type: 'schema';
|
1045
|
+
isRequired: true;
|
1104
1046
|
options: {
|
1105
|
-
schema: SpruceSchemas.Files.v2022_05_13.
|
1047
|
+
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
|
1106
1048
|
};
|
1107
1049
|
};
|
1108
1050
|
/** . */
|
@@ -1110,79 +1052,159 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1110
1052
|
type: 'schema';
|
1111
1053
|
isRequired: true;
|
1112
1054
|
options: {
|
1113
|
-
schema: SpruceSchemas.Files.v2022_05_13.
|
1055
|
+
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
|
1114
1056
|
};
|
1115
1057
|
};
|
1116
1058
|
};
|
1117
1059
|
}
|
1118
|
-
interface
|
1060
|
+
interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
|
1119
1061
|
}
|
1120
1062
|
}
|
1121
1063
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1122
|
-
interface
|
1123
|
-
'
|
1064
|
+
interface SaveSettingsResponsePayload {
|
1065
|
+
'wasSuccessful': boolean;
|
1124
1066
|
}
|
1125
|
-
interface
|
1126
|
-
id: '
|
1067
|
+
interface SaveSettingsResponsePayloadSchema extends SpruceSchema.Schema {
|
1068
|
+
id: 'saveSettingsResponsePayload';
|
1127
1069
|
version: 'v2022_05_13';
|
1128
1070
|
namespace: 'Files';
|
1129
1071
|
name: '';
|
1130
1072
|
fields: {
|
1131
1073
|
/** . */
|
1132
|
-
'
|
1133
|
-
type: '
|
1074
|
+
'wasSuccessful': {
|
1075
|
+
type: 'boolean';
|
1134
1076
|
isRequired: true;
|
1135
1077
|
options: undefined;
|
1136
1078
|
};
|
1137
1079
|
};
|
1138
1080
|
}
|
1139
|
-
interface
|
1081
|
+
interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
|
1140
1082
|
}
|
1141
1083
|
}
|
1142
1084
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1143
|
-
interface
|
1144
|
-
|
1145
|
-
'
|
1146
|
-
'awsS3Bucket': string;
|
1085
|
+
interface GetUploadEndpointResponsePayload {
|
1086
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1087
|
+
'restEndpointUrl'?: string | undefined | null;
|
1147
1088
|
}
|
1148
|
-
interface
|
1149
|
-
id: '
|
1089
|
+
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
1090
|
+
id: 'getUploadEndpointResponsePayload';
|
1091
|
+
version: 'v2022_05_13';
|
1092
|
+
namespace: 'Files';
|
1093
|
+
name: '';
|
1094
|
+
fields: {
|
1095
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1096
|
+
'restEndpointUrl': {
|
1097
|
+
type: 'text';
|
1098
|
+
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
1099
|
+
options: undefined;
|
1100
|
+
};
|
1101
|
+
};
|
1102
|
+
}
|
1103
|
+
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
1104
|
+
}
|
1105
|
+
}
|
1106
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1107
|
+
interface GetSettingsStatusEmitTargetAndPayload {
|
1108
|
+
/** Source. */
|
1109
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1110
|
+
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
1111
|
+
}
|
1112
|
+
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1113
|
+
id: 'getSettingsStatusEmitTargetAndPayload';
|
1114
|
+
version: 'v2022_05_13';
|
1115
|
+
namespace: 'Files';
|
1116
|
+
name: '';
|
1117
|
+
fields: {
|
1118
|
+
/** Source. */
|
1119
|
+
'source': {
|
1120
|
+
label: 'Source';
|
1121
|
+
type: 'schema';
|
1122
|
+
options: {
|
1123
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
1124
|
+
};
|
1125
|
+
};
|
1126
|
+
/** . */
|
1127
|
+
'target': {
|
1128
|
+
type: 'schema';
|
1129
|
+
isRequired: true;
|
1130
|
+
options: {
|
1131
|
+
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
1132
|
+
};
|
1133
|
+
};
|
1134
|
+
};
|
1135
|
+
}
|
1136
|
+
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
1137
|
+
}
|
1138
|
+
}
|
1139
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1140
|
+
interface UploadEmitTarget {
|
1141
|
+
'locationId'?: string | undefined | null;
|
1142
|
+
'organizationId'?: string | undefined | null;
|
1143
|
+
'filePersonId'?: string | undefined | null;
|
1144
|
+
}
|
1145
|
+
interface UploadEmitTargetSchema extends SpruceSchema.Schema {
|
1146
|
+
id: 'uploadEmitTarget';
|
1150
1147
|
version: 'v2022_05_13';
|
1151
1148
|
namespace: 'Files';
|
1152
1149
|
name: '';
|
1153
1150
|
fields: {
|
1154
1151
|
/** . */
|
1155
|
-
'
|
1152
|
+
'locationId': {
|
1156
1153
|
type: 'id';
|
1157
|
-
isRequired: true;
|
1158
1154
|
options: undefined;
|
1159
1155
|
};
|
1160
1156
|
/** . */
|
1161
|
-
'
|
1157
|
+
'organizationId': {
|
1158
|
+
type: 'id';
|
1159
|
+
options: undefined;
|
1160
|
+
};
|
1161
|
+
/** . */
|
1162
|
+
'filePersonId': {
|
1163
|
+
type: 'text';
|
1164
|
+
options: undefined;
|
1165
|
+
};
|
1166
|
+
};
|
1167
|
+
}
|
1168
|
+
interface UploadEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetSchema> {
|
1169
|
+
}
|
1170
|
+
}
|
1171
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1172
|
+
interface UploadEmitPayload {
|
1173
|
+
'base64Body': string;
|
1174
|
+
'name': string;
|
1175
|
+
}
|
1176
|
+
interface UploadEmitPayloadSchema extends SpruceSchema.Schema {
|
1177
|
+
id: 'uploadEmitPayload';
|
1178
|
+
version: 'v2022_05_13';
|
1179
|
+
namespace: 'Files';
|
1180
|
+
name: '';
|
1181
|
+
fields: {
|
1182
|
+
/** . */
|
1183
|
+
'base64Body': {
|
1162
1184
|
type: 'text';
|
1163
1185
|
isRequired: true;
|
1164
1186
|
options: undefined;
|
1165
1187
|
};
|
1166
1188
|
/** . */
|
1167
|
-
'
|
1189
|
+
'name': {
|
1168
1190
|
type: 'text';
|
1169
1191
|
isRequired: true;
|
1170
1192
|
options: undefined;
|
1171
1193
|
};
|
1172
1194
|
};
|
1173
1195
|
}
|
1174
|
-
interface
|
1196
|
+
interface UploadEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitPayloadSchema> {
|
1175
1197
|
}
|
1176
1198
|
}
|
1177
1199
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1178
|
-
interface
|
1200
|
+
interface UploadEmitTargetAndPayload {
|
1179
1201
|
/** Source. */
|
1180
1202
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1181
|
-
'target'
|
1182
|
-
'payload': SpruceSchemas.Files.v2022_05_13.
|
1203
|
+
'target'?: SpruceSchemas.Files.v2022_05_13.UploadEmitTarget | undefined | null;
|
1204
|
+
'payload': SpruceSchemas.Files.v2022_05_13.UploadEmitPayload;
|
1183
1205
|
}
|
1184
|
-
interface
|
1185
|
-
id: '
|
1206
|
+
interface UploadEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1207
|
+
id: 'uploadEmitTargetAndPayload';
|
1186
1208
|
version: 'v2022_05_13';
|
1187
1209
|
namespace: 'Files';
|
1188
1210
|
name: '';
|
@@ -1198,9 +1220,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1198
1220
|
/** . */
|
1199
1221
|
'target': {
|
1200
1222
|
type: 'schema';
|
1201
|
-
isRequired: true;
|
1202
1223
|
options: {
|
1203
|
-
schema: SpruceSchemas.Files.v2022_05_13.
|
1224
|
+
schema: SpruceSchemas.Files.v2022_05_13.UploadEmitTargetSchema;
|
1204
1225
|
};
|
1205
1226
|
};
|
1206
1227
|
/** . */
|
@@ -1208,33 +1229,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1208
1229
|
type: 'schema';
|
1209
1230
|
isRequired: true;
|
1210
1231
|
options: {
|
1211
|
-
schema: SpruceSchemas.Files.v2022_05_13.
|
1232
|
+
schema: SpruceSchemas.Files.v2022_05_13.UploadEmitPayloadSchema;
|
1212
1233
|
};
|
1213
1234
|
};
|
1214
1235
|
};
|
1215
1236
|
}
|
1216
|
-
interface
|
1217
|
-
}
|
1218
|
-
}
|
1219
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
1220
|
-
interface SaveSettingsResponsePayload {
|
1221
|
-
'wasSuccessful': boolean;
|
1222
|
-
}
|
1223
|
-
interface SaveSettingsResponsePayloadSchema extends SpruceSchema.Schema {
|
1224
|
-
id: 'saveSettingsResponsePayload';
|
1225
|
-
version: 'v2022_05_13';
|
1226
|
-
namespace: 'Files';
|
1227
|
-
name: '';
|
1228
|
-
fields: {
|
1229
|
-
/** . */
|
1230
|
-
'wasSuccessful': {
|
1231
|
-
type: 'boolean';
|
1232
|
-
isRequired: true;
|
1233
|
-
options: undefined;
|
1234
|
-
};
|
1235
|
-
};
|
1236
|
-
}
|
1237
|
-
interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
|
1237
|
+
interface UploadEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetAndPayloadSchema> {
|
1238
1238
|
}
|
1239
1239
|
}
|
1240
1240
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
@@ -920,28 +920,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
920
920
|
interface SaveLocalSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveLocalSettingsResponsePayloadSchema> {
|
921
921
|
}
|
922
922
|
}
|
923
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
924
|
-
interface GetUploadEndpointResponsePayload {
|
925
|
-
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
926
|
-
'restEndpointUrl'?: string | undefined | null;
|
927
|
-
}
|
928
|
-
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
929
|
-
id: 'getUploadEndpointResponsePayload';
|
930
|
-
version: 'v2022_05_13';
|
931
|
-
namespace: 'Files';
|
932
|
-
name: '';
|
933
|
-
fields: {
|
934
|
-
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
935
|
-
'restEndpointUrl': {
|
936
|
-
type: 'text';
|
937
|
-
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
938
|
-
options: undefined;
|
939
|
-
};
|
940
|
-
};
|
941
|
-
}
|
942
|
-
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
943
|
-
}
|
944
|
-
}
|
945
923
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
946
924
|
interface GetSettingsStatusEmitTarget {
|
947
925
|
'organizationId': string;
|
@@ -963,39 +941,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
963
941
|
interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
|
964
942
|
}
|
965
943
|
}
|
966
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
967
|
-
interface GetSettingsStatusEmitTargetAndPayload {
|
968
|
-
/** Source. */
|
969
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
970
|
-
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
971
|
-
}
|
972
|
-
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
973
|
-
id: 'getSettingsStatusEmitTargetAndPayload';
|
974
|
-
version: 'v2022_05_13';
|
975
|
-
namespace: 'Files';
|
976
|
-
name: '';
|
977
|
-
fields: {
|
978
|
-
/** Source. */
|
979
|
-
'source': {
|
980
|
-
label: 'Source';
|
981
|
-
type: 'schema';
|
982
|
-
options: {
|
983
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
984
|
-
};
|
985
|
-
};
|
986
|
-
/** . */
|
987
|
-
'target': {
|
988
|
-
type: 'schema';
|
989
|
-
isRequired: true;
|
990
|
-
options: {
|
991
|
-
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
992
|
-
};
|
993
|
-
};
|
994
|
-
};
|
995
|
-
}
|
996
|
-
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
997
|
-
}
|
998
|
-
}
|
999
944
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1000
945
|
interface GetSettingsStatusResponsePayload {
|
1001
946
|
'didConfigureFileUploads': boolean;
|
@@ -1018,74 +963,70 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1018
963
|
}
|
1019
964
|
}
|
1020
965
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1021
|
-
interface
|
1022
|
-
'
|
1023
|
-
'organizationId'?: string | undefined | null;
|
1024
|
-
'filePersonId'?: string | undefined | null;
|
966
|
+
interface SaveSettingsEmitTarget {
|
967
|
+
'organizationId': string;
|
1025
968
|
}
|
1026
|
-
interface
|
1027
|
-
id: '
|
969
|
+
interface SaveSettingsEmitTargetSchema extends SpruceSchema.Schema {
|
970
|
+
id: 'saveSettingsEmitTarget';
|
1028
971
|
version: 'v2022_05_13';
|
1029
972
|
namespace: 'Files';
|
1030
973
|
name: '';
|
1031
974
|
fields: {
|
1032
|
-
/** . */
|
1033
|
-
'locationId': {
|
1034
|
-
type: 'id';
|
1035
|
-
options: undefined;
|
1036
|
-
};
|
1037
975
|
/** . */
|
1038
976
|
'organizationId': {
|
1039
977
|
type: 'id';
|
1040
|
-
|
1041
|
-
};
|
1042
|
-
/** . */
|
1043
|
-
'filePersonId': {
|
1044
|
-
type: 'text';
|
978
|
+
isRequired: true;
|
1045
979
|
options: undefined;
|
1046
980
|
};
|
1047
981
|
};
|
1048
982
|
}
|
1049
|
-
interface
|
983
|
+
interface SaveSettingsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema> {
|
1050
984
|
}
|
1051
985
|
}
|
1052
986
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1053
|
-
interface
|
1054
|
-
'
|
1055
|
-
'
|
987
|
+
interface SaveSettingsEmitPayload {
|
988
|
+
'awsAccessKeyId': string;
|
989
|
+
'awsSecretAccessKey': string;
|
990
|
+
'awsS3Bucket': string;
|
1056
991
|
}
|
1057
|
-
interface
|
1058
|
-
id: '
|
992
|
+
interface SaveSettingsEmitPayloadSchema extends SpruceSchema.Schema {
|
993
|
+
id: 'saveSettingsEmitPayload';
|
1059
994
|
version: 'v2022_05_13';
|
1060
995
|
namespace: 'Files';
|
1061
996
|
name: '';
|
1062
997
|
fields: {
|
1063
998
|
/** . */
|
1064
|
-
'
|
999
|
+
'awsAccessKeyId': {
|
1000
|
+
type: 'id';
|
1001
|
+
isRequired: true;
|
1002
|
+
options: undefined;
|
1003
|
+
};
|
1004
|
+
/** . */
|
1005
|
+
'awsSecretAccessKey': {
|
1065
1006
|
type: 'text';
|
1066
1007
|
isRequired: true;
|
1067
1008
|
options: undefined;
|
1068
1009
|
};
|
1069
1010
|
/** . */
|
1070
|
-
'
|
1011
|
+
'awsS3Bucket': {
|
1071
1012
|
type: 'text';
|
1072
1013
|
isRequired: true;
|
1073
1014
|
options: undefined;
|
1074
1015
|
};
|
1075
1016
|
};
|
1076
1017
|
}
|
1077
|
-
interface
|
1018
|
+
interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
|
1078
1019
|
}
|
1079
1020
|
}
|
1080
1021
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1081
|
-
interface
|
1022
|
+
interface SaveSettingsEmitTargetAndPayload {
|
1082
1023
|
/** Source. */
|
1083
1024
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1084
|
-
'target'
|
1085
|
-
'payload': SpruceSchemas.Files.v2022_05_13.
|
1025
|
+
'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
|
1026
|
+
'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
|
1086
1027
|
}
|
1087
|
-
interface
|
1088
|
-
id: '
|
1028
|
+
interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1029
|
+
id: 'saveSettingsEmitTargetAndPayload';
|
1089
1030
|
version: 'v2022_05_13';
|
1090
1031
|
namespace: 'Files';
|
1091
1032
|
name: '';
|
@@ -1101,8 +1042,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1101
1042
|
/** . */
|
1102
1043
|
'target': {
|
1103
1044
|
type: 'schema';
|
1045
|
+
isRequired: true;
|
1104
1046
|
options: {
|
1105
|
-
schema: SpruceSchemas.Files.v2022_05_13.
|
1047
|
+
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
|
1106
1048
|
};
|
1107
1049
|
};
|
1108
1050
|
/** . */
|
@@ -1110,79 +1052,159 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1110
1052
|
type: 'schema';
|
1111
1053
|
isRequired: true;
|
1112
1054
|
options: {
|
1113
|
-
schema: SpruceSchemas.Files.v2022_05_13.
|
1055
|
+
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
|
1114
1056
|
};
|
1115
1057
|
};
|
1116
1058
|
};
|
1117
1059
|
}
|
1118
|
-
interface
|
1060
|
+
interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
|
1119
1061
|
}
|
1120
1062
|
}
|
1121
1063
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1122
|
-
interface
|
1123
|
-
'
|
1064
|
+
interface SaveSettingsResponsePayload {
|
1065
|
+
'wasSuccessful': boolean;
|
1124
1066
|
}
|
1125
|
-
interface
|
1126
|
-
id: '
|
1067
|
+
interface SaveSettingsResponsePayloadSchema extends SpruceSchema.Schema {
|
1068
|
+
id: 'saveSettingsResponsePayload';
|
1127
1069
|
version: 'v2022_05_13';
|
1128
1070
|
namespace: 'Files';
|
1129
1071
|
name: '';
|
1130
1072
|
fields: {
|
1131
1073
|
/** . */
|
1132
|
-
'
|
1133
|
-
type: '
|
1074
|
+
'wasSuccessful': {
|
1075
|
+
type: 'boolean';
|
1134
1076
|
isRequired: true;
|
1135
1077
|
options: undefined;
|
1136
1078
|
};
|
1137
1079
|
};
|
1138
1080
|
}
|
1139
|
-
interface
|
1081
|
+
interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
|
1140
1082
|
}
|
1141
1083
|
}
|
1142
1084
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1143
|
-
interface
|
1144
|
-
|
1145
|
-
'
|
1146
|
-
'awsS3Bucket': string;
|
1085
|
+
interface GetUploadEndpointResponsePayload {
|
1086
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1087
|
+
'restEndpointUrl'?: string | undefined | null;
|
1147
1088
|
}
|
1148
|
-
interface
|
1149
|
-
id: '
|
1089
|
+
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
1090
|
+
id: 'getUploadEndpointResponsePayload';
|
1091
|
+
version: 'v2022_05_13';
|
1092
|
+
namespace: 'Files';
|
1093
|
+
name: '';
|
1094
|
+
fields: {
|
1095
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1096
|
+
'restEndpointUrl': {
|
1097
|
+
type: 'text';
|
1098
|
+
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
1099
|
+
options: undefined;
|
1100
|
+
};
|
1101
|
+
};
|
1102
|
+
}
|
1103
|
+
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
1104
|
+
}
|
1105
|
+
}
|
1106
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1107
|
+
interface GetSettingsStatusEmitTargetAndPayload {
|
1108
|
+
/** Source. */
|
1109
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1110
|
+
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
1111
|
+
}
|
1112
|
+
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1113
|
+
id: 'getSettingsStatusEmitTargetAndPayload';
|
1114
|
+
version: 'v2022_05_13';
|
1115
|
+
namespace: 'Files';
|
1116
|
+
name: '';
|
1117
|
+
fields: {
|
1118
|
+
/** Source. */
|
1119
|
+
'source': {
|
1120
|
+
label: 'Source';
|
1121
|
+
type: 'schema';
|
1122
|
+
options: {
|
1123
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
1124
|
+
};
|
1125
|
+
};
|
1126
|
+
/** . */
|
1127
|
+
'target': {
|
1128
|
+
type: 'schema';
|
1129
|
+
isRequired: true;
|
1130
|
+
options: {
|
1131
|
+
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
1132
|
+
};
|
1133
|
+
};
|
1134
|
+
};
|
1135
|
+
}
|
1136
|
+
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
1137
|
+
}
|
1138
|
+
}
|
1139
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1140
|
+
interface UploadEmitTarget {
|
1141
|
+
'locationId'?: string | undefined | null;
|
1142
|
+
'organizationId'?: string | undefined | null;
|
1143
|
+
'filePersonId'?: string | undefined | null;
|
1144
|
+
}
|
1145
|
+
interface UploadEmitTargetSchema extends SpruceSchema.Schema {
|
1146
|
+
id: 'uploadEmitTarget';
|
1150
1147
|
version: 'v2022_05_13';
|
1151
1148
|
namespace: 'Files';
|
1152
1149
|
name: '';
|
1153
1150
|
fields: {
|
1154
1151
|
/** . */
|
1155
|
-
'
|
1152
|
+
'locationId': {
|
1156
1153
|
type: 'id';
|
1157
|
-
isRequired: true;
|
1158
1154
|
options: undefined;
|
1159
1155
|
};
|
1160
1156
|
/** . */
|
1161
|
-
'
|
1157
|
+
'organizationId': {
|
1158
|
+
type: 'id';
|
1159
|
+
options: undefined;
|
1160
|
+
};
|
1161
|
+
/** . */
|
1162
|
+
'filePersonId': {
|
1163
|
+
type: 'text';
|
1164
|
+
options: undefined;
|
1165
|
+
};
|
1166
|
+
};
|
1167
|
+
}
|
1168
|
+
interface UploadEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetSchema> {
|
1169
|
+
}
|
1170
|
+
}
|
1171
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1172
|
+
interface UploadEmitPayload {
|
1173
|
+
'base64Body': string;
|
1174
|
+
'name': string;
|
1175
|
+
}
|
1176
|
+
interface UploadEmitPayloadSchema extends SpruceSchema.Schema {
|
1177
|
+
id: 'uploadEmitPayload';
|
1178
|
+
version: 'v2022_05_13';
|
1179
|
+
namespace: 'Files';
|
1180
|
+
name: '';
|
1181
|
+
fields: {
|
1182
|
+
/** . */
|
1183
|
+
'base64Body': {
|
1162
1184
|
type: 'text';
|
1163
1185
|
isRequired: true;
|
1164
1186
|
options: undefined;
|
1165
1187
|
};
|
1166
1188
|
/** . */
|
1167
|
-
'
|
1189
|
+
'name': {
|
1168
1190
|
type: 'text';
|
1169
1191
|
isRequired: true;
|
1170
1192
|
options: undefined;
|
1171
1193
|
};
|
1172
1194
|
};
|
1173
1195
|
}
|
1174
|
-
interface
|
1196
|
+
interface UploadEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitPayloadSchema> {
|
1175
1197
|
}
|
1176
1198
|
}
|
1177
1199
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1178
|
-
interface
|
1200
|
+
interface UploadEmitTargetAndPayload {
|
1179
1201
|
/** Source. */
|
1180
1202
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1181
|
-
'target'
|
1182
|
-
'payload': SpruceSchemas.Files.v2022_05_13.
|
1203
|
+
'target'?: SpruceSchemas.Files.v2022_05_13.UploadEmitTarget | undefined | null;
|
1204
|
+
'payload': SpruceSchemas.Files.v2022_05_13.UploadEmitPayload;
|
1183
1205
|
}
|
1184
|
-
interface
|
1185
|
-
id: '
|
1206
|
+
interface UploadEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1207
|
+
id: 'uploadEmitTargetAndPayload';
|
1186
1208
|
version: 'v2022_05_13';
|
1187
1209
|
namespace: 'Files';
|
1188
1210
|
name: '';
|
@@ -1198,9 +1220,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1198
1220
|
/** . */
|
1199
1221
|
'target': {
|
1200
1222
|
type: 'schema';
|
1201
|
-
isRequired: true;
|
1202
1223
|
options: {
|
1203
|
-
schema: SpruceSchemas.Files.v2022_05_13.
|
1224
|
+
schema: SpruceSchemas.Files.v2022_05_13.UploadEmitTargetSchema;
|
1204
1225
|
};
|
1205
1226
|
};
|
1206
1227
|
/** . */
|
@@ -1208,33 +1229,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1208
1229
|
type: 'schema';
|
1209
1230
|
isRequired: true;
|
1210
1231
|
options: {
|
1211
|
-
schema: SpruceSchemas.Files.v2022_05_13.
|
1232
|
+
schema: SpruceSchemas.Files.v2022_05_13.UploadEmitPayloadSchema;
|
1212
1233
|
};
|
1213
1234
|
};
|
1214
1235
|
};
|
1215
1236
|
}
|
1216
|
-
interface
|
1217
|
-
}
|
1218
|
-
}
|
1219
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
1220
|
-
interface SaveSettingsResponsePayload {
|
1221
|
-
'wasSuccessful': boolean;
|
1222
|
-
}
|
1223
|
-
interface SaveSettingsResponsePayloadSchema extends SpruceSchema.Schema {
|
1224
|
-
id: 'saveSettingsResponsePayload';
|
1225
|
-
version: 'v2022_05_13';
|
1226
|
-
namespace: 'Files';
|
1227
|
-
name: '';
|
1228
|
-
fields: {
|
1229
|
-
/** . */
|
1230
|
-
'wasSuccessful': {
|
1231
|
-
type: 'boolean';
|
1232
|
-
isRequired: true;
|
1233
|
-
options: undefined;
|
1234
|
-
};
|
1235
|
-
};
|
1236
|
-
}
|
1237
|
-
interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
|
1237
|
+
interface UploadEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetAndPayloadSchema> {
|
1238
1238
|
}
|
1239
1239
|
}
|
1240
1240
|
namespace SpruceSchemas.Files.v2022_05_13 {
|