@leadping/sdk 1.0.131 → 1.0.132

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.
@@ -42,6 +42,10 @@ export interface MyRequestBuilderPostQueryParameters {
42
42
  * Orders the full filtered inbox by the next action before paging.
43
43
  */
44
44
  priority?: boolean;
45
+ /**
46
+ * Optional selected thread to include when it still matches the priority inbox.
47
+ */
48
+ selectedConversationId?: string;
45
49
  /**
46
50
  * Whether to include only conversations where texting is available.
47
51
  */
@@ -50,7 +54,7 @@ export interface MyRequestBuilderPostQueryParameters {
50
54
  /**
51
55
  * Uri template for the request builder.
52
56
  */
53
- export declare const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*,contactable*,priority*,textingAvailable*}";
57
+ export declare const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*,contactable*,priority*,selectedConversationId*,textingAvailable*}";
54
58
  /**
55
59
  * Metadata for all the requests in the request builder.
56
60
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoJ,KAAK,gBAAgB,EAAuB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE9P,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;;;;;;;;;;;;OAYG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAA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ACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,kHAAkH,CAAC;AAC3J;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAmB9C,CAAC"}
@@ -6,7 +6,7 @@ import { createConversationPageFromDiscriminatorValue, createProblemDetailsFromD
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
9
- export const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*,contactable*,priority*,textingAvailable*}";
9
+ export const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*,contactable*,priority*,selectedConversationId*,textingAvailable*}";
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,4CAA4C,EAAE,0CAA0C,EAA6B,2BAA2B,EAAuE,MAAM,uBAAuB,CAAC;AAmD9P;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,uFAAuF,CAAC;AACnI;;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;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,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,4CAA4C,EAAE,0CAA0C,EAA6B,2BAA2B,EAAuE,MAAM,uBAAuB,CAAC;AAuD9P;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,+GAA+G,CAAC;AAC3J;;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;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1882,11 +1882,20 @@ export interface ConversationPage extends AdditionalDataHolder, Parsable {
1882
1882
  * Time remaining until a scheduled action or contact window could change this page, measured on the server.
1883
1883
  */
1884
1884
  refreshAfter?: string | null;
1885
+ /**
1886
+ * Describes conversation data returned by Leadping.
1887
+ */
1888
+ selectedConversation?: ConversationPage_selectedConversation | null;
1885
1889
  /**
1886
1890
  * The totalCount property
1887
1891
  */
1888
1892
  totalCount?: number | null;
1889
1893
  }
1894
+ /**
1895
+ * Describes conversation data returned by Leadping.
1896
+ */
1897
+ export interface ConversationPage_selectedConversation extends ConversationResponse, Parsable {
1898
+ }
1890
1899
  /**
1891
1900
  * Describes conversation data returned by Leadping.
1892
1901
  */
@@ -1948,7 +1957,7 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
1948
1957
  */
1949
1958
  id?: string | null;
1950
1959
  /**
1951
- * The next action for a conversation, in inbox priority order.
1960
+ * The reason a conversation appears in the priority inbox.
1952
1961
  */
1953
1962
  inboxAction?: number | null;
1954
1963
  /**
@@ -1967,6 +1976,10 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
1967
1976
  * Indicates whether the current user has unread activity in the conversation.
1968
1977
  */
1969
1978
  isUnread?: boolean | null;
1979
+ /**
1980
+ * The lastAgentReplyAt property
1981
+ */
1982
+ lastAgentReplyAt?: Date | null;
1970
1983
  /**
1971
1984
  * UTC timestamp when the most recent conversation event occurred.
1972
1985
  */
@@ -2027,6 +2040,14 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
2027
2040
  * Extends an identifier-and-name resource reference with an optional string value used for display or selection metadata.
2028
2041
  */
2029
2042
  phoneNumber?: ConversationResponse_phoneNumber | null;
2043
+ /**
2044
+ * The priorityLabel property
2045
+ */
2046
+ priorityLabel?: string | null;
2047
+ /**
2048
+ * The priorityPreview property
2049
+ */
2050
+ priorityPreview?: string | null;
2030
2051
  /**
2031
2052
  * Monotonic inbound reply boundary used when marking a conversation handled.
2032
2053
  */
@@ -2430,6 +2451,12 @@ export declare function createComplianceUpdateRequest_complianceFromDiscriminato
2430
2451
  * @returns {ComplianceUpdateRequest}
2431
2452
  */
2432
2453
  export declare function createComplianceUpdateRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2454
+ /**
2455
+ * Creates a new instance of the appropriate class based on discriminator value
2456
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2457
+ * @returns {ConversationPage_selectedConversation}
2458
+ */
2459
+ export declare function createConversationPage_selectedConversationFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2433
2460
  /**
2434
2461
  * Creates a new instance of the appropriate class based on discriminator value
2435
2462
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -5107,6 +5134,12 @@ export declare function deserializeIntoComplianceUpdateRequest_compliance(compli
5107
5134
  * @returns {Record<string, (node: ParseNode) => void>}
5108
5135
  */
5109
5136
  export declare function deserializeIntoConversationPage(conversationPage?: Partial<ConversationPage> | undefined): Record<string, (node: ParseNode) => void>;
5137
+ /**
5138
+ * The deserialization information for the current model
5139
+ * @param ConversationPage_selectedConversation The instance to deserialize into.
5140
+ * @returns {Record<string, (node: ParseNode) => void>}
5141
+ */
5142
+ export declare function deserializeIntoConversationPage_selectedConversation(conversationPage_selectedConversation?: Partial<ConversationPage_selectedConversation> | undefined): Record<string, (node: ParseNode) => void>;
5110
5143
  /**
5111
5144
  * The deserialization information for the current model
5112
5145
  * @param ConversationResponse The instance to deserialize into.
@@ -12638,6 +12671,13 @@ export declare function serializeComplianceUpdateRequest_compliance(writer: Seri
12638
12671
  * @param writer Serialization writer to use to serialize this model
12639
12672
  */
12640
12673
  export declare function serializeConversationPage(writer: SerializationWriter, conversationPage?: Partial<ConversationPage> | undefined | null, isSerializingDerivedType?: boolean): void;
12674
+ /**
12675
+ * Serializes information the current object
12676
+ * @param ConversationPage_selectedConversation The instance to serialize from.
12677
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12678
+ * @param writer Serialization writer to use to serialize this model
12679
+ */
12680
+ export declare function serializeConversationPage_selectedConversation(writer: SerializationWriter, conversationPage_selectedConversation?: Partial<ConversationPage_selectedConversation> | undefined | null, isSerializingDerivedType?: boolean): void;
12641
12681
  /**
12642
12682
  * Serializes information the current object
12643
12683
  * @param ConversationResponse The instance to serialize from.
@@ -15995,6 +16035,10 @@ export interface TransactionResponse extends AdditionalDataHolder, Parsable {
15995
16035
  * Provides a compact API reference to another resource using its stable identifier and human-readable display name.
15996
16036
  */
15997
16037
  lead?: TransactionResponse_lead | null;
16038
+ /**
16039
+ * Identifier of the message associated with an SMS or MMS usage entry.
16040
+ */
16041
+ messageEventId?: string | null;
15998
16042
  /**
15999
16043
  * UTC timestamp when the resource was last modified, or null when it has not been updated.
16000
16044
  */