@integrahub/vergefy-client 0.12.0 → 0.14.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/README.md +2 -2
- package/dist/apis/APIAFLFlagApi.d.ts +44 -0
- package/dist/apis/APIAFLFlagApi.js +128 -0
- package/dist/esm/apis/APIAFLFlagApi.js +128 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/AffiliateTierHistoryDTO.js +9 -3
- package/dist/esm/models/AgentHierarchyCreateDTO.js +3 -1
- package/dist/esm/models/ArticleChannelStockCreateDTO.js +3 -1
- package/dist/esm/models/DataResponseDTOFlagEnvironmentDefinitionDTO.js +42 -0
- package/dist/esm/models/DealCloseDTO.js +3 -1
- package/dist/esm/models/DealStageUpdateDTO.js +3 -1
- package/dist/esm/models/FlagEnvironmentCreateApiDTO.js +51 -0
- package/dist/esm/models/FleetDeviceConsumableCreateDTO.js +6 -2
- package/dist/esm/models/FleetGeofenceCreateDTO.js +9 -3
- package/dist/esm/models/FleetTelemetryCreateDTO.js +6 -2
- package/dist/esm/models/GoodsReceiptDTO.js +3 -1
- package/dist/esm/models/InsuranceBrokerCreateDTO.js +6 -2
- package/dist/esm/models/InsuranceCarrierCreateDTO.js +3 -1
- package/dist/esm/models/InsuranceClaimCreateDTO.js +10 -4
- package/dist/esm/models/InsuranceCommissionCreateDTO.js +9 -3
- package/dist/esm/models/InsuranceCommissionStatementCreateDTO.js +11 -5
- package/dist/esm/models/InsurancePolicyCreateDTO.js +14 -6
- package/dist/esm/models/LoyaltyMemberEnrollDTO.js +6 -2
- package/dist/esm/models/ManufacturingProcessProfileCreateDTO.js +3 -1
- package/dist/esm/models/ManufacturingWorkOrderMaterialCreateDTO.js +6 -2
- package/dist/esm/models/PipelineStage.js +14 -0
- package/dist/esm/models/PipelineStageApiDTO.js +14 -0
- package/dist/esm/models/PlatformPaymentMethodDTO.js +3 -1
- package/dist/esm/models/SocialWorkflowCreateDTO.js +3 -1
- package/dist/esm/models/StockDTO.js +6 -2
- package/dist/esm/models/index.js +2 -0
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/AffiliateTierHistoryDTO.d.ts +3 -3
- package/dist/models/AffiliateTierHistoryDTO.js +9 -3
- package/dist/models/AgentHierarchyCreateDTO.d.ts +1 -1
- package/dist/models/AgentHierarchyCreateDTO.js +3 -1
- package/dist/models/ArticleChannelStockCreateDTO.d.ts +1 -1
- package/dist/models/ArticleChannelStockCreateDTO.js +3 -1
- package/dist/models/DataResponseDTOFlagEnvironmentDefinitionDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOFlagEnvironmentDefinitionDTO.js +49 -0
- package/dist/models/DealCloseDTO.d.ts +1 -1
- package/dist/models/DealCloseDTO.js +3 -1
- package/dist/models/DealStageUpdateDTO.d.ts +1 -1
- package/dist/models/DealStageUpdateDTO.js +3 -1
- package/dist/models/FlagEnvironmentCreateApiDTO.d.ts +50 -0
- package/dist/models/FlagEnvironmentCreateApiDTO.js +58 -0
- package/dist/models/FleetDeviceConsumableCreateDTO.d.ts +2 -2
- package/dist/models/FleetDeviceConsumableCreateDTO.js +6 -2
- package/dist/models/FleetGeofenceCreateDTO.d.ts +3 -3
- package/dist/models/FleetGeofenceCreateDTO.js +9 -3
- package/dist/models/FleetTelemetryCreateDTO.d.ts +2 -2
- package/dist/models/FleetTelemetryCreateDTO.js +6 -2
- package/dist/models/GoodsReceiptDTO.d.ts +1 -1
- package/dist/models/GoodsReceiptDTO.js +3 -1
- package/dist/models/InsuranceBrokerCreateDTO.d.ts +2 -2
- package/dist/models/InsuranceBrokerCreateDTO.js +6 -2
- package/dist/models/InsuranceCarrierCreateDTO.d.ts +1 -1
- package/dist/models/InsuranceCarrierCreateDTO.js +3 -1
- package/dist/models/InsuranceClaimCreateDTO.d.ts +3 -3
- package/dist/models/InsuranceClaimCreateDTO.js +10 -4
- package/dist/models/InsuranceCommissionCreateDTO.d.ts +3 -3
- package/dist/models/InsuranceCommissionCreateDTO.js +9 -3
- package/dist/models/InsuranceCommissionStatementCreateDTO.d.ts +3 -3
- package/dist/models/InsuranceCommissionStatementCreateDTO.js +11 -5
- package/dist/models/InsurancePolicyCreateDTO.d.ts +4 -4
- package/dist/models/InsurancePolicyCreateDTO.js +14 -6
- package/dist/models/LoyaltyMemberEnrollDTO.d.ts +2 -2
- package/dist/models/LoyaltyMemberEnrollDTO.js +6 -2
- package/dist/models/ManufacturingProcessProfileCreateDTO.d.ts +1 -1
- package/dist/models/ManufacturingProcessProfileCreateDTO.js +3 -1
- package/dist/models/ManufacturingWorkOrderMaterialCreateDTO.d.ts +2 -2
- package/dist/models/ManufacturingWorkOrderMaterialCreateDTO.js +6 -2
- package/dist/models/PipelineStage.d.ts +19 -0
- package/dist/models/PipelineStage.js +15 -1
- package/dist/models/PipelineStageApiDTO.d.ts +19 -0
- package/dist/models/PipelineStageApiDTO.js +15 -0
- package/dist/models/PlatformPaymentMethodDTO.d.ts +1 -1
- package/dist/models/PlatformPaymentMethodDTO.js +3 -1
- package/dist/models/SocialWorkflowCreateDTO.d.ts +1 -1
- package/dist/models/SocialWorkflowCreateDTO.js +3 -1
- package/dist/models/StockDTO.d.ts +2 -2
- package/dist/models/StockDTO.js +6 -2
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
|
@@ -24,8 +24,14 @@ export const FleetGeofenceCreateDTOTypeEnum = {
|
|
|
24
24
|
* Check if a given object implements the FleetGeofenceCreateDTO interface.
|
|
25
25
|
*/
|
|
26
26
|
export function instanceOfFleetGeofenceCreateDTO(value) {
|
|
27
|
+
if (!('centerLatitude' in value) || value['centerLatitude'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('centerLongitude' in value) || value['centerLongitude'] === undefined)
|
|
30
|
+
return false;
|
|
27
31
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
32
|
return false;
|
|
33
|
+
if (!('radius' in value) || value['radius'] === undefined)
|
|
34
|
+
return false;
|
|
29
35
|
return true;
|
|
30
36
|
}
|
|
31
37
|
export function FleetGeofenceCreateDTOFromJSON(json) {
|
|
@@ -36,8 +42,8 @@ export function FleetGeofenceCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
42
|
return json;
|
|
37
43
|
}
|
|
38
44
|
return {
|
|
39
|
-
'centerLatitude': json['centerLatitude']
|
|
40
|
-
'centerLongitude': json['centerLongitude']
|
|
45
|
+
'centerLatitude': json['centerLatitude'],
|
|
46
|
+
'centerLongitude': json['centerLongitude'],
|
|
41
47
|
'contactId': json['contactId'] == null ? undefined : json['contactId'],
|
|
42
48
|
'coordinates': json['coordinates'] == null ? undefined : json['coordinates'],
|
|
43
49
|
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
@@ -49,7 +55,7 @@ export function FleetGeofenceCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
55
|
'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
|
|
50
56
|
'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
|
|
51
57
|
'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
|
|
52
|
-
'radius': json['radius']
|
|
58
|
+
'radius': json['radius'],
|
|
53
59
|
'translation': json['translation'] == null ? undefined : TranslatedEntityEmbeddableDTOFromJSON(json['translation']),
|
|
54
60
|
'type': json['type'] == null ? undefined : json['type'],
|
|
55
61
|
};
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* Check if a given object implements the FleetTelemetryCreateDTO interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfFleetTelemetryCreateDTO(value) {
|
|
18
|
+
if (!('deviceId' in value) || value['deviceId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('metricValue' in value) || value['metricValue'] === undefined)
|
|
21
|
+
return false;
|
|
18
22
|
return true;
|
|
19
23
|
}
|
|
20
24
|
export function FleetTelemetryCreateDTOFromJSON(json) {
|
|
@@ -25,9 +29,9 @@ export function FleetTelemetryCreateDTOFromJSONTyped(json, ignoreDiscriminator)
|
|
|
25
29
|
return json;
|
|
26
30
|
}
|
|
27
31
|
return {
|
|
28
|
-
'deviceId': json['deviceId']
|
|
32
|
+
'deviceId': json['deviceId'],
|
|
29
33
|
'metricName': json['metricName'] == null ? undefined : json['metricName'],
|
|
30
|
-
'metricValue': json['metricValue']
|
|
34
|
+
'metricValue': json['metricValue'],
|
|
31
35
|
'qualityScore': json['qualityScore'] == null ? undefined : json['qualityScore'],
|
|
32
36
|
'rawData': json['rawData'] == null ? undefined : json['rawData'],
|
|
33
37
|
'recordedAt': json['recordedAt'] == null ? undefined : (new Date(json['recordedAt'])),
|
|
@@ -35,6 +35,8 @@ export const GoodsReceiptDTOStatusEnum = {
|
|
|
35
35
|
* Check if a given object implements the GoodsReceiptDTO interface.
|
|
36
36
|
*/
|
|
37
37
|
export function instanceOfGoodsReceiptDTO(value) {
|
|
38
|
+
if (!('warehouseId' in value) || value['warehouseId'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
40
42
|
export function GoodsReceiptDTOFromJSON(json) {
|
|
@@ -64,7 +66,7 @@ export function GoodsReceiptDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
66
|
'status': json['status'] == null ? undefined : json['status'],
|
|
65
67
|
'supplierId': json['supplierId'] == null ? undefined : json['supplierId'],
|
|
66
68
|
'version': json['version'] == null ? undefined : json['version'],
|
|
67
|
-
'warehouseId': json['warehouseId']
|
|
69
|
+
'warehouseId': json['warehouseId'],
|
|
68
70
|
};
|
|
69
71
|
}
|
|
70
72
|
export function GoodsReceiptDTOToJSON(json) {
|
|
@@ -43,6 +43,10 @@ export const InsuranceBrokerCreateDTORegionEnum = {
|
|
|
43
43
|
* Check if a given object implements the InsuranceBrokerCreateDTO interface.
|
|
44
44
|
*/
|
|
45
45
|
export function instanceOfInsuranceBrokerCreateDTO(value) {
|
|
46
|
+
if (!('brokerType' in value) || value['brokerType'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('region' in value) || value['region'] === undefined)
|
|
49
|
+
return false;
|
|
46
50
|
return true;
|
|
47
51
|
}
|
|
48
52
|
export function InsuranceBrokerCreateDTOFromJSON(json) {
|
|
@@ -55,7 +59,7 @@ export function InsuranceBrokerCreateDTOFromJSONTyped(json, ignoreDiscriminator)
|
|
|
55
59
|
return {
|
|
56
60
|
'brokerCode': json['brokerCode'] == null ? undefined : json['brokerCode'],
|
|
57
61
|
'brokerName': json['brokerName'] == null ? undefined : json['brokerName'],
|
|
58
|
-
'brokerType': json['brokerType']
|
|
62
|
+
'brokerType': json['brokerType'],
|
|
59
63
|
'commissionSplitPercentage': json['commissionSplitPercentage'] == null ? undefined : json['commissionSplitPercentage'],
|
|
60
64
|
'companyId': json['companyId'] == null ? undefined : json['companyId'],
|
|
61
65
|
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
@@ -68,7 +72,7 @@ export function InsuranceBrokerCreateDTOFromJSONTyped(json, ignoreDiscriminator)
|
|
|
68
72
|
'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
|
|
69
73
|
'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
|
|
70
74
|
'primaryContactId': json['primaryContactId'] == null ? undefined : json['primaryContactId'],
|
|
71
|
-
'region': json['region']
|
|
75
|
+
'region': json['region'],
|
|
72
76
|
'status': json['status'] == null ? undefined : json['status'],
|
|
73
77
|
'tagIds': json['tagIds'] == null ? undefined : json['tagIds'],
|
|
74
78
|
};
|
|
@@ -26,6 +26,8 @@ export const InsuranceCarrierCreateDTORegionEnum = {
|
|
|
26
26
|
* Check if a given object implements the InsuranceCarrierCreateDTO interface.
|
|
27
27
|
*/
|
|
28
28
|
export function instanceOfInsuranceCarrierCreateDTO(value) {
|
|
29
|
+
if (!('region' in value) || value['region'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
return true;
|
|
30
32
|
}
|
|
31
33
|
export function InsuranceCarrierCreateDTOFromJSON(json) {
|
|
@@ -48,7 +50,7 @@ export function InsuranceCarrierCreateDTOFromJSONTyped(json, ignoreDiscriminator
|
|
|
48
50
|
'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
|
|
49
51
|
'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
|
|
50
52
|
'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
|
|
51
|
-
'region': json['region']
|
|
53
|
+
'region': json['region'],
|
|
52
54
|
'status': json['status'] == null ? undefined : json['status'],
|
|
53
55
|
'supportedProducts': json['supportedProducts'] == null ? undefined : json['supportedProducts'],
|
|
54
56
|
};
|
|
@@ -31,6 +31,12 @@ export const InsuranceClaimCreateDTOStatusEnum = {
|
|
|
31
31
|
* Check if a given object implements the InsuranceClaimCreateDTO interface.
|
|
32
32
|
*/
|
|
33
33
|
export function instanceOfInsuranceClaimCreateDTO(value) {
|
|
34
|
+
if (!('claimedAmount' in value) || value['claimedAmount'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('lossAt' in value) || value['lossAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('policyId' in value) || value['policyId'] === undefined)
|
|
39
|
+
return false;
|
|
34
40
|
return true;
|
|
35
41
|
}
|
|
36
42
|
export function InsuranceClaimCreateDTOFromJSON(json) {
|
|
@@ -43,18 +49,18 @@ export function InsuranceClaimCreateDTOFromJSONTyped(json, ignoreDiscriminator)
|
|
|
43
49
|
return {
|
|
44
50
|
'adjusterPersonId': json['adjusterPersonId'] == null ? undefined : json['adjusterPersonId'],
|
|
45
51
|
'claimNumber': json['claimNumber'] == null ? undefined : json['claimNumber'],
|
|
46
|
-
'claimedAmount': json['claimedAmount']
|
|
52
|
+
'claimedAmount': json['claimedAmount'],
|
|
47
53
|
'currency': json['currency'] == null ? undefined : json['currency'],
|
|
48
54
|
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
49
55
|
'description': json['description'] == null ? undefined : json['description'],
|
|
50
56
|
'documentIds': json['documentIds'] == null ? undefined : json['documentIds'],
|
|
51
|
-
'lossAt':
|
|
57
|
+
'lossAt': (new Date(json['lossAt'])),
|
|
52
58
|
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
53
59
|
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
54
60
|
'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
|
|
55
61
|
'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
|
|
56
62
|
'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
|
|
57
|
-
'policyId': json['policyId']
|
|
63
|
+
'policyId': json['policyId'],
|
|
58
64
|
'reportedAt': json['reportedAt'] == null ? undefined : (new Date(json['reportedAt'])),
|
|
59
65
|
'reserveAmount': json['reserveAmount'] == null ? undefined : json['reserveAmount'],
|
|
60
66
|
'status': json['status'] == null ? undefined : json['status'],
|
|
@@ -75,7 +81,7 @@ export function InsuranceClaimCreateDTOToJSONTyped(value, ignoreDiscriminator =
|
|
|
75
81
|
'customId': value['customId'],
|
|
76
82
|
'description': value['description'],
|
|
77
83
|
'documentIds': value['documentIds'],
|
|
78
|
-
'lossAt': value['lossAt']
|
|
84
|
+
'lossAt': value['lossAt'].toISOString(),
|
|
79
85
|
'namespaceKey': value['namespaceKey'],
|
|
80
86
|
'orderNumber': value['orderNumber'],
|
|
81
87
|
'permissionAdmin': value['permissionAdmin'],
|
|
@@ -34,6 +34,12 @@ export const InsuranceCommissionCreateDTOPaymentStatusEnum = {
|
|
|
34
34
|
* Check if a given object implements the InsuranceCommissionCreateDTO interface.
|
|
35
35
|
*/
|
|
36
36
|
export function instanceOfInsuranceCommissionCreateDTO(value) {
|
|
37
|
+
if (!('brokerId' in value) || value['brokerId'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('grossCommission' in value) || value['grossCommission'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('policyId' in value) || value['policyId'] === undefined)
|
|
42
|
+
return false;
|
|
37
43
|
return true;
|
|
38
44
|
}
|
|
39
45
|
export function InsuranceCommissionCreateDTOFromJSON(json) {
|
|
@@ -44,12 +50,12 @@ export function InsuranceCommissionCreateDTOFromJSONTyped(json, ignoreDiscrimina
|
|
|
44
50
|
return json;
|
|
45
51
|
}
|
|
46
52
|
return {
|
|
47
|
-
'brokerId': json['brokerId']
|
|
53
|
+
'brokerId': json['brokerId'],
|
|
48
54
|
'brokerSplit': json['brokerSplit'] == null ? undefined : json['brokerSplit'],
|
|
49
55
|
'commissionType': json['commissionType'] == null ? undefined : json['commissionType'],
|
|
50
56
|
'currency': json['currency'] == null ? undefined : json['currency'],
|
|
51
57
|
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
52
|
-
'grossCommission': json['grossCommission']
|
|
58
|
+
'grossCommission': json['grossCommission'],
|
|
53
59
|
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
54
60
|
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
55
61
|
'paymentStatus': json['paymentStatus'] == null ? undefined : json['paymentStatus'],
|
|
@@ -57,7 +63,7 @@ export function InsuranceCommissionCreateDTOFromJSONTyped(json, ignoreDiscrimina
|
|
|
57
63
|
'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
|
|
58
64
|
'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
|
|
59
65
|
'platformSplit': json['platformSplit'] == null ? undefined : json['platformSplit'],
|
|
60
|
-
'policyId': json['policyId']
|
|
66
|
+
'policyId': json['policyId'],
|
|
61
67
|
};
|
|
62
68
|
}
|
|
63
69
|
export function InsuranceCommissionCreateDTOToJSON(json) {
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* Check if a given object implements the InsuranceCommissionStatementCreateDTO interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfInsuranceCommissionStatementCreateDTO(value) {
|
|
18
|
+
if (!('brokerId' in value) || value['brokerId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('periodEndAt' in value) || value['periodEndAt'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('periodStartAt' in value) || value['periodStartAt'] === undefined)
|
|
23
|
+
return false;
|
|
18
24
|
return true;
|
|
19
25
|
}
|
|
20
26
|
export function InsuranceCommissionStatementCreateDTOFromJSON(json) {
|
|
@@ -25,13 +31,13 @@ export function InsuranceCommissionStatementCreateDTOFromJSONTyped(json, ignoreD
|
|
|
25
31
|
return json;
|
|
26
32
|
}
|
|
27
33
|
return {
|
|
28
|
-
'brokerId': json['brokerId']
|
|
34
|
+
'brokerId': json['brokerId'],
|
|
29
35
|
'currency': json['currency'] == null ? undefined : json['currency'],
|
|
30
36
|
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
31
37
|
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
32
38
|
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
33
|
-
'periodEndAt':
|
|
34
|
-
'periodStartAt':
|
|
39
|
+
'periodEndAt': (new Date(json['periodEndAt'])),
|
|
40
|
+
'periodStartAt': (new Date(json['periodStartAt'])),
|
|
35
41
|
'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
|
|
36
42
|
'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
|
|
37
43
|
'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
|
|
@@ -55,8 +61,8 @@ export function InsuranceCommissionStatementCreateDTOToJSONTyped(value, ignoreDi
|
|
|
55
61
|
'customId': value['customId'],
|
|
56
62
|
'namespaceKey': value['namespaceKey'],
|
|
57
63
|
'orderNumber': value['orderNumber'],
|
|
58
|
-
'periodEndAt': value['periodEndAt']
|
|
59
|
-
'periodStartAt': value['periodStartAt']
|
|
64
|
+
'periodEndAt': value['periodEndAt'].toISOString(),
|
|
65
|
+
'periodStartAt': value['periodStartAt'].toISOString(),
|
|
60
66
|
'permissionAdmin': value['permissionAdmin'],
|
|
61
67
|
'permissionRead': value['permissionRead'],
|
|
62
68
|
'permissionWrite': value['permissionWrite'],
|
|
@@ -44,6 +44,14 @@ export const InsurancePolicyCreateDTOStatusEnum = {
|
|
|
44
44
|
* Check if a given object implements the InsurancePolicyCreateDTO interface.
|
|
45
45
|
*/
|
|
46
46
|
export function instanceOfInsurancePolicyCreateDTO(value) {
|
|
47
|
+
if (!('brokerId' in value) || value['brokerId'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('effectiveAt' in value) || value['effectiveAt'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('expiryAt' in value) || value['expiryAt'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('policyType' in value) || value['policyType'] === undefined)
|
|
54
|
+
return false;
|
|
47
55
|
return true;
|
|
48
56
|
}
|
|
49
57
|
export function InsurancePolicyCreateDTOFromJSON(json) {
|
|
@@ -54,7 +62,7 @@ export function InsurancePolicyCreateDTOFromJSONTyped(json, ignoreDiscriminator)
|
|
|
54
62
|
return json;
|
|
55
63
|
}
|
|
56
64
|
return {
|
|
57
|
-
'brokerId': json['brokerId']
|
|
65
|
+
'brokerId': json['brokerId'],
|
|
58
66
|
'carrierId': json['carrierId'] == null ? undefined : json['carrierId'],
|
|
59
67
|
'commissionAmount': json['commissionAmount'] == null ? undefined : json['commissionAmount'],
|
|
60
68
|
'commissionPercentage': json['commissionPercentage'] == null ? undefined : json['commissionPercentage'],
|
|
@@ -63,8 +71,8 @@ export function InsurancePolicyCreateDTOFromJSONTyped(json, ignoreDiscriminator)
|
|
|
63
71
|
'deductible': json['deductible'] == null ? undefined : json['deductible'],
|
|
64
72
|
'description': json['description'] == null ? undefined : json['description'],
|
|
65
73
|
'documentIds': json['documentIds'] == null ? undefined : json['documentIds'],
|
|
66
|
-
'effectiveAt':
|
|
67
|
-
'expiryAt':
|
|
74
|
+
'effectiveAt': (new Date(json['effectiveAt'])),
|
|
75
|
+
'expiryAt': (new Date(json['expiryAt'])),
|
|
68
76
|
'insuredCompanyId': json['insuredCompanyId'] == null ? undefined : json['insuredCompanyId'],
|
|
69
77
|
'insuredPersonId': json['insuredPersonId'] == null ? undefined : json['insuredPersonId'],
|
|
70
78
|
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
@@ -74,7 +82,7 @@ export function InsurancePolicyCreateDTOFromJSONTyped(json, ignoreDiscriminator)
|
|
|
74
82
|
'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
|
|
75
83
|
'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
|
|
76
84
|
'policyNumber': json['policyNumber'] == null ? undefined : json['policyNumber'],
|
|
77
|
-
'policyType': json['policyType']
|
|
85
|
+
'policyType': json['policyType'],
|
|
78
86
|
'premiumAmount': json['premiumAmount'] == null ? undefined : json['premiumAmount'],
|
|
79
87
|
'premiumCurrency': json['premiumCurrency'] == null ? undefined : json['premiumCurrency'],
|
|
80
88
|
'productId': json['productId'] == null ? undefined : json['productId'],
|
|
@@ -99,8 +107,8 @@ export function InsurancePolicyCreateDTOToJSONTyped(value, ignoreDiscriminator =
|
|
|
99
107
|
'deductible': value['deductible'],
|
|
100
108
|
'description': value['description'],
|
|
101
109
|
'documentIds': value['documentIds'],
|
|
102
|
-
'effectiveAt': value['effectiveAt']
|
|
103
|
-
'expiryAt': value['expiryAt']
|
|
110
|
+
'effectiveAt': value['effectiveAt'].toISOString(),
|
|
111
|
+
'expiryAt': value['expiryAt'].toISOString(),
|
|
104
112
|
'insuredCompanyId': value['insuredCompanyId'],
|
|
105
113
|
'insuredPersonId': value['insuredPersonId'],
|
|
106
114
|
'namespaceKey': value['namespaceKey'],
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* Check if a given object implements the LoyaltyMemberEnrollDTO interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfLoyaltyMemberEnrollDTO(value) {
|
|
18
|
+
if (!('contactId' in value) || value['contactId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('programId' in value) || value['programId'] === undefined)
|
|
21
|
+
return false;
|
|
18
22
|
return true;
|
|
19
23
|
}
|
|
20
24
|
export function LoyaltyMemberEnrollDTOFromJSON(json) {
|
|
@@ -25,9 +29,9 @@ export function LoyaltyMemberEnrollDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
29
|
return json;
|
|
26
30
|
}
|
|
27
31
|
return {
|
|
28
|
-
'contactId': json['contactId']
|
|
32
|
+
'contactId': json['contactId'],
|
|
29
33
|
'emailOptIn': json['emailOptIn'] == null ? undefined : json['emailOptIn'],
|
|
30
|
-
'programId': json['programId']
|
|
34
|
+
'programId': json['programId'],
|
|
31
35
|
'pushOptIn': json['pushOptIn'] == null ? undefined : json['pushOptIn'],
|
|
32
36
|
'smsOptIn': json['smsOptIn'] == null ? undefined : json['smsOptIn'],
|
|
33
37
|
};
|
|
@@ -25,6 +25,8 @@ export const ManufacturingProcessProfileCreateDTOProcessTypeEnum = {
|
|
|
25
25
|
* Check if a given object implements the ManufacturingProcessProfileCreateDTO interface.
|
|
26
26
|
*/
|
|
27
27
|
export function instanceOfManufacturingProcessProfileCreateDTO(value) {
|
|
28
|
+
if (!('processType' in value) || value['processType'] === undefined)
|
|
29
|
+
return false;
|
|
28
30
|
return true;
|
|
29
31
|
}
|
|
30
32
|
export function ManufacturingProcessProfileCreateDTOFromJSON(json) {
|
|
@@ -46,7 +48,7 @@ export function ManufacturingProcessProfileCreateDTOFromJSONTyped(json, ignoreDi
|
|
|
46
48
|
'permissionAdmin': json['permissionAdmin'] == null ? undefined : json['permissionAdmin'],
|
|
47
49
|
'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
|
|
48
50
|
'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
|
|
49
|
-
'processType': json['processType']
|
|
51
|
+
'processType': json['processType'],
|
|
50
52
|
'profileKey': json['profileKey'] == null ? undefined : json['profileKey'],
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* Check if a given object implements the ManufacturingWorkOrderMaterialCreateDTO interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfManufacturingWorkOrderMaterialCreateDTO(value) {
|
|
18
|
+
if (!('stockId' in value) || value['stockId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('workOrderId' in value) || value['workOrderId'] === undefined)
|
|
21
|
+
return false;
|
|
18
22
|
return true;
|
|
19
23
|
}
|
|
20
24
|
export function ManufacturingWorkOrderMaterialCreateDTOFromJSON(json) {
|
|
@@ -33,9 +37,9 @@ export function ManufacturingWorkOrderMaterialCreateDTOFromJSONTyped(json, ignor
|
|
|
33
37
|
'permissionRead': json['permissionRead'] == null ? undefined : json['permissionRead'],
|
|
34
38
|
'permissionWrite': json['permissionWrite'] == null ? undefined : json['permissionWrite'],
|
|
35
39
|
'quantityPerUnit': json['quantityPerUnit'] == null ? undefined : json['quantityPerUnit'],
|
|
36
|
-
'stockId': json['stockId']
|
|
40
|
+
'stockId': json['stockId'],
|
|
37
41
|
'uom': json['uom'] == null ? undefined : json['uom'],
|
|
38
|
-
'workOrderId': json['workOrderId']
|
|
42
|
+
'workOrderId': json['workOrderId'],
|
|
39
43
|
};
|
|
40
44
|
}
|
|
41
45
|
export function ManufacturingWorkOrderMaterialCreateDTOToJSON(json) {
|
|
@@ -12,6 +12,18 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { ElementPermissionBasedEntityEmbeddableFromJSON, ElementPermissionBasedEntityEmbeddableToJSON, } from './ElementPermissionBasedEntityEmbeddable';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const PipelineStageDealStageEnum = {
|
|
19
|
+
Open: 'OPEN',
|
|
20
|
+
Qualification: 'QUALIFICATION',
|
|
21
|
+
NeedsAnalysis: 'NEEDS_ANALYSIS',
|
|
22
|
+
Proposal: 'PROPOSAL',
|
|
23
|
+
Negotiation: 'NEGOTIATION',
|
|
24
|
+
Won: 'WON',
|
|
25
|
+
Lost: 'LOST'
|
|
26
|
+
};
|
|
15
27
|
/**
|
|
16
28
|
* @export
|
|
17
29
|
*/
|
|
@@ -39,6 +51,7 @@ export function PipelineStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
51
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
40
52
|
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
41
53
|
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
54
|
+
'dealStage': json['dealStage'] == null ? undefined : json['dealStage'],
|
|
42
55
|
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
43
56
|
'description': json['description'] == null ? undefined : json['description'],
|
|
44
57
|
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
@@ -68,6 +81,7 @@ export function PipelineStageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
68
81
|
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
69
82
|
'createdBy': value['createdBy'],
|
|
70
83
|
'customId': value['customId'],
|
|
84
|
+
'dealStage': value['dealStage'],
|
|
71
85
|
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
72
86
|
'description': value['description'],
|
|
73
87
|
'entityStatus': value['entityStatus'],
|
|
@@ -11,6 +11,18 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PipelineStageApiDTODealStageEnum = {
|
|
18
|
+
Open: 'OPEN',
|
|
19
|
+
Qualification: 'QUALIFICATION',
|
|
20
|
+
NeedsAnalysis: 'NEEDS_ANALYSIS',
|
|
21
|
+
Proposal: 'PROPOSAL',
|
|
22
|
+
Negotiation: 'NEGOTIATION',
|
|
23
|
+
Won: 'WON',
|
|
24
|
+
Lost: 'LOST'
|
|
25
|
+
};
|
|
14
26
|
/**
|
|
15
27
|
* Check if a given object implements the PipelineStageApiDTO interface.
|
|
16
28
|
*/
|
|
@@ -25,6 +37,7 @@ export function PipelineStageApiDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
37
|
return json;
|
|
26
38
|
}
|
|
27
39
|
return {
|
|
40
|
+
'dealStage': json['dealStage'] == null ? undefined : json['dealStage'],
|
|
28
41
|
'description': json['description'] == null ? undefined : json['description'],
|
|
29
42
|
'id': json['id'] == null ? undefined : json['id'],
|
|
30
43
|
'name': json['name'] == null ? undefined : json['name'],
|
|
@@ -40,6 +53,7 @@ export function PipelineStageApiDTOToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
40
53
|
return value;
|
|
41
54
|
}
|
|
42
55
|
return {
|
|
56
|
+
'dealStage': value['dealStage'],
|
|
43
57
|
'description': value['description'],
|
|
44
58
|
'id': value['id'],
|
|
45
59
|
'name': value['name'],
|
|
@@ -28,6 +28,8 @@ export const PlatformPaymentMethodDTOEntityStatusEnum = {
|
|
|
28
28
|
* Check if a given object implements the PlatformPaymentMethodDTO interface.
|
|
29
29
|
*/
|
|
30
30
|
export function instanceOfPlatformPaymentMethodDTO(value) {
|
|
31
|
+
if (!('paymentMethod' in value) || value['paymentMethod'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
export function PlatformPaymentMethodDTOFromJSON(json) {
|
|
@@ -50,7 +52,7 @@ export function PlatformPaymentMethodDTOFromJSONTyped(json, ignoreDiscriminator)
|
|
|
50
52
|
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
51
53
|
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
52
54
|
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
53
|
-
'paymentMethod':
|
|
55
|
+
'paymentMethod': PaymentMethodDTOFromJSON(json['paymentMethod']),
|
|
54
56
|
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
55
57
|
'version': json['version'] == null ? undefined : json['version'],
|
|
56
58
|
};
|
|
@@ -37,6 +37,8 @@ export const SocialWorkflowCreateDTOWorkflowTypeEnum = {
|
|
|
37
37
|
export function instanceOfSocialWorkflowCreateDTO(value) {
|
|
38
38
|
if (!('name' in value) || value['name'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('scheduleExpression' in value) || value['scheduleExpression'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('workflowType' in value) || value['workflowType'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
return true;
|
|
@@ -62,7 +64,7 @@ export function SocialWorkflowCreateDTOFromJSONTyped(json, ignoreDiscriminator)
|
|
|
62
64
|
'platformIds': json['platformIds'] == null ? undefined : json['platformIds'],
|
|
63
65
|
'priority': json['priority'] == null ? undefined : json['priority'],
|
|
64
66
|
'retryDelayMinutes': json['retryDelayMinutes'] == null ? undefined : json['retryDelayMinutes'],
|
|
65
|
-
'scheduleExpression': json['scheduleExpression']
|
|
67
|
+
'scheduleExpression': json['scheduleExpression'],
|
|
66
68
|
'scheduled': json['scheduled'] == null ? undefined : json['scheduled'],
|
|
67
69
|
'tagIds': json['tagIds'] == null ? undefined : json['tagIds'],
|
|
68
70
|
'timeoutMinutes': json['timeoutMinutes'] == null ? undefined : json['timeoutMinutes'],
|
|
@@ -30,6 +30,10 @@ export const StockDTOEntityStatusEnum = {
|
|
|
30
30
|
* Check if a given object implements the StockDTO interface.
|
|
31
31
|
*/
|
|
32
32
|
export function instanceOfStockDTO(value) {
|
|
33
|
+
if (!('inventory' in value) || value['inventory'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('product' in value) || value['product'] === undefined)
|
|
36
|
+
return false;
|
|
33
37
|
return true;
|
|
34
38
|
}
|
|
35
39
|
export function StockDTOFromJSON(json) {
|
|
@@ -48,13 +52,13 @@ export function StockDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
52
|
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
49
53
|
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
50
54
|
'id': json['id'] == null ? undefined : json['id'],
|
|
51
|
-
'inventory':
|
|
55
|
+
'inventory': InventoryDTOFromJSON(json['inventory']),
|
|
52
56
|
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
53
57
|
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
54
58
|
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
55
59
|
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
56
60
|
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
|
|
57
|
-
'product':
|
|
61
|
+
'product': ProductDTOFromJSON(json['product']),
|
|
58
62
|
'quantity': json['quantity'] == null ? undefined : json['quantity'],
|
|
59
63
|
'stockLotId': json['stockLotId'] == null ? undefined : json['stockLotId'],
|
|
60
64
|
'supplier': json['supplier'] == null ? undefined : SupplierDTOFromJSON(json['supplier']),
|
package/dist/esm/models/index.js
CHANGED
|
@@ -448,6 +448,7 @@ export * from './DataResponseDTOFiscalPeriodDTO';
|
|
|
448
448
|
export * from './DataResponseDTOFiscalYearDTO';
|
|
449
449
|
export * from './DataResponseDTOFixedAssetDTO';
|
|
450
450
|
export * from './DataResponseDTOFlagDTO';
|
|
451
|
+
export * from './DataResponseDTOFlagEnvironmentDefinitionDTO';
|
|
451
452
|
export * from './DataResponseDTOFlagEnvironmentValueDTO';
|
|
452
453
|
export * from './DataResponseDTOFleetAlertDTO';
|
|
453
454
|
export * from './DataResponseDTOFleetAlertRuleDTO';
|
|
@@ -858,6 +859,7 @@ export * from './FixedAssetSearchDTO';
|
|
|
858
859
|
export * from './FixedAssetUpdateDTO';
|
|
859
860
|
export * from './FlagCreateApiDTO';
|
|
860
861
|
export * from './FlagDTO';
|
|
862
|
+
export * from './FlagEnvironmentCreateApiDTO';
|
|
861
863
|
export * from './FlagEnvironmentDefinitionDTO';
|
|
862
864
|
export * from './FlagEnvironmentValueDTO';
|
|
863
865
|
export * from './FlagEvaluationRequestDTO';
|
package/dist/ext/telemetry.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Mirrors the canonical Java `ext/Telemetry`.
|
|
7
7
|
*/
|
|
8
8
|
/** Kept in sync with `vergefySdkVersion` (the published artifact version). */
|
|
9
|
-
export declare const VERSION = "0.
|
|
9
|
+
export declare const VERSION = "0.14.0";
|
|
10
10
|
/** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
|
|
11
11
|
export declare function userAgent(): string;
|
|
12
12
|
/** The structured `X-Vergefy-Client-User-Agent` JSON header value. */
|
package/dist/ext/telemetry.js
CHANGED
|
@@ -14,7 +14,7 @@ exports.userAgent = userAgent;
|
|
|
14
14
|
exports.clientInfo = clientInfo;
|
|
15
15
|
exports.telemetryHeaders = telemetryHeaders;
|
|
16
16
|
/** Kept in sync with `vergefySdkVersion` (the published artifact version). */
|
|
17
|
-
exports.VERSION = '0.
|
|
17
|
+
exports.VERSION = '0.14.0';
|
|
18
18
|
const NAME = 'vergefy-typescript-client';
|
|
19
19
|
/** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
|
|
20
20
|
function userAgent() {
|
|
@@ -21,7 +21,7 @@ export interface AffiliateTierHistoryDTO {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof AffiliateTierHistoryDTO
|
|
23
23
|
*/
|
|
24
|
-
affiliateAccountId
|
|
24
|
+
affiliateAccountId: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {Date}
|
|
@@ -99,7 +99,7 @@ export interface AffiliateTierHistoryDTO {
|
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @memberof AffiliateTierHistoryDTO
|
|
101
101
|
*/
|
|
102
|
-
newTierId
|
|
102
|
+
newTierId: string;
|
|
103
103
|
/**
|
|
104
104
|
*
|
|
105
105
|
* @type {string}
|
|
@@ -129,7 +129,7 @@ export interface AffiliateTierHistoryDTO {
|
|
|
129
129
|
* @type {AffiliateTierHistoryDTOReasonEnum}
|
|
130
130
|
* @memberof AffiliateTierHistoryDTO
|
|
131
131
|
*/
|
|
132
|
-
reason
|
|
132
|
+
reason: AffiliateTierHistoryDTOReasonEnum;
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
135
|
* @type {string}
|
|
@@ -45,6 +45,12 @@ exports.AffiliateTierHistoryDTOReasonEnum = {
|
|
|
45
45
|
* Check if a given object implements the AffiliateTierHistoryDTO interface.
|
|
46
46
|
*/
|
|
47
47
|
function instanceOfAffiliateTierHistoryDTO(value) {
|
|
48
|
+
if (!('affiliateAccountId' in value) || value['affiliateAccountId'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('newTierId' in value) || value['newTierId'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
53
|
+
return false;
|
|
48
54
|
return true;
|
|
49
55
|
}
|
|
50
56
|
function AffiliateTierHistoryDTOFromJSON(json) {
|
|
@@ -55,7 +61,7 @@ function AffiliateTierHistoryDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
61
|
return json;
|
|
56
62
|
}
|
|
57
63
|
return {
|
|
58
|
-
'affiliateAccountId': json['affiliateAccountId']
|
|
64
|
+
'affiliateAccountId': json['affiliateAccountId'],
|
|
59
65
|
'changedAt': json['changedAt'] == null ? undefined : (new Date(json['changedAt'])),
|
|
60
66
|
'changedBy': json['changedBy'] == null ? undefined : json['changedBy'],
|
|
61
67
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
@@ -68,12 +74,12 @@ function AffiliateTierHistoryDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
74
|
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
69
75
|
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
70
76
|
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
71
|
-
'newTierId': json['newTierId']
|
|
77
|
+
'newTierId': json['newTierId'],
|
|
72
78
|
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
73
79
|
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
74
80
|
'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOFromJSON)(json['permission']),
|
|
75
81
|
'previousTierId': json['previousTierId'] == null ? undefined : json['previousTierId'],
|
|
76
|
-
'reason': json['reason']
|
|
82
|
+
'reason': json['reason'],
|
|
77
83
|
'salesAmountAtChange': json['salesAmountAtChange'] == null ? undefined : json['salesAmountAtChange'],
|
|
78
84
|
'salesCountAtChange': json['salesCountAtChange'] == null ? undefined : json['salesCountAtChange'],
|
|
79
85
|
'version': json['version'] == null ? undefined : json['version'],
|