@arrowsphere/api-client 3.167.0 → 3.167.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.167.1] - 2025.02.05
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
- [campaign] update CampaignInputType schema add field Banner and remove field Banners
|
|
10
|
+
|
|
6
11
|
## [3.167.0] - 2025.02.04
|
|
7
12
|
|
|
8
13
|
### Added
|
|
@@ -22,7 +22,7 @@ export declare enum CampaignInputFields {
|
|
|
22
22
|
COLUMN_RULES = "rules",
|
|
23
23
|
COLUMN_START_DATE = "startDate",
|
|
24
24
|
COLUMN_END_DATE = "endDate",
|
|
25
|
-
|
|
25
|
+
COLUMN_BANNER = "banner",
|
|
26
26
|
COLUMN_LANDING_PAGE = "landingPage"
|
|
27
27
|
}
|
|
28
28
|
export declare enum RulesInputFields {
|
|
@@ -41,19 +41,19 @@ export declare type RulesInputType = {
|
|
|
41
41
|
[RulesInputFields.COLUMN_RESELLERS]?: string[];
|
|
42
42
|
[RulesInputFields.COLUMN_END_CUSTOMERS]?: string[];
|
|
43
43
|
};
|
|
44
|
-
export declare enum
|
|
44
|
+
export declare enum BannerInputFields {
|
|
45
45
|
COLUMN_TYPE = "type",
|
|
46
46
|
COLUMN_BUTTON_PLACEMENT = "buttonPlacement",
|
|
47
47
|
COLUMN_BUTTON_TEXT = "buttonText",
|
|
48
48
|
COLUMN_TEXT = "text",
|
|
49
49
|
COLUMN_TEXT_COLOR = "textColor"
|
|
50
50
|
}
|
|
51
|
-
export declare type
|
|
52
|
-
[
|
|
53
|
-
[
|
|
54
|
-
[
|
|
55
|
-
[
|
|
56
|
-
[
|
|
51
|
+
export declare type BannerInputType = {
|
|
52
|
+
[BannerInputFields.COLUMN_TYPE]?: string;
|
|
53
|
+
[BannerInputFields.COLUMN_BUTTON_PLACEMENT]?: string;
|
|
54
|
+
[BannerInputFields.COLUMN_BUTTON_TEXT]?: string;
|
|
55
|
+
[BannerInputFields.COLUMN_TEXT]?: string;
|
|
56
|
+
[BannerInputFields.COLUMN_TEXT_COLOR]?: string;
|
|
57
57
|
};
|
|
58
58
|
export declare enum LandingPageHeaderInputFields {
|
|
59
59
|
COLUMN_BACKGROUND_COLOR = "backgroundColor",
|
|
@@ -119,7 +119,7 @@ export declare type CampaignInputType = {
|
|
|
119
119
|
[CampaignInputFields.COLUMN_RULES]?: RulesInputType;
|
|
120
120
|
[CampaignInputFields.COLUMN_START_DATE]?: string;
|
|
121
121
|
[CampaignInputFields.COLUMN_END_DATE]?: string;
|
|
122
|
-
[CampaignInputFields.
|
|
122
|
+
[CampaignInputFields.COLUMN_BANNER]?: BannerInputType;
|
|
123
123
|
[CampaignInputFields.COLUMN_LANDING_PAGE]?: LandingPageInputType;
|
|
124
124
|
};
|
|
125
125
|
export declare type PostEmailCampaignMetadataType = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CampaignClient = exports.LandingPageInputFields = exports.LandingPageFooterInputFields = exports.LandingPageBodyInputFields = exports.LandingPageHeaderInputFields = exports.
|
|
3
|
+
exports.CampaignClient = exports.LandingPageInputFields = exports.LandingPageFooterInputFields = exports.LandingPageBodyInputFields = exports.LandingPageHeaderInputFields = exports.BannerInputFields = exports.RulesInputFields = exports.CampaignInputFields = exports.PostEmailCampaignFields = void 0;
|
|
4
4
|
const abstractRestfulClient_1 = require("../abstractRestfulClient");
|
|
5
5
|
const getResult_1 = require("../getResult");
|
|
6
6
|
const campaign_1 = require("./entities/campaign/campaign");
|
|
@@ -23,7 +23,7 @@ var CampaignInputFields;
|
|
|
23
23
|
CampaignInputFields["COLUMN_RULES"] = "rules";
|
|
24
24
|
CampaignInputFields["COLUMN_START_DATE"] = "startDate";
|
|
25
25
|
CampaignInputFields["COLUMN_END_DATE"] = "endDate";
|
|
26
|
-
CampaignInputFields["
|
|
26
|
+
CampaignInputFields["COLUMN_BANNER"] = "banner";
|
|
27
27
|
CampaignInputFields["COLUMN_LANDING_PAGE"] = "landingPage";
|
|
28
28
|
})(CampaignInputFields = exports.CampaignInputFields || (exports.CampaignInputFields = {}));
|
|
29
29
|
var RulesInputFields;
|
|
@@ -35,14 +35,14 @@ var RulesInputFields;
|
|
|
35
35
|
RulesInputFields["COLUMN_RESELLERS"] = "resellers";
|
|
36
36
|
RulesInputFields["COLUMN_END_CUSTOMERS"] = "endCustomers";
|
|
37
37
|
})(RulesInputFields = exports.RulesInputFields || (exports.RulesInputFields = {}));
|
|
38
|
-
var
|
|
39
|
-
(function (
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
})(
|
|
38
|
+
var BannerInputFields;
|
|
39
|
+
(function (BannerInputFields) {
|
|
40
|
+
BannerInputFields["COLUMN_TYPE"] = "type";
|
|
41
|
+
BannerInputFields["COLUMN_BUTTON_PLACEMENT"] = "buttonPlacement";
|
|
42
|
+
BannerInputFields["COLUMN_BUTTON_TEXT"] = "buttonText";
|
|
43
|
+
BannerInputFields["COLUMN_TEXT"] = "text";
|
|
44
|
+
BannerInputFields["COLUMN_TEXT_COLOR"] = "textColor";
|
|
45
|
+
})(BannerInputFields = exports.BannerInputFields || (exports.BannerInputFields = {}));
|
|
46
46
|
var LandingPageHeaderInputFields;
|
|
47
47
|
(function (LandingPageHeaderInputFields) {
|
|
48
48
|
LandingPageHeaderInputFields["COLUMN_BACKGROUND_COLOR"] = "backgroundColor";
|
package/package.json
CHANGED