@sprucelabs/spruce-image-utils 12.1.2 → 12.1.3

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.
@@ -3,6 +3,200 @@ import { default as SchemaEntity } from '@sprucelabs/schema';
3
3
  import * as SpruceSchema from '@sprucelabs/schema';
4
4
  import '@sprucelabs/spruce-event-utils';
5
5
  declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
6
+ namespace SpruceSchemas.Files.v2022_05_13 {
7
+ interface GetSettingsStatusEmitTarget {
8
+ 'organizationId': string;
9
+ }
10
+ interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
11
+ id: 'getSettingsStatusEmitTarget';
12
+ version: 'v2022_05_13';
13
+ namespace: 'Files';
14
+ name: '';
15
+ fields: {
16
+ /** . */
17
+ 'organizationId': {
18
+ type: 'id';
19
+ isRequired: true;
20
+ options: undefined;
21
+ };
22
+ };
23
+ }
24
+ interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
25
+ }
26
+ }
27
+ namespace SpruceSchemas.Files.v2022_05_13 {
28
+ interface GetSettingsStatusEmitTargetAndPayload {
29
+ /** Source. */
30
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
31
+ 'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
32
+ }
33
+ interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
34
+ id: 'getSettingsStatusEmitTargetAndPayload';
35
+ version: 'v2022_05_13';
36
+ namespace: 'Files';
37
+ name: '';
38
+ fields: {
39
+ /** Source. */
40
+ 'source': {
41
+ label: 'Source';
42
+ type: 'schema';
43
+ options: {
44
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
45
+ };
46
+ };
47
+ /** . */
48
+ 'target': {
49
+ type: 'schema';
50
+ isRequired: true;
51
+ options: {
52
+ schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
53
+ };
54
+ };
55
+ };
56
+ }
57
+ interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
58
+ }
59
+ }
60
+ namespace SpruceSchemas.Files.v2022_05_13 {
61
+ interface GetSettingsStatusResponsePayload {
62
+ 'didSupplyS3Creds': boolean;
63
+ }
64
+ interface GetSettingsStatusResponsePayloadSchema extends SpruceSchema.Schema {
65
+ id: 'getSettingsStatusResponsePayload';
66
+ version: 'v2022_05_13';
67
+ namespace: 'Files';
68
+ name: '';
69
+ fields: {
70
+ /** . */
71
+ 'didSupplyS3Creds': {
72
+ type: 'boolean';
73
+ isRequired: true;
74
+ options: undefined;
75
+ };
76
+ };
77
+ }
78
+ interface GetSettingsStatusResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusResponsePayloadSchema> {
79
+ }
80
+ }
81
+ namespace SpruceSchemas.Files.v2022_05_13 {
82
+ interface SaveSettingsEmitTarget {
83
+ 'organizationId': string;
84
+ }
85
+ interface SaveSettingsEmitTargetSchema extends SpruceSchema.Schema {
86
+ id: 'saveSettingsEmitTarget';
87
+ version: 'v2022_05_13';
88
+ namespace: 'Files';
89
+ name: '';
90
+ fields: {
91
+ /** . */
92
+ 'organizationId': {
93
+ type: 'id';
94
+ isRequired: true;
95
+ options: undefined;
96
+ };
97
+ };
98
+ }
99
+ interface SaveSettingsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema> {
100
+ }
101
+ }
102
+ namespace SpruceSchemas.Files.v2022_05_13 {
103
+ interface SaveSettingsEmitPayload {
104
+ 'awsAccessKeyId': string;
105
+ 'awsSecretAccessKey': string;
106
+ 'awsS3Bucket': string;
107
+ }
108
+ interface SaveSettingsEmitPayloadSchema extends SpruceSchema.Schema {
109
+ id: 'saveSettingsEmitPayload';
110
+ version: 'v2022_05_13';
111
+ namespace: 'Files';
112
+ name: '';
113
+ fields: {
114
+ /** . */
115
+ 'awsAccessKeyId': {
116
+ type: 'id';
117
+ isRequired: true;
118
+ options: undefined;
119
+ };
120
+ /** . */
121
+ 'awsSecretAccessKey': {
122
+ type: 'text';
123
+ isRequired: true;
124
+ options: undefined;
125
+ };
126
+ /** . */
127
+ 'awsS3Bucket': {
128
+ type: 'text';
129
+ isRequired: true;
130
+ options: undefined;
131
+ };
132
+ };
133
+ }
134
+ interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
135
+ }
136
+ }
137
+ namespace SpruceSchemas.Files.v2022_05_13 {
138
+ interface SaveSettingsEmitTargetAndPayload {
139
+ /** Source. */
140
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
141
+ 'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
142
+ 'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
143
+ }
144
+ interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
145
+ id: 'saveSettingsEmitTargetAndPayload';
146
+ version: 'v2022_05_13';
147
+ namespace: 'Files';
148
+ name: '';
149
+ fields: {
150
+ /** Source. */
151
+ 'source': {
152
+ label: 'Source';
153
+ type: 'schema';
154
+ options: {
155
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
156
+ };
157
+ };
158
+ /** . */
159
+ 'target': {
160
+ type: 'schema';
161
+ isRequired: true;
162
+ options: {
163
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
164
+ };
165
+ };
166
+ /** . */
167
+ 'payload': {
168
+ type: 'schema';
169
+ isRequired: true;
170
+ options: {
171
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
172
+ };
173
+ };
174
+ };
175
+ }
176
+ interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
177
+ }
178
+ }
179
+ namespace SpruceSchemas.Files.v2022_05_13 {
180
+ interface SaveSettingsResponsePayload {
181
+ 'wasSuccessful': boolean;
182
+ }
183
+ interface SaveSettingsResponsePayloadSchema extends SpruceSchema.Schema {
184
+ id: 'saveSettingsResponsePayload';
185
+ version: 'v2022_05_13';
186
+ namespace: 'Files';
187
+ name: '';
188
+ fields: {
189
+ /** . */
190
+ 'wasSuccessful': {
191
+ type: 'boolean';
192
+ isRequired: true;
193
+ options: undefined;
194
+ };
195
+ };
196
+ }
197
+ interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
198
+ }
199
+ }
6
200
  namespace SpruceSchemas.Files.v2022_05_13 {
7
201
  interface UploadEmitTarget {
8
202
  'locationId'?: string | undefined | null;
@@ -3,6 +3,200 @@ import { default as SchemaEntity } from '@sprucelabs/schema';
3
3
  import * as SpruceSchema from '@sprucelabs/schema';
4
4
  import '@sprucelabs/spruce-event-utils';
5
5
  declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
6
+ namespace SpruceSchemas.Files.v2022_05_13 {
7
+ interface GetSettingsStatusEmitTarget {
8
+ 'organizationId': string;
9
+ }
10
+ interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
11
+ id: 'getSettingsStatusEmitTarget';
12
+ version: 'v2022_05_13';
13
+ namespace: 'Files';
14
+ name: '';
15
+ fields: {
16
+ /** . */
17
+ 'organizationId': {
18
+ type: 'id';
19
+ isRequired: true;
20
+ options: undefined;
21
+ };
22
+ };
23
+ }
24
+ interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
25
+ }
26
+ }
27
+ namespace SpruceSchemas.Files.v2022_05_13 {
28
+ interface GetSettingsStatusEmitTargetAndPayload {
29
+ /** Source. */
30
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
31
+ 'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
32
+ }
33
+ interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
34
+ id: 'getSettingsStatusEmitTargetAndPayload';
35
+ version: 'v2022_05_13';
36
+ namespace: 'Files';
37
+ name: '';
38
+ fields: {
39
+ /** Source. */
40
+ 'source': {
41
+ label: 'Source';
42
+ type: 'schema';
43
+ options: {
44
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
45
+ };
46
+ };
47
+ /** . */
48
+ 'target': {
49
+ type: 'schema';
50
+ isRequired: true;
51
+ options: {
52
+ schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
53
+ };
54
+ };
55
+ };
56
+ }
57
+ interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
58
+ }
59
+ }
60
+ namespace SpruceSchemas.Files.v2022_05_13 {
61
+ interface GetSettingsStatusResponsePayload {
62
+ 'didSupplyS3Creds': boolean;
63
+ }
64
+ interface GetSettingsStatusResponsePayloadSchema extends SpruceSchema.Schema {
65
+ id: 'getSettingsStatusResponsePayload';
66
+ version: 'v2022_05_13';
67
+ namespace: 'Files';
68
+ name: '';
69
+ fields: {
70
+ /** . */
71
+ 'didSupplyS3Creds': {
72
+ type: 'boolean';
73
+ isRequired: true;
74
+ options: undefined;
75
+ };
76
+ };
77
+ }
78
+ interface GetSettingsStatusResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusResponsePayloadSchema> {
79
+ }
80
+ }
81
+ namespace SpruceSchemas.Files.v2022_05_13 {
82
+ interface SaveSettingsEmitTarget {
83
+ 'organizationId': string;
84
+ }
85
+ interface SaveSettingsEmitTargetSchema extends SpruceSchema.Schema {
86
+ id: 'saveSettingsEmitTarget';
87
+ version: 'v2022_05_13';
88
+ namespace: 'Files';
89
+ name: '';
90
+ fields: {
91
+ /** . */
92
+ 'organizationId': {
93
+ type: 'id';
94
+ isRequired: true;
95
+ options: undefined;
96
+ };
97
+ };
98
+ }
99
+ interface SaveSettingsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema> {
100
+ }
101
+ }
102
+ namespace SpruceSchemas.Files.v2022_05_13 {
103
+ interface SaveSettingsEmitPayload {
104
+ 'awsAccessKeyId': string;
105
+ 'awsSecretAccessKey': string;
106
+ 'awsS3Bucket': string;
107
+ }
108
+ interface SaveSettingsEmitPayloadSchema extends SpruceSchema.Schema {
109
+ id: 'saveSettingsEmitPayload';
110
+ version: 'v2022_05_13';
111
+ namespace: 'Files';
112
+ name: '';
113
+ fields: {
114
+ /** . */
115
+ 'awsAccessKeyId': {
116
+ type: 'id';
117
+ isRequired: true;
118
+ options: undefined;
119
+ };
120
+ /** . */
121
+ 'awsSecretAccessKey': {
122
+ type: 'text';
123
+ isRequired: true;
124
+ options: undefined;
125
+ };
126
+ /** . */
127
+ 'awsS3Bucket': {
128
+ type: 'text';
129
+ isRequired: true;
130
+ options: undefined;
131
+ };
132
+ };
133
+ }
134
+ interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
135
+ }
136
+ }
137
+ namespace SpruceSchemas.Files.v2022_05_13 {
138
+ interface SaveSettingsEmitTargetAndPayload {
139
+ /** Source. */
140
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
141
+ 'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
142
+ 'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
143
+ }
144
+ interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
145
+ id: 'saveSettingsEmitTargetAndPayload';
146
+ version: 'v2022_05_13';
147
+ namespace: 'Files';
148
+ name: '';
149
+ fields: {
150
+ /** Source. */
151
+ 'source': {
152
+ label: 'Source';
153
+ type: 'schema';
154
+ options: {
155
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
156
+ };
157
+ };
158
+ /** . */
159
+ 'target': {
160
+ type: 'schema';
161
+ isRequired: true;
162
+ options: {
163
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
164
+ };
165
+ };
166
+ /** . */
167
+ 'payload': {
168
+ type: 'schema';
169
+ isRequired: true;
170
+ options: {
171
+ schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
172
+ };
173
+ };
174
+ };
175
+ }
176
+ interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
177
+ }
178
+ }
179
+ namespace SpruceSchemas.Files.v2022_05_13 {
180
+ interface SaveSettingsResponsePayload {
181
+ 'wasSuccessful': boolean;
182
+ }
183
+ interface SaveSettingsResponsePayloadSchema extends SpruceSchema.Schema {
184
+ id: 'saveSettingsResponsePayload';
185
+ version: 'v2022_05_13';
186
+ namespace: 'Files';
187
+ name: '';
188
+ fields: {
189
+ /** . */
190
+ 'wasSuccessful': {
191
+ type: 'boolean';
192
+ isRequired: true;
193
+ options: undefined;
194
+ };
195
+ };
196
+ }
197
+ interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
198
+ }
199
+ }
6
200
  namespace SpruceSchemas.Files.v2022_05_13 {
7
201
  interface UploadEmitTarget {
8
202
  'locationId'?: string | undefined | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-image-utils",
3
3
  "description": "Support for working with images and Sprucebot. 📈",
4
- "version": "12.1.2",
4
+ "version": "12.1.3",
5
5
  "skill": {
6
6
  "namespace": "images"
7
7
  },