ultracart_rest_api_v2_typescript 4.1.141 → 4.1.142

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.
Files changed (116) hide show
  1. package/README.md +3 -2
  2. package/dist/models/SfvbCompileRequest.d.ts +3 -3
  3. package/dist/models/SfvbCompileRequest.js +6 -6
  4. package/dist/models/SfvbCompileResponse.d.ts +2 -2
  5. package/dist/models/SfvbCompileResponse.js +4 -4
  6. package/dist/models/SfvbContainerResponse.d.ts +7 -7
  7. package/dist/models/SfvbContainerResponse.js +14 -14
  8. package/dist/models/SfvbContainerRevertRequest.d.ts +1 -1
  9. package/dist/models/SfvbContainerRevertRequest.js +2 -2
  10. package/dist/models/SfvbContainerVersion.d.ts +7 -7
  11. package/dist/models/SfvbContainerVersion.js +14 -14
  12. package/dist/models/SfvbContainerWriteRequest.d.ts +2 -2
  13. package/dist/models/SfvbContainerWriteRequest.js +4 -4
  14. package/dist/models/SfvbElement.d.ts +1 -1
  15. package/dist/models/SfvbElement.js +2 -2
  16. package/dist/models/SfvbElementsResponse.d.ts +1 -1
  17. package/dist/models/SfvbElementsResponse.js +2 -2
  18. package/dist/models/SfvbErrorDetail.d.ts +1 -1
  19. package/dist/models/SfvbErrorDetail.js +2 -2
  20. package/dist/models/SfvbFileContentResponse.d.ts +5 -5
  21. package/dist/models/SfvbFileContentResponse.js +10 -10
  22. package/dist/models/SfvbFileEntry.d.ts +9 -9
  23. package/dist/models/SfvbFileEntry.js +18 -18
  24. package/dist/models/SfvbFileSearchRequest.d.ts +12 -12
  25. package/dist/models/SfvbFileSearchRequest.js +24 -24
  26. package/dist/models/SfvbFileSearchResponse.d.ts +5 -5
  27. package/dist/models/SfvbFileSearchResponse.js +10 -10
  28. package/dist/models/SfvbFileVersion.d.ts +4 -4
  29. package/dist/models/SfvbFileVersion.js +8 -8
  30. package/dist/models/SfvbFileVersionsResponse.d.ts +1 -1
  31. package/dist/models/SfvbFileVersionsResponse.js +2 -2
  32. package/dist/models/SfvbFileWriteRequest.d.ts +1 -1
  33. package/dist/models/SfvbFileWriteRequest.js +2 -2
  34. package/dist/models/SfvbFileWriteResponse.d.ts +3 -3
  35. package/dist/models/SfvbFileWriteResponse.js +6 -6
  36. package/dist/models/SfvbFilesResponse.d.ts +3 -3
  37. package/dist/models/SfvbFilesResponse.js +6 -6
  38. package/dist/models/SfvbLibraryEntry.d.ts +6 -6
  39. package/dist/models/SfvbLibraryEntry.js +12 -12
  40. package/dist/models/SfvbLibraryFacet.d.ts +1 -1
  41. package/dist/models/SfvbLibraryFacet.js +2 -2
  42. package/dist/models/SfvbLibraryResponse.d.ts +4 -4
  43. package/dist/models/SfvbLibraryResponse.js +8 -8
  44. package/dist/models/SfvbPreviewSessionRequest.d.ts +1 -1
  45. package/dist/models/SfvbPreviewSessionRequest.js +2 -2
  46. package/dist/models/SfvbPreviewSessionResponse.d.ts +6 -6
  47. package/dist/models/SfvbPreviewSessionResponse.js +12 -12
  48. package/dist/models/SfvbPreviewUrlResponse.d.ts +5 -5
  49. package/dist/models/SfvbPreviewUrlResponse.js +10 -10
  50. package/dist/models/SfvbRenderRequest.d.ts +10 -10
  51. package/dist/models/SfvbRenderRequest.js +20 -20
  52. package/dist/models/SfvbRenderResponse.d.ts +1 -1
  53. package/dist/models/SfvbRenderResponse.js +2 -2
  54. package/dist/models/SfvbStorefront.d.ts +3 -3
  55. package/dist/models/SfvbStorefront.js +6 -6
  56. package/dist/models/SfvbTheme.d.ts +5 -5
  57. package/dist/models/SfvbTheme.js +10 -10
  58. package/dist/models/SfvbThemeDuplicateRequest.d.ts +2 -2
  59. package/dist/models/SfvbThemeDuplicateRequest.js +4 -4
  60. package/dist/models/SfvbThemeJobResponse.d.ts +7 -7
  61. package/dist/models/SfvbThemeJobResponse.js +14 -14
  62. package/dist/models/SfvbThemesResponse.d.ts +1 -1
  63. package/dist/models/SfvbThemesResponse.js +2 -2
  64. package/dist/models/SfvbUpsellOffer.d.ts +7 -7
  65. package/dist/models/SfvbUpsellOffer.js +14 -14
  66. package/dist/models/SfvbUpsellOffersResponse.d.ts +1 -1
  67. package/dist/models/SfvbUpsellOffersResponse.js +2 -2
  68. package/dist/models/SfvbValidateRequest.d.ts +4 -4
  69. package/dist/models/SfvbValidateRequest.js +8 -8
  70. package/dist/models/SfvbValidationResponse.d.ts +1 -1
  71. package/dist/models/SfvbValidationResponse.js +2 -2
  72. package/dist/models/SfvbVersionResponse.d.ts +9 -9
  73. package/dist/models/SfvbVersionResponse.js +18 -18
  74. package/dist/models/SfvbWhoamiResponse.d.ts +10 -10
  75. package/dist/models/SfvbWhoamiResponse.js +20 -20
  76. package/dist/models/SfvbWidgetIdsResponse.d.ts +1 -1
  77. package/dist/models/SfvbWidgetIdsResponse.js +2 -2
  78. package/package.json +1 -1
  79. package/src/models/SfvbCompileRequest.ts +9 -9
  80. package/src/models/SfvbCompileResponse.ts +6 -6
  81. package/src/models/SfvbContainerResponse.ts +21 -21
  82. package/src/models/SfvbContainerRevertRequest.ts +3 -3
  83. package/src/models/SfvbContainerVersion.ts +21 -21
  84. package/src/models/SfvbContainerWriteRequest.ts +6 -6
  85. package/src/models/SfvbElement.ts +3 -3
  86. package/src/models/SfvbElementsResponse.ts +3 -3
  87. package/src/models/SfvbErrorDetail.ts +3 -3
  88. package/src/models/SfvbFileContentResponse.ts +15 -15
  89. package/src/models/SfvbFileEntry.ts +27 -27
  90. package/src/models/SfvbFileSearchRequest.ts +36 -36
  91. package/src/models/SfvbFileSearchResponse.ts +15 -15
  92. package/src/models/SfvbFileVersion.ts +12 -12
  93. package/src/models/SfvbFileVersionsResponse.ts +3 -3
  94. package/src/models/SfvbFileWriteRequest.ts +3 -3
  95. package/src/models/SfvbFileWriteResponse.ts +9 -9
  96. package/src/models/SfvbFilesResponse.ts +9 -9
  97. package/src/models/SfvbLibraryEntry.ts +18 -18
  98. package/src/models/SfvbLibraryFacet.ts +3 -3
  99. package/src/models/SfvbLibraryResponse.ts +12 -12
  100. package/src/models/SfvbPreviewSessionRequest.ts +3 -3
  101. package/src/models/SfvbPreviewSessionResponse.ts +18 -18
  102. package/src/models/SfvbPreviewUrlResponse.ts +15 -15
  103. package/src/models/SfvbRenderRequest.ts +30 -30
  104. package/src/models/SfvbRenderResponse.ts +3 -3
  105. package/src/models/SfvbStorefront.ts +9 -9
  106. package/src/models/SfvbTheme.ts +15 -15
  107. package/src/models/SfvbThemeDuplicateRequest.ts +6 -6
  108. package/src/models/SfvbThemeJobResponse.ts +21 -21
  109. package/src/models/SfvbThemesResponse.ts +3 -3
  110. package/src/models/SfvbUpsellOffer.ts +21 -21
  111. package/src/models/SfvbUpsellOffersResponse.ts +3 -3
  112. package/src/models/SfvbValidateRequest.ts +12 -12
  113. package/src/models/SfvbValidationResponse.ts +3 -3
  114. package/src/models/SfvbVersionResponse.ts +27 -27
  115. package/src/models/SfvbWhoamiResponse.ts +30 -30
  116. package/src/models/SfvbWidgetIdsResponse.ts +3 -3
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # UltraCart Typescript SDK
2
- ## ultracart_rest_api_v2_typescript@4.1.141
2
+ ## ultracart_rest_api_v2_typescript@4.1.142
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.141 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.142 --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.142 | 08/26/2026 | sfvb - internal test |
88
89
  | 4.1.141 | 08/26/2026 | sfvb - internal testing |
