@leadping/sdk 1.0.128 → 1.0.129

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.
Files changed (37) hide show
  1. package/dist/automations/index.d.ts +5 -0
  2. package/dist/automations/index.d.ts.map +1 -1
  3. package/dist/automations/index.js +5 -0
  4. package/dist/automations/index.js.map +1 -1
  5. package/dist/automations/item/index.d.ts +10 -0
  6. package/dist/automations/item/index.d.ts.map +1 -1
  7. package/dist/automations/item/index.js +10 -0
  8. package/dist/automations/item/index.js.map +1 -1
  9. package/dist/automations/item/leads/index.d.ts +22 -0
  10. package/dist/automations/item/leads/index.d.ts.map +1 -0
  11. package/dist/automations/item/leads/index.js +21 -0
  12. package/dist/automations/item/leads/index.js.map +1 -0
  13. package/dist/automations/item/leads/item/index.d.ts +20 -0
  14. package/dist/automations/item/leads/item/index.d.ts.map +1 -0
  15. package/dist/automations/item/leads/item/index.js +20 -0
  16. package/dist/automations/item/leads/item/index.js.map +1 -0
  17. package/dist/automations/item/leads/item/run/index.d.ts +22 -0
  18. package/dist/automations/item/leads/item/run/index.d.ts.map +1 -0
  19. package/dist/automations/item/leads/item/run/index.js +21 -0
  20. package/dist/automations/item/leads/item/run/index.js.map +1 -0
  21. package/dist/automations/item/leads/item/run/item/index.d.ts +31 -0
  22. package/dist/automations/item/leads/item/run/item/index.d.ts.map +1 -0
  23. package/dist/automations/item/leads/item/run/item/index.js +28 -0
  24. package/dist/automations/item/leads/item/run/item/index.js.map +1 -0
  25. package/dist/automations/item/runForAudience/index.d.ts +33 -0
  26. package/dist/automations/item/runForAudience/index.d.ts.map +1 -0
  27. package/dist/automations/item/runForAudience/index.js +31 -0
  28. package/dist/automations/item/runForAudience/index.js.map +1 -0
  29. package/dist/automations/leadAudience/index.d.ts +31 -0
  30. package/dist/automations/leadAudience/index.d.ts.map +1 -0
  31. package/dist/automations/leadAudience/index.js +28 -0
  32. package/dist/automations/leadAudience/index.js.map +1 -0
  33. package/dist/models/index.d.ts +109 -1
  34. package/dist/models/index.d.ts.map +1 -1
  35. package/dist/models/index.js +94 -0
  36. package/dist/models/index.js.map +1 -1
  37. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { type AdditionalDataHolder, type ApiError, type DateOnly, type Parsable, type ParseNode, type SerializationWriter, type TimeOnly, type UntypedNode } from '@microsoft/kiota-abstractions';
1
+ import { type AdditionalDataHolder, type ApiError, type DateOnly, type Guid, type Parsable, type ParseNode, type SerializationWriter, type TimeOnly, type UntypedNode } from '@microsoft/kiota-abstractions';
2
2
  /**
3
3
  * Describes activation domain option data used in Leadping API requests and responses.
4
4
  */
@@ -485,6 +485,23 @@ export interface AutomationActionRunRecord extends AdditionalDataHolder, Parsabl
485
485
  */
486
486
  export interface AutomationActionRunRecord_smsDelivery extends AutomationSmsDeliveryRecord, Parsable {
487
487
  }
488
+ /**
489
+ * Runs an automation for a server-resolved audience, omitting leads the user unchecked.
490
+ */
491
+ export interface AutomationAudienceRequest extends AdditionalDataHolder, Parsable {
492
+ /**
493
+ * Active leads in the current organization, optionally limited to one assignee, as of the selection time.
494
+ */
495
+ audience?: AutomationLeadAudience | null;
496
+ /**
497
+ * The excludedLeadIds property
498
+ */
499
+ excludedLeadIds?: string[] | null;
500
+ /**
501
+ * The requestId property
502
+ */
503
+ requestId?: Guid | null;
504
+ }
488
505
  /**
489
506
  * Public Leadping API schema for automation condition data.
490
507
  */
@@ -566,6 +583,31 @@ export interface AutomationConsoleResponse extends AdditionalDataHolder, Parsabl
566
583
  */
567
584
  runs?: AutomationWorkflowRunResponse[] | null;
568
585
  }
