@oursprivacy/platform-sdk 1.3.1 → 1.4.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.
@@ -126,12 +126,623 @@ export namespace GlobalDispatchCenterUpdateParams {
126
126
 
127
127
  destinationIds?: Array<string> | null;
128
128
 
129
- logic?: unknown;
129
+ logic?: Category.Logic | null;
130
130
 
131
131
  name?: string | null;
132
132
 
133
133
  priority?: number | null;
134
134
  }
135
+
136
+ export namespace Category {
137
+ export interface Logic {
138
+ AND?: Array<Logic.And> | null;
139
+
140
+ condition?: Logic.Condition | null;
141
+
142
+ NOT?: Logic.Not | null;
143
+
144
+ OR?: Array<Logic.Or> | null;
145
+ }
146
+
147
+ export namespace Logic {
148
+ export interface And {
149
+ AND?: Array<And.And> | null;
150
+
151
+ condition?: And.Condition | null;
152
+
153
+ NOT?: And.Not | null;
154
+
155
+ OR?: Array<And.Or> | null;
156
+ }
157
+
158
+ export namespace And {
159
+ export interface And {
160
+ condition?: And.Condition | null;
161
+ }
162
+
163
+ export namespace And {
164
+ export interface Condition {
165
+ operator:
166
+ | 'Contains'
167
+ | 'DoesNotContain'
168
+ | 'DoesNotMatchRegex'
169
+ | 'DoesNotMatchRegexIgnoreCase'
170
+ | 'EndsWith'
171
+ | 'Is'
172
+ | 'IsAfter'
173
+ | 'IsBefore'
174
+ | 'IsBetween'
175
+ | 'IsFalse'
176
+ | 'IsFalsy'
177
+ | 'IsFoundIn'
178
+ | 'IsGreaterThan'
179
+ | 'IsGreaterThanOrEqual'
180
+ | 'IsIn'
181
+ | 'IsLessThan'
182
+ | 'IsLessThanOrEqual'
183
+ | 'IsNot'
184
+ | 'IsNotFoundIn'
185
+ | 'IsNotIn'
186
+ | 'IsNotNull'
187
+ | 'IsNotUndefined'
188
+ | 'IsNull'
189
+ | 'IsOnOrAfter'
190
+ | 'IsOnOrBefore'
191
+ | 'IsTrue'
192
+ | 'IsTruthy'
193
+ | 'IsUndefined'
194
+ | 'MatchesRegex'
195
+ | 'MatchesRegexIgnoreCase'
196
+ | 'StartsWith';
197
+
198
+ property: string;
199
+
200
+ value: string;
201
+ }
202
+ }
203
+
204
+ export interface Condition {
205
+ operator:
206
+ | 'Contains'
207
+ | 'DoesNotContain'
208
+ | 'DoesNotMatchRegex'
209
+ | 'DoesNotMatchRegexIgnoreCase'
210
+ | 'EndsWith'
211
+ | 'Is'
212
+ | 'IsAfter'
213
+ | 'IsBefore'
214
+ | 'IsBetween'
215
+ | 'IsFalse'
216
+ | 'IsFalsy'
217
+ | 'IsFoundIn'
218
+ | 'IsGreaterThan'
219
+ | 'IsGreaterThanOrEqual'
220
+ | 'IsIn'
221
+ | 'IsLessThan'
222
+ | 'IsLessThanOrEqual'
223
+ | 'IsNot'
224
+ | 'IsNotFoundIn'
225
+ | 'IsNotIn'
226
+ | 'IsNotNull'
227
+ | 'IsNotUndefined'
228
+ | 'IsNull'
229
+ | 'IsOnOrAfter'
230
+ | 'IsOnOrBefore'
231
+ | 'IsTrue'
232
+ | 'IsTruthy'
233
+ | 'IsUndefined'
234
+ | 'MatchesRegex'
235
+ | 'MatchesRegexIgnoreCase'
236
+ | 'StartsWith';
237
+
238
+ property: string;
239
+
240
+ value: string;
241
+ }
242
+
243
+ export interface Not {
244
+ condition?: Not.Condition | null;
245
+ }
246
+
247
+ export namespace Not {
248
+ export interface Condition {
249
+ operator:
250
+ | 'Contains'
251
+ | 'DoesNotContain'
252
+ | 'DoesNotMatchRegex'
253
+ | 'DoesNotMatchRegexIgnoreCase'
254
+ | 'EndsWith'
255
+ | 'Is'
256
+ | 'IsAfter'
257
+ | 'IsBefore'
258
+ | 'IsBetween'
259
+ | 'IsFalse'
260
+ | 'IsFalsy'
261
+ | 'IsFoundIn'
262
+ | 'IsGreaterThan'
263
+ | 'IsGreaterThanOrEqual'
264
+ | 'IsIn'
265
+ | 'IsLessThan'
266
+ | 'IsLessThanOrEqual'
267
+ | 'IsNot'
268
+ | 'IsNotFoundIn'
269
+ | 'IsNotIn'
270
+ | 'IsNotNull'
271
+ | 'IsNotUndefined'
272
+ | 'IsNull'
273
+ | 'IsOnOrAfter'
274
+ | 'IsOnOrBefore'
275
+ | 'IsTrue'
276
+ | 'IsTruthy'
277
+ | 'IsUndefined'
278
+ | 'MatchesRegex'
279
+ | 'MatchesRegexIgnoreCase'
280
+ | 'StartsWith';
281
+
282
+ property: string;
283
+
284
+ value: string;
285
+ }
286
+ }
287
+
288
+ export interface Or {
289
+ condition?: Or.Condition | null;
290
+ }
291
+
292
+ export namespace Or {
293
+ export interface Condition {
294
+ operator:
295
+ | 'Contains'
296
+ | 'DoesNotContain'
297
+ | 'DoesNotMatchRegex'
298
+ | 'DoesNotMatchRegexIgnoreCase'
299
+ | 'EndsWith'
300
+ | 'Is'
301
+ | 'IsAfter'
302
+ | 'IsBefore'
303
+ | 'IsBetween'
304
+ | 'IsFalse'
305
+ | 'IsFalsy'
306
+ | 'IsFoundIn'
307
+ | 'IsGreaterThan'
308
+ | 'IsGreaterThanOrEqual'
309
+ | 'IsIn'
310
+ | 'IsLessThan'
311
+ | 'IsLessThanOrEqual'
312
+ | 'IsNot'
313
+ | 'IsNotFoundIn'
314
+ | 'IsNotIn'
315
+ | 'IsNotNull'
316
+ | 'IsNotUndefined'
317
+ | 'IsNull'
318
+ | 'IsOnOrAfter'
319
+ | 'IsOnOrBefore'
320
+ | 'IsTrue'
321
+ | 'IsTruthy'
322
+ | 'IsUndefined'
323
+ | 'MatchesRegex'
324
+ | 'MatchesRegexIgnoreCase'
325
+ | 'StartsWith';
326
+
327
+ property: string;
328
+
329
+ value: string;
330
+ }
331
+ }
332
+ }
333
+
334
+ export interface Condition {
335
+ operator:
336
+ | 'Contains'
337
+ | 'DoesNotContain'
338
+ | 'DoesNotMatchRegex'
339
+ | 'DoesNotMatchRegexIgnoreCase'
340
+ | 'EndsWith'
341
+ | 'Is'
342
+ | 'IsAfter'
343
+ | 'IsBefore'
344
+ | 'IsBetween'
345
+ | 'IsFalse'
346
+ | 'IsFalsy'
347
+ | 'IsFoundIn'
348
+ | 'IsGreaterThan'
349
+ | 'IsGreaterThanOrEqual'
350
+ | 'IsIn'
351
+ | 'IsLessThan'
352
+ | 'IsLessThanOrEqual'
353
+ | 'IsNot'
354
+ | 'IsNotFoundIn'
355
+ | 'IsNotIn'
356
+ | 'IsNotNull'
357
+ | 'IsNotUndefined'
358
+ | 'IsNull'
359
+ | 'IsOnOrAfter'
360
+ | 'IsOnOrBefore'
361
+ | 'IsTrue'
362
+ | 'IsTruthy'
363
+ | 'IsUndefined'
364
+ | 'MatchesRegex'
365
+ | 'MatchesRegexIgnoreCase'
366
+ | 'StartsWith';
367
+
368
+ property: string;
369
+
370
+ value: string;
371
+ }
372
+
373
+ export interface Not {
374
+ AND?: Array<Not.And> | null;
375
+
376
+ condition?: Not.Condition | null;
377
+
378
+ NOT?: Not.Not | null;
379
+
380
+ OR?: Array<Not.Or> | null;
381
+ }
382
+
383
+ export namespace Not {
384
+ export interface And {
385
+ condition?: And.Condition | null;
386
+ }
387
+
388
+ export namespace And {
389
+ export interface Condition {
390
+ operator:
391
+ | 'Contains'
392
+ | 'DoesNotContain'
393
+ | 'DoesNotMatchRegex'
394
+ | 'DoesNotMatchRegexIgnoreCase'
395
+ | 'EndsWith'
396
+ | 'Is'
397
+ | 'IsAfter'
398
+ | 'IsBefore'
399
+ | 'IsBetween'
400
+ | 'IsFalse'
401
+ | 'IsFalsy'
402
+ | 'IsFoundIn'
403
+ | 'IsGreaterThan'
404
+ | 'IsGreaterThanOrEqual'
405
+ | 'IsIn'
406
+ | 'IsLessThan'
407
+ | 'IsLessThanOrEqual'
408
+ | 'IsNot'
409
+ | 'IsNotFoundIn'
410
+ | 'IsNotIn'
411
+ | 'IsNotNull'
412
+ | 'IsNotUndefined'
413
+ | 'IsNull'
414
+ | 'IsOnOrAfter'
415
+ | 'IsOnOrBefore'
416
+ | 'IsTrue'
417
+ | 'IsTruthy'
418
+ | 'IsUndefined'
419
+ | 'MatchesRegex'
420
+ | 'MatchesRegexIgnoreCase'
421
+ | 'StartsWith';
422
+
423
+ property: string;
424
+
425
+ value: string;
426
+ }
427
+ }
428
+
429
+ export interface Condition {
430
+ operator:
431
+ | 'Contains'
432
+ | 'DoesNotContain'
433
+ | 'DoesNotMatchRegex'
434
+ | 'DoesNotMatchRegexIgnoreCase'
435
+ | 'EndsWith'
436
+ | 'Is'
437
+ | 'IsAfter'
438
+ | 'IsBefore'
439
+ | 'IsBetween'
440
+ | 'IsFalse'
441
+ | 'IsFalsy'
442
+ | 'IsFoundIn'
443
+ | 'IsGreaterThan'
444
+ | 'IsGreaterThanOrEqual'
445
+ | 'IsIn'
446
+ | 'IsLessThan'
447
+ | 'IsLessThanOrEqual'
448
+ | 'IsNot'
449
+ | 'IsNotFoundIn'
450
+ | 'IsNotIn'
451
+ | 'IsNotNull'
452
+ | 'IsNotUndefined'
453
+ | 'IsNull'
454
+ | 'IsOnOrAfter'
455
+ | 'IsOnOrBefore'
456
+ | 'IsTrue'
457
+ | 'IsTruthy'
458
+ | 'IsUndefined'
459
+ | 'MatchesRegex'
460
+ | 'MatchesRegexIgnoreCase'
461
+ | 'StartsWith';
462
+
463
+ property: string;
464
+
465
+ value: string;
466
+ }
467
+
468
+ export interface Not {
469
+ condition?: Not.Condition | null;
470
+ }
471
+
472
+ export namespace Not {
473
+ export interface Condition {
474
+ operator:
475
+ | 'Contains'
476
+ | 'DoesNotContain'
477
+ | 'DoesNotMatchRegex'
478
+ | 'DoesNotMatchRegexIgnoreCase'
479
+ | 'EndsWith'
480
+ | 'Is'
481
+ | 'IsAfter'
482
+ | 'IsBefore'
483
+ | 'IsBetween'
484
+ | 'IsFalse'
485
+ | 'IsFalsy'
486
+ | 'IsFoundIn'
487
+ | 'IsGreaterThan'
488
+ | 'IsGreaterThanOrEqual'
489
+ | 'IsIn'
490
+ | 'IsLessThan'
491
+ | 'IsLessThanOrEqual'
492
+ | 'IsNot'
493
+ | 'IsNotFoundIn'
494
+ | 'IsNotIn'
495
+ | 'IsNotNull'
496
+ | 'IsNotUndefined'
497
+ | 'IsNull'
498
+ | 'IsOnOrAfter'
499
+ | 'IsOnOrBefore'
500
+ | 'IsTrue'
501
+ | 'IsTruthy'
502
+ | 'IsUndefined'
503
+ | 'MatchesRegex'
504
+ | 'MatchesRegexIgnoreCase'
505
+ | 'StartsWith';
506
+
507
+ property: string;
508
+
509
+ value: string;
510
+ }
511
+ }
512
+
513
+ export interface Or {
514
+ condition?: Or.Condition | null;
515
+ }
516
+
517
+ export namespace Or {
518
+ export interface Condition {
519
+ operator:
520
+ | 'Contains'
521
+ | 'DoesNotContain'
522
+ | 'DoesNotMatchRegex'
523
+ | 'DoesNotMatchRegexIgnoreCase'
524
+ | 'EndsWith'
525
+ | 'Is'
526
+ | 'IsAfter'
527
+ | 'IsBefore'
528
+ | 'IsBetween'
529
+ | 'IsFalse'
530
+ | 'IsFalsy'
531
+ | 'IsFoundIn'
532
+ | 'IsGreaterThan'
533
+ | 'IsGreaterThanOrEqual'
534
+ | 'IsIn'
535
+ | 'IsLessThan'
536
+ | 'IsLessThanOrEqual'
537
+ | 'IsNot'
538
+ | 'IsNotFoundIn'
539
+ | 'IsNotIn'
540
+ | 'IsNotNull'
541
+ | 'IsNotUndefined'
542
+ | 'IsNull'
543
+ | 'IsOnOrAfter'
544
+ | 'IsOnOrBefore'
545
+ | 'IsTrue'
546
+ | 'IsTruthy'
547
+ | 'IsUndefined'
548
+ | 'MatchesRegex'
549
+ | 'MatchesRegexIgnoreCase'
550
+ | 'StartsWith';
551
+
552
+ property: string;
553
+
554
+ value: string;
555
+ }
556
+ }
557
+ }
558
+
559
+ export interface Or {
560
+ AND?: Array<Or.And> | null;
561
+
562
+ condition?: Or.Condition | null;
563
+
564
+ NOT?: Or.Not | null;
565
+
566
+ OR?: Array<Or.Or> | null;
567
+ }
568
+
569
+ export namespace Or {
570
+ export interface And {
571
+ condition?: And.Condition | null;
572
+ }
573
+
574
+ export namespace And {
575
+ export interface Condition {
576
+ operator:
577
+ | 'Contains'
578
+ | 'DoesNotContain'
579
+ | 'DoesNotMatchRegex'
580
+ | 'DoesNotMatchRegexIgnoreCase'
581
+ | 'EndsWith'
582
+ | 'Is'
583
+ | 'IsAfter'
584
+ | 'IsBefore'
585
+ | 'IsBetween'
586
+ | 'IsFalse'
587
+ | 'IsFalsy'
588
+ | 'IsFoundIn'
589
+ | 'IsGreaterThan'
590
+ | 'IsGreaterThanOrEqual'
591
+ | 'IsIn'
592
+ | 'IsLessThan'
593
+ | 'IsLessThanOrEqual'
594
+ | 'IsNot'
595
+ | 'IsNotFoundIn'
596
+ | 'IsNotIn'
597
+ | 'IsNotNull'
598
+ | 'IsNotUndefined'
599
+ | 'IsNull'
600
+ | 'IsOnOrAfter'
601
+ | 'IsOnOrBefore'
602
+ | 'IsTrue'
603
+ | 'IsTruthy'
604
+ | 'IsUndefined'
605
+ | 'MatchesRegex'
606
+ | 'MatchesRegexIgnoreCase'
607
+ | 'StartsWith';
608
+
609
+ property: string;
610
+
611
+ value: string;
612
+ }
613
+ }
614
+
615
+ export interface Condition {
616
+ operator:
617
+ | 'Contains'
618
+ | 'DoesNotContain'
619
+ | 'DoesNotMatchRegex'
620
+ | 'DoesNotMatchRegexIgnoreCase'
621
+ | 'EndsWith'
622
+ | 'Is'
623
+ | 'IsAfter'
624
+ | 'IsBefore'
625
+ | 'IsBetween'
626
+ | 'IsFalse'
627
+ | 'IsFalsy'
628
+ | 'IsFoundIn'
629
+ | 'IsGreaterThan'
630
+ | 'IsGreaterThanOrEqual'
631
+ | 'IsIn'
632
+ | 'IsLessThan'
633
+ | 'IsLessThanOrEqual'
634
+ | 'IsNot'
635
+ | 'IsNotFoundIn'
636
+ | 'IsNotIn'
637
+ | 'IsNotNull'
638
+ | 'IsNotUndefined'
639
+ | 'IsNull'
640
+ | 'IsOnOrAfter'
641
+ | 'IsOnOrBefore'
642
+ | 'IsTrue'
643
+ | 'IsTruthy'
644
+ | 'IsUndefined'
645
+ | 'MatchesRegex'
646
+ | 'MatchesRegexIgnoreCase'
647
+ | 'StartsWith';
648
+
649
+ property: string;
650
+
651
+ value: string;
652
+ }
653
+
654
+ export interface Not {
655
+ condition?: Not.Condition | null;
656
+ }
657
+
658
+ export namespace Not {
659
+ export interface Condition {
660
+ operator:
661
+ | 'Contains'
662
+ | 'DoesNotContain'
663
+ | 'DoesNotMatchRegex'
664
+ | 'DoesNotMatchRegexIgnoreCase'
665
+ | 'EndsWith'
666
+ | 'Is'
667
+ | 'IsAfter'
668
+ | 'IsBefore'
669
+ | 'IsBetween'
670
+ | 'IsFalse'
671
+ | 'IsFalsy'
672
+ | 'IsFoundIn'
673
+ | 'IsGreaterThan'
674
+ | 'IsGreaterThanOrEqual'
675
+ | 'IsIn'
676
+ | 'IsLessThan'
677
+ | 'IsLessThanOrEqual'
678
+ | 'IsNot'
679
+ | 'IsNotFoundIn'
680
+ | 'IsNotIn'
681
+ | 'IsNotNull'
682
+ | 'IsNotUndefined'
683
+ | 'IsNull'
684
+ | 'IsOnOrAfter'
685
+ | 'IsOnOrBefore'
686
+ | 'IsTrue'
687
+ | 'IsTruthy'
688
+ | 'IsUndefined'
689
+ | 'MatchesRegex'
690
+ | 'MatchesRegexIgnoreCase'
691
+ | 'StartsWith';
692
+
693
+ property: string;
694
+
695
+ value: string;
696
+ }
697
+ }
698
+
699
+ export interface Or {
700
+ condition?: Or.Condition | null;
701
+ }
702
+
703
+ export namespace Or {
704
+ export interface Condition {
705
+ operator:
706
+ | 'Contains'
707
+ | 'DoesNotContain'
708
+ | 'DoesNotMatchRegex'
709
+ | 'DoesNotMatchRegexIgnoreCase'
710
+ | 'EndsWith'
711
+ | 'Is'
712
+ | 'IsAfter'
713
+ | 'IsBefore'
714
+ | 'IsBetween'
715
+ | 'IsFalse'
716
+ | 'IsFalsy'
717
+ | 'IsFoundIn'
718
+ | 'IsGreaterThan'
719
+ | 'IsGreaterThanOrEqual'
720
+ | 'IsIn'
721
+ | 'IsLessThan'
722
+ | 'IsLessThanOrEqual'
723
+ | 'IsNot'
724
+ | 'IsNotFoundIn'
725
+ | 'IsNotIn'
726
+ | 'IsNotNull'
727
+ | 'IsNotUndefined'
728
+ | 'IsNull'
729
+ | 'IsOnOrAfter'
730
+ | 'IsOnOrBefore'
731
+ | 'IsTrue'
732
+ | 'IsTruthy'
733
+ | 'IsUndefined'
734
+ | 'MatchesRegex'
735
+ | 'MatchesRegexIgnoreCase'
736
+ | 'StartsWith';
737
+
738
+ property: string;
739
+
740
+ value: string;
741
+ }
742
+ }
743
+ }
744
+ }
745
+ }
135
746
  }
136
747
 
137
748
  export declare namespace GlobalDispatchCenters {
@@ -278,7 +278,7 @@ export interface SourceUpdateParams {
278
278
 
279
279
  selectedAccountId?: string | null;
280
280
 
281
- whitelistDomains?: Array<unknown> | null;
281
+ whitelistDomains?: Array<string> | null;
282
282
 
283
283
  whitelistIps?: Array<string> | null;
284
284
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.3.1'; // x-release-please-version
1
+ export const VERSION = '1.4.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.3.1";
1
+ export declare const VERSION = "1.4.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.3.1";
1
+ export declare const VERSION = "1.4.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.3.1'; // x-release-please-version
4
+ exports.VERSION = '1.4.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.3.1'; // x-release-please-version
1
+ export const VERSION = '1.4.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map