89
90
  | 4.1.140 | 08/26/2026 | sfvb - internal testing |
90
91
  | 4.1.139 | 08/26/2026 | sfvb - internal testing |
@@ -26,19 +26,19 @@ export interface SfvbCompileRequest {
26
26
  * @type {string}
27
27
  * @memberof SfvbCompileRequest
28
28
  */
29
- containerName?: string;
29
+ container_name?: string;
30
30
  /**
31
31
  * Optional storefront oid. Required when theme_oid is supplied.
32
32
  * @type {number}
33
33
  * @memberof SfvbCompileRequest
34
34
  */
35
- storefrontOid?: number;
35
+ storefront_oid?: number;
36
36
  /**
37
37
  * Optional theme oid. Supplies the theme's inherit groups configuration so compilation matches what the theme would produce. Omit to compile without inheritance.
38
38
  * @type {number}
39
39
  * @memberof SfvbCompileRequest
40
40
  */
41
- themeOid?: number;
41
+ theme_oid?: number;
42
42
  /**
43
43
  * Run validation before compiling and fail on errors. Defaults to true.
44
44
  * @type {boolean}
@@ -33,9 +33,9 @@ function SfvbCompileRequestFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'cjson': !(0, runtime_1.exists)(json, 'cjson') ? undefined : json['cjson'],
36
- 'containerName': !(0, runtime_1.exists)(json, 'containerName') ? undefined : json['containerName'],
37
- 'storefrontOid': !(0, runtime_1.exists)(json, 'storefrontOid') ? undefined : json['storefrontOid'],
38
- 'themeOid': !(0, runtime_1.exists)(json, 'themeOid') ? undefined : json['themeOid'],
36
+ 'container_name': !(0, runtime_1.exists)(json, 'container_name') ? undefined : json['container_name'],
37
+ 'storefront_oid': !(0, runtime_1.exists)(json, 'storefront_oid') ? undefined : json['storefront_oid'],
38
+ 'theme_oid': !(0, runtime_1.exists)(json, 'theme_oid') ? undefined : json['theme_oid'],
39
39
  'validate': !(0, runtime_1.exists)(json, 'validate') ? undefined : json['validate'],
40
40
  };
41
41
  }
@@ -49,9 +49,9 @@ function SfvbCompileRequestToJSON(value) {
49
49
  }
50
50
  return {
51
51
  'cjson': value.cjson,
52
- 'containerName': value.containerName,
53
- 'storefrontOid': value.storefrontOid,
54
- 'themeOid': value.themeOid,
52
+ 'container_name': value.container_name,
53
+ 'storefront_oid': value.storefront_oid,
54
+ 'theme_oid': value.theme_oid,
55
55
  'validate': value.validate,
56
56
  };
57
57
  }
@@ -21,7 +21,7 @@ export interface SfvbCompileResponse {
21
21
  * @type {string}
22
22
  * @memberof SfvbCompileResponse
23
23
  */
24
- containerId?: string;
24
+ container_id?: string;
25
25
  /**
26
26
  * Velocity directives the compiled output declares.
27
27
  * @type {Array<string>}
@@ -39,7 +39,7 @@ export interface SfvbCompileResponse {
39
39
  * @type {Array<string>}
40
40
  * @memberof SfvbCompileResponse
41
41
  */
42
- usedElements?: Array<string>;
42
+ used_elements?: Array<string>;
43
43
  /**
44
44
  *
45
45
  * @type {SfvbValidationResponse}
@@ -33,10 +33,10 @@ function SfvbCompileResponseFromJSONTyped(json, ignoreDiscriminator) {
33
33
  return json;
34
34
  }
35
35
  return {
36
- 'containerId': !(0, runtime_1.exists)(json, 'containerId') ? undefined : json['containerId'],
36
+ 'container_id': !(0, runtime_1.exists)(json, 'container_id') ? undefined : json['container_id'],
37
37
  'directives': !(0, runtime_1.exists)(json, 'directives') ? undefined : json['directives'],
38
38
  'success': !(0, runtime_1.exists)(json, 'success') ? undefined : json['success'],
39
- 'usedElements': !(0, runtime_1.exists)(json, 'usedElements') ? undefined : json['usedElements'],
39
+ 'used_elements': !(0, runtime_1.exists)(json, 'used_elements') ? undefined : json['used_elements'],
40
40
  'validation': !(0, runtime_1.exists)(json, 'validation') ? undefined : (0, SfvbValidationResponse_1.SfvbValidationResponseFromJSON)(json['validation']),
41
41
  'velocity': !(0, runtime_1.exists)(json, 'velocity') ? undefined : json['velocity'],
42
42
  };
@@ -50,10 +50,10 @@ function SfvbCompileResponseToJSON(value) {
50
50
  return null;
51
51
  }
52
52
  return {
53
- 'containerId': value.containerId,
53
+ 'container_id': value.container_id,
54
54
  'directives': value.directives,
55
55
  'success': value.success,
56
- 'usedElements': value.usedElements,
56
+ 'used_elements': value.used_elements,
57
57
  'validation': (0, SfvbValidationResponse_1.SfvbValidationResponseToJSON)(value.validation),
58
58
  'velocity': value.velocity,
59
59
  };
@@ -20,7 +20,7 @@ export interface SfvbContainerResponse {
20
20
  * @type {boolean}
21
21
  * @memberof SfvbContainerResponse
22
22
  */
23
- activeTheme?: boolean;
23
+ active_theme?: boolean;
24
24
  /**
25
25
  * The container JSON. Runtime state is stripped on the way out.
26
26
  * @type {string}
@@ -32,37 +32,37 @@ export interface SfvbContainerResponse {
32
32
  * @type {string}
33
33
  * @memberof SfvbContainerResponse
34
34
  */
35
- containerId?: string;
35
+ container_id?: string;
36
36
  /**
37
37
  * Container name.
38
38
  * @type {string}
39
39
  * @memberof SfvbContainerResponse
40
40
  */
41
- containerName?: string;
41
+ container_name?: string;
42
42
  /**
43
43
  * SHA-256 of the cjson. Send back as If-Match when writing.
44
44
  * @type {string}
45
45
  * @memberof SfvbContainerResponse
46
46
  */
47
- hashSha256?: string;
47
+ hash_sha256?: string;
48
48
  /**
49
49
  * When the container was last modified, where the store records it.
50
50
  * @type {string}
51
51
  * @memberof SfvbContainerResponse
52
52
  */
53
- lastModified?: string;
53
+ last_modified?: string;
54
54
  /**
55
55
  * Identifier of the owning object within its store.
56
56
  * @type {string}
57
57
  * @memberof SfvbContainerResponse
58
58
  */
59
- ownerObjectId?: string;
59
+ owner_object_id?: string;
60
60
  /**
61
61
  * Where this container lives.
62
62
  * @type {string}
63
63
  * @memberof SfvbContainerResponse
64
64
  */
65
- ownerType?: SfvbContainerResponseOwnerTypeEnum;
65
+ owner_type?: SfvbContainerResponseOwnerTypeEnum;
66
66
  /**
67
67
  * File path, for theme and page containers only.
68
68
  * @type {string}
@@ -43,14 +43,14 @@ function SfvbContainerResponseFromJSONTyped(json, ignoreDiscriminator) {
43
43
  return json;
44
44
  }
45
45
  return {
46
- 'activeTheme': !(0, runtime_1.exists)(json, 'activeTheme') ? undefined : json['activeTheme'],
46
+ 'active_theme': !(0, runtime_1.exists)(json, 'active_theme') ? undefined : json['active_theme'],
47
47
  'cjson': !(0, runtime_1.exists)(json, 'cjson') ? undefined : json['cjson'],
48
- 'containerId': !(0, runtime_1.exists)(json, 'containerId') ? undefined : json['containerId'],
49
- 'containerName': !(0, runtime_1.exists)(json, 'containerName') ? undefined : json['containerName'],
50
- 'hashSha256': !(0, runtime_1.exists)(json, 'hashSha256') ? undefined : json['hashSha256'],
51
- 'lastModified': !(0, runtime_1.exists)(json, 'lastModified') ? undefined : json['lastModified'],
52
- 'ownerObjectId': !(0, runtime_1.exists)(json, 'ownerObjectId') ? undefined : json['ownerObjectId'],
53
- 'ownerType': !(0, runtime_1.exists)(json, 'ownerType') ? undefined : json['ownerType'],
48
+ 'container_id': !(0, runtime_1.exists)(json, 'container_id') ? undefined : json['container_id'],
49
+ 'container_name': !(0, runtime_1.exists)(json, 'container_name') ? undefined : json['container_name'],
50
+ 'hash_sha256': !(0, runtime_1.exists)(json, 'hash_sha256') ? undefined : json['hash_sha256'],
51
+ 'last_modified': !(0, runtime_1.exists)(json, 'last_modified') ? undefined : json['last_modified'],
52
+ 'owner_object_id': !(0, runtime_1.exists)(json, 'owner_object_id') ? undefined : json['owner_object_id'],
53
+ 'owner_type': !(0, runtime_1.exists)(json, 'owner_type') ? undefined : json['owner_type'],
54
54
  'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
55
55
  'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
56
56
  };
@@ -64,14 +64,14 @@ function SfvbContainerResponseToJSON(value) {
64
64
  return null;
65
65
  }
66
66
  return {
67
- 'activeTheme': value.activeTheme,
67
+ 'active_theme': value.active_theme,
68
68
  'cjson': value.cjson,
69
- 'containerId': value.containerId,
70
- 'containerName': value.containerName,
71
- 'hashSha256': value.hashSha256,
72
- 'lastModified': value.lastModified,
73
- 'ownerObjectId': value.ownerObjectId,
74
- 'ownerType': value.ownerType,
69
+ 'container_id': value.container_id,
70
+ 'container_name': value.container_name,
71
+ 'hash_sha256': value.hash_sha256,
72
+ 'last_modified': value.last_modified,
73
+ 'owner_object_id': value.owner_object_id,
74
+ 'owner_type': value.owner_type,
75
75
  'path': value.path,
76
76
  'version': value.version,
77
77
  };
@@ -26,7 +26,7 @@ export interface SfvbContainerRevertRequest {
26
26
  * @type {number}
27
27
  * @memberof SfvbContainerRevertRequest
28
28
  */
29
- containerHistoryOid?: number;
29
+ container_history_oid?: number;
30
30
  }
