ultracart_rest_api_v2_typescript 4.0.82-RC → 4.0.84-RC

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.
Files changed (87) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +4 -2
  3. package/dist/apis/AffiliateApi.js +1 -1
  4. package/dist/apis/AutoOrderApi.js +1 -1
  5. package/dist/apis/ChannelPartnerApi.js +1 -1
  6. package/dist/apis/ChargebackApi.js +1 -1
  7. package/dist/apis/CheckoutApi.js +1 -1
  8. package/dist/apis/ConversationApi.js +1 -1
  9. package/dist/apis/CouponApi.js +1 -1
  10. package/dist/apis/CustomerApi.js +1 -1
  11. package/dist/apis/FulfillmentApi.js +1 -1
  12. package/dist/apis/GiftCertificateApi.js +1 -1
  13. package/dist/apis/IntegrationLogApi.js +1 -1
  14. package/dist/apis/ItemApi.js +1 -1
  15. package/dist/apis/OauthApi.js +1 -1
  16. package/dist/apis/OrderApi.js +1 -1
  17. package/dist/apis/SsoApi.js +1 -1
  18. package/dist/apis/StorefrontApi.js +1 -1
  19. package/dist/apis/TaxApi.js +1 -1
  20. package/dist/apis/UserApi.js +1 -1
  21. package/dist/apis/WebhookApi.js +1 -1
  22. package/dist/models/AffiliateLedger.d.ts +1 -1
  23. package/dist/models/AffiliateLink.d.ts +3 -3
  24. package/dist/models/AutoOrder.d.ts +1 -1
  25. package/dist/models/AutoOrderItem.d.ts +1 -1
  26. package/dist/models/AutoOrderItemSimpleSchedule.d.ts +1 -1
  27. package/dist/models/CartCustomerProfileCreditCard.d.ts +1 -1
  28. package/dist/models/CartItemMultimedia.d.ts +1 -1
  29. package/dist/models/CartItemOption.d.ts +1 -1
  30. package/dist/models/CartKitComponentOption.d.ts +1 -1
  31. package/dist/models/ChannelPartnerOrder.d.ts +1 -1
  32. package/dist/models/ChannelPartnerOrderItem.d.ts +1 -1
  33. package/dist/models/CheckoutHandoffRequest.d.ts +1 -1
  34. package/dist/models/Conversation.d.ts +1 -1
  35. package/dist/models/ConversationEventAddCoupon.d.ts +27 -0
  36. package/dist/models/ConversationEventAddCoupon.js +42 -0
  37. package/dist/models/ConversationEventAddItem.d.ts +27 -0
  38. package/dist/models/ConversationEventAddItem.js +42 -0
  39. package/dist/models/ConversationEventRRWeb.d.ts +1 -1
  40. package/dist/models/ConversationMessage.d.ts +1 -1
  41. package/dist/models/ConversationMessageTransportStatus.d.ts +1 -1
  42. package/dist/models/ConversationSummary.d.ts +1 -1
  43. package/dist/models/ConversationWebchatQueueStatusAgent.d.ts +1 -1
  44. package/dist/models/ConversationWebchatQueueStatusUpdateRequest.d.ts +1 -1
  45. package/dist/models/ConversationWebsocketMessage.d.ts +18 -2
  46. package/dist/models/ConversationWebsocketMessage.js +9 -1
  47. package/dist/models/Distance.d.ts +1 -1
  48. package/dist/models/EmailCommseqStep.d.ts +1 -1
  49. package/dist/models/EmailPerformance.d.ts +1 -1
  50. package/dist/models/Experiment.d.ts +1 -1
  51. package/dist/models/ItemAutoOrderStep.d.ts +1 -1
  52. package/dist/models/ItemContentMultimedia.d.ts +1 -1
  53. package/dist/models/ItemOption.d.ts +1 -1
  54. package/dist/models/ItemOptionValue.d.ts +1 -1
  55. package/dist/models/ItemRelatedItem.d.ts +1 -1
  56. package/dist/models/ItemRestrictionItem.d.ts +1 -1
  57. package/dist/models/ItemShippingDestinationRestriction.d.ts +1 -1
  58. package/dist/models/ItemShippingMethod.d.ts +1 -1
  59. package/dist/models/ItemTag.d.ts +1 -1
  60. package/dist/models/ItemTax.d.ts +1 -1
  61. package/dist/models/ItemThirdPartyEmailMarketing.d.ts +1 -1
  62. package/dist/models/OauthTokenResponse.d.ts +1 -1
  63. package/dist/models/Order.d.ts +1 -1
  64. package/dist/models/OrderAffiliateLedger.d.ts +1 -1
  65. package/dist/models/OrderAutoOrder.d.ts +1 -1
  66. package/dist/models/OrderFormat.d.ts +1 -1
  67. package/dist/models/OrderFraudScore.d.ts +1 -1
  68. package/dist/models/OrderItem.d.ts +1 -1
  69. package/dist/models/OrderItemOption.d.ts +1 -1
  70. package/dist/models/OrderPayment.d.ts +2 -2
  71. package/dist/models/OrderPaymentCreditCard.d.ts +1 -1
  72. package/dist/models/OrderPaymentECheck.d.ts +2 -2
  73. package/dist/models/OrderQuery.d.ts +2 -2
  74. package/dist/models/OrderRefundableResponse.d.ts +1 -1
  75. package/dist/models/TempMultimedia.d.ts +1 -1
  76. package/dist/models/Webhook.d.ts +2 -2
  77. package/dist/models/Weight.d.ts +1 -1
  78. package/dist/models/index.d.ts +2 -0
  79. package/dist/models/index.js +2 -0
  80. package/dist/runtime.d.ts +9 -9
  81. package/dist/runtime.js +1 -1
  82. package/package.json +1 -1
  83. package/src/models/ConversationEventAddCoupon.ts +56 -0
  84. package/src/models/ConversationEventAddItem.ts +56 -0
  85. package/src/models/ConversationWebsocketMessage.ts +31 -1
  86. package/src/models/OrderRefundableResponse.ts +1 -1
  87. package/src/models/index.ts +2 -0
