gearboxdownloadmodal 8.2.0 → 8.3.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.
@@ -7,6 +7,7 @@ interface CardButtonProps {
7
7
  downloading?: boolean;
8
8
  disabled?: boolean;
9
9
  variant?: "primary" | "secondary";
10
+ typeOfProduct?: string;
10
11
  }
11
12
  declare const CardButton: FC<CardButtonProps>;
12
13
  export default CardButton;
@@ -0,0 +1,12 @@
1
+ import { FC } from 'react';
2
+
3
+ interface EditNetworksModalProps {
4
+ visible: boolean;
5
+ onClose: () => void;
6
+ api: string;
7
+ user: any;
8
+ typeOfProduct: string;
9
+ versionId: string;
10
+ }
11
+ declare const EditNetworksModal: FC<EditNetworksModalProps>;
12
+ export default EditNetworksModal;
@@ -20,6 +20,7 @@ interface TopBarProps {
20
20
  setUrlType: any;
21
21
  allNetworksSelected: boolean;
22
22
  setAllNetworksSelected: (bool: boolean) => void;
23
+ versionId: string;
23
24
  }
24
25
  declare const TopBar: FC<TopBarProps>;
25
26
  export default TopBar;
@@ -4,6 +4,9 @@ interface TopBarNetworkTitleProps {
4
4
  typeOfProduct: string;
5
5
  allNetworksSelected: boolean;
6
6
  setAllNetworksSelected: (bool: boolean) => void;
7
+ api: string;
8
+ user: any;
9
+ versionId: string;
7
10
  }
8
11
  declare const TopBarNetworkTitle: FC<TopBarNetworkTitleProps>;
9
12
  export default TopBarNetworkTitle;
@@ -1,2 +1,2 @@
1
- declare const UrlConfirmModal: ({ onClose, iosLink, googleLink, buttonType, handleCopyLink, download, typeOfProduct, urlType, }: any) => import("react/jsx-runtime").JSX.Element;
1
+ declare const UrlConfirmModal: ({ onClose, iosLink, googleLink, buttonType, handleCopyLink, download, }: any) => import("react/jsx-runtime").JSX.Element;
2
2
  export default UrlConfirmModal;