31
31
  /**
32
32
  * Check if a given object implements the SfvbContainerRevertRequest interface.
@@ -33,7 +33,7 @@ function SfvbContainerRevertRequestFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'comment': !(0, runtime_1.exists)(json, 'comment') ? undefined : json['comment'],
36
- 'containerHistoryOid': !(0, runtime_1.exists)(json, 'containerHistoryOid') ? undefined : json['containerHistoryOid'],
36
+ 'container_history_oid': !(0, runtime_1.exists)(json, 'container_history_oid') ? undefined : json['container_history_oid'],
37
37
  };
38
38
  }
39
39
  exports.SfvbContainerRevertRequestFromJSONTyped = SfvbContainerRevertRequestFromJSONTyped;
@@ -46,7 +46,7 @@ function SfvbContainerRevertRequestToJSON(value) {
46
46
  }
47
47
  return {
48
48
  'comment': value.comment,
49
- 'containerHistoryOid': value.containerHistoryOid,
49
+ 'container_history_oid': value.container_history_oid,
50
50
  };
51
51
  }
52
52
  exports.SfvbContainerRevertRequestToJSON = SfvbContainerRevertRequestToJSON;
@@ -32,19 +32,19 @@ export interface SfvbContainerVersion {
32
32
  * @type {number}
33
33
  * @memberof SfvbContainerVersion
34
34
  */
