@sprucelabs/spruce-file-utils 18.6.16 → 18.6.17

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,81 +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 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
- }
998
923
  namespace SpruceSchemas.Files.v2022_05_13 {
999
924
  interface GetUploadEndpointResponsePayload {
1000
925
  /** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
@@ -1118,6 +1043,104 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1118
1043
  interface UploadEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetAndPayloadSchema> {
1119
1044
  }
1120
1045
  }
1046
+ namespace SpruceSchemas.Files.v2022_05_13 {
1047
+ interface UploadResponsePayload {
1048
+ 'file': SpruceSchemas.Files.v2022_05_13.UploadedFile;
1049
+ }
1050
+ interface UploadResponsePayloadSchema extends SpruceSchema.Schema {
1051
+ id: 'uploadResponsePayload';
1052
+ version: 'v2022_05_13';
1053
+ namespace: 'Files';
1054
+ name: '';
1055
+ fields: {
1056
+ /** . */
1057
+ 'file': {
1058
+ type: 'schema';
1059
+ isRequired: true;
1060
+ options: {
1061
+ schema: SpruceSchemas.Files.v2022_05_13.UploadedFileSchema;
1062
+ };
1063
+ };
1064
+ };
1065
+ }
1066
+ interface UploadResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadResponsePayloadSchema> {
1067
+ }
1068
+ }
1069
+ namespace SpruceSchemas.Files.v2022_05_13 {
1070
+ interface GetSettingsStatusEmitTarget {
1071
+ 'organizationId': string;
1072
+ }
1073
+ interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
1074
+ id: 'getSettingsStatusEmitTarget';
1075
+ version: 'v2022_05_13';
1076
+ namespace: 'Files';
1077
+ name: '';
1078
+ fields: {
1079
+ /** . */
1080
+ 'organizationId': {
1081
+ type: 'id';
1082
+ isRequired: true;
1083
+ options: undefined;
1084
+ };
1085
+ };
1086
+ }
1087
+ interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
1088
+ }
1089
+ }
1090
+ namespace SpruceSchemas.Files.v2022_05_13 {
1091
+ interface GetSettingsStatusResponsePayload {
1092
+ 'didConfigureFileUploads': boolean;
1093
+ }
1094
+ interface GetSettingsStatusResponsePayloadSchema extends SpruceSchema.Schema {
1095
+ id: 'getSettingsStatusResponsePayload';
1096
+ version: 'v2022_05_13';
1097
+ namespace: 'Files';
1098
+ name: '';
1099
+ fields: {
1100
+ /** . */
1101
+ 'didConfigureFileUploads': {
1102
+ type: 'boolean';
1103
+ isRequired: true;
1104
+ options: undefined;
1105
+ };
1106
+ };
1107
+ }
1108
+ interface GetSettingsStatusResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusResponsePayloadSchema> {
1109
+ }
1110
+ }
1111
+ namespace SpruceSchemas.Files.v2022_05_13 {
1112
+ interface GetSettingsStatusEmitTargetAndPayload {
1113
+ /** Source. */
1114
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1115
+ 'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
1116
+ }
1117
+ interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1118
+ id: 'getSettingsStatusEmitTargetAndPayload';
1119
+ version: 'v2022_05_13';
1120
+ namespace: 'Files';
1121
+ name: '';
1122
+ fields: {
1123
+ /** Source. */
1124
+ 'source': {
1125
+ label: 'Source';
1126
+ type: 'schema';
1127
+ options: {
1128
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1129
+ };
1130
+ };
1131
+ /** . */
1132
+ 'target': {
1133
+ type: 'schema';
1134
+ isRequired: true;
1135
+ options: {
1136
+ schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
1137
+ };
1138
+ };
1139
+ };
1140
+ }
1141
+ interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
1142
+ }
1143
+ }
1121
1144
  namespace SpruceSchemas.Files.v2022_05_13 {
1122
1145
  interface SaveSettingsEmitTarget {
1123
1146
  'organizationId': string;
@@ -1279,29 +1302,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1279
1302
  interface UploadedFileEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadedFileSchema> {
1280
1303
  }
1281
1304
  }
1282
- namespace SpruceSchemas.Files.v2022_05_13 {
1283
- interface UploadResponsePayload {
1284
- 'file': SpruceSchemas.Files.v2022_05_13.UploadedFile;
1285
- }
1286
- interface UploadResponsePayloadSchema extends SpruceSchema.Schema {
1287
- id: 'uploadResponsePayload';
1288
- version: 'v2022_05_13';
1289
- namespace: 'Files';
1290
- name: '';
1291
- fields: {
1292
- /** . */
1293
- 'file': {
1294
- type: 'schema';
1295
- isRequired: true;
1296
- options: {
1297
- schema: SpruceSchemas.Files.v2022_05_13.UploadedFileSchema;
1298
- };
1299
- };
1300
- };
1301
- }
1302
- interface UploadResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadResponsePayloadSchema> {
1303
- }
1304
- }
1305
1305
  namespace SpruceSchemas.Files.v2022_05_13 {
1306
1306
  interface SettingsTarget {
1307
1307
  'organizationId': string;
@@ -920,81 +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 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
- }
998
923
  namespace SpruceSchemas.Files.v2022_05_13 {
999
924
  interface GetUploadEndpointResponsePayload {
1000
925
  /** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
@@ -1118,6 +1043,104 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1118
1043
  interface UploadEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetAndPayloadSchema> {
1119
1044
  }
1120
1045
  }
1046
+ namespace SpruceSchemas.Files.v2022_05_13 {
1047
+ interface UploadResponsePayload {
1048
+ 'file': SpruceSchemas.Files.v2022_05_13.UploadedFile;
1049
+ }
1050
+ interface UploadResponsePayloadSchema extends SpruceSchema.Schema {
1051
+ id: 'uploadResponsePayload';
1052
+ version: 'v2022_05_13';
1053
+ namespace: 'Files';
1054
+ name: '';
1055
+ fields: {
1056
+ /** . */
1057
+ 'file': {
1058
+ type: 'schema';
1059
+ isRequired: true;
1060
+ options: {
1061
+ schema: SpruceSchemas.Files.v2022_05_13.UploadedFileSchema;
1062
+ };
1063
+ };
1064
+ };
1065
+ }
1066
+ interface UploadResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadResponsePayloadSchema> {
1067
+ }
1068
+ }
1069
+ namespace SpruceSchemas.Files.v2022_05_13 {
1070
+ interface GetSettingsStatusEmitTarget {
1071
+ 'organizationId': string;
1072
+ }
1073
+ interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
1074
+ id: 'getSettingsStatusEmitTarget';
1075
+ version: 'v2022_05_13';
1076
+ namespace: 'Files';
1077
+ name: '';
1078
+ fields: {
1079
+ /** . */
1080
+ 'organizationId': {
1081
+ type: 'id';
1082
+ isRequired: true;
1083
+ options: undefined;
1084
+ };
1085
+ };
1086
+ }
1087
+ interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
1088
+ }
1089
+ }
1090
+ namespace SpruceSchemas.Files.v2022_05_13 {
1091
+ interface GetSettingsStatusResponsePayload {
1092
+ 'didConfigureFileUploads': boolean;
1093
+ }
1094
+ interface GetSettingsStatusResponsePayloadSchema extends SpruceSchema.Schema {
1095
+ id: 'getSettingsStatusResponsePayload';
1096
+ version: 'v2022_05_13';
1097
+ namespace: 'Files';
1098
+ name: '';
1099
+ fields: {
1100
+ /** . */
1101
+ 'didConfigureFileUploads': {
1102
+ type: 'boolean';
1103
+ isRequired: true;
1104
+ options: undefined;
1105
+ };
1106
+ };
1107
+ }
1108
+ interface GetSettingsStatusResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusResponsePayloadSchema> {
1109
+ }
1110
+ }
1111
+ namespace SpruceSchemas.Files.v2022_05_13 {
1112
+ interface GetSettingsStatusEmitTargetAndPayload {
1113
+ /** Source. */
1114
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1115
+ 'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
1116
+ }
1117
+ interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1118
+ id: 'getSettingsStatusEmitTargetAndPayload';
1119
+ version: 'v2022_05_13';
1120
+ namespace: 'Files';
1121
+ name: '';
1122
+ fields: {
1123
+ /** Source. */
1124
+ 'source': {
1125
+ label: 'Source';
1126
+ type: 'schema';
1127
+ options: {
1128
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1129
+ };
1130
+ };
1131
+ /** . */
1132
+ 'target': {
1133
+ type: 'schema';
1134
+ isRequired: true;
1135
+ options: {
1136
+ schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
1137
+ };
1138
+ };
1139
+ };
1140
+ }
1141
+ interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
1142
+ }
1143
+ }
1121
1144
  namespace SpruceSchemas.Files.v2022_05_13 {
1122
1145
  interface SaveSettingsEmitTarget {
1123
1146
  'organizationId': string;
@@ -1279,29 +1302,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1279
1302
  interface UploadedFileEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadedFileSchema> {
1280
1303
  }
1281
1304
  }
1282
- namespace SpruceSchemas.Files.v2022_05_13 {
1283
- interface UploadResponsePayload {
1284
- 'file': SpruceSchemas.Files.v2022_05_13.UploadedFile;
1285
- }
1286
- interface UploadResponsePayloadSchema extends SpruceSchema.Schema {
1287
- id: 'uploadResponsePayload';
1288
- version: 'v2022_05_13';
1289
- namespace: 'Files';
1290
- name: '';
1291
- fields: {
1292
- /** . */
1293
- 'file': {
1294
- type: 'schema';
1295
- isRequired: true;
1296
- options: {
1297
- schema: SpruceSchemas.Files.v2022_05_13.UploadedFileSchema;
1298
- };
1299
- };
1300
- };
1301
- }
1302
- interface UploadResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadResponsePayloadSchema> {
1303
- }
1304
- }
1305
1305
  namespace SpruceSchemas.Files.v2022_05_13 {
1306
1306
  interface SettingsTarget {
1307
1307
  'organizationId': 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.16",
4
+ "version": "18.6.17",
5
5
  "skill": {
6
6
  "namespace": "files"
7
7
  },