@sprucelabs/spruce-file-utils 18.6.20 → 18.6.22

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,6 +920,81 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
920
920
  interface GetLocalSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetLocalSettingsResponsePayloadSchema> {
921
921
  }
922
922
  }
923
+ namespace SpruceSchemas.Files.v2022_05_13 {
924
+ interface GetSettingsStatusEmitTarget {
925
+ 'organizationId': string;
926
+ }
927
+ interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
928
+ id: 'getSettingsStatusEmitTarget';
929
+ version: 'v2022_05_13';
930
+ namespace: 'Files';
931
+ name: '';
932
+ fields: {
933
+ /** . */
934
+ 'organizationId': {
935
+ type: 'id';
936
+ isRequired: true;
937
+ options: undefined;
938
+ };
939
+ };
940
+ }
941
+ interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
942
+ }
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
+ }
977
+ namespace SpruceSchemas.Files.v2022_05_13 {
978
+ interface GetSettingsStatusResponsePayload {
979
+ 'didConfigureFileUploads': boolean;
980
+ }
981
+ interface GetSettingsStatusResponsePayloadSchema extends SpruceSchema.Schema {
982
+ id: 'getSettingsStatusResponsePayload';
983
+ version: 'v2022_05_13';
984
+ namespace: 'Files';
985
+ name: '';
986
+ fields: {
987
+ /** . */
988
+ 'didConfigureFileUploads': {
989
+ type: 'boolean';
990
+ isRequired: true;
991
+ options: undefined;
992
+ };
993
+ };
994
+ }
995
+ interface GetSettingsStatusResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusResponsePayloadSchema> {
996
+ }
997
+ }
923
998
  namespace SpruceSchemas.Files.v2022_05_13 {
924
999
  interface SaveSettingsEmitTarget {
925
1000
  'organizationId': string;
@@ -976,6 +1051,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
976
1051
  interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
977
1052
  }
978
1053
  }
1054
+ namespace SpruceSchemas.Files.v2022_05_13 {
1055
+ interface SaveSettingsEmitTargetAndPayload {
1056
+ /** Source. */
1057
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1058
+ 'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
1059
+ 'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
1060
+ }
1061
+ interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1062
+ id: 'saveSettingsEmitTargetAndPayload';
1063
+ version: 'v2022_05_13';
1064
+ namespace: 'Files';
1065
+ name: '';
1066
+ fields: {
1067
+ /** Source. */
1068
+ 'source': {
1069
+ label: 'Source';
1070
+ type: 'schema';
1071
+ options: {
1072
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1073
+ };
1074
+ };
1075
+ /** . */
1076
+ 'target': {
1077
+ type: 'schema';
1078
+ isRequired: true;
1079
+ options: {
1080
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
1081
+ };
1082
+ };
1083
+ /** . */
1084
+ 'payload': {
1085
+ type: 'schema';
1086
+ isRequired: true;
1087
+ options: {
1088
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
1089
+ };
1090
+ };
1091
+ };
1092
+ }
1093
+ interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
1094
+ }
1095
+ }
979
1096
  namespace SpruceSchemas.Files.v2022_05_13 {
980
1097
  interface SaveSettingsResponsePayload {
981
1098
  'wasSuccessful': boolean;
@@ -1120,123 +1237,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1120
1237
  interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
1121
1238
  }
1122
1239
  }