35
- containerHistoryOid?: number;
35
+ container_history_oid?: number;
36
36
  /**
37
37
  * Container name, where the owner has more than one container.
38
38
  * @type {string}
39
39
  * @memberof SfvbContainerVersion
40
40
  */
41
- containerName?: string;
41
+ container_name?: string;
42
42
  /**
43
43
  * When this snapshot was taken.
44
44
  * @type {string}
45
45
  * @memberof SfvbContainerVersion
46
46
  */
47
- createdDts?: string;
47
+ created_dts?: string;
48
48
  /**
49
49
  * True for the value currently stored.
50
50
  * @type {boolean}
@@ -56,13 +56,13 @@ export interface SfvbContainerVersion {
56
56
  * @type {string}
57
57
  * @memberof SfvbContainerVersion
58
58
  */
59
- editedBy?: string;
59
+ edited_by?: string;
60
60
  /**
61
61
  * SHA-256 of this version's CJSON.
62
62
  * @type {string}
63
63
  * @memberof SfvbContainerVersion
64
64
  */
65
- hashSha256?: string;
65
+ hash_sha256?: string;
66
66
  /**
67
67
  * What the container was before the write this entry precedes. create means it did not exist, so reverting to this entry removes it again; update means it held the cjson recorded here.
68
68
  * @type {string}
@@ -74,13 +74,13 @@ export interface SfvbContainerVersion {
74
74
  * @type {string}
75
75
  * @memberof SfvbContainerVersion
76
76
  */
