@leadping/sdk 1.0.97 → 1.0.99

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.
@@ -32,11 +32,15 @@ export interface MyRequestBuilderPostQueryParameters {
32
32
  * Optional filter selecting active, archived, or all lead conversations.
33
33
  */
34
34
  archiveFilter?: string;
35
+ /**
36
+ * Whether to include only conversations with contactable leads.
37
+ */
38
+ contactable?: boolean;
35
39
  }
36
40
  /**
37
41
  * Uri template for the request builder.
38
42
  */
39
- export declare const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*}";
43
+ export declare const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*,contactable*}";
40
44
  /**
41
45
  * Metadata for all the requests in the request builder.
42
46
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsL,KAAK,iCAAiC,EAAuB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEjT,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;;;;;;;;;OAUG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IACvL;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1K;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,iDAAiD,CAAC;AAC1F;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAiB9C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsL,KAAK,iCAAiC,EAAuB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEjT,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;;;;;;;;;OAUG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IACvL;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1K;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,8DAA8D,CAAC;AACvG;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAiB9C,CAAC"}
@@ -6,7 +6,7 @@ import { createPagedResultOfConversationResponseFromDiscriminatorValue, createPr
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
9
- export const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*}";
9
+ export const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*,contactable*}";
10
10
  /**
11
11
  * Metadata for all the requests in the request builder.
12
12
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAE,0CAA0C,EAA8C,2BAA2B,EAAwF,MAAM,uBAAuB,CAAC;AAqCjT;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,8CAA8C,CAAC;AAC1F;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,IAAI,EAAE;QACF,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6DAA6D;QACnF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAE,0CAA0C,EAA8C,2BAA2B,EAAwF,MAAM,uBAAuB,CAAC;AAyCjT;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,2DAA2D,CAAC;AACvG;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,IAAI,EAAE;QACF,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6DAA6D;QACnF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1558,6 +1558,10 @@ export interface ChangeBillingPlanRequest extends AdditionalDataHolder, Parsable
1558
1558
  * Describes one durable diagnostic entry from the processing of a communication.
1559
1559
  */
