ultracart_rest_api_v2_typescript 4.1.205 → 4.1.206

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.205
2
+ ## ultracart_rest_api_v2_typescript@4.1.206
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.205 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.206 --save
10
10
  ```
11
11
 
12
12
  ```typescript
@@ -84,6 +84,7 @@ Not every change is committed to every SDK.
84
84
 
85
85
  | Version | Date | Comments |
86
86
  | --: | :-: | --- |
87
+ | 4.1.206 | 10/16/2026 | sfvb internal testing |
87
88
  | 4.1.205 | 10/15/2026 | sfvb internal testing |
88
89
  | 4.1.204 | 10/15/2026 | sfvb internal testing |
89
90
  | 4.1.203 | 10/15/2026 | sfvb internal testing |
@@ -16,11 +16,17 @@
16
16
  */
17
17
  export interface SfvbTransactionalEmail {
18
18
  /**
19
- * The body container a draft replaces, such as receipt_body.cjson.
19
+ * The body container a draft replaces, such as receipt_body.cjson. Present only when the theme has the file.
20
20
  * @type {string}
21
21
  * @memberof SfvbTransactionalEmail
22
22
  */
23
23
  body_file_name?: string;
24
+ /**
25
+ * The full theme file path of the body container, such as /themes/Elements/core/emails/receipt_body.cjson. Read it with the files endpoint. Present only when the theme has the file.
26
+ * @type {string}
27
+ * @memberof SfvbTransactionalEmail
28
+ */
29
+ body_path?: string;
24
30
  /**
25
31
  * The HTML template file, such as receipt_html.vm.
26
32
  * @type {string}
@@ -33,6 +33,7 @@ function SfvbTransactionalEmailFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'body_file_name': !(0, runtime_1.exists)(json, 'body_file_name') ? undefined : json['body_file_name'],
36
+ 'body_path': !(0, runtime_1.exists)(json, 'body_path') ? undefined : json['body_path'],
36
37
  'file_name': !(0, runtime_1.exists)(json, 'file_name') ? undefined : json['file_name'],
37
38
  'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
38
39
  'text_file_name': !(0, runtime_1.exists)(json, 'text_file_name') ? undefined : json['text_file_name'],
@@ -48,6 +49,7 @@ function SfvbTransactionalEmailToJSON(value) {
48
49
  }
49
50
  return {
50
51
  'body_file_name': value.body_file_name,
52
+ 'body_path': value.body_path,
51
53
  'file_name': value.file_name,
52
54
  'name': value.name,
53
55
  'text_file_name': value.text_file_name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.205",
3
+ "version": "4.1.206",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -20,11 +20,17 @@ import { exists, mapValues } from '../runtime';
20
20
  */
21
21
  export interface SfvbTransactionalEmail {
22
22
  /**
23
- * The body container a draft replaces, such as receipt_body.cjson.
23
+ * The body container a draft replaces, such as receipt_body.cjson. Present only when the theme has the file.
24
24
  * @type {string}
25
25
  * @memberof SfvbTransactionalEmail
26
26
  */
27
27
  body_file_name?: string;
28
+ /**
29
+ * The full theme file path of the body container, such as /themes/Elements/core/emails/receipt_body.cjson. Read it with the files endpoint. Present only when the theme has the file.
30
+ * @type {string}
31
+ * @memberof SfvbTransactionalEmail
32
+ */
33
+ body_path?: string;
28
34
  /**
29
35
  * The HTML template file, such as receipt_html.vm.
30
36
  * @type {string}
@@ -67,6 +73,7 @@ export function SfvbTransactionalEmailFromJSONTyped(json: any, ignoreDiscriminat
67
73
  return {
68
74
 
69
75
  'body_file_name': !exists(json, 'body_file_name') ? undefined : json['body_file_name'],
76
+ 'body_path': !exists(json, 'body_path') ? undefined : json['body_path'],
70
77
  'file_name': !exists(json, 'file_name') ? undefined : json['file_name'],
71
78
  'name': !exists(json, 'name') ? undefined : json['name'],
72
79
  'text_file_name': !exists(json, 'text_file_name') ? undefined : json['text_file_name'],
@@ -83,6 +90,7 @@ export function SfvbTransactionalEmailToJSON(value?: SfvbTransactionalEmail | nu
83
90
  return {
84
91
 
85
92
  'body_file_name': value.body_file_name,
93
+ 'body_path': value.body_path,
86
94
  'file_name': value.file_name,
87
95
  'name': value.name,
88
96
  'text_file_name': value.text_file_name,