@arrowsphere/api-client 3.401.0 → 3.402.0-rc-cpe-1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [3.401.1] - 2026.09.14
7
+ ### Fixed
8
+ - [Campaign] fix banner type
9
+ - [Campaign] fix pop up break change
10
+
6
11
  ## [3.401.0] - 2026.09.10
7
12
  ### Added
8
13
  - [monitoring] Add Alert endpoints
@@ -17,7 +17,8 @@ export declare type PostEmailCampaignType = {
17
17
  [PostEmailCampaignFields.COLUMN_METADATA]: PostEmailCampaignMetadataType;
18
18
  };
19
19
  export declare enum CampaignInputFields {
20
- COLUMN_BANNER = "campaignBanner",
20
+ COLUMN_BANNER = "banner",
21
+ COLUMN_CAMPAIGN_BANNER = "campaignBanner",
21
22
  COLUMN_CATEGORY = "category",
22
23
  COLUMN_END_DATE = "endDate",
23
24
  COLUMN_IS_ACTIVATED = "isActivated",
@@ -171,7 +172,8 @@ export declare type LandingPageInputType = {
171
172
  };
172
173
  export declare enum CampaignCategoryList {
173
174
  COMMUNICATION_BAR = "COMMUNICATIONBAR",
174
- BANNER = "CAMPAIGNBANNER",
175
+ BANNER = "BANNER",
176
+ CAMPAIGN_BANNER = "CAMPAIGNBANNER",
175
177
  BUG = "BUG",
176
178
  LANDING_PAGE = "LANDINGPAGE",
177
179
  NOTIFICATION = "NOTIFICATION",
@@ -179,7 +181,8 @@ export declare enum CampaignCategoryList {
179
181
  RELEASE = "RELEASE"
180
182
  }
181
183
  export declare type CampaignInputType = {
182
- [CampaignInputFields.COLUMN_BANNER]?: CampaignBannerType;
184
+ [CampaignInputFields.COLUMN_BANNER]?: BannerInputType;
185
+ [CampaignInputFields.COLUMN_CAMPAIGN_BANNER]?: CampaignBannerType;
183
186
  [CampaignInputFields.COLUMN_CATEGORY]?: CampaignCategoryList;
184
187
  [CampaignInputFields.COLUMN_END_DATE]?: string;
185
188
  [CampaignInputFields.COLUMN_IS_ACTIVATED]?: boolean;
@@ -16,7 +16,8 @@ var PostEmailCampaignFields;
16
16
  })(PostEmailCampaignFields = exports.PostEmailCampaignFields || (exports.PostEmailCampaignFields = {}));
17
17
  var CampaignInputFields;
18
18
  (function (CampaignInputFields) {
19
- CampaignInputFields["COLUMN_BANNER"] = "campaignBanner";
19
+ CampaignInputFields["COLUMN_BANNER"] = "banner";
20
+ CampaignInputFields["COLUMN_CAMPAIGN_BANNER"] = "campaignBanner";
20
21
  CampaignInputFields["COLUMN_CATEGORY"] = "category";
21
22
  CampaignInputFields["COLUMN_END_DATE"] = "endDate";
22
23
  CampaignInputFields["COLUMN_IS_ACTIVATED"] = "isActivated";
@@ -111,7 +112,8 @@ var LandingPageInputFields;
111
112
  var CampaignCategoryList;
112
113
  (function (CampaignCategoryList) {
113
114
  CampaignCategoryList["COMMUNICATION_BAR"] = "COMMUNICATIONBAR";
114
- CampaignCategoryList["BANNER"] = "CAMPAIGNBANNER";
115
+ CampaignCategoryList["BANNER"] = "BANNER";
116
+ CampaignCategoryList["CAMPAIGN_BANNER"] = "CAMPAIGNBANNER";
115
117
  CampaignCategoryList["BUG"] = "BUG";
116
118
  CampaignCategoryList["LANDING_PAGE"] = "LANDINGPAGE";
117
119
  CampaignCategoryList["NOTIFICATION"] = "NOTIFICATION";
@@ -1,5 +1,5 @@
1
1
  import { AbstractEntity } from '../../../../../abstractEntity';
2
- import { CampaignBackground, CampaignButton, CampaignMedia, CampaignTextColor } from '../campaign';
2
+ import { BootstrapVariants, CampaignBackground, CampaignBackgroundType, CampaignButton, CampaignMedia, CampaignMediaType, CampaignTextColor } from '../campaign';
3
3
  export declare type CampaignPopupType = {
4
4
  background: CampaignBackground;
5
5
  button: CampaignButton;
@@ -9,6 +9,31 @@ export declare type CampaignPopupType = {
9
9
  textColor: CampaignTextColor;
10
10
  title: string;
11
11
  };
12
+ /**
13
+ * @deprecated use CampaignBackground
14
+ */
15
+ export declare type PopupBackground = CampaignBackground;
16
+ /**
17
+ * @deprecated use CampaignButton
18
+ */
19
+ export declare type PopupButton = CampaignButton;
20
+ /**
21
+ * @deprecated use CampaignMedia
22
+ */
23
+ export declare type PopupMedia = CampaignMedia;
24
+ /**
25
+ * @deprecated use CampaignBackgroundType
26
+ */
27
+ export { CampaignBackgroundType as PopupBackgroundType };
28
+ /**
29
+ * @deprecated use CampaignMediaType
30
+ */
31
+ export { CampaignMediaType as PopupMediaType };
32
+ /**
33
+ * @deprecated use CampaignTextColor
34
+ */
35
+ export { CampaignTextColor as PopupTextColor };
36
+ export { BootstrapVariants };
12
37
  export declare enum PopupFields {
13
38
  COLUMN_BACKGROUND = "background",
14
39
  COLUMN_BUTTON = "button",
@@ -12,8 +12,13 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
12
12
  };
13
13
  var _CampaignPopup_background, _CampaignPopup_button, _CampaignPopup_description, _CampaignPopup_displayConfiguration, _CampaignPopup_media, _CampaignPopup_textColor, _CampaignPopup_title;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.CampaignPopup = exports.PopupFields = void 0;
15
+ exports.CampaignPopup = exports.PopupFields = exports.BootstrapVariants = exports.PopupTextColor = exports.PopupMediaType = exports.PopupBackgroundType = void 0;
16
16
  const abstractEntity_1 = require("../../../../../abstractEntity");
17
+ const campaign_1 = require("../campaign");
18
+ Object.defineProperty(exports, "BootstrapVariants", { enumerable: true, get: function () { return campaign_1.BootstrapVariants; } });
19
+ Object.defineProperty(exports, "PopupBackgroundType", { enumerable: true, get: function () { return campaign_1.CampaignBackgroundType; } });
20
+ Object.defineProperty(exports, "PopupMediaType", { enumerable: true, get: function () { return campaign_1.CampaignMediaType; } });
21
+ Object.defineProperty(exports, "PopupTextColor", { enumerable: true, get: function () { return campaign_1.CampaignTextColor; } });
17
22
  var PopupFields;
18
23
  (function (PopupFields) {
19
24
  PopupFields["COLUMN_BACKGROUND"] = "background";
@@ -17,7 +17,8 @@ export declare enum OrderFields {
17
17
  COLUMN_PRODUCTS = "products",
18
18
  COLUMN_EXTRA_INFORMATION = "extraInformation",
19
19
  COLUMN_ORGANIZATION_UNIT_REF = "organizationUnitRef",
20
- COLUMN_CUSTOM_FIELDS = "customFields"
20
+ COLUMN_CUSTOM_FIELDS = "customFields",
21
+ COLUMN_QUOTE_REF = "quoteRef"
21
22
  }
22
23
  export declare type OrderType = {
23
24
  [OrderFields.COLUMN_REFERENCE]: string;
@@ -33,6 +34,7 @@ export declare type OrderType = {
33
34
  [OrderFields.COLUMN_EXTRA_INFORMATION]?: AdditionalExtraInformationType;
34
35
  [OrderFields.COLUMN_ORGANIZATION_UNIT_REF]?: string;
35
36
  [OrderFields.COLUMN_CUSTOM_FIELDS]?: Array<OrderCustomFieldType>;
37
+ [OrderFields.COLUMN_QUOTE_REF]?: string;
36
38
  };
37
39
  export declare class Order extends AbstractEntity<OrderType> {
38
40
  #private;
@@ -50,5 +52,6 @@ export declare class Order extends AbstractEntity<OrderType> {
50
52
  get extraInformation(): AdditionalExtraInformation | undefined;
51
53
  get organizationUnitRef(): string | undefined;
52
54
  get customFields(): Array<OrderCustomField> | undefined;
55
+ get quoteRef(): string | undefined;
53
56
  toJSON(): OrderType;
54
57
  }
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _Order_reference, _Order_status, _Order_dateStatus, _Order_dateCreation, _Order_order_reference, _Order_partner, _Order_customer, _Order_ponumber, _Order_endCustomerPONumber, _Order_products, _Order_extraInformation, _Order_organizationUnitRef, _Order_customFields;
13
+ var _Order_reference, _Order_status, _Order_dateStatus, _Order_dateCreation, _Order_order_reference, _Order_partner, _Order_customer, _Order_ponumber, _Order_endCustomerPONumber, _Order_products, _Order_extraInformation, _Order_organizationUnitRef, _Order_customFields, _Order_quoteRef;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.Order = exports.OrderFields = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -34,6 +34,7 @@ var OrderFields;
34
34
  OrderFields["COLUMN_EXTRA_INFORMATION"] = "extraInformation";
35
35
  OrderFields["COLUMN_ORGANIZATION_UNIT_REF"] = "organizationUnitRef";
36
36
  OrderFields["COLUMN_CUSTOM_FIELDS"] = "customFields";
37
+ OrderFields["COLUMN_QUOTE_REF"] = "quoteRef";
37
38
  })(OrderFields = exports.OrderFields || (exports.OrderFields = {}));
38
39
  class Order extends abstractEntity_1.AbstractEntity {
39
40
  constructor(getOrderDataInput) {
@@ -52,6 +53,7 @@ class Order extends abstractEntity_1.AbstractEntity {
52
53
  _Order_extraInformation.set(this, void 0);
53
54
  _Order_organizationUnitRef.set(this, void 0);
54
55
  _Order_customFields.set(this, void 0);
56
+ _Order_quoteRef.set(this, void 0);
55
57
  __classPrivateFieldSet(this, _Order_reference, getOrderDataInput[OrderFields.COLUMN_REFERENCE], "f");
56
58
  __classPrivateFieldSet(this, _Order_status, getOrderDataInput[OrderFields.COLUMN_STATUS], "f");
57
59
  __classPrivateFieldSet(this, _Order_dateStatus, getOrderDataInput[OrderFields.COLUMN_DATESTATUS], "f");
@@ -69,6 +71,7 @@ class Order extends abstractEntity_1.AbstractEntity {
69
71
  : undefined, "f");
70
72
  __classPrivateFieldSet(this, _Order_organizationUnitRef, getOrderDataInput[OrderFields.COLUMN_ORGANIZATION_UNIT_REF], "f");
71
73
  __classPrivateFieldSet(this, _Order_customFields, (_a = getOrderDataInput[OrderFields.COLUMN_CUSTOM_FIELDS]) === null || _a === void 0 ? void 0 : _a.map((field) => new customField_1.OrderCustomField(field)), "f");
74
+ __classPrivateFieldSet(this, _Order_quoteRef, getOrderDataInput[OrderFields.COLUMN_QUOTE_REF], "f");
72
75
  }
73
76
  get reference() {
74
77
  return __classPrivateFieldGet(this, _Order_reference, "f");
@@ -109,6 +112,9 @@ class Order extends abstractEntity_1.AbstractEntity {
109
112
  get customFields() {
110
113
  return __classPrivateFieldGet(this, _Order_customFields, "f");
111
114
  }
115
+ get quoteRef() {
116
+ return __classPrivateFieldGet(this, _Order_quoteRef, "f");
117
+ }
112
118
  toJSON() {
113
119
  var _a, _b, _c;
114
120
  return {
@@ -125,9 +131,10 @@ class Order extends abstractEntity_1.AbstractEntity {
125
131
  [OrderFields.COLUMN_EXTRA_INFORMATION]: (_b = this.extraInformation) === null || _b === void 0 ? void 0 : _b.toJSON(),
126
132
  [OrderFields.COLUMN_ORGANIZATION_UNIT_REF]: this.organizationUnitRef,
127
133
  [OrderFields.COLUMN_CUSTOM_FIELDS]: (_c = this.customFields) === null || _c === void 0 ? void 0 : _c.map((field) => field.toJSON()),
134
+ [OrderFields.COLUMN_QUOTE_REF]: this.quoteRef,
128
135
  };
129
136
  }
130
137
  }
131
138
  exports.Order = Order;
132
- _Order_reference = new WeakMap(), _Order_status = new WeakMap(), _Order_dateStatus = new WeakMap(), _Order_dateCreation = new WeakMap(), _Order_order_reference = new WeakMap(), _Order_partner = new WeakMap(), _Order_customer = new WeakMap(), _Order_ponumber = new WeakMap(), _Order_endCustomerPONumber = new WeakMap(), _Order_products = new WeakMap(), _Order_extraInformation = new WeakMap(), _Order_organizationUnitRef = new WeakMap(), _Order_customFields = new WeakMap();
139
+ _Order_reference = new WeakMap(), _Order_status = new WeakMap(), _Order_dateStatus = new WeakMap(), _Order_dateCreation = new WeakMap(), _Order_order_reference = new WeakMap(), _Order_partner = new WeakMap(), _Order_customer = new WeakMap(), _Order_ponumber = new WeakMap(), _Order_endCustomerPONumber = new WeakMap(), _Order_products = new WeakMap(), _Order_extraInformation = new WeakMap(), _Order_organizationUnitRef = new WeakMap(), _Order_customFields = new WeakMap(), _Order_quoteRef = new WeakMap();
133
140
  //# sourceMappingURL=order.js.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.401.0",
7
+ "version": "3.402.0-rc-cpe-1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",