@sprucelabs/spruce-file-utils 18.0.14 → 18.0.16
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.
@@ -941,6 +941,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
941
941
|
interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
|
942
942
|
}
|
943
943
|
}
|
944
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
945
|
+
interface GetSettingsStatusEmitTargetAndPayload {
|
946
|
+
/** Source. */
|
947
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
948
|
+
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
949
|
+
}
|
950
|
+
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
951
|
+
id: 'getSettingsStatusEmitTargetAndPayload';
|
952
|
+
version: 'v2022_05_13';
|
953
|
+
namespace: 'Files';
|
954
|
+
name: '';
|
955
|
+
fields: {
|
956
|
+
/** Source. */
|
957
|
+
'source': {
|
958
|
+
label: 'Source';
|
959
|
+
type: 'schema';
|
960
|
+
options: {
|
961
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
962
|
+
};
|
963
|
+
};
|
964
|
+
/** . */
|
965
|
+
'target': {
|
966
|
+
type: 'schema';
|
967
|
+
isRequired: true;
|
968
|
+
options: {
|
969
|
+
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
970
|
+
};
|
971
|
+
};
|
972
|
+
};
|
973
|
+
}
|
974
|
+
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
975
|
+
}
|
976
|
+
}
|
944
977
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
945
978
|
interface GetSettingsStatusResponsePayload {
|
946
979
|
'didConfigureFileUploads': boolean;
|
@@ -1081,61 +1114,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1081
1114
|
interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
|
1082
1115
|
}
|
1083
1116
|
}
|
1084
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
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;
|
1088
|
-
}
|
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
1117
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1140
1118
|
interface UploadEmitTarget {
|
1141
1119
|
'locationId'?: string | undefined | null;
|
@@ -1237,6 +1215,28 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1237
1215
|
interface UploadEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetAndPayloadSchema> {
|
1238
1216
|
}
|
1239
1217
|
}
|
1218
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1219
|
+
interface GetUploadEndpointResponsePayload {
|
1220
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1221
|
+
'restEndpointUrl'?: string | undefined | null;
|
1222
|
+
}
|
1223
|
+
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
1224
|
+
id: 'getUploadEndpointResponsePayload';
|
1225
|
+
version: 'v2022_05_13';
|
1226
|
+
namespace: 'Files';
|
1227
|
+
name: '';
|
1228
|
+
fields: {
|
1229
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1230
|
+
'restEndpointUrl': {
|
1231
|
+
type: 'text';
|
1232
|
+
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
1233
|
+
options: undefined;
|
1234
|
+
};
|
1235
|
+
};
|
1236
|
+
}
|
1237
|
+
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
1238
|
+
}
|
1239
|
+
}
|
1240
1240
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1241
1241
|
interface UploadedFile {
|
1242
1242
|
'id': string;
|
@@ -941,6 +941,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
941
941
|
interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
|
942
942
|
}
|
943
943
|
}
|
944
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
945
|
+
interface GetSettingsStatusEmitTargetAndPayload {
|
946
|
+
/** Source. */
|
947
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
948
|
+
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
949
|
+
}
|
950
|
+
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
951
|
+
id: 'getSettingsStatusEmitTargetAndPayload';
|
952
|
+
version: 'v2022_05_13';
|
953
|
+
namespace: 'Files';
|
954
|
+
name: '';
|
955
|
+
fields: {
|
956
|
+
/** Source. */
|
957
|
+
'source': {
|
958
|
+
label: 'Source';
|
959
|
+
type: 'schema';
|
960
|
+
options: {
|
961
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
962
|
+
};
|
963
|
+
};
|
964
|
+
/** . */
|
965
|
+
'target': {
|
966
|
+
type: 'schema';
|
967
|
+
isRequired: true;
|
968
|
+
options: {
|
969
|
+
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
970
|
+
};
|
971
|
+
};
|
972
|
+
};
|
973
|
+
}
|
974
|
+
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
975
|
+
}
|
976
|
+
}
|
944
977
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
945
978
|
interface GetSettingsStatusResponsePayload {
|
946
979
|
'didConfigureFileUploads': boolean;
|
@@ -1081,61 +1114,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1081
1114
|
interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
|
1082
1115
|
}
|
1083
1116
|
}
|
1084
|
-
namespace SpruceSchemas.Files.v2022_05_13 {
|
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;
|
1088
|
-
}
|
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
1117
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1140
1118
|
interface UploadEmitTarget {
|
1141
1119
|
'locationId'?: string | undefined | null;
|
@@ -1237,6 +1215,28 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
1237
1215
|
interface UploadEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetAndPayloadSchema> {
|
1238
1216
|
}
|
1239
1217
|
}
|
1218
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1219
|
+
interface GetUploadEndpointResponsePayload {
|
1220
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1221
|
+
'restEndpointUrl'?: string | undefined | null;
|
1222
|
+
}
|
1223
|
+
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
1224
|
+
id: 'getUploadEndpointResponsePayload';
|
1225
|
+
version: 'v2022_05_13';
|
1226
|
+
namespace: 'Files';
|
1227
|
+
name: '';
|
1228
|
+
fields: {
|
1229
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
1230
|
+
'restEndpointUrl': {
|
1231
|
+
type: 'text';
|
1232
|
+
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
1233
|
+
options: undefined;
|
1234
|
+
};
|
1235
|
+
};
|
1236
|
+
}
|
1237
|
+
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
1238
|
+
}
|
1239
|
+
}
|
1240
1240
|
namespace SpruceSchemas.Files.v2022_05_13 {
|
1241
1241
|
interface UploadedFile {
|
1242
1242
|
'id': string;
|