@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/Api.ts
CHANGED
|
@@ -45,10 +45,10 @@ export interface CustomerResponse {
|
|
|
45
45
|
*/
|
|
46
46
|
id: string
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @example "
|
|
48
|
+
* Timezone code
|
|
49
|
+
* @example "America/Vancouver"
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
timezoneCode: string
|
|
52
52
|
/**
|
|
53
53
|
* Admin role identifier
|
|
54
54
|
* @example "admin"
|
|
@@ -59,11 +59,6 @@ export interface CustomerResponse {
|
|
|
59
59
|
* @example "user"
|
|
60
60
|
*/
|
|
61
61
|
userRole?: string
|
|
62
|
-
/**
|
|
63
|
-
* Timezone code
|
|
64
|
-
* @example "America/Vancouver"
|
|
65
|
-
*/
|
|
66
|
-
timezoneCode: string
|
|
67
62
|
/**
|
|
68
63
|
* Instructor role identifier
|
|
69
64
|
* @example "instructor"
|
|
@@ -79,6 +74,16 @@ export interface CustomerResponse {
|
|
|
79
74
|
* @example "idm_token_456"
|
|
80
75
|
*/
|
|
81
76
|
idmToken?: string
|
|
77
|
+
/**
|
|
78
|
+
* IDM API user
|
|
79
|
+
* @example "api_user"
|
|
80
|
+
*/
|
|
81
|
+
idmAPIUser?: string
|
|
82
|
+
/**
|
|
83
|
+
* IDM API password
|
|
84
|
+
* @example "api_password"
|
|
85
|
+
*/
|
|
86
|
+
idmAPIPassword?: string
|
|
82
87
|
/**
|
|
83
88
|
* Email sender address
|
|
84
89
|
* @example "noreply@example.com"
|
|
@@ -110,7 +115,7 @@ export interface CustomerResponse {
|
|
|
110
115
|
*/
|
|
111
116
|
orgUserRole?: string
|
|
112
117
|
/**
|
|
113
|
-
*
|
|
118
|
+
* Namespace for the instance of org module to be used. Used to build the LMS FE.
|
|
114
119
|
* @example "bccsa"
|
|
115
120
|
*/
|
|
116
121
|
orgModNamespace?: string
|
|
@@ -124,11 +129,21 @@ export interface CustomerResponse {
|
|
|
124
129
|
* @example ["req1","req2"]
|
|
125
130
|
*/
|
|
126
131
|
allowedForeignReqs?: string[]
|
|
132
|
+
/**
|
|
133
|
+
* Display name of the customer
|
|
134
|
+
* @example "ACME Corporation"
|
|
135
|
+
*/
|
|
136
|
+
displayName?: string
|
|
127
137
|
/**
|
|
128
138
|
* Shared module license API key
|
|
129
139
|
* @example "license_api_key"
|
|
130
140
|
*/
|
|
131
141
|
sharedModuleLicenseAPIKey?: string
|
|
142
|
+
/**
|
|
143
|
+
* Shared module config API key
|
|
144
|
+
* @example "config_api_key"
|
|
145
|
+
*/
|
|
146
|
+
sharedModuleConfigAPIKey?: string
|
|
132
147
|
/**
|
|
133
148
|
* Shared module auditing API key
|
|
134
149
|
* @example "auditing_api_key"
|
|
@@ -154,16 +169,32 @@ export interface CustomerResponse {
|
|
|
154
169
|
* @example "mailer_api_key"
|
|
155
170
|
*/
|
|
156
171
|
sharedModuleMailerAPIKey?: string
|
|
157
|
-
/**
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
172
|
+
/** Authentication configuration object */
|
|
173
|
+
authConfig?: AuthConfig
|
|
174
|
+
portalConfig?: {
|
|
175
|
+
/**
|
|
176
|
+
* Portal theme identifier
|
|
177
|
+
* @example "default"
|
|
178
|
+
*/
|
|
179
|
+
theme?: string
|
|
180
|
+
/**
|
|
181
|
+
* Portal domain
|
|
182
|
+
* @example "portal.example.com"
|
|
183
|
+
*/
|
|
184
|
+
domain?: string
|
|
185
|
+
/**
|
|
186
|
+
* Cookies hub domain for the portal
|
|
187
|
+
* @example ".example.com"
|
|
188
|
+
*/
|
|
189
|
+
cookiesHubDomain?: string
|
|
190
|
+
/**
|
|
191
|
+
* Accepted connections origin
|
|
192
|
+
* @example "https://app.example.com"
|
|
193
|
+
*/
|
|
194
|
+
acceptConnectionsFrom?: string
|
|
195
|
+
}
|
|
196
|
+
/** UI theme configuration object */
|
|
197
|
+
theme?: ThemeConfig
|
|
167
198
|
/**
|
|
168
199
|
* Customer domain
|
|
169
200
|
* @example "customer.example.com"
|
|
@@ -175,65 +206,69 @@ export interface CustomerResponse {
|
|
|
175
206
|
*/
|
|
176
207
|
cookiesHubDomain?: string
|
|
177
208
|
/**
|
|
178
|
-
*
|
|
179
|
-
* @example "
|
|
209
|
+
* List of origins allowed to connect
|
|
210
|
+
* @example ["https://app.example.com"]
|
|
180
211
|
*/
|
|
181
|
-
|
|
212
|
+
acceptConnectionsFrom?: string[]
|
|
182
213
|
/**
|
|
183
214
|
* Worksafe terminology
|
|
184
215
|
* @example "WorkSafeBC"
|
|
185
216
|
*/
|
|
186
217
|
worksafeTerm?: string
|
|
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
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
218
|
+
/** List of cancelation policies */
|
|
219
|
+
cancelationPolicies?: {
|
|
220
|
+
/**
|
|
221
|
+
* Cancelation policy identifier
|
|
222
|
+
* @example "policy_1"
|
|
223
|
+
*/
|
|
224
|
+
id?: string
|
|
225
|
+
/**
|
|
226
|
+
* Cancelation policy description
|
|
227
|
+
* @example "Standard cancelation policy"
|
|
228
|
+
*/
|
|
229
|
+
description?: string
|
|
230
|
+
/** Cancel policy configuration */
|
|
231
|
+
cancelPolicy?: {
|
|
232
|
+
/**
|
|
233
|
+
* Whether to use business days for calculations
|
|
234
|
+
* @example true
|
|
235
|
+
*/
|
|
236
|
+
isBusinessDays?: boolean
|
|
237
|
+
/**
|
|
238
|
+
* Whether bookings can be canceled
|
|
239
|
+
* @example true
|
|
240
|
+
*/
|
|
241
|
+
canBeCanceled?: boolean
|
|
242
|
+
/**
|
|
243
|
+
* Whether bookings can be rescheduled
|
|
244
|
+
* @example true
|
|
245
|
+
*/
|
|
246
|
+
canBeRescheduled?: boolean
|
|
247
|
+
/** List of cancelation rules */
|
|
248
|
+
rules?: {
|
|
249
|
+
/**
|
|
250
|
+
* Number of days before the event for this rule to apply
|
|
251
|
+
* @example 7
|
|
252
|
+
*/
|
|
253
|
+
untilDaysBefore?: number
|
|
254
|
+
/**
|
|
255
|
+
* Percentage refunded on cancelation
|
|
256
|
+
* @example 100
|
|
257
|
+
*/
|
|
258
|
+
percentageRefunded?: number
|
|
259
|
+
/**
|
|
260
|
+
* Amount charged on cancelation
|
|
261
|
+
* @example 0
|
|
262
|
+
*/
|
|
263
|
+
amountCharged?: number
|
|
264
|
+
/**
|
|
265
|
+
* Whether to deduct enrolment payment
|
|
266
|
+
* @example false
|
|
267
|
+
*/
|
|
268
|
+
deductEnrolmentPayment?: boolean
|
|
269
|
+
}[]
|
|
270
|
+
}
|
|
271
|
+
}[]
|
|
237
272
|
/**
|
|
238
273
|
* Sales tax label
|
|
239
274
|
* @example "GST"
|
|
@@ -244,51 +279,77 @@ export interface CustomerResponse {
|
|
|
244
279
|
* @example false
|
|
245
280
|
*/
|
|
246
281
|
ignoreCustomAttributesForSignUp?: boolean
|
|
247
|
-
/**
|
|
248
|
-
* List of cooldown policies
|
|
249
|
-
* @example [{"courseID":"course1","cooldownPolicy":{"rules":[]}}]
|
|
250
|
-
*/
|
|
251
|
-
cooldownPolicies?: any[]
|
|
252
|
-
/**
|
|
253
|
-
* Number of failed attempts before refill
|
|
254
|
-
* @example 3
|
|
255
|
-
*/
|
|
256
|
-
refillFailedAttempts?: number
|
|
257
|
-
/**
|
|
258
|
-
* Cooldown period in days
|
|
259
|
-
* @example 30
|
|
260
|
-
*/
|
|
261
|
-
cooldownPeriod?: number
|
|
262
|
-
/**
|
|
263
|
-
* Whether to invalidate course requirements
|
|
264
|
-
* @example false
|
|
265
|
-
*/
|
|
266
|
-
invalidateCourseRequirements?: boolean
|
|
267
|
-
/**
|
|
268
|
-
* Whether to lock application
|
|
269
|
-
* @example false
|
|
270
|
-
*/
|
|
271
|
-
lockApplication?: boolean
|
|
272
|
-
/**
|
|
273
|
-
* Days before auto-unlock
|
|
274
|
-
* @example 90
|
|
275
|
-
*/
|
|
276
|
-
autoUnlockDays?: number
|
|
277
|
-
/**
|
|
278
|
-
* UI configuration object
|
|
279
|
-
* @example {"primaryColor":"#007bff"}
|
|
280
|
-
*/
|
|
281
|
-
ui?: any
|
|
282
|
-
/**
|
|
283
|
-
* Banner configuration object
|
|
284
|
-
* @example {"enabled":true,"message":"Welcome!"}
|
|
285
|
-
*/
|
|
286
|
-
banner?: any
|
|
287
282
|
/**
|
|
288
283
|
* Customer timezone
|
|
289
284
|
* @example "America/Vancouver"
|
|
290
285
|
*/
|
|
291
286
|
timezone?: string
|
|
287
|
+
/** Tile permissions configuration */
|
|
288
|
+
tilePermissions?: any
|
|
289
|
+
/** List of cooldown policies */
|
|
290
|
+
cooldownPolicies?: {
|
|
291
|
+
/**
|
|
292
|
+
* Cooldown policy identifier
|
|
293
|
+
* @example "cooldown_1"
|
|
294
|
+
*/
|
|
295
|
+
id?: string
|
|
296
|
+
/**
|
|
297
|
+
* Cooldown policy description
|
|
298
|
+
* @example "Standard cooldown policy"
|
|
299
|
+
*/
|
|
300
|
+
description?: string
|
|
301
|
+
/** Cooldown policy configuration */
|
|
302
|
+
cooldownPolicy?: {
|
|
303
|
+
/** List of cooldown rules */
|
|
304
|
+
rules?: {
|
|
305
|
+
/**
|
|
306
|
+
* Number of failed attempts before this rule applies
|
|
307
|
+
* @example 3
|
|
308
|
+
*/
|
|
309
|
+
untilFailedAttempts?: number
|
|
310
|
+
/**
|
|
311
|
+
* Cooldown period in days
|
|
312
|
+
* @example 30
|
|
313
|
+
*/
|
|
314
|
+
cooldownPeriod?: number
|
|
315
|
+
/**
|
|
316
|
+
* Whether to invalidate course requirements
|
|
317
|
+
* @example false
|
|
318
|
+
*/
|
|
319
|
+
invalidateCourseRequirements?: boolean
|
|
320
|
+
/**
|
|
321
|
+
* Whether to lock application
|
|
322
|
+
* @example false
|
|
323
|
+
*/
|
|
324
|
+
lockApplication?: boolean
|
|
325
|
+
/**
|
|
326
|
+
* Blocks the course using a trigger block
|
|
327
|
+
* @example false
|
|
328
|
+
*/
|
|
329
|
+
blockCourse?: boolean
|
|
330
|
+
/**
|
|
331
|
+
* Days before auto-unlock
|
|
332
|
+
* @example 90
|
|
333
|
+
*/
|
|
334
|
+
autoUnlockInDays?: number
|
|
335
|
+
}[]
|
|
336
|
+
}
|
|
337
|
+
}[]
|
|
338
|
+
ui?: {
|
|
339
|
+
/** Banner configuration */
|
|
340
|
+
banner?: {
|
|
341
|
+
/**
|
|
342
|
+
* Banner type
|
|
343
|
+
* @example "info"
|
|
344
|
+
*/
|
|
345
|
+
type?: string
|
|
346
|
+
/**
|
|
347
|
+
* Banner content
|
|
348
|
+
* @example "Welcome to the platform!"
|
|
349
|
+
*/
|
|
350
|
+
content?: string
|
|
351
|
+
}
|
|
352
|
+
}
|
|
292
353
|
/**
|
|
293
354
|
* List of feature flags
|
|
294
355
|
* @example [{"name":"dark_mode","enabled":true}]
|
|
@@ -309,6 +370,18 @@ export interface CustomerResponse {
|
|
|
309
370
|
}[]
|
|
310
371
|
}
|
|
311
372
|
|
|
373
|
+
/**
|
|
374
|
+
* Authentication configuration object
|
|
375
|
+
* @example {"provider":"cognito","region":"us-west-2"}
|
|
376
|
+
*/
|
|
377
|
+
export type AuthConfig = Record<string, any>
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* UI theme configuration object
|
|
381
|
+
* @example {"primaryColor":"#007bff"}
|
|
382
|
+
*/
|
|
383
|
+
export type ThemeConfig = Record<string, any>
|
|
384
|
+
|
|
312
385
|
/** Customer request body for create/update operations */
|
|
313
386
|
export interface CustomerRequestBody {
|
|
314
387
|
/**
|
|
@@ -317,10 +390,10 @@ export interface CustomerRequestBody {
|
|
|
317
390
|
*/
|
|
318
391
|
id: string
|
|
319
392
|
/**
|
|
320
|
-
*
|
|
321
|
-
* @example "
|
|
393
|
+
* Timezone code
|
|
394
|
+
* @example "America/Vancouver"
|
|
322
395
|
*/
|
|
323
|
-
|
|
396
|
+
timezoneCode: string
|
|
324
397
|
/**
|
|
325
398
|
* Admin role identifier
|
|
326
399
|
* @example "admin"
|
|
@@ -331,11 +404,6 @@ export interface CustomerRequestBody {
|
|
|
331
404
|
* @example "user"
|
|
332
405
|
*/
|
|
333
406
|
userRole?: string
|
|
334
|
-
/**
|
|
335
|
-
* Timezone code
|
|
336
|
-
* @example "America/Vancouver"
|
|
337
|
-
*/
|
|
338
|
-
timezoneCode: string
|
|
339
407
|
/**
|
|
340
408
|
* Instructor role identifier
|
|
341
409
|
* @example "instructor"
|
|
@@ -351,6 +419,16 @@ export interface CustomerRequestBody {
|
|
|
351
419
|
* @example "idm_token_456"
|
|
352
420
|
*/
|
|
353
421
|
idmToken?: string
|
|
422
|
+
/**
|
|
423
|
+
* IDM API user
|
|
424
|
+
* @example "api_user"
|
|
425
|
+
*/
|
|
426
|
+
idmAPIUser?: string
|
|
427
|
+
/**
|
|
428
|
+
* IDM API password
|
|
429
|
+
* @example "api_password"
|
|
430
|
+
*/
|
|
431
|
+
idmAPIPassword?: string
|
|
354
432
|
/**
|
|
355
433
|
* Email sender address
|
|
356
434
|
* @example "noreply@example.com"
|
|
@@ -382,7 +460,7 @@ export interface CustomerRequestBody {
|
|
|
382
460
|
*/
|
|
383
461
|
orgUserRole?: string
|
|
384
462
|
/**
|
|
385
|
-
*
|
|
463
|
+
* Namespace for the instance of org module to be used. Used to build the LMS FE.
|
|
386
464
|
* @example "bccsa"
|
|
387
465
|
*/
|
|
388
466
|
orgModNamespace?: string
|
|
@@ -396,11 +474,21 @@ export interface CustomerRequestBody {
|
|
|
396
474
|
* @example ["req1","req2"]
|
|
397
475
|
*/
|
|
398
476
|
allowedForeignReqs?: string[]
|
|
477
|
+
/**
|
|
478
|
+
* Display name of the customer
|
|
479
|
+
* @example "ACME Corporation"
|
|
480
|
+
*/
|
|
481
|
+
displayName?: string
|
|
399
482
|
/**
|
|
400
483
|
* Shared module license API key
|
|
401
484
|
* @example "license_api_key"
|
|
402
485
|
*/
|
|
403
486
|
sharedModuleLicenseAPIKey?: string
|
|
487
|
+
/**
|
|
488
|
+
* Shared module config API key
|
|
489
|
+
* @example "config_api_key"
|
|
490
|
+
*/
|
|
491
|
+
sharedModuleConfigAPIKey?: string
|
|
404
492
|
/**
|
|
405
493
|
* Shared module auditing API key
|
|
406
494
|
* @example "auditing_api_key"
|
|
@@ -426,16 +514,32 @@ export interface CustomerRequestBody {
|
|
|
426
514
|
* @example "mailer_api_key"
|
|
427
515
|
*/
|
|
428
516
|
sharedModuleMailerAPIKey?: string
|
|
429
|
-
/**
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
517
|
+
/** Authentication configuration object */
|
|
518
|
+
authConfig?: AuthConfig
|
|
519
|
+
portalConfig?: {
|
|
520
|
+
/**
|
|
521
|
+
* Portal theme identifier
|
|
522
|
+
* @example "default"
|
|
523
|
+
*/
|
|
524
|
+
theme?: string
|
|
525
|
+
/**
|
|
526
|
+
* Portal domain
|
|
527
|
+
* @example "portal.example.com"
|
|
528
|
+
*/
|
|
529
|
+
domain?: string
|
|
530
|
+
/**
|
|
531
|
+
* Cookies hub domain for the portal
|
|
532
|
+
* @example ".example.com"
|
|
533
|
+
*/
|
|
534
|
+
cookiesHubDomain?: string
|
|
535
|
+
/**
|
|
536
|
+
* Accepted connections origin
|
|
537
|
+
* @example "https://app.example.com"
|
|
538
|
+
*/
|
|
539
|
+
acceptConnectionsFrom?: string
|
|
540
|
+
}
|
|
541
|
+
/** UI theme configuration object */
|
|
542
|
+
theme?: ThemeConfig
|
|
439
543
|
/**
|
|
440
544
|
* Customer domain
|
|
441
545
|
* @example "customer.example.com"
|
|
@@ -447,65 +551,69 @@ export interface CustomerRequestBody {
|
|
|
447
551
|
*/
|
|
448
552
|
cookiesHubDomain?: string
|
|
449
553
|
/**
|
|
450
|
-
*
|
|
451
|
-
* @example "
|
|
554
|
+
* List of origins allowed to connect
|
|
555
|
+
* @example ["https://app.example.com"]
|
|
452
556
|
*/
|
|
453
|
-
|
|
557
|
+
acceptConnectionsFrom?: string[]
|
|
454
558
|
/**
|
|
455
559
|
* Worksafe terminology
|
|
456
560
|
* @example "WorkSafeBC"
|
|
457
561
|
*/
|
|
458
562
|
worksafeTerm?: string
|
|
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
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
563
|
+
/** List of cancelation policies */
|
|
564
|
+
cancelationPolicies?: {
|
|
565
|
+
/**
|
|
566
|
+
* Cancelation policy identifier
|
|
567
|
+
* @example "policy_1"
|
|
568
|
+
*/
|
|
569
|
+
id?: string
|
|
570
|
+
/**
|
|
571
|
+
* Cancelation policy description
|
|
572
|
+
* @example "Standard cancelation policy"
|
|
573
|
+
*/
|
|
574
|
+
description?: string
|
|
575
|
+
/** Cancel policy configuration */
|
|
576
|
+
cancelPolicy?: {
|
|
577
|
+
/**
|
|
578
|
+
* Whether to use business days for calculations
|
|
579
|
+
* @example true
|
|
580
|
+
*/
|
|
581
|
+
isBusinessDays?: boolean
|
|
582
|
+
/**
|
|
583
|
+
* Whether bookings can be canceled
|
|
584
|
+
* @example true
|
|
585
|
+
*/
|
|
586
|
+
canBeCanceled?: boolean
|
|
587
|
+
/**
|
|
588
|
+
* Whether bookings can be rescheduled
|
|
589
|
+
* @example true
|
|
590
|
+
*/
|
|
591
|
+
canBeRescheduled?: boolean
|
|
592
|
+
/** List of cancelation rules */
|
|
593
|
+
rules?: {
|
|
594
|
+
/**
|
|
595
|
+
* Number of days before the event for this rule to apply
|
|
596
|
+
* @example 7
|
|
597
|
+
*/
|
|
598
|
+
untilDaysBefore?: number
|
|
599
|
+
/**
|
|
600
|
+
* Percentage refunded on cancelation
|
|
601
|
+
* @example 100
|
|
602
|
+
*/
|
|
603
|
+
percentageRefunded?: number
|
|
604
|
+
/**
|
|
605
|
+
* Amount charged on cancelation
|
|
606
|
+
* @example 0
|
|
607
|
+
*/
|
|
608
|
+
amountCharged?: number
|
|
609
|
+
/**
|
|
610
|
+
* Whether to deduct enrolment payment
|
|
611
|
+
* @example false
|
|
612
|
+
*/
|
|
613
|
+
deductEnrolmentPayment?: boolean
|
|
614
|
+
}[]
|
|
615
|
+
}
|
|
616
|
+
}[]
|
|
509
617
|
/**
|
|
510
618
|
* Sales tax label
|
|
511
619
|
* @example "GST"
|
|
@@ -516,51 +624,77 @@ export interface CustomerRequestBody {
|
|
|
516
624
|
* @example false
|
|
517
625
|
*/
|
|
518
626
|
ignoreCustomAttributesForSignUp?: boolean
|
|
519
|
-
/**
|
|
520
|
-
* List of cooldown policies
|
|
521
|
-
* @example [{"courseID":"course1","cooldownPolicy":{"rules":[]}}]
|
|
522
|
-
*/
|
|
523
|
-
cooldownPolicies?: any[]
|
|
524
|
-
/**
|
|
525
|
-
* Number of failed attempts before refill
|
|
526
|
-
* @example 3
|
|
527
|
-
*/
|
|
528
|
-
refillFailedAttempts?: number
|
|
529
|
-
/**
|
|
530
|
-
* Cooldown period in days
|
|
531
|
-
* @example 30
|
|
532
|
-
*/
|
|
533
|
-
cooldownPeriod?: number
|
|
534
|
-
/**
|
|
535
|
-
* Whether to invalidate course requirements
|
|
536
|
-
* @example false
|
|
537
|
-
*/
|
|
538
|
-
invalidateCourseRequirements?: boolean
|
|
539
|
-
/**
|
|
540
|
-
* Whether to lock application
|
|
541
|
-
* @example false
|
|
542
|
-
*/
|
|
543
|
-
lockApplication?: boolean
|
|
544
|
-
/**
|
|
545
|
-
* Days before auto-unlock
|
|
546
|
-
* @example 90
|
|
547
|
-
*/
|
|
548
|
-
autoUnlockDays?: number
|
|
549
|
-
/**
|
|
550
|
-
* UI configuration object
|
|
551
|
-
* @example {"primaryColor":"#007bff"}
|
|
552
|
-
*/
|
|
553
|
-
ui?: any
|
|
554
|
-
/**
|
|
555
|
-
* Banner configuration object
|
|
556
|
-
* @example {"enabled":true,"message":"Welcome!"}
|
|
557
|
-
*/
|
|
558
|
-
banner?: any
|
|
559
627
|
/**
|
|
560
628
|
* Customer timezone
|
|
561
629
|
* @example "America/Vancouver"
|
|
562
630
|
*/
|
|
563
631
|
timezone?: string
|
|
632
|
+
/** Tile permissions configuration */
|
|
633
|
+
tilePermissions?: any
|
|
634
|
+
/** List of cooldown policies */
|
|
635
|
+
cooldownPolicies?: {
|
|
636
|
+
/**
|
|
637
|
+
* Cooldown policy identifier
|
|
638
|
+
* @example "cooldown_1"
|
|
639
|
+
*/
|
|
640
|
+
id?: string
|
|
641
|
+
/**
|
|
642
|
+
* Cooldown policy description
|
|
643
|
+
* @example "Standard cooldown policy"
|
|
644
|
+
*/
|
|
645
|
+
description?: string
|
|
646
|
+
/** Cooldown policy configuration */
|
|
647
|
+
cooldownPolicy?: {
|
|
648
|
+
/** List of cooldown rules */
|
|
649
|
+
rules?: {
|
|
650
|
+
/**
|
|
651
|
+
* Number of failed attempts before this rule applies
|
|
652
|
+
* @example 3
|
|
653
|
+
*/
|
|
654
|
+
untilFailedAttempts?: number
|
|
655
|
+
/**
|
|
656
|
+
* Cooldown period in days
|
|
657
|
+
* @example 30
|
|
658
|
+
*/
|
|
659
|
+
cooldownPeriod?: number
|
|
660
|
+
/**
|
|
661
|
+
* Whether to invalidate course requirements
|
|
662
|
+
* @example false
|
|
663
|
+
*/
|
|
664
|
+
invalidateCourseRequirements?: boolean
|
|
665
|
+
/**
|
|
666
|
+
* Whether to lock application
|
|
667
|
+
* @example false
|
|
668
|
+
*/
|
|
669
|
+
lockApplication?: boolean
|
|
670
|
+
/**
|
|
671
|
+
* Blocks the course using a trigger block
|
|
672
|
+
* @example false
|
|
673
|
+
*/
|
|
674
|
+
blockCourse?: boolean
|
|
675
|
+
/**
|
|
676
|
+
* Days before auto-unlock
|
|
677
|
+
* @example 90
|
|
678
|
+
*/
|
|
679
|
+
autoUnlockInDays?: number
|
|
680
|
+
}[]
|
|
681
|
+
}
|
|
682
|
+
}[]
|
|
683
|
+
ui?: {
|
|
684
|
+
/** Banner configuration */
|
|
685
|
+
banner?: {
|
|
686
|
+
/**
|
|
687
|
+
* Banner type
|
|
688
|
+
* @example "info"
|
|
689
|
+
*/
|
|
690
|
+
type?: string
|
|
691
|
+
/**
|
|
692
|
+
* Banner content
|
|
693
|
+
* @example "Welcome to the platform!"
|
|
694
|
+
*/
|
|
695
|
+
content?: string
|
|
696
|
+
}
|
|
697
|
+
}
|
|
564
698
|
/**
|
|
565
699
|
* List of feature flags
|
|
566
700
|
* @example [{"name":"dark_mode","enabled":true}]
|
|
@@ -2800,7 +2934,7 @@ export interface FaqResponse {
|
|
|
2800
2934
|
answer?: string
|
|
2801
2935
|
}
|
|
2802
2936
|
|
|
2803
|
-
export interface
|
|
2937
|
+
export interface InputZhvrz8Yp0W {
|
|
2804
2938
|
/**
|
|
2805
2939
|
* Tenant ID this FAQ belongs to
|
|
2806
2940
|
* @example "tenant456"
|
|
@@ -2823,7 +2957,7 @@ export interface InputOmmkv6Qbjz {
|
|
|
2823
2957
|
answer?: string
|
|
2824
2958
|
}
|
|
2825
2959
|
|
|
2826
|
-
export interface
|
|
2960
|
+
export interface Input9397F836Qfh {
|
|
2827
2961
|
/**
|
|
2828
2962
|
* Tenant ID this FAQ belongs to
|
|
2829
2963
|
* @example "tenant456"
|
|
@@ -5220,7 +5354,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
5220
5354
|
|
|
5221
5355
|
/**
|
|
5222
5356
|
* @title No title
|
|
5223
|
-
* @version 2.0.
|
|
5357
|
+
* @version 2.0.17
|
|
5224
5358
|
* @baseUrl http://localhost:8080
|
|
5225
5359
|
* @contact Ikon Integration <ikon@ikonintegration.com> (http://example.com)
|
|
5226
5360
|
*/
|
|
@@ -5885,7 +6019,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
5885
6019
|
* @request POST:/tenant/{tenantID}/faq/{faqID}
|
|
5886
6020
|
* @secure
|
|
5887
6021
|
*/
|
|
5888
|
-
createFaq: (tenantId: string, faqId: string, data:
|
|
6022
|
+
createFaq: (tenantId: string, faqId: string, data: InputZhvrz8Yp0W, params: RequestParams = {}) =>
|
|
5889
6023
|
this.request<CreateFaqData, CreateFaqError>({
|
|
5890
6024
|
path: `/tenant/${tenantId}/faq/${faqId}`,
|
|
5891
6025
|
method: 'POST',
|
|
@@ -5904,7 +6038,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
5904
6038
|
* @request PUT:/tenant/{tenantID}/faq/{faqID}
|
|
5905
6039
|
* @secure
|
|
5906
6040
|
*/
|
|
5907
|
-
updateFaq: (tenantId: string, faqId: string, data:
|
|
6041
|
+
updateFaq: (tenantId: string, faqId: string, data: Input9397F836Qfh, params: RequestParams = {}) =>
|
|
5908
6042
|
this.request<UpdateFaqData, UpdateFaqError>({
|
|
5909
6043
|
path: `/tenant/${tenantId}/faq/${faqId}`,
|
|
5910
6044
|
method: 'PUT',
|