@sprucelabs/spruce-file-utils 18.6.9 → 18.6.11

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.
@@ -976,6 +976,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
976
976
  interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
977
977
  }
978
978
  }
979
+ namespace SpruceSchemas.Files.v2022_05_13 {
980
+ interface SaveSettingsEmitTargetAndPayload {
981
+ /** Source. */
982
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
983
+ 'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
984
+ 'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
985
+ }
986
+ interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
987
+ id: 'saveSettingsEmitTargetAndPayload';
988
+ version: 'v2022_05_13';
989
+ namespace: 'Files';
990
+ name: '';
991
+ fields: {
992
+ /** Source. */
993
+ 'source': {
994
+ label: 'Source';
995
+ type: 'schema';
996
+ options: {
997
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
998
+ };
999
+ };
1000
+ /** . */
1001
+ 'target': {
1002
+ type: 'schema';
1003
+ isRequired: true;
1004
+ options: {
1005
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
1006
+ };
1007
+ };
1008
+ /** . */
1009
+ 'payload': {
1010
+ type: 'schema';
1011
+ isRequired: true;
1012
+ options: {
1013
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
1014
+ };
1015
+ };
1016
+ };
1017
+ }
1018
+ interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
1019
+ }
1020
+ }
979
1021
  namespace SpruceSchemas.Files.v2022_05_13 {
980
1022
  interface SaveSettingsResponsePayload {
981
1023
  'wasSuccessful': boolean;
@@ -998,57 +1040,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
998
1040
  }
999
1041
  }
1000
1042
  namespace SpruceSchemas.Files.v2022_05_13 {
1001
- interface GetSettingsStatusEmitTarget {
1002
- 'organizationId': string;
1043
+ interface GetUploadEndpointResponsePayload {
1044
+ /** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
1045
+ 'restEndpointUrl'?: string | undefined | null;
1003
1046
  }
1004
- interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
1005
- id: 'getSettingsStatusEmitTarget';
1047
+ interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
1048
+ id: 'getUploadEndpointResponsePayload';
1006
1049
  version: 'v2022_05_13';
1007
1050
  namespace: 'Files';
1008
1051
  name: '';
1009
1052
  fields: {
1010
- /** . */
1011
- 'organizationId': {
1012
- type: 'id';
1013
- isRequired: true;
1053
+ /** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
1054
+ 'restEndpointUrl': {
1055
+ type: 'text';
1056
+ hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
1014
1057
  options: undefined;
1015
1058
  };
1016
1059
  };
1017
1060
  }
1018
- interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
1061
+ interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
1019
1062
  }
1020
1063
  }
1021
1064
  namespace SpruceSchemas.Files.v2022_05_13 {
1022
- interface GetSettingsStatusEmitTargetAndPayload {
1023
- /** Source. */
1024
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1025
- 'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
1065
+ interface GetSettingsStatusEmitTarget {
1066
+ 'organizationId': string;
1026
1067
  }
1027
- interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1028
- id: 'getSettingsStatusEmitTargetAndPayload';
1068
+ interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
1069
+ id: 'getSettingsStatusEmitTarget';
1029
1070
  version: 'v2022_05_13';
1030
1071
  namespace: 'Files';
1031
1072
  name: '';
1032
1073
  fields: {
1033
- /** Source. */
1034
- 'source': {
1035
- label: 'Source';
1036
- type: 'schema';
1037
- options: {
1038
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1039
- };
1040
- };
1041
1074
  /** . */
1042
- 'target': {
1043
- type: 'schema';
1075
+ 'organizationId': {
1076
+ type: 'id';
1044
1077
  isRequired: true;
1045
- options: {
1046
- schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
1047
- };
1078
+ options: undefined;
1048
1079
  };
1049
1080
  };
1050
1081
  }
1051
- interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
1082
+ interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
1052
1083
  }
1053
1084
  }
1054
1085
  namespace SpruceSchemas.Files.v2022_05_13 {
@@ -1073,36 +1104,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1073
1104
  }
1074
1105
  }
1075
1106
  namespace SpruceSchemas.Files.v2022_05_13 {
1076
- interface GetUploadEndpointResponsePayload {
1077
- /** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
1078
- 'restEndpointUrl'?: string | undefined | null;
1079
- }
1080
- interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
1081
- id: 'getUploadEndpointResponsePayload';
1082
- version: 'v2022_05_13';
1083
- namespace: 'Files';
1084
- name: '';
1085
- fields: {
1086
- /** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
1087
- 'restEndpointUrl': {
1088
- type: 'text';
1089
- hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
1090
- options: undefined;
1091
- };
1092
- };
1093
- }
1094
- interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
1095
- }
1096
- }
1097
- namespace SpruceSchemas.Files.v2022_05_13 {
1098
- interface SaveSettingsEmitTargetAndPayload {
1107
+ interface GetSettingsStatusEmitTargetAndPayload {
1099
1108
  /** Source. */
1100
1109
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1101
- 'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
1102
- 'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
1110
+ 'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
1103
1111
  }
1104
- interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1105
- id: 'saveSettingsEmitTargetAndPayload';
1112
+ interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1113
+ id: 'getSettingsStatusEmitTargetAndPayload';
1106
1114
  version: 'v2022_05_13';
1107
1115
  namespace: 'Files';
1108
1116
  name: '';
@@ -1120,20 +1128,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1120
1128
  type: 'schema';
1121
1129
  isRequired: true;
1122
1130
  options: {
1123
- schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
1124
- };
1125
- };
1126
- /** . */
1127
- 'payload': {
1128
- type: 'schema';
1129
- isRequired: true;
1130
- options: {
1131
- schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
1131
+ schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
1132
1132
  };
1133
1133
  };
1134
1134
  };
