ultracart_rest_api_v2_typescript 4.1.153 → 4.1.154

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.153
2
+ ## ultracart_rest_api_v2_typescript@4.1.154
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.153 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.154 --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.154 | 09/14/2026 | sfvb internal testing |
88
89
  | 4.1.153 | 09/14/2026 | sfvb internal testing |
89
90
  | 4.1.152 | 09/09/2026 | sfvb - internal testing |
90
91
  | 4.1.151 | 09/04/2026 | conversations - added ai agent capabilities |
@@ -365,8 +365,8 @@ export interface SfvbApiInterface {
365
365
  */
366
366
  getSfvbContainerVersion(requestParameters: GetSfvbContainerVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbContainerVersion>;
367
367
  /**
368
- *
369
- * @summary Configuration schema for one element type
368
+ * schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
369
+ * @summary Configuration schema and field card for one element type
370
370
  * @param {string} elementType
371
371
  * @param {*} [options] Override http request option.
372
372
  * @throws {RequiredError}
@@ -374,7 +374,8 @@ export interface SfvbApiInterface {
374
374
  */
375
375
  getSfvbElementRaw(requestParameters: GetSfvbElementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbElementSchemaResponse>>;
376
376
  /**
377
- * Configuration schema for one element type
377
+ * schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
378
+ * Configuration schema and field card for one element type
378
379
  */
379
380
  getSfvbElement(requestParameters: GetSfvbElementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbElementSchemaResponse>;
380
381
  /**
@@ -991,11 +992,13 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
991
992
  */
992
993
  getSfvbContainerVersion(requestParameters: GetSfvbContainerVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbContainerVersion>;
993
994
  /**
994
- * Configuration schema for one element type
995
+ * schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
996
+ * Configuration schema and field card for one element type
995
997
  */
996
998
  getSfvbElementRaw(requestParameters: GetSfvbElementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbElementSchemaResponse>>;
997
999
  /**
998
- * Configuration schema for one element type
1000
+ * schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
1001
+ * Configuration schema and field card for one element type
999
1002
  */
1000
1003
  getSfvbElement(requestParameters: GetSfvbElementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbElementSchemaResponse>;
1001
1004
  /**
@@ -718,7 +718,8 @@ var SfvbApi = /** @class */ (function (_super) {
718
718
  });
719
719
  };
720
720
  /**
721
- * Configuration schema for one element type
721
+ * schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
722
+ * Configuration schema and field card for one element type
722
723
  */
723
724
  SfvbApi.prototype.getSfvbElementRaw = function (requestParameters, initOverrides) {
724
725
  return __awaiter(this, void 0, void 0, function () {
@@ -758,7 +759,8 @@ var SfvbApi = /** @class */ (function (_super) {
758
759
  });
759
760
  };
760
761
  /**
761
- * Configuration schema for one element type
762
+ * schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
763
+ * Configuration schema and field card for one element type
762
764
  */
763
765
  SfvbApi.prototype.getSfvbElement = function (requestParameters, initOverrides) {
764
766
  return __awaiter(this, void 0, void 0, function () {
@@ -15,6 +15,12 @@
15
15
  * @interface SfvbElement
16
16
  */
17
17
  export interface SfvbElement {
18
+ /**
19
+ * True when a markdown field card for this element is available from elements/{element_type}.
20
+ * @type {boolean}
21
+ * @memberof SfvbElement
22
+ */
23
+ doc_available?: boolean;
18
24
  /**
19
25
  * True when a per element configuration schema is available from elements/{element_type}.
20
26
  * @type {boolean}
@@ -32,6 +32,7 @@ function SfvbElementFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
+ 'doc_available': !(0, runtime_1.exists)(json, 'doc_available') ? undefined : json['doc_available'],
35
36
  'schema_available': !(0, runtime_1.exists)(json, 'schema_available') ? undefined : json['schema_available'],
36
37
  'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
37
38
  };
@@ -45,6 +46,7 @@ function SfvbElementToJSON(value) {
45
46
  return null;
46
47
  }
47
48
  return {
49
+ 'doc_available': value.doc_available,
48
50
  'schema_available': value.schema_available,
49
51
  'type': value.type,
50
52
  };
@@ -16,7 +16,13 @@
16
16
  */
17
17
  export interface SfvbElementSchemaResponse {
18
18
  /**
19
- * JSON schema for this element's config object, as a JSON string. Null when no schema has been published for this element yet.
19
+ * Markdown field card for this element, as a string. Omitted when no field card has been published for this element.
20
+ * @type {string}
21
+ * @memberof SfvbElementSchemaResponse
22
+ */
23
+ doc?: string;
24
+ /**
25
+ * Draft-07 JSON schema for this element's config object, as a JSON string. Omitted when no schema has been published for this element.
20
26
  * @type {string}
21
27
  * @memberof SfvbElementSchemaResponse
22
28
  */
@@ -32,6 +32,7 @@ function SfvbElementSchemaResponseFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
+ 'doc': !(0, runtime_1.exists)(json, 'doc') ? undefined : json['doc'],
35
36
  'schema': !(0, runtime_1.exists)(json, 'schema') ? undefined : json['schema'],
36
37
  'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
37
38
  };
@@ -45,6 +46,7 @@ function SfvbElementSchemaResponseToJSON(value) {
45
46
  return null;
46
47
  }
47
48
  return {
49
+ 'doc': value.doc,
48
50
  'schema': value.schema,
49
51
  'type': value.type,
50
52
  };
@@ -28,7 +28,7 @@ export interface SfvbThemeJobResponse {
28
28
  */
29
29
  description?: string;
30
30
  /**
31
- * Failure detail. Populated only when status is error.
31
+ * What to do next when the job did not produce a theme. The internal cause is not returned; it is recorded against the job id in the server log.
32
32
  * @type {string}
33
33
  * @memberof SfvbThemeJobResponse
34
34
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.153",
3
+ "version": "4.1.154",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -563,8 +563,8 @@ export interface SfvbApiInterface {
563
563
  getSfvbContainerVersion(requestParameters: GetSfvbContainerVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbContainerVersion>;
564
564
 
565
565
  /**
566
- *
567
- * @summary Configuration schema for one element type
566
+ * schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
567
+ * @summary Configuration schema and field card for one element type
568
568
  * @param {string} elementType
569
569
  * @param {*} [options] Override http request option.
570
570
  * @throws {RequiredError}
@@ -573,7 +573,8 @@ export interface SfvbApiInterface {
573
573
  getSfvbElementRaw(requestParameters: GetSfvbElementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbElementSchemaResponse>>;
574
574
 
575
575
  /**
576
- * Configuration schema for one element type
576
+ * schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
577
+ * Configuration schema and field card for one element type
577
578
  */
578
579
  getSfvbElement(requestParameters: GetSfvbElementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbElementSchemaResponse>;
579
580
 
@@ -1647,7 +1648,8 @@ export class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface {
1647
1648
  }
1648
1649
 
1649
1650
  /**
1650
- * Configuration schema for one element type
1651
+ * schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
1652
+ * Configuration schema and field card for one element type
1651
1653
  */
1652
1654
  async getSfvbElementRaw(requestParameters: GetSfvbElementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbElementSchemaResponse>> {
1653
1655
  if (requestParameters.elementType === null || requestParameters.elementType === undefined) {
@@ -1678,7 +1680,8 @@ export class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface {
1678
1680
  }
1679
1681
 
1680
1682
  /**
1681
- * Configuration schema for one element type
1683
+ * schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
1684
+ * Configuration schema and field card for one element type
1682
1685
  */
1683
1686
  async getSfvbElement(requestParameters: GetSfvbElementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbElementSchemaResponse> {
1684
1687
  const response = await this.getSfvbElementRaw(requestParameters, initOverrides);
@@ -19,6 +19,12 @@ import { exists, mapValues } from '../runtime';
19
19
  * @interface SfvbElement
20
20
  */
21
21
  export interface SfvbElement {
22
+ /**
23
+ * True when a markdown field card for this element is available from elements/{element_type}.
24
+ * @type {boolean}
25
+ * @memberof SfvbElement
26
+ */
27
+ doc_available?: boolean;
22
28
  /**
23
29
  * True when a per element configuration schema is available from elements/{element_type}.
24
30
  * @type {boolean}
@@ -54,6 +60,7 @@ export function SfvbElementFromJSONTyped(json: any, ignoreDiscriminator: boolean
54
60
  }
55
61
  return {
56
62
 
63
+ 'doc_available': !exists(json, 'doc_available') ? undefined : json['doc_available'],
57
64
  'schema_available': !exists(json, 'schema_available') ? undefined : json['schema_available'],
58
65
  'type': !exists(json, 'type') ? undefined : json['type'],
59
66
  };
@@ -68,6 +75,7 @@ export function SfvbElementToJSON(value?: SfvbElement | null): any {
68
75
  }
69
76
  return {
70
77
 
78
+ 'doc_available': value.doc_available,
71
79
  'schema_available': value.schema_available,
72
80
  'type': value.type,
73
81
  };
@@ -20,7 +20,13 @@ import { exists, mapValues } from '../runtime';
20
20
  */
21
21
  export interface SfvbElementSchemaResponse {
22
22
  /**
23
- * JSON schema for this element's config object, as a JSON string. Null when no schema has been published for this element yet.
23
+ * Markdown field card for this element, as a string. Omitted when no field card has been published for this element.
24
+ * @type {string}
25
+ * @memberof SfvbElementSchemaResponse
26
+ */
27
+ doc?: string;
28
+ /**
29
+ * Draft-07 JSON schema for this element's config object, as a JSON string. Omitted when no schema has been published for this element.
24
30
  * @type {string}
25
31
  * @memberof SfvbElementSchemaResponse
26
32
  */
@@ -54,6 +60,7 @@ export function SfvbElementSchemaResponseFromJSONTyped(json: any, ignoreDiscrimi
54
60
  }
55
61
  return {
56
62
 
63
+ 'doc': !exists(json, 'doc') ? undefined : json['doc'],
57
64
  'schema': !exists(json, 'schema') ? undefined : json['schema'],
58
65
  'type': !exists(json, 'type') ? undefined : json['type'],
59
66
  };
@@ -68,6 +75,7 @@ export function SfvbElementSchemaResponseToJSON(value?: SfvbElementSchemaRespons
68
75
  }
69
76
  return {
70
77
 
78
+ 'doc': value.doc,
71
79
  'schema': value.schema,
72
80
  'type': value.type,
73
81
  };
@@ -32,7 +32,7 @@ export interface SfvbThemeJobResponse {
32
32
  */
33
33
  description?: string;
34
34
  /**
35
- * Failure detail. Populated only when status is error.
35
+ * What to do next when the job did not produce a theme. The internal cause is not returned; it is recorded against the job id in the server log.
36
36
  * @type {string}
37
37
  * @memberof SfvbThemeJobResponse
38
38
  */