@@ -143,6 +143,8 @@ src/models/CityStateZip.ts
143
143
  src/models/Conversation.ts
144
144
  src/models/ConversationAgentAuth.ts
145
145
  src/models/ConversationAgentAuthResponse.ts
146
+ src/models/ConversationEventAddCoupon.ts
147
+ src/models/ConversationEventAddItem.ts
146
148
  src/models/ConversationEventQueuePosition.ts
147
149
  src/models/ConversationEventRRWeb.ts
148
150
  src/models/ConversationEventReadMessage.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@4.0.82-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.84-RC
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@4.0.82-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.84-RC --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
+ | 4.0.84-RC | 11/15/2022 | conversation methods bug fix |
58
+ | 4.0.83-RC | 11/15/2022 | conversations - enw events for add coupon and items |
57
59
  | 4.0.82-RC | 11/15/2022 | order api new method is order refundable |
58
60
  | 4.0.81-RC | 11/15/2022 | increase order property length to 10k char |
59
61
  | 4.0.80-RC | 11/14/2022 | conversations - add allowed values for update agent status |
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -42,7 +42,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
42
42
  function verb(n) { return function (v) { return step([n, v]); }; }
43
43
  function step(op) {
44
44
  if (f) throw new TypeError("Generator is already executing.");
45
- while (_) try {
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
46
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
47
  if (y = 0, t) op = [op[0] & 2, t.value];
48
48
  switch (op[0]) {
@@ -144,7 +144,7 @@ export declare const AffiliateLedgerTransactionStateEnum: {
144
144
  readonly Rejected: "Rejected";
145
145
  readonly PartiallyPaid: "Partially Paid";
146
146
  };
147
- export declare type AffiliateLedgerTransactionStateEnum = typeof AffiliateLedgerTransactionStateEnum[keyof typeof AffiliateLedgerTransactionStateEnum];
147
+ export type AffiliateLedgerTransactionStateEnum = typeof AffiliateLedgerTransactionStateEnum[keyof typeof AffiliateLedgerTransactionStateEnum];
148
148
  export declare function AffiliateLedgerFromJSON(json: any): AffiliateLedger;
149
149
  export declare function AffiliateLedgerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AffiliateLedger;
150
150
  export declare function AffiliateLedgerToJSON(value?: AffiliateLedger | null): any;
@@ -108,7 +108,7 @@ export declare const AffiliateLinkCustomHtmlApprovalStatusEnum: {
108
108
  readonly Approved: "Approved";
109
109
  readonly Rejected: "Rejected";
110
110
  };
111
- export declare type AffiliateLinkCustomHtmlApprovalStatusEnum = typeof AffiliateLinkCustomHtmlApprovalStatusEnum[keyof typeof AffiliateLinkCustomHtmlApprovalStatusEnum];
111
+ export type AffiliateLinkCustomHtmlApprovalStatusEnum = typeof AffiliateLinkCustomHtmlApprovalStatusEnum[keyof typeof AffiliateLinkCustomHtmlApprovalStatusEnum];
112
112
  /**
113
113
  * @export
114
114
  */
@@ -117,7 +117,7 @@ export declare const AffiliateLinkInvisibleLinkApprovalStatusEnum: {
117
117
  readonly Approved: "Approved";
118
118
  readonly Rejected: "Rejected";
119
119
  };
120
- export declare type AffiliateLinkInvisibleLinkApprovalStatusEnum = typeof AffiliateLinkInvisibleLinkApprovalStatusEnum[keyof typeof AffiliateLinkInvisibleLinkApprovalStatusEnum];
120
+ export type AffiliateLinkInvisibleLinkApprovalStatusEnum = typeof AffiliateLinkInvisibleLinkApprovalStatusEnum[keyof typeof AffiliateLinkInvisibleLinkApprovalStatusEnum];
121
121
  /**
122
122
  * @export
123
123
  */
@@ -127,7 +127,7 @@ export declare const AffiliateLinkTypeEnum: {
127
127
  readonly Invisible: "invisible";
128
128
  readonly Direct: "direct";
129
129
  };
130
- export declare type AffiliateLinkTypeEnum = typeof AffiliateLinkTypeEnum[keyof typeof AffiliateLinkTypeEnum];
130
+ export type AffiliateLinkTypeEnum = typeof AffiliateLinkTypeEnum[keyof typeof AffiliateLinkTypeEnum];
131
131
  export declare function AffiliateLinkFromJSON(json: any): AffiliateLink;
132
132
  export declare function AffiliateLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): AffiliateLink;
133
133
  export declare function AffiliateLinkToJSON(value?: AffiliateLink | null): any;
@@ -166,7 +166,7 @@ export declare const AutoOrderStatusEnum: {
166
166
  readonly Canceled: "canceled";
167
167
  readonly Disabled: "disabled";
168
168
  };
169
- export declare type AutoOrderStatusEnum = typeof AutoOrderStatusEnum[keyof typeof AutoOrderStatusEnum];
169
+ export type AutoOrderStatusEnum = typeof AutoOrderStatusEnum[keyof typeof AutoOrderStatusEnum];
170
170
  export declare function AutoOrderFromJSON(json: any): AutoOrder;
171
171
  export declare function AutoOrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutoOrder;
172
172
  export declare function AutoOrderToJSON(value?: AutoOrder | null): any;
@@ -181,7 +181,7 @@ export declare const AutoOrderItemFrequencyEnum: {
181
181
  readonly Every6Months: "Every 6 Months";
182
182
  readonly Yearly: "Yearly";
183
183
  };
184
- export declare type AutoOrderItemFrequencyEnum = typeof AutoOrderItemFrequencyEnum[keyof typeof AutoOrderItemFrequencyEnum];
184
+ export type AutoOrderItemFrequencyEnum = typeof AutoOrderItemFrequencyEnum[keyof typeof AutoOrderItemFrequencyEnum];
185
185
  export declare function AutoOrderItemFromJSON(json: any): AutoOrderItem;
186
186
  export declare function AutoOrderItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutoOrderItem;
187
187
  export declare function AutoOrderItemToJSON(value?: AutoOrderItem | null): any;
@@ -52,7 +52,7 @@ export declare const AutoOrderItemSimpleScheduleFrequencyEnum: {
52
52
  readonly Every6Months: "Every 6 Months";
53
53
  readonly Yearly: "Yearly";
54
54
  };
55
- export declare type AutoOrderItemSimpleScheduleFrequencyEnum = typeof AutoOrderItemSimpleScheduleFrequencyEnum[keyof typeof AutoOrderItemSimpleScheduleFrequencyEnum];
55
+ export type AutoOrderItemSimpleScheduleFrequencyEnum = typeof AutoOrderItemSimpleScheduleFrequencyEnum[keyof typeof AutoOrderItemSimpleScheduleFrequencyEnum];
56
56
  export declare function AutoOrderItemSimpleScheduleFromJSON(json: any): AutoOrderItemSimpleSchedule;
57
57
  export declare function AutoOrderItemSimpleScheduleFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutoOrderItemSimpleSchedule;
58
58
  export declare function AutoOrderItemSimpleScheduleToJSON(value?: AutoOrderItemSimpleSchedule | null): any;
@@ -63,7 +63,7 @@ export declare const CartCustomerProfileCreditCardCardTypeEnum: {
63
63
  readonly Jcb: "JCB";
64
64
  readonly Visa: "VISA";
65
65
  };
66
- export declare type CartCustomerProfileCreditCardCardTypeEnum = typeof CartCustomerProfileCreditCardCardTypeEnum[keyof typeof CartCustomerProfileCreditCardCardTypeEnum];
66
+ export type CartCustomerProfileCreditCardCardTypeEnum = typeof CartCustomerProfileCreditCardCardTypeEnum[keyof typeof CartCustomerProfileCreditCardCardTypeEnum];
67
67
  export declare function CartCustomerProfileCreditCardFromJSON(json: any): CartCustomerProfileCreditCard;
68
68
  export declare function CartCustomerProfileCreditCardFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartCustomerProfileCreditCard;
69
69
  export declare function CartCustomerProfileCreditCardToJSON(value?: CartCustomerProfileCreditCard | null): any;
@@ -81,7 +81,7 @@ export declare const CartItemMultimediaTypeEnum: {
81
81
  readonly Unknown: "Unknown";
82
82
  readonly Video: "Video";
83
83
  };
84
- export declare type CartItemMultimediaTypeEnum = typeof CartItemMultimediaTypeEnum[keyof typeof CartItemMultimediaTypeEnum];
84
+ export type CartItemMultimediaTypeEnum = typeof CartItemMultimediaTypeEnum[keyof typeof CartItemMultimediaTypeEnum];
85
85
  export declare function CartItemMultimediaFromJSON(json: any): CartItemMultimedia;
86
86
  export declare function CartItemMultimediaFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartItemMultimedia;
87
87
  export declare function CartItemMultimediaToJSON(value?: CartItemMultimedia | null): any;
@@ -101,7 +101,7 @@ export declare const CartItemOptionTypeEnum: {
101
101
  readonly Radio: "radio";
102
102
  readonly Fixed: "fixed";
103
103
  };
104
- export declare type CartItemOptionTypeEnum = typeof CartItemOptionTypeEnum[keyof typeof CartItemOptionTypeEnum];
104
+ export type CartItemOptionTypeEnum = typeof CartItemOptionTypeEnum[keyof typeof CartItemOptionTypeEnum];
105
105
  export declare function CartItemOptionFromJSON(json: any): CartItemOption;
106
106
  export declare function CartItemOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartItemOption;
107
107
  export declare function CartItemOptionToJSON(value?: CartItemOption | null): any;
@@ -113,7 +113,7 @@ export declare const CartKitComponentOptionTypeEnum: {
113
113
  readonly Radio: "radio";
114
114
  readonly Fixed: "fixed";
115
115
  };
116
- export declare type CartKitComponentOptionTypeEnum = typeof CartKitComponentOptionTypeEnum[keyof typeof CartKitComponentOptionTypeEnum];
116
+ export type CartKitComponentOptionTypeEnum = typeof CartKitComponentOptionTypeEnum[keyof typeof CartKitComponentOptionTypeEnum];
117
117
  export declare function CartKitComponentOptionFromJSON(json: any): CartKitComponentOption;
118
118
  export declare function CartKitComponentOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartKitComponentOption;
119
119
  export declare function CartKitComponentOptionToJSON(value?: CartKitComponentOption | null): any;
@@ -514,7 +514,7 @@ export declare const ChannelPartnerOrderPaymentMethodEnum: {
514
514
  readonly QuoteRequest: "Quote Request";
515
515
  readonly WireTransfer: "Wire Transfer";
516
516
  };
517
- export declare type ChannelPartnerOrderPaymentMethodEnum = typeof ChannelPartnerOrderPaymentMethodEnum[keyof typeof ChannelPartnerOrderPaymentMethodEnum];
517
+ export type ChannelPartnerOrderPaymentMethodEnum = typeof ChannelPartnerOrderPaymentMethodEnum[keyof typeof ChannelPartnerOrderPaymentMethodEnum];
518
518
  export declare function ChannelPartnerOrderFromJSON(json: any): ChannelPartnerOrder;
519
519
  export declare function ChannelPartnerOrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChannelPartnerOrder;
520
520
  export declare function ChannelPartnerOrderToJSON(value?: ChannelPartnerOrder | null): any;
@@ -76,7 +76,7 @@ export declare const ChannelPartnerOrderItemAutoOrderScheduleEnum: {
76
76
  readonly Every6Months: "Every 6 Months";
77
77
  readonly Yearly: "Yearly";
78
78
  };
79
- export declare type ChannelPartnerOrderItemAutoOrderScheduleEnum = typeof ChannelPartnerOrderItemAutoOrderScheduleEnum[keyof typeof ChannelPartnerOrderItemAutoOrderScheduleEnum];
79
+ export type ChannelPartnerOrderItemAutoOrderScheduleEnum = typeof ChannelPartnerOrderItemAutoOrderScheduleEnum[keyof typeof ChannelPartnerOrderItemAutoOrderScheduleEnum];
80
80
  export declare function ChannelPartnerOrderItemFromJSON(json: any): ChannelPartnerOrderItem;
81
81
  export declare function ChannelPartnerOrderItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChannelPartnerOrderItem;
82
82
  export declare function ChannelPartnerOrderItemToJSON(value?: ChannelPartnerOrderItem | null): any;
@@ -76,7 +76,7 @@ export declare const CheckoutHandoffRequestOperationEnum: {
76
76
  readonly Affirm: "affirm";
77
77
  readonly Sezzle: "sezzle";
78
78
  };
79
- export declare type CheckoutHandoffRequestOperationEnum = typeof CheckoutHandoffRequestOperationEnum[keyof typeof CheckoutHandoffRequestOperationEnum];
79
+ export type CheckoutHandoffRequestOperationEnum = typeof CheckoutHandoffRequestOperationEnum[keyof typeof CheckoutHandoffRequestOperationEnum];
80
80
  export declare function CheckoutHandoffRequestFromJSON(json: any): CheckoutHandoffRequest;
81
81
  export declare function CheckoutHandoffRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutHandoffRequest;
82
82
  export declare function CheckoutHandoffRequestToJSON(value?: CheckoutHandoffRequest | null): any;
@@ -127,7 +127,7 @@ export declare const ConversationMediumEnum: {
127
127
  readonly Sms: "sms";
128
128
  readonly Websocket: "websocket";
129
129
  };
130
- export declare type ConversationMediumEnum = typeof ConversationMediumEnum[keyof typeof ConversationMediumEnum];
130
+ export type ConversationMediumEnum = typeof ConversationMediumEnum[keyof typeof ConversationMediumEnum];
131
131
  export declare function ConversationFromJSON(json: any): Conversation;
132
132
  export declare function ConversationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Conversation;
133
133
  export declare function ConversationToJSON(value?: Conversation | null): any;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * UltraCart Rest API V2
3
+ * UltraCart REST API Version 2
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: support@ultracart.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ConversationEventAddCoupon
16
+ */
17
+ export interface ConversationEventAddCoupon {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ConversationEventAddCoupon
22
+ */
23
+ coupon_code?: string;
24
+ }
25
+ export declare function ConversationEventAddCouponFromJSON(json: any): ConversationEventAddCoupon;
26
+ export declare function ConversationEventAddCouponFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationEventAddCoupon;
27
+ export declare function ConversationEventAddCouponToJSON(value?: ConversationEventAddCoupon | null): any;
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * UltraCart Rest API V2
6
+ * UltraCart REST API Version 2
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ * Contact: support@ultracart.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ConversationEventAddCouponToJSON = exports.ConversationEventAddCouponFromJSONTyped = exports.ConversationEventAddCouponFromJSON = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ function ConversationEventAddCouponFromJSON(json) {
19
+ return ConversationEventAddCouponFromJSONTyped(json, false);
20
+ }
21
+ exports.ConversationEventAddCouponFromJSON = ConversationEventAddCouponFromJSON;
22
+ function ConversationEventAddCouponFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return {
27
+ 'coupon_code': !(0, runtime_1.exists)(json, 'coupon_code') ? undefined : json['coupon_code'],
28
+ };
29
+ }
30
+ exports.ConversationEventAddCouponFromJSONTyped = ConversationEventAddCouponFromJSONTyped;
31
+ function ConversationEventAddCouponToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'coupon_code': value.coupon_code,
40
+ };
41
+ }
42
+ exports.ConversationEventAddCouponToJSON = ConversationEventAddCouponToJSON;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * UltraCart Rest API V2
3
+ * UltraCart REST API Version 2
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: support@ultracart.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ConversationEventAddItem
16
+ */
17
+ export interface ConversationEventAddItem {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ConversationEventAddItem
22
+ */
23
+ item_id?: string;
24
+ }
25
+ export declare function ConversationEventAddItemFromJSON(json: any): ConversationEventAddItem;
26
+ export declare function ConversationEventAddItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationEventAddItem;
27
+ export declare function ConversationEventAddItemToJSON(value?: ConversationEventAddItem | null): any;
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * UltraCart Rest API V2
6
+ * UltraCart REST API Version 2
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ * Contact: support@ultracart.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ConversationEventAddItemToJSON = exports.ConversationEventAddItemFromJSONTyped = exports.ConversationEventAddItemFromJSON = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ function ConversationEventAddItemFromJSON(json) {
19
+ return ConversationEventAddItemFromJSONTyped(json, false);
20
+ }
21
+ exports.ConversationEventAddItemFromJSON = ConversationEventAddItemFromJSON;
22
+ function ConversationEventAddItemFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return {
27
+ 'item_id': !(0, runtime_1.exists)(json, 'item_id') ? undefined : json['item_id'],
28
+ };
29
+ }
30
+ exports.ConversationEventAddItemFromJSONTyped = ConversationEventAddItemFromJSONTyped;
31
+ function ConversationEventAddItemToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'item_id': value.item_id,
40
+ };
41
+ }
42
+ exports.ConversationEventAddItemToJSON = ConversationEventAddItemToJSON;
@@ -65,7 +65,7 @@ export declare const ConversationEventRRWebTypeEnum: {
65
65
  readonly Init: "init";
66
66
  readonly Events: "events";
67
67
  };
