ultracart_rest_api_v2_typescript 4.1.192 → 4.1.193
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.
|
|
2
|
+
## ultracart_rest_api_v2_typescript@4.1.193
|
|
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
|
+
npm install ultracart_rest_api_v2_typescript@4.1.193 --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.193 | 10/06/2026 | sfvb internal testing |
|
|
87
88
|
| 4.1.192 | 10/06/2026 | sfvb internal testing |
|
|
88
89
|
| 4.1.191 | 10/06/2026 | sfvb internal testing |
|
|
89
90
|
| 4.1.190 | 10/06/2026 | sfvb internal testing |
|
|
@@ -46,6 +46,12 @@ export interface SfvbRenderResponse {
|
|
|
46
46
|
* @memberof SfvbRenderResponse
|
|
47
47
|
*/
|
|
48
48
|
truncated?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Strings rendered in English because no translation is stored for the requested language yet. A render never translates, so re-rendering does not change this. Push the page to store its hand translations; machine translations are made when shoppers first view it in that language.
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof SfvbRenderResponse
|
|
53
|
+
*/
|
|
54
|
+
untranslated_count?: number;
|
|
49
55
|
/**
|
|
50
56
|
* Quality warnings about the rendered node.
|
|
51
57
|
* @type {Array<SfvbErrorDetail>}
|
|
@@ -38,6 +38,7 @@ function SfvbRenderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'pending_translation_count': !(0, runtime_1.exists)(json, 'pending_translation_count') ? undefined : json['pending_translation_count'],
|
|
39
39
|
'success': !(0, runtime_1.exists)(json, 'success') ? undefined : json['success'],
|
|
40
40
|
'truncated': !(0, runtime_1.exists)(json, 'truncated') ? undefined : json['truncated'],
|
|
41
|
+
'untranslated_count': !(0, runtime_1.exists)(json, 'untranslated_count') ? undefined : json['untranslated_count'],
|
|
41
42
|
'warnings': !(0, runtime_1.exists)(json, 'warnings') ? undefined : (json['warnings'].map(SfvbErrorDetail_1.SfvbErrorDetailFromJSON)),
|
|
42
43
|
};
|
|
43
44
|
}
|
|
@@ -55,6 +56,7 @@ function SfvbRenderResponseToJSON(value) {
|
|
|
55
56
|
'pending_translation_count': value.pending_translation_count,
|
|
56
57
|
'success': value.success,
|
|
57
58
|
'truncated': value.truncated,
|
|
59
|
+
'untranslated_count': value.untranslated_count,
|
|
58
60
|
'warnings': value.warnings === undefined ? undefined : (value.warnings.map(SfvbErrorDetail_1.SfvbErrorDetailToJSON)),
|
|
59
61
|
};
|
|
60
62
|
}
|
package/package.json
CHANGED
|
@@ -56,6 +56,12 @@ export interface SfvbRenderResponse {
|
|
|
56
56
|
* @memberof SfvbRenderResponse
|
|
57
57
|
*/
|
|
58
58
|
truncated?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Strings rendered in English because no translation is stored for the requested language yet. A render never translates, so re-rendering does not change this. Push the page to store its hand translations; machine translations are made when shoppers first view it in that language.
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof SfvbRenderResponse
|
|
63
|
+
*/
|
|
64
|
+
untranslated_count?: number;
|
|
59
65
|
/**
|
|
60
66
|
* Quality warnings about the rendered node.
|
|
61
67
|
* @type {Array<SfvbErrorDetail>}
|
|
@@ -90,6 +96,7 @@ export function SfvbRenderResponseFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
90
96
|
'pending_translation_count': !exists(json, 'pending_translation_count') ? undefined : json['pending_translation_count'],
|
|
91
97
|
'success': !exists(json, 'success') ? undefined : json['success'],
|
|
92
98
|
'truncated': !exists(json, 'truncated') ? undefined : json['truncated'],
|
|
99
|
+
'untranslated_count': !exists(json, 'untranslated_count') ? undefined : json['untranslated_count'],
|
|
93
100
|
'warnings': !exists(json, 'warnings') ? undefined : ((json['warnings'] as Array<any>).map(SfvbErrorDetailFromJSON)),
|
|
94
101
|
};
|
|
95
102
|
}
|
|
@@ -108,6 +115,7 @@ export function SfvbRenderResponseToJSON(value?: SfvbRenderResponse | null): any
|
|
|
108
115
|
'pending_translation_count': value.pending_translation_count,
|
|
109
116
|
'success': value.success,
|
|
110
117
|
'truncated': value.truncated,
|
|
118
|
+
'untranslated_count': value.untranslated_count,
|
|
111
119
|
'warnings': value.warnings === undefined ? undefined : ((value.warnings as Array<any>).map(SfvbErrorDetailToJSON)),
|
|
112
120
|
};
|
|
113
121
|
}
|