ultracart_rest_api_v2_typescript 3.10.74 → 3.10.75
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 +3 -2
- package/api.ts +88 -0
- package/dist/api.d.ts +86 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.10.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@3.10.75
|
|
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@3.10.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.10.75 --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
|
+
| 3.10.75 | 12/06/2022 | customer api - expose edi information and editor values |
|
|
57
58
|
| 3.10.74 | 12/02/2022 | conversations - customer last unresponded dts |
|
|
58
59
|
| 3.10.73 | 11/30/2022 | conversations - add order and auto order information to webchat context |
|
|
59
60
|
| 3.10.72 | 11/30/2022 | order item - addl fields for linking kits to kit components |
|
package/api.ts
CHANGED
|
@@ -5035,6 +5035,56 @@ export interface CartValidationResponse {
|
|
|
5035
5035
|
errors?: Array<string>;
|
|
5036
5036
|
}
|
|
5037
5037
|
|
|
5038
|
+
/**
|
|
5039
|
+
*
|
|
5040
|
+
* @export
|
|
5041
|
+
* @interface ChannelPartner
|
|
5042
|
+
*/
|
|
5043
|
+
export interface ChannelPartner {
|
|
5044
|
+
/**
|
|
5045
|
+
* Channel partner object id
|
|
5046
|
+
* @type {number}
|
|
5047
|
+
* @memberof ChannelPartner
|
|
5048
|
+
*/
|
|
5049
|
+
channel_partner_oid?: number;
|
|
5050
|
+
/**
|
|
5051
|
+
* Code associated with the channel partner
|
|
5052
|
+
* @type {string}
|
|
5053
|
+
* @memberof ChannelPartner
|
|
5054
|
+
*/
|
|
5055
|
+
code?: string;
|
|
5056
|
+
/**
|
|
5057
|
+
* Communication method of the channel partner
|
|
5058
|
+
* @type {string}
|
|
5059
|
+
* @memberof ChannelPartner
|
|
5060
|
+
*/
|
|
5061
|
+
communication_method?: string;
|
|
5062
|
+
/**
|
|
5063
|
+
* True if the channel partner is inactive
|
|
5064
|
+
* @type {boolean}
|
|
5065
|
+
* @memberof ChannelPartner
|
|
5066
|
+
*/
|
|
5067
|
+
inactive?: boolean;
|
|
5068
|
+
/**
|
|
5069
|
+
* Merchant ID of the channel partner
|
|
5070
|
+
* @type {string}
|
|
5071
|
+
* @memberof ChannelPartner
|
|
5072
|
+
*/
|
|
5073
|
+
merchant_id?: string;
|
|
5074
|
+
/**
|
|
5075
|
+
* Name of the channel partner
|
|
5076
|
+
* @type {string}
|
|
5077
|
+
* @memberof ChannelPartner
|
|
5078
|
+
*/
|
|
5079
|
+
name?: string;
|
|
5080
|
+
/**
|
|
5081
|
+
* True if emails to the customer are skipped for this channel partner.
|
|
5082
|
+
* @type {boolean}
|
|
5083
|
+
* @memberof ChannelPartner
|
|
5084
|
+
*/
|
|
5085
|
+
skip_customer_emails?: boolean;
|
|
5086
|
+
}
|
|
5087
|
+
|
|
5038
5088
|
/**
|
|
5039
5089
|
*
|
|
5040
5090
|
* @export
|
|
@@ -10180,6 +10230,12 @@ export interface Customer {
|
|
|
10180
10230
|
* @memberof Customer
|
|
10181
10231
|
*/
|
|
10182
10232
|
dhl_duty_account_number?: string;
|
|
10233
|
+
/**
|
|
10234
|
+
*
|
|
10235
|
+
* @type {CustomerEDI}
|
|
10236
|
+
* @memberof Customer
|
|
10237
|
+
*/
|
|
10238
|
+
edi?: CustomerEDI;
|
|
10183
10239
|
/**
|
|
10184
10240
|
* Email address of this customer profile
|
|
10185
10241
|
* @type {string}
|
|
@@ -10720,6 +10776,32 @@ export interface CustomerCard {
|
|
|
10720
10776
|
last_used_dts?: string;
|
|
10721
10777
|
}
|
|
10722
10778
|
|
|
10779
|
+
/**
|
|
10780
|
+
*
|
|
10781
|
+
* @export
|
|
10782
|
+
* @interface CustomerEDI
|
|
10783
|
+
*/
|
|
10784
|
+
export interface CustomerEDI {
|
|
10785
|
+
/**
|
|
10786
|
+
* EDI channel partner this customer profile is associated with
|
|
10787
|
+
* @type {number}
|
|
10788
|
+
* @memberof CustomerEDI
|
|
10789
|
+
*/
|
|
10790
|
+
channel_partner_oid?: number;
|
|
10791
|
+
/**
|
|
10792
|
+
* The EDI distribution center number associated with this customer profile.
|
|
10793
|
+
* @type {string}
|
|
10794
|
+
* @memberof CustomerEDI
|
|
10795
|
+
*/
|
|
10796
|
+
distribution_center_number?: string;
|
|
10797
|
+
/**
|
|
10798
|
+
* The EDI store number associated with this customer profile.
|
|
10799
|
+
* @type {string}
|
|
10800
|
+
* @memberof CustomerEDI
|
|
10801
|
+
*/
|
|
10802
|
+
store_number?: string;
|
|
10803
|
+
}
|
|
10804
|
+
|
|
10723
10805
|
/**
|
|
10724
10806
|
*
|
|
10725
10807
|
* @export
|
|
@@ -10756,6 +10838,12 @@ export interface CustomerEditorValues {
|
|
|
10756
10838
|
* @memberof CustomerEditorValues
|
|
10757
10839
|
*/
|
|
10758
10840
|
countries?: Array<Country>;
|
|
10841
|
+
/**
|
|
10842
|
+
* EDI channel partners
|
|
10843
|
+
* @type {Array<ChannelPartner>}
|
|
10844
|
+
* @memberof CustomerEditorValues
|
|
10845
|
+
*/
|
|
10846
|
+
edi_channel_partners?: Array<ChannelPartner>;
|
|
10759
10847
|
/**
|
|
10760
10848
|
* loyalty_ledger_descriptions
|
|
10761
10849
|
* @type {Array<string>}
|
package/dist/api.d.ts
CHANGED
|
@@ -4911,6 +4911,55 @@ export interface CartValidationResponse {
|
|
|
4911
4911
|
*/
|
|
4912
4912
|
errors?: Array<string>;
|
|
4913
4913
|
}
|
|
4914
|
+
/**
|
|
4915
|
+
*
|
|
4916
|
+
* @export
|
|
4917
|
+
* @interface ChannelPartner
|
|
4918
|
+
*/
|
|
4919
|
+
export interface ChannelPartner {
|
|
4920
|
+
/**
|
|
4921
|
+
* Channel partner object id
|
|
4922
|
+
* @type {number}
|
|
4923
|
+
* @memberof ChannelPartner
|
|
4924
|
+
*/
|
|
4925
|
+
channel_partner_oid?: number;
|
|
4926
|
+
/**
|
|
4927
|
+
* Code associated with the channel partner
|
|
4928
|
+
* @type {string}
|
|
4929
|
+
* @memberof ChannelPartner
|
|
4930
|
+
*/
|
|
4931
|
+
code?: string;
|
|
4932
|
+
/**
|
|
4933
|
+
* Communication method of the channel partner
|
|
4934
|
+
* @type {string}
|
|
4935
|
+
* @memberof ChannelPartner
|
|
4936
|
+
*/
|
|
4937
|
+
communication_method?: string;
|
|
4938
|
+
/**
|
|
4939
|
+
* True if the channel partner is inactive
|
|
4940
|
+
* @type {boolean}
|
|
4941
|
+
* @memberof ChannelPartner
|
|
4942
|
+
*/
|
|
4943
|
+
inactive?: boolean;
|
|
4944
|
+
/**
|
|
4945
|
+
* Merchant ID of the channel partner
|
|
4946
|
+
* @type {string}
|
|
4947
|
+
* @memberof ChannelPartner
|
|
4948
|
+
*/
|
|
4949
|
+
merchant_id?: string;
|
|
4950
|
+
/**
|
|
4951
|
+
* Name of the channel partner
|
|
4952
|
+
* @type {string}
|
|
4953
|
+
* @memberof ChannelPartner
|
|
4954
|
+
*/
|
|
4955
|
+
name?: string;
|
|
4956
|
+
/**
|
|
4957
|
+
* True if emails to the customer are skipped for this channel partner.
|
|
4958
|
+
* @type {boolean}
|
|
4959
|
+
* @memberof ChannelPartner
|
|
4960
|
+
*/
|
|
4961
|
+
skip_customer_emails?: boolean;
|
|
4962
|
+
}
|
|
4914
4963
|
/**
|
|
4915
4964
|
*
|
|
4916
4965
|
* @export
|
|
@@ -9929,6 +9978,12 @@ export interface Customer {
|
|
|
9929
9978
|
* @memberof Customer
|
|
9930
9979
|
*/
|
|
9931
9980
|
dhl_duty_account_number?: string;
|
|
9981
|
+
/**
|
|
9982
|
+
*
|
|
9983
|
+
* @type {CustomerEDI}
|
|
9984
|
+
* @memberof Customer
|
|
9985
|
+
*/
|
|
9986
|
+
edi?: CustomerEDI;
|
|
9932
9987
|
/**
|
|
9933
9988
|
* Email address of this customer profile
|
|
9934
9989
|
* @type {string}
|
|
@@ -10463,6 +10518,31 @@ export interface CustomerCard {
|
|
|
10463
10518
|
*/
|
|
10464
10519
|
last_used_dts?: string;
|
|
10465
10520
|
}
|
|
10521
|
+
/**
|
|
10522
|
+
*
|
|
10523
|
+
* @export
|
|
10524
|
+
* @interface CustomerEDI
|
|
10525
|
+
*/
|
|
10526
|
+
export interface CustomerEDI {
|
|
10527
|
+
/**
|
|
10528
|
+
* EDI channel partner this customer profile is associated with
|
|
10529
|
+
* @type {number}
|
|
10530
|
+
* @memberof CustomerEDI
|
|
10531
|
+
*/
|
|
10532
|
+
channel_partner_oid?: number;
|
|
10533
|
+
/**
|
|
10534
|
+
* The EDI distribution center number associated with this customer profile.
|
|
10535
|
+
* @type {string}
|
|
10536
|
+
* @memberof CustomerEDI
|
|
10537
|
+
*/
|
|
10538
|
+
distribution_center_number?: string;
|
|
10539
|
+
/**
|
|
10540
|
+
* The EDI store number associated with this customer profile.
|
|
10541
|
+
* @type {string}
|
|
10542
|
+
* @memberof CustomerEDI
|
|
10543
|
+
*/
|
|
10544
|
+
store_number?: string;
|
|
10545
|
+
}
|
|
10466
10546
|
/**
|
|
10467
10547
|
*
|
|
10468
10548
|
* @export
|
|
@@ -10499,6 +10579,12 @@ export interface CustomerEditorValues {
|
|
|
10499
10579
|
* @memberof CustomerEditorValues
|
|
10500
10580
|
*/
|
|
10501
10581
|
countries?: Array<Country>;
|
|
10582
|
+
/**
|
|
10583
|
+
* EDI channel partners
|
|
10584
|
+
* @type {Array<ChannelPartner>}
|
|
10585
|
+
* @memberof CustomerEditorValues
|
|
10586
|
+
*/
|
|
10587
|
+
edi_channel_partners?: Array<ChannelPartner>;
|
|
10502
10588
|
/**
|
|
10503
10589
|
* loyalty_ledger_descriptions
|
|
10504
10590
|
* @type {Array<string>}
|