ultracart_rest_api_v2_typescript 4.1.64 → 4.1.66

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.64
2
+ ## ultracart_rest_api_v2_typescript@4.1.66
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.64 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.66 --save
10
10
  ```
11
11
 
12
12
  ```typescript
@@ -85,6 +85,8 @@ Not every change is committed to every SDK.
85
85
 
86
86
  | Version | Date | Comments |
87
87
  | --: | :-: | --- |
88
+ | 4.1.66 | 02/18/2026 | conversations - agent auth customer_profile flag |
89
+ | 4.1.65 | 02/16/2026 | item - include variant pricing in the response |
88
90
  | 4.1.64 | 02/16/2026 | conversation - fix pbx call transcript segment speaker enum for leading space |
89
91
  | 4.1.63 | 02/12/2026 | build automation issue |
90
92
  | 4.1.62 | 02/12/2026 | build automation run, no code changes |
@@ -40,6 +40,12 @@ export interface ConversationAgentAuth {
40
40
  * @memberof ConversationAgentAuth
41
41
  */
42
42
  conversation_participant_name?: string;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof ConversationAgentAuth
47
+ */
48
+ customer_profile?: boolean;
43
49
  /**
44
50
  * The default phone number this agent should use when making an outbound call.
45
51
  * @type {string}
@@ -37,6 +37,7 @@ function ConversationAgentAuthFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'chat_user': !(0, runtime_1.exists)(json, 'chat_user') ? undefined : json['chat_user'],
38
38
  'conversation_participant_arn': !(0, runtime_1.exists)(json, 'conversation_participant_arn') ? undefined : json['conversation_participant_arn'],
39
39
  'conversation_participant_name': !(0, runtime_1.exists)(json, 'conversation_participant_name') ? undefined : json['conversation_participant_name'],
40
+ 'customer_profile': !(0, runtime_1.exists)(json, 'customer_profile') ? undefined : json['customer_profile'],
40
41
  'default_phone_number': !(0, runtime_1.exists)(json, 'default_phone_number') ? undefined : json['default_phone_number'],
41
42
  'group_ids': !(0, runtime_1.exists)(json, 'group_ids') ? undefined : json['group_ids'],
42
43
  'jwt': !(0, runtime_1.exists)(json, 'jwt') ? undefined : json['jwt'],
@@ -67,6 +68,7 @@ function ConversationAgentAuthToJSON(value) {
67
68
  'chat_user': value.chat_user,
68
69
  'conversation_participant_arn': value.conversation_participant_arn,
69
70
  'conversation_participant_name': value.conversation_participant_name,
71
+ 'customer_profile': value.customer_profile,
70
72
  'default_phone_number': value.default_phone_number,
71
73
  'group_ids': value.group_ids,
72
74
  'jwt': value.jwt,
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ItemContentMultimedia } from './ItemContentMultimedia';
13
+ import { ItemPricing } from './ItemPricing';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -46,6 +47,12 @@ export interface ItemVariantItem {
46
47
  * @memberof ItemVariantItem
47
48
  */
48
49
  variant_merchant_item_oid?: number;
50
+ /**
51
+ *
52
+ * @type {ItemPricing}
53
+ * @memberof ItemVariantItem
54
+ */
55
+ variant_pricing?: ItemPricing;
49
56
  /**
50
57
  * Variation options
51
58
  * @type {Array<string>}
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ItemVariantItemToJSON = exports.ItemVariantItemFromJSONTyped = exports.ItemVariantItemFromJSON = exports.instanceOfItemVariantItem = void 0;
17
17
  var runtime_1 = require("../runtime");
18
18
  var ItemContentMultimedia_1 = require("./ItemContentMultimedia");
19
+ var ItemPricing_1 = require("./ItemPricing");
19
20
  /**
20
21
  * Check if a given object implements the ItemVariantItem interface.
21
22
  */
@@ -38,6 +39,7 @@ function ItemVariantItemFromJSONTyped(json, ignoreDiscriminator) {
38
39
  'variant_default_multimedia': !(0, runtime_1.exists)(json, 'variant_default_multimedia') ? undefined : (0, ItemContentMultimedia_1.ItemContentMultimediaFromJSON)(json['variant_default_multimedia']),
39
40
  'variant_merchant_item_id': !(0, runtime_1.exists)(json, 'variant_merchant_item_id') ? undefined : json['variant_merchant_item_id'],
40
41
  'variant_merchant_item_oid': !(0, runtime_1.exists)(json, 'variant_merchant_item_oid') ? undefined : json['variant_merchant_item_oid'],
42
+ 'variant_pricing': !(0, runtime_1.exists)(json, 'variant_pricing') ? undefined : (0, ItemPricing_1.ItemPricingFromJSON)(json['variant_pricing']),
41
43
  'variation_options': !(0, runtime_1.exists)(json, 'variation_options') ? undefined : json['variation_options'],
42
44
  'variations': !(0, runtime_1.exists)(json, 'variations') ? undefined : json['variations'],
43
45
  };
@@ -56,6 +58,7 @@ function ItemVariantItemToJSON(value) {
56
58
  'variant_default_multimedia': (0, ItemContentMultimedia_1.ItemContentMultimediaToJSON)(value.variant_default_multimedia),
57
59
  'variant_merchant_item_id': value.variant_merchant_item_id,
58
60
  'variant_merchant_item_oid': value.variant_merchant_item_oid,
61
+ 'variant_pricing': (0, ItemPricing_1.ItemPricingToJSON)(value.variant_pricing),
59
62
  'variation_options': value.variation_options,
60
63
  'variations': value.variations,
61
64
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.64",
3
+ "version": "4.1.66",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -50,6 +50,12 @@ export interface ConversationAgentAuth {
50
50
  * @memberof ConversationAgentAuth
51
51
  */
52
52
  conversation_participant_name?: string;
53
+ /**
54
+ *
55
+ * @type {boolean}
56
+ * @memberof ConversationAgentAuth
57
+ */
58
+ customer_profile?: boolean;
53
59
  /**
54
60
  * The default phone number this agent should use when making an outbound call.
55
61
  * @type {string}
@@ -167,6 +173,7 @@ export function ConversationAgentAuthFromJSONTyped(json: any, ignoreDiscriminato
167
173
  'chat_user': !exists(json, 'chat_user') ? undefined : json['chat_user'],
168
174
  'conversation_participant_arn': !exists(json, 'conversation_participant_arn') ? undefined : json['conversation_participant_arn'],
169
175
  'conversation_participant_name': !exists(json, 'conversation_participant_name') ? undefined : json['conversation_participant_name'],
176
+ 'customer_profile': !exists(json, 'customer_profile') ? undefined : json['customer_profile'],
170
177
  'default_phone_number': !exists(json, 'default_phone_number') ? undefined : json['default_phone_number'],
171
178
  'group_ids': !exists(json, 'group_ids') ? undefined : json['group_ids'],
172
179
  'jwt': !exists(json, 'jwt') ? undefined : json['jwt'],
@@ -198,6 +205,7 @@ export function ConversationAgentAuthToJSON(value?: ConversationAgentAuth | null
198
205
  'chat_user': value.chat_user,
199
206
  'conversation_participant_arn': value.conversation_participant_arn,
200
207
  'conversation_participant_name': value.conversation_participant_name,
208
+ 'customer_profile': value.customer_profile,
201
209
  'default_phone_number': value.default_phone_number,
202
210
  'group_ids': value.group_ids,
203
211
  'jwt': value.jwt,
@@ -19,6 +19,12 @@ import {
19
19
  ItemContentMultimediaFromJSONTyped,
20
20
  ItemContentMultimediaToJSON,
21
21
  } from './ItemContentMultimedia';
22
+ import {
23
+ ItemPricing,
24
+ ItemPricingFromJSON,
25
+ ItemPricingFromJSONTyped,
26
+ ItemPricingToJSON,
27
+ } from './ItemPricing';
22
28
 
23
29
  /**
24
30
  *
@@ -56,6 +62,12 @@ export interface ItemVariantItem {
56
62
  * @memberof ItemVariantItem
57
63
  */
58
64
  variant_merchant_item_oid?: number;
65
+ /**
66
+ *
67
+ * @type {ItemPricing}
68
+ * @memberof ItemVariantItem
69
+ */
70
+ variant_pricing?: ItemPricing;
59
71
  /**
60
72
  * Variation options
61
73
  * @type {Array<string>}
@@ -96,6 +108,7 @@ export function ItemVariantItemFromJSONTyped(json: any, ignoreDiscriminator: boo
96
108
  'variant_default_multimedia': !exists(json, 'variant_default_multimedia') ? undefined : ItemContentMultimediaFromJSON(json['variant_default_multimedia']),
97
109
  'variant_merchant_item_id': !exists(json, 'variant_merchant_item_id') ? undefined : json['variant_merchant_item_id'],
98
110
  'variant_merchant_item_oid': !exists(json, 'variant_merchant_item_oid') ? undefined : json['variant_merchant_item_oid'],
111
+ 'variant_pricing': !exists(json, 'variant_pricing') ? undefined : ItemPricingFromJSON(json['variant_pricing']),
99
112
  'variation_options': !exists(json, 'variation_options') ? undefined : json['variation_options'],
100
113
  'variations': !exists(json, 'variations') ? undefined : json['variations'],
101
114
  };
@@ -115,6 +128,7 @@ export function ItemVariantItemToJSON(value?: ItemVariantItem | null): any {
115
128
  'variant_default_multimedia': ItemContentMultimediaToJSON(value.variant_default_multimedia),
116
129
  'variant_merchant_item_id': value.variant_merchant_item_id,
117
130
  'variant_merchant_item_oid': value.variant_merchant_item_oid,
131
+ 'variant_pricing': ItemPricingToJSON(value.variant_pricing),
118
132
  'variation_options': value.variation_options,
119
133
  'variations': value.variations,
120
134
  };