68
- export declare type ConversationEventRRWebTypeEnum = typeof ConversationEventRRWebTypeEnum[keyof typeof ConversationEventRRWebTypeEnum];
68
+ export type ConversationEventRRWebTypeEnum = typeof ConversationEventRRWebTypeEnum[keyof typeof ConversationEventRRWebTypeEnum];
69
69
  export declare function ConversationEventRRWebFromJSON(json: any): ConversationEventRRWeb;
70
70
  export declare function ConversationEventRRWebFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationEventRRWeb;
71
71
  export declare function ConversationEventRRWebToJSON(value?: ConversationEventRRWeb | null): any;
@@ -96,7 +96,7 @@ export declare const ConversationMessageTypeEnum: {
96
96
  readonly Message: "message";
97
97
  readonly Notice: "notice";
98
98
  };
99
- export declare type ConversationMessageTypeEnum = typeof ConversationMessageTypeEnum[keyof typeof ConversationMessageTypeEnum];
99
+ export type ConversationMessageTypeEnum = typeof ConversationMessageTypeEnum[keyof typeof ConversationMessageTypeEnum];
100
100
  export declare function ConversationMessageFromJSON(json: any): ConversationMessage;
101
101
  export declare function ConversationMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationMessage;
102
102
  export declare function ConversationMessageToJSON(value?: ConversationMessage | null): any;
