ultracart_rest_api_v2_typescript 3.10.61 → 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 +4 -2
- package/api.ts +33 -4
- package/dist/api.d.ts +32 -4
- package/dist/api.js +21 -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,8 @@ 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 |
|
|
58
|
+
| 3.10.62 | 11/09/2022 | conversations - add an enum of event typing |
|
|
57
59
|
| 3.10.61 | 11/04/2022 | new coupon type percent based on msrp |
|
|
58
60
|
| 3.10.60 | 10/31/2022 | communication bug fix on dup annonation |
|
|
59
61
|
| 3.10.59 | 10/31/2022 | communications - addl statistics on EmailStepStat object |
|
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
|
/**
|
|
@@ -7488,7 +7504,8 @@ export namespace ConversationWebsocketMessage {
|
|
|
7488
7504
|
QueueStatusUpdate = <any> 'queue status update',
|
|
7489
7505
|
Rrweb = <any> 'rrweb',
|
|
7490
7506
|
ParticipantUpdate = <any> 'participant update',
|
|
7491
|
-
ReadMessage = <any> 'read message'
|
|
7507
|
+
ReadMessage = <any> 'read message',
|
|
7508
|
+
Typing = <any> 'typing'
|
|
7492
7509
|
}
|
|
7493
7510
|
/**
|
|
7494
7511
|
* @export
|
|
@@ -22146,7 +22163,13 @@ export interface ItemFulfillmentAddon {
|
|
|
22146
22163
|
*/
|
|
22147
22164
|
add_item_oid?: number;
|
|
22148
22165
|
/**
|
|
22149
|
-
*
|
|
22166
|
+
* Initial Order Only
|
|
22167
|
+
* @type {boolean}
|
|
22168
|
+
* @memberof ItemFulfillmentAddon
|
|
22169
|
+
*/
|
|
22170
|
+
initial_order_only?: boolean;
|
|
22171
|
+
/**
|
|
22172
|
+
* Once Per Order
|
|
22150
22173
|
* @type {boolean}
|
|
22151
22174
|
* @memberof ItemFulfillmentAddon
|
|
22152
22175
|
*/
|
|
@@ -35165,6 +35188,12 @@ export interface Webhook {
|
|
|
35165
35188
|
* @memberof Webhook
|
|
35166
35189
|
*/
|
|
35167
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;
|
|
35168
35197
|
/**
|
|
35169
35198
|
* The number of consecutive failures that have occurred trying to deliver notifications to the target server
|
|
35170
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
|
*
|
|
@@ -7311,7 +7326,8 @@ export declare namespace ConversationWebsocketMessage {
|
|
|
7311
7326
|
QueueStatusUpdate,
|
|
7312
7327
|
Rrweb,
|
|
7313
7328
|
ParticipantUpdate,
|
|
7314
|
-
ReadMessage
|
|
7329
|
+
ReadMessage,
|
|
7330
|
+
Typing
|
|
7315
7331
|
}
|
|
7316
7332
|
/**
|
|
7317
7333
|
* @export
|
|
@@ -21678,7 +21694,13 @@ export interface ItemFulfillmentAddon {
|
|
|
21678
21694
|
*/
|
|
21679
21695
|
add_item_oid?: number;
|
|
21680
21696
|
/**
|
|
21681
|
-
*
|
|
21697
|
+
* Initial Order Only
|
|
21698
|
+
* @type {boolean}
|
|
21699
|
+
* @memberof ItemFulfillmentAddon
|
|
21700
|
+
*/
|
|
21701
|
+
initial_order_only?: boolean;
|
|
21702
|
+
/**
|
|
21703
|
+
* Once Per Order
|
|
21682
21704
|
* @type {boolean}
|
|
21683
21705
|
* @memberof ItemFulfillmentAddon
|
|
21684
21706
|
*/
|
|
@@ -34430,6 +34452,12 @@ export interface Webhook {
|
|
|
34430
34452
|
* @memberof Webhook
|
|
34431
34453
|
*/
|
|
34432
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;
|
|
34433
34461
|
/**
|
|
34434
34462
|
* The number of consecutive failures that have occurred trying to deliver notifications to the target server
|
|
34435
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
|
|
@@ -487,6 +504,7 @@ var ConversationWebsocketMessage;
|
|
|
487
504
|
EventTypeEnum[EventTypeEnum["Rrweb"] = 'rrweb'] = "Rrweb";
|
|
488
505
|
EventTypeEnum[EventTypeEnum["ParticipantUpdate"] = 'participant update'] = "ParticipantUpdate";
|
|
489
506
|
EventTypeEnum[EventTypeEnum["ReadMessage"] = 'read message'] = "ReadMessage";
|
|
507
|
+
EventTypeEnum[EventTypeEnum["Typing"] = 'typing'] = "Typing";
|
|
490
508
|
})(EventTypeEnum = ConversationWebsocketMessage.EventTypeEnum || (ConversationWebsocketMessage.EventTypeEnum = {}));
|
|
491
509
|
/**
|
|
492
510
|
* @export
|