ultracart_rest_api_v2_typescript 4.1.178 → 4.1.179

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.
@@ -1075,6 +1075,12 @@ src/models/SfvbPreviewAccessResponse.ts
1075
1075
  src/models/SfvbPreviewSessionRequest.ts
1076
1076
  src/models/SfvbPreviewSessionResponse.ts
1077
1077
  src/models/SfvbPreviewUrlResponse.ts
1078
+ src/models/SfvbRecording.ts
1079
+ src/models/SfvbRecordingEvent.ts
1080
+ src/models/SfvbRecordingEventsResponse.ts
1081
+ src/models/SfvbRecordingPageView.ts
1082
+ src/models/SfvbRecordingParameter.ts
1083
+ src/models/SfvbRecordingResponse.ts
1078
1084
  src/models/SfvbRenderRequest.ts
1079
1085
  src/models/SfvbRenderResponse.ts
1080
1086
  src/models/SfvbServerLog.ts
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # UltraCart Typescript SDK
2
- ## ultracart_rest_api_v2_typescript@4.1.178
2
+ ## ultracart_rest_api_v2_typescript@4.1.179
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.178 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.179 --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.179 | 10/01/2026 | sfvb internal testing |
87
88
  | 4.1.178 | 09/30/2026 | sfvb internal testing |
88
89
  | 4.1.177 | 09/30/2026 | sfvb internal testing |