1123
- namespace SpruceSchemas.Files.v2022_05_13 {
1124
- interface SaveSettingsEmitTargetAndPayload {
1125
- /** Source. */
1126
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1127
- 'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
1128
- 'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
1129
- }
1130
- interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1131
- id: 'saveSettingsEmitTargetAndPayload';
1132
- version: 'v2022_05_13';
1133
- namespace: 'Files';
1134
- name: '';
1135
- fields: {
1136
- /** Source. */
1137
- 'source': {
1138
- label: 'Source';
1139
- type: 'schema';
1140
- options: {
1141
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1142
- };
1143
- };
1144
- /** . */
1145
- 'target': {
1146
- type: 'schema';
1147
- isRequired: true;
1148
- options: {
1149
- schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
1150
- };
1151
- };
1152
- /** . */
1153
- 'payload': {
1154
- type: 'schema';
1155
- isRequired: true;
1156
- options: {
1157
- schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
1158
- };
1159
- };
1160
- };
1161
- }
1162
- interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
1163
- }
1164
- }
1165
- namespace SpruceSchemas.Files.v2022_05_13 {
1166
- interface GetSettingsStatusEmitTarget {
1167
- 'organizationId': string;
1168
- }
1169
- interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
1170
- id: 'getSettingsStatusEmitTarget';
1171
- version: 'v2022_05_13';
1172
- namespace: 'Files';
1173
- name: '';
1174
- fields: {
1175
- /** . */
1176
- 'organizationId': {
1177
- type: 'id';
1178
- isRequired: true;
1179
- options: undefined;
1180
- };
1181
- };
1182
- }
1183
- interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
1184
- }
1185
- }
1186
- namespace SpruceSchemas.Files.v2022_05_13 {
1187
- interface GetSettingsStatusEmitTargetAndPayload {
1188
- /** Source. */
1189
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1190
- 'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
1191
- }
1192
- interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1193
- id: 'getSettingsStatusEmitTargetAndPayload';
1194
- version: 'v2022_05_13';
1195
- namespace: 'Files';
1196
- name: '';
1197
- fields: {
1198
- /** Source. */
1199
- 'source': {
1200
- label: 'Source';
1201
- type: 'schema';
1202
- options: {
1203
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1204
- };
1205
- };
1206
- /** . */
1207
- 'target': {
1208
- type: 'schema';
1209
- isRequired: true;
1210
- options: {
1211
- schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
1212
- };
1213
- };
1214
- };
1215
- }
1216
- interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
1217
- }
1218
- }
1219
- namespace SpruceSchemas.Files.v2022_05_13 {
1220
- interface GetSettingsStatusResponsePayload {
1221
- 'didConfigureFileUploads': boolean;
1222
- }
1223
- interface GetSettingsStatusResponsePayloadSchema extends SpruceSchema.Schema {
1224
- id: 'getSettingsStatusResponsePayload';
1225
- version: 'v2022_05_13';
1226
- namespace: 'Files';
1227
- name: '';
1228
- fields: {
1229
- /** . */
1230
- 'didConfigureFileUploads': {
1231
- type: 'boolean';
1232
- isRequired: true;
1233
- options: undefined;
1234
- };
1235
- };
1236
- }
1237
- interface GetSettingsStatusResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusResponsePayloadSchema> {
1238
- }
1239
- }
1240
1240
  namespace SpruceSchemas.Files.v2022_05_13 {
1241
1241
  interface UploadedFile {
1242
1242
  'id': string;
@@ -920,6 +920,81 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
920
920
  interface GetLocalSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetLocalSettingsResponsePayloadSchema> {
921
921
  }
922
922
  }
923
+ namespace SpruceSchemas.Files.v2022_05_13 {
924
+ interface GetSettingsStatusEmitTarget {
925
+ 'organizationId': string;
926
+ }
927
+ interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
928
+ id: 'getSettingsStatusEmitTarget';
929
+ version: 'v2022_05_13';
930
+ namespace: 'Files';
931
+ name: '';
932
+ fields: {
933
+ /** . */
934
+ 'organizationId': {
935
+ type: 'id';
936
+ isRequired: true;
937
+ options: undefined;
938
+ };
939
+ };
940
+ }
941
+ interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
942
+ }
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
+ }
977
+ namespace SpruceSchemas.Files.v2022_05_13 {
978
+ interface GetSettingsStatusResponsePayload {
979
+ 'didConfigureFileUploads': boolean;
980
+ }
981
+ interface GetSettingsStatusResponsePayloadSchema extends SpruceSchema.Schema {
982
+ id: 'getSettingsStatusResponsePayload';
983
+ version: 'v2022_05_13';
984
+ namespace: 'Files';
985
+ name: '';
986
+ fields: {
987
+ /** . */
988
+ 'didConfigureFileUploads': {
989
+ type: 'boolean';
990
+ isRequired: true;
991
+ options: undefined;
992
+ };
993
+ };
994
+ }
995
+ interface GetSettingsStatusResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusResponsePayloadSchema> {
996
+ }
997
+ }
923
998
  namespace SpruceSchemas.Files.v2022_05_13 {
924
999
  interface SaveSettingsEmitTarget {
925
1000
  'organizationId': string;
@@ -976,6 +1051,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
976
1051
  interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
977
1052
  }
978
1053
  }
