@fctc/interface-logic 1.0.7 → 1.0.9
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/dist/config.js +1 -1
- package/dist/config.mjs +1 -1
- package/dist/environment.js +1 -1
- package/dist/environment.mjs +1 -1
- package/dist/hook.d.mts +2 -0
- package/dist/hook.d.ts +2 -0
- package/dist/hook.js +15 -6
- package/dist/hook.mjs +15 -6
- package/dist/index.js +15 -6
- package/dist/index.mjs +15 -6
- package/dist/model.js +1 -1
- package/dist/model.mjs +1 -1
- package/dist/provider.js +9 -4
- package/dist/provider.mjs +9 -4
- package/dist/services.d.mts +3 -1
- package/dist/services.d.ts +3 -1
- package/dist/services.js +9 -4
- package/dist/services.mjs +9 -4
- package/package.json +1 -1
package/dist/config.js
CHANGED
@@ -2364,7 +2364,7 @@ var axiosClient = {
|
|
2364
2364
|
const responseBody = (response) => response;
|
2365
2365
|
const requests = {
|
2366
2366
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2367
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2367
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2368
2368
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2369
2369
|
responseType: "arraybuffer",
|
2370
2370
|
headers: {
|
package/dist/config.mjs
CHANGED
@@ -2328,7 +2328,7 @@ var axiosClient = {
|
|
2328
2328
|
const responseBody = (response) => response;
|
2329
2329
|
const requests = {
|
2330
2330
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2331
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2331
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2332
2332
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2333
2333
|
responseType: "arraybuffer",
|
2334
2334
|
headers: {
|
package/dist/environment.js
CHANGED
@@ -2367,7 +2367,7 @@ var axiosClient = {
|
|
2367
2367
|
const responseBody = (response) => response;
|
2368
2368
|
const requests = {
|
2369
2369
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2370
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2370
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2371
2371
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2372
2372
|
responseType: "arraybuffer",
|
2373
2373
|
headers: {
|
package/dist/environment.mjs
CHANGED
@@ -2328,7 +2328,7 @@ var axiosClient = {
|
|
2328
2328
|
const responseBody = (response) => response;
|
2329
2329
|
const requests = {
|
2330
2330
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2331
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2331
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2332
2332
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2333
2333
|
responseType: "arraybuffer",
|
2334
2334
|
headers: {
|
package/dist/hook.d.mts
CHANGED
@@ -291,6 +291,8 @@ declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<any, E
|
|
291
291
|
method: string;
|
292
292
|
with_context: any;
|
293
293
|
code: string;
|
294
|
+
device: string;
|
295
|
+
location: string;
|
294
296
|
}, unknown>;
|
295
297
|
|
296
298
|
declare const useGet2FAMethods: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
package/dist/hook.d.ts
CHANGED
@@ -291,6 +291,8 @@ declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<any, E
|
|
291
291
|
method: string;
|
292
292
|
with_context: any;
|
293
293
|
code: string;
|
294
|
+
device: string;
|
295
|
+
location: string;
|
294
296
|
}, unknown>;
|
295
297
|
|
296
298
|
declare const useGet2FAMethods: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
package/dist/hook.js
CHANGED
@@ -2491,7 +2491,7 @@ var axiosClient = {
|
|
2491
2491
|
const responseBody = (response) => response;
|
2492
2492
|
const requests = {
|
2493
2493
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2494
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2494
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2495
2495
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2496
2496
|
responseType: "arraybuffer",
|
2497
2497
|
headers: {
|
@@ -4570,14 +4570,18 @@ var ViewService = {
|
|
4570
4570
|
async verify2FA({
|
4571
4571
|
method,
|
4572
4572
|
with_context,
|
4573
|
-
code
|
4573
|
+
code,
|
4574
|
+
device,
|
4575
|
+
location
|
4574
4576
|
}) {
|
4575
4577
|
const env2 = getEnv();
|
4576
4578
|
const jsonData = {
|
4577
4579
|
method,
|
4578
4580
|
kwargs: {
|
4579
4581
|
vals: {
|
4580
|
-
code
|
4582
|
+
code,
|
4583
|
+
device,
|
4584
|
+
location
|
4581
4585
|
}
|
4582
4586
|
},
|
4583
4587
|
with_context
|
@@ -4585,7 +4589,8 @@ var ViewService = {
|
|
4585
4589
|
return env2?.requests.post("/call" /* CALL_PATH */, jsonData, {
|
4586
4590
|
headers: {
|
4587
4591
|
"Content-Type": "application/json"
|
4588
|
-
}
|
4592
|
+
},
|
4593
|
+
withCredentials: true
|
4589
4594
|
});
|
4590
4595
|
},
|
4591
4596
|
async signInSSO({
|
@@ -5798,12 +5803,16 @@ var useVerify2FA = () => {
|
|
5798
5803
|
mutationFn: ({
|
5799
5804
|
method,
|
5800
5805
|
with_context,
|
5801
|
-
code
|
5806
|
+
code,
|
5807
|
+
device,
|
5808
|
+
location
|
5802
5809
|
}) => {
|
5803
5810
|
return view_service_default.verify2FA({
|
5804
5811
|
method,
|
5805
5812
|
with_context,
|
5806
|
-
code
|
5813
|
+
code,
|
5814
|
+
device,
|
5815
|
+
location
|
5807
5816
|
});
|
5808
5817
|
}
|
5809
5818
|
});
|
package/dist/hook.mjs
CHANGED
@@ -2388,7 +2388,7 @@ var axiosClient = {
|
|
2388
2388
|
const responseBody = (response) => response;
|
2389
2389
|
const requests = {
|
2390
2390
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2391
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2391
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2392
2392
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2393
2393
|
responseType: "arraybuffer",
|
2394
2394
|
headers: {
|
@@ -4467,14 +4467,18 @@ var ViewService = {
|
|
4467
4467
|
async verify2FA({
|
4468
4468
|
method,
|
4469
4469
|
with_context,
|
4470
|
-
code
|
4470
|
+
code,
|
4471
|
+
device,
|
4472
|
+
location
|
4471
4473
|
}) {
|
4472
4474
|
const env2 = getEnv();
|
4473
4475
|
const jsonData = {
|
4474
4476
|
method,
|
4475
4477
|
kwargs: {
|
4476
4478
|
vals: {
|
4477
|
-
code
|
4479
|
+
code,
|
4480
|
+
device,
|
4481
|
+
location
|
4478
4482
|
}
|
4479
4483
|
},
|
4480
4484
|
with_context
|
@@ -4482,7 +4486,8 @@ var ViewService = {
|
|
4482
4486
|
return env2?.requests.post("/call" /* CALL_PATH */, jsonData, {
|
4483
4487
|
headers: {
|
4484
4488
|
"Content-Type": "application/json"
|
4485
|
-
}
|
4489
|
+
},
|
4490
|
+
withCredentials: true
|
4486
4491
|
});
|
4487
4492
|
},
|
4488
4493
|
async signInSSO({
|
@@ -5695,12 +5700,16 @@ var useVerify2FA = () => {
|
|
5695
5700
|
mutationFn: ({
|
5696
5701
|
method,
|
5697
5702
|
with_context,
|
5698
|
-
code
|
5703
|
+
code,
|
5704
|
+
device,
|
5705
|
+
location
|
5699
5706
|
}) => {
|
5700
5707
|
return view_service_default.verify2FA({
|
5701
5708
|
method,
|
5702
5709
|
with_context,
|
5703
|
-
code
|
5710
|
+
code,
|
5711
|
+
device,
|
5712
|
+
location
|
5704
5713
|
});
|
5705
5714
|
}
|
5706
5715
|
});
|
package/dist/index.js
CHANGED
@@ -3428,7 +3428,7 @@ var axiosClient = {
|
|
3428
3428
|
const responseBody = (response) => response;
|
3429
3429
|
const requests = {
|
3430
3430
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
3431
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
3431
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
3432
3432
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
3433
3433
|
responseType: "arraybuffer",
|
3434
3434
|
headers: {
|
@@ -5532,14 +5532,18 @@ var ViewService = {
|
|
5532
5532
|
async verify2FA({
|
5533
5533
|
method,
|
5534
5534
|
with_context,
|
5535
|
-
code
|
5535
|
+
code,
|
5536
|
+
device,
|
5537
|
+
location
|
5536
5538
|
}) {
|
5537
5539
|
const env2 = getEnv();
|
5538
5540
|
const jsonData = {
|
5539
5541
|
method,
|
5540
5542
|
kwargs: {
|
5541
5543
|
vals: {
|
5542
|
-
code
|
5544
|
+
code,
|
5545
|
+
device,
|
5546
|
+
location
|
5543
5547
|
}
|
5544
5548
|
},
|
5545
5549
|
with_context
|
@@ -5547,7 +5551,8 @@ var ViewService = {
|
|
5547
5551
|
return env2?.requests.post("/call" /* CALL_PATH */, jsonData, {
|
5548
5552
|
headers: {
|
5549
5553
|
"Content-Type": "application/json"
|
5550
|
-
}
|
5554
|
+
},
|
5555
|
+
withCredentials: true
|
5551
5556
|
});
|
5552
5557
|
},
|
5553
5558
|
async signInSSO({
|
@@ -6760,12 +6765,16 @@ var useVerify2FA = () => {
|
|
6760
6765
|
mutationFn: ({
|
6761
6766
|
method,
|
6762
6767
|
with_context,
|
6763
|
-
code
|
6768
|
+
code,
|
6769
|
+
device,
|
6770
|
+
location
|
6764
6771
|
}) => {
|
6765
6772
|
return view_service_default.verify2FA({
|
6766
6773
|
method,
|
6767
6774
|
with_context,
|
6768
|
-
code
|
6775
|
+
code,
|
6776
|
+
device,
|
6777
|
+
location
|
6769
6778
|
});
|
6770
6779
|
}
|
6771
6780
|
});
|
package/dist/index.mjs
CHANGED
@@ -3182,7 +3182,7 @@ var axiosClient = {
|
|
3182
3182
|
const responseBody = (response) => response;
|
3183
3183
|
const requests = {
|
3184
3184
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
3185
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
3185
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
3186
3186
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
3187
3187
|
responseType: "arraybuffer",
|
3188
3188
|
headers: {
|
@@ -5286,14 +5286,18 @@ var ViewService = {
|
|
5286
5286
|
async verify2FA({
|
5287
5287
|
method,
|
5288
5288
|
with_context,
|
5289
|
-
code
|
5289
|
+
code,
|
5290
|
+
device,
|
5291
|
+
location
|
5290
5292
|
}) {
|
5291
5293
|
const env2 = getEnv();
|
5292
5294
|
const jsonData = {
|
5293
5295
|
method,
|
5294
5296
|
kwargs: {
|
5295
5297
|
vals: {
|
5296
|
-
code
|
5298
|
+
code,
|
5299
|
+
device,
|
5300
|
+
location
|
5297
5301
|
}
|
5298
5302
|
},
|
5299
5303
|
with_context
|
@@ -5301,7 +5305,8 @@ var ViewService = {
|
|
5301
5305
|
return env2?.requests.post("/call" /* CALL_PATH */, jsonData, {
|
5302
5306
|
headers: {
|
5303
5307
|
"Content-Type": "application/json"
|
5304
|
-
}
|
5308
|
+
},
|
5309
|
+
withCredentials: true
|
5305
5310
|
});
|
5306
5311
|
},
|
5307
5312
|
async signInSSO({
|
@@ -6514,12 +6519,16 @@ var useVerify2FA = () => {
|
|
6514
6519
|
mutationFn: ({
|
6515
6520
|
method,
|
6516
6521
|
with_context,
|
6517
|
-
code
|
6522
|
+
code,
|
6523
|
+
device,
|
6524
|
+
location
|
6518
6525
|
}) => {
|
6519
6526
|
return view_service_default.verify2FA({
|
6520
6527
|
method,
|
6521
6528
|
with_context,
|
6522
|
-
code
|
6529
|
+
code,
|
6530
|
+
device,
|
6531
|
+
location
|
6523
6532
|
});
|
6524
6533
|
}
|
6525
6534
|
});
|
package/dist/model.js
CHANGED
@@ -2515,7 +2515,7 @@ var axiosClient = {
|
|
2515
2515
|
const responseBody = (response) => response;
|
2516
2516
|
const requests = {
|
2517
2517
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2518
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2518
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2519
2519
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2520
2520
|
responseType: "arraybuffer",
|
2521
2521
|
headers: {
|
package/dist/model.mjs
CHANGED
@@ -2477,7 +2477,7 @@ var axiosClient = {
|
|
2477
2477
|
const responseBody = (response) => response;
|
2478
2478
|
const requests = {
|
2479
2479
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2480
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2480
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2481
2481
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2482
2482
|
responseType: "arraybuffer",
|
2483
2483
|
headers: {
|
package/dist/provider.js
CHANGED
@@ -3017,7 +3017,7 @@ var axiosClient = {
|
|
3017
3017
|
const responseBody = (response) => response;
|
3018
3018
|
const requests = {
|
3019
3019
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
3020
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
3020
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
3021
3021
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
3022
3022
|
responseType: "arraybuffer",
|
3023
3023
|
headers: {
|
@@ -3399,14 +3399,18 @@ var ViewService = {
|
|
3399
3399
|
async verify2FA({
|
3400
3400
|
method,
|
3401
3401
|
with_context,
|
3402
|
-
code
|
3402
|
+
code,
|
3403
|
+
device,
|
3404
|
+
location
|
3403
3405
|
}) {
|
3404
3406
|
const env2 = getEnv();
|
3405
3407
|
const jsonData = {
|
3406
3408
|
method,
|
3407
3409
|
kwargs: {
|
3408
3410
|
vals: {
|
3409
|
-
code
|
3411
|
+
code,
|
3412
|
+
device,
|
3413
|
+
location
|
3410
3414
|
}
|
3411
3415
|
},
|
3412
3416
|
with_context
|
@@ -3414,7 +3418,8 @@ var ViewService = {
|
|
3414
3418
|
return env2?.requests.post("/call" /* CALL_PATH */, jsonData, {
|
3415
3419
|
headers: {
|
3416
3420
|
"Content-Type": "application/json"
|
3417
|
-
}
|
3421
|
+
},
|
3422
|
+
withCredentials: true
|
3418
3423
|
});
|
3419
3424
|
},
|
3420
3425
|
async signInSSO({
|
package/dist/provider.mjs
CHANGED
@@ -2979,7 +2979,7 @@ var axiosClient = {
|
|
2979
2979
|
const responseBody = (response) => response;
|
2980
2980
|
const requests = {
|
2981
2981
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2982
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2982
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2983
2983
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2984
2984
|
responseType: "arraybuffer",
|
2985
2985
|
headers: {
|
@@ -3361,14 +3361,18 @@ var ViewService = {
|
|
3361
3361
|
async verify2FA({
|
3362
3362
|
method,
|
3363
3363
|
with_context,
|
3364
|
-
code
|
3364
|
+
code,
|
3365
|
+
device,
|
3366
|
+
location
|
3365
3367
|
}) {
|
3366
3368
|
const env2 = getEnv();
|
3367
3369
|
const jsonData = {
|
3368
3370
|
method,
|
3369
3371
|
kwargs: {
|
3370
3372
|
vals: {
|
3371
|
-
code
|
3373
|
+
code,
|
3374
|
+
device,
|
3375
|
+
location
|
3372
3376
|
}
|
3373
3377
|
},
|
3374
3378
|
with_context
|
@@ -3376,7 +3380,8 @@ var ViewService = {
|
|
3376
3380
|
return env2?.requests.post("/call" /* CALL_PATH */, jsonData, {
|
3377
3381
|
headers: {
|
3378
3382
|
"Content-Type": "application/json"
|
3379
|
-
}
|
3383
|
+
},
|
3384
|
+
withCredentials: true
|
3380
3385
|
});
|
3381
3386
|
},
|
3382
3387
|
async signInSSO({
|
package/dist/services.d.mts
CHANGED
@@ -209,10 +209,12 @@ declare const ViewService: {
|
|
209
209
|
method: string;
|
210
210
|
with_context: any;
|
211
211
|
}): Promise<any>;
|
212
|
-
verify2FA({ method, with_context, code, }: {
|
212
|
+
verify2FA({ method, with_context, code, device, location, }: {
|
213
213
|
method: string;
|
214
214
|
with_context: any;
|
215
215
|
code: string;
|
216
|
+
device: string;
|
217
|
+
location: string;
|
216
218
|
}): Promise<any>;
|
217
219
|
signInSSO({ redirect_uri, state, client_id, response_type, path, }: {
|
218
220
|
redirect_uri: string;
|
package/dist/services.d.ts
CHANGED
@@ -209,10 +209,12 @@ declare const ViewService: {
|
|
209
209
|
method: string;
|
210
210
|
with_context: any;
|
211
211
|
}): Promise<any>;
|
212
|
-
verify2FA({ method, with_context, code, }: {
|
212
|
+
verify2FA({ method, with_context, code, device, location, }: {
|
213
213
|
method: string;
|
214
214
|
with_context: any;
|
215
215
|
code: string;
|
216
|
+
device: string;
|
217
|
+
location: string;
|
216
218
|
}): Promise<any>;
|
217
219
|
signInSSO({ redirect_uri, state, client_id, response_type, path, }: {
|
218
220
|
redirect_uri: string;
|
package/dist/services.js
CHANGED
@@ -2407,7 +2407,7 @@ var axiosClient = {
|
|
2407
2407
|
const responseBody = (response) => response;
|
2408
2408
|
const requests = {
|
2409
2409
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2410
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2410
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2411
2411
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2412
2412
|
responseType: "arraybuffer",
|
2413
2413
|
headers: {
|
@@ -4486,14 +4486,18 @@ var ViewService = {
|
|
4486
4486
|
async verify2FA({
|
4487
4487
|
method,
|
4488
4488
|
with_context,
|
4489
|
-
code
|
4489
|
+
code,
|
4490
|
+
device,
|
4491
|
+
location
|
4490
4492
|
}) {
|
4491
4493
|
const env2 = getEnv();
|
4492
4494
|
const jsonData = {
|
4493
4495
|
method,
|
4494
4496
|
kwargs: {
|
4495
4497
|
vals: {
|
4496
|
-
code
|
4498
|
+
code,
|
4499
|
+
device,
|
4500
|
+
location
|
4497
4501
|
}
|
4498
4502
|
},
|
4499
4503
|
with_context
|
@@ -4501,7 +4505,8 @@ var ViewService = {
|
|
4501
4505
|
return env2?.requests.post("/call" /* CALL_PATH */, jsonData, {
|
4502
4506
|
headers: {
|
4503
4507
|
"Content-Type": "application/json"
|
4504
|
-
}
|
4508
|
+
},
|
4509
|
+
withCredentials: true
|
4505
4510
|
});
|
4506
4511
|
},
|
4507
4512
|
async signInSSO({
|
package/dist/services.mjs
CHANGED
@@ -2363,7 +2363,7 @@ var axiosClient = {
|
|
2363
2363
|
const responseBody = (response) => response;
|
2364
2364
|
const requests = {
|
2365
2365
|
get: (url, headers) => instance.get(formatUrl(url, db), headers).then(responseBody),
|
2366
|
-
post: (url, body, headers) => instance.post(formatUrl(url, db), body,
|
2366
|
+
post: (url, body, headers) => instance.post(formatUrl(url, db), body, headers).then(responseBody),
|
2367
2367
|
post_excel: (url, body, headers) => instance.post(formatUrl(url, db), body, {
|
2368
2368
|
responseType: "arraybuffer",
|
2369
2369
|
headers: {
|
@@ -4442,14 +4442,18 @@ var ViewService = {
|
|
4442
4442
|
async verify2FA({
|
4443
4443
|
method,
|
4444
4444
|
with_context,
|
4445
|
-
code
|
4445
|
+
code,
|
4446
|
+
device,
|
4447
|
+
location
|
4446
4448
|
}) {
|
4447
4449
|
const env2 = getEnv();
|
4448
4450
|
const jsonData = {
|
4449
4451
|
method,
|
4450
4452
|
kwargs: {
|
4451
4453
|
vals: {
|
4452
|
-
code
|
4454
|
+
code,
|
4455
|
+
device,
|
4456
|
+
location
|
4453
4457
|
}
|
4454
4458
|
},
|
4455
4459
|
with_context
|
@@ -4457,7 +4461,8 @@ var ViewService = {
|
|
4457
4461
|
return env2?.requests.post("/call" /* CALL_PATH */, jsonData, {
|
4458
4462
|
headers: {
|
4459
4463
|
"Content-Type": "application/json"
|
4460
|
-
}
|
4464
|
+
},
|
4465
|
+
withCredentials: true
|
4461
4466
|
});
|
4462
4467
|
},
|
4463
4468
|
async signInSSO({
|