randmar-api-client 1.601.0 → 1.603.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.
@@ -991,6 +991,12 @@ export type GetV4PartnerByRouteApplicationIdBusinessDevelopmentConversationAndCo
991
991
  routeApplicationId: string;
992
992
  /** The conversation ID. */
993
993
  conversationId: number;
994
+ /** Opaque cursor from the last loaded message; fetch the next newer messages. */
995
+ after?: string;
996
+ /** Opaque cursor from the first loaded message; fetch the closest older messages. */
997
+ before?: string;
998
+ /** Page size from 1 to 200; defaults to 50 when a cursor is supplied. Omit all options for full history. */
999
+ limit?: number;
994
1000
  };
995
1001
  export type GetV4PartnerByRouteApplicationIdBusinessDevelopmentConversationAndConversationIdLinksApiResponse =
996
1002
  /** status 200 A list of links shared in the conversation. */ ConversationLink[];
@@ -5112,6 +5118,7 @@ export type ConversationHeader = {
5112
5118
  LastMessageTime?: string | null;
5113
5119
  };
5114
5120
  export type ChatMessage = {
5121
+ Cursor?: string | null;
5115
5122
  MessageId?: number;
5116
5123
  Content?: string | null;
5117
5124
  SenderId?: string | null;
@@ -504,6 +504,11 @@ const injectedRtkApi = api.injectEndpoints({
504
504
  getV4PartnerByRouteApplicationIdBusinessDevelopmentConversationAndConversationIdMessages: build.query({
505
505
  query: (queryArg) => ({
506
506
  url: `/V4/Partner/${queryArg.routeApplicationId}/BusinessDevelopment/Conversation/${queryArg.conversationId}/Messages`,
507
+ params: {
508
+ after: queryArg.after,
509
+ before: queryArg.before,
510
+ limit: queryArg.limit,
511
+ },
507
512
  }),
508
513
  }),
509
514
  getV4PartnerByRouteApplicationIdBusinessDevelopmentConversationAndConversationIdLinks: build.query({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "randmar-api-client",
3
- "version": "1.601.0",
3
+ "version": "1.603.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",