89
90
  | 4.1.176 | 09/29/2026 | taxcloud tax provider testing |
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { SfvbBlogPostDetail, SfvbBlogPostImageRequest, SfvbBlogPostRequest, SfvbBlogPostsResponse, SfvbCompileRequest, SfvbCompileResponse, SfvbContainerResponse, SfvbContainerRevertRequest, SfvbContainerVersion, SfvbContainerVersionsResponse, SfvbContainerWriteRequest, SfvbElementSchemaResponse, SfvbElementsResponse, SfvbExperiment, SfvbExperimentEndRequest, SfvbExperimentObjectivesResponse, SfvbExperimentStartRequest, SfvbExperimentVariationUpdateRequest, SfvbExperimentsResponse, SfvbFileContentResponse, SfvbFileRevertRequest, SfvbFileSearchRequest, SfvbFileSearchResponse, SfvbFileUploadRequest, SfvbFileUploadUrlResponse, SfvbFileVersionsResponse, SfvbFileWriteRequest, SfvbFileWriteResponse, SfvbFilesResponse, SfvbItemAttributeUpdateRequest, SfvbItemContainersResponse, SfvbItemContentRequest, SfvbItemMultimediaRequest, SfvbItemResponse, SfvbItemSeoRequest, SfvbLibraryEntry, SfvbLibraryResponse, SfvbMenu, SfvbMenuWriteRequest, SfvbMenusResponse, SfvbPageAttributeUpdateRequest, SfvbPageBlogPostsRequest, SfvbPageBlogPostsResponse, SfvbPageCreateRequest, SfvbPageDuplicateRequest, SfvbPageItemsAddRequest, SfvbPageItemsRemoveRequest, SfvbPageItemsResponse, SfvbPageListResponse, SfvbPageMultimediaRequest, SfvbPageRefreshRequest, SfvbPageRefreshResponse, SfvbPageResponse, SfvbPageSelectors, SfvbPageSettingsRequest, SfvbPreviewAccessRequest, SfvbPreviewAccessResponse, SfvbPreviewSessionRequest, SfvbPreviewSessionResponse, SfvbPreviewUrlResponse, SfvbRenderRequest, SfvbRenderResponse, SfvbServerLogDetail, SfvbServerLogsResponse, SfvbSiteAttributeUpdateRequest, SfvbSiteAttributesResponse, SfvbStorefrontsResponse, SfvbTemplateResolveResponse, SfvbTemplatesResponse, SfvbTheme, SfvbThemeAttributeUpdateRequest, SfvbThemeAttributesResponse, SfvbThemeDuplicateRequest, SfvbThemeJobResponse, SfvbThemesResponse, SfvbUpsellOffer, SfvbUpsellOffersResponse, SfvbUpsellPath, SfvbUpsellPathDuplicateRequest, SfvbUpsellPathMoveRequest, SfvbUpsellPathsResponse, SfvbValidateRequest, SfvbValidationResponse, SfvbVelocityValidateRequest, SfvbVersionResponse, SfvbWhoamiResponse, SfvbWidgetIdsResponse } from '../models';
13
+ import { SfvbBlogPostDetail, SfvbBlogPostImageRequest, SfvbBlogPostRequest, SfvbBlogPostsResponse, SfvbCompileRequest, SfvbCompileResponse, SfvbContainerResponse, SfvbContainerRevertRequest, SfvbContainerVersion, SfvbContainerVersionsResponse, SfvbContainerWriteRequest, SfvbElementSchemaResponse, SfvbElementsResponse, SfvbExperiment, SfvbExperimentEndRequest, SfvbExperimentObjectivesResponse, SfvbExperimentStartRequest, SfvbExperimentVariationUpdateRequest, SfvbExperimentsResponse, SfvbFileContentResponse, SfvbFileRevertRequest, SfvbFileSearchRequest, SfvbFileSearchResponse, SfvbFileUploadRequest, SfvbFileUploadUrlResponse, SfvbFileVersionsResponse, SfvbFileWriteRequest, SfvbFileWriteResponse, SfvbFilesResponse, SfvbItemAttributeUpdateRequest, SfvbItemContainersResponse, SfvbItemContentRequest, SfvbItemMultimediaRequest, SfvbItemResponse, SfvbItemSeoRequest, SfvbLibraryEntry, SfvbLibraryResponse, SfvbMenu, SfvbMenuWriteRequest, SfvbMenusResponse, SfvbPageAttributeUpdateRequest, SfvbPageBlogPostsRequest, SfvbPageBlogPostsResponse, SfvbPageCreateRequest, SfvbPageDuplicateRequest, SfvbPageItemsAddRequest, SfvbPageItemsRemoveRequest, SfvbPageItemsResponse, SfvbPageListResponse, SfvbPageMultimediaRequest, SfvbPageRefreshRequest, SfvbPageRefreshResponse, SfvbPageResponse, SfvbPageSelectors, SfvbPageSettingsRequest, SfvbPreviewAccessRequest, SfvbPreviewAccessResponse, SfvbPreviewSessionRequest, SfvbPreviewSessionResponse, SfvbPreviewUrlResponse, SfvbRecordingEventsResponse, SfvbRecordingResponse, SfvbRenderRequest, SfvbRenderResponse, SfvbServerLogDetail, SfvbServerLogsResponse, SfvbSiteAttributeUpdateRequest, SfvbSiteAttributesResponse, SfvbStorefrontsResponse, SfvbTemplateResolveResponse, SfvbTemplatesResponse, SfvbTheme, SfvbThemeAttributeUpdateRequest, SfvbThemeAttributesResponse, SfvbThemeDuplicateRequest, SfvbThemeJobResponse, SfvbThemesResponse, SfvbUpsellOffer, SfvbUpsellOffersResponse, SfvbUpsellPath, SfvbUpsellPathDuplicateRequest, SfvbUpsellPathMoveRequest, SfvbUpsellPathsResponse, SfvbValidateRequest, SfvbValidationResponse, SfvbVelocityValidateRequest, SfvbVersionResponse, SfvbWhoamiResponse, SfvbWidgetIdsResponse } from '../models';
14
14
  export interface AddSfvbPageBlogPostsRequest {
15
15
  storefrontOid: number;
16
16
  path: string;
@@ -189,6 +189,15 @@ export interface GetSfvbPreviewUrlRequest {
189
189
  previewSessionId: string;
190
190
  path?: string;
191
191
  }
192
+ export interface GetSfvbRecordingRequest {
193
+ storefrontOid: number;
194
+ screenRecordingUuid: string;
195
+ }
196
+ export interface GetSfvbRecordingPageViewEventsRequest {
197
+ storefrontOid: number;
198
+ screenRecordingUuid: string;
199
+ screenRecordingPageViewUuid: string;
200
+ }
192
201
  export interface GetSfvbServerLogRequest {
193
202
  storefrontOid: number;
194
203
  logId: string;
@@ -1123,6 +1132,37 @@ export interface SfvbApiInterface {
1123
1132
  * URL that renders a preview session
1124
1133
  */
1125
1134
  getSfvbPreviewUrl(requestParameters: GetSfvbPreviewUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbPreviewUrlResponse>;
1135
+ /**
1136
+ * One recorded visitor session and its page views, with each page view\'s named events such as rage clicks, script errors and checkout errors, but without the replay data. Fetch a page view\'s replay events separately. Find recordings to look at from the heatmaps or the analytics warehouse. The visitor\'s email, IP address and visitor id are not returned, nor what they typed into form fields. Reading a recording does not mark it watched.
1137
+ * @summary Get a screen recording
1138
+ * @param {number} storefrontOid
1139
+ * @param {string} screenRecordingUuid
1140
+ * @param {*} [options] Override http request option.
1141
+ * @throws {RequiredError}
1142
+ * @memberof SfvbApiInterface
1143
+ */
1144
+ getSfvbRecordingRaw(requestParameters: GetSfvbRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbRecordingResponse>>;
1145
+ /**
1146
+ * One recorded visitor session and its page views, with each page view\'s named events such as rage clicks, script errors and checkout errors, but without the replay data. Fetch a page view\'s replay events separately. Find recordings to look at from the heatmaps or the analytics warehouse. The visitor\'s email, IP address and visitor id are not returned, nor what they typed into form fields. Reading a recording does not mark it watched.
1147
+ * Get a screen recording
1148
+ */
1149
+ getSfvbRecording(requestParameters: GetSfvbRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbRecordingResponse>;
1150
+ /**
1151
+ * The rrweb events for one page view, as a JSON array in a string, for replaying on the caller\'s own machine. Card fields are masked by the recorder, but other text the visitor typed can appear. Limited per account to 30 page views a minute, 300 an hour and 1000 a day. Reading the events does not mark the recording watched.
1152
+ * @summary Get one recorded page view\'s replay events
1153
+ * @param {number} storefrontOid
1154
+ * @param {string} screenRecordingUuid
1155
+ * @param {string} screenRecordingPageViewUuid
1156
+ * @param {*} [options] Override http request option.
1157
+ * @throws {RequiredError}
1158
+ * @memberof SfvbApiInterface
1159
+ */
1160
+ getSfvbRecordingPageViewEventsRaw(requestParameters: GetSfvbRecordingPageViewEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbRecordingEventsResponse>>;
1161
+ /**
1162
+ * The rrweb events for one page view, as a JSON array in a string, for replaying on the caller\'s own machine. Card fields are masked by the recorder, but other text the visitor typed can appear. Limited per account to 30 page views a minute, 300 an hour and 1000 a day. Reading the events does not mark the recording watched.
1163
+ * Get one recorded page view\'s replay events
1164
+ */
1165
+ getSfvbRecordingPageViewEvents(requestParameters: GetSfvbRecordingPageViewEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbRecordingEventsResponse>;
1126
1166
  /**
1127
1167
  * One render\'s server log with its lines, each with a level, a category such as VELOCITY or FLOW, and the message. log_id comes from the list, or from the X-UltraCart-Storefront-Log-Id header a page sends inside an SFVB preview session. min_level is debug, info, warn or error, default debug.
1128
1168
  * @summary Get one storefront render log
@@ -2524,6 +2564,26 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
2524
2564
  * URL that renders a preview session
2525
2565
  */
2526
2566
  getSfvbPreviewUrl(requestParameters: GetSfvbPreviewUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbPreviewUrlResponse>;
2567
+ /**
2568
+ * One recorded visitor session and its page views, with each page view\'s named events such as rage clicks, script errors and checkout errors, but without the replay data. Fetch a page view\'s replay events separately. Find recordings to look at from the heatmaps or the analytics warehouse. The visitor\'s email, IP address and visitor id are not returned, nor what they typed into form fields. Reading a recording does not mark it watched.
2569
+ * Get a screen recording
2570
+ */
2571
+ getSfvbRecordingRaw(requestParameters: GetSfvbRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbRecordingResponse>>;
2572
+ /**
2573
+ * One recorded visitor session and its page views, with each page view\'s named events such as rage clicks, script errors and checkout errors, but without the replay data. Fetch a page view\'s replay events separately. Find recordings to look at from the heatmaps or the analytics warehouse. The visitor\'s email, IP address and visitor id are not returned, nor what they typed into form fields. Reading a recording does not mark it watched.
2574
+ * Get a screen recording
2575
+ */
2576
+ getSfvbRecording(requestParameters: GetSfvbRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbRecordingResponse>;
2577
+ /**
2578
+ * The rrweb events for one page view, as a JSON array in a string, for replaying on the caller\'s own machine. Card fields are masked by the recorder, but other text the visitor typed can appear. Limited per account to 30 page views a minute, 300 an hour and 1000 a day. Reading the events does not mark the recording watched.
2579
+ * Get one recorded page view\'s replay events
2580
+ */
2581
+ getSfvbRecordingPageViewEventsRaw(requestParameters: GetSfvbRecordingPageViewEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbRecordingEventsResponse>>;
2582
+ /**
2583
+ * The rrweb events for one page view, as a JSON array in a string, for replaying on the caller\'s own machine. Card fields are masked by the recorder, but other text the visitor typed can appear. Limited per account to 30 page views a minute, 300 an hour and 1000 a day. Reading the events does not mark the recording watched.
2584
+ * Get one recorded page view\'s replay events
2585
+ */
2586
+ getSfvbRecordingPageViewEvents(requestParameters: GetSfvbRecordingPageViewEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbRecordingEventsResponse>;
2527
2587
  /**
2528
2588
  * One render\'s server log with its lines, each with a level, a category such as VELOCITY or FLOW, and the message. log_id comes from the list, or from the X-UltraCart-Storefront-Log-Id header a page sends inside an SFVB preview session. min_level is debug, info, warn or error, default debug.
2529
2589
  * Get one storefront render log
@@ -2639,6 +2639,133 @@ var SfvbApi = /** @class */ (function (_super) {
2639
2639
  });
2640
2640
  });
2641
2641
  };
2642
+ /**
2643
+ * One recorded visitor session and its page views, with each page view\'s named events such as rage clicks, script errors and checkout errors, but without the replay data. Fetch a page view\'s replay events separately. Find recordings to look at from the heatmaps or the analytics warehouse. The visitor\'s email, IP address and visitor id are not returned, nor what they typed into form fields. Reading a recording does not mark it watched.
2644
+ * Get a screen recording
2645
+ */
2646
+ SfvbApi.prototype.getSfvbRecordingRaw = function (requestParameters, initOverrides) {
2647
+ return __awaiter(this, void 0, void 0, function () {
2648
+ var queryParameters, headerParameters, _a, _b, response;
2649
+ return __generator(this, function (_c) {
2650
+ switch (_c.label) {
2651
+ case 0:
2652
+ if (requestParameters.storefrontOid === null || requestParameters.storefrontOid === undefined) {
2653
+ throw new runtime.RequiredError('storefrontOid', 'Required parameter requestParameters.storefrontOid was null or undefined when calling getSfvbRecording.');
2654
+ }
2655
+ if (requestParameters.screenRecordingUuid === null || requestParameters.screenRecordingUuid === undefined) {
2656
+ throw new runtime.RequiredError('screenRecordingUuid', 'Required parameter requestParameters.screenRecordingUuid was null or undefined when calling getSfvbRecording.');
2657
+ }
2658
+ queryParameters = {};
2659
+ headerParameters = {};
2660
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
2661
+ // oauth required
2662
+ _a = headerParameters;
2663
+ _b = "Authorization";
2664
+ return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", [])];
2665
+ case 1:
2666
+ // oauth required
2667
+ _a[_b] = _c.sent();
2668
+ _c.label = 2;
2669
+ case 2:
2670
+ if (this.configuration && this.configuration.apiKey) {
2671
+ headerParameters["x-ultracart-simple-key"] = this.configuration.apiKey("x-ultracart-simple-key"); // ultraCartSimpleApiKey authentication
2672
+ }
2673
+ return [4 /*yield*/, this.request({
2674
+ path: "/sfvb/storefronts/{storefront_oid}/recordings/{screen_recording_uuid}".replace("{".concat("storefront_oid", "}"), encodeURIComponent(String(requestParameters.storefrontOid))).replace("{".concat("screen_recording_uuid", "}"), encodeURIComponent(String(requestParameters.screenRecordingUuid))),
2675
+ method: 'GET',
2676
+ headers: headerParameters,
2677
+ query: queryParameters,
2678
+ }, initOverrides)];
2679
+ case 3:
2680
+ response = _c.sent();
2681
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbRecordingResponseFromJSON)(jsonValue); })];
2682
+ }
2683
+ });
2684
+ });
2685
+ };
2686
+ /**
2687
+ * One recorded visitor session and its page views, with each page view\'s named events such as rage clicks, script errors and checkout errors, but without the replay data. Fetch a page view\'s replay events separately. Find recordings to look at from the heatmaps or the analytics warehouse. The visitor\'s email, IP address and visitor id are not returned, nor what they typed into form fields. Reading a recording does not mark it watched.
2688
+ * Get a screen recording
2689
+ */
2690
+ SfvbApi.prototype.getSfvbRecording = function (requestParameters, initOverrides) {
2691
+ return __awaiter(this, void 0, void 0, function () {
2692
+ var response;
2693
+ return __generator(this, function (_a) {
2694
+ switch (_a.label) {
2695
+ case 0: return [4 /*yield*/, this.getSfvbRecordingRaw(requestParameters, initOverrides)];
2696
+ case 1:
2697
+ response = _a.sent();
2698
+ return [4 /*yield*/, response.value()];
2699
+ case 2: return [2 /*return*/, _a.sent()];
2700
+ }
2701
+ });
2702
+ });
2703
+ };
2704
+ /**
2705
+ * The rrweb events for one page view, as a JSON array in a string, for replaying on the caller\'s own machine. Card fields are masked by the recorder, but other text the visitor typed can appear. Limited per account to 30 page views a minute, 300 an hour and 1000 a day. Reading the events does not mark the recording watched.
2706
+ * Get one recorded page view\'s replay events
2707
+ */
2708
+ SfvbApi.prototype.getSfvbRecordingPageViewEventsRaw = function (requestParameters, initOverrides) {
2709
+ return __awaiter(this, void 0, void 0, function () {
2710
+ var queryParameters, headerParameters, _a, _b, response;
2711
+ return __generator(this, function (_c) {
2712
+ switch (_c.label) {
2713
+ case 0:
2714
+ if (requestParameters.storefrontOid === null || requestParameters.storefrontOid === undefined) {
2715
+ throw new runtime.RequiredError('storefrontOid', 'Required parameter requestParameters.storefrontOid was null or undefined when calling getSfvbRecordingPageViewEvents.');
2716
+ }
2717
+ if (requestParameters.screenRecordingUuid === null || requestParameters.screenRecordingUuid === undefined) {
2718
+ throw new runtime.RequiredError('screenRecordingUuid', 'Required parameter requestParameters.screenRecordingUuid was null or undefined when calling getSfvbRecordingPageViewEvents.');
2719
+ }
2720
+ if (requestParameters.screenRecordingPageViewUuid === null || requestParameters.screenRecordingPageViewUuid === undefined) {
2721
+ throw new runtime.RequiredError('screenRecordingPageViewUuid', 'Required parameter requestParameters.screenRecordingPageViewUuid was null or undefined when calling getSfvbRecordingPageViewEvents.');
2722
+ }
2723
+ queryParameters = {};
2724
+ headerParameters = {};
2725
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
2726
+ // oauth required
2727
+ _a = headerParameters;
2728
+ _b = "Authorization";
2729
+ return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", [])];
2730
+ case 1:
2731
+ // oauth required
2732
+ _a[_b] = _c.sent();
2733
+ _c.label = 2;
2734
+ case 2:
2735
+ if (this.configuration && this.configuration.apiKey) {
2736
+ headerParameters["x-ultracart-simple-key"] = this.configuration.apiKey("x-ultracart-simple-key"); // ultraCartSimpleApiKey authentication
2737
+ }
2738
+ return [4 /*yield*/, this.request({
2739
+ path: "/sfvb/storefronts/{storefront_oid}/recordings/{screen_recording_uuid}/page_views/{screen_recording_page_view_uuid}/events".replace("{".concat("storefront_oid", "}"), encodeURIComponent(String(requestParameters.storefrontOid))).replace("{".concat("screen_recording_uuid", "}"), encodeURIComponent(String(requestParameters.screenRecordingUuid))).replace("{".concat("screen_recording_page_view_uuid", "}"), encodeURIComponent(String(requestParameters.screenRecordingPageViewUuid))),
2740
+ method: 'GET',
2741
+ headers: headerParameters,
2742
+ query: queryParameters,
2743
+ }, initOverrides)];
2744
+ case 3:
2745
+ response = _c.sent();
2746
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbRecordingEventsResponseFromJSON)(jsonValue); })];
2747
+ }
2748
+ });
2749
+ });
2750
+ };
2751
+ /**
2752
+ * The rrweb events for one page view, as a JSON array in a string, for replaying on the caller\'s own machine. Card fields are masked by the recorder, but other text the visitor typed can appear. Limited per account to 30 page views a minute, 300 an hour and 1000 a day. Reading the events does not mark the recording watched.
2753
+ * Get one recorded page view\'s replay events
2754
+ */
2755
+ SfvbApi.prototype.getSfvbRecordingPageViewEvents = function (requestParameters, initOverrides) {
2756
+ return __awaiter(this, void 0, void 0, function () {
2757
+ var response;
2758
+ return __generator(this, function (_a) {
2759
+ switch (_a.label) {
2760
+ case 0: return [4 /*yield*/, this.getSfvbRecordingPageViewEventsRaw(requestParameters, initOverrides)];
2761
+ case 1:
2762
+ response = _a.sent();
2763
+ return [4 /*yield*/, response.value()];
2764
+ case 2: return [2 /*return*/, _a.sent()];
2765
+ }
2766
+ });
2767
+ });
2768
+ };
2642
2769
  /**
2643
2770
  * One render\'s server log with its lines, each with a level, a category such as VELOCITY or FLOW, and the message. log_id comes from the list, or from the X-UltraCart-Storefront-Log-Id header a page sends inside an SFVB preview session. min_level is debug, info, warn or error, default debug.
2644
2771
  * Get one storefront render log
@@ -0,0 +1,159 @@
1
+ /**
2
+ * UltraCart Rest API V2
3
+ * UltraCart REST API Version 2
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: support@ultracart.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ScreenRecordingAdPlatform } from './ScreenRecordingAdPlatform';
13
+ import { SfvbRecordingPageView } from './SfvbRecordingPageView';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SfvbRecording
18
+ */
19
+ export interface SfvbRecording {
20
+ /**
21
+ *
22
+ * @type {ScreenRecordingAdPlatform}
23
+ * @memberof SfvbRecording
24
+ */
25
+ ad_platform?: ScreenRecordingAdPlatform;
26
+ /**
27
+ * Browser name from the user agent.
28
+ * @type {string}
29
+ * @memberof SfvbRecording
30
+ */
31
+ browser?: string;
32
+ /**
33
+ * Browser version from the user agent.
34
+ * @type {string}
35
+ * @memberof SfvbRecording
36
+ */
37
+ browser_version?: string;
38
+ /**
39
+ * True when the session ended in an order.
40
+ * @type {boolean}
41
+ * @memberof SfvbRecording
42
+ */
43
+ converted?: boolean;
44
+ /**
45
+ * Device name from the user agent.
46
+ * @type {string}
47
+ * @memberof SfvbRecording
48
+ */
49
+ device?: string;
50
+ /**
51
+ * When the session ended, ISO-8601 in UTC.
52
+ * @type {string}
53
+ * @memberof SfvbRecording
54
+ */
55
+ end_timestamp?: string;
56
+ /**
57
+ * Country the visitor was in.
58
+ * @type {string}
59
+ * @memberof SfvbRecording
60
+ */
61
+ geolocation_country?: string;
62
+ /**
63
+ * State or region the visitor was in.
64
+ * @type {string}
65
+ * @memberof SfvbRecording
66
+ */
67
+ geolocation_state?: string;
68
+ /**
69
+ * The browser language.
70
+ * @type {string}
71
+ * @memberof SfvbRecording
72
+ */
73
+ language_iso_code?: string;
74
+ /**
75
+ * The order placed during the session, when there was one.
76
+ * @type {string}
77
+ * @memberof SfvbRecording
78
+ */
79
+ order_id?: string;
80
+ /**
81
+ * Operating system from the user agent.
82
+ * @type {string}
83
+ * @memberof SfvbRecording
84
+ */
85
+ os?: string;
86
+ /**
87
+ * How many pages the visitor viewed.
88
+ * @type {number}
89
+ * @memberof SfvbRecording
90
+ */
91
+ page_view_count?: number;
92
+ /**
93
+ * The pages viewed, in order.
94
+ * @type {Array<SfvbRecordingPageView>}
95
+ * @memberof SfvbRecording
96
+ */
97
+ page_views?: Array<SfvbRecordingPageView>;
98
+ /**
99
+ * The domain that referred the visitor.
100
+ * @type {string}
101
+ * @memberof SfvbRecording
102
+ */
103
+ referrer_domain?: string;
104
+ /**
105
+ * The rrweb version that recorded the session. Replay with the same version.
106
+ * @type {string}
107
+ * @memberof SfvbRecording
108
+ */
109
+ rrweb_version?: string;
110
+ /**
111
+ * Identifies the recording.
112
+ * @type {string}
113
+ * @memberof SfvbRecording
114
+ */
115
+ screen_recording_uuid?: string;
116
+ /**
117
+ * When the session started, ISO-8601 in UTC.
118
+ * @type {string}
119
+ * @memberof SfvbRecording
120
+ */
121
+ start_timestamp?: string;
122
+ /**
123
+ * Seconds the visitor spent on the site.
124
+ * @type {number}
125
+ * @memberof SfvbRecording
126
+ */
127
+ time_on_site?: number;
128
+ /**
129
+ * utm_campaign on arrival.
130
+ * @type {string}
131
+ * @memberof SfvbRecording
132
+ */
133
+ utm_campaign?: string;
134
+ /**
135
+ * utm_source on arrival.
136
+ * @type {string}
137
+ * @memberof SfvbRecording
138
+ */
139
+ utm_source?: string;
140
+ /**
141
+ * Browser window height in pixels.
142
+ * @type {number}
143
+ * @memberof SfvbRecording
144
+ */
145
+ window_height?: number;
146
+ /**
147
+ * Browser window width in pixels.
148
+ * @type {number}
149
+ * @memberof SfvbRecording
150
+ */
151
+ window_width?: number;
152
+ }
153
+ /**
154
+ * Check if a given object implements the SfvbRecording interface.
155
+ */
156
+ export declare function instanceOfSfvbRecording(value: object): boolean;
157
+ export declare function SfvbRecordingFromJSON(json: any): SfvbRecording;
158
+ export declare function SfvbRecordingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbRecording;
159
+ export declare function SfvbRecordingToJSON(value?: SfvbRecording | null): any;
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * UltraCart Rest API V2
6
+ * UltraCart REST API Version 2
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ * Contact: support@ultracart.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SfvbRecordingToJSON = exports.SfvbRecordingFromJSONTyped = exports.SfvbRecordingFromJSON = exports.instanceOfSfvbRecording = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var ScreenRecordingAdPlatform_1 = require("./ScreenRecordingAdPlatform");
19
+ var SfvbRecordingPageView_1 = require("./SfvbRecordingPageView");
20
+ /**
21
+ * Check if a given object implements the SfvbRecording interface.
22
+ */
23
+ function instanceOfSfvbRecording(value) {
24
+ var isInstance = true;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfSfvbRecording = instanceOfSfvbRecording;
28
+ function SfvbRecordingFromJSON(json) {
29
+ return SfvbRecordingFromJSONTyped(json, false);
30
+ }
31
+ exports.SfvbRecordingFromJSON = SfvbRecordingFromJSON;
32
+ function SfvbRecordingFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'ad_platform': !(0, runtime_1.exists)(json, 'ad_platform') ? undefined : (0, ScreenRecordingAdPlatform_1.ScreenRecordingAdPlatformFromJSON)(json['ad_platform']),
38
+ 'browser': !(0, runtime_1.exists)(json, 'browser') ? undefined : json['browser'],
39
+ 'browser_version': !(0, runtime_1.exists)(json, 'browser_version') ? undefined : json['browser_version'],
40
+ 'converted': !(0, runtime_1.exists)(json, 'converted') ? undefined : json['converted'],
41
+ 'device': !(0, runtime_1.exists)(json, 'device') ? undefined : json['device'],
42
+ 'end_timestamp': !(0, runtime_1.exists)(json, 'end_timestamp') ? undefined : json['end_timestamp'],
43
+ 'geolocation_country': !(0, runtime_1.exists)(json, 'geolocation_country') ? undefined : json['geolocation_country'],
44
+ 'geolocation_state': !(0, runtime_1.exists)(json, 'geolocation_state') ? undefined : json['geolocation_state'],
45
+ 'language_iso_code': !(0, runtime_1.exists)(json, 'language_iso_code') ? undefined : json['language_iso_code'],
46
+ 'order_id': !(0, runtime_1.exists)(json, 'order_id') ? undefined : json['order_id'],
47
+ 'os': !(0, runtime_1.exists)(json, 'os') ? undefined : json['os'],
48
+ 'page_view_count': !(0, runtime_1.exists)(json, 'page_view_count') ? undefined : json['page_view_count'],
49
+ 'page_views': !(0, runtime_1.exists)(json, 'page_views') ? undefined : (json['page_views'].map(SfvbRecordingPageView_1.SfvbRecordingPageViewFromJSON)),
50
+ 'referrer_domain': !(0, runtime_1.exists)(json, 'referrer_domain') ? undefined : json['referrer_domain'],
51
+ 'rrweb_version': !(0, runtime_1.exists)(json, 'rrweb_version') ? undefined : json['rrweb_version'],
52
+ 'screen_recording_uuid': !(0, runtime_1.exists)(json, 'screen_recording_uuid') ? undefined : json['screen_recording_uuid'],
53
+ 'start_timestamp': !(0, runtime_1.exists)(json, 'start_timestamp') ? undefined : json['start_timestamp'],
54
+ 'time_on_site': !(0, runtime_1.exists)(json, 'time_on_site') ? undefined : json['time_on_site'],
55
+ 'utm_campaign': !(0, runtime_1.exists)(json, 'utm_campaign') ? undefined : json['utm_campaign'],
56
+ 'utm_source': !(0, runtime_1.exists)(json, 'utm_source') ? undefined : json['utm_source'],
57
+ 'window_height': !(0, runtime_1.exists)(json, 'window_height') ? undefined : json['window_height'],
58
+ 'window_width': !(0, runtime_1.exists)(json, 'window_width') ? undefined : json['window_width'],
59
+ };
60
+ }
61
+ exports.SfvbRecordingFromJSONTyped = SfvbRecordingFromJSONTyped;
62
+ function SfvbRecordingToJSON(value) {
63
+ if (value === undefined) {
64
+ return undefined;
65
+ }
66
+ if (value === null) {
67
+ return null;
68
+ }
69
+ return {
70
+ 'ad_platform': (0, ScreenRecordingAdPlatform_1.ScreenRecordingAdPlatformToJSON)(value.ad_platform),
71
+ 'browser': value.browser,
72
+ 'browser_version': value.browser_version,
73
+ 'converted': value.converted,
74
+ 'device': value.device,
75
+ 'end_timestamp': value.end_timestamp,
76
+ 'geolocation_country': value.geolocation_country,
77
+ 'geolocation_state': value.geolocation_state,
78
+ 'language_iso_code': value.language_iso_code,
79
+ 'order_id': value.order_id,
80
+ 'os': value.os,
81
+ 'page_view_count': value.page_view_count,
82
+ 'page_views': value.page_views === undefined ? undefined : (value.page_views.map(SfvbRecordingPageView_1.SfvbRecordingPageViewToJSON)),
83
+ 'referrer_domain': value.referrer_domain,
84
+ 'rrweb_version': value.rrweb_version,
85
+ 'screen_recording_uuid': value.screen_recording_uuid,
86
+ 'start_timestamp': value.start_timestamp,
87
+ 'time_on_site': value.time_on_site,
88
+ 'utm_campaign': value.utm_campaign,
89
+ 'utm_source': value.utm_source,
90
+ 'window_height': value.window_height,
91
+ 'window_width': value.window_width,
92
+ };
93
+ }
94
+ exports.SfvbRecordingToJSON = SfvbRecordingToJSON;
@@ -0,0 +1,50 @@
1
+ /**
2
+ * UltraCart Rest API V2
3
+ * UltraCart REST API Version 2
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: support@ultracart.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { SfvbRecordingParameter } from './SfvbRecordingParameter';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SfvbRecordingEvent
17
+ */
18
+ export interface SfvbRecordingEvent {
19
+ /**
20
+ * The event name, such as rage click, script error, checkout error or add to cart.
21
+ * @type {string}
22
+ * @memberof SfvbRecordingEvent
23
+ */
24
+ name?: string;
25
+ /**
26
+ * The event's parameters as name and value pairs. Omitted for input change events, whose values are what the visitor typed.
27
+ * @type {Array<SfvbRecordingParameter>}
28
+ * @memberof SfvbRecordingEvent
29
+ */
30
+ params?: Array<SfvbRecordingParameter>;
31
+ /**
32
+ * A short human readable summary of the event, when the recorder produced one.
33
+ * @type {string}
34
+ * @memberof SfvbRecordingEvent
35
+ */
36
+ sub_text?: string;
37
+ /**
38
+ * When it happened, ISO-8601 in UTC. Subtract the page view's first_event_timestamp for the offset into the replay.
39
+ * @type {string}
40
+ * @memberof SfvbRecordingEvent
41
+ */
42
+ timestamp?: string;
43
+ }
44
+ /**
45
+ * Check if a given object implements the SfvbRecordingEvent interface.
46
+ */
47
+ export declare function instanceOfSfvbRecordingEvent(value: object): boolean;
48
+ export declare function SfvbRecordingEventFromJSON(json: any): SfvbRecordingEvent;
49
+ export declare function SfvbRecordingEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbRecordingEvent;
50
+ export declare function SfvbRecordingEventToJSON(value?: SfvbRecordingEvent | null): any;
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * UltraCart Rest API V2
6
+ * UltraCart REST API Version 2
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ * Contact: support@ultracart.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SfvbRecordingEventToJSON = exports.SfvbRecordingEventFromJSONTyped = exports.SfvbRecordingEventFromJSON = exports.instanceOfSfvbRecordingEvent = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var SfvbRecordingParameter_1 = require("./SfvbRecordingParameter");
19
+ /**
20
+ * Check if a given object implements the SfvbRecordingEvent interface.
21
+ */
22
+ function instanceOfSfvbRecordingEvent(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfSfvbRecordingEvent = instanceOfSfvbRecordingEvent;
27
+ function SfvbRecordingEventFromJSON(json) {
28
+ return SfvbRecordingEventFromJSONTyped(json, false);
29
+ }
30
+ exports.SfvbRecordingEventFromJSON = SfvbRecordingEventFromJSON;
31
+ function SfvbRecordingEventFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ 'params': !(0, runtime_1.exists)(json, 'params') ? undefined : (json['params'].map(SfvbRecordingParameter_1.SfvbRecordingParameterFromJSON)),
38
+ 'sub_text': !(0, runtime_1.exists)(json, 'sub_text') ? undefined : json['sub_text'],
39
+ 'timestamp': !(0, runtime_1.exists)(json, 'timestamp') ? undefined : json['timestamp'],
40
+ };
41
+ }
42
+ exports.SfvbRecordingEventFromJSONTyped = SfvbRecordingEventFromJSONTyped;
43
+ function SfvbRecordingEventToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'name': value.name,
52
+ 'params': value.params === undefined ? undefined : (value.params.map(SfvbRecordingParameter_1.SfvbRecordingParameterToJSON)),
53
+ 'sub_text': value.sub_text,
54
+ 'timestamp': value.timestamp,
55
+ };
56
+ }
57
+ exports.SfvbRecordingEventToJSON = SfvbRecordingEventToJSON;