77
- ownerObjectId?: string;
77
+ owner_object_id?: string;
78
78
  /**
79
79
  * Owner type.
80
80
  * @type {string}
81
81
  * @memberof SfvbContainerVersion
82
82
  */
83
- ownerType?: SfvbContainerVersionOwnerTypeEnum;
83
+ owner_type?: SfvbContainerVersionOwnerTypeEnum;
84
84
  /**
85
85
  * Size of this version's CJSON in bytes.
86
86
  * @type {number}
@@ -51,15 +51,15 @@ function SfvbContainerVersionFromJSONTyped(json, ignoreDiscriminator) {
51
51
  return {
52
52
  'cjson': !(0, runtime_1.exists)(json, 'cjson') ? undefined : json['cjson'],
53
53
  'comment': !(0, runtime_1.exists)(json, 'comment') ? undefined : json['comment'],
54
- 'containerHistoryOid': !(0, runtime_1.exists)(json, 'containerHistoryOid') ? undefined : json['containerHistoryOid'],
55
- 'containerName': !(0, runtime_1.exists)(json, 'containerName') ? undefined : json['containerName'],
56
- 'createdDts': !(0, runtime_1.exists)(json, 'createdDts') ? undefined : json['createdDts'],
54
+ 'container_history_oid': !(0, runtime_1.exists)(json, 'container_history_oid') ? undefined : json['container_history_oid'],
55
+ 'container_name': !(0, runtime_1.exists)(json, 'container_name') ? undefined : json['container_name'],
56
+ 'created_dts': !(0, runtime_1.exists)(json, 'created_dts') ? undefined : json['created_dts'],
57
57
  'current': !(0, runtime_1.exists)(json, 'current') ? undefined : json['current'],
58
- 'editedBy': !(0, runtime_1.exists)(json, 'editedBy') ? undefined : json['editedBy'],
59
- 'hashSha256': !(0, runtime_1.exists)(json, 'hashSha256') ? undefined : json['hashSha256'],
58
+ 'edited_by': !(0, runtime_1.exists)(json, 'edited_by') ? undefined : json['edited_by'],
59
+ 'hash_sha256': !(0, runtime_1.exists)(json, 'hash_sha256') ? undefined : json['hash_sha256'],
60
60
  'operation': !(0, runtime_1.exists)(json, 'operation') ? undefined : json['operation'],
61
- 'ownerObjectId': !(0, runtime_1.exists)(json, 'ownerObjectId') ? undefined : json['ownerObjectId'],
62
- 'ownerType': !(0, runtime_1.exists)(json, 'ownerType') ? undefined : json['ownerType'],
61
+ 'owner_object_id': !(0, runtime_1.exists)(json, 'owner_object_id') ? undefined : json['owner_object_id'],
62
+ 'owner_type': !(0, runtime_1.exists)(json, 'owner_type') ? undefined : json['owner_type'],
63
63
  'size': !(0, runtime_1.exists)(json, 'size') ? undefined : json['size'],
64
64
  };
65
65
  }
@@ -74,15 +74,15 @@ function SfvbContainerVersionToJSON(value) {
74
74
  return {
75
75
  'cjson': value.cjson,
76
76
  'comment': value.comment,
77
- 'containerHistoryOid': value.containerHistoryOid,
78
- 'containerName': value.containerName,
79
- 'createdDts': value.createdDts,
77
+ 'container_history_oid': value.container_history_oid,
78
+ 'container_name': value.container_name,
79
+ 'created_dts': value.created_dts,
80
80
  'current': value.current,
81
- 'editedBy': value.editedBy,
82
- 'hashSha256': value.hashSha256,
81
+ 'edited_by': value.edited_by,
82
+ 'hash_sha256': value.hash_sha256,
83
83
  'operation': value.operation,
84
- 'ownerObjectId': value.ownerObjectId,
85
- 'ownerType': value.ownerType,
84
+ 'owner_object_id': value.owner_object_id,
85
+ 'owner_type': value.owner_type,
86
86
  'size': value.size,
87
87
  };
88
88
  }
@@ -20,7 +20,7 @@ export interface SfvbContainerWriteRequest {
20
20
  * @type {boolean}
21
21
  * @memberof SfvbContainerWriteRequest
22
22
  */
