ultracart_rest_api_v2_typescript 4.1.9 → 4.1.10

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/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # UltraCart Typescript SDK
2
- ## ultracart_rest_api_v2_typescript@4.1.9
2
+ ## ultracart_rest_api_v2_typescript@4.1.10
3
3
 
4
4
  Every API method call has a sample for every language SDK. See https://github.com/UltraCart/sdk_samples
5
5
 
6
6
  Installation
7
7
 
8
8
  ```
9
- npm install ultracart_rest_api_v2_typescript@4.1.9 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.10 --save
10
10
  ```
11
11
 
12
12
  ```typescript
@@ -83,6 +83,7 @@ Not every change is committed to every SDK.
83
83
 
84
84
  | Version | Date | Comments |
85
85
  | --: | :-: | --- |
86
+ | 4.1.10 | 05/06/2025 | conversation - ConversationAgentProfile.user_id added for agent profiles call |
86
87
  | 4.1.9 | 05/05/2025 | conversations - method to fetch all agent profiles for admin screens |
87
88
  | 4.1.8 | 04/22/2025 | order property fields for created_by and created_dts |
88
89
  | 4.1.7 | 04/21/2025 | conversation agent additional fields |
@@ -81,6 +81,12 @@ export interface ConversationAgentProfile {
81
81
  * @memberof ConversationAgentProfile
82
82
  */
83
83
  profile_image_url?: string;
84
+ /**
85
+ * User ID associated with the agent. Populated by getAgentProfiles call only.
86
+ * @type {number}
87
+ * @memberof ConversationAgentProfile
88
+ */
89
+ user_id?: number;
84
90
  }
85
91
  /**
86
92
  * @export
@@ -51,6 +51,7 @@ function ConversationAgentProfileFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
52
52
  'profile_image_upload_key': !(0, runtime_1.exists)(json, 'profile_image_upload_key') ? undefined : json['profile_image_upload_key'],
53
53
  'profile_image_url': !(0, runtime_1.exists)(json, 'profile_image_url') ? undefined : json['profile_image_url'],
54
+ 'user_id': !(0, runtime_1.exists)(json, 'user_id') ? undefined : json['user_id'],
54
55
  };
55
56
  }
56
57
  exports.ConversationAgentProfileFromJSONTyped = ConversationAgentProfileFromJSONTyped;
@@ -73,6 +74,7 @@ function ConversationAgentProfileToJSON(value) {
73
74
  'name': value.name,
74
75
  'profile_image_upload_key': value.profile_image_upload_key,
75
76
  'profile_image_url': value.profile_image_url,
77
+ 'user_id': value.user_id,
76
78
  };
77
79
  }
78
80
  exports.ConversationAgentProfileToJSON = ConversationAgentProfileToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.9",
3
+ "version": "4.1.10",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -85,6 +85,12 @@ export interface ConversationAgentProfile {
85
85
  * @memberof ConversationAgentProfile
86
86
  */
87
87
  profile_image_url?: string;
88
+ /**
89
+ * User ID associated with the agent. Populated by getAgentProfiles call only.
90
+ * @type {number}
91
+ * @memberof ConversationAgentProfile
92
+ */
93
+ user_id?: number;
88
94
  }
89
95
 
90
96
 
@@ -130,6 +136,7 @@ export function ConversationAgentProfileFromJSONTyped(json: any, ignoreDiscrimin
130
136
  'name': !exists(json, 'name') ? undefined : json['name'],
131
137
  'profile_image_upload_key': !exists(json, 'profile_image_upload_key') ? undefined : json['profile_image_upload_key'],
132
138
  'profile_image_url': !exists(json, 'profile_image_url') ? undefined : json['profile_image_url'],
139
+ 'user_id': !exists(json, 'user_id') ? undefined : json['user_id'],
133
140
  };
134
141
  }
135
142
 
@@ -153,6 +160,7 @@ export function ConversationAgentProfileToJSON(value?: ConversationAgentProfile
153
160
  'name': value.name,
154
161
  'profile_image_upload_key': value.profile_image_upload_key,
155
162
  'profile_image_url': value.profile_image_url,
163
+ 'user_id': value.user_id,
156
164
  };
157
165
  }
158
166