1135
1135
  }
1136
- interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
1136
+ interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
1137
1137
  }
1138
1138
  }
1139
1139
  namespace SpruceSchemas.Files.v2022_05_13 {
@@ -976,6 +976,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
976
976
  interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
977
977
  }
978
978
  }
979
+ namespace SpruceSchemas.Files.v2022_05_13 {
980
+ interface SaveSettingsEmitTargetAndPayload {
981
+ /** Source. */
982
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
983
+ 'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
984
+ 'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
985
+ }
986
+ interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
987
+ id: 'saveSettingsEmitTargetAndPayload';
988
+ version: 'v2022_05_13';
989
+ namespace: 'Files';
990
+ name: '';
991
+ fields: {
992
+ /** Source. */
993
+ 'source': {
994
+ label: 'Source';
995
+ type: 'schema';
996
+ options: {
997
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
998
+ };
999
+ };
1000
+ /** . */
1001
+ 'target': {
1002
+ type: 'schema';
1003
+ isRequired: true;
1004
+ options: {
1005
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
1006
+ };
1007
+ };
1008
+ /** . */
1009
+ 'payload': {
1010
+ type: 'schema';
1011
+ isRequired: true;
1012
+ options: {
1013
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
1014
+ };
1015
+ };
1016
+ };
1017
+ }
1018
+ interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
1019
+ }
1020
+ }
979
1021
  namespace SpruceSchemas.Files.v2022_05_13 {
980
1022
  interface SaveSettingsResponsePayload {
981
1023
  'wasSuccessful': boolean;
@@ -998,57 +1040,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
998
1040
  }
999
1041
  }