23
- allowWarnings?: boolean;
23
+ allow_warnings?: boolean;
24
24
  /**
25
25
  * The container JSON to store.
26
26
  * @type {string}
@@ -38,7 +38,7 @@ export interface SfvbContainerWriteRequest {
38
38
  * @type {boolean}
39
39
  * @memberof SfvbContainerWriteRequest
40
40
  */
41
- marketingEmail?: boolean;
41
+ marketing_email?: boolean;
42
42
  }
43
43
  /**
44
44
  * Check if a given object implements the SfvbContainerWriteRequest interface.
@@ -32,10 +32,10 @@ function SfvbContainerWriteRequestFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
- 'allowWarnings': !(0, runtime_1.exists)(json, 'allowWarnings') ? undefined : json['allowWarnings'],
35
+ 'allow_warnings': !(0, runtime_1.exists)(json, 'allow_warnings') ? undefined : json['allow_warnings'],
36
36
  'cjson': !(0, runtime_1.exists)(json, 'cjson') ? undefined : json['cjson'],
37
37
  'comment': !(0, runtime_1.exists)(json, 'comment') ? undefined : json['comment'],
38
- 'marketingEmail': !(0, runtime_1.exists)(json, 'marketingEmail') ? undefined : json['marketingEmail'],
38
+ 'marketing_email': !(0, runtime_1.exists)(json, 'marketing_email') ? undefined : json['marketing_email'],
39
39
  };
40
40
  }
41
41
  exports.SfvbContainerWriteRequestFromJSONTyped = SfvbContainerWriteRequestFromJSONTyped;
@@ -47,10 +47,10 @@ function SfvbContainerWriteRequestToJSON(value) {
47
47
  return null;
48
48
  }
49
49
  return {
50
- 'allowWarnings': value.allowWarnings,
50
+ 'allow_warnings': value.allow_warnings,
51
51
  'cjson': value.cjson,
52
52
  'comment': value.comment,
53
- 'marketingEmail': value.marketingEmail,
53
+ 'marketing_email': value.marketing_email,
54
54
  };
55
55
  }
56
56
  exports.SfvbContainerWriteRequestToJSON = SfvbContainerWriteRequestToJSON;
@@ -20,7 +20,7 @@ export interface SfvbElement {
20
20
  * @type {boolean}
21
21
  * @memberof SfvbElement
22
22
  */
23
- schemaAvailable?: boolean;
23
+ schema_available?: boolean;
24
24
  /**
25
25
  * The element type as it appears in the type property of a CJSON node.
26
26
  * @type {string}
@@ -32,7 +32,7 @@ function SfvbElementFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
- 'schemaAvailable': !(0, runtime_1.exists)(json, 'schemaAvailable') ? undefined : json['schemaAvailable'],
35
+ 'schema_available': !(0, runtime_1.exists)(json, 'schema_available') ? undefined : json['schema_available'],
36
36
  'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
37
37
  };
38
38
  }
@@ -45,7 +45,7 @@ function SfvbElementToJSON(value) {
45
45
  return null;
46
46
  }
47
47
  return {
48
- 'schemaAvailable': value.schemaAvailable,
48
+ 'schema_available': value.schema_available,
49
49
  'type': value.type,
50
50
  };
51
51
  }
@@ -21,7 +21,7 @@ export interface SfvbElementsResponse {
21
21
  * @type {number}
22
22
  * @memberof SfvbElementsResponse
23
23
  */
