@leadping/sdk 1.0.75 → 1.0.76
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/models/index.d.ts +72 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +77 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -147,6 +147,15 @@ export function createAutomationConnectionFromDiscriminatorValue(parseNode) {
|
|
|
147
147
|
export function createAutomationConsoleResponseFromDiscriminatorValue(parseNode) {
|
|
148
148
|
return deserializeIntoAutomationConsoleResponse;
|
|
149
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
152
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
153
|
+
* @returns {AutomationLineage}
|
|
154
|
+
*/
|
|
155
|
+
// @ts-ignore
|
|
156
|
+
export function createAutomationLineageFromDiscriminatorValue(parseNode) {
|
|
157
|
+
return deserializeIntoAutomationLineage;
|
|
158
|
+
}
|
|
150
159
|
/**
|
|
151
160
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
152
161
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -237,6 +246,15 @@ export function createAutomationResponse_userFromDiscriminatorValue(parseNode) {
|
|
|
237
246
|
export function createAutomationResponseFromDiscriminatorValue(parseNode) {
|
|
238
247
|
return deserializeIntoAutomationResponse;
|
|
239
248
|
}
|
|
249
|
+
/**
|
|
250
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
251
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
252
|
+
* @returns {AutomationRunRecord_automationLineage}
|
|
253
|
+
*/
|
|
254
|
+
// @ts-ignore
|
|
255
|
+
export function createAutomationRunRecord_automationLineageFromDiscriminatorValue(parseNode) {
|
|
256
|
+
return deserializeIntoAutomationRunRecord_automationLineage;
|
|
257
|
+
}
|
|
240
258
|
/**
|
|
241
259
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
242
260
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2702,6 +2720,21 @@ export function deserializeIntoAutomationConsoleResponse(automationConsoleRespon
|
|
|
2702
2720
|
"runs": n => { automationConsoleResponse.runs = n.getCollectionOfObjectValues(createAutomationWorkflowRunResponseFromDiscriminatorValue); },
|
|
2703
2721
|
};
|
|
2704
2722
|
}
|
|
2723
|
+
/**
|
|
2724
|
+
* The deserialization information for the current model
|
|
2725
|
+
* @param AutomationLineage The instance to deserialize into.
|
|
2726
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2727
|
+
*/
|
|
2728
|
+
// @ts-ignore
|
|
2729
|
+
export function deserializeIntoAutomationLineage(automationLineage = {}) {
|
|
2730
|
+
return {
|
|
2731
|
+
"actionId": n => { automationLineage.actionId = n.getStringValue(); },
|
|
2732
|
+
"automationIds": n => { automationLineage.automationIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
2733
|
+
"rootEventId": n => { automationLineage.rootEventId = n.getStringValue(); },
|
|
2734
|
+
"runId": n => { automationLineage.runId = n.getStringValue(); },
|
|
2735
|
+
"triggerEventId": n => { automationLineage.triggerEventId = n.getStringValue(); },
|
|
2736
|
+
};
|
|
2737
|
+
}
|
|
2705
2738
|
/**
|
|
2706
2739
|
* The deserialization information for the current model
|
|
2707
2740
|
* @param AutomationPreviewActionResult The instance to deserialize into.
|
|
@@ -2879,6 +2912,7 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
|
|
|
2879
2912
|
return {
|
|
2880
2913
|
"actions": n => { automationRunRecord.actions = n.getCollectionOfObjectValues(createAutomationActionRunRecordFromDiscriminatorValue); },
|
|
2881
2914
|
"automationId": n => { automationRunRecord.automationId = n.getStringValue(); },
|
|
2915
|
+
"automationLineage": n => { automationRunRecord.automationLineage = n.getObjectValue(createAutomationRunRecord_automationLineageFromDiscriminatorValue); },
|
|
2882
2916
|
"completedAt": n => { automationRunRecord.completedAt = n.getDateValue(); },
|
|
2883
2917
|
"conditionResults": n => { automationRunRecord.conditionResults = n.getObjectValue(createAutomationRunRecord_conditionResultsFromDiscriminatorValue); },
|
|
2884
2918
|
"executionMode": n => { automationRunRecord.executionMode = n.getStringValue(); },
|
|
@@ -2895,6 +2929,17 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
|
|
|
2895
2929
|
"triggerType": n => { automationRunRecord.triggerType = n.getStringValue(); },
|
|
2896
2930
|
};
|
|
2897
2931
|
}
|
|
2932
|
+
/**
|
|
2933
|
+
* The deserialization information for the current model
|
|
2934
|
+
* @param AutomationRunRecord_automationLineage The instance to deserialize into.
|
|
2935
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2936
|
+
*/
|
|
2937
|
+
// @ts-ignore
|
|
2938
|
+
export function deserializeIntoAutomationRunRecord_automationLineage(automationRunRecord_automationLineage = {}) {
|
|
2939
|
+
return {
|
|
2940
|
+
...deserializeIntoAutomationLineage(automationRunRecord_automationLineage),
|
|
2941
|
+
};
|
|
2942
|
+
}
|
|
2898
2943
|
/**
|
|
2899
2944
|
* The deserialization information for the current model
|
|
2900
2945
|
* @param AutomationRunRecord_conditionResults The instance to deserialize into.
|
|
@@ -7483,6 +7528,24 @@ export function serializeAutomationConsoleResponse(writer, automationConsoleResp
|
|
|
7483
7528
|
writer.writeCollectionOfObjectValues("runs", automationConsoleResponse.runs, serializeAutomationWorkflowRunResponse);
|
|
7484
7529
|
writer.writeAdditionalData(automationConsoleResponse.additionalData);
|
|
7485
7530
|
}
|
|
7531
|
+
/**
|
|
7532
|
+
* Serializes information the current object
|
|
7533
|
+
* @param AutomationLineage The instance to serialize from.
|
|
7534
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7535
|
+
* @param writer Serialization writer to use to serialize this model
|
|
7536
|
+
*/
|
|
7537
|
+
// @ts-ignore
|
|
7538
|
+
export function serializeAutomationLineage(writer, automationLineage = {}, isSerializingDerivedType = false) {
|
|
7539
|
+
if (!automationLineage || isSerializingDerivedType) {
|
|
7540
|
+
return;
|
|
7541
|
+
}
|
|
7542
|
+
writer.writeStringValue("actionId", automationLineage.actionId);
|
|
7543
|
+
writer.writeCollectionOfPrimitiveValues("automationIds", automationLineage.automationIds);
|
|
7544
|
+
writer.writeStringValue("rootEventId", automationLineage.rootEventId);
|
|
7545
|
+
writer.writeStringValue("runId", automationLineage.runId);
|
|
7546
|
+
writer.writeStringValue("triggerEventId", automationLineage.triggerEventId);
|
|
7547
|
+
writer.writeAdditionalData(automationLineage.additionalData);
|
|
7548
|
+
}
|
|
7486
7549
|
/**
|
|
7487
7550
|
* Serializes information the current object
|
|
7488
7551
|
* @param AutomationPreviewActionResult The instance to serialize from.
|
|
@@ -7692,6 +7755,7 @@ export function serializeAutomationRunRecord(writer, automationRunRecord = {}, i
|
|
|
7692
7755
|
}
|
|
7693
7756
|
writer.writeCollectionOfObjectValues("actions", automationRunRecord.actions, serializeAutomationActionRunRecord);
|
|
7694
7757
|
writer.writeStringValue("automationId", automationRunRecord.automationId);
|
|
7758
|
+
writer.writeObjectValue("automationLineage", automationRunRecord.automationLineage, serializeAutomationRunRecord_automationLineage);
|
|
7695
7759
|
writer.writeDateValue("completedAt", automationRunRecord.completedAt);
|
|
7696
7760
|
writer.writeObjectValue("conditionResults", automationRunRecord.conditionResults, serializeAutomationRunRecord_conditionResults);
|
|
7697
7761
|
writer.writeStringValue("executionMode", automationRunRecord.executionMode);
|
|
@@ -7708,6 +7772,19 @@ export function serializeAutomationRunRecord(writer, automationRunRecord = {}, i
|
|
|
7708
7772
|
writer.writeStringValue("triggerType", automationRunRecord.triggerType);
|
|
7709
7773
|
writer.writeAdditionalData(automationRunRecord.additionalData);
|
|
7710
7774
|
}
|
|
7775
|
+
/**
|
|
7776
|
+
* Serializes information the current object
|
|
7777
|
+
* @param AutomationRunRecord_automationLineage The instance to serialize from.
|
|
7778
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7779
|
+
* @param writer Serialization writer to use to serialize this model
|
|
7780
|
+
*/
|
|
7781
|
+
// @ts-ignore
|
|
7782
|
+
export function serializeAutomationRunRecord_automationLineage(writer, automationRunRecord_automationLineage = {}, isSerializingDerivedType = false) {
|
|
7783
|
+
if (!automationRunRecord_automationLineage || isSerializingDerivedType) {
|
|
7784
|
+
return;
|
|
7785
|
+
}
|
|
7786
|
+
serializeAutomationLineage(writer, automationRunRecord_automationLineage, isSerializingDerivedType);
|
|
7787
|
+
}
|
|
7711
7788
|
/**
|
|
7712
7789
|
* Serializes information the current object
|
|
7713
7790
|
* @param AutomationRunRecord_conditionResults The instance to serialize from.
|