1000
1042
  namespace SpruceSchemas.Files.v2022_05_13 {
1001
- interface GetSettingsStatusEmitTarget {
1002
- 'organizationId': string;
1043
+ interface GetUploadEndpointResponsePayload {
1044
+ /** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
1045
+ 'restEndpointUrl'?: string | undefined | null;
1003
1046
  }
1004
- interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
1005
- id: 'getSettingsStatusEmitTarget';
1047
+ interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
1048
+ id: 'getUploadEndpointResponsePayload';
1006
1049
  version: 'v2022_05_13';
1007
1050
  namespace: 'Files';
1008
1051
  name: '';
1009
1052
  fields: {
1010
- /** . */
1011
- 'organizationId': {
1012
- type: 'id';
1013
- isRequired: true;
1053
+ /** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
1054
+ 'restEndpointUrl': {
1055
+ type: 'text';
1056
+ hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
1014
1057
  options: undefined;
1015
1058
  };
1016
1059
  };
1017
1060
  }
1018
- interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
1061
+ interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
1019
1062
  }
1020
1063
  }
1021
1064
  namespace SpruceSchemas.Files.v2022_05_13 {
1022
- interface GetSettingsStatusEmitTargetAndPayload {
1023
- /** Source. */
1024
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1025
- 'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
1065
+ interface GetSettingsStatusEmitTarget {
1066
+ 'organizationId': string;
1026
1067
  }
1027
- interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1028
- id: 'getSettingsStatusEmitTargetAndPayload';
1068
+ interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
1069
+ id: 'getSettingsStatusEmitTarget';
1029
1070
  version: 'v2022_05_13';
1030
1071
  namespace: 'Files';
1031
1072
  name: '';
1032
1073
  fields: {
1033
- /** Source. */
1034
- 'source': {
1035
- label: 'Source';
1036
- type: 'schema';
1037
- options: {
1038
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1039
- };
1040
- };
1041
1074
  /** . */
1042
- 'target': {
1043
- type: 'schema';
1075
+ 'organizationId': {
1076
+ type: 'id';
1044
1077
  isRequired: true;
1045
- options: {
1046
- schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
1047
- };
1078
+ options: undefined;
1048
1079
  };
1049
1080
  };
1050
1081
  }
1051
- interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
1082
+ interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
1052
1083
  }
1053
1084
  }
1054
1085
  namespace SpruceSchemas.Files.v2022_05_13 {
@@ -1073,36 +1104,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1073
1104
  }
1074
1105
  }
1075
1106
  namespace SpruceSchemas.Files.v2022_05_13 {
1076
- interface GetUploadEndpointResponsePayload {
1077
- /** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
1078
- 'restEndpointUrl'?: string | undefined | null;
1079
- }
1080
- interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
1081
- id: 'getUploadEndpointResponsePayload';
1082
- version: 'v2022_05_13';
1083
- namespace: 'Files';
1084
- name: '';
1085
- fields: {
1086
- /** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
1087
- 'restEndpointUrl': {
1088
- type: 'text';
1089
- hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
1090
- options: undefined;
1091
- };
1092
- };
1093
- }
1094
- interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
1095
- }
1096
- }
1097
- namespace SpruceSchemas.Files.v2022_05_13 {
1098
- interface SaveSettingsEmitTargetAndPayload {
1107
+ interface GetSettingsStatusEmitTargetAndPayload {
1099
1108
  /** Source. */
1100
1109
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1101
- 'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
1102
- 'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
1110
+ 'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
1103
1111
  }
1104
- interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1105
- id: 'saveSettingsEmitTargetAndPayload';
1112
+ interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1113
+ id: 'getSettingsStatusEmitTargetAndPayload';
1106
1114
  version: 'v2022_05_13';
1107
1115
  namespace: 'Files';
1108
1116
  name: '';
@@ -1120,20 +1128,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1120
1128
  type: 'schema';
1121
1129
  isRequired: true;
1122
1130
  options: {
1123
- schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
1124
- };
1125
- };
1126
- /** . */
1127
- 'payload': {
1128
- type: 'schema';
1129
- isRequired: true;
1130
- options: {
1131
- schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
1131
+ schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
1132
1132
  };
1133
1133
  };
1134
1134
  };
1135
1135
  }
1136
- interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
1136
+ interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
1137
1137
  }
1138
1138
  }
1139
1139
  namespace SpruceSchemas.Files.v2022_05_13 {
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.9",
4
+ "version": "18.6.11",
5
5
  "skill": {
6
6
  "namespace": "files"
7
7
  },