ultracart_rest_api_v2_typescript 4.1.26 → 4.1.27

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.26
2
+ ## ultracart_rest_api_v2_typescript@4.1.27
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.26 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.27 --save
10
10
  ```
11
11
 
12
12
  ```typescript
@@ -85,6 +85,7 @@ Not every change is committed to every SDK.
85
85
 
86
86
  | Version | Date | Comments |
87
87
  | --: | :-: | --- |
88
+ | 4.1.27 | 11/06/2025 | conversation ai knowledge base changes |
88
89
  | 4.1.26 | 10/20/2025 | conversation api bug fixes |
89
90
  | 4.1.25 | 10/20/2025 | conversation api bug fix for bad url on agent profile kb upload |
90
91
  | 4.1.24 | 10/20/2025 | new perm flag on conversation virtual agent capabilities |
@@ -15,6 +15,12 @@
15
15
  * @interface ConversationInsertKnowledgeBaseDocumentRequest
16
16
  */
17
17
  export interface ConversationInsertKnowledgeBaseDocumentRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ConversationInsertKnowledgeBaseDocumentRequest
22
+ */
23
+ original_file_name?: string;
18
24
  /**
19
25
  *
20
26
  * @type {string}
@@ -32,6 +32,7 @@ function ConversationInsertKnowledgeBaseDocumentRequestFromJSONTyped(json, ignor
32
32
  return json;
33
33
  }
34
34
  return {
35
+ 'original_file_name': !(0, runtime_1.exists)(json, 'original_file_name') ? undefined : json['original_file_name'],
35
36
  'presigned_url': !(0, runtime_1.exists)(json, 'presigned_url') ? undefined : json['presigned_url'],
36
37
  };
37
38
  }
@@ -44,6 +45,7 @@ function ConversationInsertKnowledgeBaseDocumentRequestToJSON(value) {
44
45
  return null;
45
46
  }
46
47
  return {
48
+ 'original_file_name': value.original_file_name,
47
49
  'presigned_url': value.presigned_url,
48
50
  };
49
51
  }
@@ -57,6 +57,12 @@ export interface ConversationKnowledgeBaseDocument {
57
57
  * @memberof ConversationKnowledgeBaseDocument
58
58
  */
59
59
  s3_key?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof ConversationKnowledgeBaseDocument
64
+ */
65
+ s3_url?: string;
60
66
  }
61
67
  /**
62
68
  * Check if a given object implements the ConversationKnowledgeBaseDocument interface.
@@ -39,6 +39,7 @@ function ConversationKnowledgeBaseDocumentFromJSONTyped(json, ignoreDiscriminato
39
39
  'metadata': !(0, runtime_1.exists)(json, 'metadata') ? undefined : json['metadata'],
40
40
  'mime_type': !(0, runtime_1.exists)(json, 'mime_type') ? undefined : json['mime_type'],
41
41
  's3_key': !(0, runtime_1.exists)(json, 's3_key') ? undefined : json['s3_key'],
42
+ 's3_url': !(0, runtime_1.exists)(json, 's3_url') ? undefined : json['s3_url'],
42
43
  };
43
44
  }
44
45
  exports.ConversationKnowledgeBaseDocumentFromJSONTyped = ConversationKnowledgeBaseDocumentFromJSONTyped;
@@ -57,6 +58,7 @@ function ConversationKnowledgeBaseDocumentToJSON(value) {
57
58
  'metadata': value.metadata,
58
59
  'mime_type': value.mime_type,
59
60
  's3_key': value.s3_key,
61
+ 's3_url': value.s3_url,
60
62
  };
61
63
  }
62
64
  exports.ConversationKnowledgeBaseDocumentToJSON = ConversationKnowledgeBaseDocumentToJSON;
@@ -180,6 +180,7 @@ export declare const OrderPaymentPaymentMethodEnum: {
180
180
  readonly GooglePay: "Google Pay";
181
181
  readonly HealthBenefitCard: "Health Benefit Card";
182
182
  readonly PayPalFastlane: "PayPal Fastlane";
183
+ readonly Klarna: "Klarna";
183
184
  };
184
185
  export type OrderPaymentPaymentMethodEnum = typeof OrderPaymentPaymentMethodEnum[keyof typeof OrderPaymentPaymentMethodEnum];
185
186
  /**
@@ -58,7 +58,8 @@ exports.OrderPaymentPaymentMethodEnum = {
58
58
  ApplePay: 'Apple Pay',
59
59
  GooglePay: 'Google Pay',
60
60
  HealthBenefitCard: 'Health Benefit Card',
61
- PayPalFastlane: 'PayPal Fastlane'
61
+ PayPalFastlane: 'PayPal Fastlane',
62
+ Klarna: 'Klarna'
62
63
  };
63
64
  /**
64
65
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.26",
3
+ "version": "4.1.27",
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 ConversationInsertKnowledgeBaseDocumentRequest
20
20
  */
