ultracart_rest_api_v2_typescript 3.10.73 → 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 +4 -2
- package/api.ts +100 -0
- package/dist/api.d.ts +98 -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,8 @@ 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 |
|
|
58
|
+
| 3.10.74 | 12/02/2022 | conversations - customer last unresponded dts |
|
|
57
59
|
| 3.10.73 | 11/30/2022 | conversations - add order and auto order information to webchat context |
|
|
58
60
|
| 3.10.72 | 11/30/2022 | order item - addl fields for linking kits to kit components |
|
|
59
61
|
| 3.10.71 | 11/29/2022 | converstation marked convo read method |
|
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
|
|
@@ -6313,6 +6363,12 @@ export interface Conversation {
|
|
|
6313
6363
|
* @memberof Conversation
|
|
6314
6364
|
*/
|
|
6315
6365
|
conversation_uuid?: string;
|
|
6366
|
+
/**
|
|
6367
|
+
* Date/time of the first customer message that is unresponded to.
|
|
6368
|
+
* @type {string}
|
|
6369
|
+
* @memberof Conversation
|
|
6370
|
+
*/
|
|
6371
|
+
customer_first_message_unresponded_to_dts?: string;
|
|
6316
6372
|
/**
|
|
6317
6373
|
*
|
|
6318
6374
|
* @type {string}
|
|
@@ -7116,6 +7172,12 @@ export interface ConversationSummary {
|
|
|
7116
7172
|
* @memberof ConversationSummary
|
|
7117
7173
|
*/
|
|
7118
7174
|
conversation_uuid?: string;
|
|
7175
|
+
/**
|
|
7176
|
+
* Date/time of the first customer message that is unresponded to.
|
|
7177
|
+
* @type {string}
|
|
7178
|
+
* @memberof ConversationSummary
|
|
7179
|
+
*/
|
|
7180
|
+
customer_first_message_unresponded_to_dts?: string;
|
|
7119
7181
|
/**
|
|
7120
7182
|
*
|
|
7121
7183
|
* @type {string}
|
|
@@ -10168,6 +10230,12 @@ export interface Customer {
|
|
|
10168
10230
|
* @memberof Customer
|
|
10169
10231
|
*/
|
|
10170
10232
|
dhl_duty_account_number?: string;
|
|
10233
|
+
/**
|
|
10234
|
+
*
|
|
10235
|
+
* @type {CustomerEDI}
|
|
10236
|
+
* @memberof Customer
|
|
10237
|
+
*/
|
|
10238
|
+
edi?: CustomerEDI;
|
|
10171
10239
|
/**
|
|
10172
10240
|
* Email address of this customer profile
|
|
10173
10241
|
* @type {string}
|
|
@@ -10708,6 +10776,32 @@ export interface CustomerCard {
|
|
|
10708
10776
|
last_used_dts?: string;
|
|
10709
10777
|
}
|
|
10710
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
|
+
|
|
10711
10805
|
/**
|
|
10712
10806
|
*
|
|
10713
10807
|
* @export
|
|
@@ -10744,6 +10838,12 @@ export interface CustomerEditorValues {
|
|
|
10744
10838
|
* @memberof CustomerEditorValues
|
|
10745
10839
|
*/
|
|
10746
10840
|
countries?: Array<Country>;
|
|
10841
|
+
/**
|
|
10842
|
+
* EDI channel partners
|
|
10843
|
+
* @type {Array<ChannelPartner>}
|
|
10844
|
+
* @memberof CustomerEditorValues
|
|
10845
|
+
*/
|
|
10846
|
+
edi_channel_partners?: Array<ChannelPartner>;
|
|
10747
10847
|
/**
|
|
10748
10848
|
* loyalty_ledger_descriptions
|
|
10749
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
|
|
@@ -6166,6 +6215,12 @@ export interface Conversation {
|
|
|
6166
6215
|
* @memberof Conversation
|
|
6167
6216
|
*/
|
|
6168
6217
|
conversation_uuid?: string;
|
|
6218
|
+
/**
|
|
6219
|
+
* Date/time of the first customer message that is unresponded to.
|
|
6220
|
+
* @type {string}
|
|
6221
|
+
* @memberof Conversation
|
|
6222
|
+
*/
|
|
6223
|
+
customer_first_message_unresponded_to_dts?: string;
|
|
6169
6224
|
/**
|
|
6170
6225
|
*
|
|
6171
6226
|
* @type {string}
|
|
@@ -6946,6 +7001,12 @@ export interface ConversationSummary {
|
|
|
6946
7001
|
* @memberof ConversationSummary
|
|
6947
7002
|
*/
|
|
6948
7003
|
conversation_uuid?: string;
|
|
7004
|
+
/**
|
|
7005
|
+
* Date/time of the first customer message that is unresponded to.
|
|
7006
|
+
* @type {string}
|
|
7007
|
+
* @memberof ConversationSummary
|
|
7008
|
+
*/
|
|
7009
|
+
customer_first_message_unresponded_to_dts?: string;
|
|
6949
7010
|
/**
|
|
6950
7011
|
*
|
|
6951
7012
|
* @type {string}
|
|
@@ -9917,6 +9978,12 @@ export interface Customer {
|
|
|
9917
9978
|
* @memberof Customer
|
|
9918
9979
|
*/
|
|
9919
9980
|
dhl_duty_account_number?: string;
|
|
9981
|
+
/**
|
|
9982
|
+
*
|
|
9983
|
+
* @type {CustomerEDI}
|
|
9984
|
+
* @memberof Customer
|
|
9985
|
+
*/
|
|
9986
|
+
edi?: CustomerEDI;
|
|
9920
9987
|
/**
|
|
9921
9988
|
* Email address of this customer profile
|
|
9922
9989
|
* @type {string}
|
|
@@ -10451,6 +10518,31 @@ export interface CustomerCard {
|
|
|
10451
10518
|
*/
|
|
10452
10519
|
last_used_dts?: string;
|
|
10453
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
|
+
}
|
|
10454
10546
|
/**
|
|
10455
10547
|
*
|
|
10456
10548
|
* @export
|
|
@@ -10487,6 +10579,12 @@ export interface CustomerEditorValues {
|
|
|
10487
10579
|
* @memberof CustomerEditorValues
|
|
10488
10580
|
*/
|
|
10489
10581
|
countries?: Array<Country>;
|
|
10582
|
+
/**
|
|
10583
|
+
* EDI channel partners
|
|
10584
|
+
* @type {Array<ChannelPartner>}
|
|
10585
|
+
* @memberof CustomerEditorValues
|
|
10586
|
+
*/
|
|
10587
|
+
edi_channel_partners?: Array<ChannelPartner>;
|
|
10490
10588
|
/**
|
|
10491
10589
|
* loyalty_ledger_descriptions
|
|
10492
10590
|
* @type {Array<string>}
|