24
- elementCount?: number;
24
+ element_count?: number;
25
25
  /**
26
26
  * Every element type the compiler recognizes, sorted.
27
27
  * @type {Array<SfvbElement>}
@@ -33,7 +33,7 @@ function SfvbElementsResponseFromJSONTyped(json, ignoreDiscriminator) {
33
33
  return json;
34
34
  }
35
35
  return {
36
- 'elementCount': !(0, runtime_1.exists)(json, 'elementCount') ? undefined : json['elementCount'],
36
+ 'element_count': !(0, runtime_1.exists)(json, 'element_count') ? undefined : json['element_count'],
37
37
  'elements': !(0, runtime_1.exists)(json, 'elements') ? undefined : (json['elements'].map(SfvbElement_1.SfvbElementFromJSON)),
38
38
  'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
39
39
  };
@@ -47,7 +47,7 @@ function SfvbElementsResponseToJSON(value) {
47
47
  return null;
48
48
  }
49
49
  return {
50
- 'elementCount': value.elementCount,
50
+ 'element_count': value.element_count,
51
51
  'elements': value.elements === undefined ? undefined : (value.elements.map(SfvbElement_1.SfvbElementToJSON)),
52
52
  'version': value.version,
53
53
  };
@@ -32,7 +32,7 @@ export interface SfvbErrorDetail {
32
32
  * @type {Array<string>}
33
33
  * @memberof SfvbErrorDetail
34
34
  */
35
- didYouMean?: Array<string>;
35
+ did_you_mean?: Array<string>;
36
36
  /**
37
37
  * Description of what was expected instead.
38
38
  * @type {string}
@@ -41,7 +41,7 @@ function SfvbErrorDetailFromJSONTyped(json, ignoreDiscriminator) {
41
41
  return {
42
42
  'code': !(0, runtime_1.exists)(json, 'code') ? undefined : json['code'],
43
43
  'column': !(0, runtime_1.exists)(json, 'column') ? undefined : json['column'],
44
- 'didYouMean': !(0, runtime_1.exists)(json, 'didYouMean') ? undefined : json['didYouMean'],
44
+ 'did_you_mean': !(0, runtime_1.exists)(json, 'did_you_mean') ? undefined : json['did_you_mean'],
45
45
  'expected': !(0, runtime_1.exists)(json, 'expected') ? undefined : json['expected'],
46
46
  'found': !(0, runtime_1.exists)(json, 'found') ? undefined : json['found'],
47
47
  'line': !(0, runtime_1.exists)(json, 'line') ? undefined : json['line'],
@@ -62,7 +62,7 @@ function SfvbErrorDetailToJSON(value) {
62
62
  return {
63
63
  'code': value.code,
64
64
  'column': value.column,
65
- 'didYouMean': value.didYouMean,
65
+ 'did_you_mean': value.did_you_mean,
66
66
  'expected': value.expected,
67
67
  'found': value.found,
68
68
  'line': value.line,
@@ -20,7 +20,7 @@ export interface SfvbFileContentResponse {
20
20
  * @type {boolean}
21
21
  * @memberof SfvbFileContentResponse
22
22
  */
23
- autoCompiled?: boolean;
23
+ auto_compiled?: boolean;
24
24
  /**
25
25
  * UTF-8 content. Only text/* files can be read this way.
26
26
  * @type {string}
@@ -32,19 +32,19 @@ export interface SfvbFileContentResponse {
32
32
  * @type {number}
33
33
  * @memberof SfvbFileContentResponse
34
34
  */
35
- fsFileOid?: number;
35
+ fs_file_oid?: number;
36
36
  /**
37
37
  * SHA-256 of the content. Also returned as the ETag header; send it back as If-Match when writing.
38
38
  * @type {string}
39
39
  * @memberof SfvbFileContentResponse
40
40
  */
41
- hashSha256?: string;
41
+ hash_sha256?: string;
42
42
  /**
43
43
  * Mime type.
44
44
  * @type {string}
45
45
  * @memberof SfvbFileContentResponse
46
46
  */
47
- mimeType?: string;
47
+ mime_type?: string;
48
48
  /**
49
49
  * Full path of the file.
50
50
  * @type {string}
@@ -74,7 +74,7 @@ export interface SfvbFileContentResponse {
74
74
  * @type {string}
75
75
  * @memberof SfvbFileContentResponse
76
76
  */
