@tolinax/ayoune-interfaces 2025.16.24 → 2026.2.3
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/README.md +132 -132
- package/api/IResponseLocals.d.ts +65 -17
- package/data/modelNames.d.ts +1 -0
- package/data/modelNames.js +1 -0
- package/data/modelsAndRights.js +10 -0
- package/interfaces/CostBucketResult.d.ts +40 -0
- package/interfaces/IAdvertiserDomainKPI.d.ts +9 -0
- package/interfaces/IAdvertiserDomainKPI.js +2 -0
- package/interfaces/IGeoIPLocation.d.ts +17 -0
- package/interfaces/IGeoIPLocation.js +2 -0
- package/interfaces/IGoogleAdsAccount.d.ts +19 -0
- package/interfaces/IGoogleAdsAccount.js +2 -0
- package/interfaces/IGratifyLoopView.d.ts +8 -0
- package/interfaces/IGratifyLoopView.js +2 -0
- package/interfaces/IIABCategoryMappings.d.ts +11 -0
- package/interfaces/IIABCategoryMappings.js +2 -0
- package/interfaces/IIndustryBudget.d.ts +22 -0
- package/interfaces/IIndustryBudget.js +2 -0
- package/interfaces/IIndustryKPIs.d.ts +20 -0
- package/interfaces/IIndustryKPIs.js +2 -0
- package/interfaces/IModel.d.ts +3 -0
- package/interfaces/IModel.js +2 -0
- package/interfaces/IStreamPart.d.ts +0 -0
- package/interfaces/IStreamPart.js +1 -0
- package/interfaces/IValues.d.ts +3 -0
- package/interfaces/IValues.js +2 -0
- package/interfaces/IaYOUneAdvertisementLocation.d.ts +12 -0
- package/interfaces/IaYOUneAdvertisementLocation.js +2 -0
- package/interfaces/IaYOUneDomainMeta.d.ts +6 -0
- package/interfaces/IaYOUneDomainMeta.js +2 -0
- package/interfaces/IaYOUneKeywordKPIs.d.ts +162 -0
- package/interfaces/IaYOUneKeywordKPIs.js +13 -0
- package/interfaces/IaYOUneSocialAccounts.d.ts +19 -0
- package/interfaces/IaYOUneSocialAccounts.js +2 -0
- package/interfaces/IaYOUneTrackingParams.d.ts +174 -1
- package/interfaces/index.d.ts +1 -0
- package/interfaces/index.js +1 -0
- package/interfaces//303/216CostBucketResult.d.ts +40 -0
- package/interfaces//303/216CostBucketResult.js +2 -0
- package/package.json +107 -107
- package/interfaces/ICardReaders.d.ts +0 -11
- /package/interfaces/{ICardReaders.js → CostBucketResult.js} +0 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
declare enum Environment {
|
|
3
|
+
production = "production",
|
|
4
|
+
lab = "lab",
|
|
5
|
+
all = "all"
|
|
6
|
+
}
|
|
7
|
+
declare enum Device {
|
|
8
|
+
mobile = "mobile",
|
|
9
|
+
desktop = "desktop"
|
|
10
|
+
}
|
|
11
|
+
interface LastChecks {
|
|
12
|
+
mobile?: Date;
|
|
13
|
+
desktop?: Date;
|
|
14
|
+
priceRange?: Date;
|
|
15
|
+
price?: Date;
|
|
16
|
+
trends?: Date;
|
|
17
|
+
keyword_planner?: Date;
|
|
18
|
+
}
|
|
19
|
+
interface Cost {
|
|
20
|
+
createdAt?: Date;
|
|
21
|
+
bid?: number;
|
|
22
|
+
grp?: number;
|
|
23
|
+
cpc?: number;
|
|
24
|
+
cpd?: number;
|
|
25
|
+
cost?: number;
|
|
26
|
+
impressions?: number;
|
|
27
|
+
ctr?: number;
|
|
28
|
+
}
|
|
29
|
+
interface Annotation {
|
|
30
|
+
name?: string;
|
|
31
|
+
concept_group: {
|
|
32
|
+
name?: string;
|
|
33
|
+
type?: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
interface MonthlySearch {
|
|
37
|
+
year?: string;
|
|
38
|
+
month?: string;
|
|
39
|
+
monthly_searches?: number;
|
|
40
|
+
}
|
|
41
|
+
interface Related {
|
|
42
|
+
_keyword?: string;
|
|
43
|
+
}
|
|
44
|
+
interface Question {
|
|
45
|
+
_keyword?: string;
|
|
46
|
+
}
|
|
47
|
+
interface Preposition {
|
|
48
|
+
modifier?: string;
|
|
49
|
+
_keyword?: string;
|
|
50
|
+
}
|
|
51
|
+
interface Comparison {
|
|
52
|
+
modifier?: string;
|
|
53
|
+
_keyword?: string;
|
|
54
|
+
}
|
|
55
|
+
interface Alphabetical {
|
|
56
|
+
modifier?: string;
|
|
57
|
+
_keyword?: string;
|
|
58
|
+
}
|
|
59
|
+
interface Translation {
|
|
60
|
+
locale?: string;
|
|
61
|
+
_keyword?: string;
|
|
62
|
+
}
|
|
63
|
+
interface IABCategory {
|
|
64
|
+
_id?: string;
|
|
65
|
+
label?: string;
|
|
66
|
+
parent?: string;
|
|
67
|
+
count?: number;
|
|
68
|
+
}
|
|
69
|
+
export interface IaYOUneKeyword extends IDefaultFields {
|
|
70
|
+
lab?: boolean;
|
|
71
|
+
environment?: Environment;
|
|
72
|
+
keyword: string;
|
|
73
|
+
niceName?: string;
|
|
74
|
+
locale: string;
|
|
75
|
+
last_checks?: LastChecks;
|
|
76
|
+
_lastDevice?: string;
|
|
77
|
+
lastDeviceKind?: Device;
|
|
78
|
+
next_check?: Date;
|
|
79
|
+
needsCheck?: boolean;
|
|
80
|
+
needsManualIndustrySelection?: boolean;
|
|
81
|
+
active?: boolean;
|
|
82
|
+
isQuestion?: boolean;
|
|
83
|
+
isMisspelling?: boolean;
|
|
84
|
+
isMisspellingOf?: string;
|
|
85
|
+
correctSpelling?: string;
|
|
86
|
+
keywordPlanner?: boolean;
|
|
87
|
+
hasAds?: boolean;
|
|
88
|
+
hasAdsOnMobile?: boolean;
|
|
89
|
+
hasAdsOnTablet?: boolean;
|
|
90
|
+
hasAdsOnDesktop?: boolean;
|
|
91
|
+
hasPLA?: boolean;
|
|
92
|
+
hasPLAOnMobile?: boolean;
|
|
93
|
+
hasPLAOnTablet?: boolean;
|
|
94
|
+
hasPLAOnDesktop?: boolean;
|
|
95
|
+
hasSEA?: boolean;
|
|
96
|
+
hasSEAOnMobile?: boolean;
|
|
97
|
+
hasSEAOnTablet?: boolean;
|
|
98
|
+
hasSEAOnDesktop?: boolean;
|
|
99
|
+
hasFlights?: boolean;
|
|
100
|
+
hasFlightsOnMobile?: boolean;
|
|
101
|
+
hasFlightsOnTablet?: boolean;
|
|
102
|
+
hasFlightsOnDesktop?: boolean;
|
|
103
|
+
hasBooking?: boolean;
|
|
104
|
+
hasBookingOnMobile?: boolean;
|
|
105
|
+
hasBookingOnTablet?: boolean;
|
|
106
|
+
hasBookingOnDesktop?: boolean;
|
|
107
|
+
hasKnowledgeGraph?: boolean;
|
|
108
|
+
hasKnowledgeGraphsOnMobile?: boolean;
|
|
109
|
+
hasKnowledgeGraphsOnTablet?: boolean;
|
|
110
|
+
hasKnowledgeGraphOnDesktop?: boolean;
|
|
111
|
+
hasBooks?: boolean;
|
|
112
|
+
hasVideos?: boolean;
|
|
113
|
+
hasCosts?: boolean;
|
|
114
|
+
hasTrends?: boolean;
|
|
115
|
+
avgGrp?: number;
|
|
116
|
+
avgCpc?: number;
|
|
117
|
+
avgCpcGoogle?: number;
|
|
118
|
+
avgCpcIndustry?: number;
|
|
119
|
+
avgCpd?: number;
|
|
120
|
+
avgCpdIndustry?: number;
|
|
121
|
+
avgCost?: number;
|
|
122
|
+
avgCostIndustry?: number;
|
|
123
|
+
avgCtr?: number;
|
|
124
|
+
avgCtrIndustry?: number;
|
|
125
|
+
avgImpressions?: number;
|
|
126
|
+
avgImpressionsIndustry?: number;
|
|
127
|
+
breakPointMin?: number;
|
|
128
|
+
breakPointMax?: number;
|
|
129
|
+
breakPointAvg?: number;
|
|
130
|
+
costs?: Cost[];
|
|
131
|
+
domainAssumptions?: any[];
|
|
132
|
+
domainProves?: any[];
|
|
133
|
+
interest?: number;
|
|
134
|
+
competition?: string;
|
|
135
|
+
competitionIndex?: number;
|
|
136
|
+
participants?: number;
|
|
137
|
+
competitiveness?: number;
|
|
138
|
+
avgMonthlySearches?: number;
|
|
139
|
+
lowTopOfPageBidMicros?: number;
|
|
140
|
+
highTopOfPageBidMicros?: number;
|
|
141
|
+
annotations?: Annotation[];
|
|
142
|
+
monthlySearches?: MonthlySearch[];
|
|
143
|
+
type?: string;
|
|
144
|
+
kind?: string;
|
|
145
|
+
origin?: string;
|
|
146
|
+
industry?: ObjectId;
|
|
147
|
+
subIndustry?: ObjectId;
|
|
148
|
+
related?: Related[];
|
|
149
|
+
synonyms?: Related[];
|
|
150
|
+
questions?: Question[];
|
|
151
|
+
prepositions?: Preposition[];
|
|
152
|
+
comparisons?: Comparison[];
|
|
153
|
+
alphabeticals?: Alphabetical[];
|
|
154
|
+
translations?: Translation[];
|
|
155
|
+
serps?: string[];
|
|
156
|
+
IABCategories?: IABCategory[];
|
|
157
|
+
mainCategory?: string;
|
|
158
|
+
mainCategoryLabel?: string;
|
|
159
|
+
subCategory?: string;
|
|
160
|
+
subCategoryLabel?: string;
|
|
161
|
+
}
|
|
162
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var Environment;
|
|
4
|
+
(function (Environment) {
|
|
5
|
+
Environment["production"] = "production";
|
|
6
|
+
Environment["lab"] = "lab";
|
|
7
|
+
Environment["all"] = "all";
|
|
8
|
+
})(Environment || (Environment = {}));
|
|
9
|
+
var Device;
|
|
10
|
+
(function (Device) {
|
|
11
|
+
Device["mobile"] = "mobile";
|
|
12
|
+
Device["desktop"] = "desktop";
|
|
13
|
+
})(Device || (Device = {}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
export interface IaYOUneSocialAccount extends IDefaultFields {
|
|
3
|
+
name: string;
|
|
4
|
+
meta: {
|
|
5
|
+
active: boolean;
|
|
6
|
+
oAuthLink: string;
|
|
7
|
+
keyGenLink: string;
|
|
8
|
+
};
|
|
9
|
+
googleAdsClient: {
|
|
10
|
+
client_id: string;
|
|
11
|
+
client_secret: string;
|
|
12
|
+
developer_token: string;
|
|
13
|
+
};
|
|
14
|
+
customerClient: {
|
|
15
|
+
customer_id: string;
|
|
16
|
+
login_customer_id: string;
|
|
17
|
+
refresh_token: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -4,7 +4,179 @@ export interface IaYOUneEvent {
|
|
|
4
4
|
label?: string;
|
|
5
5
|
value?: string;
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
7
|
+
export interface IFingerprintData {
|
|
8
|
+
requestId?: string;
|
|
9
|
+
url?: string;
|
|
10
|
+
ip?: string;
|
|
11
|
+
environmentId?: string;
|
|
12
|
+
time?: string;
|
|
13
|
+
timestamp?: number;
|
|
14
|
+
ipLocation?: {
|
|
15
|
+
accuracyRadius?: number;
|
|
16
|
+
latitude?: number;
|
|
17
|
+
longitude?: number;
|
|
18
|
+
postalCode?: string;
|
|
19
|
+
timezone?: string;
|
|
20
|
+
city?: {
|
|
21
|
+
name?: string;
|
|
22
|
+
};
|
|
23
|
+
country?: {
|
|
24
|
+
code?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
};
|
|
27
|
+
continent?: {
|
|
28
|
+
code?: string;
|
|
29
|
+
name?: string;
|
|
30
|
+
};
|
|
31
|
+
subdivisions?: Array<{
|
|
32
|
+
isoCode?: string;
|
|
33
|
+
name?: string;
|
|
34
|
+
}>;
|
|
35
|
+
};
|
|
36
|
+
visitorId?: string;
|
|
37
|
+
visitorFound?: boolean;
|
|
38
|
+
confidence?: {
|
|
39
|
+
score?: number;
|
|
40
|
+
revision?: string;
|
|
41
|
+
};
|
|
42
|
+
firstSeenAt?: {
|
|
43
|
+
global?: string;
|
|
44
|
+
subscription?: string;
|
|
45
|
+
};
|
|
46
|
+
lastSeenAt?: {
|
|
47
|
+
global?: string;
|
|
48
|
+
subscription?: string;
|
|
49
|
+
};
|
|
50
|
+
browserDetails?: {
|
|
51
|
+
browserName?: string;
|
|
52
|
+
browserMajorVersion?: string;
|
|
53
|
+
browserFullVersion?: string;
|
|
54
|
+
os?: string;
|
|
55
|
+
osVersion?: string;
|
|
56
|
+
device?: string;
|
|
57
|
+
userAgent?: string;
|
|
58
|
+
};
|
|
59
|
+
incognito?: boolean;
|
|
60
|
+
clientReferrer?: string;
|
|
61
|
+
bot?: {
|
|
62
|
+
result?: string;
|
|
63
|
+
};
|
|
64
|
+
userAgent?: string;
|
|
65
|
+
rootApps?: {
|
|
66
|
+
result?: boolean;
|
|
67
|
+
};
|
|
68
|
+
emulator?: {
|
|
69
|
+
result?: boolean;
|
|
70
|
+
};
|
|
71
|
+
ipInfo?: {
|
|
72
|
+
v4?: IIpInfoDetail;
|
|
73
|
+
v6?: IIpInfoDetail;
|
|
74
|
+
};
|
|
75
|
+
ipBlocklist?: {
|
|
76
|
+
result?: boolean;
|
|
77
|
+
details?: {
|
|
78
|
+
emailSpam?: boolean;
|
|
79
|
+
attackSource?: boolean;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
tor?: {
|
|
83
|
+
result?: boolean;
|
|
84
|
+
};
|
|
85
|
+
vpn?: {
|
|
86
|
+
result?: boolean;
|
|
87
|
+
confidence?: string;
|
|
88
|
+
originTimezone?: string;
|
|
89
|
+
originCountry?: string;
|
|
90
|
+
methods?: {
|
|
91
|
+
timezoneMismatch?: boolean;
|
|
92
|
+
publicVPN?: boolean;
|
|
93
|
+
auxiliaryMobile?: boolean;
|
|
94
|
+
osMismatch?: boolean;
|
|
95
|
+
relay?: boolean;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
proxy?: {
|
|
99
|
+
result?: boolean;
|
|
100
|
+
confidence?: string;
|
|
101
|
+
};
|
|
102
|
+
tampering?: {
|
|
103
|
+
result?: boolean;
|
|
104
|
+
anomalyScore?: number;
|
|
105
|
+
antiDetectBrowser?: boolean;
|
|
106
|
+
};
|
|
107
|
+
clonedApp?: {
|
|
108
|
+
result?: boolean;
|
|
109
|
+
};
|
|
110
|
+
factoryReset?: {
|
|
111
|
+
time?: string;
|
|
112
|
+
timestamp?: number;
|
|
113
|
+
};
|
|
114
|
+
jailbroken?: {
|
|
115
|
+
result?: boolean;
|
|
116
|
+
};
|
|
117
|
+
frida?: {
|
|
118
|
+
result?: boolean;
|
|
119
|
+
};
|
|
120
|
+
privacySettings?: {
|
|
121
|
+
result?: boolean;
|
|
122
|
+
};
|
|
123
|
+
virtualMachine?: {
|
|
124
|
+
result?: boolean;
|
|
125
|
+
};
|
|
126
|
+
highActivity?: {
|
|
127
|
+
result?: boolean;
|
|
128
|
+
};
|
|
129
|
+
locationSpoofing?: {
|
|
130
|
+
result?: boolean;
|
|
131
|
+
};
|
|
132
|
+
suspectScore?: {
|
|
133
|
+
result?: number;
|
|
134
|
+
};
|
|
135
|
+
velocity?: {
|
|
136
|
+
distinctIp?: IVelocityIntervals;
|
|
137
|
+
distinctCountry?: IVelocityIntervals;
|
|
138
|
+
events?: IVelocityIntervals;
|
|
139
|
+
ipEvents?: IVelocityIntervals;
|
|
140
|
+
};
|
|
141
|
+
developerTools?: {
|
|
142
|
+
result?: boolean;
|
|
143
|
+
};
|
|
144
|
+
mitmAttack?: {
|
|
145
|
+
result?: boolean;
|
|
146
|
+
};
|
|
147
|
+
replayed?: boolean;
|
|
148
|
+
sdk?: {
|
|
149
|
+
platform?: string;
|
|
150
|
+
version?: string;
|
|
151
|
+
};
|
|
152
|
+
proximity?: {
|
|
153
|
+
id?: string;
|
|
154
|
+
precisionRadius?: number;
|
|
155
|
+
confidence?: number;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
interface IIpInfoDetail {
|
|
159
|
+
address?: string;
|
|
160
|
+
geolocation?: any;
|
|
161
|
+
asn?: {
|
|
162
|
+
asn?: string;
|
|
163
|
+
name?: string;
|
|
164
|
+
network?: string;
|
|
165
|
+
type?: string;
|
|
166
|
+
};
|
|
167
|
+
datacenter?: {
|
|
168
|
+
result?: boolean;
|
|
169
|
+
name?: string;
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
interface IVelocityIntervals {
|
|
173
|
+
intervals?: {
|
|
174
|
+
"5m"?: number;
|
|
175
|
+
"1h"?: number;
|
|
176
|
+
"24h"?: number;
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
export interface IaYOUneTrackingParams extends IFingerprintData {
|
|
8
180
|
ayoune_ac?: string;
|
|
9
181
|
ayoune_ucd?: string;
|
|
10
182
|
ayoune_fp?: string[] | string;
|
|
@@ -78,3 +250,4 @@ export interface IaYOUneTrackingParams {
|
|
|
78
250
|
searchEngine?: string;
|
|
79
251
|
site?: string;
|
|
80
252
|
}
|
|
253
|
+
export {};
|
package/interfaces/index.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ export * from "./IGlobalKPITemplate";
|
|
|
292
292
|
export * from "./IGlobalSetting";
|
|
293
293
|
export * from "./IGlossary";
|
|
294
294
|
export * from "./IGoal";
|
|
295
|
+
export * from "./IGratifyLoopView";
|
|
295
296
|
export * from "./IGoodsReceipt";
|
|
296
297
|
export * from "./IaYOUneGoogleAdsAccount";
|
|
297
298
|
export * from "./IGoogleAssistantIntent";
|
package/interfaces/index.js
CHANGED
|
@@ -308,6 +308,7 @@ __exportStar(require("./IGlobalKPITemplate"), exports);
|
|
|
308
308
|
__exportStar(require("./IGlobalSetting"), exports);
|
|
309
309
|
__exportStar(require("./IGlossary"), exports);
|
|
310
310
|
__exportStar(require("./IGoal"), exports);
|
|
311
|
+
__exportStar(require("./IGratifyLoopView"), exports);
|
|
311
312
|
__exportStar(require("./IGoodsReceipt"), exports);
|
|
312
313
|
__exportStar(require("./IaYOUneGoogleAdsAccount"), exports);
|
|
313
314
|
__exportStar(require("./IGoogleAssistantIntent"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
export interface ICostBucketResult extends IDefaultFields {
|
|
3
|
+
lab: boolean;
|
|
4
|
+
environment: "production" | "lab" | "all";
|
|
5
|
+
_customerID: ObjectId;
|
|
6
|
+
_research: ObjectId;
|
|
7
|
+
date?: Date;
|
|
8
|
+
numKeywords?: number;
|
|
9
|
+
bid?: number;
|
|
10
|
+
maxCPC?: number;
|
|
11
|
+
avgCPC?: number;
|
|
12
|
+
minCPC?: number;
|
|
13
|
+
maxCost?: number;
|
|
14
|
+
avgCost?: number;
|
|
15
|
+
minCost?: number;
|
|
16
|
+
maxClicks?: number;
|
|
17
|
+
avgClicks?: number;
|
|
18
|
+
minClicks?: number;
|
|
19
|
+
maxImpressions?: number;
|
|
20
|
+
avgImpressions?: number;
|
|
21
|
+
minImpressions?: number;
|
|
22
|
+
maxConversions?: number;
|
|
23
|
+
avgConversions?: number;
|
|
24
|
+
minConversions?: number;
|
|
25
|
+
maxConversionRate?: number;
|
|
26
|
+
avgConversionRate?: number;
|
|
27
|
+
minConversionRate?: number;
|
|
28
|
+
maxCTR?: number;
|
|
29
|
+
avgCTR?: number;
|
|
30
|
+
minCTR?: number;
|
|
31
|
+
maxCPA?: number;
|
|
32
|
+
avgCPA?: number;
|
|
33
|
+
minCPA?: number;
|
|
34
|
+
maxAds?: number;
|
|
35
|
+
breakPointMin?: number;
|
|
36
|
+
breakPointMax?: number;
|
|
37
|
+
breakPointAvg?: number;
|
|
38
|
+
market?: string;
|
|
39
|
+
category?: string;
|
|
40
|
+
}
|
package/package.json
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tolinax/ayoune-interfaces",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Houses TypeScript interfaces for aYOUne",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "npx tsc",
|
|
9
|
-
"copy-package": "cpx package.json dist",
|
|
10
|
-
"copy-readme": "cpx README.md dist",
|
|
11
|
-
"prerelease": "npm run build",
|
|
12
|
-
"release": "release-it --ci",
|
|
13
|
-
"postrelease": "npm run release-package",
|
|
14
|
-
"prerelease-package": "npm run copy-package && npm run copy-readme",
|
|
15
|
-
"release-package": "cd dist && npm publish",
|
|
16
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
17
|
-
},
|
|
18
|
-
"repository": {
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "git+https://github.com/ayoune/ayoune-interfaces.git"
|
|
21
|
-
},
|
|
22
|
-
"keywords": [
|
|
23
|
-
"typescript",
|
|
24
|
-
"interfaces"
|
|
25
|
-
],
|
|
26
|
-
"author": "tolinax",
|
|
27
|
-
"license": "LGPL-3.0",
|
|
28
|
-
"bugs": {
|
|
29
|
-
"url": "https://github.com/ayoune/ayoune-interfaces/issues"
|
|
30
|
-
},
|
|
31
|
-
"homepage": "https://github.com/ayoune/ayoune-interfaces#readme",
|
|
32
|
-
"release-it": {
|
|
33
|
-
"git": {
|
|
34
|
-
"changelog": "git log --pretty=format:\"* %s (%h)\" ${from}...${to}",
|
|
35
|
-
"requireCleanWorkingDir": false,
|
|
36
|
-
"addUntrackedFiles": true,
|
|
37
|
-
"commit": true,
|
|
38
|
-
"push": true,
|
|
39
|
-
"commitMessage": "ci(chore): release v${version}\n\n${changelog}",
|
|
40
|
-
"tag": true
|
|
41
|
-
},
|
|
42
|
-
"npm": {
|
|
43
|
-
"publish": false
|
|
44
|
-
},
|
|
45
|
-
"plugins": {
|
|
46
|
-
"@release-it/conventional-changelog": {
|
|
47
|
-
"preset": {
|
|
48
|
-
"name": "conventionalcommits",
|
|
49
|
-
"header": "# Changelog",
|
|
50
|
-
"types": [
|
|
51
|
-
{
|
|
52
|
-
"type": "feat",
|
|
53
|
-
"section": "Features"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"type": "fix",
|
|
57
|
-
"section": "Bug Fixes"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "chore",
|
|
61
|
-
"section": "Chores"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"type": "docs",
|
|
65
|
-
"section": "Docs"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"type": "style",
|
|
69
|
-
"section": "Style changes"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"type": "refactor",
|
|
73
|
-
"section": "Refactorings"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"type": "perf",
|
|
77
|
-
"section": "Performance"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"type": "test",
|
|
81
|
-
"section": "Tests"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"type": "ci",
|
|
85
|
-
"section": "Continous Integration"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"type": "build",
|
|
89
|
-
"section": "Build Process"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"type": "infra",
|
|
93
|
-
"section": "Infrastructure"
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
"infile": "CHANGELOG.md"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"dependencies": {},
|
|
102
|
-
"devDependencies": {
|
|
103
|
-
"@release-it/conventional-changelog": "^5.0.0",
|
|
104
|
-
"cpx": "^1.5.0",
|
|
105
|
-
"typescript": "^5.3.3"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@tolinax/ayoune-interfaces",
|
|
3
|
+
"version": "2026.2.3",
|
|
4
|
+
"description": "Houses TypeScript interfaces for aYOUne",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "npx tsc",
|
|
9
|
+
"copy-package": "cpx package.json dist",
|
|
10
|
+
"copy-readme": "cpx README.md dist",
|
|
11
|
+
"prerelease": "npm run build",
|
|
12
|
+
"release": "release-it --ci",
|
|
13
|
+
"postrelease": "npm run release-package",
|
|
14
|
+
"prerelease-package": "npm run copy-package && npm run copy-readme",
|
|
15
|
+
"release-package": "cd dist && npm publish",
|
|
16
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/ayoune/ayoune-interfaces.git"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"typescript",
|
|
24
|
+
"interfaces"
|
|
25
|
+
],
|
|
26
|
+
"author": "tolinax",
|
|
27
|
+
"license": "LGPL-3.0",
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/ayoune/ayoune-interfaces/issues"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://github.com/ayoune/ayoune-interfaces#readme",
|
|
32
|
+
"release-it": {
|
|
33
|
+
"git": {
|
|
34
|
+
"changelog": "git log --pretty=format:\"* %s (%h)\" ${from}...${to}",
|
|
35
|
+
"requireCleanWorkingDir": false,
|
|
36
|
+
"addUntrackedFiles": true,
|
|
37
|
+
"commit": true,
|
|
38
|
+
"push": true,
|
|
39
|
+
"commitMessage": "ci(chore): release v${version}\n\n${changelog}",
|
|
40
|
+
"tag": true
|
|
41
|
+
},
|
|
42
|
+
"npm": {
|
|
43
|
+
"publish": false
|
|
44
|
+
},
|
|
45
|
+
"plugins": {
|
|
46
|
+
"@release-it/conventional-changelog": {
|
|
47
|
+
"preset": {
|
|
48
|
+
"name": "conventionalcommits",
|
|
49
|
+
"header": "# Changelog",
|
|
50
|
+
"types": [
|
|
51
|
+
{
|
|
52
|
+
"type": "feat",
|
|
53
|
+
"section": "Features"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"type": "fix",
|
|
57
|
+
"section": "Bug Fixes"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "chore",
|
|
61
|
+
"section": "Chores"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "docs",
|
|
65
|
+
"section": "Docs"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "style",
|
|
69
|
+
"section": "Style changes"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "refactor",
|
|
73
|
+
"section": "Refactorings"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "perf",
|
|
77
|
+
"section": "Performance"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "test",
|
|
81
|
+
"section": "Tests"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "ci",
|
|
85
|
+
"section": "Continous Integration"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "build",
|
|
89
|
+
"section": "Build Process"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"type": "infra",
|
|
93
|
+
"section": "Infrastructure"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"infile": "CHANGELOG.md"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"dependencies": {},
|
|
102
|
+
"devDependencies": {
|
|
103
|
+
"@release-it/conventional-changelog": "^5.0.0",
|
|
104
|
+
"cpx": "^1.5.0",
|
|
105
|
+
"typescript": "^5.3.3"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
-
export interface ICardReader extends IDefaultFields {
|
|
3
|
-
_customerID: ObjectId;
|
|
4
|
-
_clientID?: ObjectId[];
|
|
5
|
-
_subID?: ObjectId[];
|
|
6
|
-
name?: string;
|
|
7
|
-
provider?: "PayPal" | "Stripe" | "SumUp" | "Mollie";
|
|
8
|
-
status?: string;
|
|
9
|
-
device?: any;
|
|
10
|
-
meta?: any;
|
|
11
|
-
}
|
|
File without changes
|