ultracart_rest_api_v2_typescript 4.0.59-RC → 4.0.60-RC

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,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@4.0.59-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.60-RC
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install ultracart_rest_api_v2_typescript@4.0.59-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.60-RC --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
54
54
 
55
55
  | Version | Date | Comments |
56
56
  | --: | :-: | --- |
57
+ | 4.0.60-RC | 09/02/2022 | customer editor added loyal ledger descriptions |
57
58
  | 4.0.59-RC | 08/30/2022 | storefront comm fields for sms configuration |
58
59
  | 4.0.58-RC | 08/26/2022 | postcard address fields for comm sequence testing |
59
60
  | 4.0.57-RC | 08/22/2022 | exposing individual reviews within item.review object |
@@ -47,6 +47,12 @@ export interface CustomerEditorValues {
47
47
  * @memberof CustomerEditorValues
48
48
  */
49
49
  countries?: Array<Country>;
50
+ /**
51
+ * loyalty_ledger_descriptions
52
+ * @type {Array<string>}
53
+ * @memberof CustomerEditorValues
54
+ */
55
+ loyalty_ledger_descriptions?: Array<string>;
50
56
  /**
51
57
  * loyalty_program_type
52
58
  * @type {string}
@@ -31,6 +31,7 @@ function CustomerEditorValuesFromJSONTyped(json, ignoreDiscriminator) {
31
31
  'card_exp_years': !(0, runtime_1.exists)(json, 'card_exp_years') ? undefined : json['card_exp_years'],
32
32
  'card_types': !(0, runtime_1.exists)(json, 'card_types') ? undefined : json['card_types'],
33
33
  'countries': !(0, runtime_1.exists)(json, 'countries') ? undefined : (json['countries'].map(Country_1.CountryFromJSON)),
34
+ 'loyalty_ledger_descriptions': !(0, runtime_1.exists)(json, 'loyalty_ledger_descriptions') ? undefined : json['loyalty_ledger_descriptions'],
34
35
  'loyalty_program_type': !(0, runtime_1.exists)(json, 'loyalty_program_type') ? undefined : json['loyalty_program_type'],
35
36
  'qb_classes': !(0, runtime_1.exists)(json, 'qb_classes') ? undefined : json['qb_classes'],
36
37
  'sales_rep_codes': !(0, runtime_1.exists)(json, 'sales_rep_codes') ? undefined : json['sales_rep_codes'],
@@ -52,6 +53,7 @@ function CustomerEditorValuesToJSON(value) {
52
53
  'card_exp_years': value.card_exp_years,
53
54
  'card_types': value.card_types,
54
55
  'countries': value.countries === undefined ? undefined : (value.countries.map(Country_1.CountryToJSON)),
56
+ 'loyalty_ledger_descriptions': value.loyalty_ledger_descriptions,
55
57
  'loyalty_program_type': value.loyalty_program_type,
56
58
  'qb_classes': value.qb_classes,
57
59
  'sales_rep_codes': value.sales_rep_codes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.59-RC",
3
+ "version": "4.0.60-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -62,6 +62,12 @@ export interface CustomerEditorValues {
62
62
  * @memberof CustomerEditorValues
63
63
  */
64
64
  countries?: Array<Country>;
65
+ /**
66
+ * loyalty_ledger_descriptions
67
+ * @type {Array<string>}
68
+ * @memberof CustomerEditorValues
69
+ */
70
+ loyalty_ledger_descriptions?: Array<string>;
65
71
  /**
66
72
  * loyalty_program_type
67
73
  * @type {string}
@@ -109,6 +115,7 @@ export function CustomerEditorValuesFromJSONTyped(json: any, ignoreDiscriminator
109
115
  'card_exp_years': !exists(json, 'card_exp_years') ? undefined : json['card_exp_years'],
110
116
  'card_types': !exists(json, 'card_types') ? undefined : json['card_types'],
111
117
  'countries': !exists(json, 'countries') ? undefined : ((json['countries'] as Array<any>).map(CountryFromJSON)),
118
+ 'loyalty_ledger_descriptions': !exists(json, 'loyalty_ledger_descriptions') ? undefined : json['loyalty_ledger_descriptions'],
112
119
  'loyalty_program_type': !exists(json, 'loyalty_program_type') ? undefined : json['loyalty_program_type'],
113
120
  'qb_classes': !exists(json, 'qb_classes') ? undefined : json['qb_classes'],
114
121
  'sales_rep_codes': !exists(json, 'sales_rep_codes') ? undefined : json['sales_rep_codes'],
@@ -131,6 +138,7 @@ export function CustomerEditorValuesToJSON(value?: CustomerEditorValues | null):
131
138
  'card_exp_years': value.card_exp_years,
132
139
  'card_types': value.card_types,
133
140
  'countries': value.countries === undefined ? undefined : ((value.countries as Array<any>).map(CountryToJSON)),
141
+ 'loyalty_ledger_descriptions': value.loyalty_ledger_descriptions,
134
142
  'loyalty_program_type': value.loyalty_program_type,
135
143
  'qb_classes': value.qb_classes,
136
144
  'sales_rep_codes': value.sales_rep_codes,