@fctc/interface-logic 3.7.1 → 3.7.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.
- package/dist/hooks.js +49 -25
- package/dist/hooks.mjs +49 -25
- package/dist/provider.js +49 -25
- package/dist/provider.mjs +49 -25
- package/dist/services.js +49 -25
- package/dist/services.mjs +49 -25
- package/package.json +1 -1
package/dist/hooks.js
CHANGED
|
@@ -4726,12 +4726,17 @@ function useViewService() {
|
|
|
4726
4726
|
client_id,
|
|
4727
4727
|
scopes
|
|
4728
4728
|
};
|
|
4729
|
-
return env?.requests.post(
|
|
4730
|
-
|
|
4731
|
-
|
|
4729
|
+
return env?.requests.post(
|
|
4730
|
+
"/grant-access" /* GRANT_ACCESS */,
|
|
4731
|
+
jsonData,
|
|
4732
|
+
{
|
|
4733
|
+
headers: {
|
|
4734
|
+
"Content-Type": "application/json"
|
|
4735
|
+
},
|
|
4736
|
+
withCredentials: true
|
|
4732
4737
|
},
|
|
4733
|
-
|
|
4734
|
-
|
|
4738
|
+
"id"
|
|
4739
|
+
);
|
|
4735
4740
|
},
|
|
4736
4741
|
[env]
|
|
4737
4742
|
);
|
|
@@ -4743,11 +4748,16 @@ function useViewService() {
|
|
|
4743
4748
|
token
|
|
4744
4749
|
}
|
|
4745
4750
|
};
|
|
4746
|
-
return env?.requests.post(
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
+
return env?.requests.post(
|
|
4752
|
+
"/call" /* CALL_PATH */,
|
|
4753
|
+
jsonData,
|
|
4754
|
+
{
|
|
4755
|
+
headers: {
|
|
4756
|
+
"Content-Type": "application/json"
|
|
4757
|
+
}
|
|
4758
|
+
},
|
|
4759
|
+
"id"
|
|
4760
|
+
);
|
|
4751
4761
|
},
|
|
4752
4762
|
[env]
|
|
4753
4763
|
);
|
|
@@ -4757,11 +4767,16 @@ function useViewService() {
|
|
|
4757
4767
|
method,
|
|
4758
4768
|
with_context: { token }
|
|
4759
4769
|
};
|
|
4760
|
-
return env?.requests.post(
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4770
|
+
return env?.requests.post(
|
|
4771
|
+
"/call" /* CALL_PATH */,
|
|
4772
|
+
jsonData,
|
|
4773
|
+
{
|
|
4774
|
+
headers: {
|
|
4775
|
+
"Content-Type": "application/json"
|
|
4776
|
+
}
|
|
4777
|
+
},
|
|
4778
|
+
"id"
|
|
4779
|
+
);
|
|
4765
4780
|
},
|
|
4766
4781
|
[env]
|
|
4767
4782
|
);
|
|
@@ -4780,11 +4795,16 @@ function useViewService() {
|
|
|
4780
4795
|
token
|
|
4781
4796
|
}
|
|
4782
4797
|
};
|
|
4783
|
-
return env?.requests.post(
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4798
|
+
return env?.requests.post(
|
|
4799
|
+
"/call" /* CALL_PATH */,
|
|
4800
|
+
jsonData,
|
|
4801
|
+
{
|
|
4802
|
+
headers: {
|
|
4803
|
+
"Content-Type": "application/json"
|
|
4804
|
+
}
|
|
4805
|
+
},
|
|
4806
|
+
"id"
|
|
4807
|
+
);
|
|
4788
4808
|
},
|
|
4789
4809
|
[env]
|
|
4790
4810
|
);
|
|
@@ -4807,12 +4827,16 @@ function useViewService() {
|
|
|
4807
4827
|
scope
|
|
4808
4828
|
)}`;
|
|
4809
4829
|
const url = `${path}?${queryString}`;
|
|
4810
|
-
return env?.requests.get(
|
|
4811
|
-
|
|
4812
|
-
|
|
4830
|
+
return env?.requests.get(
|
|
4831
|
+
url,
|
|
4832
|
+
{
|
|
4833
|
+
headers: {
|
|
4834
|
+
"Content-Type": "application/json"
|
|
4835
|
+
},
|
|
4836
|
+
withCredentials: true
|
|
4813
4837
|
},
|
|
4814
|
-
|
|
4815
|
-
|
|
4838
|
+
"id"
|
|
4839
|
+
);
|
|
4816
4840
|
},
|
|
4817
4841
|
[env]
|
|
4818
4842
|
);
|
package/dist/hooks.mjs
CHANGED
|
@@ -4587,12 +4587,17 @@ function useViewService() {
|
|
|
4587
4587
|
client_id,
|
|
4588
4588
|
scopes
|
|
4589
4589
|
};
|
|
4590
|
-
return env?.requests.post(
|
|
4591
|
-
|
|
4592
|
-
|
|
4590
|
+
return env?.requests.post(
|
|
4591
|
+
"/grant-access" /* GRANT_ACCESS */,
|
|
4592
|
+
jsonData,
|
|
4593
|
+
{
|
|
4594
|
+
headers: {
|
|
4595
|
+
"Content-Type": "application/json"
|
|
4596
|
+
},
|
|
4597
|
+
withCredentials: true
|
|
4593
4598
|
},
|
|
4594
|
-
|
|
4595
|
-
|
|
4599
|
+
"id"
|
|
4600
|
+
);
|
|
4596
4601
|
},
|
|
4597
4602
|
[env]
|
|
4598
4603
|
);
|
|
@@ -4604,11 +4609,16 @@ function useViewService() {
|
|
|
4604
4609
|
token
|
|
4605
4610
|
}
|
|
4606
4611
|
};
|
|
4607
|
-
return env?.requests.post(
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
+
return env?.requests.post(
|
|
4613
|
+
"/call" /* CALL_PATH */,
|
|
4614
|
+
jsonData,
|
|
4615
|
+
{
|
|
4616
|
+
headers: {
|
|
4617
|
+
"Content-Type": "application/json"
|
|
4618
|
+
}
|
|
4619
|
+
},
|
|
4620
|
+
"id"
|
|
4621
|
+
);
|
|
4612
4622
|
},
|
|
4613
4623
|
[env]
|
|
4614
4624
|
);
|
|
@@ -4618,11 +4628,16 @@ function useViewService() {
|
|
|
4618
4628
|
method,
|
|
4619
4629
|
with_context: { token }
|
|
4620
4630
|
};
|
|
4621
|
-
return env?.requests.post(
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4631
|
+
return env?.requests.post(
|
|
4632
|
+
"/call" /* CALL_PATH */,
|
|
4633
|
+
jsonData,
|
|
4634
|
+
{
|
|
4635
|
+
headers: {
|
|
4636
|
+
"Content-Type": "application/json"
|
|
4637
|
+
}
|
|
4638
|
+
},
|
|
4639
|
+
"id"
|
|
4640
|
+
);
|
|
4626
4641
|
},
|
|
4627
4642
|
[env]
|
|
4628
4643
|
);
|
|
@@ -4641,11 +4656,16 @@ function useViewService() {
|
|
|
4641
4656
|
token
|
|
4642
4657
|
}
|
|
4643
4658
|
};
|
|
4644
|
-
return env?.requests.post(
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4659
|
+
return env?.requests.post(
|
|
4660
|
+
"/call" /* CALL_PATH */,
|
|
4661
|
+
jsonData,
|
|
4662
|
+
{
|
|
4663
|
+
headers: {
|
|
4664
|
+
"Content-Type": "application/json"
|
|
4665
|
+
}
|
|
4666
|
+
},
|
|
4667
|
+
"id"
|
|
4668
|
+
);
|
|
4649
4669
|
},
|
|
4650
4670
|
[env]
|
|
4651
4671
|
);
|
|
@@ -4668,12 +4688,16 @@ function useViewService() {
|
|
|
4668
4688
|
scope
|
|
4669
4689
|
)}`;
|
|
4670
4690
|
const url = `${path}?${queryString}`;
|
|
4671
|
-
return env?.requests.get(
|
|
4672
|
-
|
|
4673
|
-
|
|
4691
|
+
return env?.requests.get(
|
|
4692
|
+
url,
|
|
4693
|
+
{
|
|
4694
|
+
headers: {
|
|
4695
|
+
"Content-Type": "application/json"
|
|
4696
|
+
},
|
|
4697
|
+
withCredentials: true
|
|
4674
4698
|
},
|
|
4675
|
-
|
|
4676
|
-
|
|
4699
|
+
"id"
|
|
4700
|
+
);
|
|
4677
4701
|
},
|
|
4678
4702
|
[env]
|
|
4679
4703
|
);
|
package/dist/provider.js
CHANGED
|
@@ -4716,12 +4716,17 @@ function useViewService() {
|
|
|
4716
4716
|
client_id,
|
|
4717
4717
|
scopes
|
|
4718
4718
|
};
|
|
4719
|
-
return env?.requests.post(
|
|
4720
|
-
|
|
4721
|
-
|
|
4719
|
+
return env?.requests.post(
|
|
4720
|
+
"/grant-access" /* GRANT_ACCESS */,
|
|
4721
|
+
jsonData,
|
|
4722
|
+
{
|
|
4723
|
+
headers: {
|
|
4724
|
+
"Content-Type": "application/json"
|
|
4725
|
+
},
|
|
4726
|
+
withCredentials: true
|
|
4722
4727
|
},
|
|
4723
|
-
|
|
4724
|
-
|
|
4728
|
+
"id"
|
|
4729
|
+
);
|
|
4725
4730
|
},
|
|
4726
4731
|
[env]
|
|
4727
4732
|
);
|
|
@@ -4733,11 +4738,16 @@ function useViewService() {
|
|
|
4733
4738
|
token
|
|
4734
4739
|
}
|
|
4735
4740
|
};
|
|
4736
|
-
return env?.requests.post(
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
+
return env?.requests.post(
|
|
4742
|
+
"/call" /* CALL_PATH */,
|
|
4743
|
+
jsonData,
|
|
4744
|
+
{
|
|
4745
|
+
headers: {
|
|
4746
|
+
"Content-Type": "application/json"
|
|
4747
|
+
}
|
|
4748
|
+
},
|
|
4749
|
+
"id"
|
|
4750
|
+
);
|
|
4741
4751
|
},
|
|
4742
4752
|
[env]
|
|
4743
4753
|
);
|
|
@@ -4747,11 +4757,16 @@ function useViewService() {
|
|
|
4747
4757
|
method,
|
|
4748
4758
|
with_context: { token }
|
|
4749
4759
|
};
|
|
4750
|
-
return env?.requests.post(
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4760
|
+
return env?.requests.post(
|
|
4761
|
+
"/call" /* CALL_PATH */,
|
|
4762
|
+
jsonData,
|
|
4763
|
+
{
|
|
4764
|
+
headers: {
|
|
4765
|
+
"Content-Type": "application/json"
|
|
4766
|
+
}
|
|
4767
|
+
},
|
|
4768
|
+
"id"
|
|
4769
|
+
);
|
|
4755
4770
|
},
|
|
4756
4771
|
[env]
|
|
4757
4772
|
);
|
|
@@ -4770,11 +4785,16 @@ function useViewService() {
|
|
|
4770
4785
|
token
|
|
4771
4786
|
}
|
|
4772
4787
|
};
|
|
4773
|
-
return env?.requests.post(
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4788
|
+
return env?.requests.post(
|
|
4789
|
+
"/call" /* CALL_PATH */,
|
|
4790
|
+
jsonData,
|
|
4791
|
+
{
|
|
4792
|
+
headers: {
|
|
4793
|
+
"Content-Type": "application/json"
|
|
4794
|
+
}
|
|
4795
|
+
},
|
|
4796
|
+
"id"
|
|
4797
|
+
);
|
|
4778
4798
|
},
|
|
4779
4799
|
[env]
|
|
4780
4800
|
);
|
|
@@ -4797,12 +4817,16 @@ function useViewService() {
|
|
|
4797
4817
|
scope
|
|
4798
4818
|
)}`;
|
|
4799
4819
|
const url = `${path}?${queryString}`;
|
|
4800
|
-
return env?.requests.get(
|
|
4801
|
-
|
|
4802
|
-
|
|
4820
|
+
return env?.requests.get(
|
|
4821
|
+
url,
|
|
4822
|
+
{
|
|
4823
|
+
headers: {
|
|
4824
|
+
"Content-Type": "application/json"
|
|
4825
|
+
},
|
|
4826
|
+
withCredentials: true
|
|
4803
4827
|
},
|
|
4804
|
-
|
|
4805
|
-
|
|
4828
|
+
"id"
|
|
4829
|
+
);
|
|
4806
4830
|
},
|
|
4807
4831
|
[env]
|
|
4808
4832
|
);
|
package/dist/provider.mjs
CHANGED
|
@@ -4673,12 +4673,17 @@ function useViewService() {
|
|
|
4673
4673
|
client_id,
|
|
4674
4674
|
scopes
|
|
4675
4675
|
};
|
|
4676
|
-
return env?.requests.post(
|
|
4677
|
-
|
|
4678
|
-
|
|
4676
|
+
return env?.requests.post(
|
|
4677
|
+
"/grant-access" /* GRANT_ACCESS */,
|
|
4678
|
+
jsonData,
|
|
4679
|
+
{
|
|
4680
|
+
headers: {
|
|
4681
|
+
"Content-Type": "application/json"
|
|
4682
|
+
},
|
|
4683
|
+
withCredentials: true
|
|
4679
4684
|
},
|
|
4680
|
-
|
|
4681
|
-
|
|
4685
|
+
"id"
|
|
4686
|
+
);
|
|
4682
4687
|
},
|
|
4683
4688
|
[env]
|
|
4684
4689
|
);
|
|
@@ -4690,11 +4695,16 @@ function useViewService() {
|
|
|
4690
4695
|
token
|
|
4691
4696
|
}
|
|
4692
4697
|
};
|
|
4693
|
-
return env?.requests.post(
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
+
return env?.requests.post(
|
|
4699
|
+
"/call" /* CALL_PATH */,
|
|
4700
|
+
jsonData,
|
|
4701
|
+
{
|
|
4702
|
+
headers: {
|
|
4703
|
+
"Content-Type": "application/json"
|
|
4704
|
+
}
|
|
4705
|
+
},
|
|
4706
|
+
"id"
|
|
4707
|
+
);
|
|
4698
4708
|
},
|
|
4699
4709
|
[env]
|
|
4700
4710
|
);
|
|
@@ -4704,11 +4714,16 @@ function useViewService() {
|
|
|
4704
4714
|
method,
|
|
4705
4715
|
with_context: { token }
|
|
4706
4716
|
};
|
|
4707
|
-
return env?.requests.post(
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4717
|
+
return env?.requests.post(
|
|
4718
|
+
"/call" /* CALL_PATH */,
|
|
4719
|
+
jsonData,
|
|
4720
|
+
{
|
|
4721
|
+
headers: {
|
|
4722
|
+
"Content-Type": "application/json"
|
|
4723
|
+
}
|
|
4724
|
+
},
|
|
4725
|
+
"id"
|
|
4726
|
+
);
|
|
4712
4727
|
},
|
|
4713
4728
|
[env]
|
|
4714
4729
|
);
|
|
@@ -4727,11 +4742,16 @@ function useViewService() {
|
|
|
4727
4742
|
token
|
|
4728
4743
|
}
|
|
4729
4744
|
};
|
|
4730
|
-
return env?.requests.post(
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4745
|
+
return env?.requests.post(
|
|
4746
|
+
"/call" /* CALL_PATH */,
|
|
4747
|
+
jsonData,
|
|
4748
|
+
{
|
|
4749
|
+
headers: {
|
|
4750
|
+
"Content-Type": "application/json"
|
|
4751
|
+
}
|
|
4752
|
+
},
|
|
4753
|
+
"id"
|
|
4754
|
+
);
|
|
4735
4755
|
},
|
|
4736
4756
|
[env]
|
|
4737
4757
|
);
|
|
@@ -4754,12 +4774,16 @@ function useViewService() {
|
|
|
4754
4774
|
scope
|
|
4755
4775
|
)}`;
|
|
4756
4776
|
const url = `${path}?${queryString}`;
|
|
4757
|
-
return env?.requests.get(
|
|
4758
|
-
|
|
4759
|
-
|
|
4777
|
+
return env?.requests.get(
|
|
4778
|
+
url,
|
|
4779
|
+
{
|
|
4780
|
+
headers: {
|
|
4781
|
+
"Content-Type": "application/json"
|
|
4782
|
+
},
|
|
4783
|
+
withCredentials: true
|
|
4760
4784
|
},
|
|
4761
|
-
|
|
4762
|
-
|
|
4785
|
+
"id"
|
|
4786
|
+
);
|
|
4763
4787
|
},
|
|
4764
4788
|
[env]
|
|
4765
4789
|
);
|
package/dist/services.js
CHANGED
|
@@ -4915,12 +4915,17 @@ function useViewService() {
|
|
|
4915
4915
|
client_id,
|
|
4916
4916
|
scopes
|
|
4917
4917
|
};
|
|
4918
|
-
return env?.requests.post(
|
|
4919
|
-
|
|
4920
|
-
|
|
4918
|
+
return env?.requests.post(
|
|
4919
|
+
"/grant-access" /* GRANT_ACCESS */,
|
|
4920
|
+
jsonData,
|
|
4921
|
+
{
|
|
4922
|
+
headers: {
|
|
4923
|
+
"Content-Type": "application/json"
|
|
4924
|
+
},
|
|
4925
|
+
withCredentials: true
|
|
4921
4926
|
},
|
|
4922
|
-
|
|
4923
|
-
|
|
4927
|
+
"id"
|
|
4928
|
+
);
|
|
4924
4929
|
},
|
|
4925
4930
|
[env]
|
|
4926
4931
|
);
|
|
@@ -4932,11 +4937,16 @@ function useViewService() {
|
|
|
4932
4937
|
token
|
|
4933
4938
|
}
|
|
4934
4939
|
};
|
|
4935
|
-
return env?.requests.post(
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
+
return env?.requests.post(
|
|
4941
|
+
"/call" /* CALL_PATH */,
|
|
4942
|
+
jsonData,
|
|
4943
|
+
{
|
|
4944
|
+
headers: {
|
|
4945
|
+
"Content-Type": "application/json"
|
|
4946
|
+
}
|
|
4947
|
+
},
|
|
4948
|
+
"id"
|
|
4949
|
+
);
|
|
4940
4950
|
},
|
|
4941
4951
|
[env]
|
|
4942
4952
|
);
|
|
@@ -4946,11 +4956,16 @@ function useViewService() {
|
|
|
4946
4956
|
method,
|
|
4947
4957
|
with_context: { token }
|
|
4948
4958
|
};
|
|
4949
|
-
return env?.requests.post(
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4959
|
+
return env?.requests.post(
|
|
4960
|
+
"/call" /* CALL_PATH */,
|
|
4961
|
+
jsonData,
|
|
4962
|
+
{
|
|
4963
|
+
headers: {
|
|
4964
|
+
"Content-Type": "application/json"
|
|
4965
|
+
}
|
|
4966
|
+
},
|
|
4967
|
+
"id"
|
|
4968
|
+
);
|
|
4954
4969
|
},
|
|
4955
4970
|
[env]
|
|
4956
4971
|
);
|
|
@@ -4969,11 +4984,16 @@ function useViewService() {
|
|
|
4969
4984
|
token
|
|
4970
4985
|
}
|
|
4971
4986
|
};
|
|
4972
|
-
return env?.requests.post(
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4987
|
+
return env?.requests.post(
|
|
4988
|
+
"/call" /* CALL_PATH */,
|
|
4989
|
+
jsonData,
|
|
4990
|
+
{
|
|
4991
|
+
headers: {
|
|
4992
|
+
"Content-Type": "application/json"
|
|
4993
|
+
}
|
|
4994
|
+
},
|
|
4995
|
+
"id"
|
|
4996
|
+
);
|
|
4977
4997
|
},
|
|
4978
4998
|
[env]
|
|
4979
4999
|
);
|
|
@@ -4996,12 +5016,16 @@ function useViewService() {
|
|
|
4996
5016
|
scope
|
|
4997
5017
|
)}`;
|
|
4998
5018
|
const url = `${path}?${queryString}`;
|
|
4999
|
-
return env?.requests.get(
|
|
5000
|
-
|
|
5001
|
-
|
|
5019
|
+
return env?.requests.get(
|
|
5020
|
+
url,
|
|
5021
|
+
{
|
|
5022
|
+
headers: {
|
|
5023
|
+
"Content-Type": "application/json"
|
|
5024
|
+
},
|
|
5025
|
+
withCredentials: true
|
|
5002
5026
|
},
|
|
5003
|
-
|
|
5004
|
-
|
|
5027
|
+
"id"
|
|
5028
|
+
);
|
|
5005
5029
|
},
|
|
5006
5030
|
[env]
|
|
5007
5031
|
);
|
package/dist/services.mjs
CHANGED
|
@@ -4870,12 +4870,17 @@ function useViewService() {
|
|
|
4870
4870
|
client_id,
|
|
4871
4871
|
scopes
|
|
4872
4872
|
};
|
|
4873
|
-
return env?.requests.post(
|
|
4874
|
-
|
|
4875
|
-
|
|
4873
|
+
return env?.requests.post(
|
|
4874
|
+
"/grant-access" /* GRANT_ACCESS */,
|
|
4875
|
+
jsonData,
|
|
4876
|
+
{
|
|
4877
|
+
headers: {
|
|
4878
|
+
"Content-Type": "application/json"
|
|
4879
|
+
},
|
|
4880
|
+
withCredentials: true
|
|
4876
4881
|
},
|
|
4877
|
-
|
|
4878
|
-
|
|
4882
|
+
"id"
|
|
4883
|
+
);
|
|
4879
4884
|
},
|
|
4880
4885
|
[env]
|
|
4881
4886
|
);
|
|
@@ -4887,11 +4892,16 @@ function useViewService() {
|
|
|
4887
4892
|
token
|
|
4888
4893
|
}
|
|
4889
4894
|
};
|
|
4890
|
-
return env?.requests.post(
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
+
return env?.requests.post(
|
|
4896
|
+
"/call" /* CALL_PATH */,
|
|
4897
|
+
jsonData,
|
|
4898
|
+
{
|
|
4899
|
+
headers: {
|
|
4900
|
+
"Content-Type": "application/json"
|
|
4901
|
+
}
|
|
4902
|
+
},
|
|
4903
|
+
"id"
|
|
4904
|
+
);
|
|
4895
4905
|
},
|
|
4896
4906
|
[env]
|
|
4897
4907
|
);
|
|
@@ -4901,11 +4911,16 @@ function useViewService() {
|
|
|
4901
4911
|
method,
|
|
4902
4912
|
with_context: { token }
|
|
4903
4913
|
};
|
|
4904
|
-
return env?.requests.post(
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4914
|
+
return env?.requests.post(
|
|
4915
|
+
"/call" /* CALL_PATH */,
|
|
4916
|
+
jsonData,
|
|
4917
|
+
{
|
|
4918
|
+
headers: {
|
|
4919
|
+
"Content-Type": "application/json"
|
|
4920
|
+
}
|
|
4921
|
+
},
|
|
4922
|
+
"id"
|
|
4923
|
+
);
|
|
4909
4924
|
},
|
|
4910
4925
|
[env]
|
|
4911
4926
|
);
|
|
@@ -4924,11 +4939,16 @@ function useViewService() {
|
|
|
4924
4939
|
token
|
|
4925
4940
|
}
|
|
4926
4941
|
};
|
|
4927
|
-
return env?.requests.post(
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4942
|
+
return env?.requests.post(
|
|
4943
|
+
"/call" /* CALL_PATH */,
|
|
4944
|
+
jsonData,
|
|
4945
|
+
{
|
|
4946
|
+
headers: {
|
|
4947
|
+
"Content-Type": "application/json"
|
|
4948
|
+
}
|
|
4949
|
+
},
|
|
4950
|
+
"id"
|
|
4951
|
+
);
|
|
4932
4952
|
},
|
|
4933
4953
|
[env]
|
|
4934
4954
|
);
|
|
@@ -4951,12 +4971,16 @@ function useViewService() {
|
|
|
4951
4971
|
scope
|
|
4952
4972
|
)}`;
|
|
4953
4973
|
const url = `${path}?${queryString}`;
|
|
4954
|
-
return env?.requests.get(
|
|
4955
|
-
|
|
4956
|
-
|
|
4974
|
+
return env?.requests.get(
|
|
4975
|
+
url,
|
|
4976
|
+
{
|
|
4977
|
+
headers: {
|
|
4978
|
+
"Content-Type": "application/json"
|
|
4979
|
+
},
|
|
4980
|
+
withCredentials: true
|
|
4957
4981
|
},
|
|
4958
|
-
|
|
4959
|
-
|
|
4982
|
+
"id"
|
|
4983
|
+
);
|
|
4960
4984
|
},
|
|
4961
4985
|
[env]
|
|
4962
4986
|
);
|