@@ -44,7 +44,7 @@ export declare const ConversationMessageTransportStatusStatusEnum: {
44
44
  readonly SentToPinpoint: "SENT_TO_PINPOINT";
45
45
  readonly PinpointError: "PINPOINT_ERROR";
46
46
  };
47
- export declare type ConversationMessageTransportStatusStatusEnum = typeof ConversationMessageTransportStatusStatusEnum[keyof typeof ConversationMessageTransportStatusStatusEnum];
47
+ export type ConversationMessageTransportStatusStatusEnum = typeof ConversationMessageTransportStatusStatusEnum[keyof typeof ConversationMessageTransportStatusStatusEnum];
48
48
  export declare function ConversationMessageTransportStatusFromJSON(json: any): ConversationMessageTransportStatus;
49
49
  export declare function ConversationMessageTransportStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationMessageTransportStatus;
50
50
  export declare function ConversationMessageTransportStatusToJSON(value?: ConversationMessageTransportStatus | null): any;
@@ -114,7 +114,7 @@ export declare const ConversationSummaryMediumEnum: {
114
114
  readonly Sms: "sms";
115
115
  readonly Websocket: "websocket";
116
116
  };
117
- export declare type ConversationSummaryMediumEnum = typeof ConversationSummaryMediumEnum[keyof typeof ConversationSummaryMediumEnum];
117
+ export type ConversationSummaryMediumEnum = typeof ConversationSummaryMediumEnum[keyof typeof ConversationSummaryMediumEnum];
118
118
  export declare function ConversationSummaryFromJSON(json: any): ConversationSummary;