586
+ /**
587
+ * Active leads in the current organization, optionally limited to one assignee, as of the selection time.
588
+ */
589
+ export interface AutomationLeadAudience extends AdditionalDataHolder, Parsable {
590
+ /**
591
+ * The assignedToUserId property
592
+ */
593
+ assignedToUserId?: string | null;
594
+ /**
595
+ * The count property
596
+ */
597
+ count?: number | null;
598
+ /**
599
+ * The includeDemo property
600
+ */
601
+ includeDemo?: boolean | null;
602
+ /**
603
+ * The organizationId property
604
+ */
605
+ organizationId?: string | null;
606
+ /**
607
+ * The selectedAt property
608
+ */
609
+ selectedAt?: Date | null;
610
+ }
569
611
  /**
570
612
  * Persisted origin of an automation run and the events produced by its actions.
571
613
  */
@@ -1030,6 +1072,10 @@ export interface AutomationTableRow extends AdditionalDataHolder, Parsable {
1030
1072
  * Human-readable summary of the automation action outcome.
1031
1073
  */
1032
1074
  actionSummary?: string | null;
1075
+ /**
1076
+ * Whether the current user can start this automation for a selected inbox lead.
1077
+ */
1078
+ canRunForLead?: boolean | null;
1033
1079
  /**
1034
1080
  * Human-readable summary of the automation condition evaluation.
1035
1081
  */
@@ -1857,6 +1903,10 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
1857
1903
  * Defines why a lead was removed from the active working pipeline.
1858
1904
  */
1859
1905
  archiveReason?: number | null;
1906
+ /**
1907
+ * The lead assignee used for inbox audience selection.
1908
+ */
1909
+ assignedToUserId?: string | null;
1860
1910
  /**
1861
1911
  * Optional profile image URL explicitly associated with the lead.
1862
1912
  */
@@ -1945,6 +1995,14 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
1945
1995
  * Timestamp of the conversation activity shown in LastSnippet.
1946
1996
  */
1947
1997
  lastSnippetAt?: Date | null;
1998
+ /**
1999
+ * When the associated lead was created.
2000
+ */
2001
+ leadCreatedAt?: Date | null;
2002
+ /**
2003
+ * Whether the associated lead is enabled for selection.
2004
+ */
2005
+ leadEnabled?: boolean | null;
1948
2006
  /**
1949
2007
  * Lead ID associated with this inbox conversation.
1950
2008
  */
@@ -2108,6 +2166,12 @@ export declare function createAutomationActionRunRecord_smsDeliveryFromDiscrimin
2108
2166
  * @returns {AutomationActionRunRecord}
2109
2167
  */
2110
2168
  export declare function createAutomationActionRunRecordFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2169
+ /**
2170
+ * Creates a new instance of the appropriate class based on discriminator value
2171
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2172
+ * @returns {AutomationAudienceRequest}
2173
+ */
2174
+ export declare function createAutomationAudienceRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2111
2175
  /**
2112
2176
  * Creates a new instance of the appropriate class based on discriminator value
2113
2177
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2138,6 +2202,12 @@ export declare function createAutomationConnectionFromDiscriminatorValue(parseNo
2138
2202
  * @returns {AutomationConsoleResponse}
2139
2203
  */
2140
2204
  export declare function createAutomationConsoleResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2205
+ /**
2206
+ * Creates a new instance of the appropriate class based on discriminator value
2207
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2208
+ * @returns {AutomationLeadAudience}
2209
+ */
2210
+ export declare function createAutomationLeadAudienceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2141
2211
  /**
2142
2212
  * Creates a new instance of the appropriate class based on discriminator value
2143
2213
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4767,6 +4837,12 @@ export declare function deserializeIntoAutomationActionRunRecord(automationActio
4767
4837
  * @returns {Record<string, (node: ParseNode) => void>}
4768
4838
  */
4769
4839
  export declare function deserializeIntoAutomationActionRunRecord_smsDelivery(automationActionRunRecord_smsDelivery?: Partial<AutomationActionRunRecord_smsDelivery> | undefined): Record<string, (node: ParseNode) => void>;
4840
+ /**
4841
+ * The deserialization information for the current model
4842
+ * @param AutomationAudienceRequest The instance to deserialize into.
4843
+ * @returns {Record<string, (node: ParseNode) => void>}
4844
+ */
4845
+ export declare function deserializeIntoAutomationAudienceRequest(automationAudienceRequest?: Partial<AutomationAudienceRequest> | undefined): Record<string, (node: ParseNode) => void>;
4770
4846
  /**
4771
4847
  * The deserialization information for the current model
4772
4848
  * @param AutomationCondition The instance to deserialize into.
@@ -4797,6 +4873,12 @@ export declare function deserializeIntoAutomationConnection(automationConnection
4797
4873
  * @returns {Record<string, (node: ParseNode) => void>}
4798
4874
  */
4799
4875
  export declare function deserializeIntoAutomationConsoleResponse(automationConsoleResponse?: Partial<AutomationConsoleResponse> | undefined): Record<string, (node: ParseNode) => void>;
4876
+ /**
4877
+ * The deserialization information for the current model
4878
+ * @param AutomationLeadAudience The instance to deserialize into.
4879
+ * @returns {Record<string, (node: ParseNode) => void>}
4880
+ */
4881
+ export declare function deserializeIntoAutomationLeadAudience(automationLeadAudience?: Partial<AutomationLeadAudience> | undefined): Record<string, (node: ParseNode) => void>;
4800
4882
  /**
4801
4883
  * The deserialization information for the current model
4802
4884
  * @param AutomationLineage The instance to deserialize into.
@@ -12237,6 +12319,13 @@ export declare function serializeAutomationActionRunRecord(writer: Serialization
12237
12319
  * @param writer Serialization writer to use to serialize this model
12238
12320
  */
12239
12321
  export declare function serializeAutomationActionRunRecord_smsDelivery(writer: SerializationWriter, automationActionRunRecord_smsDelivery?: Partial<AutomationActionRunRecord_smsDelivery> | undefined | null, isSerializingDerivedType?: boolean): void;
12322
+ /**
12323
+ * Serializes information the current object
12324
+ * @param AutomationAudienceRequest The instance to serialize from.
12325
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12326
+ * @param writer Serialization writer to use to serialize this model
12327
+ */
12328
+ export declare function serializeAutomationAudienceRequest(writer: SerializationWriter, automationAudienceRequest?: Partial<AutomationAudienceRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
12240
12329
  /**
12241
12330
  * Serializes information the current object
12242
12331
  * @param AutomationCondition The instance to serialize from.
@@ -12272,6 +12361,13 @@ export declare function serializeAutomationConnection(writer: SerializationWrite
12272
12361
  * @param writer Serialization writer to use to serialize this model
12273
12362
  */
12274
12363
  export declare function serializeAutomationConsoleResponse(writer: SerializationWriter, automationConsoleResponse?: Partial<AutomationConsoleResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
12364
+ /**
12365
+ * Serializes information the current object
12366
+ * @param AutomationLeadAudience The instance to serialize from.
12367
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12368
+ * @param writer Serialization writer to use to serialize this model
12369
+ */
12370
+ export declare function serializeAutomationLeadAudience(writer: SerializationWriter, automationLeadAudience?: Partial<AutomationLeadAudience> | undefined | null, isSerializingDerivedType?: boolean): void;
12275
12371
  /**
12276
12372
  * Serializes information the current object
12277
12373
  * @param AutomationLineage The instance to serialize from.
@@ -14880,6 +14976,10 @@ export interface SourceRequest extends AdditionalDataHolder, Parsable {
14880
14976
  * Human-readable source name.
14881
14977
  */
14882
14978
  name?: string | null;
14979
+ /**
14980
+ * Whether to normalize capitalization in incoming lead names and cities.
14981
+ */
14982
+ normalizeIncomingData?: boolean | null;
14883
14983
  /**
14884
14984
  * Indicates whether leads from this source must include a TrustedForm or Leadping Consent certificate for consent proof.
14885
14985
  */
@@ -14973,6 +15073,10 @@ export interface SourceResponse extends AdditionalDataHolder, Parsable {
14973
15073
  * Human-readable display name of the resource.
14974
15074
  */
14975
15075
  name?: string | null;
15076
+ /**
15077
+ * Whether to normalize capitalization in incoming lead names and cities.
15078
+ */
15079
+ normalizeIncomingData?: boolean | null;
14976
15080
  /**
14977
15081
  * Provides a compact API reference to another resource using its stable identifier and human-readable display name.
14978
15082
  */
@@ -15094,6 +15198,10 @@ export interface SourceTableRow extends AdditionalDataHolder, Parsable {
15094
15198
  * Display name for this lead source table row in the Leadping API.
15095
15199
  */
15096
15200
  name?: string | null;
15201
+ /**
15202
+ * Whether to normalize capitalization in incoming lead names and cities.
15203
+ */
15204
+ normalizeIncomingData?: boolean | null;
15097
15205
  /**
15098
15206
  * Provides a compact API reference to another resource using its stable identifier and human-readable display name.
15099
15207
  */