ultracart_rest_api_v2_typescript 3.10.62 → 3.10.64
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 +42 -2
- package/dist/api.d.ts +41 -2
- package/dist/api.js +20 -3
- 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.64
|
|
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.64 --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.64 | 11/15/2022 | increase order property length to 10k char |
|
|
58
|
+
| 3.10.63 | 11/14/2022 | conversations - add allowed values for update agent status |
|
|
57
59
|
| 3.10.62 | 11/09/2022 | conversations - add an enum of event typing |
|
|
58
60
|
| 3.10.61 | 11/04/2022 | new coupon type percent based on msrp |
|
|
59
61
|
| 3.10.60 | 10/31/2022 | communication bug fix on dup annonation |
|
package/api.ts
CHANGED
|
@@ -712,12 +712,24 @@ export interface AffiliateClick {
|
|
|
712
712
|
* @memberof AffiliateClick
|
|
713
713
|
*/
|
|
714
714
|
referrer_query_string?: string;
|
|
715
|
+
/**
|
|
716
|
+
* Screen recording UUID
|
|
717
|
+
* @type {string}
|
|
718
|
+
* @memberof AffiliateClick
|
|
719
|
+
*/
|
|
720
|
+
screen_recording_uuid?: string;
|
|
715
721
|
/**
|
|
716
722
|
* Sub ID value passed on the click
|
|
717
723
|
* @type {string}
|
|
718
724
|
* @memberof AffiliateClick
|
|
719
725
|
*/
|
|
720
726
|
sub_id?: string;
|
|
727
|
+
/**
|
|
728
|
+
* UC Analytics Identifier
|
|
729
|
+
* @type {string}
|
|
730
|
+
* @memberof AffiliateClick
|
|
731
|
+
*/
|
|
732
|
+
ucacid?: string;
|
|
721
733
|
}
|
|
722
734
|
|
|
723
735
|
/**
|
|
@@ -6277,6 +6289,12 @@ export interface CityStateZip {
|
|
|
6277
6289
|
* @interface Conversation
|
|
6278
6290
|
*/
|
|
6279
6291
|
export interface Conversation {
|
|
6292
|
+
/**
|
|
6293
|
+
* The base language iso code for the StoreFront that everything is translated into
|
|
6294
|
+
* @type {string}
|
|
6295
|
+
* @memberof Conversation
|
|
6296
|
+
*/
|
|
6297
|
+
base_language_iso_code?: string;
|
|
6280
6298
|
/**
|
|
6281
6299
|
*
|
|
6282
6300
|
* @type {boolean}
|
|
@@ -7332,11 +7350,27 @@ export interface ConversationWebchatQueueStatusQueueEntry {
|
|
|
7332
7350
|
*/
|
|
7333
7351
|
export interface ConversationWebchatQueueStatusUpdateRequest {
|
|
7334
7352
|
/**
|
|
7335
|
-
*
|
|
7353
|
+
* Status of the agent
|
|
7336
7354
|
* @type {string}
|
|
7337
7355
|
* @memberof ConversationWebchatQueueStatusUpdateRequest
|
|
7338
7356
|
*/
|
|
7339
|
-
agent_status?:
|
|
7357
|
+
agent_status?: ConversationWebchatQueueStatusUpdateRequest.AgentStatusEnum;
|
|
7358
|
+
}
|
|
7359
|
+
|
|
7360
|
+
/**
|
|
7361
|
+
* @export
|
|
7362
|
+
* @namespace ConversationWebchatQueueStatusUpdateRequest
|
|
7363
|
+
*/
|
|
7364
|
+
export namespace ConversationWebchatQueueStatusUpdateRequest {
|
|
7365
|
+
/**
|
|
7366
|
+
* @export
|
|
7367
|
+
* @enum {string}
|
|
7368
|
+
*/
|
|
7369
|
+
export enum AgentStatusEnum {
|
|
7370
|
+
Available = <any> 'available',
|
|
7371
|
+
Busy = <any> 'busy',
|
|
7372
|
+
Unavailable = <any> 'unavailable'
|
|
7373
|
+
}
|
|
7340
7374
|
}
|
|
7341
7375
|
|
|
7342
7376
|
/**
|
|
@@ -35172,6 +35206,12 @@ export interface Webhook {
|
|
|
35172
35206
|
* @memberof Webhook
|
|
35173
35207
|
*/
|
|
35174
35208
|
basic_username?: string;
|
|
35209
|
+
/**
|
|
35210
|
+
* Compress events with GZIP then base 64 encode them as a string
|
|
35211
|
+
* @type {boolean}
|
|
35212
|
+
* @memberof Webhook
|
|
35213
|
+
*/
|
|
35214
|
+
compress_events?: boolean;
|
|
35175
35215
|
/**
|
|
35176
35216
|
* The number of consecutive failures that have occurred trying to deliver notifications to the target server
|
|
35177
35217
|
* @type {number}
|
package/dist/api.d.ts
CHANGED
|
@@ -683,12 +683,24 @@ export interface AffiliateClick {
|
|
|
683
683
|
* @memberof AffiliateClick
|
|
684
684
|
*/
|
|
685
685
|
referrer_query_string?: string;
|
|
686
|
+
/**
|
|
687
|
+
* Screen recording UUID
|
|
688
|
+
* @type {string}
|
|
689
|
+
* @memberof AffiliateClick
|
|
690
|
+
*/
|
|
691
|
+
screen_recording_uuid?: string;
|
|
686
692
|
/**
|
|
687
693
|
* Sub ID value passed on the click
|
|
688
694
|
* @type {string}
|
|
689
695
|
* @memberof AffiliateClick
|
|
690
696
|
*/
|
|
691
697
|
sub_id?: string;
|
|
698
|
+
/**
|
|
699
|
+
* UC Analytics Identifier
|
|
700
|
+
* @type {string}
|
|
701
|
+
* @memberof AffiliateClick
|
|
702
|
+
*/
|
|
703
|
+
ucacid?: string;
|
|
692
704
|
}
|
|
693
705
|
/**
|
|
694
706
|
*
|
|
@@ -6130,6 +6142,12 @@ export interface CityStateZip {
|
|
|
6130
6142
|
* @interface Conversation
|
|
6131
6143
|
*/
|
|
6132
6144
|
export interface Conversation {
|
|
6145
|
+
/**
|
|
6146
|
+
* The base language iso code for the StoreFront that everything is translated into
|
|
6147
|
+
* @type {string}
|
|
6148
|
+
* @memberof Conversation
|
|
6149
|
+
*/
|
|
6150
|
+
base_language_iso_code?: string;
|
|
6133
6151
|
/**
|
|
6134
6152
|
*
|
|
6135
6153
|
* @type {boolean}
|
|
@@ -7158,11 +7176,26 @@ export interface ConversationWebchatQueueStatusQueueEntry {
|
|
|
7158
7176
|
*/
|
|
7159
7177
|
export interface ConversationWebchatQueueStatusUpdateRequest {
|
|
7160
7178
|
/**
|
|
7161
|
-
*
|
|
7179
|
+
* Status of the agent
|
|
7162
7180
|
* @type {string}
|
|
7163
7181
|
* @memberof ConversationWebchatQueueStatusUpdateRequest
|
|
7164
7182
|
*/
|
|
7165
|
-
agent_status?:
|
|
7183
|
+
agent_status?: ConversationWebchatQueueStatusUpdateRequest.AgentStatusEnum;
|
|
7184
|
+
}
|
|
7185
|
+
/**
|
|
7186
|
+
* @export
|
|
7187
|
+
* @namespace ConversationWebchatQueueStatusUpdateRequest
|
|
7188
|
+
*/
|
|
7189
|
+
export declare namespace ConversationWebchatQueueStatusUpdateRequest {
|
|
7190
|
+
/**
|
|
7191
|
+
* @export
|
|
7192
|
+
* @enum {string}
|
|
7193
|
+
*/
|
|
7194
|
+
enum AgentStatusEnum {
|
|
7195
|
+
Available,
|
|
7196
|
+
Busy,
|
|
7197
|
+
Unavailable
|
|
7198
|
+
}
|
|
7166
7199
|
}
|
|
7167
7200
|
/**
|
|
7168
7201
|
*
|
|
@@ -34437,6 +34470,12 @@ export interface Webhook {
|
|
|
34437
34470
|
* @memberof Webhook
|
|
34438
34471
|
*/
|
|
34439
34472
|
basic_username?: string;
|
|
34473
|
+
/**
|
|
34474
|
+
* Compress events with GZIP then base 64 encode them as a string
|
|
34475
|
+
* @type {boolean}
|
|
34476
|
+
* @memberof Webhook
|
|
34477
|
+
*/
|
|
34478
|
+
compress_events?: boolean;
|
|
34440
34479
|
/**
|
|
34441
34480
|
* The number of consecutive failures that have occurred trying to deliver notifications to the target server
|
|
34442
34481
|
* @type {number}
|
package/dist/api.js
CHANGED
|
@@ -28,9 +28,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
28
28
|
};
|
|
29
29
|
})();
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.WebhookApi = exports.WebhookApiFactory = exports.WebhookApiFp = exports.WebhookApiFetchParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiFetchParamCreator = exports.TaxApi = exports.TaxApiFactory = exports.TaxApiFp = exports.TaxApiFetchParamCreator = exports.StorefrontApi = exports.StorefrontApiFactory = exports.StorefrontApiFp = exports.StorefrontApiFetchParamCreator = exports.SsoApi = exports.SsoApiFactory = exports.SsoApiFp = exports.SsoApiFetchParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiFetchParamCreator = exports.OauthApi = exports.OauthApiFactory = exports.OauthApiFp = exports.OauthApiFetchParamCreator = void 0;
|
|
31
|
+
exports.OrderQuery = exports.OrderPaymentECheck = exports.OrderPaymentCreditCard = exports.OrderPayment = exports.OrderItemOption = exports.OrderItem = exports.OrderFraudScore = exports.OrderFormat = exports.OrderAutoOrder = exports.OrderAffiliateLedger = exports.Order = exports.OauthTokenResponse = exports.ItemThirdPartyEmailMarketing = exports.ItemTax = exports.ItemTag = exports.ItemShippingMethod = exports.ItemShippingDestinationRestriction = exports.ItemRestrictionItem = exports.ItemRelatedItem = exports.ItemOptionValue = exports.ItemOption = exports.ItemContentMultimedia = exports.ItemAutoOrderStep = exports.Experiment = exports.EmailPerformance = exports.EmailCommseqStep = exports.Distance = exports.ConversationWebsocketMessage = exports.ConversationWebchatQueueStatusUpdateRequest = exports.ConversationWebchatQueueStatusAgent = exports.ConversationSummary = exports.ConversationMessageTransportStatus = exports.ConversationMessage = exports.ConversationEventRRWeb = exports.Conversation = exports.CheckoutHandoffRequest = exports.ChannelPartnerOrderItem = exports.ChannelPartnerOrder = exports.CartKitComponentOption = exports.CartItemOption = exports.CartItemMultimedia = exports.CartCustomerProfileCreditCard = exports.AutoOrderItemSimpleSchedule = exports.AutoOrderItem = exports.AutoOrder = exports.AffiliateLink = exports.AffiliateLedger = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = void 0;
|
|
32
|
+
exports.ItemApiFactory = exports.ItemApiFp = exports.ItemApiFetchParamCreator = exports.IntegrationLogApi = exports.IntegrationLogApiFactory = exports.IntegrationLogApiFp = exports.IntegrationLogApiFetchParamCreator = exports.GiftCertificateApi = exports.GiftCertificateApiFactory = exports.GiftCertificateApiFp = exports.GiftCertificateApiFetchParamCreator = exports.FulfillmentApi = exports.FulfillmentApiFactory = exports.FulfillmentApiFp = exports.FulfillmentApiFetchParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiFetchParamCreator = exports.CouponApi = exports.CouponApiFactory = exports.CouponApiFp = exports.CouponApiFetchParamCreator = exports.ConversationApi = exports.ConversationApiFactory = exports.ConversationApiFp = exports.ConversationApiFetchParamCreator = exports.CheckoutApi = exports.CheckoutApiFactory = exports.CheckoutApiFp = exports.CheckoutApiFetchParamCreator = exports.ChargebackApi = exports.ChargebackApiFactory = exports.ChargebackApiFp = exports.ChargebackApiFetchParamCreator = exports.ChannelPartnerApi = exports.ChannelPartnerApiFactory = exports.ChannelPartnerApiFp = exports.ChannelPartnerApiFetchParamCreator = exports.AutoOrderApi = exports.AutoOrderApiFactory = exports.AutoOrderApiFp = exports.AutoOrderApiFetchParamCreator = exports.AffiliateApi = exports.AffiliateApiFactory = exports.AffiliateApiFp = exports.AffiliateApiFetchParamCreator = exports.Weight = exports.Webhook = exports.TempMultimedia = void 0;
|
|
33
|
+
exports.WebhookApi = exports.WebhookApiFactory = exports.WebhookApiFp = exports.WebhookApiFetchParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiFetchParamCreator = exports.TaxApi = exports.TaxApiFactory = exports.TaxApiFp = exports.TaxApiFetchParamCreator = exports.StorefrontApi = exports.StorefrontApiFactory = exports.StorefrontApiFp = exports.StorefrontApiFetchParamCreator = exports.SsoApi = exports.SsoApiFactory = exports.SsoApiFp = exports.SsoApiFetchParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiFetchParamCreator = exports.OauthApi = exports.OauthApiFactory = exports.OauthApiFp = exports.OauthApiFetchParamCreator = exports.ItemApi = void 0;
|
|
34
34
|
var url = require("url");
|
|
35
35
|
var portableFetch = require("portable-fetch");
|
|
36
36
|
var BASE_PATH = "https://secure.ultracart.com/rest/v2".replace(/\/+$/, "");
|
|
@@ -465,6 +465,23 @@ var ConversationWebchatQueueStatusAgent;
|
|
|
465
465
|
AgentStatusEnum[AgentStatusEnum["Unavailable"] = 'unavailable'] = "Unavailable";
|
|
466
466
|
})(AgentStatusEnum = ConversationWebchatQueueStatusAgent.AgentStatusEnum || (ConversationWebchatQueueStatusAgent.AgentStatusEnum = {}));
|
|
467
467
|
})(ConversationWebchatQueueStatusAgent = exports.ConversationWebchatQueueStatusAgent || (exports.ConversationWebchatQueueStatusAgent = {}));
|
|
468
|
+
/**
|
|
469
|
+
* @export
|
|
470
|
+
* @namespace ConversationWebchatQueueStatusUpdateRequest
|
|
471
|
+
*/
|
|
472
|
+
var ConversationWebchatQueueStatusUpdateRequest;
|
|
473
|
+
(function (ConversationWebchatQueueStatusUpdateRequest) {
|
|
474
|
+
/**
|
|
475
|
+
* @export
|
|
476
|
+
* @enum {string}
|
|
477
|
+
*/
|
|
478
|
+
var AgentStatusEnum;
|
|
479
|
+
(function (AgentStatusEnum) {
|
|
480
|
+
AgentStatusEnum[AgentStatusEnum["Available"] = 'available'] = "Available";
|
|
481
|
+
AgentStatusEnum[AgentStatusEnum["Busy"] = 'busy'] = "Busy";
|
|
482
|
+
AgentStatusEnum[AgentStatusEnum["Unavailable"] = 'unavailable'] = "Unavailable";
|
|
483
|
+
})(AgentStatusEnum = ConversationWebchatQueueStatusUpdateRequest.AgentStatusEnum || (ConversationWebchatQueueStatusUpdateRequest.AgentStatusEnum = {}));
|
|
484
|
+
})(ConversationWebchatQueueStatusUpdateRequest = exports.ConversationWebchatQueueStatusUpdateRequest || (exports.ConversationWebchatQueueStatusUpdateRequest = {}));
|
|
468
485
|
/**
|
|
469
486
|
* @export
|
|
470
487
|
* @namespace ConversationWebsocketMessage
|