77
- velocityErrors?: string;
77
+ velocity_errors?: string;
78
78
  /**
79
79
  * Version number of the content returned.
80
80
  * @type {number}
@@ -32,16 +32,16 @@ function SfvbFileContentResponseFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
- 'autoCompiled': !(0, runtime_1.exists)(json, 'autoCompiled') ? undefined : json['autoCompiled'],
35
+ 'auto_compiled': !(0, runtime_1.exists)(json, 'auto_compiled') ? undefined : json['auto_compiled'],
36
36
  'content': !(0, runtime_1.exists)(json, 'content') ? undefined : json['content'],
37
- 'fsFileOid': !(0, runtime_1.exists)(json, 'fsFileOid') ? undefined : json['fsFileOid'],
38
- 'hashSha256': !(0, runtime_1.exists)(json, 'hashSha256') ? undefined : json['hashSha256'],
39
- 'mimeType': !(0, runtime_1.exists)(json, 'mimeType') ? undefined : json['mimeType'],
37
+ 'fs_file_oid': !(0, runtime_1.exists)(json, 'fs_file_oid') ? undefined : json['fs_file_oid'],
38
+ 'hash_sha256': !(0, runtime_1.exists)(json, 'hash_sha256') ? undefined : json['hash_sha256'],
39
+ 'mime_type': !(0, runtime_1.exists)(json, 'mime_type') ? undefined : json['mime_type'],
40
40
  'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
41
41
  'size': !(0, runtime_1.exists)(json, 'size') ? undefined : json['size'],
42
42
  'truncated': !(0, runtime_1.exists)(json, 'truncated') ? undefined : json['truncated'],
43
43
  'valid': !(0, runtime_1.exists)(json, 'valid') ? undefined : json['valid'],
44
- 'velocityErrors': !(0, runtime_1.exists)(json, 'velocityErrors') ? undefined : json['velocityErrors'],
44
+ 'velocity_errors': !(0, runtime_1.exists)(json, 'velocity_errors') ? undefined : json['velocity_errors'],
45
45
  'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
46
46
  };
47
47
  }
@@ -54,16 +54,16 @@ function SfvbFileContentResponseToJSON(value) {
54
54
  return null;
55
55
  }
56
56
  return {
57
- 'autoCompiled': value.autoCompiled,
57
+ 'auto_compiled': value.auto_compiled,
58
58
  'content': value.content,
59
- 'fsFileOid': value.fsFileOid,
60
- 'hashSha256': value.hashSha256,
61
- 'mimeType': value.mimeType,
59
+ 'fs_file_oid': value.fs_file_oid,
60
+ 'hash_sha256': value.hash_sha256,
61
+ 'mime_type': value.mime_type,
62
62
  'path': value.path,
63
63
  'size': value.size,
64
64
  'truncated': value.truncated,
65
65
  'valid': value.valid,
66
- 'velocityErrors': value.velocityErrors,
66
+ 'velocity_errors': value.velocity_errors,
67
67
  'version': value.version,
68
68
  };
69
69
  }
@@ -20,7 +20,7 @@ export interface SfvbFileEntry {
20
20
  * @type {boolean}
21
21
  * @memberof SfvbFileEntry
22
22
  */
23
- autoCompiled?: boolean;
23
+ auto_compiled?: boolean;
24
24
  /**
25
25
  * True when this entry is a directory.
26
26
  * @type {boolean}
@@ -32,43 +32,43 @@ export interface SfvbFileEntry {
32
32
  * @type {number}
33
33
  * @memberof SfvbFileEntry
34
34
  */
35
- fsDirectoryOid?: number;
35
+ fs_directory_oid?: number;
36
36
  /**
37
37
  * StoreFront file system file oid.
38
38
  * @type {number}
39
39
  * @memberof SfvbFileEntry
40
40
  */
41
- fsFileOid?: number;
41
+ fs_file_oid?: number;
42
42
  /**
43
43
  * SHA-256 of the content. Use as the If-Match value when writing.
44
44
  * @type {string}
45
45
  * @memberof SfvbFileEntry
46
46
  */
47
- hashSha256?: string;
47
+ hash_sha256?: string;
48
48
  /**
49
49
  * True when the file has internationalization violations.
50
50
  * @type {boolean}
51
51
  * @memberof SfvbFileEntry
52
52
  */
53
- i18nViolation?: boolean;
53
+ i18n_violation?: boolean;
54
54
  /**
55
55
  * Last modified timestamp.
56
56
  * @type {string}
57
57
  * @memberof SfvbFileEntry
58
58
  */
59
- lastModified?: string;
59
+ last_modified?: string;
60
60
  /**
61
61
  * True when the file carries an unresolved theme merge conflict. Blocks theme activation.
62
62
  * @type {boolean}
63
63
  * @memberof SfvbFileEntry
64
64
  */
65
- mergeConflict?: boolean;
65
+ merge_conflict?: boolean;
66
66
  /**
67
67
  * Mime type. Only text/* files can be read as content or searched by text.
68
68
  * @type {string}
69
69
  * @memberof SfvbFileEntry
70
70
  */
71
- mimeType?: string;
71
+ mime_type?: string;
72
72
  /**
73
73
  * File or directory name.
74
74
  * @type {string}
@@ -86,7 +86,7 @@ export interface SfvbFileEntry {
86
86
  * @type {boolean}
87
87
  * @memberof SfvbFileEntry
88
88
  */
89
- readOnly?: boolean;
89
+ read_only?: boolean;
90
90
  /**
91
91
  * Size in bytes. Zero for directories.
92
92
  * @type {number}