ultracart_rest_api_v2_typescript 4.0.186 → 4.0.187

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.186
1
+ ## ultracart_rest_api_v2_typescript@4.0.187
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.186 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.187 --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.187 | 11/09/2023 | item - new auto order step type: pause until |
57
58
  | 4.0.186 | 11/06/2023 | customer api - added wishlist methods |
58
59
  | 4.0.185 | 11/01/2023 | customer - do_no_send_mail flag added |
59
60
  | 4.0.184 | 10/30/2023 | cart/order fields for health benefit card values in summary expansion objects |
@@ -59,6 +59,18 @@ export interface ItemAutoOrderStep {
59
59
  * @memberof ItemAutoOrderStep
60
60
  */
61
61
  pause_until_date?: string;
62
+ /**
63
+ * Pause until a specific day of the month
64
+ * @type {number}
65
+ * @memberof ItemAutoOrderStep
66
+ */
67
+ pause_until_day_of_month?: number;
68
+ /**
69
+ * Pause at least this many days between the last order and the calculated next day of month
70
+ * @type {number}
71
+ * @memberof ItemAutoOrderStep
72
+ */
73
+ pause_until_minimum_delay_days?: number;
62
74
  /**
63
75
  * If set, a pre-shipment notice is sent to the customer this many days in advance
64
76
  * @type {number}
@@ -116,6 +128,7 @@ export declare const ItemAutoOrderStepTypeEnum: {
116
128
  readonly Pause: "pause";
117
129
  readonly Loop: "loop";
118
130
  readonly KitOnly: "kit only";
131
+ readonly PauseUntil: "pause until";
119
132
  };
120
133
  export type ItemAutoOrderStepTypeEnum = typeof ItemAutoOrderStepTypeEnum[keyof typeof ItemAutoOrderStepTypeEnum];
121
134
  export declare function ItemAutoOrderStepFromJSON(json: any): ItemAutoOrderStep;
@@ -24,7 +24,8 @@ exports.ItemAutoOrderStepTypeEnum = {
24
24
  Item: 'item',
25
25
  Pause: 'pause',
26
26
  Loop: 'loop',
27
- KitOnly: 'kit only'
27
+ KitOnly: 'kit only',
28
+ PauseUntil: 'pause until'
28
29
  };
29
30
  function ItemAutoOrderStepFromJSON(json) {
30
31
  return ItemAutoOrderStepFromJSONTyped(json, false);
@@ -42,6 +43,8 @@ function ItemAutoOrderStepFromJSONTyped(json, ignoreDiscriminator) {
42
43
  'managed_by': !(0, runtime_1.exists)(json, 'managed_by') ? undefined : json['managed_by'],
43
44
  'pause_days': !(0, runtime_1.exists)(json, 'pause_days') ? undefined : json['pause_days'],
44
45
  'pause_until_date': !(0, runtime_1.exists)(json, 'pause_until_date') ? undefined : json['pause_until_date'],
46
+ 'pause_until_day_of_month': !(0, runtime_1.exists)(json, 'pause_until_day_of_month') ? undefined : json['pause_until_day_of_month'],
47
+ 'pause_until_minimum_delay_days': !(0, runtime_1.exists)(json, 'pause_until_minimum_delay_days') ? undefined : json['pause_until_minimum_delay_days'],
45
48
  'preshipment_notice_days': !(0, runtime_1.exists)(json, 'preshipment_notice_days') ? undefined : json['preshipment_notice_days'],
46
49
  'recurring_merchant_item_id': !(0, runtime_1.exists)(json, 'recurring_merchant_item_id') ? undefined : json['recurring_merchant_item_id'],
47
50
  'recurring_merchant_item_oid': !(0, runtime_1.exists)(json, 'recurring_merchant_item_oid') ? undefined : json['recurring_merchant_item_oid'],
@@ -68,6 +71,8 @@ function ItemAutoOrderStepToJSON(value) {
68
71
  'managed_by': value.managed_by,
69
72
  'pause_days': value.pause_days,
70
73
  'pause_until_date': value.pause_until_date,
74
+ 'pause_until_day_of_month': value.pause_until_day_of_month,
75
+ 'pause_until_minimum_delay_days': value.pause_until_minimum_delay_days,
71
76
  'preshipment_notice_days': value.preshipment_notice_days,
72
77
  'recurring_merchant_item_id': value.recurring_merchant_item_id,
73
78
  'recurring_merchant_item_oid': value.recurring_merchant_item_oid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.186",
3
+ "version": "4.0.187",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -74,6 +74,18 @@ export interface ItemAutoOrderStep {
74
74
  * @memberof ItemAutoOrderStep
75
75
  */
76
76
  pause_until_date?: string;
77
+ /**
78
+ * Pause until a specific day of the month
79
+ * @type {number}
80
+ * @memberof ItemAutoOrderStep
81
+ */
82
+ pause_until_day_of_month?: number;
83
+ /**
84
+ * Pause at least this many days between the last order and the calculated next day of month
85
+ * @type {number}
86
+ * @memberof ItemAutoOrderStep
87
+ */
88
+ pause_until_minimum_delay_days?: number;
77
89
  /**
78
90
  * If set, a pre-shipment notice is sent to the customer this many days in advance
79
91
  * @type {number}
@@ -132,7 +144,8 @@ export const ItemAutoOrderStepTypeEnum = {
132
144
  Item: 'item',
133
145
  Pause: 'pause',
134
146
  Loop: 'loop',
135
- KitOnly: 'kit only'
147
+ KitOnly: 'kit only',
148
+ PauseUntil: 'pause until'
136
149
  } as const;
137
150
  export type ItemAutoOrderStepTypeEnum = typeof ItemAutoOrderStepTypeEnum[keyof typeof ItemAutoOrderStepTypeEnum];
138
151
 
@@ -154,6 +167,8 @@ export function ItemAutoOrderStepFromJSONTyped(json: any, ignoreDiscriminator: b
154
167
  'managed_by': !exists(json, 'managed_by') ? undefined : json['managed_by'],
155
168
  'pause_days': !exists(json, 'pause_days') ? undefined : json['pause_days'],
156
169
  'pause_until_date': !exists(json, 'pause_until_date') ? undefined : json['pause_until_date'],
170
+ 'pause_until_day_of_month': !exists(json, 'pause_until_day_of_month') ? undefined : json['pause_until_day_of_month'],
171
+ 'pause_until_minimum_delay_days': !exists(json, 'pause_until_minimum_delay_days') ? undefined : json['pause_until_minimum_delay_days'],
157
172
  'preshipment_notice_days': !exists(json, 'preshipment_notice_days') ? undefined : json['preshipment_notice_days'],
158
173
  'recurring_merchant_item_id': !exists(json, 'recurring_merchant_item_id') ? undefined : json['recurring_merchant_item_id'],
159
174
  'recurring_merchant_item_oid': !exists(json, 'recurring_merchant_item_oid') ? undefined : json['recurring_merchant_item_oid'],
@@ -181,6 +196,8 @@ export function ItemAutoOrderStepToJSON(value?: ItemAutoOrderStep | null): any {
181
196
  'managed_by': value.managed_by,
182
197
  'pause_days': value.pause_days,
183
198
  'pause_until_date': value.pause_until_date,
199
+ 'pause_until_day_of_month': value.pause_until_day_of_month,
200
+ 'pause_until_minimum_delay_days': value.pause_until_minimum_delay_days,
184
201
  'preshipment_notice_days': value.preshipment_notice_days,
185
202
  'recurring_merchant_item_id': value.recurring_merchant_item_id,
186
203
  'recurring_merchant_item_oid': value.recurring_merchant_item_oid,