ultracart_rest_api_v2_typescript 3.10.62 → 3.10.63
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 +24 -2
- package/dist/api.d.ts +23 -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.63
|
|
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.63 --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.63 | 11/14/2022 | conversations - add allowed values for update agent status |
|
|
57
58
|
| 3.10.62 | 11/09/2022 | conversations - add an enum of event typing |
|
|
58
59
|
| 3.10.61 | 11/04/2022 | new coupon type percent based on msrp |
|
|
59
60
|
| 3.10.60 | 10/31/2022 | communication bug fix on dup annonation |
|
package/api.ts
CHANGED
|
@@ -7332,11 +7332,27 @@ export interface ConversationWebchatQueueStatusQueueEntry {
|
|
|
7332
7332
|
*/
|
|
7333
7333
|
export interface ConversationWebchatQueueStatusUpdateRequest {
|
|
7334
7334
|
/**
|
|
7335
|
-
*
|
|
7335
|
+
* Status of the agent
|
|
7336
7336
|
* @type {string}
|
|
7337
7337
|
* @memberof ConversationWebchatQueueStatusUpdateRequest
|
|
7338
7338
|
*/
|
|
7339
|
-
agent_status?:
|
|
7339
|
+
agent_status?: ConversationWebchatQueueStatusUpdateRequest.AgentStatusEnum;
|
|
7340
|
+
}
|
|
7341
|
+
|
|
7342
|
+
/**
|
|
7343
|
+
* @export
|
|
7344
|
+
* @namespace ConversationWebchatQueueStatusUpdateRequest
|
|
7345
|
+
*/
|
|
7346
|
+
export namespace ConversationWebchatQueueStatusUpdateRequest {
|
|
7347
|
+
/**
|
|
7348
|
+
* @export
|
|
7349
|
+
* @enum {string}
|
|
7350
|
+
*/
|
|
7351
|
+
export enum AgentStatusEnum {
|
|
7352
|
+
Available = <any> 'available',
|
|
7353
|
+
Busy = <any> 'busy',
|
|
7354
|
+
Unavailable = <any> 'unavailable'
|
|
7355
|
+
}
|
|
7340
7356
|
}
|
|
7341
7357
|
|
|
7342
7358
|
/**
|
|
@@ -35172,6 +35188,12 @@ export interface Webhook {
|
|
|
35172
35188
|
* @memberof Webhook
|
|
35173
35189
|
*/
|
|
35174
35190
|
basic_username?: string;
|
|
35191
|
+
/**
|
|
35192
|
+
* Compress events with GZIP then base 64 encode them as a string
|
|
35193
|
+
* @type {boolean}
|
|
35194
|
+
* @memberof Webhook
|
|
35195
|
+
*/
|
|
35196
|
+
compress_events?: boolean;
|
|
35175
35197
|
/**
|
|
35176
35198
|
* The number of consecutive failures that have occurred trying to deliver notifications to the target server
|
|
35177
35199
|
* @type {number}
|
package/dist/api.d.ts
CHANGED
|
@@ -7158,11 +7158,26 @@ export interface ConversationWebchatQueueStatusQueueEntry {
|
|
|
7158
7158
|
*/
|
|
7159
7159
|
export interface ConversationWebchatQueueStatusUpdateRequest {
|
|
7160
7160
|
/**
|
|
7161
|
-
*
|
|
7161
|
+
* Status of the agent
|
|
7162
7162
|
* @type {string}
|
|
7163
7163
|
* @memberof ConversationWebchatQueueStatusUpdateRequest
|
|
7164
7164
|
*/
|
|
7165
|
-
agent_status?:
|
|
7165
|
+
agent_status?: ConversationWebchatQueueStatusUpdateRequest.AgentStatusEnum;
|
|
7166
|
+
}
|
|
7167
|
+
/**
|
|
7168
|
+
* @export
|
|
7169
|
+
* @namespace ConversationWebchatQueueStatusUpdateRequest
|
|
7170
|
+
*/
|
|
7171
|
+
export declare namespace ConversationWebchatQueueStatusUpdateRequest {
|
|
7172
|
+
/**
|
|
7173
|
+
* @export
|
|
7174
|
+
* @enum {string}
|
|
7175
|
+
*/
|
|
7176
|
+
enum AgentStatusEnum {
|
|
7177
|
+
Available,
|
|
7178
|
+
Busy,
|
|
7179
|
+
Unavailable
|
|
7180
|
+
}
|
|
7166
7181
|
}
|
|
7167
7182
|
/**
|
|
7168
7183
|
*
|
|
@@ -34437,6 +34452,12 @@ export interface Webhook {
|
|
|
34437
34452
|
* @memberof Webhook
|
|
34438
34453
|
*/
|
|
34439
34454
|
basic_username?: string;
|
|
34455
|
+
/**
|
|
34456
|
+
* Compress events with GZIP then base 64 encode them as a string
|
|
34457
|
+
* @type {boolean}
|
|
34458
|
+
* @memberof Webhook
|
|
34459
|
+
*/
|
|
34460
|
+
compress_events?: boolean;
|
|
34440
34461
|
/**
|
|
34441
34462
|
* The number of consecutive failures that have occurred trying to deliver notifications to the target server
|
|
34442
34463
|
* @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
|