21
21
  export interface ConversationInsertKnowledgeBaseDocumentRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ConversationInsertKnowledgeBaseDocumentRequest
26
+ */
27
+ original_file_name?: string;
22
28
  /**
23
29
  *
24
30
  * @type {string}
@@ -48,6 +54,7 @@ export function ConversationInsertKnowledgeBaseDocumentRequestFromJSONTyped(json
48
54
  }
49
55
  return {
50
56
 
57
+ 'original_file_name': !exists(json, 'original_file_name') ? undefined : json['original_file_name'],
51
58
  'presigned_url': !exists(json, 'presigned_url') ? undefined : json['presigned_url'],
52
59
  };
53
60
  }
@@ -61,6 +68,7 @@ export function ConversationInsertKnowledgeBaseDocumentRequestToJSON(value?: Con
61
68
  }
62
69
  return {
63
70
 
71
+ 'original_file_name': value.original_file_name,
64
72
  'presigned_url': value.presigned_url,
65
73
  };
66
74
  }
@@ -61,6 +61,12 @@ export interface ConversationKnowledgeBaseDocument {
61
61
  * @memberof ConversationKnowledgeBaseDocument
62
62
  */
63
63
  s3_key?: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof ConversationKnowledgeBaseDocument
68
+ */
69
+ s3_url?: string;
64
70
  }
65
71
 
66
72
 
@@ -91,6 +97,7 @@ export function ConversationKnowledgeBaseDocumentFromJSONTyped(json: any, ignore
91
97
  'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
92
98
  'mime_type': !exists(json, 'mime_type') ? undefined : json['mime_type'],
93
99
  's3_key': !exists(json, 's3_key') ? undefined : json['s3_key'],
100
+ 's3_url': !exists(json, 's3_url') ? undefined : json['s3_url'],
94
101
  };
95
102
  }
96
103
 
@@ -110,6 +117,7 @@ export function ConversationKnowledgeBaseDocumentToJSON(value?: ConversationKnow
110
117
  'metadata': value.metadata,
111
118
  'mime_type': value.mime_type,
112
119
  's3_key': value.s3_key,
120
+ 's3_url': value.s3_url,
113
121
  };
114
122
  }
115
123
 
@@ -232,7 +232,8 @@ export const OrderPaymentPaymentMethodEnum = {
232
232
  ApplePay: 'Apple Pay',
233
233
  GooglePay: 'Google Pay',
234
234
  HealthBenefitCard: 'Health Benefit Card',
235
- PayPalFastlane: 'PayPal Fastlane'
235
+ PayPalFastlane: 'PayPal Fastlane',
236
+ Klarna: 'Klarna'
236
237
  } as const;
237
238
  export type OrderPaymentPaymentMethodEnum = typeof OrderPaymentPaymentMethodEnum[keyof typeof OrderPaymentPaymentMethodEnum];
238
239