ultracart_rest_api_v2_typescript 4.1.120 → 4.1.121

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.120
2
+ ## ultracart_rest_api_v2_typescript@4.1.121
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.120 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.121 --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.121 | 07/15/2026 | storefront - parameter to include details on dispatch log methods |
88
89
  | 4.1.120 | 07/15/2026 | storefront - parameter to include details on dispatch log methods |
89
90
  | 4.1.119 | 07/15/2026 | order api - query transaction details for cache target |
90
91
  | 4.1.118 | 07/14/2026 | affiliate - send welcome letter method |
@@ -223,6 +223,7 @@ export interface GetEmailCustomerDispatchLogsRequest {
223
223
  pageNumber?: number;
224
224
  pageSize?: number;
225
225
  scanForward?: boolean;
226
+ includeDetail?: boolean;
226
227
  }
227
228
  export interface GetEmailCustomerEditorUrlRequest {
228
229
  storefrontOid: number;
@@ -389,6 +390,7 @@ export interface GetEmailStepDispatchLogsRequest {
389
390
  until?: string;
390
391
  pageNumber?: number;
391
392
  pageSize?: number;
393
+ includeDetail?: boolean;
392
394
  }
393
395
  export interface GetEmailTemplateRequest {
394
396
  storefrontOid: number;
@@ -1526,6 +1528,7 @@ export interface StorefrontApiInterface {
1526
1528
  * @param {number} [pageNumber]
1527
1529
  * @param {number} [pageSize]
1528
1530
  * @param {boolean} [scanForward]
1531
+ * @param {boolean} [includeDetail]
1529
1532
  * @param {*} [options] Override http request option.
1530
1533
  * @throws {RequiredError}
1531
1534
  * @memberof StorefrontApiInterface
@@ -2090,7 +2093,7 @@ export interface StorefrontApiInterface {
2090
2093
  */
2091
2094
  getEmailStepDispatchLogDetail(requestParameters: GetEmailStepDispatchLogDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailDispatchLogDetailResponse>;
2092
2095
  /**
2093
- * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
2096
+ * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean unless includeDetail is passed as true, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
2094
2097
  * @summary Get a paginated, date-boundable dispatch-log feed for a step
2095
2098
  * @param {number} storefrontOid
2096
2099
  * @param {string} commseqUuid
@@ -2099,13 +2102,14 @@ export interface StorefrontApiInterface {
2099
2102
  * @param {string} [until]
2100
2103
  * @param {number} [pageNumber]
2101
2104
  * @param {number} [pageSize]
2105
+ * @param {boolean} [includeDetail]
2102
2106
  * @param {*} [options] Override http request option.
2103
2107
  * @throws {RequiredError}
2104
2108
  * @memberof StorefrontApiInterface
2105
2109
  */
2106
2110
  getEmailStepDispatchLogsRaw(requestParameters: GetEmailStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EmailDispatchLogsResponse>>;
2107
2111
  /**
2108
- * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
2112
+ * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean unless includeDetail is passed as true, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
2109
2113
  * Get a paginated, date-boundable dispatch-log feed for a step
2110
2114
  */
2111
2115
  getEmailStepDispatchLogs(requestParameters: GetEmailStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailDispatchLogsResponse>;
@@ -4194,12 +4198,12 @@ export declare class StorefrontApi extends runtime.BaseAPI implements Storefront
4194
4198
  */
4195
4199
  getEmailStepDispatchLogDetail(requestParameters: GetEmailStepDispatchLogDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailDispatchLogDetailResponse>;
4196
4200
  /**
4197
- * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
4201
+ * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean unless includeDetail is passed as true, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
4198
4202
  * Get a paginated, date-boundable dispatch-log feed for a step
4199
4203
  */
4200
4204
  getEmailStepDispatchLogsRaw(requestParameters: GetEmailStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EmailDispatchLogsResponse>>;
4201
4205
  /**
4202
- * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
4206
+ * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean unless includeDetail is passed as true, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
4203
4207
  * Get a paginated, date-boundable dispatch-log feed for a step
4204
4208
  */
4205
4209
  getEmailStepDispatchLogs(requestParameters: GetEmailStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailDispatchLogsResponse>;
@@ -3387,6 +3387,9 @@ var StorefrontApi = /** @class */ (function (_super) {
3387
3387
  if (requestParameters.scanForward !== undefined) {
3388
3388
  queryParameters['scanForward'] = requestParameters.scanForward;
3389
3389
  }
3390
+ if (requestParameters.includeDetail !== undefined) {
3391
+ queryParameters['includeDetail'] = requestParameters.includeDetail;
3392
+ }
3390
3393
  headerParameters = {};
3391
3394
  if (this.configuration && this.configuration.apiKey) {
3392
3395
  headerParameters["x-ultracart-browser-key"] = this.configuration.apiKey("x-ultracart-browser-key"); // ultraCartBrowserApiKey authentication
@@ -5916,7 +5919,7 @@ var StorefrontApi = /** @class */ (function (_super) {
5916
5919
  });
5917
5920
  };
5918
5921
  /**
5919
- * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
5922
+ * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean unless includeDetail is passed as true, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
5920
5923
  * Get a paginated, date-boundable dispatch-log feed for a step
5921
5924
  */
5922
5925
  StorefrontApi.prototype.getEmailStepDispatchLogsRaw = function (requestParameters, initOverrides) {
@@ -5947,6 +5950,9 @@ var StorefrontApi = /** @class */ (function (_super) {
5947
5950
  if (requestParameters.pageSize !== undefined) {
5948
5951
  queryParameters['pageSize'] = requestParameters.pageSize;
5949
5952
  }
5953
+ if (requestParameters.includeDetail !== undefined) {
5954
+ queryParameters['includeDetail'] = requestParameters.includeDetail;
5955
+ }
5950
5956
  headerParameters = {};
5951
5957
  if (this.configuration && this.configuration.apiKey) {
5952
5958
  headerParameters["x-ultracart-browser-key"] = this.configuration.apiKey("x-ultracart-browser-key"); // ultraCartBrowserApiKey authentication
@@ -5978,7 +5984,7 @@ var StorefrontApi = /** @class */ (function (_super) {
5978
5984
  });
5979
5985
  };
5980
5986
  /**
5981
- * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
5987
+ * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean unless includeDetail is passed as true, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
5982
5988
  * Get a paginated, date-boundable dispatch-log feed for a step
5983
5989
  */
5984
5990
  StorefrontApi.prototype.getEmailStepDispatchLogs = function (requestParameters, initOverrides) {
@@ -15,6 +15,12 @@
15
15
  * @interface EmailDispatchLog
16
16
  */
17
17
  export interface EmailDispatchLog {
18
+ /**
19
+ * Dispatch detail text (free-form log of how the customer moved through the step)
20
+ * @type {string}
21
+ * @memberof EmailDispatchLog
22
+ */
23
+ detail?: string;
18
24
  /**
19
25
  * Customer email, resolved from the customer UUID for the page
20
26
  * @type {string}
@@ -32,6 +32,7 @@ function EmailDispatchLogFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
+ 'detail': !(0, runtime_1.exists)(json, 'detail') ? undefined : json['detail'],
35
36
  'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
36
37
  'esp_commseq_step_uuid': !(0, runtime_1.exists)(json, 'esp_commseq_step_uuid') ? undefined : json['esp_commseq_step_uuid'],
37
38
  'esp_commseq_uuid': !(0, runtime_1.exists)(json, 'esp_commseq_uuid') ? undefined : json['esp_commseq_uuid'],
@@ -48,6 +49,7 @@ function EmailDispatchLogToJSON(value) {
48
49
  return null;
49
50
  }
50
51
  return {
52
+ 'detail': value.detail,
51
53
  'email': value.email,
52
54
  'esp_commseq_step_uuid': value.esp_commseq_step_uuid,
53
55
  'esp_commseq_uuid': value.esp_commseq_uuid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.120",
3
+ "version": "4.1.121",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -737,6 +737,7 @@ export interface GetEmailCustomerDispatchLogsRequest {
737
737
  pageNumber?: number;
738
738
  pageSize?: number;
739
739
  scanForward?: boolean;
740
+ includeDetail?: boolean;
740
741
  }
741
742
 
742
743
  export interface GetEmailCustomerEditorUrlRequest {
@@ -941,6 +942,7 @@ export interface GetEmailStepDispatchLogsRequest {
941
942
  until?: string;
942
943
  pageNumber?: number;
943
944
  pageSize?: number;
945
+ includeDetail?: boolean;
944
946
  }
945
947
 
946
948
  export interface GetEmailTemplateRequest {
@@ -2271,6 +2273,7 @@ export interface StorefrontApiInterface {
2271
2273
  * @param {number} [pageNumber]
2272
2274
  * @param {number} [pageSize]
2273
2275
  * @param {boolean} [scanForward]
2276
+ * @param {boolean} [includeDetail]
2274
2277
  * @param {*} [options] Override http request option.
2275
2278
  * @throws {RequiredError}
2276
2279
  * @memberof StorefrontApiInterface
@@ -2915,7 +2918,7 @@ export interface StorefrontApiInterface {
2915
2918
  getEmailStepDispatchLogDetail(requestParameters: GetEmailStepDispatchLogDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailDispatchLogDetailResponse>;
2916
2919
 
2917
2920
  /**
2918
- * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
2921
+ * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean unless includeDetail is passed as true, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
2919
2922
  * @summary Get a paginated, date-boundable dispatch-log feed for a step
2920
2923
  * @param {number} storefrontOid
2921
2924
  * @param {string} commseqUuid
@@ -2924,6 +2927,7 @@ export interface StorefrontApiInterface {
2924
2927
  * @param {string} [until]
2925
2928
  * @param {number} [pageNumber]
2926
2929
  * @param {number} [pageSize]
2930
+ * @param {boolean} [includeDetail]
2927
2931
  * @param {*} [options] Override http request option.
2928
2932
  * @throws {RequiredError}
2929
2933
  * @memberof StorefrontApiInterface
@@ -2931,7 +2935,7 @@ export interface StorefrontApiInterface {
2931
2935
  getEmailStepDispatchLogsRaw(requestParameters: GetEmailStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EmailDispatchLogsResponse>>;
2932
2936
 
2933
2937
  /**
2934
- * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
2938
+ * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean unless includeDetail is passed as true, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
2935
2939
  * Get a paginated, date-boundable dispatch-log feed for a step
2936
2940
  */
2937
2941
  getEmailStepDispatchLogs(requestParameters: GetEmailStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailDispatchLogsResponse>;
@@ -6949,6 +6953,10 @@ export class StorefrontApi extends runtime.BaseAPI implements StorefrontApiInter
6949
6953
  queryParameters['scanForward'] = requestParameters.scanForward;
6950
6954
  }
6951
6955
 
6956
+ if (requestParameters.includeDetail !== undefined) {
6957
+ queryParameters['includeDetail'] = requestParameters.includeDetail;
6958
+ }
6959
+
6952
6960
  const headerParameters: runtime.HTTPHeaders = {};
6953
6961
 
6954
6962
  if (this.configuration && this.configuration.apiKey) {
@@ -8847,7 +8855,7 @@ export class StorefrontApi extends runtime.BaseAPI implements StorefrontApiInter
8847
8855
  }
8848
8856
 
8849
8857
  /**
8850
- * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
8858
+ * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean unless includeDetail is passed as true, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
8851
8859
  * Get a paginated, date-boundable dispatch-log feed for a step
8852
8860
  */
8853
8861
  async getEmailStepDispatchLogsRaw(requestParameters: GetEmailStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EmailDispatchLogsResponse>> {
@@ -8881,6 +8889,10 @@ export class StorefrontApi extends runtime.BaseAPI implements StorefrontApiInter
8881
8889
  queryParameters['pageSize'] = requestParameters.pageSize;
8882
8890
  }
8883
8891
 
8892
+ if (requestParameters.includeDetail !== undefined) {
8893
+ queryParameters['includeDetail'] = requestParameters.includeDetail;
8894
+ }
8895
+
8884
8896
  const headerParameters: runtime.HTTPHeaders = {};
8885
8897
 
8886
8898
  if (this.configuration && this.configuration.apiKey) {
@@ -8907,7 +8919,7 @@ export class StorefrontApi extends runtime.BaseAPI implements StorefrontApiInter
8907
8919
  }
8908
8920
 
8909
8921
  /**
8910
- * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
8922
+ * Paginated per-step dispatch activity with 90-day depth (AP3/AP4). Rows are lean unless includeDetail is passed as true, rendered from the DynamoDB keys; fetch a row\'s full detail via getEmailStepDispatchLogDetail. Page forward by incrementing pageNumber until the response \'more\' flag is false. since/until are inclusive ISO-8601 bounds on log_dts.
8911
8923
  * Get a paginated, date-boundable dispatch-log feed for a step
8912
8924
  */
8913
8925
  async getEmailStepDispatchLogs(requestParameters: GetEmailStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmailDispatchLogsResponse> {
@@ -19,6 +19,12 @@ import { exists, mapValues } from '../runtime';
19
19
  * @interface EmailDispatchLog
20
20
  */
21
21
  export interface EmailDispatchLog {
22
+ /**
23
+ * Dispatch detail text (free-form log of how the customer moved through the step)
24
+ * @type {string}
25
+ * @memberof EmailDispatchLog
26
+ */
27
+ detail?: string;
22
28
  /**
23
29
  * Customer email, resolved from the customer UUID for the page
24
30
  * @type {string}
@@ -72,6 +78,7 @@ export function EmailDispatchLogFromJSONTyped(json: any, ignoreDiscriminator: bo
72
78
  }
73
79
  return {
74
80
 
81
+ 'detail': !exists(json, 'detail') ? undefined : json['detail'],
75
82
  'email': !exists(json, 'email') ? undefined : json['email'],
76
83
  'esp_commseq_step_uuid': !exists(json, 'esp_commseq_step_uuid') ? undefined : json['esp_commseq_step_uuid'],
77
84
  'esp_commseq_uuid': !exists(json, 'esp_commseq_uuid') ? undefined : json['esp_commseq_uuid'],
@@ -89,6 +96,7 @@ export function EmailDispatchLogToJSON(value?: EmailDispatchLog | null): any {
89
96
  }
90
97
  return {
91
98
 
99
+ 'detail': value.detail,
92
100
  'email': value.email,
93
101
  'esp_commseq_step_uuid': value.esp_commseq_step_uuid,
94
102
  'esp_commseq_uuid': value.esp_commseq_uuid,