@arrowsphere/api-client 3.166.0 → 3.167.0

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,12 +3,20 @@
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.0] - 2025.02.04
7
+
8
+ ### Added
9
+ - [campaign] added aggregationsCampaignsCategory endpoint
10
+ - [campaign] added CampaignAggragations schema
11
+ - [campaign] added CampaignAssetsUpload schema
12
+ ### Updated
13
+ - [campaign] updated function getCampaignUploadAssetsForm argument type
14
+
6
15
  ## [3.166.0] - 2025.01.28
7
16
 
8
17
  ### Updated
9
18
  - [graphql-api] add contactRestricted & companyRestricted to connected user
10
19
 
11
-
12
20
  ## [3.165.1] - 2025.01.28
13
21
 
14
22
  ### Updated
@@ -4,9 +4,8 @@ import { Campaign } from './entities/campaign/campaign';
4
4
  import { CampaignV2 } from './entities/v2/campaign/campaign';
5
5
  import { CampaignAssets } from './entities/campaignAssets/campaignAssets';
6
6
  import { CampaignList } from './entities/v2/campaignList';
7
- import { RulesType } from './entities/campaign/rules/rules';
8
- import { BannersType } from './entities/campaign/banners/banners';
9
- import { LandingPageType } from './entities/campaign/landingPage/landingPage';
7
+ import { CampaignAggragations } from './entities/campaign/campaignAggregation';
8
+ import { CampaignAssetsUpload } from './entities/campaignAssets/campaignAssetsUpload';
10
9
  export declare enum PostEmailCampaignFields {
11
10
  COLUMN_APPLICATION = "application",
12
11
  COLUMN_METADATA = "metadata"
@@ -26,16 +25,102 @@ export declare enum CampaignInputFields {
26
25
  COLUMN_BANNERS = "banners",
27
26
  COLUMN_LANDING_PAGE = "landingPage"
28
27
  }
28
+ export declare enum RulesInputFields {
29
+ COLUMN_LOCATIONS = "locations",
30
+ COLUMN_ROLES = "roles",
31
+ COLUMN_MARKETPLACES = "marketplaces",
32
+ COLUMN_SUBSCRIPTIONS = "subscriptions",
33
+ COLUMN_RESELLERS = "resellers",
34
+ COLUMN_END_CUSTOMERS = "endCustomers"
35
+ }
36
+ export declare type RulesInputType = {
37
+ [RulesInputFields.COLUMN_LOCATIONS]?: string[];
38
+ [RulesInputFields.COLUMN_ROLES]?: string[];
39
+ [RulesInputFields.COLUMN_MARKETPLACES]?: string[];
40
+ [RulesInputFields.COLUMN_SUBSCRIPTIONS]?: string[];
41
+ [RulesInputFields.COLUMN_RESELLERS]?: string[];
42
+ [RulesInputFields.COLUMN_END_CUSTOMERS]?: string[];
43
+ };
44
+ export declare enum BannersInputFields {
45
+ COLUMN_TYPE = "type",
46
+ COLUMN_BUTTON_PLACEMENT = "buttonPlacement",
47
+ COLUMN_BUTTON_TEXT = "buttonText",
48
+ COLUMN_TEXT = "text",
49
+ COLUMN_TEXT_COLOR = "textColor"
50
+ }
51
+ export declare type BannersInputType = {
52
+ [BannersInputFields.COLUMN_TYPE]?: string;
53
+ [BannersInputFields.COLUMN_BUTTON_PLACEMENT]?: string;
54
+ [BannersInputFields.COLUMN_BUTTON_TEXT]?: string;
55
+ [BannersInputFields.COLUMN_TEXT]?: string;
56
+ [BannersInputFields.COLUMN_TEXT_COLOR]?: string;
57
+ };
58
+ export declare enum LandingPageHeaderInputFields {
59
+ COLUMN_BACKGROUND_COLOR = "backgroundColor",
60
+ COLUMN_BASELINE = "baseline",
61
+ COLUMN_CIRCLE_COLOR = "circleColor",
62
+ COLUMN_TEXT_COLOR = "textColor",
63
+ COLUMN_TITLE = "title"
64
+ }
65
+ export declare type LandingPageHeaderInputType = {
66
+ [LandingPageHeaderInputFields.COLUMN_BACKGROUND_COLOR]?: string;
67
+ [LandingPageHeaderInputFields.COLUMN_BASELINE]?: string;
68
+ [LandingPageHeaderInputFields.COLUMN_TEXT_COLOR]?: string;
69
+ [LandingPageHeaderInputFields.COLUMN_CIRCLE_COLOR]?: string;
70
+ [LandingPageHeaderInputFields.COLUMN_TITLE]?: string;
71
+ };
72
+ export declare enum LandingPageBodyInputFields {
73
+ COLUMN_BUTTON_TEXT = "buttonText",
74
+ COLUMN_CONTACT_EMAIL = "contactEmail",
75
+ COLUMN_DESCRIPTION = "description",
76
+ COLUMN_TITLE = "title",
77
+ COLUMN_TYPE = "type",
78
+ COLUMN_VIDEO_URL = "videoUrl"
79
+ }
80
+ export declare type LandingPageBodyInputType = {
81
+ [LandingPageBodyInputFields.COLUMN_BUTTON_TEXT]?: string;
82
+ [LandingPageBodyInputFields.COLUMN_CONTACT_EMAIL]?: string;
83
+ [LandingPageBodyInputFields.COLUMN_DESCRIPTION]?: string;
84
+ [LandingPageBodyInputFields.COLUMN_TITLE]?: string;
85
+ [LandingPageBodyInputFields.COLUMN_TYPE]?: string;
86
+ [LandingPageBodyInputFields.COLUMN_VIDEO_URL]?: string;
87
+ };
88
+ export declare enum LandingPageFooterInputFields {
89
+ COLUMN_TITLE = "title",
90
+ COLUMN_BACKGROUND_COLOR = "backgroundColor",
91
+ COLUMN_BUTTON_TEXT = "buttonText",
92
+ COLUMN_BUTTON_URL = "buttonUrl",
93
+ COLUMN_TEXT_COLOR = "textColor"
94
+ }
95
+ export declare type LandingPageFooterInputType = {
96
+ [LandingPageFooterInputFields.COLUMN_TITLE]?: string;
97
+ [LandingPageFooterInputFields.COLUMN_BACKGROUND_COLOR]?: string;
98
+ [LandingPageFooterInputFields.COLUMN_BUTTON_TEXT]?: string;
99
+ [LandingPageFooterInputFields.COLUMN_BUTTON_URL]?: string;
100
+ [LandingPageFooterInputFields.COLUMN_TEXT_COLOR]?: string;
101
+ };
102
+ export declare enum LandingPageInputFields {
103
+ COLUMN_URL = "url",
104
+ COLUMN_HEADER = "header",
105
+ COLUMN_BODY = "body",
106
+ COLUMN_FOOTER = "footer"
107
+ }
108
+ export declare type LandingPageInputType = {
109
+ [LandingPageInputFields.COLUMN_URL]?: string;
110
+ [LandingPageInputFields.COLUMN_HEADER]: LandingPageHeaderInputType;
111
+ [LandingPageInputFields.COLUMN_BODY]: LandingPageBodyInputType;
112
+ [LandingPageInputFields.COLUMN_FOOTER]?: LandingPageFooterInputType;
113
+ };
29
114
  export declare type CampaignInputType = {
30
115
  [CampaignInputFields.COLUMN_NAME]: string;
31
116
  [CampaignInputFields.COLUMN_CATEGORY]?: string;
32
117
  [CampaignInputFields.COLUMN_IS_ACTIVATED]?: boolean;
33
118
  [CampaignInputFields.COLUMN_STATUS]?: string;
34
- [CampaignInputFields.COLUMN_RULES]?: RulesType;
119
+ [CampaignInputFields.COLUMN_RULES]?: RulesInputType;
35
120
  [CampaignInputFields.COLUMN_START_DATE]?: string;
36
121
  [CampaignInputFields.COLUMN_END_DATE]?: string;
37
- [CampaignInputFields.COLUMN_BANNERS]?: BannersType[];
38
- [CampaignInputFields.COLUMN_LANDING_PAGE]?: LandingPageType;
122
+ [CampaignInputFields.COLUMN_BANNERS]?: BannersInputType[];
123
+ [CampaignInputFields.COLUMN_LANDING_PAGE]?: LandingPageInputType;
39
124
  };
40
125
  export declare type PostEmailCampaignMetadataType = {
41
126
  [keys in string]: string;
@@ -58,10 +143,11 @@ export declare class CampaignClient extends AbstractRestfulClient {
58
143
  getCampaignDetailsV2(campaignReference: string, parameters?: Parameters): Promise<GetResult<CampaignV2>>;
59
144
  postCampaignEmail(campaignReference: string, postData: PostEmailCampaignType, parameters?: Parameters): Promise<void>;
60
145
  getCampaignList(parameters?: Parameters): Promise<GetResult<CampaignList>>;
61
- createCampaign(postData: CampaignInputType): Promise<void>;
146
+ createCampaign(postData: CampaignInputType): Promise<GetResult<CampaignV2>>;
62
147
  updateCampaign(campaignReference: string, postData: CampaignInputType): Promise<void>;
63
148
  deleteCampaign(campaignReference: string): Promise<void>;
64
149
  duplicateCampaign(campaignReference: string): Promise<GetResult<CampaignV2>>;
65
- getCampaignUploadAssetsForm(campaignReference: string): Promise<GetResult<CampaignAssets>>;
150
+ getCampaignUploadAssetsForm(campaignReference: string): Promise<GetResult<CampaignAssetsUpload>>;
66
151
  deleteAssets(campaignReference: string, assetReference: string): Promise<void>;
152
+ aggregationsCampaignsCategory(categories: string[]): Promise<GetResult<CampaignAggragations>>;
67
153
  }
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CampaignClient = exports.CampaignInputFields = exports.PostEmailCampaignFields = void 0;
3
+ exports.CampaignClient = exports.LandingPageInputFields = exports.LandingPageFooterInputFields = exports.LandingPageBodyInputFields = exports.LandingPageHeaderInputFields = exports.BannersInputFields = 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");
7
7
  const campaign_2 = require("./entities/v2/campaign/campaign");
8
8
  const campaignAssets_1 = require("./entities/campaignAssets/campaignAssets");
9
9
  const campaignList_1 = require("./entities/v2/campaignList");
10
+ const campaignAggregation_1 = require("./entities/campaign/campaignAggregation");
11
+ const campaignAssetsUpload_1 = require("./entities/campaignAssets/campaignAssetsUpload");
10
12
  var PostEmailCampaignFields;
11
13
  (function (PostEmailCampaignFields) {
12
14
  PostEmailCampaignFields["COLUMN_APPLICATION"] = "application";
@@ -24,6 +26,55 @@ var CampaignInputFields;
24
26
  CampaignInputFields["COLUMN_BANNERS"] = "banners";
25
27
  CampaignInputFields["COLUMN_LANDING_PAGE"] = "landingPage";
26
28
  })(CampaignInputFields = exports.CampaignInputFields || (exports.CampaignInputFields = {}));
29
+ var RulesInputFields;
30
+ (function (RulesInputFields) {
31
+ RulesInputFields["COLUMN_LOCATIONS"] = "locations";
32
+ RulesInputFields["COLUMN_ROLES"] = "roles";
33
+ RulesInputFields["COLUMN_MARKETPLACES"] = "marketplaces";
34
+ RulesInputFields["COLUMN_SUBSCRIPTIONS"] = "subscriptions";
35
+ RulesInputFields["COLUMN_RESELLERS"] = "resellers";
36
+ RulesInputFields["COLUMN_END_CUSTOMERS"] = "endCustomers";
37
+ })(RulesInputFields = exports.RulesInputFields || (exports.RulesInputFields = {}));
38
+ var BannersInputFields;
39
+ (function (BannersInputFields) {
40
+ BannersInputFields["COLUMN_TYPE"] = "type";
41
+ BannersInputFields["COLUMN_BUTTON_PLACEMENT"] = "buttonPlacement";
42
+ BannersInputFields["COLUMN_BUTTON_TEXT"] = "buttonText";
43
+ BannersInputFields["COLUMN_TEXT"] = "text";
44
+ BannersInputFields["COLUMN_TEXT_COLOR"] = "textColor";
45
+ })(BannersInputFields = exports.BannersInputFields || (exports.BannersInputFields = {}));
46
+ var LandingPageHeaderInputFields;
47
+ (function (LandingPageHeaderInputFields) {
48
+ LandingPageHeaderInputFields["COLUMN_BACKGROUND_COLOR"] = "backgroundColor";
49
+ LandingPageHeaderInputFields["COLUMN_BASELINE"] = "baseline";
50
+ LandingPageHeaderInputFields["COLUMN_CIRCLE_COLOR"] = "circleColor";
51
+ LandingPageHeaderInputFields["COLUMN_TEXT_COLOR"] = "textColor";
52
+ LandingPageHeaderInputFields["COLUMN_TITLE"] = "title";
53
+ })(LandingPageHeaderInputFields = exports.LandingPageHeaderInputFields || (exports.LandingPageHeaderInputFields = {}));
54
+ var LandingPageBodyInputFields;
55
+ (function (LandingPageBodyInputFields) {
56
+ LandingPageBodyInputFields["COLUMN_BUTTON_TEXT"] = "buttonText";
57
+ LandingPageBodyInputFields["COLUMN_CONTACT_EMAIL"] = "contactEmail";
58
+ LandingPageBodyInputFields["COLUMN_DESCRIPTION"] = "description";
59
+ LandingPageBodyInputFields["COLUMN_TITLE"] = "title";
60
+ LandingPageBodyInputFields["COLUMN_TYPE"] = "type";
61
+ LandingPageBodyInputFields["COLUMN_VIDEO_URL"] = "videoUrl";
62
+ })(LandingPageBodyInputFields = exports.LandingPageBodyInputFields || (exports.LandingPageBodyInputFields = {}));
63
+ var LandingPageFooterInputFields;
64
+ (function (LandingPageFooterInputFields) {
65
+ LandingPageFooterInputFields["COLUMN_TITLE"] = "title";
66
+ LandingPageFooterInputFields["COLUMN_BACKGROUND_COLOR"] = "backgroundColor";
67
+ LandingPageFooterInputFields["COLUMN_BUTTON_TEXT"] = "buttonText";
68
+ LandingPageFooterInputFields["COLUMN_BUTTON_URL"] = "buttonUrl";
69
+ LandingPageFooterInputFields["COLUMN_TEXT_COLOR"] = "textColor";
70
+ })(LandingPageFooterInputFields = exports.LandingPageFooterInputFields || (exports.LandingPageFooterInputFields = {}));
71
+ var LandingPageInputFields;
72
+ (function (LandingPageInputFields) {
73
+ LandingPageInputFields["COLUMN_URL"] = "url";
74
+ LandingPageInputFields["COLUMN_HEADER"] = "header";
75
+ LandingPageInputFields["COLUMN_BODY"] = "body";
76
+ LandingPageInputFields["COLUMN_FOOTER"] = "footer";
77
+ })(LandingPageInputFields = exports.LandingPageInputFields || (exports.LandingPageInputFields = {}));
27
78
  class CampaignClient extends abstractRestfulClient_1.AbstractRestfulClient {
28
79
  constructor() {
29
80
  super(...arguments);
@@ -68,7 +119,7 @@ class CampaignClient extends abstractRestfulClient_1.AbstractRestfulClient {
68
119
  }
69
120
  async createCampaign(postData) {
70
121
  this.path = '/';
71
- await this.post(postData);
122
+ return new getResult_1.GetResult(campaign_2.CampaignV2, await this.post(postData));
72
123
  }
73
124
  async updateCampaign(campaignReference, postData) {
74
125
  this.path = `/${campaignReference}`;
@@ -84,12 +135,16 @@ class CampaignClient extends abstractRestfulClient_1.AbstractRestfulClient {
84
135
  }
85
136
  async getCampaignUploadAssetsForm(campaignReference) {
86
137
  this.path = `/${campaignReference}/assets/upload`;
87
- return new getResult_1.GetResult(campaignAssets_1.CampaignAssets, await this.get());
138
+ return new getResult_1.GetResult(campaignAssetsUpload_1.CampaignAssetsUpload, await this.get());
88
139
  }
89
140
  async deleteAssets(campaignReference, assetReference) {
90
141
  this.path = `/${campaignReference}/assets/${assetReference}`;
91
142
  await this.delete();
92
143
  }
144
+ async aggregationsCampaignsCategory(categories) {
145
+ this.path = '/aggregations/category';
146
+ return new getResult_1.GetResult(campaignAggregation_1.CampaignAggragations, await this.get({ categories }));
147
+ }
93
148
  }
94
149
  exports.CampaignClient = CampaignClient;
95
150
  //# sourceMappingURL=campaignClient.js.map
@@ -0,0 +1,17 @@
1
+ import { AbstractEntity } from '../../../../abstractEntity';
2
+ import { DateAgg, DateAggType } from './dateAgg';
3
+ export declare enum CategoryEnumFields {
4
+ COLUMN_DATE_AGG = "dateAgg",
5
+ COLUMN_NAME = "name"
6
+ }
7
+ export declare type CategoryType = {
8
+ [CategoryEnumFields.COLUMN_DATE_AGG]: DateAggType[];
9
+ [CategoryEnumFields.COLUMN_NAME]: string;
10
+ };
11
+ export declare class Category extends AbstractEntity<CategoryType> {
12
+ #private;
13
+ constructor(data: CategoryType);
14
+ get dateAgg(): DateAgg[];
15
+ get name(): string;
16
+ toJSON(): CategoryType;
17
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _Category_dateAgg, _Category_name;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Category = exports.CategoryEnumFields = void 0;
16
+ const abstractEntity_1 = require("../../../../abstractEntity");
17
+ const dateAgg_1 = require("./dateAgg");
18
+ var CategoryEnumFields;
19
+ (function (CategoryEnumFields) {
20
+ CategoryEnumFields["COLUMN_DATE_AGG"] = "dateAgg";
21
+ CategoryEnumFields["COLUMN_NAME"] = "name";
22
+ })(CategoryEnumFields = exports.CategoryEnumFields || (exports.CategoryEnumFields = {}));
23
+ class Category extends abstractEntity_1.AbstractEntity {
24
+ constructor(data) {
25
+ super(data);
26
+ _Category_dateAgg.set(this, void 0);
27
+ _Category_name.set(this, void 0);
28
+ __classPrivateFieldSet(this, _Category_dateAgg, data.dateAgg.map((dateAgg) => new dateAgg_1.DateAgg(dateAgg)), "f");
29
+ __classPrivateFieldSet(this, _Category_name, data.name, "f");
30
+ }
31
+ get dateAgg() {
32
+ return __classPrivateFieldGet(this, _Category_dateAgg, "f");
33
+ }
34
+ get name() {
35
+ return __classPrivateFieldGet(this, _Category_name, "f");
36
+ }
37
+ toJSON() {
38
+ return {
39
+ [CategoryEnumFields.COLUMN_DATE_AGG]: this.dateAgg.map((dateAgg) => dateAgg.toJSON()),
40
+ [CategoryEnumFields.COLUMN_NAME]: this.name,
41
+ };
42
+ }
43
+ }
44
+ exports.Category = Category;
45
+ _Category_dateAgg = new WeakMap(), _Category_name = new WeakMap();
46
+ //# sourceMappingURL=category.js.map
@@ -0,0 +1,16 @@
1
+ import { AbstractEntity } from '../../../../abstractEntity';
2
+ export declare enum CategoryDateEnumFields {
3
+ COLUMN_COUNT = "count",
4
+ COLUMN_DATE = "date"
5
+ }
6
+ export declare type CategoryDateType = {
7
+ [CategoryDateEnumFields.COLUMN_COUNT]: number;
8
+ [CategoryDateEnumFields.COLUMN_DATE]: string;
9
+ };
10
+ export declare class CategoryDate extends AbstractEntity<CategoryDateType> {
11
+ #private;
12
+ constructor(data: CategoryDateType);
13
+ get count(): number;
14
+ get date(): string;
15
+ toJSON(): CategoryDateType;
16
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _CategoryDate_count, _CategoryDate_date;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CategoryDate = exports.CategoryDateEnumFields = void 0;
16
+ const abstractEntity_1 = require("../../../../abstractEntity");
17
+ var CategoryDateEnumFields;
18
+ (function (CategoryDateEnumFields) {
19
+ CategoryDateEnumFields["COLUMN_COUNT"] = "count";
20
+ CategoryDateEnumFields["COLUMN_DATE"] = "date";
21
+ })(CategoryDateEnumFields = exports.CategoryDateEnumFields || (exports.CategoryDateEnumFields = {}));
22
+ class CategoryDate extends abstractEntity_1.AbstractEntity {
23
+ constructor(data) {
24
+ super(data);
25
+ _CategoryDate_count.set(this, void 0);
26
+ _CategoryDate_date.set(this, void 0);
27
+ __classPrivateFieldSet(this, _CategoryDate_count, data.count, "f");
28
+ __classPrivateFieldSet(this, _CategoryDate_date, data.date, "f");
29
+ }
30
+ get count() {
31
+ return __classPrivateFieldGet(this, _CategoryDate_count, "f");
32
+ }
33
+ get date() {
34
+ return __classPrivateFieldGet(this, _CategoryDate_date, "f");
35
+ }
36
+ toJSON() {
37
+ return {
38
+ [CategoryDateEnumFields.COLUMN_COUNT]: this.count,
39
+ [CategoryDateEnumFields.COLUMN_DATE]: this.date,
40
+ };
41
+ }
42
+ }
43
+ exports.CategoryDate = CategoryDate;
44
+ _CategoryDate_count = new WeakMap(), _CategoryDate_date = new WeakMap();
45
+ //# sourceMappingURL=categoryDate.js.map
@@ -0,0 +1,14 @@
1
+ import { AbstractEntity } from '../../../../abstractEntity';
2
+ import { Category, CategoryType } from './category';
3
+ export declare enum CategoryListEnumFields {
4
+ COLUMN_CATEGORIES = "categories"
5
+ }
6
+ export declare type CategoryListType = {
7
+ [CategoryListEnumFields.COLUMN_CATEGORIES]: CategoryType[];
8
+ };
9
+ export declare class CategoryList extends AbstractEntity<CategoryListType> {
10
+ #private;
11
+ constructor(data: CategoryListType);
12
+ get categories(): Category[];
13
+ toJSON(): CategoryListType;
14
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _CategoryList_categories;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CategoryList = exports.CategoryListEnumFields = void 0;
16
+ const abstractEntity_1 = require("../../../../abstractEntity");
17
+ const category_1 = require("./category");
18
+ var CategoryListEnumFields;
19
+ (function (CategoryListEnumFields) {
20
+ CategoryListEnumFields["COLUMN_CATEGORIES"] = "categories";
21
+ })(CategoryListEnumFields = exports.CategoryListEnumFields || (exports.CategoryListEnumFields = {}));
22
+ class CategoryList extends abstractEntity_1.AbstractEntity {
23
+ constructor(data) {
24
+ super(data);
25
+ _CategoryList_categories.set(this, void 0);
26
+ __classPrivateFieldSet(this, _CategoryList_categories, data.categories.map((category) => new category_1.Category(category)), "f");
27
+ }
28
+ get categories() {
29
+ return __classPrivateFieldGet(this, _CategoryList_categories, "f");
30
+ }
31
+ toJSON() {
32
+ return {
33
+ [CategoryListEnumFields.COLUMN_CATEGORIES]: this.categories.map((category) => category.toJSON()),
34
+ };
35
+ }
36
+ }
37
+ exports.CategoryList = CategoryList;
38
+ _CategoryList_categories = new WeakMap();
39
+ //# sourceMappingURL=categoryList.js.map
@@ -0,0 +1,20 @@
1
+ import { AbstractEntity } from '../../../../abstractEntity';
2
+ import { CategoryDate, CategoryDateType } from './categoryDate';
3
+ export declare enum DateAggFields {
4
+ COLUMN_COUNT = "count",
5
+ COLUMN_DATES = "dates",
6
+ COLUMN_FROM = "from"
7
+ }
8
+ export declare type DateAggType = {
9
+ [DateAggFields.COLUMN_COUNT]: number;
10
+ [DateAggFields.COLUMN_DATES]: CategoryDateType[];
11
+ [DateAggFields.COLUMN_FROM]: string;
12
+ };
13
+ export declare class DateAgg extends AbstractEntity<DateAggType> {
14
+ #private;
15
+ constructor(data: DateAggType);
16
+ get count(): number;
17
+ get dates(): CategoryDate[];
18
+ get from(): string;
19
+ toJSON(): DateAggType;
20
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _DateAgg_count, _DateAgg_dates, _DateAgg_from;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.DateAgg = exports.DateAggFields = void 0;
16
+ const abstractEntity_1 = require("../../../../abstractEntity");
17
+ const categoryDate_1 = require("./categoryDate");
18
+ var DateAggFields;
19
+ (function (DateAggFields) {
20
+ DateAggFields["COLUMN_COUNT"] = "count";
21
+ DateAggFields["COLUMN_DATES"] = "dates";
22
+ DateAggFields["COLUMN_FROM"] = "from";
23
+ })(DateAggFields = exports.DateAggFields || (exports.DateAggFields = {}));
24
+ class DateAgg extends abstractEntity_1.AbstractEntity {
25
+ constructor(data) {
26
+ super(data);
27
+ _DateAgg_count.set(this, void 0);
28
+ _DateAgg_dates.set(this, void 0);
29
+ _DateAgg_from.set(this, void 0);
30
+ __classPrivateFieldSet(this, _DateAgg_count, data.count, "f");
31
+ __classPrivateFieldSet(this, _DateAgg_dates, data.dates.map((date) => new categoryDate_1.CategoryDate(date)), "f");
32
+ __classPrivateFieldSet(this, _DateAgg_from, data.from, "f");
33
+ }
34
+ get count() {
35
+ return __classPrivateFieldGet(this, _DateAgg_count, "f");
36
+ }
37
+ get dates() {
38
+ return __classPrivateFieldGet(this, _DateAgg_dates, "f");
39
+ }
40
+ get from() {
41
+ return __classPrivateFieldGet(this, _DateAgg_from, "f");
42
+ }
43
+ toJSON() {
44
+ return {
45
+ [DateAggFields.COLUMN_COUNT]: this.count,
46
+ [DateAggFields.COLUMN_DATES]: this.dates.map((date) => date.toJSON()),
47
+ [DateAggFields.COLUMN_FROM]: this.from,
48
+ };
49
+ }
50
+ }
51
+ exports.DateAgg = DateAgg;
52
+ _DateAgg_count = new WeakMap(), _DateAgg_dates = new WeakMap(), _DateAgg_from = new WeakMap();
53
+ //# sourceMappingURL=dateAgg.js.map
@@ -0,0 +1,14 @@
1
+ import { AbstractEntity } from '../../../abstractEntity';
2
+ import { CategoryList, CategoryListType } from './aggregation/categoryList';
3
+ export declare enum CampaignAggragationsFields {
4
+ COLUMN_CATEGORY_AGG = "categoryAgg"
5
+ }
6
+ export declare type CampaignAggragationsType = {
7
+ [CampaignAggragationsFields.COLUMN_CATEGORY_AGG]: CategoryListType;
8
+ };
9
+ export declare class CampaignAggragations extends AbstractEntity<CampaignAggragationsType> {
10
+ #private;
11
+ constructor(data: CampaignAggragationsType);
12
+ get categoryAgg(): CategoryList;
13
+ toJSON(): CampaignAggragationsType;
14
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _CampaignAggragations_categoryAgg;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CampaignAggragations = exports.CampaignAggragationsFields = void 0;
16
+ const abstractEntity_1 = require("../../../abstractEntity");
17
+ const categoryList_1 = require("./aggregation/categoryList");
18
+ var CampaignAggragationsFields;
19
+ (function (CampaignAggragationsFields) {
20
+ CampaignAggragationsFields["COLUMN_CATEGORY_AGG"] = "categoryAgg";
21
+ })(CampaignAggragationsFields = exports.CampaignAggragationsFields || (exports.CampaignAggragationsFields = {}));
22
+ class CampaignAggragations extends abstractEntity_1.AbstractEntity {
23
+ constructor(data) {
24
+ super(data);
25
+ _CampaignAggragations_categoryAgg.set(this, void 0);
26
+ __classPrivateFieldSet(this, _CampaignAggragations_categoryAgg, new categoryList_1.CategoryList(data.categoryAgg), "f");
27
+ }
28
+ get categoryAgg() {
29
+ return __classPrivateFieldGet(this, _CampaignAggragations_categoryAgg, "f");
30
+ }
31
+ toJSON() {
32
+ return {
33
+ [CampaignAggragationsFields.COLUMN_CATEGORY_AGG]: this.categoryAgg.toJSON(),
34
+ };
35
+ }
36
+ }
37
+ exports.CampaignAggragations = CampaignAggragations;
38
+ _CampaignAggragations_categoryAgg = new WeakMap();
39
+ //# sourceMappingURL=campaignAggregation.js.map
@@ -0,0 +1,17 @@
1
+ import { AbstractEntity } from '../../../../abstractEntity';
2
+ import { Image, ImageType } from './image';
3
+ export declare enum AssetsUploadFields {
4
+ COLUMN_UUID = "uuid",
5
+ COLUMN_IMAGE = "image"
6
+ }
7
+ export declare type AssetsUploadType = {
8
+ [AssetsUploadFields.COLUMN_UUID]: string;
9
+ [AssetsUploadFields.COLUMN_IMAGE]: ImageType;
10
+ };
11
+ export declare class AssetsUpload extends AbstractEntity<AssetsUploadType> {
12
+ #private;
13
+ constructor(assetsInput: AssetsUploadType);
14
+ get uuid(): string;
15
+ get image(): Image;
16
+ toJSON(): AssetsUploadType;
17
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _AssetsUpload_uuid, _AssetsUpload_image;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AssetsUpload = exports.AssetsUploadFields = void 0;
16
+ const abstractEntity_1 = require("../../../../abstractEntity");
17
+ const image_1 = require("./image");
18
+ var AssetsUploadFields;
19
+ (function (AssetsUploadFields) {
20
+ AssetsUploadFields["COLUMN_UUID"] = "uuid";
21
+ AssetsUploadFields["COLUMN_IMAGE"] = "image";
22
+ })(AssetsUploadFields = exports.AssetsUploadFields || (exports.AssetsUploadFields = {}));
23
+ class AssetsUpload extends abstractEntity_1.AbstractEntity {
24
+ constructor(assetsInput) {
25
+ super(assetsInput);
26
+ _AssetsUpload_uuid.set(this, void 0);
27
+ _AssetsUpload_image.set(this, void 0);
28
+ __classPrivateFieldSet(this, _AssetsUpload_uuid, assetsInput[AssetsUploadFields.COLUMN_UUID], "f");
29
+ __classPrivateFieldSet(this, _AssetsUpload_image, new image_1.Image(assetsInput[AssetsUploadFields.COLUMN_IMAGE]), "f");
30
+ }
31
+ get uuid() {
32
+ return __classPrivateFieldGet(this, _AssetsUpload_uuid, "f");
33
+ }
34
+ get image() {
35
+ return __classPrivateFieldGet(this, _AssetsUpload_image, "f");
36
+ }
37
+ toJSON() {
38
+ return {
39
+ [AssetsUploadFields.COLUMN_UUID]: this.uuid,
40
+ [AssetsUploadFields.COLUMN_IMAGE]: this.image.toJSON(),
41
+ };
42
+ }
43
+ }
44
+ exports.AssetsUpload = AssetsUpload;
45
+ _AssetsUpload_uuid = new WeakMap(), _AssetsUpload_image = new WeakMap();
46
+ //# sourceMappingURL=assetsUpload.js.map
@@ -0,0 +1,20 @@
1
+ import { AbstractEntity } from '../../../../abstractEntity';
2
+ export declare enum ImageFields {
3
+ COLUMN_FIELDS = "fields",
4
+ COLUMN_URL = "url"
5
+ }
6
+ export declare type ImageType = {
7
+ [ImageFields.COLUMN_URL]: string;
8
+ [ImageFields.COLUMN_FIELDS]?: {
9
+ [key: string]: string;
10
+ };
11
+ };
12
+ export declare class Image extends AbstractEntity<ImageType> {
13
+ #private;
14
+ constructor(imageInput: ImageType);
15
+ get url(): string;
16
+ get fields(): {
17
+ [key: string]: string;
18
+ } | undefined;
19
+ toJSON(): ImageType;
20
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _Image_url, _Image_fields;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Image = exports.ImageFields = void 0;
16
+ const abstractEntity_1 = require("../../../../abstractEntity");
17
+ var ImageFields;
18
+ (function (ImageFields) {
19
+ ImageFields["COLUMN_FIELDS"] = "fields";
20
+ ImageFields["COLUMN_URL"] = "url";
21
+ })(ImageFields = exports.ImageFields || (exports.ImageFields = {}));
22
+ class Image extends abstractEntity_1.AbstractEntity {
23
+ constructor(imageInput) {
24
+ super(imageInput);
25
+ _Image_url.set(this, void 0);
26
+ _Image_fields.set(this, void 0);
27
+ __classPrivateFieldSet(this, _Image_url, imageInput[ImageFields.COLUMN_URL], "f");
28
+ __classPrivateFieldSet(this, _Image_fields, imageInput[ImageFields.COLUMN_FIELDS], "f");
29
+ }
30
+ get url() {
31
+ return __classPrivateFieldGet(this, _Image_url, "f");
32
+ }
33
+ get fields() {
34
+ return __classPrivateFieldGet(this, _Image_fields, "f");
35
+ }
36
+ toJSON() {
37
+ return {
38
+ [ImageFields.COLUMN_URL]: this.url,
39
+ [ImageFields.COLUMN_FIELDS]: this.fields,
40
+ };
41
+ }
42
+ }
43
+ exports.Image = Image;
44
+ _Image_url = new WeakMap(), _Image_fields = new WeakMap();
45
+ //# sourceMappingURL=image.js.map
@@ -0,0 +1,14 @@
1
+ import { AbstractEntity } from '../../../abstractEntity';
2
+ import { AssetsUploadType, AssetsUpload } from './assets/assetsUpload';
3
+ export declare enum CampaignAssetsUploadFields {
4
+ COLUMN_ASSETS = "assets"
5
+ }
6
+ export declare type CampaignAssetsUploadType = {
7
+ [CampaignAssetsUploadFields.COLUMN_ASSETS]: Array<AssetsUploadType>;
8
+ };
9
+ export declare class CampaignAssetsUpload extends AbstractEntity<CampaignAssetsUploadType> {
10
+ #private;
11
+ constructor(CampaignAssetsInput: CampaignAssetsUploadType);
12
+ get assets(): Array<AssetsUpload>;
13
+ toJSON(): CampaignAssetsUploadType;
14
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _CampaignAssetsUpload_assets;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CampaignAssetsUpload = exports.CampaignAssetsUploadFields = void 0;
16
+ const abstractEntity_1 = require("../../../abstractEntity");
17
+ const assetsUpload_1 = require("./assets/assetsUpload");
18
+ var CampaignAssetsUploadFields;
19
+ (function (CampaignAssetsUploadFields) {
20
+ CampaignAssetsUploadFields["COLUMN_ASSETS"] = "assets";
21
+ })(CampaignAssetsUploadFields = exports.CampaignAssetsUploadFields || (exports.CampaignAssetsUploadFields = {}));
22
+ class CampaignAssetsUpload extends abstractEntity_1.AbstractEntity {
23
+ constructor(CampaignAssetsInput) {
24
+ super(CampaignAssetsInput);
25
+ _CampaignAssetsUpload_assets.set(this, void 0);
26
+ __classPrivateFieldSet(this, _CampaignAssetsUpload_assets, CampaignAssetsInput[CampaignAssetsUploadFields.COLUMN_ASSETS].map((asset) => new assetsUpload_1.AssetsUpload(asset)), "f");
27
+ }
28
+ get assets() {
29
+ return __classPrivateFieldGet(this, _CampaignAssetsUpload_assets, "f");
30
+ }
31
+ toJSON() {
32
+ return {
33
+ [CampaignAssetsUploadFields.COLUMN_ASSETS]: this.assets.map((asset) => asset.toJSON()),
34
+ };
35
+ }
36
+ }
37
+ exports.CampaignAssetsUpload = CampaignAssetsUpload;
38
+ _CampaignAssetsUpload_assets = new WeakMap();
39
+ //# sourceMappingURL=campaignAssetsUpload.js.map
@@ -1,20 +1,22 @@
1
1
  import * as AssetsCampaignAssets from './entities/campaignAssets/assets/assets';
2
+ export * from './campaignClient';
2
3
  export * from './entities/campaign/banners/banners';
3
- export * from './entities/campaign/landingPage/landingPageFooter/landingPageFooter';
4
- export * from './entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature';
4
+ export * from './entities/campaign/campaign';
5
+ export * from './entities/campaign/campaignAggregation';
5
6
  export * from './entities/campaign/landingPage/landingPage';
6
7
  export * from './entities/campaign/landingPage/landingPageBody';
8
+ export * from './entities/campaign/landingPage/landingPageFooter/landingPageFooter';
9
+ export * from './entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature';
7
10
  export * from './entities/campaign/landingPage/landingPageHeader';
8
11
  export * from './entities/campaign/rules/rules';
9
- export * from './entities/campaign/campaign';
12
+ export * from './entities/campaignAssets/campaignAssets';
13
+ export * from './entities/campaignAssets/campaignAssetsUpload';
10
14
  export * from './entities/v2/campaign/banner/banner';
15
+ export * from './entities/v2/campaign/campaign';
16
+ export * from './entities/v2/campaign/landingPage/landingPage';
11
17
  export * from './entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter';
12
18
  export * from './entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature';
13
19
  export * from './entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem';
14
- export * from './entities/v2/campaign/landingPage/landingPage';
15
20
  export * from './entities/v2/campaign/landingPage/landingPageHeader';
16
- export * from './entities/v2/campaign/campaign';
17
21
  export * from './entities/v2/campaignList';
18
22
  export { AssetsCampaignAssets };
19
- export * from './entities/campaignAssets/campaignAssets';
20
- export * from './campaignClient';
@@ -29,22 +29,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.AssetsCampaignAssets = void 0;
30
30
  const AssetsCampaignAssets = __importStar(require("./entities/campaignAssets/assets/assets"));
31
31
  exports.AssetsCampaignAssets = AssetsCampaignAssets;
32
+ __exportStar(require("./campaignClient"), exports);
32
33
  __exportStar(require("./entities/campaign/banners/banners"), exports);
33
- __exportStar(require("./entities/campaign/landingPage/landingPageFooter/landingPageFooter"), exports);
34
- __exportStar(require("./entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature"), exports);
34
+ __exportStar(require("./entities/campaign/campaign"), exports);
35
+ __exportStar(require("./entities/campaign/campaignAggregation"), exports);
35
36
  __exportStar(require("./entities/campaign/landingPage/landingPage"), exports);
36
37
  __exportStar(require("./entities/campaign/landingPage/landingPageBody"), exports);
38
+ __exportStar(require("./entities/campaign/landingPage/landingPageFooter/landingPageFooter"), exports);
39
+ __exportStar(require("./entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature"), exports);
37
40
  __exportStar(require("./entities/campaign/landingPage/landingPageHeader"), exports);
38
41
  __exportStar(require("./entities/campaign/rules/rules"), exports);
39
- __exportStar(require("./entities/campaign/campaign"), exports);
42
+ __exportStar(require("./entities/campaignAssets/campaignAssets"), exports);
43
+ __exportStar(require("./entities/campaignAssets/campaignAssetsUpload"), exports);
40
44
  __exportStar(require("./entities/v2/campaign/banner/banner"), exports);
45
+ __exportStar(require("./entities/v2/campaign/campaign"), exports);
46
+ __exportStar(require("./entities/v2/campaign/landingPage/landingPage"), exports);
41
47
  __exportStar(require("./entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter"), exports);
42
48
  __exportStar(require("./entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature"), exports);
43
49
  __exportStar(require("./entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem"), exports);
44
- __exportStar(require("./entities/v2/campaign/landingPage/landingPage"), exports);
45
50
  __exportStar(require("./entities/v2/campaign/landingPage/landingPageHeader"), exports);
46
- __exportStar(require("./entities/v2/campaign/campaign"), exports);
47
51
  __exportStar(require("./entities/v2/campaignList"), exports);
48
- __exportStar(require("./entities/campaignAssets/campaignAssets"), exports);
49
- __exportStar(require("./campaignClient"), exports);
50
52
  //# sourceMappingURL=index.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.166.0",
7
+ "version": "3.167.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",