@@ -0,0 +1,266 @@
1
+ declare const _default: [
2
+ {
3
+ "id": "22",
4
+ "name": "moloco",
5
+ "imageSrc": "https://home.playablefactory.com/moloco.png"
6
+ },
7
+ {
8
+ "id": "44",
9
+ "name": "molocoV2",
10
+ "imageSrc": "https://home.playablefactory.com/molocoV2.png"
11
+ },
12
+ {
13
+ "id": "33",
14
+ "name": "web",
15
+ "imageSrc": "https://home.playablefactory.com/files/network_icons/web.png"
16
+ },
17
+ {
18
+ "id": "1",
19
+ "name": "unity",
20
+ "imageSrc": "https://home.playablefactory.com/unity.png"
21
+ },
22
+ {
23
+ "id": "2",
24
+ "name": "applovin",
25
+ "imageSrc": "https://home.playablefactory.com/applovin.png"
26
+ },
27
+ {
28
+ "id": "3",
29
+ "name": "ironsource",
30
+ "imageSrc": "https://home.playablefactory.com/ironsource.png"
31
+ },
32
+ {
33
+ "id": "4",
34
+ "name": "vungle",
35
+ "imageSrc": "https://home.playablefactory.com/vungle.png"
36
+ },
37
+ {
38
+ "id": "5",
39
+ "name": "mobvista",
40
+ "imageSrc": "https://home.playablefactory.com/mobvista.png"
41
+ },
42
+ {
43
+ "id": "6",
44
+ "name": "facebook",
45
+ "imageSrc": "https://home.playablefactory.com/fb.png"
46
+ },
47
+ {
48
+ "id": "7",
49
+ "name": "toutiao",
50
+ "imageSrc": "https://home.playablefactory.com/toutiao.png"
51
+ },
52
+ {
53
+ "id": "8",
54
+ "name": "toutiao_cn",
55
+ "imageSrc": "https://home.playablefactory.com/toutiao_cn.png"
56
+ },
57
+ {
58
+ "id": "9",
59
+ "name": "adcolony",
60
+ "imageSrc": "https://home.playablefactory.com/adcolony.png"
61
+ },
62
+ {
63
+ "id": "10",
64
+ "name": "criteo",
65
+ "imageSrc": "https://home.playablefactory.com/criteo.png"
66
+ },
67
+ {
68
+ "id": "11",
69
+ "name": "chartboost",
70
+ "imageSrc": "https://home.playablefactory.com/chartboost.png"
71
+ },
72
+ {
73
+ "id": "12",
74
+ "name": "kayzen",
75
+ "imageSrc": "https://home.playablefactory.com/kayzen.png"
76
+ },
77
+ {
78
+ "id": "13",
79
+ "name": "crossinstall",
80
+ "imageSrc": "https://home.playablefactory.com/crossinstall.png"
81
+ },
82
+ {
83
+ "id": "14",
84
+ "name": "default",
85
+ "imageSrc": "https://home.playablefactory.com/default.png"
86
+ },
87
+ {
88
+ "id": "15",
89
+ "name": "fyber",
90
+ "imageSrc": "https://home.playablefactory.com/fyber.png"
91
+ },
92
+ {
93
+ "id": "16",
94
+ "name": "appreciate",
95
+ "imageSrc": "https://home.playablefactory.com/appreciate.png"
96
+ },
97
+ {
98
+ "id": "17",
99
+ "name": "google360",
100
+ "imageSrc": "https://home.playablefactory.com/google360.png"
101
+ },
102
+ {
103
+ "id": "18",
104
+ "name": "kaden",
105
+ "imageSrc": "https://home.playablefactory.com/kaden.png"
106
+ },
107
+ {
108
+ "id": "19",
109
+ "name": "kidoz",
110
+ "imageSrc": "https://home.playablefactory.com/kidoz.png"
111
+ },
112
+ {
113
+ "id": "20",
114
+ "name": "lifestreet",
115
+ "imageSrc": "https://home.playablefactory.com/lifestreet.png"
116
+ },
117
+ {
118
+ "id": "21",
119
+ "name": "liftoff",
120
+ "imageSrc": "https://home.playablefactory.com/liftoff.png"
121
+ },
122
+
123
+ {
124
+ "id": "23",
125
+ "name": "nucleo",
126
+ "imageSrc": "https://home.playablefactory.com/nucleo.png"
127
+ },
128
+ {
129
+ "id": "24",
130
+ "name": "oceanengine",
131
+ "imageSrc": "https://home.playablefactory.com/oceanengine.png"
132
+ },
133
+ {
134
+ "id": "25",
135
+ "name": "pointblank",
136
+ "imageSrc": "https://home.playablefactory.com/pointblank.png"
137
+ },
138
+ {
139
+ "id": "26",
140
+ "name": "snapchat",
141
+ "imageSrc": "https://home.playablefactory.com/snapchat.png"
142
+ },
143
+ {
144
+ "id": "27",
145
+ "name": "tapjoy",
146
+ "imageSrc": "https://home.playablefactory.com/tapjoy.png"
147
+ },
148
+ {
149
+ "id": "28",
150
+ "name": "tencent",
151
+ "imageSrc": "https://home.playablefactory.com/tencent.png"
152
+ },
153
+ {
154
+ "id": "31",
155
+ "name": "aarki",
156
+ "imageSrc": "https://home.playablefactory.com/aarki.png"
157
+ },
158
+ {
159
+ "id": "32",
160
+ "name": "yandex",
161
+ "imageSrc": "https://home.playablefactory.com/yandex.png"
162
+ },
163
+ {
164
+ "id": "34",
165
+ "name": "zucks",
166
+ "imageSrc": "https://home.playablefactory.com/zucks.png"
167
+ },
168
+ {
169
+ "id": "35",
170
+ "name": "google",
171
+ "imageSrc": "https://home.playablefactory.com/google.png"
172
+ },
173
+ {
174
+ "id": "36",
175
+ "name": "inmobi",
176
+ "imageSrc": "https://home.playablefactory.com/inmobi.png"
177
+ },
178
+ {
179
+ "id": "38",
180
+ "name": "smadex",
181
+ "imageSrc": "https://home.playablefactory.com/smadex.png"
182
+ },
183
+ {
184
+ "id": "39",
185
+ "name": "instantGame",
186
+ "imageSrc": "https://home.playablefactory.com/instantGame.png"
187
+ },
188
+ {
189
+ "id": "40",
190
+ "name": "luna",
191
+ "imageSrc": "https://home.playablefactory.com/luna.png"
192
+ },
193
+ {
194
+ "id": "41",
195
+ "name": "nend",
196
+ "imageSrc": "https://home.playablefactory.com/nend.png"
197
+ },
198
+ {
199
+ "id": "42",
200
+ "name": "jammp",
201
+ "imageSrc": "https://home.playablefactory.com/nend.png"
202
+ },
203
+ {
204
+ "id": "43",
205
+ "name": "adjoe",
206
+ "imageSrc": "https://home.playablefactory.com/adjoe.png"
207
+ },
208
+ {
209
+ "id": "45",
210
+ "name": "adikteev",
211
+ "imageSrc": "https://home.playablefactory.com/adikteev.png"
212
+ },
213
+ {
214
+ "id": "46",
215
+ "name": "appier",
216
+ "imageSrc": "https://home.playablefactory.com/appier.png"
217
+ },
218
+ {
219
+ "id": "47",
220
+ "name": "remerge",
221
+ "imageSrc": "https://home.playablefactory.com/remerge.png"
222
+ },
223
+ {
224
+ "id": "48",
225
+ "name": "persona",
226
+ "imageSrc": "https://home.playablefactory.com/persona.png"
227
+ },
228
+ {
229
+ "id": "49",
230
+ "name": "bidease",
231
+ "imageSrc": "https://home.playablefactory.com/bidease.png"
232
+ },
233
+ {
234
+ "id": "50",
235
+ "name": "mraid",
236
+ "imageSrc": "https://home.playablefactory.com/mraid.png"
237
+ },
238
+ {
239
+ "id": "51",
240
+ "name": "zynga",
241
+ "imageSrc": "https://home.playablefactory.com/zynga.png"
242
+ },
243
+ {
244
+ "id": "52",
245
+ "name": "youappi",
246
+ "imageSrc": "https://home.playablefactory.com/youappi.png"
247
+ },
248
+ {
249
+ "id": "52",
250
+ "name": "revx",
251
+ "imageSrc": "https://home.playablefactory.com/revx.png"
252
+ },
253
+ {
254
+ "id": "53",
255
+ "name": "cdn",
256
+ "imageSrc": "https://home.playablefactory.com/cdn.png"
257
+ },
258
+ {
259
+ "id": "54",
260
+ "name": "digidoor",
261
+ "imageSrc": "https://home.playablefactory.com/digidoor.png"
262
+ }
263
+ ]
264
+ ;
265
+
266
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export default function getCompanyAllSubs(id: string, api: string): Promise<{
2
+ playableSubs: any[];
3
+ readySubs: any[];
4
+ flexSubs: any[];
5
+ }>;
@@ -0,0 +1,30 @@
1
+ export default function updateSub(currentlyEditedSub: {
2
+ _id: string;
3
+ customer: string;
4
+ customerName: string;
5
+ downloadLimit: number;
6
+ startsAt: string;
7
+ endsAt: string;
8
+ insight: boolean;
9
+ isActive: boolean;
10
+ isManual: boolean;
11
+ isUnlimited: boolean;
12
+ monthlySubs: Array<any>;
13
+ networks: Array<string>;
14
+ packageId: string;
15
+ seatLimit: number;
16
+ typeOfProduct: string;
17
+ subscriptionPackage: any;
18
+ price: number;
19
+ }, updates: {
20
+ downloadLimit: number;
21
+ seatLimit: number;
22
+ endsAt: string;
23
+ isUnlimited: boolean;
24
+ packageId: string;
25
+ networks: Array<string>;
26
+ }, product: string, // "playable" | "ready" | "flex"
27
+ api: string): Promise<{
28
+ acknowledged: true;
29
+ modifiedCount: 1;
30
+ }>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gearboxdownloadmodal",
3
3
  "private": false,
4
- "version": "8.2.0",
4
+ "version": "8.3.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.esm.js",