@salesforce/lds-adapters-industries-healthcloud 1.304.0 → 1.306.0
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/es/es2018/industries-healthcloud.js +179 -179
- package/dist/es/es2018/types/src/generated/adapters/getCaseRelatedFileProcessInformation.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/resources/{getConnectHealthProviderNetworkManagementFlatDataProcessInformation.d.ts → getConnectHealthProviderNetworkManagementCaseRelatedFileProcessInformation.d.ts} +5 -5
- package/dist/es/es2018/types/src/generated/types/{FileProcessingDetail.d.ts → CaseFileProcessExecution.d.ts} +24 -24
- package/dist/es/es2018/types/src/generated/types/CaseRelatedFile.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CaseRelatedFileProcessInformationOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/FileBasedDataImport.d.ts +4 -4
- package/package.json +4 -4
- package/sfdc/index.js +688 -688
- package/src/raml/api.raml +33 -33
- package/src/raml/luvio.raml +2 -2
- package/dist/es/es2018/types/src/generated/adapters/getFlatDataProcessInformation.d.ts +0 -27
- package/dist/es/es2018/types/src/generated/types/FlatDataInformation.d.ts +0 -35
- package/dist/es/es2018/types/src/generated/types/FlatDataProcessInformationRepresentation.d.ts +0 -35
|
@@ -5395,12 +5395,19 @@ const createVisitBroadcastAdapterFactory = (luvio) => {
|
|
|
5395
5395
|
};
|
|
5396
5396
|
};
|
|
5397
5397
|
|
|
5398
|
-
const VERSION$3 = "
|
|
5398
|
+
const VERSION$3 = "882f8877e0d4733ddcff2045d57ec7c3";
|
|
5399
5399
|
function validate$3(obj, path = 'FileBasedDataImport') {
|
|
5400
5400
|
const v_error = (() => {
|
|
5401
5401
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5402
5402
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5403
5403
|
}
|
|
5404
|
+
if (obj.dataFilterType !== undefined) {
|
|
5405
|
+
const obj_dataFilterType = obj.dataFilterType;
|
|
5406
|
+
const path_dataFilterType = path + '.dataFilterType';
|
|
5407
|
+
if (typeof obj_dataFilterType !== 'string') {
|
|
5408
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataFilterType + '" (at "' + path_dataFilterType + '")');
|
|
5409
|
+
}
|
|
5410
|
+
}
|
|
5404
5411
|
if (obj.failedRecordsCount !== undefined) {
|
|
5405
5412
|
const obj_failedRecordsCount = obj.failedRecordsCount;
|
|
5406
5413
|
const path_failedRecordsCount = path + '.failedRecordsCount';
|
|
@@ -5478,13 +5485,6 @@ function validate$3(obj, path = 'FileBasedDataImport') {
|
|
|
5478
5485
|
return new TypeError('Expected "string" but received "' + typeof obj_targetContext + '" (at "' + path_targetContext + '")');
|
|
5479
5486
|
}
|
|
5480
5487
|
}
|
|
5481
|
-
if (obj.usageType !== undefined) {
|
|
5482
|
-
const obj_usageType = obj.usageType;
|
|
5483
|
-
const path_usageType = path + '.usageType';
|
|
5484
|
-
if (typeof obj_usageType !== 'string') {
|
|
5485
|
-
return new TypeError('Expected "string" but received "' + typeof obj_usageType + '" (at "' + path_usageType + '")');
|
|
5486
|
-
}
|
|
5487
|
-
}
|
|
5488
5488
|
})();
|
|
5489
5489
|
return v_error === undefined ? null : v_error;
|
|
5490
5490
|
}
|
|
@@ -5494,6 +5494,11 @@ const select$4 = function FileBasedDataImportSelect() {
|
|
|
5494
5494
|
version: VERSION$3,
|
|
5495
5495
|
private: [],
|
|
5496
5496
|
selections: [
|
|
5497
|
+
{
|
|
5498
|
+
name: 'dataFilterType',
|
|
5499
|
+
kind: 'Scalar',
|
|
5500
|
+
required: false
|
|
5501
|
+
},
|
|
5497
5502
|
{
|
|
5498
5503
|
name: 'failedRecordsCount',
|
|
5499
5504
|
kind: 'Scalar',
|
|
@@ -5548,11 +5553,6 @@ const select$4 = function FileBasedDataImportSelect() {
|
|
|
5548
5553
|
name: 'targetContext',
|
|
5549
5554
|
kind: 'Scalar',
|
|
5550
5555
|
required: false
|
|
5551
|
-
},
|
|
5552
|
-
{
|
|
5553
|
-
name: 'usageType',
|
|
5554
|
-
kind: 'Scalar',
|
|
5555
|
-
required: false
|
|
5556
5556
|
}
|
|
5557
5557
|
]
|
|
5558
5558
|
};
|
|
@@ -5584,6 +5584,19 @@ function equals$3(existing, incoming) {
|
|
|
5584
5584
|
return false;
|
|
5585
5585
|
}
|
|
5586
5586
|
}
|
|
5587
|
+
const existing_dataFilterType = existing.dataFilterType;
|
|
5588
|
+
const incoming_dataFilterType = incoming.dataFilterType;
|
|
5589
|
+
// if at least one of these optionals is defined
|
|
5590
|
+
if (existing_dataFilterType !== undefined || incoming_dataFilterType !== undefined) {
|
|
5591
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5592
|
+
// not equal
|
|
5593
|
+
if (existing_dataFilterType === undefined || incoming_dataFilterType === undefined) {
|
|
5594
|
+
return false;
|
|
5595
|
+
}
|
|
5596
|
+
if (!(existing_dataFilterType === incoming_dataFilterType)) {
|
|
5597
|
+
return false;
|
|
5598
|
+
}
|
|
5599
|
+
}
|
|
5587
5600
|
const existing_failedResults = existing.failedResults;
|
|
5588
5601
|
const incoming_failedResults = incoming.failedResults;
|
|
5589
5602
|
// if at least one of these optionals is defined
|
|
@@ -5701,28 +5714,29 @@ function equals$3(existing, incoming) {
|
|
|
5701
5714
|
return false;
|
|
5702
5715
|
}
|
|
5703
5716
|
}
|
|
5704
|
-
const existing_usageType = existing.usageType;
|
|
5705
|
-
const incoming_usageType = incoming.usageType;
|
|
5706
|
-
// if at least one of these optionals is defined
|
|
5707
|
-
if (existing_usageType !== undefined || incoming_usageType !== undefined) {
|
|
5708
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
5709
|
-
// not equal
|
|
5710
|
-
if (existing_usageType === undefined || incoming_usageType === undefined) {
|
|
5711
|
-
return false;
|
|
5712
|
-
}
|
|
5713
|
-
if (!(existing_usageType === incoming_usageType)) {
|
|
5714
|
-
return false;
|
|
5715
|
-
}
|
|
5716
|
-
}
|
|
5717
5717
|
return true;
|
|
5718
5718
|
}
|
|
5719
5719
|
|
|
5720
|
-
const VERSION$2 = "
|
|
5721
|
-
function validate$2(obj, path = '
|
|
5720
|
+
const VERSION$2 = "3199d1fcb2384049e7f99a8c0a255a00";
|
|
5721
|
+
function validate$2(obj, path = 'CaseFileProcessExecution') {
|
|
5722
5722
|
const v_error = (() => {
|
|
5723
5723
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5724
5724
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5725
5725
|
}
|
|
5726
|
+
if (obj.batchJobId !== undefined) {
|
|
5727
|
+
const obj_batchJobId = obj.batchJobId;
|
|
5728
|
+
const path_batchJobId = path + '.batchJobId';
|
|
5729
|
+
if (typeof obj_batchJobId !== 'string') {
|
|
5730
|
+
return new TypeError('Expected "string" but received "' + typeof obj_batchJobId + '" (at "' + path_batchJobId + '")');
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
if (obj.caseFileProcessExecutionId !== undefined) {
|
|
5734
|
+
const obj_caseFileProcessExecutionId = obj.caseFileProcessExecutionId;
|
|
5735
|
+
const path_caseFileProcessExecutionId = path + '.caseFileProcessExecutionId';
|
|
5736
|
+
if (typeof obj_caseFileProcessExecutionId !== 'string') {
|
|
5737
|
+
return new TypeError('Expected "string" but received "' + typeof obj_caseFileProcessExecutionId + '" (at "' + path_caseFileProcessExecutionId + '")');
|
|
5738
|
+
}
|
|
5739
|
+
}
|
|
5726
5740
|
if (obj.createdDate !== undefined) {
|
|
5727
5741
|
const obj_createdDate = obj.createdDate;
|
|
5728
5742
|
const path_createdDate = path + '.createdDate';
|
|
@@ -5730,13 +5744,6 @@ function validate$2(obj, path = 'FileProcessingDetail') {
|
|
|
5730
5744
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
5731
5745
|
}
|
|
5732
5746
|
}
|
|
5733
|
-
if (obj.dataProcessingJobId !== undefined) {
|
|
5734
|
-
const obj_dataProcessingJobId = obj.dataProcessingJobId;
|
|
5735
|
-
const path_dataProcessingJobId = path + '.dataProcessingJobId';
|
|
5736
|
-
if (typeof obj_dataProcessingJobId !== 'string') {
|
|
5737
|
-
return new TypeError('Expected "string" but received "' + typeof obj_dataProcessingJobId + '" (at "' + path_dataProcessingJobId + '")');
|
|
5738
|
-
}
|
|
5739
|
-
}
|
|
5740
5747
|
if (obj.dpeBatchJobStatus !== undefined) {
|
|
5741
5748
|
const obj_dpeBatchJobStatus = obj.dpeBatchJobStatus;
|
|
5742
5749
|
const path_dpeBatchJobStatus = path + '.dpeBatchJobStatus';
|
|
@@ -5758,11 +5765,11 @@ function validate$2(obj, path = 'FileProcessingDetail') {
|
|
|
5758
5765
|
return new TypeError('Expected "string" but received "' + typeof obj_dpeMasterLabel + '" (at "' + path_dpeMasterLabel + '")');
|
|
5759
5766
|
}
|
|
5760
5767
|
}
|
|
5761
|
-
if (obj.
|
|
5762
|
-
const
|
|
5763
|
-
const
|
|
5764
|
-
if (typeof
|
|
5765
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
5768
|
+
if (obj.dpeProcessingOrder !== undefined) {
|
|
5769
|
+
const obj_dpeProcessingOrder = obj.dpeProcessingOrder;
|
|
5770
|
+
const path_dpeProcessingOrder = path + '.dpeProcessingOrder';
|
|
5771
|
+
if (typeof obj_dpeProcessingOrder !== 'string') {
|
|
5772
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dpeProcessingOrder + '" (at "' + path_dpeProcessingOrder + '")');
|
|
5766
5773
|
}
|
|
5767
5774
|
}
|
|
5768
5775
|
if (obj.fileBasedDataImports !== undefined) {
|
|
@@ -5782,11 +5789,11 @@ function validate$2(obj, path = 'FileProcessingDetail') {
|
|
|
5782
5789
|
}
|
|
5783
5790
|
}
|
|
5784
5791
|
}
|
|
5785
|
-
if (obj.
|
|
5786
|
-
const
|
|
5787
|
-
const
|
|
5788
|
-
if (typeof
|
|
5789
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
5792
|
+
if (obj.flowInterviewId !== undefined) {
|
|
5793
|
+
const obj_flowInterviewId = obj.flowInterviewId;
|
|
5794
|
+
const path_flowInterviewId = path + '.flowInterviewId';
|
|
5795
|
+
if (typeof obj_flowInterviewId !== 'string') {
|
|
5796
|
+
return new TypeError('Expected "string" but received "' + typeof obj_flowInterviewId + '" (at "' + path_flowInterviewId + '")');
|
|
5790
5797
|
}
|
|
5791
5798
|
}
|
|
5792
5799
|
if (obj.lastModifiedDate !== undefined) {
|
|
@@ -5796,13 +5803,6 @@ function validate$2(obj, path = 'FileProcessingDetail') {
|
|
|
5796
5803
|
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
5797
5804
|
}
|
|
5798
5805
|
}
|
|
5799
|
-
if (obj.processRunIdentifierId !== undefined) {
|
|
5800
|
-
const obj_processRunIdentifierId = obj.processRunIdentifierId;
|
|
5801
|
-
const path_processRunIdentifierId = path + '.processRunIdentifierId';
|
|
5802
|
-
if (typeof obj_processRunIdentifierId !== 'string') {
|
|
5803
|
-
return new TypeError('Expected "string" but received "' + typeof obj_processRunIdentifierId + '" (at "' + path_processRunIdentifierId + '")');
|
|
5804
|
-
}
|
|
5805
|
-
}
|
|
5806
5806
|
if (obj.processingType !== undefined) {
|
|
5807
5807
|
const obj_processingType = obj.processingType;
|
|
5808
5808
|
const path_processingType = path + '.processingType';
|
|
@@ -5813,7 +5813,7 @@ function validate$2(obj, path = 'FileProcessingDetail') {
|
|
|
5813
5813
|
})();
|
|
5814
5814
|
return v_error === undefined ? null : v_error;
|
|
5815
5815
|
}
|
|
5816
|
-
const select$3 = function
|
|
5816
|
+
const select$3 = function CaseFileProcessExecutionSelect() {
|
|
5817
5817
|
const { selections: FileBasedDataImport__selections, opaque: FileBasedDataImport__opaque, } = select$4();
|
|
5818
5818
|
return {
|
|
5819
5819
|
kind: 'Fragment',
|
|
@@ -5821,12 +5821,17 @@ const select$3 = function FileProcessingDetailSelect() {
|
|
|
5821
5821
|
private: [],
|
|
5822
5822
|
selections: [
|
|
5823
5823
|
{
|
|
5824
|
-
name: '
|
|
5824
|
+
name: 'batchJobId',
|
|
5825
5825
|
kind: 'Scalar',
|
|
5826
5826
|
required: false
|
|
5827
5827
|
},
|
|
5828
5828
|
{
|
|
5829
|
-
name: '
|
|
5829
|
+
name: 'caseFileProcessExecutionId',
|
|
5830
|
+
kind: 'Scalar',
|
|
5831
|
+
required: false
|
|
5832
|
+
},
|
|
5833
|
+
{
|
|
5834
|
+
name: 'createdDate',
|
|
5830
5835
|
kind: 'Scalar',
|
|
5831
5836
|
required: false
|
|
5832
5837
|
},
|
|
@@ -5846,7 +5851,7 @@ const select$3 = function FileProcessingDetailSelect() {
|
|
|
5846
5851
|
required: false
|
|
5847
5852
|
},
|
|
5848
5853
|
{
|
|
5849
|
-
name: '
|
|
5854
|
+
name: 'dpeProcessingOrder',
|
|
5850
5855
|
kind: 'Scalar',
|
|
5851
5856
|
required: false
|
|
5852
5857
|
},
|
|
@@ -5858,7 +5863,7 @@ const select$3 = function FileProcessingDetailSelect() {
|
|
|
5858
5863
|
required: false
|
|
5859
5864
|
},
|
|
5860
5865
|
{
|
|
5861
|
-
name: '
|
|
5866
|
+
name: 'flowInterviewId',
|
|
5862
5867
|
kind: 'Scalar',
|
|
5863
5868
|
required: false
|
|
5864
5869
|
},
|
|
@@ -5867,11 +5872,6 @@ const select$3 = function FileProcessingDetailSelect() {
|
|
|
5867
5872
|
kind: 'Scalar',
|
|
5868
5873
|
required: false
|
|
5869
5874
|
},
|
|
5870
|
-
{
|
|
5871
|
-
name: 'processRunIdentifierId',
|
|
5872
|
-
kind: 'Scalar',
|
|
5873
|
-
required: false
|
|
5874
|
-
},
|
|
5875
5875
|
{
|
|
5876
5876
|
name: 'processingType',
|
|
5877
5877
|
kind: 'Scalar',
|
|
@@ -5881,29 +5881,42 @@ const select$3 = function FileProcessingDetailSelect() {
|
|
|
5881
5881
|
};
|
|
5882
5882
|
};
|
|
5883
5883
|
function equals$2(existing, incoming) {
|
|
5884
|
-
const
|
|
5885
|
-
const
|
|
5884
|
+
const existing_batchJobId = existing.batchJobId;
|
|
5885
|
+
const incoming_batchJobId = incoming.batchJobId;
|
|
5886
5886
|
// if at least one of these optionals is defined
|
|
5887
|
-
if (
|
|
5887
|
+
if (existing_batchJobId !== undefined || incoming_batchJobId !== undefined) {
|
|
5888
5888
|
// if one of these is not defined we know the other is defined and therefore
|
|
5889
5889
|
// not equal
|
|
5890
|
-
if (
|
|
5890
|
+
if (existing_batchJobId === undefined || incoming_batchJobId === undefined) {
|
|
5891
5891
|
return false;
|
|
5892
5892
|
}
|
|
5893
|
-
if (!(
|
|
5893
|
+
if (!(existing_batchJobId === incoming_batchJobId)) {
|
|
5894
|
+
return false;
|
|
5895
|
+
}
|
|
5896
|
+
}
|
|
5897
|
+
const existing_caseFileProcessExecutionId = existing.caseFileProcessExecutionId;
|
|
5898
|
+
const incoming_caseFileProcessExecutionId = incoming.caseFileProcessExecutionId;
|
|
5899
|
+
// if at least one of these optionals is defined
|
|
5900
|
+
if (existing_caseFileProcessExecutionId !== undefined || incoming_caseFileProcessExecutionId !== undefined) {
|
|
5901
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5902
|
+
// not equal
|
|
5903
|
+
if (existing_caseFileProcessExecutionId === undefined || incoming_caseFileProcessExecutionId === undefined) {
|
|
5904
|
+
return false;
|
|
5905
|
+
}
|
|
5906
|
+
if (!(existing_caseFileProcessExecutionId === incoming_caseFileProcessExecutionId)) {
|
|
5894
5907
|
return false;
|
|
5895
5908
|
}
|
|
5896
5909
|
}
|
|
5897
|
-
const
|
|
5898
|
-
const
|
|
5910
|
+
const existing_createdDate = existing.createdDate;
|
|
5911
|
+
const incoming_createdDate = incoming.createdDate;
|
|
5899
5912
|
// if at least one of these optionals is defined
|
|
5900
|
-
if (
|
|
5913
|
+
if (existing_createdDate !== undefined || incoming_createdDate !== undefined) {
|
|
5901
5914
|
// if one of these is not defined we know the other is defined and therefore
|
|
5902
5915
|
// not equal
|
|
5903
|
-
if (
|
|
5916
|
+
if (existing_createdDate === undefined || incoming_createdDate === undefined) {
|
|
5904
5917
|
return false;
|
|
5905
5918
|
}
|
|
5906
|
-
if (!(
|
|
5919
|
+
if (!(existing_createdDate === incoming_createdDate)) {
|
|
5907
5920
|
return false;
|
|
5908
5921
|
}
|
|
5909
5922
|
}
|
|
@@ -5946,29 +5959,29 @@ function equals$2(existing, incoming) {
|
|
|
5946
5959
|
return false;
|
|
5947
5960
|
}
|
|
5948
5961
|
}
|
|
5949
|
-
const
|
|
5950
|
-
const
|
|
5962
|
+
const existing_dpeProcessingOrder = existing.dpeProcessingOrder;
|
|
5963
|
+
const incoming_dpeProcessingOrder = incoming.dpeProcessingOrder;
|
|
5951
5964
|
// if at least one of these optionals is defined
|
|
5952
|
-
if (
|
|
5965
|
+
if (existing_dpeProcessingOrder !== undefined || incoming_dpeProcessingOrder !== undefined) {
|
|
5953
5966
|
// if one of these is not defined we know the other is defined and therefore
|
|
5954
5967
|
// not equal
|
|
5955
|
-
if (
|
|
5968
|
+
if (existing_dpeProcessingOrder === undefined || incoming_dpeProcessingOrder === undefined) {
|
|
5956
5969
|
return false;
|
|
5957
5970
|
}
|
|
5958
|
-
if (!(
|
|
5971
|
+
if (!(existing_dpeProcessingOrder === incoming_dpeProcessingOrder)) {
|
|
5959
5972
|
return false;
|
|
5960
5973
|
}
|
|
5961
5974
|
}
|
|
5962
|
-
const
|
|
5963
|
-
const
|
|
5975
|
+
const existing_flowInterviewId = existing.flowInterviewId;
|
|
5976
|
+
const incoming_flowInterviewId = incoming.flowInterviewId;
|
|
5964
5977
|
// if at least one of these optionals is defined
|
|
5965
|
-
if (
|
|
5978
|
+
if (existing_flowInterviewId !== undefined || incoming_flowInterviewId !== undefined) {
|
|
5966
5979
|
// if one of these is not defined we know the other is defined and therefore
|
|
5967
5980
|
// not equal
|
|
5968
|
-
if (
|
|
5981
|
+
if (existing_flowInterviewId === undefined || incoming_flowInterviewId === undefined) {
|
|
5969
5982
|
return false;
|
|
5970
5983
|
}
|
|
5971
|
-
if (!(
|
|
5984
|
+
if (!(existing_flowInterviewId === incoming_flowInterviewId)) {
|
|
5972
5985
|
return false;
|
|
5973
5986
|
}
|
|
5974
5987
|
}
|
|
@@ -5985,19 +5998,6 @@ function equals$2(existing, incoming) {
|
|
|
5985
5998
|
return false;
|
|
5986
5999
|
}
|
|
5987
6000
|
}
|
|
5988
|
-
const existing_processRunIdentifierId = existing.processRunIdentifierId;
|
|
5989
|
-
const incoming_processRunIdentifierId = incoming.processRunIdentifierId;
|
|
5990
|
-
// if at least one of these optionals is defined
|
|
5991
|
-
if (existing_processRunIdentifierId !== undefined || incoming_processRunIdentifierId !== undefined) {
|
|
5992
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
5993
|
-
// not equal
|
|
5994
|
-
if (existing_processRunIdentifierId === undefined || incoming_processRunIdentifierId === undefined) {
|
|
5995
|
-
return false;
|
|
5996
|
-
}
|
|
5997
|
-
if (!(existing_processRunIdentifierId === incoming_processRunIdentifierId)) {
|
|
5998
|
-
return false;
|
|
5999
|
-
}
|
|
6000
|
-
}
|
|
6001
6001
|
const existing_processingType = existing.processingType;
|
|
6002
6002
|
const incoming_processingType = incoming.processingType;
|
|
6003
6003
|
// if at least one of these optionals is defined
|
|
@@ -6032,34 +6032,34 @@ function equals$2(existing, incoming) {
|
|
|
6032
6032
|
return true;
|
|
6033
6033
|
}
|
|
6034
6034
|
|
|
6035
|
-
const VERSION$1 = "
|
|
6036
|
-
function validate$1(obj, path = '
|
|
6035
|
+
const VERSION$1 = "b55611d416792a94b0af0e035aef24fc";
|
|
6036
|
+
function validate$1(obj, path = 'CaseRelatedFile') {
|
|
6037
6037
|
const v_error = (() => {
|
|
6038
6038
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6039
6039
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6040
6040
|
}
|
|
6041
|
-
if (obj.
|
|
6042
|
-
const
|
|
6043
|
-
const
|
|
6044
|
-
if (!ArrayIsArray(
|
|
6045
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
6046
|
-
}
|
|
6047
|
-
for (let i = 0; i <
|
|
6048
|
-
const
|
|
6049
|
-
const
|
|
6050
|
-
const
|
|
6051
|
-
if (
|
|
6052
|
-
let message = 'Object doesn\'t match
|
|
6053
|
-
message +=
|
|
6041
|
+
if (obj.caseFileProcessExecutions !== undefined) {
|
|
6042
|
+
const obj_caseFileProcessExecutions = obj.caseFileProcessExecutions;
|
|
6043
|
+
const path_caseFileProcessExecutions = path + '.caseFileProcessExecutions';
|
|
6044
|
+
if (!ArrayIsArray(obj_caseFileProcessExecutions)) {
|
|
6045
|
+
return new TypeError('Expected "array" but received "' + typeof obj_caseFileProcessExecutions + '" (at "' + path_caseFileProcessExecutions + '")');
|
|
6046
|
+
}
|
|
6047
|
+
for (let i = 0; i < obj_caseFileProcessExecutions.length; i++) {
|
|
6048
|
+
const obj_caseFileProcessExecutions_item = obj_caseFileProcessExecutions[i];
|
|
6049
|
+
const path_caseFileProcessExecutions_item = path_caseFileProcessExecutions + '[' + i + ']';
|
|
6050
|
+
const referencepath_caseFileProcessExecutions_itemValidationError = validate$2(obj_caseFileProcessExecutions_item, path_caseFileProcessExecutions_item);
|
|
6051
|
+
if (referencepath_caseFileProcessExecutions_itemValidationError !== null) {
|
|
6052
|
+
let message = 'Object doesn\'t match CaseFileProcessExecution (at "' + path_caseFileProcessExecutions_item + '")\n';
|
|
6053
|
+
message += referencepath_caseFileProcessExecutions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6054
6054
|
return new TypeError(message);
|
|
6055
6055
|
}
|
|
6056
6056
|
}
|
|
6057
6057
|
}
|
|
6058
|
-
if (obj.
|
|
6059
|
-
const
|
|
6060
|
-
const
|
|
6061
|
-
if (typeof
|
|
6062
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
6058
|
+
if (obj.caseRelatedFileId !== undefined) {
|
|
6059
|
+
const obj_caseRelatedFileId = obj.caseRelatedFileId;
|
|
6060
|
+
const path_caseRelatedFileId = path + '.caseRelatedFileId';
|
|
6061
|
+
if (typeof obj_caseRelatedFileId !== 'string') {
|
|
6062
|
+
return new TypeError('Expected "string" but received "' + typeof obj_caseRelatedFileId + '" (at "' + path_caseRelatedFileId + '")');
|
|
6063
6063
|
}
|
|
6064
6064
|
}
|
|
6065
6065
|
if (obj.sourceFileName !== undefined) {
|
|
@@ -6072,22 +6072,22 @@ function validate$1(obj, path = 'FlatDataInformation') {
|
|
|
6072
6072
|
})();
|
|
6073
6073
|
return v_error === undefined ? null : v_error;
|
|
6074
6074
|
}
|
|
6075
|
-
const select$2 = function
|
|
6076
|
-
const { selections:
|
|
6075
|
+
const select$2 = function CaseRelatedFileSelect() {
|
|
6076
|
+
const { selections: CaseFileProcessExecution__selections, opaque: CaseFileProcessExecution__opaque, } = select$3();
|
|
6077
6077
|
return {
|
|
6078
6078
|
kind: 'Fragment',
|
|
6079
6079
|
version: VERSION$1,
|
|
6080
6080
|
private: [],
|
|
6081
6081
|
selections: [
|
|
6082
6082
|
{
|
|
6083
|
-
name: '
|
|
6083
|
+
name: 'caseFileProcessExecutions',
|
|
6084
6084
|
kind: 'Object',
|
|
6085
6085
|
plural: true,
|
|
6086
|
-
selections:
|
|
6086
|
+
selections: CaseFileProcessExecution__selections,
|
|
6087
6087
|
required: false
|
|
6088
6088
|
},
|
|
6089
6089
|
{
|
|
6090
|
-
name: '
|
|
6090
|
+
name: 'caseRelatedFileId',
|
|
6091
6091
|
kind: 'Scalar',
|
|
6092
6092
|
required: false
|
|
6093
6093
|
},
|
|
@@ -6100,16 +6100,16 @@ const select$2 = function FlatDataInformationSelect() {
|
|
|
6100
6100
|
};
|
|
6101
6101
|
};
|
|
6102
6102
|
function equals$1(existing, incoming) {
|
|
6103
|
-
const
|
|
6104
|
-
const
|
|
6103
|
+
const existing_caseRelatedFileId = existing.caseRelatedFileId;
|
|
6104
|
+
const incoming_caseRelatedFileId = incoming.caseRelatedFileId;
|
|
6105
6105
|
// if at least one of these optionals is defined
|
|
6106
|
-
if (
|
|
6106
|
+
if (existing_caseRelatedFileId !== undefined || incoming_caseRelatedFileId !== undefined) {
|
|
6107
6107
|
// if one of these is not defined we know the other is defined and therefore
|
|
6108
6108
|
// not equal
|
|
6109
|
-
if (
|
|
6109
|
+
if (existing_caseRelatedFileId === undefined || incoming_caseRelatedFileId === undefined) {
|
|
6110
6110
|
return false;
|
|
6111
6111
|
}
|
|
6112
|
-
if (!(
|
|
6112
|
+
if (!(existing_caseRelatedFileId === incoming_caseRelatedFileId)) {
|
|
6113
6113
|
return false;
|
|
6114
6114
|
}
|
|
6115
6115
|
}
|
|
@@ -6126,55 +6126,55 @@ function equals$1(existing, incoming) {
|
|
|
6126
6126
|
return false;
|
|
6127
6127
|
}
|
|
6128
6128
|
}
|
|
6129
|
-
const
|
|
6130
|
-
const
|
|
6129
|
+
const existing_caseFileProcessExecutions = existing.caseFileProcessExecutions;
|
|
6130
|
+
const incoming_caseFileProcessExecutions = incoming.caseFileProcessExecutions;
|
|
6131
6131
|
// if at least one of these optionals is defined
|
|
6132
|
-
if (
|
|
6132
|
+
if (existing_caseFileProcessExecutions !== undefined || incoming_caseFileProcessExecutions !== undefined) {
|
|
6133
6133
|
// if one of these is not defined we know the other is defined and therefore
|
|
6134
6134
|
// not equal
|
|
6135
|
-
if (
|
|
6135
|
+
if (existing_caseFileProcessExecutions === undefined || incoming_caseFileProcessExecutions === undefined) {
|
|
6136
6136
|
return false;
|
|
6137
6137
|
}
|
|
6138
|
-
const
|
|
6139
|
-
if (!(equals$2(
|
|
6138
|
+
const equals_caseFileProcessExecutions_items = equalsArray(existing_caseFileProcessExecutions, incoming_caseFileProcessExecutions, (existing_caseFileProcessExecutions_item, incoming_caseFileProcessExecutions_item) => {
|
|
6139
|
+
if (!(equals$2(existing_caseFileProcessExecutions_item, incoming_caseFileProcessExecutions_item))) {
|
|
6140
6140
|
return false;
|
|
6141
6141
|
}
|
|
6142
6142
|
});
|
|
6143
|
-
if (
|
|
6143
|
+
if (equals_caseFileProcessExecutions_items === false) {
|
|
6144
6144
|
return false;
|
|
6145
6145
|
}
|
|
6146
6146
|
}
|
|
6147
6147
|
return true;
|
|
6148
6148
|
}
|
|
6149
6149
|
|
|
6150
|
-
const VERSION = "
|
|
6151
|
-
function validate(obj, path = '
|
|
6150
|
+
const VERSION = "bab76db2db0755ff2f1c7e2326a1c287";
|
|
6151
|
+
function validate(obj, path = 'CaseRelatedFileProcessInformationOutputRepresentation') {
|
|
6152
6152
|
const v_error = (() => {
|
|
6153
6153
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6154
6154
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6155
6155
|
}
|
|
6156
|
+
if (obj.caseRelatedFiles !== undefined) {
|
|
6157
|
+
const obj_caseRelatedFiles = obj.caseRelatedFiles;
|
|
6158
|
+
const path_caseRelatedFiles = path + '.caseRelatedFiles';
|
|
6159
|
+
if (!ArrayIsArray(obj_caseRelatedFiles)) {
|
|
6160
|
+
return new TypeError('Expected "array" but received "' + typeof obj_caseRelatedFiles + '" (at "' + path_caseRelatedFiles + '")');
|
|
6161
|
+
}
|
|
6162
|
+
for (let i = 0; i < obj_caseRelatedFiles.length; i++) {
|
|
6163
|
+
const obj_caseRelatedFiles_item = obj_caseRelatedFiles[i];
|
|
6164
|
+
const path_caseRelatedFiles_item = path_caseRelatedFiles + '[' + i + ']';
|
|
6165
|
+
const referencepath_caseRelatedFiles_itemValidationError = validate$1(obj_caseRelatedFiles_item, path_caseRelatedFiles_item);
|
|
6166
|
+
if (referencepath_caseRelatedFiles_itemValidationError !== null) {
|
|
6167
|
+
let message = 'Object doesn\'t match CaseRelatedFile (at "' + path_caseRelatedFiles_item + '")\n';
|
|
6168
|
+
message += referencepath_caseRelatedFiles_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6169
|
+
return new TypeError(message);
|
|
6170
|
+
}
|
|
6171
|
+
}
|
|
6172
|
+
}
|
|
6156
6173
|
const obj_code = obj.code;
|
|
6157
6174
|
const path_code = path + '.code';
|
|
6158
6175
|
if (typeof obj_code !== 'string') {
|
|
6159
6176
|
return new TypeError('Expected "string" but received "' + typeof obj_code + '" (at "' + path_code + '")');
|
|
6160
6177
|
}
|
|
6161
|
-
if (obj.flatDataInformations !== undefined) {
|
|
6162
|
-
const obj_flatDataInformations = obj.flatDataInformations;
|
|
6163
|
-
const path_flatDataInformations = path + '.flatDataInformations';
|
|
6164
|
-
if (!ArrayIsArray(obj_flatDataInformations)) {
|
|
6165
|
-
return new TypeError('Expected "array" but received "' + typeof obj_flatDataInformations + '" (at "' + path_flatDataInformations + '")');
|
|
6166
|
-
}
|
|
6167
|
-
for (let i = 0; i < obj_flatDataInformations.length; i++) {
|
|
6168
|
-
const obj_flatDataInformations_item = obj_flatDataInformations[i];
|
|
6169
|
-
const path_flatDataInformations_item = path_flatDataInformations + '[' + i + ']';
|
|
6170
|
-
const referencepath_flatDataInformations_itemValidationError = validate$1(obj_flatDataInformations_item, path_flatDataInformations_item);
|
|
6171
|
-
if (referencepath_flatDataInformations_itemValidationError !== null) {
|
|
6172
|
-
let message = 'Object doesn\'t match FlatDataInformation (at "' + path_flatDataInformations_item + '")\n';
|
|
6173
|
-
message += referencepath_flatDataInformations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6174
|
-
return new TypeError(message);
|
|
6175
|
-
}
|
|
6176
|
-
}
|
|
6177
|
-
}
|
|
6178
6178
|
const obj_message = obj.message;
|
|
6179
6179
|
const path_message = path + '.message';
|
|
6180
6180
|
if (typeof obj_message !== 'string') {
|
|
@@ -6183,28 +6183,28 @@ function validate(obj, path = 'FlatDataProcessInformationRepresentation') {
|
|
|
6183
6183
|
})();
|
|
6184
6184
|
return v_error === undefined ? null : v_error;
|
|
6185
6185
|
}
|
|
6186
|
-
const RepresentationType = '
|
|
6186
|
+
const RepresentationType = 'CaseRelatedFileProcessInformationOutputRepresentation';
|
|
6187
6187
|
function normalize(input, existing, path, luvio, store, timestamp) {
|
|
6188
6188
|
return input;
|
|
6189
6189
|
}
|
|
6190
|
-
const select$1 = function
|
|
6191
|
-
const { selections:
|
|
6190
|
+
const select$1 = function CaseRelatedFileProcessInformationOutputRepresentationSelect() {
|
|
6191
|
+
const { selections: CaseRelatedFile__selections, opaque: CaseRelatedFile__opaque, } = select$2();
|
|
6192
6192
|
return {
|
|
6193
6193
|
kind: 'Fragment',
|
|
6194
6194
|
version: VERSION,
|
|
6195
6195
|
private: [],
|
|
6196
6196
|
selections: [
|
|
6197
6197
|
{
|
|
6198
|
-
name: '
|
|
6199
|
-
kind: 'Scalar'
|
|
6200
|
-
},
|
|
6201
|
-
{
|
|
6202
|
-
name: 'flatDataInformations',
|
|
6198
|
+
name: 'caseRelatedFiles',
|
|
6203
6199
|
kind: 'Object',
|
|
6204
6200
|
plural: true,
|
|
6205
|
-
selections:
|
|
6201
|
+
selections: CaseRelatedFile__selections,
|
|
6206
6202
|
required: false
|
|
6207
6203
|
},
|
|
6204
|
+
{
|
|
6205
|
+
name: 'code',
|
|
6206
|
+
kind: 'Scalar'
|
|
6207
|
+
},
|
|
6208
6208
|
{
|
|
6209
6209
|
name: 'message',
|
|
6210
6210
|
kind: 'Scalar'
|
|
@@ -6223,27 +6223,27 @@ function equals(existing, incoming) {
|
|
|
6223
6223
|
if (!(existing_message === incoming_message)) {
|
|
6224
6224
|
return false;
|
|
6225
6225
|
}
|
|
6226
|
-
const
|
|
6227
|
-
const
|
|
6226
|
+
const existing_caseRelatedFiles = existing.caseRelatedFiles;
|
|
6227
|
+
const incoming_caseRelatedFiles = incoming.caseRelatedFiles;
|
|
6228
6228
|
// if at least one of these optionals is defined
|
|
6229
|
-
if (
|
|
6229
|
+
if (existing_caseRelatedFiles !== undefined || incoming_caseRelatedFiles !== undefined) {
|
|
6230
6230
|
// if one of these is not defined we know the other is defined and therefore
|
|
6231
6231
|
// not equal
|
|
6232
|
-
if (
|
|
6232
|
+
if (existing_caseRelatedFiles === undefined || incoming_caseRelatedFiles === undefined) {
|
|
6233
6233
|
return false;
|
|
6234
6234
|
}
|
|
6235
|
-
const
|
|
6236
|
-
if (!(equals$1(
|
|
6235
|
+
const equals_caseRelatedFiles_items = equalsArray(existing_caseRelatedFiles, incoming_caseRelatedFiles, (existing_caseRelatedFiles_item, incoming_caseRelatedFiles_item) => {
|
|
6236
|
+
if (!(equals$1(existing_caseRelatedFiles_item, incoming_caseRelatedFiles_item))) {
|
|
6237
6237
|
return false;
|
|
6238
6238
|
}
|
|
6239
6239
|
});
|
|
6240
|
-
if (
|
|
6240
|
+
if (equals_caseRelatedFiles_items === false) {
|
|
6241
6241
|
return false;
|
|
6242
6242
|
}
|
|
6243
6243
|
}
|
|
6244
6244
|
return true;
|
|
6245
6245
|
}
|
|
6246
|
-
const ingest = function
|
|
6246
|
+
const ingest = function CaseRelatedFileProcessInformationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6247
6247
|
if (process.env.NODE_ENV !== 'production') {
|
|
6248
6248
|
const validateError = validate(input);
|
|
6249
6249
|
if (validateError !== null) {
|
|
@@ -6269,7 +6269,7 @@ function select(luvio, params) {
|
|
|
6269
6269
|
return select$1();
|
|
6270
6270
|
}
|
|
6271
6271
|
function keyBuilder$1(luvio, params) {
|
|
6272
|
-
return keyPrefix + '::
|
|
6272
|
+
return keyPrefix + '::CaseRelatedFileProcessInformationOutputRepresentation:(' + 'caseRelatedFileIds:' + params.queryParams.caseRelatedFileIds + ')';
|
|
6273
6273
|
}
|
|
6274
6274
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
6275
6275
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -6301,7 +6301,7 @@ function createResourceRequest(config) {
|
|
|
6301
6301
|
const headers = {};
|
|
6302
6302
|
return {
|
|
6303
6303
|
baseUri: '/services/data/v62.0',
|
|
6304
|
-
basePath: '/connect/health/provider-network-management/
|
|
6304
|
+
basePath: '/connect/health/provider-network-management/case-related-file-process-information',
|
|
6305
6305
|
method: 'get',
|
|
6306
6306
|
body: null,
|
|
6307
6307
|
urlParams: {},
|
|
@@ -6311,19 +6311,19 @@ function createResourceRequest(config) {
|
|
|
6311
6311
|
};
|
|
6312
6312
|
}
|
|
6313
6313
|
|
|
6314
|
-
const adapterName = '
|
|
6315
|
-
const
|
|
6316
|
-
generateParamConfigMetadata('
|
|
6314
|
+
const adapterName = 'getCaseRelatedFileProcessInformation';
|
|
6315
|
+
const getCaseRelatedFileProcessInformation_ConfigPropertyMetadata = [
|
|
6316
|
+
generateParamConfigMetadata('caseRelatedFileIds', false, 1 /* QueryParameter */, 0 /* String */),
|
|
6317
6317
|
];
|
|
6318
|
-
const
|
|
6319
|
-
const createResourceParams = /*#__PURE__*/ createResourceParams$i(
|
|
6318
|
+
const getCaseRelatedFileProcessInformation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getCaseRelatedFileProcessInformation_ConfigPropertyMetadata);
|
|
6319
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$i(getCaseRelatedFileProcessInformation_ConfigPropertyMetadata);
|
|
6320
6320
|
function keyBuilder(luvio, config) {
|
|
6321
6321
|
const resourceParams = createResourceParams(config);
|
|
6322
6322
|
return keyBuilder$1(luvio, resourceParams);
|
|
6323
6323
|
}
|
|
6324
6324
|
function typeCheckConfig(untrustedConfig) {
|
|
6325
6325
|
const config = {};
|
|
6326
|
-
typeCheckConfig$i(untrustedConfig, config,
|
|
6326
|
+
typeCheckConfig$i(untrustedConfig, config, getCaseRelatedFileProcessInformation_ConfigPropertyMetadata);
|
|
6327
6327
|
return config;
|
|
6328
6328
|
}
|
|
6329
6329
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -6387,8 +6387,8 @@ function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
|
6387
6387
|
});
|
|
6388
6388
|
return cacheSnapshot;
|
|
6389
6389
|
}
|
|
6390
|
-
const
|
|
6391
|
-
const config = validateAdapterConfig(untrustedConfig,
|
|
6390
|
+
const getCaseRelatedFileProcessInformationAdapterFactory = (luvio) => function healthcloud__getCaseRelatedFileProcessInformation(untrustedConfig, requestContext) {
|
|
6391
|
+
const config = validateAdapterConfig(untrustedConfig, getCaseRelatedFileProcessInformation_ConfigPropertyNames);
|
|
6392
6392
|
// Invalid or incomplete config
|
|
6393
6393
|
if (config === null) {
|
|
6394
6394
|
return null;
|
|
@@ -6397,4 +6397,4 @@ const getFlatDataProcessInformationAdapterFactory = (luvio) => function healthcl
|
|
|
6397
6397
|
buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
|
|
6398
6398
|
};
|
|
6399
6399
|
|
|
6400
|
-
export { adhocTasksAtmAdapterFactory, bookSlotChainAdapterFactory, broadcastVisitAssignmentAdapterFactory, cancelSlotChainAdapterFactory, createVisitBroadcastAdapterFactory, digitalVerificationAdapterFactory, genericConnectApiGETAdapterFactory, genericConnectApiPOSTAdapterFactory,
|
|
6400
|
+
export { adhocTasksAtmAdapterFactory, bookSlotChainAdapterFactory, broadcastVisitAssignmentAdapterFactory, cancelSlotChainAdapterFactory, createVisitBroadcastAdapterFactory, digitalVerificationAdapterFactory, genericConnectApiGETAdapterFactory, genericConnectApiPOSTAdapterFactory, getCaseRelatedFileProcessInformationAdapterFactory, getEntityDetailsInfoAdapterFactory, getQuotasAndAllocationAdapterFactory, getSlotChainsAdapterFactory, getSlotsAdapterFactory, getWorkTypeServiceTerritoriesAdapterFactory, moveToNextStepAdapterFactory, rescheduleSlotChainAdapterFactory, validateSlotChainAdapterFactory, workTypeLeadTimeAdapterFactory };
|