1560
1560
  export interface CommunicationConsoleEntry extends AdditionalDataHolder, Parsable {
1561
+ /**
1562
+ * Restricts this diagnostic entry to platform administrators.
1563
+ */
1564
+ adminOnly?: boolean | null;
1561
1565
  /**
1562
1566
  * Unique identifier of this diagnostic console entry.
1563
1567
  */
@@ -1618,6 +1622,10 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
1618
1622
  * Optional profile image URL explicitly associated with the lead.
1619
1623
  */
1620
1624
  avatarUrl?: string | null;
1625
+ /**
1626
+ * Stored compliance status of the associated lead; not a live call-readiness guarantee.
1627
+ */
1628
+ complianceStatus?: string | null;
1621
1629
  /**
1622
1630
  * Summary schema for Leadping API current lead status change summary data used in dashboards and reports.
1623
1631
  */
@@ -3082,6 +3090,12 @@ export declare function createPhoneNumberMessagingEventResponseFromDiscriminator
3082
3090
  * @returns {PhoneNumberOptOutMetricsResponse}
3083
3091
  */
3084
3092
  export declare function createPhoneNumberOptOutMetricsResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3093
+ /**
3094
+ * Creates a new instance of the appropriate class based on discriminator value
3095
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3096
+ * @returns {PhoneNumberReadiness_trafficHealth}
3097
+ */
3098
+ export declare function createPhoneNumberReadiness_trafficHealthFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3085
3099
  /**
3086
3100
  * Creates a new instance of the appropriate class based on discriminator value
3087
3101
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3172,6 +3186,12 @@ export declare function createPhoneNumberStatusResponseFromDiscriminatorValue(pa
3172
3186
  * @returns {PhoneNumberTableRow}
3173
3187
  */
3174
3188
  export declare function createPhoneNumberTableRowFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3189
+ /**
3190
+ * Creates a new instance of the appropriate class based on discriminator value
3191
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3192
+ * @returns {PhoneNumberTrafficHealth}
3193
+ */
3194
+ export declare function createPhoneNumberTrafficHealthFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3175
3195
  /**
3176
3196
  * Creates a new instance of the appropriate class based on discriminator value
3177
3197
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -5628,6 +5648,12 @@ export declare function deserializeIntoPhoneNumberOptOutMetricsResponse(phoneNum
5628
5648
  * @returns {Record<string, (node: ParseNode) => void>}
5629
5649
  */
5630
5650
  export declare function deserializeIntoPhoneNumberReadiness(phoneNumberReadiness?: Partial<PhoneNumberReadiness> | undefined): Record<string, (node: ParseNode) => void>;
5651
+ /**
5652
+ * The deserialization information for the current model
5653
+ * @param PhoneNumberReadiness_trafficHealth The instance to deserialize into.
5654
+ * @returns {Record<string, (node: ParseNode) => void>}
5655
+ */
5656
+ export declare function deserializeIntoPhoneNumberReadiness_trafficHealth(phoneNumberReadiness_trafficHealth?: Partial<PhoneNumberReadiness_trafficHealth> | undefined): Record<string, (node: ParseNode) => void>;
5631
5657
  /**
5632
5658
  * The deserialization information for the current model
5633
5659
  * @param PhoneNumberRequest The instance to deserialize into.
@@ -5712,6 +5738,12 @@ export declare function deserializeIntoPhoneNumberStatusResponse_smsWarmup(phone
5712
5738
  * @returns {Record<string, (node: ParseNode) => void>}
5713
5739
  */
5714
5740
  export declare function deserializeIntoPhoneNumberTableRow(phoneNumberTableRow?: Partial<PhoneNumberTableRow> | undefined): Record<string, (node: ParseNode) => void>;
5741
+ /**
5742
+ * The deserialization information for the current model
5743
+ * @param PhoneNumberTrafficHealth The instance to deserialize into.
5744
+ * @returns {Record<string, (node: ParseNode) => void>}
5745
+ */
5746
+ export declare function deserializeIntoPhoneNumberTrafficHealth(phoneNumberTrafficHealth?: Partial<PhoneNumberTrafficHealth> | undefined): Record<string, (node: ParseNode) => void>;
5715
5747
  /**
5716
5748
  * The deserialization information for the current model
5717
5749
  * @param PhoneNumberTrafficMetricsResponse The instance to deserialize into.
@@ -10678,6 +10710,10 @@ export interface PhoneNumberLocation extends AdditionalDataHolder, Parsable {
10678
10710
  * Country code for the phone number or location represented by this phone number location.
10679
10711
  */
10680
10712
  countryCode?: string | null;
10713
+ /**
10714
+ * Whether the coordinates represent an approximate phone-number region rather than a resolved city.
10715
+ */
10716
+ isCoordinateApproximate?: boolean | null;
10681
10717
  /**
10682
10718
  * Geographic location metadata for the phone number, lead, or lookup result.
10683
10719
  */
@@ -10810,10 +10846,19 @@ export interface PhoneNumberReadiness extends AdditionalDataHolder, Parsable {
10810
10846
  * Describes whether an organization is configured and permitted to send SMS or MMS traffic through Leadping.
10811
10847
  */
10812
10848
  state?: PhoneNumberReadiness_state | null;
10849
+ /**
10850
+ * Hourly local reputation-risk estimate using 24-hour, seven-day, and thirty-day traffic evidence.
10851
+ */
10852
+ trafficHealth?: PhoneNumberReadiness_trafficHealth | null;
10813
10853
  }
10814
10854
  export type PhoneNumberReadiness_callStage = (typeof PhoneNumberReadiness_callStageObject)[keyof typeof PhoneNumberReadiness_callStageObject];
10815
10855
  export type PhoneNumberReadiness_healthStatus = (typeof PhoneNumberReadiness_healthStatusObject)[keyof typeof PhoneNumberReadiness_healthStatusObject];
10816
10856
  export type PhoneNumberReadiness_state = (typeof PhoneNumberReadiness_stateObject)[keyof typeof PhoneNumberReadiness_stateObject];
10857
+ /**
10858
+ * Hourly local reputation-risk estimate using 24-hour, seven-day, and thirty-day traffic evidence.
10859
+ */
10860
+ export interface PhoneNumberReadiness_trafficHealth extends Parsable, PhoneNumberTrafficHealth {
10861
+ }
10817
10862
  /**
10818
10863
  * Defines the fields clients can send when working with phone number update.
10819
10864
  */
@@ -11106,6 +11151,15 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
11106
11151
  }
11107
11152
  export type PhoneNumberTableRow_smsRampDirection = (typeof PhoneNumberTableRow_smsRampDirectionObject)[keyof typeof PhoneNumberTableRow_smsRampDirectionObject];
11108
11153
  export type PhoneNumberTableRow_voiceRampDirection = (typeof PhoneNumberTableRow_voiceRampDirectionObject)[keyof typeof PhoneNumberTableRow_voiceRampDirectionObject];
11154
+ /**
11155
+ * Hourly local reputation-risk estimate using 24-hour, seven-day, and thirty-day traffic evidence.
11156
+ */
11157
+ export interface PhoneNumberTrafficHealth extends AdditionalDataHolder, Parsable {
11158
+ /**
11159
+ * The lower evaluated channel score, or null when neither channel has sufficient evidence.
11160
+ */
11161
+ score?: number | null;
11162
+ }
11109
11163
  /**
11110
11164
  * Describes phone number traffic metrics data returned by Leadping.
11111
11165
  */