1054
+ namespace SpruceSchemas.Files.v2022_05_13 {
1055
+ interface SaveSettingsEmitTargetAndPayload {
1056
+ /** Source. */
1057
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1058
+ 'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
1059
+ 'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
1060
+ }
1061
+ interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1062
+ id: 'saveSettingsEmitTargetAndPayload';
1063
+ version: 'v2022_05_13';
1064
+ namespace: 'Files';
1065
+ name: '';
1066
+ fields: {
1067
+ /** Source. */
1068
+ 'source': {
1069
+ label: 'Source';
1070
+ type: 'schema';
1071
+ options: {
1072
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1073
+ };
1074
+ };
1075
+ /** . */
1076
+ 'target': {
1077
+ type: 'schema';
1078
+ isRequired: true;
1079
+ options: {
1080
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
1081
+ };
1082
+ };
1083
+ /** . */
1084
+ 'payload': {
1085
+ type: 'schema';
1086
+ isRequired: true;
1087
+ options: {
1088
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
1089
+ };
1090
+ };
1091
+ };
1092
+ }
1093
+ interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
1094
+ }
1095
+ }
979
1096
  namespace SpruceSchemas.Files.v2022_05_13 {
980
1097
  interface SaveSettingsResponsePayload {
981
1098
  'wasSuccessful': boolean;
@@ -1120,123 +1237,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1120
1237
  interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
1121
1238
  }
1122
1239
  }
1123
- namespace SpruceSchemas.Files.v2022_05_13 {
1124
- interface SaveSettingsEmitTargetAndPayload {
1125
- /** Source. */
1126
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1127
- 'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
1128
- 'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
1129
- }
1130
- interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1131
- id: 'saveSettingsEmitTargetAndPayload';
1132
- version: 'v2022_05_13';
1133
- namespace: 'Files';
1134
- name: '';
1135
- fields: {
1136
- /** Source. */
1137
- 'source': {
1138
- label: 'Source';
1139
- type: 'schema';
1140
- options: {
1141
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1142
- };
1143
- };
1144
- /** . */
1145
- 'target': {
1146
- type: 'schema';
1147
- isRequired: true;
1148
- options: {
1149
- schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
1150
- };
1151
- };
1152
- /** . */
1153
- 'payload': {
1154
- type: 'schema';
1155
- isRequired: true;
1156
- options: {
1157
- schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
1158
- };
1159
- };
1160
- };
1161
- }
1162
- interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
1163
- }
1164
- }
1165
- namespace SpruceSchemas.Files.v2022_05_13 {
1166
- interface GetSettingsStatusEmitTarget {
1167
- 'organizationId': string;
1168
- }
1169
- interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
1170
- id: 'getSettingsStatusEmitTarget';
1171
- version: 'v2022_05_13';
1172
- namespace: 'Files';
1173
- name: '';
1174
- fields: {
1175
- /** . */
1176
- 'organizationId': {
1177
- type: 'id';
1178
- isRequired: true;
1179
- options: undefined;
1180
- };
1181
- };
1182
- }
1183
- interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
1184
- }
1185
- }
1186
- namespace SpruceSchemas.Files.v2022_05_13 {
1187
- interface GetSettingsStatusEmitTargetAndPayload {
1188
- /** Source. */
1189
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1190
- 'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
1191
- }
1192
- interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1193
- id: 'getSettingsStatusEmitTargetAndPayload';
1194
- version: 'v2022_05_13';
1195
- namespace: 'Files';
1196
- name: '';
1197
- fields: {
1198
- /** Source. */
1199
- 'source': {
1200
- label: 'Source';
1201
- type: 'schema';
1202
- options: {
1203
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1204
- };
1205
- };
1206
- /** . */
1207
- 'target': {
1208
- type: 'schema';
1209
- isRequired: true;
1210
- options: {
1211
- schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
1212
- };
1213
- };
1214
- };
1215
- }
1216
- interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
1217
- }
1218
- }
1219
- namespace SpruceSchemas.Files.v2022_05_13 {
1220
- interface GetSettingsStatusResponsePayload {
1221
- 'didConfigureFileUploads': boolean;
1222
- }
1223
- interface GetSettingsStatusResponsePayloadSchema extends SpruceSchema.Schema {
1224
- id: 'getSettingsStatusResponsePayload';
1225
- version: 'v2022_05_13';
1226
- namespace: 'Files';
1227
- name: '';
1228
- fields: {
1229
- /** . */
1230
- 'didConfigureFileUploads': {
1231
- type: 'boolean';
1232
- isRequired: true;
1233
- options: undefined;
1234
- };
1235
- };
1236
- }
1237
- interface GetSettingsStatusResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusResponsePayloadSchema> {
1238
- }
1239
- }
1240
1240
  namespace SpruceSchemas.Files.v2022_05_13 {
1241
1241
  interface UploadedFile {
1242
1242
  'id': string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-file-utils",
3
3
  "description": "Utils for working with files and Sprucebot.",
4
- "version": "18.6.20",
4
+ "version": "18.6.22",
5
5
  "skill": {
6
6
  "namespace": "files"
7
7
  },