@ikonintegration/module-config-api 2.0.15 → 2.0.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.
- package/Api.ts +363 -229
- package/dist/Api.d.ts +361 -229
- package/dist/Api.js +1 -1
- package/dist/Api.js.map +1 -1
- package/package.json +1 -1
package/dist/Api.d.ts
CHANGED
|
@@ -33,10 +33,10 @@ export interface CustomerResponse {
|
|
|
33
33
|
*/
|
|
34
34
|
id: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @example "
|
|
36
|
+
* Timezone code
|
|
37
|
+
* @example "America/Vancouver"
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
timezoneCode: string;
|
|
40
40
|
/**
|
|
41
41
|
* Admin role identifier
|
|
42
42
|
* @example "admin"
|
|
@@ -47,11 +47,6 @@ export interface CustomerResponse {
|
|
|
47
47
|
* @example "user"
|
|
48
48
|
*/
|
|
49
49
|
userRole?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Timezone code
|
|
52
|
-
* @example "America/Vancouver"
|
|
53
|
-
*/
|
|
54
|
-
timezoneCode: string;
|
|
55
50
|
/**
|
|
56
51
|
* Instructor role identifier
|
|
57
52
|
* @example "instructor"
|
|
@@ -67,6 +62,16 @@ export interface CustomerResponse {
|
|
|
67
62
|
* @example "idm_token_456"
|
|
68
63
|
*/
|
|
69
64
|
idmToken?: string;
|
|
65
|
+
/**
|
|
66
|
+
* IDM API user
|
|
67
|
+
* @example "api_user"
|
|
68
|
+
*/
|
|
69
|
+
idmAPIUser?: string;
|
|
70
|
+
/**
|
|
71
|
+
* IDM API password
|
|
72
|
+
* @example "api_password"
|
|
73
|
+
*/
|
|
74
|
+
idmAPIPassword?: string;
|
|
70
75
|
/**
|
|
71
76
|
* Email sender address
|
|
72
77
|
* @example "noreply@example.com"
|
|
@@ -98,7 +103,7 @@ export interface CustomerResponse {
|
|
|
98
103
|
*/
|
|
99
104
|
orgUserRole?: string;
|
|
100
105
|
/**
|
|
101
|
-
*
|
|
106
|
+
* Namespace for the instance of org module to be used. Used to build the LMS FE.
|
|
102
107
|
* @example "bccsa"
|
|
103
108
|
*/
|
|
104
109
|
orgModNamespace?: string;
|
|
@@ -112,11 +117,21 @@ export interface CustomerResponse {
|
|
|
112
117
|
* @example ["req1","req2"]
|
|
113
118
|
*/
|
|
114
119
|
allowedForeignReqs?: string[];
|
|
120
|
+
/**
|
|
121
|
+
* Display name of the customer
|
|
122
|
+
* @example "ACME Corporation"
|
|
123
|
+
*/
|
|
124
|
+
displayName?: string;
|
|
115
125
|
/**
|
|
116
126
|
* Shared module license API key
|
|
117
127
|
* @example "license_api_key"
|
|
118
128
|
*/
|
|
119
129
|
sharedModuleLicenseAPIKey?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Shared module config API key
|
|
132
|
+
* @example "config_api_key"
|
|
133
|
+
*/
|
|
134
|
+
sharedModuleConfigAPIKey?: string;
|
|
120
135
|
/**
|
|
121
136
|
* Shared module auditing API key
|
|
122
137
|
* @example "auditing_api_key"
|
|
@@ -142,16 +157,32 @@ export interface CustomerResponse {
|
|
|
142
157
|
* @example "mailer_api_key"
|
|
143
158
|
*/
|
|
144
159
|
sharedModuleMailerAPIKey?: string;
|
|
145
|
-
/**
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
160
|
+
/** Authentication configuration object */
|
|
161
|
+
authConfig?: AuthConfig;
|
|
162
|
+
portalConfig?: {
|
|
163
|
+
/**
|
|
164
|
+
* Portal theme identifier
|
|
165
|
+
* @example "default"
|
|
166
|
+
*/
|
|
167
|
+
theme?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Portal domain
|
|
170
|
+
* @example "portal.example.com"
|
|
171
|
+
*/
|
|
172
|
+
domain?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Cookies hub domain for the portal
|
|
175
|
+
* @example ".example.com"
|
|
176
|
+
*/
|
|
177
|
+
cookiesHubDomain?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Accepted connections origin
|
|
180
|
+
* @example "https://app.example.com"
|
|
181
|
+
*/
|
|
182
|
+
acceptConnectionsFrom?: string;
|
|
183
|
+
};
|
|
184
|
+
/** UI theme configuration object */
|
|
185
|
+
theme?: ThemeConfig;
|
|
155
186
|
/**
|
|
156
187
|
* Customer domain
|
|
157
188
|
* @example "customer.example.com"
|
|
@@ -163,65 +194,69 @@ export interface CustomerResponse {
|
|
|
163
194
|
*/
|
|
164
195
|
cookiesHubDomain?: string;
|
|
165
196
|
/**
|
|
166
|
-
*
|
|
167
|
-
* @example "
|
|
197
|
+
* List of origins allowed to connect
|
|
198
|
+
* @example ["https://app.example.com"]
|
|
168
199
|
*/
|
|
169
|
-
|
|
200
|
+
acceptConnectionsFrom?: string[];
|
|
170
201
|
/**
|
|
171
202
|
* Worksafe terminology
|
|
172
203
|
* @example "WorkSafeBC"
|
|
173
204
|
*/
|
|
174
205
|
worksafeTerm?: string;
|
|
175
|
-
/**
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
206
|
+
/** List of cancelation policies */
|
|
207
|
+
cancelationPolicies?: {
|
|
208
|
+
/**
|
|
209
|
+
* Cancelation policy identifier
|
|
210
|
+
* @example "policy_1"
|
|
211
|
+
*/
|
|
212
|
+
id?: string;
|
|
213
|
+
/**
|
|
214
|
+
* Cancelation policy description
|
|
215
|
+
* @example "Standard cancelation policy"
|
|
216
|
+
*/
|
|
217
|
+
description?: string;
|
|
218
|
+
/** Cancel policy configuration */
|
|
219
|
+
cancelPolicy?: {
|
|
220
|
+
/**
|
|
221
|
+
* Whether to use business days for calculations
|
|
222
|
+
* @example true
|
|
223
|
+
*/
|
|
224
|
+
isBusinessDays?: boolean;
|
|
225
|
+
/**
|
|
226
|
+
* Whether bookings can be canceled
|
|
227
|
+
* @example true
|
|
228
|
+
*/
|
|
229
|
+
canBeCanceled?: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* Whether bookings can be rescheduled
|
|
232
|
+
* @example true
|
|
233
|
+
*/
|
|
234
|
+
canBeRescheduled?: boolean;
|
|
235
|
+
/** List of cancelation rules */
|
|
236
|
+
rules?: {
|
|
237
|
+
/**
|
|
238
|
+
* Number of days before the event for this rule to apply
|
|
239
|
+
* @example 7
|
|
240
|
+
*/
|
|
241
|
+
untilDaysBefore?: number;
|
|
242
|
+
/**
|
|
243
|
+
* Percentage refunded on cancelation
|
|
244
|
+
* @example 100
|
|
245
|
+
*/
|
|
246
|
+
percentageRefunded?: number;
|
|
247
|
+
/**
|
|
248
|
+
* Amount charged on cancelation
|
|
249
|
+
* @example 0
|
|
250
|
+
*/
|
|
251
|
+
amountCharged?: number;
|
|
252
|
+
/**
|
|
253
|
+
* Whether to deduct enrolment payment
|
|
254
|
+
* @example false
|
|
255
|
+
*/
|
|
256
|
+
deductEnrolmentPayment?: boolean;
|
|
257
|
+
}[];
|
|
258
|
+
};
|
|
259
|
+
}[];
|
|
225
260
|
/**
|
|
226
261
|
* Sales tax label
|
|
227
262
|
* @example "GST"
|
|
@@ -232,51 +267,77 @@ export interface CustomerResponse {
|
|
|
232
267
|
* @example false
|
|
233
268
|
*/
|
|
234
269
|
ignoreCustomAttributesForSignUp?: boolean;
|
|
235
|
-
/**
|
|
236
|
-
* List of cooldown policies
|
|
237
|
-
* @example [{"courseID":"course1","cooldownPolicy":{"rules":[]}}]
|
|
238
|
-
*/
|
|
239
|
-
cooldownPolicies?: any[];
|
|
240
|
-
/**
|
|
241
|
-
* Number of failed attempts before refill
|
|
242
|
-
* @example 3
|
|
243
|
-
*/
|
|
244
|
-
refillFailedAttempts?: number;
|
|
245
|
-
/**
|
|
246
|
-
* Cooldown period in days
|
|
247
|
-
* @example 30
|
|
248
|
-
*/
|
|
249
|
-
cooldownPeriod?: number;
|
|
250
|
-
/**
|
|
251
|
-
* Whether to invalidate course requirements
|
|
252
|
-
* @example false
|
|
253
|
-
*/
|
|
254
|
-
invalidateCourseRequirements?: boolean;
|
|
255
|
-
/**
|
|
256
|
-
* Whether to lock application
|
|
257
|
-
* @example false
|
|
258
|
-
*/
|
|
259
|
-
lockApplication?: boolean;
|
|
260
|
-
/**
|
|
261
|
-
* Days before auto-unlock
|
|
262
|
-
* @example 90
|
|
263
|
-
*/
|
|
264
|
-
autoUnlockDays?: number;
|
|
265
|
-
/**
|
|
266
|
-
* UI configuration object
|
|
267
|
-
* @example {"primaryColor":"#007bff"}
|
|
268
|
-
*/
|
|
269
|
-
ui?: any;
|
|
270
|
-
/**
|
|
271
|
-
* Banner configuration object
|
|
272
|
-
* @example {"enabled":true,"message":"Welcome!"}
|
|
273
|
-
*/
|
|
274
|
-
banner?: any;
|
|
275
270
|
/**
|
|
276
271
|
* Customer timezone
|
|
277
272
|
* @example "America/Vancouver"
|
|
278
273
|
*/
|
|
279
274
|
timezone?: string;
|
|
275
|
+
/** Tile permissions configuration */
|
|
276
|
+
tilePermissions?: any;
|
|
277
|
+
/** List of cooldown policies */
|
|
278
|
+
cooldownPolicies?: {
|
|
279
|
+
/**
|
|
280
|
+
* Cooldown policy identifier
|
|
281
|
+
* @example "cooldown_1"
|
|
282
|
+
*/
|
|
283
|
+
id?: string;
|
|
284
|
+
/**
|
|
285
|
+
* Cooldown policy description
|
|
286
|
+
* @example "Standard cooldown policy"
|
|
287
|
+
*/
|
|
288
|
+
description?: string;
|
|
289
|
+
/** Cooldown policy configuration */
|
|
290
|
+
cooldownPolicy?: {
|
|
291
|
+
/** List of cooldown rules */
|
|
292
|
+
rules?: {
|
|
293
|
+
/**
|
|
294
|
+
* Number of failed attempts before this rule applies
|
|
295
|
+
* @example 3
|
|
296
|
+
*/
|
|
297
|
+
untilFailedAttempts?: number;
|
|
298
|
+
/**
|
|
299
|
+
* Cooldown period in days
|
|
300
|
+
* @example 30
|
|
301
|
+
*/
|
|
302
|
+
cooldownPeriod?: number;
|
|
303
|
+
/**
|
|
304
|
+
* Whether to invalidate course requirements
|
|
305
|
+
* @example false
|
|
306
|
+
*/
|
|
307
|
+
invalidateCourseRequirements?: boolean;
|
|
308
|
+
/**
|
|
309
|
+
* Whether to lock application
|
|
310
|
+
* @example false
|
|
311
|
+
*/
|
|
312
|
+
lockApplication?: boolean;
|
|
313
|
+
/**
|
|
314
|
+
* Blocks the course using a trigger block
|
|
315
|
+
* @example false
|
|
316
|
+
*/
|
|
317
|
+
blockCourse?: boolean;
|
|
318
|
+
/**
|
|
319
|
+
* Days before auto-unlock
|
|
320
|
+
* @example 90
|
|
321
|
+
*/
|
|
322
|
+
autoUnlockInDays?: number;
|
|
323
|
+
}[];
|
|
324
|
+
};
|
|
325
|
+
}[];
|
|
326
|
+
ui?: {
|
|
327
|
+
/** Banner configuration */
|
|
328
|
+
banner?: {
|
|
329
|
+
/**
|
|
330
|
+
* Banner type
|
|
331
|
+
* @example "info"
|
|
332
|
+
*/
|
|
333
|
+
type?: string;
|
|
334
|
+
/**
|
|
335
|
+
* Banner content
|
|
336
|
+
* @example "Welcome to the platform!"
|
|
337
|
+
*/
|
|
338
|
+
content?: string;
|
|
339
|
+
};
|
|
340
|
+
};
|
|
280
341
|
/**
|
|
281
342
|
* List of feature flags
|
|
282
343
|
* @example [{"name":"dark_mode","enabled":true}]
|
|
@@ -296,6 +357,16 @@ export interface CustomerResponse {
|
|
|
296
357
|
metadata?: string;
|
|
297
358
|
}[];
|
|
298
359
|
}
|
|
360
|
+
/**
|
|
361
|
+
* Authentication configuration object
|
|
362
|
+
* @example {"provider":"cognito","region":"us-west-2"}
|
|
363
|
+
*/
|
|
364
|
+
export type AuthConfig = Record<string, any>;
|
|
365
|
+
/**
|
|
366
|
+
* UI theme configuration object
|
|
367
|
+
* @example {"primaryColor":"#007bff"}
|
|
368
|
+
*/
|
|
369
|
+
export type ThemeConfig = Record<string, any>;
|
|
299
370
|
/** Customer request body for create/update operations */
|
|
300
371
|
export interface CustomerRequestBody {
|
|
301
372
|
/**
|
|
@@ -304,10 +375,10 @@ export interface CustomerRequestBody {
|
|
|
304
375
|
*/
|
|
305
376
|
id: string;
|
|
306
377
|
/**
|
|
307
|
-
*
|
|
308
|
-
* @example "
|
|
378
|
+
* Timezone code
|
|
379
|
+
* @example "America/Vancouver"
|
|
309
380
|
*/
|
|
310
|
-
|
|
381
|
+
timezoneCode: string;
|
|
311
382
|
/**
|
|
312
383
|
* Admin role identifier
|
|
313
384
|
* @example "admin"
|
|
@@ -318,11 +389,6 @@ export interface CustomerRequestBody {
|
|
|
318
389
|
* @example "user"
|
|
319
390
|
*/
|
|
320
391
|
userRole?: string;
|
|
321
|
-
/**
|
|
322
|
-
* Timezone code
|
|
323
|
-
* @example "America/Vancouver"
|
|
324
|
-
*/
|
|
325
|
-
timezoneCode: string;
|
|
326
392
|
/**
|
|
327
393
|
* Instructor role identifier
|
|
328
394
|
* @example "instructor"
|
|
@@ -338,6 +404,16 @@ export interface CustomerRequestBody {
|
|
|
338
404
|
* @example "idm_token_456"
|
|
339
405
|
*/
|
|
340
406
|
idmToken?: string;
|
|
407
|
+
/**
|
|
408
|
+
* IDM API user
|
|
409
|
+
* @example "api_user"
|
|
410
|
+
*/
|
|
411
|
+
idmAPIUser?: string;
|
|
412
|
+
/**
|
|
413
|
+
* IDM API password
|
|
414
|
+
* @example "api_password"
|
|
415
|
+
*/
|
|
416
|
+
idmAPIPassword?: string;
|
|
341
417
|
/**
|
|
342
418
|
* Email sender address
|
|
343
419
|
* @example "noreply@example.com"
|
|
@@ -369,7 +445,7 @@ export interface CustomerRequestBody {
|
|
|
369
445
|
*/
|
|
370
446
|
orgUserRole?: string;
|
|
371
447
|
/**
|
|
372
|
-
*
|
|
448
|
+
* Namespace for the instance of org module to be used. Used to build the LMS FE.
|
|
373
449
|
* @example "bccsa"
|
|
374
450
|
*/
|
|
375
451
|
orgModNamespace?: string;
|
|
@@ -383,11 +459,21 @@ export interface CustomerRequestBody {
|
|
|
383
459
|
* @example ["req1","req2"]
|
|
384
460
|
*/
|
|
385
461
|
allowedForeignReqs?: string[];
|
|
462
|
+
/**
|
|
463
|
+
* Display name of the customer
|
|
464
|
+
* @example "ACME Corporation"
|
|
465
|
+
*/
|
|
466
|
+
displayName?: string;
|
|
386
467
|
/**
|
|
387
468
|
* Shared module license API key
|
|
388
469
|
* @example "license_api_key"
|
|
389
470
|
*/
|
|
390
471
|
sharedModuleLicenseAPIKey?: string;
|
|
472
|
+
/**
|
|
473
|
+
* Shared module config API key
|
|
474
|
+
* @example "config_api_key"
|
|
475
|
+
*/
|
|
476
|
+
sharedModuleConfigAPIKey?: string;
|
|
391
477
|
/**
|
|
392
478
|
* Shared module auditing API key
|
|
393
479
|
* @example "auditing_api_key"
|
|
@@ -413,16 +499,32 @@ export interface CustomerRequestBody {
|
|
|
413
499
|
* @example "mailer_api_key"
|
|
414
500
|
*/
|
|
415
501
|
sharedModuleMailerAPIKey?: string;
|
|
416
|
-
/**
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
502
|
+
/** Authentication configuration object */
|
|
503
|
+
authConfig?: AuthConfig;
|
|
504
|
+
portalConfig?: {
|
|
505
|
+
/**
|
|
506
|
+
* Portal theme identifier
|
|
507
|
+
* @example "default"
|
|
508
|
+
*/
|
|
509
|
+
theme?: string;
|
|
510
|
+
/**
|
|
511
|
+
* Portal domain
|
|
512
|
+
* @example "portal.example.com"
|
|
513
|
+
*/
|
|
514
|
+
domain?: string;
|
|
515
|
+
/**
|
|
516
|
+
* Cookies hub domain for the portal
|
|
517
|
+
* @example ".example.com"
|
|
518
|
+
*/
|
|
519
|
+
cookiesHubDomain?: string;
|
|
520
|
+
/**
|
|
521
|
+
* Accepted connections origin
|
|
522
|
+
* @example "https://app.example.com"
|
|
523
|
+
*/
|
|
524
|
+
acceptConnectionsFrom?: string;
|
|
525
|
+
};
|
|
526
|
+
/** UI theme configuration object */
|
|
527
|
+
theme?: ThemeConfig;
|
|
426
528
|
/**
|
|
427
529
|
* Customer domain
|
|
428
530
|
* @example "customer.example.com"
|
|
@@ -434,65 +536,69 @@ export interface CustomerRequestBody {
|
|
|
434
536
|
*/
|
|
435
537
|
cookiesHubDomain?: string;
|
|
436
538
|
/**
|
|
437
|
-
*
|
|
438
|
-
* @example "
|
|
539
|
+
* List of origins allowed to connect
|
|
540
|
+
* @example ["https://app.example.com"]
|
|
439
541
|
*/
|
|
440
|
-
|
|
542
|
+
acceptConnectionsFrom?: string[];
|
|
441
543
|
/**
|
|
442
544
|
* Worksafe terminology
|
|
443
545
|
* @example "WorkSafeBC"
|
|
444
546
|
*/
|
|
445
547
|
worksafeTerm?: string;
|
|
446
|
-
/**
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
548
|
+
/** List of cancelation policies */
|
|
549
|
+
cancelationPolicies?: {
|
|
550
|
+
/**
|
|
551
|
+
* Cancelation policy identifier
|
|
552
|
+
* @example "policy_1"
|
|
553
|
+
*/
|
|
554
|
+
id?: string;
|
|
555
|
+
/**
|
|
556
|
+
* Cancelation policy description
|
|
557
|
+
* @example "Standard cancelation policy"
|
|
558
|
+
*/
|
|
559
|
+
description?: string;
|
|
560
|
+
/** Cancel policy configuration */
|
|
561
|
+
cancelPolicy?: {
|
|
562
|
+
/**
|
|
563
|
+
* Whether to use business days for calculations
|
|
564
|
+
* @example true
|
|
565
|
+
*/
|
|
566
|
+
isBusinessDays?: boolean;
|
|
567
|
+
/**
|
|
568
|
+
* Whether bookings can be canceled
|
|
569
|
+
* @example true
|
|
570
|
+
*/
|
|
571
|
+
canBeCanceled?: boolean;
|
|
572
|
+
/**
|
|
573
|
+
* Whether bookings can be rescheduled
|
|
574
|
+
* @example true
|
|
575
|
+
*/
|
|
576
|
+
canBeRescheduled?: boolean;
|
|
577
|
+
/** List of cancelation rules */
|
|
578
|
+
rules?: {
|
|
579
|
+
/**
|
|
580
|
+
* Number of days before the event for this rule to apply
|
|
581
|
+
* @example 7
|
|
582
|
+
*/
|
|
583
|
+
untilDaysBefore?: number;
|
|
584
|
+
/**
|
|
585
|
+
* Percentage refunded on cancelation
|
|
586
|
+
* @example 100
|
|
587
|
+
*/
|
|
588
|
+
percentageRefunded?: number;
|
|
589
|
+
/**
|
|
590
|
+
* Amount charged on cancelation
|
|
591
|
+
* @example 0
|
|
592
|
+
*/
|
|
593
|
+
amountCharged?: number;
|
|
594
|
+
/**
|
|
595
|
+
* Whether to deduct enrolment payment
|
|
596
|
+
* @example false
|
|
597
|
+
*/
|
|
598
|
+
deductEnrolmentPayment?: boolean;
|
|
599
|
+
}[];
|
|
600
|
+
};
|
|
601
|
+
}[];
|
|
496
602
|
/**
|
|
497
603
|
* Sales tax label
|
|
498
604
|
* @example "GST"
|
|
@@ -503,51 +609,77 @@ export interface CustomerRequestBody {
|
|
|
503
609
|
* @example false
|
|
504
610
|
*/
|
|
505
611
|
ignoreCustomAttributesForSignUp?: boolean;
|
|
506
|
-
/**
|
|
507
|
-
* List of cooldown policies
|
|
508
|
-
* @example [{"courseID":"course1","cooldownPolicy":{"rules":[]}}]
|
|
509
|
-
*/
|
|
510
|
-
cooldownPolicies?: any[];
|
|
511
|
-
/**
|
|
512
|
-
* Number of failed attempts before refill
|
|
513
|
-
* @example 3
|
|
514
|
-
*/
|
|
515
|
-
refillFailedAttempts?: number;
|
|
516
|
-
/**
|
|
517
|
-
* Cooldown period in days
|
|
518
|
-
* @example 30
|
|
519
|
-
*/
|
|
520
|
-
cooldownPeriod?: number;
|
|
521
|
-
/**
|
|
522
|
-
* Whether to invalidate course requirements
|
|
523
|
-
* @example false
|
|
524
|
-
*/
|
|
525
|
-
invalidateCourseRequirements?: boolean;
|
|
526
|
-
/**
|
|
527
|
-
* Whether to lock application
|
|
528
|
-
* @example false
|
|
529
|
-
*/
|
|
530
|
-
lockApplication?: boolean;
|
|
531
|
-
/**
|
|
532
|
-
* Days before auto-unlock
|
|
533
|
-
* @example 90
|
|
534
|
-
*/
|
|
535
|
-
autoUnlockDays?: number;
|
|
536
|
-
/**
|
|
537
|
-
* UI configuration object
|
|
538
|
-
* @example {"primaryColor":"#007bff"}
|
|
539
|
-
*/
|
|
540
|
-
ui?: any;
|
|
541
|
-
/**
|
|
542
|
-
* Banner configuration object
|
|
543
|
-
* @example {"enabled":true,"message":"Welcome!"}
|
|
544
|
-
*/
|
|
545
|
-
banner?: any;
|
|
546
612
|
/**
|
|
547
613
|
* Customer timezone
|
|
548
614
|
* @example "America/Vancouver"
|
|
549
615
|
*/
|
|
550
616
|
timezone?: string;
|
|
617
|
+
/** Tile permissions configuration */
|
|
618
|
+
tilePermissions?: any;
|
|
619
|
+
/** List of cooldown policies */
|
|
620
|
+
cooldownPolicies?: {
|
|
621
|
+
/**
|
|
622
|
+
* Cooldown policy identifier
|
|
623
|
+
* @example "cooldown_1"
|
|
624
|
+
*/
|
|
625
|
+
id?: string;
|
|
626
|
+
/**
|
|
627
|
+
* Cooldown policy description
|
|
628
|
+
* @example "Standard cooldown policy"
|
|
629
|
+
*/
|
|
630
|
+
description?: string;
|
|
631
|
+
/** Cooldown policy configuration */
|
|
632
|
+
cooldownPolicy?: {
|
|
633
|
+
/** List of cooldown rules */
|
|
634
|
+
rules?: {
|
|
635
|
+
/**
|
|
636
|
+
* Number of failed attempts before this rule applies
|
|
637
|
+
* @example 3
|
|
638
|
+
*/
|
|
639
|
+
untilFailedAttempts?: number;
|
|
640
|
+
/**
|
|
641
|
+
* Cooldown period in days
|
|
642
|
+
* @example 30
|
|
643
|
+
*/
|
|
644
|
+
cooldownPeriod?: number;
|
|
645
|
+
/**
|
|
646
|
+
* Whether to invalidate course requirements
|
|
647
|
+
* @example false
|
|
648
|
+
*/
|
|
649
|
+
invalidateCourseRequirements?: boolean;
|
|
650
|
+
/**
|
|
651
|
+
* Whether to lock application
|
|
652
|
+
* @example false
|
|
653
|
+
*/
|
|
654
|
+
lockApplication?: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* Blocks the course using a trigger block
|
|
657
|
+
* @example false
|
|
658
|
+
*/
|
|
659
|
+
blockCourse?: boolean;
|
|
660
|
+
/**
|
|
661
|
+
* Days before auto-unlock
|
|
662
|
+
* @example 90
|
|
663
|
+
*/
|
|
664
|
+
autoUnlockInDays?: number;
|
|
665
|
+
}[];
|
|
666
|
+
};
|
|
667
|
+
}[];
|
|
668
|
+
ui?: {
|
|
669
|
+
/** Banner configuration */
|
|
670
|
+
banner?: {
|
|
671
|
+
/**
|
|
672
|
+
* Banner type
|
|
673
|
+
* @example "info"
|
|
674
|
+
*/
|
|
675
|
+
type?: string;
|
|
676
|
+
/**
|
|
677
|
+
* Banner content
|
|
678
|
+
* @example "Welcome to the platform!"
|
|
679
|
+
*/
|
|
680
|
+
content?: string;
|
|
681
|
+
};
|
|
682
|
+
};
|
|
551
683
|
/**
|
|
552
684
|
* List of feature flags
|
|
553
685
|
* @example [{"name":"dark_mode","enabled":true}]
|
|
@@ -2762,7 +2894,7 @@ export interface FaqResponse {
|
|
|
2762
2894
|
*/
|
|
2763
2895
|
answer?: string;
|
|
2764
2896
|
}
|
|
2765
|
-
export interface
|
|
2897
|
+
export interface InputZhvrz8Yp0W {
|
|
2766
2898
|
/**
|
|
2767
2899
|
* Tenant ID this FAQ belongs to
|
|
2768
2900
|
* @example "tenant456"
|
|
@@ -2784,7 +2916,7 @@ export interface InputOmmkv6Qbjz {
|
|
|
2784
2916
|
*/
|
|
2785
2917
|
answer?: string;
|
|
2786
2918
|
}
|
|
2787
|
-
export interface
|
|
2919
|
+
export interface Input9397F836Qfh {
|
|
2788
2920
|
/**
|
|
2789
2921
|
* Tenant ID this FAQ belongs to
|
|
2790
2922
|
* @example "tenant456"
|
|
@@ -4941,7 +5073,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
4941
5073
|
}
|
|
4942
5074
|
/**
|
|
4943
5075
|
* @title No title
|
|
4944
|
-
* @version 2.0.
|
|
5076
|
+
* @version 2.0.17
|
|
4945
5077
|
* @baseUrl http://localhost:8080
|
|
4946
5078
|
* @contact Ikon Integration <ikon@ikonintegration.com> (http://example.com)
|
|
4947
5079
|
*/
|
|
@@ -5305,7 +5437,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5305
5437
|
* @request POST:/tenant/{tenantID}/faq/{faqID}
|
|
5306
5438
|
* @secure
|
|
5307
5439
|
*/
|
|
5308
|
-
createFaq: (tenantId: string, faqId: string, data:
|
|
5440
|
+
createFaq: (tenantId: string, faqId: string, data: InputZhvrz8Yp0W, params?: RequestParams) => Promise<any>;
|
|
5309
5441
|
/**
|
|
5310
5442
|
* @description Update an existing FAQ.
|
|
5311
5443
|
*
|
|
@@ -5315,7 +5447,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5315
5447
|
* @request PUT:/tenant/{tenantID}/faq/{faqID}
|
|
5316
5448
|
* @secure
|
|
5317
5449
|
*/
|
|
5318
|
-
updateFaq: (tenantId: string, faqId: string, data:
|
|
5450
|
+
updateFaq: (tenantId: string, faqId: string, data: Input9397F836Qfh, params?: RequestParams) => Promise<any>;
|
|
5319
5451
|
/**
|
|
5320
5452
|
* @description Delete a FAQ.
|
|
5321
5453
|
*
|