@transcommerce/cwm-shared 1.1.64 → 1.1.65
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.
- package/fesm2022/transcommerce-cwm-shared.mjs +97 -87
- package/fesm2022/transcommerce-cwm-shared.mjs.map +1 -1
- package/lib/models/config/api-config.d.ts +1 -6
- package/lib/models/config/auth-config.d.ts +1 -11
- package/lib/models/config/carousel-config.d.ts +1 -8
- package/lib/models/config/configuration.d.ts +7 -40
- package/lib/models/config/menu-board-config.d.ts +1 -3
- package/lib/models/config/subscription-config.d.ts +1 -4
- package/lib/models/slide.d.ts +1 -6
- package/package.json +1 -1
|
@@ -16,42 +16,37 @@ export declare const API_CONFIG_SCHEMA: {
|
|
|
16
16
|
title: string;
|
|
17
17
|
description: string;
|
|
18
18
|
default: string;
|
|
19
|
-
required: boolean;
|
|
20
19
|
};
|
|
21
20
|
createSubscriptionApiRoute: {
|
|
22
21
|
type: string;
|
|
23
22
|
title: string;
|
|
24
23
|
description: string;
|
|
25
24
|
default: string;
|
|
26
|
-
required: boolean;
|
|
27
25
|
};
|
|
28
26
|
getInventoryApiRoute: {
|
|
29
27
|
type: string;
|
|
30
28
|
title: string;
|
|
31
29
|
description: string;
|
|
32
30
|
default: string;
|
|
33
|
-
required: boolean;
|
|
34
31
|
};
|
|
35
32
|
apiKey: {
|
|
36
33
|
type: string;
|
|
37
34
|
title: string;
|
|
38
35
|
description: string;
|
|
39
36
|
default: string;
|
|
40
|
-
required: boolean;
|
|
41
37
|
};
|
|
42
38
|
clientId: {
|
|
43
39
|
type: string;
|
|
44
40
|
title: string;
|
|
45
41
|
description: string;
|
|
46
42
|
default: string;
|
|
47
|
-
required: boolean;
|
|
48
43
|
};
|
|
49
44
|
locationId: {
|
|
50
45
|
type: string;
|
|
51
46
|
title: string;
|
|
52
47
|
description: string;
|
|
53
48
|
default: string;
|
|
54
|
-
required: boolean;
|
|
55
49
|
};
|
|
56
50
|
};
|
|
51
|
+
required: string[];
|
|
57
52
|
};
|
|
@@ -32,43 +32,36 @@ export declare const AUTH_CONFIG_SCHEMA: {
|
|
|
32
32
|
description: string;
|
|
33
33
|
enum: string[];
|
|
34
34
|
default: string;
|
|
35
|
-
required: boolean;
|
|
36
35
|
};
|
|
37
36
|
clientId: {
|
|
38
37
|
type: string;
|
|
39
38
|
title: string;
|
|
40
39
|
description: string;
|
|
41
|
-
required: boolean;
|
|
42
40
|
};
|
|
43
41
|
tenantId: {
|
|
44
42
|
type: string;
|
|
45
43
|
title: string;
|
|
46
44
|
description: string;
|
|
47
|
-
required: boolean;
|
|
48
45
|
};
|
|
49
46
|
authority: {
|
|
50
47
|
type: string;
|
|
51
48
|
title: string;
|
|
52
49
|
description: string;
|
|
53
|
-
required: boolean;
|
|
54
50
|
};
|
|
55
51
|
scopes: {
|
|
56
52
|
type: string;
|
|
57
53
|
title: string;
|
|
58
54
|
description: string;
|
|
59
|
-
required: boolean;
|
|
60
55
|
};
|
|
61
56
|
redirect_uri: {
|
|
62
57
|
type: string;
|
|
63
58
|
title: string;
|
|
64
59
|
description: string;
|
|
65
|
-
required: boolean;
|
|
66
60
|
};
|
|
67
61
|
logout_redirect_uri: {
|
|
68
62
|
type: string;
|
|
69
63
|
title: string;
|
|
70
64
|
description: string;
|
|
71
|
-
required: boolean;
|
|
72
65
|
};
|
|
73
66
|
prompt: {
|
|
74
67
|
type: string;
|
|
@@ -76,28 +69,25 @@ export declare const AUTH_CONFIG_SCHEMA: {
|
|
|
76
69
|
description: string;
|
|
77
70
|
enum: string[];
|
|
78
71
|
default: string;
|
|
79
|
-
required: boolean;
|
|
80
72
|
};
|
|
81
73
|
msalDiagnosticsEnabled: {
|
|
82
74
|
type: string;
|
|
83
75
|
title: string;
|
|
84
76
|
description: string;
|
|
85
77
|
default: boolean;
|
|
86
|
-
required: boolean;
|
|
87
78
|
};
|
|
88
79
|
showPii: {
|
|
89
80
|
type: string;
|
|
90
81
|
title: string;
|
|
91
82
|
description: string;
|
|
92
83
|
default: boolean;
|
|
93
|
-
required: boolean;
|
|
94
84
|
};
|
|
95
85
|
configConnectString: {
|
|
96
86
|
type: string;
|
|
97
87
|
title: string;
|
|
98
88
|
description: string;
|
|
99
|
-
required: boolean;
|
|
100
89
|
};
|
|
101
90
|
};
|
|
91
|
+
required: string[];
|
|
102
92
|
};
|
|
103
93
|
export declare const AUTH_CONFIG: InjectionToken<AuthConfig>;
|
|
@@ -18,56 +18,49 @@ export declare const CAROUSEL_CONFIG_SCHEMA: {
|
|
|
18
18
|
title: string;
|
|
19
19
|
description: string;
|
|
20
20
|
default: number;
|
|
21
|
-
required: boolean;
|
|
22
21
|
};
|
|
23
22
|
slidesToScroll: {
|
|
24
23
|
type: string;
|
|
25
24
|
title: string;
|
|
26
25
|
description: string;
|
|
27
26
|
default: number;
|
|
28
|
-
required: boolean;
|
|
29
27
|
};
|
|
30
28
|
dots: {
|
|
31
29
|
type: string;
|
|
32
30
|
title: string;
|
|
33
31
|
description: string;
|
|
34
32
|
default: boolean;
|
|
35
|
-
required: boolean;
|
|
36
33
|
};
|
|
37
34
|
infinite: {
|
|
38
35
|
type: string;
|
|
39
36
|
title: string;
|
|
40
37
|
description: string;
|
|
41
38
|
default: boolean;
|
|
42
|
-
required: boolean;
|
|
43
39
|
};
|
|
44
40
|
autoplay: {
|
|
45
41
|
type: string;
|
|
46
42
|
title: string;
|
|
47
43
|
description: string;
|
|
48
44
|
default: boolean;
|
|
49
|
-
required: boolean;
|
|
50
45
|
};
|
|
51
46
|
autoplaySpeed: {
|
|
52
47
|
type: string;
|
|
53
48
|
title: string;
|
|
54
49
|
description: string;
|
|
55
50
|
default: number;
|
|
56
|
-
required: boolean;
|
|
57
51
|
};
|
|
58
52
|
speed: {
|
|
59
53
|
type: string;
|
|
60
54
|
title: string;
|
|
61
55
|
description: string;
|
|
62
56
|
default: number;
|
|
63
|
-
required: boolean;
|
|
64
57
|
};
|
|
65
58
|
arrows: {
|
|
66
59
|
type: string;
|
|
67
60
|
title: string;
|
|
68
61
|
description: string;
|
|
69
62
|
default: boolean;
|
|
70
|
-
required: boolean;
|
|
71
63
|
};
|
|
72
64
|
};
|
|
65
|
+
required: string[];
|
|
73
66
|
};
|
|
@@ -23,7 +23,6 @@ export declare const CONFIGURATION_SCHEMA: {
|
|
|
23
23
|
type: string;
|
|
24
24
|
title: string;
|
|
25
25
|
default: string;
|
|
26
|
-
required: boolean;
|
|
27
26
|
};
|
|
28
27
|
authConfig: {
|
|
29
28
|
type: string;
|
|
@@ -35,43 +34,36 @@ export declare const CONFIGURATION_SCHEMA: {
|
|
|
35
34
|
description: string;
|
|
36
35
|
enum: string[];
|
|
37
36
|
default: string;
|
|
38
|
-
required: boolean;
|
|
39
37
|
};
|
|
40
38
|
clientId: {
|
|
41
39
|
type: string;
|
|
42
40
|
title: string;
|
|
43
41
|
description: string;
|
|
44
|
-
required: boolean;
|
|
45
42
|
};
|
|
46
43
|
tenantId: {
|
|
47
44
|
type: string;
|
|
48
45
|
title: string;
|
|
49
46
|
description: string;
|
|
50
|
-
required: boolean;
|
|
51
47
|
};
|
|
52
48
|
authority: {
|
|
53
49
|
type: string;
|
|
54
50
|
title: string;
|
|
55
51
|
description: string;
|
|
56
|
-
required: boolean;
|
|
57
52
|
};
|
|
58
53
|
scopes: {
|
|
59
54
|
type: string;
|
|
60
55
|
title: string;
|
|
61
56
|
description: string;
|
|
62
|
-
required: boolean;
|
|
63
57
|
};
|
|
64
58
|
redirect_uri: {
|
|
65
59
|
type: string;
|
|
66
60
|
title: string;
|
|
67
61
|
description: string;
|
|
68
|
-
required: boolean;
|
|
69
62
|
};
|
|
70
63
|
logout_redirect_uri: {
|
|
71
64
|
type: string;
|
|
72
65
|
title: string;
|
|
73
66
|
description: string;
|
|
74
|
-
required: boolean;
|
|
75
67
|
};
|
|
76
68
|
prompt: {
|
|
77
69
|
type: string;
|
|
@@ -79,29 +71,26 @@ export declare const CONFIGURATION_SCHEMA: {
|
|
|
79
71
|
description: string;
|
|
80
72
|
enum: string[];
|
|
81
73
|
default: string;
|
|
82
|
-
required: boolean;
|
|
83
74
|
};
|
|
84
75
|
msalDiagnosticsEnabled: {
|
|
85
76
|
type: string;
|
|
86
77
|
title: string;
|
|
87
78
|
description: string;
|
|
88
79
|
default: boolean;
|
|
89
|
-
required: boolean;
|
|
90
80
|
};
|
|
91
81
|
showPii: {
|
|
92
82
|
type: string;
|
|
93
83
|
title: string;
|
|
94
84
|
description: string;
|
|
95
85
|
default: boolean;
|
|
96
|
-
required: boolean;
|
|
97
86
|
};
|
|
98
87
|
configConnectString: {
|
|
99
88
|
type: string;
|
|
100
89
|
title: string;
|
|
101
90
|
description: string;
|
|
102
|
-
required: boolean;
|
|
103
91
|
};
|
|
104
92
|
};
|
|
93
|
+
required: string[];
|
|
105
94
|
};
|
|
106
95
|
apiConfig: {
|
|
107
96
|
type: string;
|
|
@@ -112,44 +101,39 @@ export declare const CONFIGURATION_SCHEMA: {
|
|
|
112
101
|
title: string;
|
|
113
102
|
description: string;
|
|
114
103
|
default: string;
|
|
115
|
-
required: boolean;
|
|
116
104
|
};
|
|
117
105
|
createSubscriptionApiRoute: {
|
|
118
106
|
type: string;
|
|
119
107
|
title: string;
|
|
120
108
|
description: string;
|
|
121
109
|
default: string;
|
|
122
|
-
required: boolean;
|
|
123
110
|
};
|
|
124
111
|
getInventoryApiRoute: {
|
|
125
112
|
type: string;
|
|
126
113
|
title: string;
|
|
127
114
|
description: string;
|
|
128
115
|
default: string;
|
|
129
|
-
required: boolean;
|
|
130
116
|
};
|
|
131
117
|
apiKey: {
|
|
132
118
|
type: string;
|
|
133
119
|
title: string;
|
|
134
120
|
description: string;
|
|
135
121
|
default: string;
|
|
136
|
-
required: boolean;
|
|
137
122
|
};
|
|
138
123
|
clientId: {
|
|
139
124
|
type: string;
|
|
140
125
|
title: string;
|
|
141
126
|
description: string;
|
|
142
127
|
default: string;
|
|
143
|
-
required: boolean;
|
|
144
128
|
};
|
|
145
129
|
locationId: {
|
|
146
130
|
type: string;
|
|
147
131
|
title: string;
|
|
148
132
|
description: string;
|
|
149
133
|
default: string;
|
|
150
|
-
required: boolean;
|
|
151
134
|
};
|
|
152
135
|
};
|
|
136
|
+
required: string[];
|
|
153
137
|
};
|
|
154
138
|
subscriptionConfig: {
|
|
155
139
|
type: string;
|
|
@@ -160,30 +144,27 @@ export declare const CONFIGURATION_SCHEMA: {
|
|
|
160
144
|
title: string;
|
|
161
145
|
description: string;
|
|
162
146
|
default: number;
|
|
163
|
-
required: boolean;
|
|
164
147
|
};
|
|
165
148
|
days: {
|
|
166
149
|
type: string;
|
|
167
150
|
title: string;
|
|
168
151
|
description: string;
|
|
169
152
|
default: number;
|
|
170
|
-
required: boolean;
|
|
171
153
|
};
|
|
172
154
|
totalOccurrences: {
|
|
173
155
|
type: string;
|
|
174
156
|
title: string;
|
|
175
157
|
description: string;
|
|
176
158
|
default: number;
|
|
177
|
-
required: boolean;
|
|
178
159
|
};
|
|
179
160
|
trialOccurrences: {
|
|
180
161
|
type: string;
|
|
181
162
|
title: string;
|
|
182
163
|
description: string;
|
|
183
164
|
default: number;
|
|
184
|
-
required: boolean;
|
|
185
165
|
};
|
|
186
166
|
};
|
|
167
|
+
required: string[];
|
|
187
168
|
};
|
|
188
169
|
menuBoardConfig: {
|
|
189
170
|
type: string;
|
|
@@ -194,23 +175,21 @@ export declare const CONFIGURATION_SCHEMA: {
|
|
|
194
175
|
title: string;
|
|
195
176
|
description: string;
|
|
196
177
|
default: number;
|
|
197
|
-
required: boolean;
|
|
198
178
|
};
|
|
199
179
|
autoScrollTimeout: {
|
|
200
180
|
type: string;
|
|
201
181
|
title: string;
|
|
202
182
|
description: string;
|
|
203
183
|
default: number;
|
|
204
|
-
required: boolean;
|
|
205
184
|
};
|
|
206
185
|
dataAgeThreshold: {
|
|
207
186
|
type: string;
|
|
208
187
|
title: string;
|
|
209
188
|
description: string;
|
|
210
189
|
default: number;
|
|
211
|
-
required: boolean;
|
|
212
190
|
};
|
|
213
191
|
};
|
|
192
|
+
required: string[];
|
|
214
193
|
};
|
|
215
194
|
footerCarouselConfig: {
|
|
216
195
|
type: string;
|
|
@@ -221,58 +200,51 @@ export declare const CONFIGURATION_SCHEMA: {
|
|
|
221
200
|
title: string;
|
|
222
201
|
description: string;
|
|
223
202
|
default: number;
|
|
224
|
-
required: boolean;
|
|
225
203
|
};
|
|
226
204
|
slidesToScroll: {
|
|
227
205
|
type: string;
|
|
228
206
|
title: string;
|
|
229
207
|
description: string;
|
|
230
208
|
default: number;
|
|
231
|
-
required: boolean;
|
|
232
209
|
};
|
|
233
210
|
dots: {
|
|
234
211
|
type: string;
|
|
235
212
|
title: string;
|
|
236
213
|
description: string;
|
|
237
214
|
default: boolean;
|
|
238
|
-
required: boolean;
|
|
239
215
|
};
|
|
240
216
|
infinite: {
|
|
241
217
|
type: string;
|
|
242
218
|
title: string;
|
|
243
219
|
description: string;
|
|
244
220
|
default: boolean;
|
|
245
|
-
required: boolean;
|
|
246
221
|
};
|
|
247
222
|
autoplay: {
|
|
248
223
|
type: string;
|
|
249
224
|
title: string;
|
|
250
225
|
description: string;
|
|
251
226
|
default: boolean;
|
|
252
|
-
required: boolean;
|
|
253
227
|
};
|
|
254
228
|
autoplaySpeed: {
|
|
255
229
|
type: string;
|
|
256
230
|
title: string;
|
|
257
231
|
description: string;
|
|
258
232
|
default: number;
|
|
259
|
-
required: boolean;
|
|
260
233
|
};
|
|
261
234
|
speed: {
|
|
262
235
|
type: string;
|
|
263
236
|
title: string;
|
|
264
237
|
description: string;
|
|
265
238
|
default: number;
|
|
266
|
-
required: boolean;
|
|
267
239
|
};
|
|
268
240
|
arrows: {
|
|
269
241
|
type: string;
|
|
270
242
|
title: string;
|
|
271
243
|
description: string;
|
|
272
244
|
default: boolean;
|
|
273
|
-
required: boolean;
|
|
274
245
|
};
|
|
275
246
|
};
|
|
247
|
+
required: string[];
|
|
276
248
|
};
|
|
277
249
|
footerCarouselSlideConfig: {
|
|
278
250
|
type: string;
|
|
@@ -287,28 +259,24 @@ export declare const CONFIGURATION_SCHEMA: {
|
|
|
287
259
|
title: string;
|
|
288
260
|
description: string;
|
|
289
261
|
default: string;
|
|
290
|
-
required: boolean;
|
|
291
262
|
};
|
|
292
263
|
title: {
|
|
293
264
|
type: string;
|
|
294
265
|
title: string;
|
|
295
266
|
description: string;
|
|
296
267
|
default: string;
|
|
297
|
-
required: boolean;
|
|
298
268
|
};
|
|
299
269
|
description: {
|
|
300
270
|
type: string;
|
|
301
271
|
title: string;
|
|
302
272
|
description: string;
|
|
303
273
|
default: string;
|
|
304
|
-
required: boolean;
|
|
305
274
|
};
|
|
306
275
|
highlighted: {
|
|
307
276
|
type: string;
|
|
308
277
|
title: string;
|
|
309
278
|
description: string;
|
|
310
279
|
default: boolean;
|
|
311
|
-
required: boolean;
|
|
312
280
|
};
|
|
313
281
|
textColor: {
|
|
314
282
|
type: string;
|
|
@@ -316,7 +284,6 @@ export declare const CONFIGURATION_SCHEMA: {
|
|
|
316
284
|
description: string;
|
|
317
285
|
enum: string[];
|
|
318
286
|
default: string;
|
|
319
|
-
required: boolean;
|
|
320
287
|
};
|
|
321
288
|
backgroundColor: {
|
|
322
289
|
type: string;
|
|
@@ -324,12 +291,12 @@ export declare const CONFIGURATION_SCHEMA: {
|
|
|
324
291
|
description: string;
|
|
325
292
|
enum: string[];
|
|
326
293
|
default: string;
|
|
327
|
-
required: boolean;
|
|
328
294
|
};
|
|
329
295
|
};
|
|
296
|
+
required: string[];
|
|
330
297
|
};
|
|
331
298
|
default: Slide[];
|
|
332
|
-
required: boolean;
|
|
333
299
|
};
|
|
334
300
|
};
|
|
301
|
+
required: string[];
|
|
335
302
|
};
|
|
@@ -13,21 +13,19 @@ export declare const MENU_BOARD_CONFIG_SCHEMA: {
|
|
|
13
13
|
title: string;
|
|
14
14
|
description: string;
|
|
15
15
|
default: number;
|
|
16
|
-
required: boolean;
|
|
17
16
|
};
|
|
18
17
|
autoScrollTimeout: {
|
|
19
18
|
type: string;
|
|
20
19
|
title: string;
|
|
21
20
|
description: string;
|
|
22
21
|
default: number;
|
|
23
|
-
required: boolean;
|
|
24
22
|
};
|
|
25
23
|
dataAgeThreshold: {
|
|
26
24
|
type: string;
|
|
27
25
|
title: string;
|
|
28
26
|
description: string;
|
|
29
27
|
default: number;
|
|
30
|
-
required: boolean;
|
|
31
28
|
};
|
|
32
29
|
};
|
|
30
|
+
required: string[];
|
|
33
31
|
};
|
|
@@ -14,28 +14,25 @@ export declare const SUBSCRIPTION_CONFIG_SCHEMA: {
|
|
|
14
14
|
title: string;
|
|
15
15
|
description: string;
|
|
16
16
|
default: number;
|
|
17
|
-
required: boolean;
|
|
18
17
|
};
|
|
19
18
|
days: {
|
|
20
19
|
type: string;
|
|
21
20
|
title: string;
|
|
22
21
|
description: string;
|
|
23
22
|
default: number;
|
|
24
|
-
required: boolean;
|
|
25
23
|
};
|
|
26
24
|
totalOccurrences: {
|
|
27
25
|
type: string;
|
|
28
26
|
title: string;
|
|
29
27
|
description: string;
|
|
30
28
|
default: number;
|
|
31
|
-
required: boolean;
|
|
32
29
|
};
|
|
33
30
|
trialOccurrences: {
|
|
34
31
|
type: string;
|
|
35
32
|
title: string;
|
|
36
33
|
description: string;
|
|
37
34
|
default: number;
|
|
38
|
-
required: boolean;
|
|
39
35
|
};
|
|
40
36
|
};
|
|
37
|
+
required: string[];
|
|
41
38
|
};
|
package/lib/models/slide.d.ts
CHANGED
|
@@ -16,28 +16,24 @@ export declare const SLIDE_SCHEMA: {
|
|
|
16
16
|
title: string;
|
|
17
17
|
description: string;
|
|
18
18
|
default: string;
|
|
19
|
-
required: boolean;
|
|
20
19
|
};
|
|
21
20
|
title: {
|
|
22
21
|
type: string;
|
|
23
22
|
title: string;
|
|
24
23
|
description: string;
|
|
25
24
|
default: string;
|
|
26
|
-
required: boolean;
|
|
27
25
|
};
|
|
28
26
|
description: {
|
|
29
27
|
type: string;
|
|
30
28
|
title: string;
|
|
31
29
|
description: string;
|
|
32
30
|
default: string;
|
|
33
|
-
required: boolean;
|
|
34
31
|
};
|
|
35
32
|
highlighted: {
|
|
36
33
|
type: string;
|
|
37
34
|
title: string;
|
|
38
35
|
description: string;
|
|
39
36
|
default: boolean;
|
|
40
|
-
required: boolean;
|
|
41
37
|
};
|
|
42
38
|
textColor: {
|
|
43
39
|
type: string;
|
|
@@ -45,7 +41,6 @@ export declare const SLIDE_SCHEMA: {
|
|
|
45
41
|
description: string;
|
|
46
42
|
enum: string[];
|
|
47
43
|
default: string;
|
|
48
|
-
required: boolean;
|
|
49
44
|
};
|
|
50
45
|
backgroundColor: {
|
|
51
46
|
type: string;
|
|
@@ -53,7 +48,7 @@ export declare const SLIDE_SCHEMA: {
|
|
|
53
48
|
description: string;
|
|
54
49
|
enum: string[];
|
|
55
50
|
default: string;
|
|
56
|
-
required: boolean;
|
|
57
51
|
};
|
|
58
52
|
};
|
|
53
|
+
required: string[];
|
|
59
54
|
};
|