@@ -12913,6 +12967,13 @@ export declare function serializePhoneNumberOptOutMetricsResponse(writer: Serial
12913
12967
  * @param writer Serialization writer to use to serialize this model
12914
12968
  */
12915
12969
  export declare function serializePhoneNumberReadiness(writer: SerializationWriter, phoneNumberReadiness?: Partial<PhoneNumberReadiness> | undefined | null, isSerializingDerivedType?: boolean): void;
12970
+ /**
12971
+ * Serializes information the current object
12972
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12973
+ * @param PhoneNumberReadiness_trafficHealth The instance to serialize from.
12974
+ * @param writer Serialization writer to use to serialize this model
12975
+ */
12976
+ export declare function serializePhoneNumberReadiness_trafficHealth(writer: SerializationWriter, phoneNumberReadiness_trafficHealth?: Partial<PhoneNumberReadiness_trafficHealth> | undefined | null, isSerializingDerivedType?: boolean): void;
12916
12977
  /**
12917
12978
  * Serializes information the current object
12918
12979
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -13011,6 +13072,13 @@ export declare function serializePhoneNumberStatusResponse_smsWarmup(writer: Ser
13011
13072
  * @param writer Serialization writer to use to serialize this model
13012
13073
  */
13013
13074
  export declare function serializePhoneNumberTableRow(writer: SerializationWriter, phoneNumberTableRow?: Partial<PhoneNumberTableRow> | undefined | null, isSerializingDerivedType?: boolean): void;
13075
+ /**
13076
+ * Serializes information the current object
13077
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
13078
+ * @param PhoneNumberTrafficHealth The instance to serialize from.
13079
+ * @param writer Serialization writer to use to serialize this model
13080
+ */
13081
+ export declare function serializePhoneNumberTrafficHealth(writer: SerializationWriter, phoneNumberTrafficHealth?: Partial<PhoneNumberTrafficHealth> | undefined | null, isSerializingDerivedType?: boolean): void;
13014
13082
  /**
13015
13083
  * Serializes information the current object
13016
13084
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -15648,6 +15716,10 @@ export interface UserResponse extends AdditionalDataHolder, Parsable {
15648
15716
  * The isDemo property
15649
15717
  */
15650
15718
  isDemo?: boolean | null;
15719
+ /**
15720
+ * The lastActiveAt property
15721
+ */
15722
+ lastActiveAt?: Date | null;
15651
15723
  /**
15652
15724
  * The date and time when this user last completed the Leadping sign-in flow.
15653
15725
  */
@@ -16061,6 +16133,7 @@ export declare const EventDetailResponse_timelineTypeObject: {
16061
16133
  * Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.
16062
16134
  */
16063
16135
  export declare const EventTableRow_selectionReasonObject: {
16136
+ readonly NearestLocation: "NearestLocation";
16064
16137
  readonly StickyConversation: "StickyConversation";
16065
16138
  readonly LeadAssigned: "LeadAssigned";
16066
16139
  readonly CampaignOrSource: "CampaignOrSource";
@@ -16578,6 +16651,7 @@ export declare const OutboundQueueItem_reasonCodeObject: {
16578
16651
  * Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.
16579
16652
  */
16580
16653
  export declare const OutgoingNumberSelectionReasonObject: {
16654
+ readonly NearestLocation: "NearestLocation";
16581
16655
  readonly StickyConversation: "StickyConversation";
16582
16656
  readonly LeadAssigned: "LeadAssigned";
16583
16657
  readonly CampaignOrSource: "CampaignOrSource";
@@ -16608,6 +16682,7 @@ export declare const OutgoingNumberSelectionResponse_healthStatusObject: {
16608
16682
  * Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.
16609
16683
  */
16610
16684
  export declare const OutgoingNumberSelectionResponse_selectionReasonObject: {
16685
+ readonly NearestLocation: "NearestLocation";
16611
16686
  readonly StickyConversation: "StickyConversation";
16612
16687
  readonly LeadAssigned: "LeadAssigned";
16613
16688
  readonly CampaignOrSource: "CampaignOrSource";
@@ -16621,6 +16696,7 @@ export declare const OutgoingNumberSelectionResponse_selectionReasonObject: {
16621
16696
  * Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.
16622
16697
  */
16623
16698
  export declare const PhoneCallResponse_selectionReasonObject: {
16699
+ readonly NearestLocation: "NearestLocation";
16624
16700
  readonly StickyConversation: "StickyConversation";
16625
16701
  readonly LeadAssigned: "LeadAssigned";
16626
16702
  readonly CampaignOrSource: "CampaignOrSource";
@@ -16831,6 +16907,7 @@ export declare const SmsReadinessStateObject: {
16831
16907
  * Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.
16832
16908
  */
16833
16909
  export declare const SmsResponse_selectionReasonObject: {
16910
+ readonly NearestLocation: "NearestLocation";
16834
16911
  readonly StickyConversation: "StickyConversation";
16835
16912
  readonly LeadAssigned: "LeadAssigned";
16836
16913
  readonly CampaignOrSource: "CampaignOrSource";