@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1177 → 0.9.0-SNAPSHOT.1179

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,83 @@ 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
+ }
57
134
  export declare namespace org.cru.godtools.shared.tool.parser.model {
58
135
  class EventId {
59
136
  private constructor();
@@ -68,6 +145,15 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
68
145
  };
69
146
  }
70
147
  }
148
+ export declare namespace org.cru.godtools.shared.tool.parser.model {
149
+ interface HasAnalyticsEvents {
150
+ _getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
151
+ getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
152
+ readonly __doNotUseOrImplementIt: {
153
+ readonly "org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents": unique symbol;
154
+ };
155
+ }
156
+ }
71
157
  export declare namespace org.cru.godtools.shared.tool.parser.model {
72
158
  class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
73
159
  private constructor();
@@ -118,6 +204,15 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
118
204
  }
119
205
  }
120
206
  }
207
+ export declare namespace org.cru.godtools.shared.tool.parser.model {
208
+ interface Parent /* extends org.cru.godtools.shared.tool.parser.model.Base */ {
209
+ readonly _content: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
210
+ readonly content: Array<any/* org.cru.godtools.shared.tool.parser.model.Content */>;
211
+ readonly __doNotUseOrImplementIt: {
212
+ readonly "org.cru.godtools.shared.tool.parser.model.Parent": unique symbol;
213
+ };
214
+ }
215
+ }
121
216
  export declare namespace org.cru.godtools.shared.tool.parser.model {
122
217
  class Resource /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
123
218
  private constructor();
@@ -179,7 +274,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
179
274
  }
180
275
  }
181
276
  export declare namespace org.cru.godtools.shared.tool.parser.model.page {
182
- abstract class Page /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents */ {
277
+ 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
278
  get id(): string;
184
279
  get position(): number;
185
280
  get parentPage(): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
@@ -187,6 +282,9 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.page {
187
282
  get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
188
283
  get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
189
284
  get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
285
+ _getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
286
+ getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
287
+ readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
190
288
  }
191
289
  }
192
290
  export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
@@ -206,20 +304,28 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
206
304
  }
207
305
  }
208
306
  export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
209
- 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 */ {
307
+ 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
308
  private constructor();
211
309
  get heading(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
310
+ get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
212
311
  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;
312
+ _getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
313
+ get content(): Array<any/* org.cru.godtools.shared.tool.parser.model.Content */>;
314
+ getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
315
+ readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
213
316
  }
214
317
  }
215
318
  export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
216
- 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 */ {
319
+ 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
320
  private constructor();
218
321
  get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
219
322
  get id(): string;
220
323
  get title(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
324
+ get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
221
325
  get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
222
326
  get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
327
+ get content(): Array<any/* org.cru.godtools.shared.tool.parser.model.Content */>;
328
+ readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"];
223
329
  }
224
330
  }
225
331
  export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
@@ -236,9 +342,10 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
236
342
  get cards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
237
343
  get visibleCards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
238
344
  get cardTextColor(): string;
345
+ getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
239
346
  }
240
347
  namespace TractPage {
241
- class Card /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles, org.cru.godtools.shared.tool.parser.model.Parent, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents */ {
348
+ 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
349
  private constructor();
243
350
  get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
244
351
  get id(): string;
@@ -250,7 +357,12 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
250
357
  get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
251
358
  get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
252
359
  get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
360
+ get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
253
361
  get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
362
+ _getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
363
+ get content(): Array<any/* org.cru.godtools.shared.tool.parser.model.Content */>;
364
+ getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
365
+ readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
254
366
  }
255
367
  }
256
368
  }