@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1177 → 0.9.0-SNAPSHOT.1181
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.
|
@@ -54,6 +54,88 @@ export declare namespace org.cru.godtools.shared.tool.parser {
|
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
58
|
+
class AnalyticsEvent /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
|
|
59
|
+
private constructor();
|
|
60
|
+
get action(): string;
|
|
61
|
+
get delay(): number;
|
|
62
|
+
get systems(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System> */;
|
|
63
|
+
get attributes(): any/* kotlin.collections.Map<string, string> */;
|
|
64
|
+
static createTestAnalyticsEvent(parent?: any/* org.cru.godtools.shared.tool.parser.model.Base */, id?: Nullable<string>, action?: string, trigger?: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger, delay?: number, systems?: any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System> */, limit?: Nullable<number>, attributes?: any/* kotlin.collections.Map<string, string> */): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent;
|
|
65
|
+
isForSystem(system: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System): boolean;
|
|
66
|
+
shouldTrigger(state: org.cru.godtools.shared.tool.state.State): boolean;
|
|
67
|
+
recordTriggered(state: org.cru.godtools.shared.tool.state.State): void;
|
|
68
|
+
}
|
|
69
|
+
namespace AnalyticsEvent {
|
|
70
|
+
abstract class System {
|
|
71
|
+
private constructor();
|
|
72
|
+
static get ADOBE(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
73
|
+
get name(): "ADOBE";
|
|
74
|
+
get ordinal(): 0;
|
|
75
|
+
};
|
|
76
|
+
static get APPSFLYER(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
77
|
+
get name(): "APPSFLYER";
|
|
78
|
+
get ordinal(): 1;
|
|
79
|
+
};
|
|
80
|
+
static get FACEBOOK(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
81
|
+
get name(): "FACEBOOK";
|
|
82
|
+
get ordinal(): 2;
|
|
83
|
+
};
|
|
84
|
+
static get FIREBASE(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
85
|
+
get name(): "FIREBASE";
|
|
86
|
+
get ordinal(): 3;
|
|
87
|
+
};
|
|
88
|
+
static get SNOWPLOW(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
89
|
+
get name(): "SNOWPLOW";
|
|
90
|
+
get ordinal(): 4;
|
|
91
|
+
};
|
|
92
|
+
static get USER(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
93
|
+
get name(): "USER";
|
|
94
|
+
get ordinal(): 5;
|
|
95
|
+
};
|
|
96
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System>;
|
|
97
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System;
|
|
98
|
+
get name(): "ADOBE" | "APPSFLYER" | "FACEBOOK" | "FIREBASE" | "SNOWPLOW" | "USER";
|
|
99
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
100
|
+
}
|
|
101
|
+
abstract class Trigger {
|
|
102
|
+
private constructor();
|
|
103
|
+
static get SELECTED(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
104
|
+
get name(): "SELECTED";
|
|
105
|
+
get ordinal(): 0;
|
|
106
|
+
};
|
|
107
|
+
static get VISIBLE(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
108
|
+
get name(): "VISIBLE";
|
|
109
|
+
get ordinal(): 1;
|
|
110
|
+
};
|
|
111
|
+
static get HIDDEN(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
112
|
+
get name(): "HIDDEN";
|
|
113
|
+
get ordinal(): 2;
|
|
114
|
+
};
|
|
115
|
+
static get CLICKED(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
116
|
+
get name(): "CLICKED";
|
|
117
|
+
get ordinal(): 3;
|
|
118
|
+
};
|
|
119
|
+
static get DEFAULT(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
120
|
+
get name(): "DEFAULT";
|
|
121
|
+
get ordinal(): 4;
|
|
122
|
+
};
|
|
123
|
+
static get UNKNOWN(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
124
|
+
get name(): "UNKNOWN";
|
|
125
|
+
get ordinal(): 5;
|
|
126
|
+
};
|
|
127
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger>;
|
|
128
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger;
|
|
129
|
+
get name(): "SELECTED" | "VISIBLE" | "HIDDEN" | "CLICKED" | "DEFAULT" | "UNKNOWN";
|
|
130
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
135
|
+
abstract class Content /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Visibility */ {
|
|
136
|
+
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
57
139
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
58
140
|
class EventId {
|
|
59
141
|
private constructor();
|
|
@@ -68,6 +150,15 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
68
150
|
};
|
|
69
151
|
}
|
|
70
152
|
}
|
|
153
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
154
|
+
interface HasAnalyticsEvents {
|
|
155
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
156
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
157
|
+
readonly __doNotUseOrImplementIt: {
|
|
158
|
+
readonly "org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents": unique symbol;
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
}
|
|
71
162
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
72
163
|
class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
73
164
|
private constructor();
|
|
@@ -118,6 +209,15 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
118
209
|
}
|
|
119
210
|
}
|
|
120
211
|
}
|
|
212
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
213
|
+
interface Parent /* extends org.cru.godtools.shared.tool.parser.model.Base */ {
|
|
214
|
+
readonly _content: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
215
|
+
readonly content: Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
216
|
+
readonly __doNotUseOrImplementIt: {
|
|
217
|
+
readonly "org.cru.godtools.shared.tool.parser.model.Parent": unique symbol;
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
}
|
|
121
221
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
122
222
|
class Resource /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
|
|
123
223
|
private constructor();
|
|
@@ -126,7 +226,8 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
126
226
|
}
|
|
127
227
|
}
|
|
128
228
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
129
|
-
class
|
|
229
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
230
|
+
class Text extends org.cru.godtools.shared.tool.parser.model.Content {
|
|
130
231
|
private constructor();
|
|
131
232
|
get text(): Nullable<string>;
|
|
132
233
|
get textStyles(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.Text.Style> */;
|
|
@@ -179,7 +280,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
179
280
|
}
|
|
180
281
|
}
|
|
181
282
|
export declare namespace org.cru.godtools.shared.tool.parser.model.page {
|
|
182
|
-
abstract class Page /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
283
|
+
abstract class Page /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
183
284
|
get id(): string;
|
|
184
285
|
get position(): number;
|
|
185
286
|
get parentPage(): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
@@ -187,6 +288,9 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.page {
|
|
|
187
288
|
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
188
289
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
189
290
|
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
291
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
292
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
293
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
190
294
|
}
|
|
191
295
|
}
|
|
192
296
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
@@ -206,20 +310,28 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
206
310
|
}
|
|
207
311
|
}
|
|
208
312
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
209
|
-
class Hero /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
313
|
+
class Hero /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Parent, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents {
|
|
210
314
|
private constructor();
|
|
211
315
|
get heading(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
316
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
212
317
|
static createTestHero(page?: org.cru.godtools.shared.tool.parser.model.tract.TractPage, analyticsEvents?: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */, heading?: Nullable<(p0: any/* org.cru.godtools.shared.tool.parser.model.Base */) => Nullable<org.cru.godtools.shared.tool.parser.model.Text>>): org.cru.godtools.shared.tool.parser.model.tract.Hero;
|
|
318
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
319
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
320
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
321
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
213
322
|
}
|
|
214
323
|
}
|
|
215
324
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
216
|
-
class Modal /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
325
|
+
class Modal /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Parent/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
217
326
|
private constructor();
|
|
218
327
|
get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
|
|
219
328
|
get id(): string;
|
|
220
329
|
get title(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
330
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
221
331
|
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
222
332
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
333
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
334
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"];
|
|
223
335
|
}
|
|
224
336
|
}
|
|
225
337
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
@@ -236,9 +348,10 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
236
348
|
get cards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
237
349
|
get visibleCards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
238
350
|
get cardTextColor(): string;
|
|
351
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
239
352
|
}
|
|
240
353
|
namespace TractPage {
|
|
241
|
-
class Card /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
354
|
+
class Card /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Parent, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
242
355
|
private constructor();
|
|
243
356
|
get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
|
|
244
357
|
get id(): string;
|
|
@@ -250,7 +363,12 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
250
363
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
251
364
|
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
252
365
|
get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
366
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
253
367
|
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
368
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
369
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
370
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
371
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
254
372
|
}
|
|
255
373
|
}
|
|
256
374
|
}
|