@headspace/protos-events 1.603.0 → 1.605.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +120 -300
  2. package/lib/index.js +300 -735
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1231,6 +1231,12 @@ export namespace clinical {
1231
1231
 
1232
1232
  /** Clinician email */
1233
1233
  email?: (string|null);
1234
+
1235
+ /**
1236
+ * ID of this clinician in Okta
1237
+ * TODO: Only two values expected here, one in Okta and one in web
1238
+ */
1239
+ oktaIds?: (clinical.IAppUser[]|null);
1234
1240
  }
1235
1241
 
1236
1242
  /** Represents a Clinician. */
@@ -1299,6 +1305,12 @@ export namespace clinical {
1299
1305
  /** Clinician email. */
1300
1306
  public email: string;
1301
1307
 
1308
+ /**
1309
+ * ID of this clinician in Okta
1310
+ * TODO: Only two values expected here, one in Okta and one in web
1311
+ */
1312
+ public oktaIds: clinical.IAppUser[];
1313
+
1302
1314
  /**
1303
1315
  * Creates a new Clinician instance using the specified properties.
1304
1316
  * @param [properties] Properties to set
@@ -1421,6 +1433,102 @@ export namespace clinical {
1421
1433
  NON_STANDARD_PROVIDER_ROLE_TEST = 6
1422
1434
  }
1423
1435
 
1436
+ /** Properties of an AppUser. */
1437
+ interface IAppUser {
1438
+
1439
+ /** AppUser id */
1440
+ id?: (string|null);
1441
+
1442
+ /** AppUser appId */
1443
+ appId?: (string|null);
1444
+ }
1445
+
1446
+ /** Represents an AppUser. */
1447
+ class AppUser implements IAppUser {
1448
+
1449
+ /**
1450
+ * Constructs a new AppUser.
1451
+ * @param [properties] Properties to set
1452
+ */
1453
+ constructor(properties?: clinical.IAppUser);
1454
+
1455
+ /** AppUser id. */
1456
+ public id: string;
1457
+
1458
+ /** AppUser appId. */
1459
+ public appId: string;
1460
+
1461
+ /**
1462
+ * Creates a new AppUser instance using the specified properties.
1463
+ * @param [properties] Properties to set
1464
+ * @returns AppUser instance
1465
+ */
1466
+ public static create(properties?: clinical.IAppUser): clinical.AppUser;
1467
+
1468
+ /**
1469
+ * Encodes the specified AppUser message. Does not implicitly {@link clinical.AppUser.verify|verify} messages.
1470
+ * @param message AppUser message or plain object to encode
1471
+ * @param [writer] Writer to encode to
1472
+ * @returns Writer
1473
+ */
1474
+ public static encode(message: clinical.IAppUser, writer?: $protobuf.Writer): $protobuf.Writer;
1475
+
1476
+ /**
1477
+ * Encodes the specified AppUser message, length delimited. Does not implicitly {@link clinical.AppUser.verify|verify} messages.
1478
+ * @param message AppUser message or plain object to encode
1479
+ * @param [writer] Writer to encode to
1480
+ * @returns Writer
1481
+ */
1482
+ public static encodeDelimited(message: clinical.IAppUser, writer?: $protobuf.Writer): $protobuf.Writer;
1483
+
1484
+ /**
1485
+ * Decodes an AppUser message from the specified reader or buffer.
1486
+ * @param reader Reader or buffer to decode from
1487
+ * @param [length] Message length if known beforehand
1488
+ * @returns AppUser
1489
+ * @throws {Error} If the payload is not a reader or valid buffer
1490
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1491
+ */
1492
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.AppUser;
1493
+
1494
+ /**
1495
+ * Decodes an AppUser message from the specified reader or buffer, length delimited.
1496
+ * @param reader Reader or buffer to decode from
1497
+ * @returns AppUser
1498
+ * @throws {Error} If the payload is not a reader or valid buffer
1499
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1500
+ */
1501
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.AppUser;
1502
+
1503
+ /**
1504
+ * Verifies an AppUser message.
1505
+ * @param message Plain object to verify
1506
+ * @returns `null` if valid, otherwise the reason why it is not
1507
+ */
1508
+ public static verify(message: { [k: string]: any }): (string|null);
1509
+
1510
+ /**
1511
+ * Creates an AppUser message from a plain object. Also converts values to their respective internal types.
1512
+ * @param object Plain object
1513
+ * @returns AppUser
1514
+ */
1515
+ public static fromObject(object: { [k: string]: any }): clinical.AppUser;
1516
+
1517
+ /**
1518
+ * Creates a plain object from an AppUser message. Also converts values to other types if specified.
1519
+ * @param message AppUser
1520
+ * @param [options] Conversion options
1521
+ * @returns Plain object
1522
+ */
1523
+ public static toObject(message: clinical.AppUser, options?: $protobuf.IConversionOptions): { [k: string]: any };
1524
+
1525
+ /**
1526
+ * Converts this AppUser to JSON.
1527
+ * @returns JSON object
1528
+ */
1529
+ public toJSON(): { [k: string]: any };
1530
+ }
1531
+
1424
1532
  /** Properties of a Coach. */
1425
1533
  interface ICoach {
1426
1534
 
@@ -1472,6 +1580,12 @@ export namespace clinical {
1472
1580
 
1473
1581
  /** Coach roleDisplay */
1474
1582
  roleDisplay?: (clinical.ICoachRoleDisplay|null);
1583
+
1584
+ /**
1585
+ * ID of this coach in Okta
1586
+ * TODO: Only two values expected here, one in Okta and one in listener
1587
+ */
1588
+ oktaIds?: (clinical.IAppUser[]|null);
1475
1589
  }
1476
1590
 
1477
1591
  /** Represents a Coach. */
@@ -1532,6 +1646,12 @@ export namespace clinical {
1532
1646
  /** Coach roleDisplay. */
1533
1647
  public roleDisplay?: (clinical.ICoachRoleDisplay|null);
1534
1648
 
1649
+ /**
1650
+ * ID of this coach in Okta
1651
+ * TODO: Only two values expected here, one in Okta and one in listener
1652
+ */
1653
+ public oktaIds: clinical.IAppUser[];
1654
+
1535
1655
  /**
1536
1656
  * Creates a new Coach instance using the specified properties.
1537
1657
  * @param [properties] Properties to set
@@ -64477,306 +64597,6 @@ export class UserConsentUpdated implements IUserConsentUpdated {
64477
64597
  public toJSON(): { [k: string]: any };
64478
64598
  }
64479
64599
 
64480
- /** DeliveryPlatformProvider enum. */
64481
- export enum DeliveryPlatformProvider {
64482
- DELIVERY_PLATFORM_UNKNOWN = 0,
64483
- DELIVERY_PLATFORM_BRAZE = 1
64484
- }
64485
-
64486
- /** Properties of a UserMessageDeliveryScheduledEvent. */
64487
- export interface IUserMessageDeliveryScheduledEvent {
64488
-
64489
- /** UserMessageDeliveryScheduledEvent messageScheduleTimestamp */
64490
- messageScheduleTimestamp?: (number|Long|null);
64491
-
64492
- /** UserMessageDeliveryScheduledEvent deliveryPlatformId */
64493
- deliveryPlatformId?: (string|null);
64494
-
64495
- /** UserMessageDeliveryScheduledEvent deliveryPlatformProvider */
64496
- deliveryPlatformProvider?: (DeliveryPlatformProvider|null);
64497
-
64498
- /** UserMessageDeliveryScheduledEvent userMessageNotifications */
64499
- userMessageNotifications?: (IUserMessageNotification[]|null);
64500
- }
64501
-
64502
- /** Represents a UserMessageDeliveryScheduledEvent. */
64503
- export class UserMessageDeliveryScheduledEvent implements IUserMessageDeliveryScheduledEvent {
64504
-
64505
- /**
64506
- * Constructs a new UserMessageDeliveryScheduledEvent.
64507
- * @param [properties] Properties to set
64508
- */
64509
- constructor(properties?: IUserMessageDeliveryScheduledEvent);
64510
-
64511
- /** UserMessageDeliveryScheduledEvent messageScheduleTimestamp. */
64512
- public messageScheduleTimestamp: (number|Long);
64513
-
64514
- /** UserMessageDeliveryScheduledEvent deliveryPlatformId. */
64515
- public deliveryPlatformId: string;
64516
-
64517
- /** UserMessageDeliveryScheduledEvent deliveryPlatformProvider. */
64518
- public deliveryPlatformProvider: DeliveryPlatformProvider;
64519
-
64520
- /** UserMessageDeliveryScheduledEvent userMessageNotifications. */
64521
- public userMessageNotifications: IUserMessageNotification[];
64522
-
64523
- /**
64524
- * Creates a new UserMessageDeliveryScheduledEvent instance using the specified properties.
64525
- * @param [properties] Properties to set
64526
- * @returns UserMessageDeliveryScheduledEvent instance
64527
- */
64528
- public static create(properties?: IUserMessageDeliveryScheduledEvent): UserMessageDeliveryScheduledEvent;
64529
-
64530
- /**
64531
- * Encodes the specified UserMessageDeliveryScheduledEvent message. Does not implicitly {@link UserMessageDeliveryScheduledEvent.verify|verify} messages.
64532
- * @param message UserMessageDeliveryScheduledEvent message or plain object to encode
64533
- * @param [writer] Writer to encode to
64534
- * @returns Writer
64535
- */
64536
- public static encode(message: IUserMessageDeliveryScheduledEvent, writer?: $protobuf.Writer): $protobuf.Writer;
64537
-
64538
- /**
64539
- * Encodes the specified UserMessageDeliveryScheduledEvent message, length delimited. Does not implicitly {@link UserMessageDeliveryScheduledEvent.verify|verify} messages.
64540
- * @param message UserMessageDeliveryScheduledEvent message or plain object to encode
64541
- * @param [writer] Writer to encode to
64542
- * @returns Writer
64543
- */
64544
- public static encodeDelimited(message: IUserMessageDeliveryScheduledEvent, writer?: $protobuf.Writer): $protobuf.Writer;
64545
-
64546
- /**
64547
- * Decodes a UserMessageDeliveryScheduledEvent message from the specified reader or buffer.
64548
- * @param reader Reader or buffer to decode from
64549
- * @param [length] Message length if known beforehand
64550
- * @returns UserMessageDeliveryScheduledEvent
64551
- * @throws {Error} If the payload is not a reader or valid buffer
64552
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
64553
- */
64554
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMessageDeliveryScheduledEvent;
64555
-
64556
- /**
64557
- * Decodes a UserMessageDeliveryScheduledEvent message from the specified reader or buffer, length delimited.
64558
- * @param reader Reader or buffer to decode from
64559
- * @returns UserMessageDeliveryScheduledEvent
64560
- * @throws {Error} If the payload is not a reader or valid buffer
64561
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
64562
- */
64563
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMessageDeliveryScheduledEvent;
64564
-
64565
- /**
64566
- * Verifies a UserMessageDeliveryScheduledEvent message.
64567
- * @param message Plain object to verify
64568
- * @returns `null` if valid, otherwise the reason why it is not
64569
- */
64570
- public static verify(message: { [k: string]: any }): (string|null);
64571
-
64572
- /**
64573
- * Creates a UserMessageDeliveryScheduledEvent message from a plain object. Also converts values to their respective internal types.
64574
- * @param object Plain object
64575
- * @returns UserMessageDeliveryScheduledEvent
64576
- */
64577
- public static fromObject(object: { [k: string]: any }): UserMessageDeliveryScheduledEvent;
64578
-
64579
- /**
64580
- * Creates a plain object from a UserMessageDeliveryScheduledEvent message. Also converts values to other types if specified.
64581
- * @param message UserMessageDeliveryScheduledEvent
64582
- * @param [options] Conversion options
64583
- * @returns Plain object
64584
- */
64585
- public static toObject(message: UserMessageDeliveryScheduledEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
64586
-
64587
- /**
64588
- * Converts this UserMessageDeliveryScheduledEvent to JSON.
64589
- * @returns JSON object
64590
- */
64591
- public toJSON(): { [k: string]: any };
64592
- }
64593
-
64594
- /** Properties of a UserMessageNotification. */
64595
- export interface IUserMessageNotification {
64596
-
64597
- /** UserMessageNotification userId */
64598
- userId?: (string|null);
64599
-
64600
- /** UserMessageNotification metadata */
64601
- metadata?: ({ [k: string]: string }|null);
64602
- }
64603
-
64604
- /** Represents a UserMessageNotification. */
64605
- export class UserMessageNotification implements IUserMessageNotification {
64606
-
64607
- /**
64608
- * Constructs a new UserMessageNotification.
64609
- * @param [properties] Properties to set
64610
- */
64611
- constructor(properties?: IUserMessageNotification);
64612
-
64613
- /** UserMessageNotification userId. */
64614
- public userId: string;
64615
-
64616
- /** UserMessageNotification metadata. */
64617
- public metadata: { [k: string]: string };
64618
-
64619
- /**
64620
- * Creates a new UserMessageNotification instance using the specified properties.
64621
- * @param [properties] Properties to set
64622
- * @returns UserMessageNotification instance
64623
- */
64624
- public static create(properties?: IUserMessageNotification): UserMessageNotification;
64625
-
64626
- /**
64627
- * Encodes the specified UserMessageNotification message. Does not implicitly {@link UserMessageNotification.verify|verify} messages.
64628
- * @param message UserMessageNotification message or plain object to encode
64629
- * @param [writer] Writer to encode to
64630
- * @returns Writer
64631
- */
64632
- public static encode(message: IUserMessageNotification, writer?: $protobuf.Writer): $protobuf.Writer;
64633
-
64634
- /**
64635
- * Encodes the specified UserMessageNotification message, length delimited. Does not implicitly {@link UserMessageNotification.verify|verify} messages.
64636
- * @param message UserMessageNotification message or plain object to encode
64637
- * @param [writer] Writer to encode to
64638
- * @returns Writer
64639
- */
64640
- public static encodeDelimited(message: IUserMessageNotification, writer?: $protobuf.Writer): $protobuf.Writer;
64641
-
64642
- /**
64643
- * Decodes a UserMessageNotification message from the specified reader or buffer.
64644
- * @param reader Reader or buffer to decode from
64645
- * @param [length] Message length if known beforehand
64646
- * @returns UserMessageNotification
64647
- * @throws {Error} If the payload is not a reader or valid buffer
64648
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
64649
- */
64650
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMessageNotification;
64651
-
64652
- /**
64653
- * Decodes a UserMessageNotification message from the specified reader or buffer, length delimited.
64654
- * @param reader Reader or buffer to decode from
64655
- * @returns UserMessageNotification
64656
- * @throws {Error} If the payload is not a reader or valid buffer
64657
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
64658
- */
64659
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMessageNotification;
64660
-
64661
- /**
64662
- * Verifies a UserMessageNotification message.
64663
- * @param message Plain object to verify
64664
- * @returns `null` if valid, otherwise the reason why it is not
64665
- */
64666
- public static verify(message: { [k: string]: any }): (string|null);
64667
-
64668
- /**
64669
- * Creates a UserMessageNotification message from a plain object. Also converts values to their respective internal types.
64670
- * @param object Plain object
64671
- * @returns UserMessageNotification
64672
- */
64673
- public static fromObject(object: { [k: string]: any }): UserMessageNotification;
64674
-
64675
- /**
64676
- * Creates a plain object from a UserMessageNotification message. Also converts values to other types if specified.
64677
- * @param message UserMessageNotification
64678
- * @param [options] Conversion options
64679
- * @returns Plain object
64680
- */
64681
- public static toObject(message: UserMessageNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
64682
-
64683
- /**
64684
- * Converts this UserMessageNotification to JSON.
64685
- * @returns JSON object
64686
- */
64687
- public toJSON(): { [k: string]: any };
64688
- }
64689
-
64690
- /** Properties of a UserMessageProcessMessagesEvent. */
64691
- export interface IUserMessageProcessMessagesEvent {
64692
-
64693
- /** UserMessageProcessMessagesEvent filePath */
64694
- filePath?: (string|null);
64695
- }
64696
-
64697
- /** Represents a UserMessageProcessMessagesEvent. */
64698
- export class UserMessageProcessMessagesEvent implements IUserMessageProcessMessagesEvent {
64699
-
64700
- /**
64701
- * Constructs a new UserMessageProcessMessagesEvent.
64702
- * @param [properties] Properties to set
64703
- */
64704
- constructor(properties?: IUserMessageProcessMessagesEvent);
64705
-
64706
- /** UserMessageProcessMessagesEvent filePath. */
64707
- public filePath: string;
64708
-
64709
- /**
64710
- * Creates a new UserMessageProcessMessagesEvent instance using the specified properties.
64711
- * @param [properties] Properties to set
64712
- * @returns UserMessageProcessMessagesEvent instance
64713
- */
64714
- public static create(properties?: IUserMessageProcessMessagesEvent): UserMessageProcessMessagesEvent;
64715
-
64716
- /**
64717
- * Encodes the specified UserMessageProcessMessagesEvent message. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
64718
- * @param message UserMessageProcessMessagesEvent message or plain object to encode
64719
- * @param [writer] Writer to encode to
64720
- * @returns Writer
64721
- */
64722
- public static encode(message: IUserMessageProcessMessagesEvent, writer?: $protobuf.Writer): $protobuf.Writer;
64723
-
64724
- /**
64725
- * Encodes the specified UserMessageProcessMessagesEvent message, length delimited. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
64726
- * @param message UserMessageProcessMessagesEvent message or plain object to encode
64727
- * @param [writer] Writer to encode to
64728
- * @returns Writer
64729
- */
64730
- public static encodeDelimited(message: IUserMessageProcessMessagesEvent, writer?: $protobuf.Writer): $protobuf.Writer;
64731
-
64732
- /**
64733
- * Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer.
64734
- * @param reader Reader or buffer to decode from
64735
- * @param [length] Message length if known beforehand
64736
- * @returns UserMessageProcessMessagesEvent
64737
- * @throws {Error} If the payload is not a reader or valid buffer
64738
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
64739
- */
64740
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMessageProcessMessagesEvent;
64741
-
64742
- /**
64743
- * Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer, length delimited.
64744
- * @param reader Reader or buffer to decode from
64745
- * @returns UserMessageProcessMessagesEvent
64746
- * @throws {Error} If the payload is not a reader or valid buffer
64747
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
64748
- */
64749
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMessageProcessMessagesEvent;
64750
-
64751
- /**
64752
- * Verifies a UserMessageProcessMessagesEvent message.
64753
- * @param message Plain object to verify
64754
- * @returns `null` if valid, otherwise the reason why it is not
64755
- */
64756
- public static verify(message: { [k: string]: any }): (string|null);
64757
-
64758
- /**
64759
- * Creates a UserMessageProcessMessagesEvent message from a plain object. Also converts values to their respective internal types.
64760
- * @param object Plain object
64761
- * @returns UserMessageProcessMessagesEvent
64762
- */
64763
- public static fromObject(object: { [k: string]: any }): UserMessageProcessMessagesEvent;
64764
-
64765
- /**
64766
- * Creates a plain object from a UserMessageProcessMessagesEvent message. Also converts values to other types if specified.
64767
- * @param message UserMessageProcessMessagesEvent
64768
- * @param [options] Conversion options
64769
- * @returns Plain object
64770
- */
64771
- public static toObject(message: UserMessageProcessMessagesEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
64772
-
64773
- /**
64774
- * Converts this UserMessageProcessMessagesEvent to JSON.
64775
- * @returns JSON object
64776
- */
64777
- public toJSON(): { [k: string]: any };
64778
- }
64779
-
64780
64600
  /** Properties of a VirginPulseAccountLinked. */
64781
64601
  export interface IVirginPulseAccountLinked {
64782
64602