@sprucelabs/spruce-file-utils 18.1.4 → 18.1.6

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,28 @@ 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
+ }
923
945
  namespace SpruceSchemas.Files.v2022_05_13 {
924
946
  interface GetSettingsStatusEmitTarget {
925
947
  'organizationId': string;
@@ -941,6 +963,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
941
963
  interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
942
964
  }
943
965
  }
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
+ }
944
999
  namespace SpruceSchemas.Files.v2022_05_13 {
945
1000
  interface GetSettingsStatusResponsePayload {
946
1001
  'didConfigureFileUploads': boolean;
@@ -1081,61 +1136,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1081
1136
  interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
1082
1137
  }
1083
1138
  }
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
1139
  namespace SpruceSchemas.Files.v2022_05_13 {
1140
1140
  interface UploadEmitTarget {
1141
1141
  'locationId'?: string | undefined | null;
@@ -920,6 +920,28 @@ 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
+ }
923
945
  namespace SpruceSchemas.Files.v2022_05_13 {
924
946
  interface GetSettingsStatusEmitTarget {
925
947
  'organizationId': string;
@@ -941,6 +963,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
941
963
  interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
942
964
  }
943
965
  }
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
+ }
944
999
  namespace SpruceSchemas.Files.v2022_05_13 {
945
1000
  interface GetSettingsStatusResponsePayload {
946
1001
  'didConfigureFileUploads': boolean;
@@ -1081,61 +1136,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1081
1136
  interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
1082
1137
  }
1083
1138
  }
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
1139
  namespace SpruceSchemas.Files.v2022_05_13 {
1140
1140
  interface UploadEmitTarget {
1141
1141
  'locationId'?: string | undefined | null;
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.1.4",
4
+ "version": "18.1.6",
5
5
  "skill": {
6
6
  "namespace": "files"
7
7
  },