@bprotsyk/aso-core 1.2.226 → 1.2.228
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/lib/index.d.ts +4 -0
- package/lib/offers/offer.d.ts +1 -5
- package/lib/offers/offer.js +5 -1
- package/lib/offers/offerwall/offerwall-home-dialog-data.d.ts +6 -0
- package/lib/offers/offerwall/offerwall-home-dialog-data.js +2 -0
- package/lib/offers/offerwall/offerwall-offer.d.ts +8 -0
- package/lib/offers/offerwall/offerwall-offer.js +2 -0
- package/lib/offers/offerwall/offerwall-response.d.ts +6 -0
- package/lib/offers/offerwall/offerwall-response.js +2 -0
- package/lib/offers/offerwall/offerwall-section.d.ts +6 -0
- package/lib/offers/offerwall/offerwall-section.js +2 -0
- package/package.json +1 -1
- package/src/index.ts +4 -0
- package/src/offers/offer.ts +5 -1
- package/src/offers/offerwall/offerwall-home-dialog-data.ts +6 -0
- package/src/offers/offerwall/offerwall-offer.ts +8 -0
- package/src/offers/offerwall/offerwall-response.ts +7 -0
- package/src/offers/offerwall/offerwall-section.ts +7 -0
package/lib/index.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export { IPanelUser, PanelUserAccessScope, PanelUserSchema } from "./panel/user"
|
|
|
10
10
|
export { IAuthToken } from "./panel/auth";
|
|
11
11
|
export { IUpsertAppRequest, IUpsertAppResponse } from "./panel/flash/upsert-flash-app-request";
|
|
12
12
|
export { IGradient, IStroke, IShape, ShapeDiv } from "./general/shape";
|
|
13
|
+
export { IOfferWallHomeDialogData } from "./offers/offerwall/offerwall-home-dialog-data";
|
|
14
|
+
export { IOfferWallOffer } from "./offers/offerwall/offerwall-offer";
|
|
15
|
+
export { IOfferWallResponse } from "./offers/offerwall/offerwall-response";
|
|
16
|
+
export { IOfferWallSection } from "./offers/offerwall/offerwall-section";
|
|
13
17
|
export { KeitaroService, IKeitaroOffersFilter } from "./network/keitaro/keitaro-service";
|
|
14
18
|
export * as KeitaroUtils from "./utils/keitaro-utils";
|
|
15
19
|
export { IKeitaroCampaign, IKeitaroCampaignParameters, IKeitaroCampaignParameter } from "./keitaro/keitaro-campaign";
|
package/lib/offers/offer.d.ts
CHANGED
|
@@ -67,13 +67,9 @@ export declare const PartnerSchema: Schema<any, Model<any, any, any, any, any>,
|
|
|
67
67
|
shortName?: string | undefined;
|
|
68
68
|
}>;
|
|
69
69
|
export declare const OfferSchema: Schema<any, Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
70
|
+
type: string;
|
|
70
71
|
link?: string | undefined;
|
|
71
72
|
name?: string | undefined;
|
|
72
|
-
type?: {
|
|
73
|
-
GAMBLING?: unknown;
|
|
74
|
-
BETTING?: unknown;
|
|
75
|
-
FIN?: unknown;
|
|
76
|
-
} | undefined;
|
|
77
73
|
hidden?: boolean | undefined;
|
|
78
74
|
caption?: string | undefined;
|
|
79
75
|
id?: number | undefined;
|
package/lib/offers/offer.js
CHANGED
|
@@ -25,7 +25,11 @@ exports.OfferSchema = new mongoose_1.Schema({
|
|
|
25
25
|
caption: String,
|
|
26
26
|
link: String,
|
|
27
27
|
partnerId: Number,
|
|
28
|
-
type: {
|
|
28
|
+
type: {
|
|
29
|
+
type: String,
|
|
30
|
+
enum: IOfferType,
|
|
31
|
+
default: IOfferType.GAMBLING
|
|
32
|
+
},
|
|
29
33
|
keitaroId: String,
|
|
30
34
|
hidden: Boolean,
|
|
31
35
|
history: {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IOfferWallHomeDialogData } from "offers/offerwall/offerwall-home-dialog-data";
|
|
2
|
+
import { IOfferWallSection } from "offers/offerwall/offerwall-section";
|
|
3
|
+
export interface IOfferWallResponse {
|
|
4
|
+
sections: IOfferWallSection[];
|
|
5
|
+
homeDialog: IOfferWallHomeDialogData;
|
|
6
|
+
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -14,6 +14,10 @@ export { IAuthToken } from "./panel/auth"
|
|
|
14
14
|
export { IUpsertAppRequest, IUpsertAppResponse } from "./panel/flash/upsert-flash-app-request"
|
|
15
15
|
|
|
16
16
|
export { IGradient, IStroke, IShape, ShapeDiv } from "./general/shape"
|
|
17
|
+
export { IOfferWallHomeDialogData } from "./offers/offerwall/offerwall-home-dialog-data"
|
|
18
|
+
export { IOfferWallOffer } from "./offers/offerwall/offerwall-offer"
|
|
19
|
+
export { IOfferWallResponse } from "./offers/offerwall/offerwall-response"
|
|
20
|
+
export { IOfferWallSection } from "./offers/offerwall/offerwall-section"
|
|
17
21
|
|
|
18
22
|
export { KeitaroService, IKeitaroOffersFilter } from "./network/keitaro/keitaro-service"
|
|
19
23
|
export * as KeitaroUtils from "./utils/keitaro-utils"
|
package/src/offers/offer.ts
CHANGED
|
@@ -64,7 +64,11 @@ export const OfferSchema = new Schema({
|
|
|
64
64
|
caption: String,
|
|
65
65
|
link: String,
|
|
66
66
|
partnerId: Number,
|
|
67
|
-
type: {
|
|
67
|
+
type: {
|
|
68
|
+
type: String,
|
|
69
|
+
enum: IOfferType,
|
|
70
|
+
default: IOfferType.GAMBLING
|
|
71
|
+
},
|
|
68
72
|
keitaroId: String,
|
|
69
73
|
hidden: Boolean,
|
|
70
74
|
history: {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOfferWallHomeDialogData } from "offers/offerwall/offerwall-home-dialog-data";
|
|
2
|
+
import { IOfferWallSection } from "offers/offerwall/offerwall-section";
|
|
3
|
+
|
|
4
|
+
export interface IOfferWallResponse {
|
|
5
|
+
sections: IOfferWallSection[];
|
|
6
|
+
homeDialog: IOfferWallHomeDialogData;
|
|
7
|
+
}
|