ultracart_rest_api_v2_typescript 4.1.42 → 4.1.44

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.42
2
+ ## ultracart_rest_api_v2_typescript@4.1.44
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.42 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.44 --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.44 | 01/26/2026 | conversations - ConversationDepartmentMember expose a flag for if the agent is AI |
89
+ | 4.1.43 | 01/14/2026 | coupons - generate one time coupons prefix support (optional) |
88
90
  | 4.1.42 | 01/13/2026 | conversations - pbx methods for phone number purchasing |
89
91
  | 4.1.41 | 01/13/2026 | conversations - pbx methods for phone number purchasing |
90
92
  | 4.1.40 | 01/07/2026 | convseration - AI agent profile voice settings |
@@ -15,6 +15,12 @@
15
15
  * @interface ConversationDepartmentMember
16
16
  */
17
17
  export interface ConversationDepartmentMember {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof ConversationDepartmentMember
22
+ */
23
+ ai?: boolean;
18
24
  /**
19
25
  *
20
26
  * @type {boolean}
@@ -32,6 +32,7 @@ function ConversationDepartmentMemberFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
+ 'ai': !(0, runtime_1.exists)(json, 'ai') ? undefined : json['ai'],
35
36
  'member': !(0, runtime_1.exists)(json, 'member') ? undefined : json['member'],
36
37
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
38
  'user_id': !(0, runtime_1.exists)(json, 'user_id') ? undefined : json['user_id'],
@@ -46,6 +47,7 @@ function ConversationDepartmentMemberToJSON(value) {
46
47
  return null;
47
48
  }
48
49
  return {
50
+ 'ai': value.ai,
49
51
  'member': value.member,
50
52
  'name': value.name,
51
53
  'user_id': value.user_id,
@@ -42,6 +42,12 @@ export interface CouponCodesRequest {
42
42
  * @memberof CouponCodesRequest
43
43
  */
44
44
  metadata?: ResponseMetadata;
45
+ /**
46
+ * Optional prefix for generated codes
47
+ * @type {string}
48
+ * @memberof CouponCodesRequest
49
+ */
50
+ prefix?: string;
45
51
  /**
46
52
  * Quantity
47
53
  * @type {number}
@@ -39,6 +39,7 @@ function CouponCodesRequestFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'expiration_dts': !(0, runtime_1.exists)(json, 'expiration_dts') ? undefined : json['expiration_dts'],
40
40
  'expiration_seconds': !(0, runtime_1.exists)(json, 'expiration_seconds') ? undefined : json['expiration_seconds'],
41
41
  'metadata': !(0, runtime_1.exists)(json, 'metadata') ? undefined : (0, ResponseMetadata_1.ResponseMetadataFromJSON)(json['metadata']),
42
+ 'prefix': !(0, runtime_1.exists)(json, 'prefix') ? undefined : json['prefix'],
42
43
  'quantity': !(0, runtime_1.exists)(json, 'quantity') ? undefined : json['quantity'],
43
44
  'success': !(0, runtime_1.exists)(json, 'success') ? undefined : json['success'],
44
45
  'warning': !(0, runtime_1.exists)(json, 'warning') ? undefined : (0, Warning_1.WarningFromJSON)(json['warning']),
@@ -57,6 +58,7 @@ function CouponCodesRequestToJSON(value) {
57
58
  'expiration_dts': value.expiration_dts,
58
59
  'expiration_seconds': value.expiration_seconds,
59
60
  'metadata': (0, ResponseMetadata_1.ResponseMetadataToJSON)(value.metadata),
61
+ 'prefix': value.prefix,
60
62
  'quantity': value.quantity,
61
63
  'success': value.success,
62
64
  'warning': (0, Warning_1.WarningToJSON)(value.warning),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.42",
3
+ "version": "4.1.44",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -19,6 +19,12 @@ import { exists, mapValues } from '../runtime';
19
19
  * @interface ConversationDepartmentMember
20
20
  */
21
21
  export interface ConversationDepartmentMember {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ConversationDepartmentMember
26
+ */
27
+ ai?: boolean;
22
28
  /**
23
29
  *
24
30
  * @type {boolean}
@@ -60,6 +66,7 @@ export function ConversationDepartmentMemberFromJSONTyped(json: any, ignoreDiscr
60
66
  }
61
67
  return {
62
68
 
69
+ 'ai': !exists(json, 'ai') ? undefined : json['ai'],
63
70
  'member': !exists(json, 'member') ? undefined : json['member'],
64
71
  'name': !exists(json, 'name') ? undefined : json['name'],
65
72
  'user_id': !exists(json, 'user_id') ? undefined : json['user_id'],
@@ -75,6 +82,7 @@ export function ConversationDepartmentMemberToJSON(value?: ConversationDepartmen
75
82
  }
76
83
  return {
77
84
 
85
+ 'ai': value.ai,
78
86
  'member': value.member,
79
87
  'name': value.name,
80
88
  'user_id': value.user_id,
@@ -62,6 +62,12 @@ export interface CouponCodesRequest {
62
62
  * @memberof CouponCodesRequest
63
63
  */
64
64
  metadata?: ResponseMetadata;
65
+ /**
66
+ * Optional prefix for generated codes
67
+ * @type {string}
68
+ * @memberof CouponCodesRequest
69
+ */
70
+ prefix?: string;
65
71
  /**
66
72
  * Quantity
67
73
  * @type {number}
@@ -107,6 +113,7 @@ export function CouponCodesRequestFromJSONTyped(json: any, ignoreDiscriminator:
107
113
  'expiration_dts': !exists(json, 'expiration_dts') ? undefined : json['expiration_dts'],
108
114
  'expiration_seconds': !exists(json, 'expiration_seconds') ? undefined : json['expiration_seconds'],
109
115
  'metadata': !exists(json, 'metadata') ? undefined : ResponseMetadataFromJSON(json['metadata']),
116
+ 'prefix': !exists(json, 'prefix') ? undefined : json['prefix'],
110
117
  'quantity': !exists(json, 'quantity') ? undefined : json['quantity'],
111
118
  'success': !exists(json, 'success') ? undefined : json['success'],
112
119
  'warning': !exists(json, 'warning') ? undefined : WarningFromJSON(json['warning']),
@@ -126,6 +133,7 @@ export function CouponCodesRequestToJSON(value?: CouponCodesRequest | null): any
126
133
  'expiration_dts': value.expiration_dts,
127
134
  'expiration_seconds': value.expiration_seconds,
128
135
  'metadata': ResponseMetadataToJSON(value.metadata),
136
+ 'prefix': value.prefix,
129
137
  'quantity': value.quantity,
130
138
  'success': value.success,
131
139
  'warning': WarningToJSON(value.warning),