119
119
  export declare function ConversationSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationSummary;
120
120
  export declare function ConversationSummaryToJSON(value?: ConversationSummary | null): any;
@@ -60,7 +60,7 @@ export declare const ConversationWebchatQueueStatusAgentAgentStatusEnum: {
60
60
  readonly Busy: "busy";
61
61
  readonly Unavailable: "unavailable";
62
62
  };
63
- export declare type ConversationWebchatQueueStatusAgentAgentStatusEnum = typeof ConversationWebchatQueueStatusAgentAgentStatusEnum[keyof typeof ConversationWebchatQueueStatusAgentAgentStatusEnum];
63
+ export type ConversationWebchatQueueStatusAgentAgentStatusEnum = typeof ConversationWebchatQueueStatusAgentAgentStatusEnum[keyof typeof ConversationWebchatQueueStatusAgentAgentStatusEnum];
64
64
  export declare function ConversationWebchatQueueStatusAgentFromJSON(json: any): ConversationWebchatQueueStatusAgent;
65
65
  export declare function ConversationWebchatQueueStatusAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationWebchatQueueStatusAgent;
66
66
  export declare function ConversationWebchatQueueStatusAgentToJSON(value?: ConversationWebchatQueueStatusAgent | null): any;
@@ -30,7 +30,7 @@ export declare const ConversationWebchatQueueStatusUpdateRequestAgentStatusEnum:
30
30
  readonly Busy: "busy";
31
31
  readonly Unavailable: "unavailable";
32
32
  };
33
- export declare type ConversationWebchatQueueStatusUpdateRequestAgentStatusEnum = typeof ConversationWebchatQueueStatusUpdateRequestAgentStatusEnum[keyof typeof ConversationWebchatQueueStatusUpdateRequestAgentStatusEnum];
33
+ export type ConversationWebchatQueueStatusUpdateRequestAgentStatusEnum = typeof ConversationWebchatQueueStatusUpdateRequestAgentStatusEnum[keyof typeof ConversationWebchatQueueStatusUpdateRequestAgentStatusEnum];
34
34
  export declare function ConversationWebchatQueueStatusUpdateRequestFromJSON(json: any): ConversationWebchatQueueStatusUpdateRequest;
35
35
  export declare function ConversationWebchatQueueStatusUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationWebchatQueueStatusUpdateRequest;
36
36
  export declare function ConversationWebchatQueueStatusUpdateRequestToJSON(value?: ConversationWebchatQueueStatusUpdateRequest | null): any;