@headspace/protos-events 1.53.0 → 1.55.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 +413 -431
  2. package/lib/index.js +4875 -4589
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1621,103 +1621,313 @@ export class UserCreated implements IUserCreated {
1621
1621
  public toJSON(): { [k: string]: any };
1622
1622
  }
1623
1623
 
1624
- /** Properties of a UserUpdated. */
1625
- export interface IUserUpdated {
1624
+ /** Properties of a UserEmailUpdated. */
1625
+ export interface IUserEmailUpdated {
1626
1626
 
1627
- /** UserUpdated hsId */
1627
+ /** UserEmailUpdated hsId */
1628
1628
  hsId?: (string|null);
1629
1629
 
1630
- /** UserUpdated updatedAt */
1630
+ /** UserEmailUpdated email */
1631
+ email?: (string|null);
1632
+
1633
+ /** UserEmailUpdated updatedAt */
1631
1634
  updatedAt?: (number|Long|null);
1635
+ }
1632
1636
 
1633
- /** UserUpdated user */
1634
- user?: (userdomain.IUser|null);
1637
+ /** Represents a UserEmailUpdated. */
1638
+ export class UserEmailUpdated implements IUserEmailUpdated {
1639
+
1640
+ /**
1641
+ * Constructs a new UserEmailUpdated.
1642
+ * @param [properties] Properties to set
1643
+ */
1644
+ constructor(properties?: IUserEmailUpdated);
1645
+
1646
+ /** UserEmailUpdated hsId. */
1647
+ public hsId: string;
1648
+
1649
+ /** UserEmailUpdated email. */
1650
+ public email: string;
1651
+
1652
+ /** UserEmailUpdated updatedAt. */
1653
+ public updatedAt: (number|Long);
1654
+
1655
+ /**
1656
+ * Creates a new UserEmailUpdated instance using the specified properties.
1657
+ * @param [properties] Properties to set
1658
+ * @returns UserEmailUpdated instance
1659
+ */
1660
+ public static create(properties?: IUserEmailUpdated): UserEmailUpdated;
1661
+
1662
+ /**
1663
+ * Encodes the specified UserEmailUpdated message. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
1664
+ * @param message UserEmailUpdated message or plain object to encode
1665
+ * @param [writer] Writer to encode to
1666
+ * @returns Writer
1667
+ */
1668
+ public static encode(message: IUserEmailUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
1669
+
1670
+ /**
1671
+ * Encodes the specified UserEmailUpdated message, length delimited. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
1672
+ * @param message UserEmailUpdated message or plain object to encode
1673
+ * @param [writer] Writer to encode to
1674
+ * @returns Writer
1675
+ */
1676
+ public static encodeDelimited(message: IUserEmailUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
1677
+
1678
+ /**
1679
+ * Decodes a UserEmailUpdated message from the specified reader or buffer.
1680
+ * @param reader Reader or buffer to decode from
1681
+ * @param [length] Message length if known beforehand
1682
+ * @returns UserEmailUpdated
1683
+ * @throws {Error} If the payload is not a reader or valid buffer
1684
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1685
+ */
1686
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserEmailUpdated;
1687
+
1688
+ /**
1689
+ * Decodes a UserEmailUpdated message from the specified reader or buffer, length delimited.
1690
+ * @param reader Reader or buffer to decode from
1691
+ * @returns UserEmailUpdated
1692
+ * @throws {Error} If the payload is not a reader or valid buffer
1693
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1694
+ */
1695
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserEmailUpdated;
1696
+
1697
+ /**
1698
+ * Verifies a UserEmailUpdated message.
1699
+ * @param message Plain object to verify
1700
+ * @returns `null` if valid, otherwise the reason why it is not
1701
+ */
1702
+ public static verify(message: { [k: string]: any }): (string|null);
1703
+
1704
+ /**
1705
+ * Creates a UserEmailUpdated message from a plain object. Also converts values to their respective internal types.
1706
+ * @param object Plain object
1707
+ * @returns UserEmailUpdated
1708
+ */
1709
+ public static fromObject(object: { [k: string]: any }): UserEmailUpdated;
1710
+
1711
+ /**
1712
+ * Creates a plain object from a UserEmailUpdated message. Also converts values to other types if specified.
1713
+ * @param message UserEmailUpdated
1714
+ * @param [options] Conversion options
1715
+ * @returns Plain object
1716
+ */
1717
+ public static toObject(message: UserEmailUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
1718
+
1719
+ /**
1720
+ * Converts this UserEmailUpdated to JSON.
1721
+ * @returns JSON object
1722
+ */
1723
+ public toJSON(): { [k: string]: any };
1635
1724
  }
1636
1725
 
1637
- /** Represents a UserUpdated. */
1638
- export class UserUpdated implements IUserUpdated {
1726
+ /** Properties of a UserNameUpdated. */
1727
+ export interface IUserNameUpdated {
1728
+
1729
+ /** UserNameUpdated hsId */
1730
+ hsId?: (string|null);
1731
+
1732
+ /** UserNameUpdated firstName */
1733
+ firstName?: (string|null);
1734
+
1735
+ /** UserNameUpdated lastName */
1736
+ lastName?: (string|null);
1737
+
1738
+ /** UserNameUpdated updatedAt */
1739
+ updatedAt?: (number|Long|null);
1740
+ }
1741
+
1742
+ /** Represents a UserNameUpdated. */
1743
+ export class UserNameUpdated implements IUserNameUpdated {
1639
1744
 
1640
1745
  /**
1641
- * Constructs a new UserUpdated.
1746
+ * Constructs a new UserNameUpdated.
1642
1747
  * @param [properties] Properties to set
1643
1748
  */
1644
- constructor(properties?: IUserUpdated);
1749
+ constructor(properties?: IUserNameUpdated);
1645
1750
 
1646
- /** UserUpdated hsId. */
1751
+ /** UserNameUpdated hsId. */
1647
1752
  public hsId: string;
1648
1753
 
1649
- /** UserUpdated updatedAt. */
1754
+ /** UserNameUpdated firstName. */
1755
+ public firstName: string;
1756
+
1757
+ /** UserNameUpdated lastName. */
1758
+ public lastName: string;
1759
+
1760
+ /** UserNameUpdated updatedAt. */
1650
1761
  public updatedAt: (number|Long);
1651
1762
 
1652
- /** UserUpdated user. */
1653
- public user?: (userdomain.IUser|null);
1763
+ /**
1764
+ * Creates a new UserNameUpdated instance using the specified properties.
1765
+ * @param [properties] Properties to set
1766
+ * @returns UserNameUpdated instance
1767
+ */
1768
+ public static create(properties?: IUserNameUpdated): UserNameUpdated;
1769
+
1770
+ /**
1771
+ * Encodes the specified UserNameUpdated message. Does not implicitly {@link UserNameUpdated.verify|verify} messages.
1772
+ * @param message UserNameUpdated message or plain object to encode
1773
+ * @param [writer] Writer to encode to
1774
+ * @returns Writer
1775
+ */
1776
+ public static encode(message: IUserNameUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
1777
+
1778
+ /**
1779
+ * Encodes the specified UserNameUpdated message, length delimited. Does not implicitly {@link UserNameUpdated.verify|verify} messages.
1780
+ * @param message UserNameUpdated message or plain object to encode
1781
+ * @param [writer] Writer to encode to
1782
+ * @returns Writer
1783
+ */
1784
+ public static encodeDelimited(message: IUserNameUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
1785
+
1786
+ /**
1787
+ * Decodes a UserNameUpdated message from the specified reader or buffer.
1788
+ * @param reader Reader or buffer to decode from
1789
+ * @param [length] Message length if known beforehand
1790
+ * @returns UserNameUpdated
1791
+ * @throws {Error} If the payload is not a reader or valid buffer
1792
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1793
+ */
1794
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserNameUpdated;
1795
+
1796
+ /**
1797
+ * Decodes a UserNameUpdated message from the specified reader or buffer, length delimited.
1798
+ * @param reader Reader or buffer to decode from
1799
+ * @returns UserNameUpdated
1800
+ * @throws {Error} If the payload is not a reader or valid buffer
1801
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1802
+ */
1803
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserNameUpdated;
1804
+
1805
+ /**
1806
+ * Verifies a UserNameUpdated message.
1807
+ * @param message Plain object to verify
1808
+ * @returns `null` if valid, otherwise the reason why it is not
1809
+ */
1810
+ public static verify(message: { [k: string]: any }): (string|null);
1811
+
1812
+ /**
1813
+ * Creates a UserNameUpdated message from a plain object. Also converts values to their respective internal types.
1814
+ * @param object Plain object
1815
+ * @returns UserNameUpdated
1816
+ */
1817
+ public static fromObject(object: { [k: string]: any }): UserNameUpdated;
1818
+
1819
+ /**
1820
+ * Creates a plain object from a UserNameUpdated message. Also converts values to other types if specified.
1821
+ * @param message UserNameUpdated
1822
+ * @param [options] Conversion options
1823
+ * @returns Plain object
1824
+ */
1825
+ public static toObject(message: UserNameUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
1826
+
1827
+ /**
1828
+ * Converts this UserNameUpdated to JSON.
1829
+ * @returns JSON object
1830
+ */
1831
+ public toJSON(): { [k: string]: any };
1832
+ }
1833
+
1834
+ /** Properties of a UserCountryUpdated. */
1835
+ export interface IUserCountryUpdated {
1836
+
1837
+ /** UserCountryUpdated hsId */
1838
+ hsId?: (string|null);
1839
+
1840
+ /** UserCountryUpdated countryCode */
1841
+ countryCode?: (string|null);
1842
+
1843
+ /** UserCountryUpdated updatedAt */
1844
+ updatedAt?: (number|Long|null);
1845
+ }
1846
+
1847
+ /** Represents a UserCountryUpdated. */
1848
+ export class UserCountryUpdated implements IUserCountryUpdated {
1849
+
1850
+ /**
1851
+ * Constructs a new UserCountryUpdated.
1852
+ * @param [properties] Properties to set
1853
+ */
1854
+ constructor(properties?: IUserCountryUpdated);
1855
+
1856
+ /** UserCountryUpdated hsId. */
1857
+ public hsId: string;
1858
+
1859
+ /** UserCountryUpdated countryCode. */
1860
+ public countryCode: string;
1861
+
1862
+ /** UserCountryUpdated updatedAt. */
1863
+ public updatedAt: (number|Long);
1654
1864
 
1655
1865
  /**
1656
- * Creates a new UserUpdated instance using the specified properties.
1866
+ * Creates a new UserCountryUpdated instance using the specified properties.
1657
1867
  * @param [properties] Properties to set
1658
- * @returns UserUpdated instance
1868
+ * @returns UserCountryUpdated instance
1659
1869
  */
1660
- public static create(properties?: IUserUpdated): UserUpdated;
1870
+ public static create(properties?: IUserCountryUpdated): UserCountryUpdated;
1661
1871
 
1662
1872
  /**
1663
- * Encodes the specified UserUpdated message. Does not implicitly {@link UserUpdated.verify|verify} messages.
1664
- * @param message UserUpdated message or plain object to encode
1873
+ * Encodes the specified UserCountryUpdated message. Does not implicitly {@link UserCountryUpdated.verify|verify} messages.
1874
+ * @param message UserCountryUpdated message or plain object to encode
1665
1875
  * @param [writer] Writer to encode to
1666
1876
  * @returns Writer
1667
1877
  */
1668
- public static encode(message: IUserUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
1878
+ public static encode(message: IUserCountryUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
1669
1879
 
1670
1880
  /**
1671
- * Encodes the specified UserUpdated message, length delimited. Does not implicitly {@link UserUpdated.verify|verify} messages.
1672
- * @param message UserUpdated message or plain object to encode
1881
+ * Encodes the specified UserCountryUpdated message, length delimited. Does not implicitly {@link UserCountryUpdated.verify|verify} messages.
1882
+ * @param message UserCountryUpdated message or plain object to encode
1673
1883
  * @param [writer] Writer to encode to
1674
1884
  * @returns Writer
1675
1885
  */
1676
- public static encodeDelimited(message: IUserUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
1886
+ public static encodeDelimited(message: IUserCountryUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
1677
1887
 
1678
1888
  /**
1679
- * Decodes a UserUpdated message from the specified reader or buffer.
1889
+ * Decodes a UserCountryUpdated message from the specified reader or buffer.
1680
1890
  * @param reader Reader or buffer to decode from
1681
1891
  * @param [length] Message length if known beforehand
1682
- * @returns UserUpdated
1892
+ * @returns UserCountryUpdated
1683
1893
  * @throws {Error} If the payload is not a reader or valid buffer
1684
1894
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
1685
1895
  */
1686
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserUpdated;
1896
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserCountryUpdated;
1687
1897
 
1688
1898
  /**
1689
- * Decodes a UserUpdated message from the specified reader or buffer, length delimited.
1899
+ * Decodes a UserCountryUpdated message from the specified reader or buffer, length delimited.
1690
1900
  * @param reader Reader or buffer to decode from
1691
- * @returns UserUpdated
1901
+ * @returns UserCountryUpdated
1692
1902
  * @throws {Error} If the payload is not a reader or valid buffer
1693
1903
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
1694
1904
  */
1695
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserUpdated;
1905
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserCountryUpdated;
1696
1906
 
1697
1907
  /**
1698
- * Verifies a UserUpdated message.
1908
+ * Verifies a UserCountryUpdated message.
1699
1909
  * @param message Plain object to verify
1700
1910
  * @returns `null` if valid, otherwise the reason why it is not
1701
1911
  */
1702
1912
  public static verify(message: { [k: string]: any }): (string|null);
1703
1913
 
1704
1914
  /**
1705
- * Creates a UserUpdated message from a plain object. Also converts values to their respective internal types.
1915
+ * Creates a UserCountryUpdated message from a plain object. Also converts values to their respective internal types.
1706
1916
  * @param object Plain object
1707
- * @returns UserUpdated
1917
+ * @returns UserCountryUpdated
1708
1918
  */
1709
- public static fromObject(object: { [k: string]: any }): UserUpdated;
1919
+ public static fromObject(object: { [k: string]: any }): UserCountryUpdated;
1710
1920
 
1711
1921
  /**
1712
- * Creates a plain object from a UserUpdated message. Also converts values to other types if specified.
1713
- * @param message UserUpdated
1922
+ * Creates a plain object from a UserCountryUpdated message. Also converts values to other types if specified.
1923
+ * @param message UserCountryUpdated
1714
1924
  * @param [options] Conversion options
1715
1925
  * @returns Plain object
1716
1926
  */
1717
- public static toObject(message: UserUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
1927
+ public static toObject(message: UserCountryUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
1718
1928
 
1719
1929
  /**
1720
- * Converts this UserUpdated to JSON.
1930
+ * Converts this UserCountryUpdated to JSON.
1721
1931
  * @returns JSON object
1722
1932
  */
1723
1933
  public toJSON(): { [k: string]: any };
@@ -4603,601 +4813,373 @@ export class SubscriptionGraced implements ISubscriptionGraced {
4603
4813
  public toJSON(): { [k: string]: any };
4604
4814
  }
4605
4815
 
4606
- /** Properties of a UserDoubleOptInEmailRequested. */
4607
- export interface IUserDoubleOptInEmailRequested {
4608
-
4609
- /** UserDoubleOptInEmailRequested userId */
4610
- userId?: (string|null);
4611
- }
4816
+ /** Properties of a SubscriptionStarted. */
4817
+ export interface ISubscriptionStarted {
4612
4818
 
4613
- /** Represents a UserDoubleOptInEmailRequested. */
4614
- export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailRequested {
4615
-
4616
- /**
4617
- * Constructs a new UserDoubleOptInEmailRequested.
4618
- * @param [properties] Properties to set
4619
- */
4620
- constructor(properties?: IUserDoubleOptInEmailRequested);
4621
-
4622
- /** UserDoubleOptInEmailRequested userId. */
4623
- public userId: string;
4624
-
4625
- /**
4626
- * Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
4627
- * @param [properties] Properties to set
4628
- * @returns UserDoubleOptInEmailRequested instance
4629
- */
4630
- public static create(properties?: IUserDoubleOptInEmailRequested): UserDoubleOptInEmailRequested;
4631
-
4632
- /**
4633
- * Encodes the specified UserDoubleOptInEmailRequested message. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
4634
- * @param message UserDoubleOptInEmailRequested message or plain object to encode
4635
- * @param [writer] Writer to encode to
4636
- * @returns Writer
4637
- */
4638
- public static encode(message: IUserDoubleOptInEmailRequested, writer?: $protobuf.Writer): $protobuf.Writer;
4639
-
4640
- /**
4641
- * Encodes the specified UserDoubleOptInEmailRequested message, length delimited. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
4642
- * @param message UserDoubleOptInEmailRequested message or plain object to encode
4643
- * @param [writer] Writer to encode to
4644
- * @returns Writer
4645
- */
4646
- public static encodeDelimited(message: IUserDoubleOptInEmailRequested, writer?: $protobuf.Writer): $protobuf.Writer;
4647
-
4648
- /**
4649
- * Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer.
4650
- * @param reader Reader or buffer to decode from
4651
- * @param [length] Message length if known beforehand
4652
- * @returns UserDoubleOptInEmailRequested
4653
- * @throws {Error} If the payload is not a reader or valid buffer
4654
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4655
- */
4656
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDoubleOptInEmailRequested;
4657
-
4658
- /**
4659
- * Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer, length delimited.
4660
- * @param reader Reader or buffer to decode from
4661
- * @returns UserDoubleOptInEmailRequested
4662
- * @throws {Error} If the payload is not a reader or valid buffer
4663
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4664
- */
4665
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDoubleOptInEmailRequested;
4819
+ /** SubscriptionStarted updatedOn */
4820
+ updatedOn?: (number|Long|null);
4666
4821
 
4667
- /**
4668
- * Verifies a UserDoubleOptInEmailRequested message.
4669
- * @param message Plain object to verify
4670
- * @returns `null` if valid, otherwise the reason why it is not
4671
- */
4672
- public static verify(message: { [k: string]: any }): (string|null);
4822
+ /** SubscriptionStarted userId */
4823
+ userId?: (string|null);
4673
4824
 
4674
- /**
4675
- * Creates a UserDoubleOptInEmailRequested message from a plain object. Also converts values to their respective internal types.
4676
- * @param object Plain object
4677
- * @returns UserDoubleOptInEmailRequested
4678
- */
4679
- public static fromObject(object: { [k: string]: any }): UserDoubleOptInEmailRequested;
4825
+ /** SubscriptionStarted createdAt */
4826
+ createdAt?: (number|Long|null);
4680
4827
 
4681
- /**
4682
- * Creates a plain object from a UserDoubleOptInEmailRequested message. Also converts values to other types if specified.
4683
- * @param message UserDoubleOptInEmailRequested
4684
- * @param [options] Conversion options
4685
- * @returns Plain object
4686
- */
4687
- public static toObject(message: UserDoubleOptInEmailRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
4828
+ /** SubscriptionStarted startsAt */
4829
+ startsAt?: (number|Long|null);
4688
4830
 
4689
- /**
4690
- * Converts this UserDoubleOptInEmailRequested to JSON.
4691
- * @returns JSON object
4692
- */
4693
- public toJSON(): { [k: string]: any };
4694
- }
4831
+ /** SubscriptionStarted endsAt */
4832
+ endsAt?: (number|Long|null);
4695
4833
 
4696
- /** Properties of a UserEmailUpdated. */
4697
- export interface IUserEmailUpdated {
4834
+ /** SubscriptionStarted voucherCode */
4835
+ voucherCode?: (string|null);
4698
4836
 
4699
- /** UserEmailUpdated userId */
4700
- userId?: (string|null);
4837
+ /** SubscriptionStarted platform */
4838
+ platform?: (subscription.SubscriptionPlatform|null);
4701
4839
 
4702
- /** UserEmailUpdated oldEmail */
4703
- oldEmail?: (string|null);
4840
+ /** SubscriptionStarted autoRenewalStatus */
4841
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
4704
4842
 
4705
- /** UserEmailUpdated timestamp */
4706
- timestamp?: (number|Long|null);
4843
+ /** SubscriptionStarted plan */
4844
+ plan?: (subscription.IPlan|null);
4707
4845
  }
4708
4846
 
4709
- /** Represents a UserEmailUpdated. */
4710
- export class UserEmailUpdated implements IUserEmailUpdated {
4711
-
4712
- /**
4713
- * Constructs a new UserEmailUpdated.
4714
- * @param [properties] Properties to set
4715
- */
4716
- constructor(properties?: IUserEmailUpdated);
4717
-
4718
- /** UserEmailUpdated userId. */
4719
- public userId: string;
4720
-
4721
- /** UserEmailUpdated oldEmail. */
4722
- public oldEmail: string;
4723
-
4724
- /** UserEmailUpdated timestamp. */
4725
- public timestamp: (number|Long);
4847
+ /** Represents a SubscriptionStarted. */
4848
+ export class SubscriptionStarted implements ISubscriptionStarted {
4726
4849
 
4727
4850
  /**
4728
- * Creates a new UserEmailUpdated instance using the specified properties.
4851
+ * Constructs a new SubscriptionStarted.
4729
4852
  * @param [properties] Properties to set
4730
- * @returns UserEmailUpdated instance
4731
- */
4732
- public static create(properties?: IUserEmailUpdated): UserEmailUpdated;
4733
-
4734
- /**
4735
- * Encodes the specified UserEmailUpdated message. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
4736
- * @param message UserEmailUpdated message or plain object to encode
4737
- * @param [writer] Writer to encode to
4738
- * @returns Writer
4739
4853
  */
4740
- public static encode(message: IUserEmailUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
4854
+ constructor(properties?: ISubscriptionStarted);
4741
4855
 
4742
- /**
4743
- * Encodes the specified UserEmailUpdated message, length delimited. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
4744
- * @param message UserEmailUpdated message or plain object to encode
4745
- * @param [writer] Writer to encode to
4746
- * @returns Writer
4747
- */
4748
- public static encodeDelimited(message: IUserEmailUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
4749
-
4750
- /**
4751
- * Decodes a UserEmailUpdated message from the specified reader or buffer.
4752
- * @param reader Reader or buffer to decode from
4753
- * @param [length] Message length if known beforehand
4754
- * @returns UserEmailUpdated
4755
- * @throws {Error} If the payload is not a reader or valid buffer
4756
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4757
- */
4758
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserEmailUpdated;
4759
-
4760
- /**
4761
- * Decodes a UserEmailUpdated message from the specified reader or buffer, length delimited.
4762
- * @param reader Reader or buffer to decode from
4763
- * @returns UserEmailUpdated
4764
- * @throws {Error} If the payload is not a reader or valid buffer
4765
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4766
- */
4767
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserEmailUpdated;
4768
-
4769
- /**
4770
- * Verifies a UserEmailUpdated message.
4771
- * @param message Plain object to verify
4772
- * @returns `null` if valid, otherwise the reason why it is not
4773
- */
4774
- public static verify(message: { [k: string]: any }): (string|null);
4775
-
4776
- /**
4777
- * Creates a UserEmailUpdated message from a plain object. Also converts values to their respective internal types.
4778
- * @param object Plain object
4779
- * @returns UserEmailUpdated
4780
- */
4781
- public static fromObject(object: { [k: string]: any }): UserEmailUpdated;
4782
-
4783
- /**
4784
- * Creates a plain object from a UserEmailUpdated message. Also converts values to other types if specified.
4785
- * @param message UserEmailUpdated
4786
- * @param [options] Conversion options
4787
- * @returns Plain object
4788
- */
4789
- public static toObject(message: UserEmailUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
4790
-
4791
- /**
4792
- * Converts this UserEmailUpdated to JSON.
4793
- * @returns JSON object
4794
- */
4795
- public toJSON(): { [k: string]: any };
4796
- }
4797
-
4798
- /** Properties of a UserEmailVerificationRequested. */
4799
- export interface IUserEmailVerificationRequested {
4800
-
4801
- /** UserEmailVerificationRequested userId */
4802
- userId?: (string|null);
4803
-
4804
- /** UserEmailVerificationRequested verificationCode */
4805
- verificationCode?: (string|null);
4856
+ /** SubscriptionStarted updatedOn. */
4857
+ public updatedOn: (number|Long);
4806
4858
 
4807
- /** UserEmailVerificationRequested timestamp */
4808
- timestamp?: (number|Long|null);
4859
+ /** SubscriptionStarted userId. */
4860
+ public userId: string;
4809
4861
 
4810
- /** UserEmailVerificationRequested optIn */
4811
- optIn?: (boolean|null);
4812
- }
4862
+ /** SubscriptionStarted createdAt. */
4863
+ public createdAt: (number|Long);
4813
4864
 
4814
- /** Represents a UserEmailVerificationRequested. */
4815
- export class UserEmailVerificationRequested implements IUserEmailVerificationRequested {
4865
+ /** SubscriptionStarted startsAt. */
4866
+ public startsAt: (number|Long);
4816
4867
 
4817
- /**
4818
- * Constructs a new UserEmailVerificationRequested.
4819
- * @param [properties] Properties to set
4820
- */
4821
- constructor(properties?: IUserEmailVerificationRequested);
4868
+ /** SubscriptionStarted endsAt. */
4869
+ public endsAt: (number|Long);
4822
4870
 
4823
- /** UserEmailVerificationRequested userId. */
4824
- public userId: string;
4871
+ /** SubscriptionStarted voucherCode. */
4872
+ public voucherCode: string;
4825
4873
 
4826
- /** UserEmailVerificationRequested verificationCode. */
4827
- public verificationCode: string;
4874
+ /** SubscriptionStarted platform. */
4875
+ public platform: subscription.SubscriptionPlatform;
4828
4876
 
4829
- /** UserEmailVerificationRequested timestamp. */
4830
- public timestamp: (number|Long);
4877
+ /** SubscriptionStarted autoRenewalStatus. */
4878
+ public autoRenewalStatus: subscription.AutoRenewalStatus;
4831
4879
 
4832
- /** UserEmailVerificationRequested optIn. */
4833
- public optIn: boolean;
4880
+ /** SubscriptionStarted plan. */
4881
+ public plan?: (subscription.IPlan|null);
4834
4882
 
4835
4883
  /**
4836
- * Creates a new UserEmailVerificationRequested instance using the specified properties.
4884
+ * Creates a new SubscriptionStarted instance using the specified properties.
4837
4885
  * @param [properties] Properties to set
4838
- * @returns UserEmailVerificationRequested instance
4886
+ * @returns SubscriptionStarted instance
4839
4887
  */
4840
- public static create(properties?: IUserEmailVerificationRequested): UserEmailVerificationRequested;
4888
+ public static create(properties?: ISubscriptionStarted): SubscriptionStarted;
4841
4889
 
4842
4890
  /**
4843
- * Encodes the specified UserEmailVerificationRequested message. Does not implicitly {@link UserEmailVerificationRequested.verify|verify} messages.
4844
- * @param message UserEmailVerificationRequested message or plain object to encode
4891
+ * Encodes the specified SubscriptionStarted message. Does not implicitly {@link SubscriptionStarted.verify|verify} messages.
4892
+ * @param message SubscriptionStarted message or plain object to encode
4845
4893
  * @param [writer] Writer to encode to
4846
4894
  * @returns Writer
4847
4895
  */
4848
- public static encode(message: IUserEmailVerificationRequested, writer?: $protobuf.Writer): $protobuf.Writer;
4896
+ public static encode(message: ISubscriptionStarted, writer?: $protobuf.Writer): $protobuf.Writer;
4849
4897
 
4850
4898
  /**
4851
- * Encodes the specified UserEmailVerificationRequested message, length delimited. Does not implicitly {@link UserEmailVerificationRequested.verify|verify} messages.
4852
- * @param message UserEmailVerificationRequested message or plain object to encode
4899
+ * Encodes the specified SubscriptionStarted message, length delimited. Does not implicitly {@link SubscriptionStarted.verify|verify} messages.
4900
+ * @param message SubscriptionStarted message or plain object to encode
4853
4901
  * @param [writer] Writer to encode to
4854
4902
  * @returns Writer
4855
4903
  */
4856
- public static encodeDelimited(message: IUserEmailVerificationRequested, writer?: $protobuf.Writer): $protobuf.Writer;
4904
+ public static encodeDelimited(message: ISubscriptionStarted, writer?: $protobuf.Writer): $protobuf.Writer;
4857
4905
 
4858
4906
  /**
4859
- * Decodes a UserEmailVerificationRequested message from the specified reader or buffer.
4907
+ * Decodes a SubscriptionStarted message from the specified reader or buffer.
4860
4908
  * @param reader Reader or buffer to decode from
4861
4909
  * @param [length] Message length if known beforehand
4862
- * @returns UserEmailVerificationRequested
4910
+ * @returns SubscriptionStarted
4863
4911
  * @throws {Error} If the payload is not a reader or valid buffer
4864
4912
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
4865
4913
  */
4866
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserEmailVerificationRequested;
4914
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SubscriptionStarted;
4867
4915
 
4868
4916
  /**
4869
- * Decodes a UserEmailVerificationRequested message from the specified reader or buffer, length delimited.
4917
+ * Decodes a SubscriptionStarted message from the specified reader or buffer, length delimited.
4870
4918
  * @param reader Reader or buffer to decode from
4871
- * @returns UserEmailVerificationRequested
4919
+ * @returns SubscriptionStarted
4872
4920
  * @throws {Error} If the payload is not a reader or valid buffer
4873
4921
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
4874
4922
  */
4875
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserEmailVerificationRequested;
4923
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SubscriptionStarted;
4876
4924
 
4877
4925
  /**
4878
- * Verifies a UserEmailVerificationRequested message.
4926
+ * Verifies a SubscriptionStarted message.
4879
4927
  * @param message Plain object to verify
4880
4928
  * @returns `null` if valid, otherwise the reason why it is not
4881
4929
  */
4882
4930
  public static verify(message: { [k: string]: any }): (string|null);
4883
4931
 
4884
4932
  /**
4885
- * Creates a UserEmailVerificationRequested message from a plain object. Also converts values to their respective internal types.
4933
+ * Creates a SubscriptionStarted message from a plain object. Also converts values to their respective internal types.
4886
4934
  * @param object Plain object
4887
- * @returns UserEmailVerificationRequested
4935
+ * @returns SubscriptionStarted
4888
4936
  */
4889
- public static fromObject(object: { [k: string]: any }): UserEmailVerificationRequested;
4937
+ public static fromObject(object: { [k: string]: any }): SubscriptionStarted;
4890
4938
 
4891
4939
  /**
4892
- * Creates a plain object from a UserEmailVerificationRequested message. Also converts values to other types if specified.
4893
- * @param message UserEmailVerificationRequested
4940
+ * Creates a plain object from a SubscriptionStarted message. Also converts values to other types if specified.
4941
+ * @param message SubscriptionStarted
4894
4942
  * @param [options] Conversion options
4895
4943
  * @returns Plain object
4896
4944
  */
4897
- public static toObject(message: UserEmailVerificationRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
4945
+ public static toObject(message: SubscriptionStarted, options?: $protobuf.IConversionOptions): { [k: string]: any };
4898
4946
 
4899
4947
  /**
4900
- * Converts this UserEmailVerificationRequested to JSON.
4948
+ * Converts this SubscriptionStarted to JSON.
4901
4949
  * @returns JSON object
4902
4950
  */
4903
4951
  public toJSON(): { [k: string]: any };
4904
4952
  }
4905
4953
 
4906
- /** Properties of a UserPasswordResetRequested. */
4907
- export interface IUserPasswordResetRequested {
4954
+ /** Properties of a SubscriptionEnded. */
4955
+ export interface ISubscriptionEnded {
4908
4956
 
4909
- /** UserPasswordResetRequested userId */
4957
+ /** SubscriptionEnded updatedOn */
4958
+ updatedOn?: (number|Long|null);
4959
+
4960
+ /** SubscriptionEnded userId */
4910
4961
  userId?: (string|null);
4911
4962
 
4912
- /** UserPasswordResetRequested resetCode */
4913
- resetCode?: (string|null);
4963
+ /** SubscriptionEnded createdAt */
4964
+ createdAt?: (number|Long|null);
4914
4965
 
4915
- /** UserPasswordResetRequested timestamp */
4916
- timestamp?: (number|Long|null);
4966
+ /** SubscriptionEnded startsAt */
4967
+ startsAt?: (number|Long|null);
4917
4968
 
4918
- /** UserPasswordResetRequested email */
4919
- email?: (string|null);
4920
- }
4969
+ /** SubscriptionEnded endsAt */
4970
+ endsAt?: (number|Long|null);
4921
4971
 
4922
- /** Represents a UserPasswordResetRequested. */
4923
- export class UserPasswordResetRequested implements IUserPasswordResetRequested {
4972
+ /** SubscriptionEnded voucherCode */
4973
+ voucherCode?: (string|null);
4924
4974
 
4925
- /**
4926
- * Constructs a new UserPasswordResetRequested.
4927
- * @param [properties] Properties to set
4928
- */
4929
- constructor(properties?: IUserPasswordResetRequested);
4975
+ /** SubscriptionEnded platform */
4976
+ platform?: (subscription.SubscriptionPlatform|null);
4930
4977
 
4931
- /** UserPasswordResetRequested userId. */
4932
- public userId: string;
4978
+ /** SubscriptionEnded autoRenewalStatus */
4979
+ autoRenewalStatus?: (subscription.AutoRenewalStatus|null);
4933
4980
 
4934
- /** UserPasswordResetRequested resetCode. */
4935
- public resetCode: string;
4981
+ /** SubscriptionEnded plan */
4982
+ plan?: (subscription.IPlan|null);
4936
4983
 
4937
- /** UserPasswordResetRequested timestamp. */
4938
- public timestamp: (number|Long);
4984
+ /** SubscriptionEnded cancellationType */
4985
+ cancellationType?: (subscription.CancellationType|null);
4986
+ }
4939
4987
 
4940
- /** UserPasswordResetRequested email. */
4941
- public email: string;
4988
+ /** Represents a SubscriptionEnded. */
4989
+ export class SubscriptionEnded implements ISubscriptionEnded {
4942
4990
 
4943
4991
  /**
4944
- * Creates a new UserPasswordResetRequested instance using the specified properties.
4992
+ * Constructs a new SubscriptionEnded.
4945
4993
  * @param [properties] Properties to set
4946
- * @returns UserPasswordResetRequested instance
4947
- */
4948
- public static create(properties?: IUserPasswordResetRequested): UserPasswordResetRequested;
4949
-
4950
- /**
4951
- * Encodes the specified UserPasswordResetRequested message. Does not implicitly {@link UserPasswordResetRequested.verify|verify} messages.
4952
- * @param message UserPasswordResetRequested message or plain object to encode
4953
- * @param [writer] Writer to encode to
4954
- * @returns Writer
4955
- */
4956
- public static encode(message: IUserPasswordResetRequested, writer?: $protobuf.Writer): $protobuf.Writer;
4957
-
4958
- /**
4959
- * Encodes the specified UserPasswordResetRequested message, length delimited. Does not implicitly {@link UserPasswordResetRequested.verify|verify} messages.
4960
- * @param message UserPasswordResetRequested message or plain object to encode
4961
- * @param [writer] Writer to encode to
4962
- * @returns Writer
4963
- */
4964
- public static encodeDelimited(message: IUserPasswordResetRequested, writer?: $protobuf.Writer): $protobuf.Writer;
4965
-
4966
- /**
4967
- * Decodes a UserPasswordResetRequested message from the specified reader or buffer.
4968
- * @param reader Reader or buffer to decode from
4969
- * @param [length] Message length if known beforehand
4970
- * @returns UserPasswordResetRequested
4971
- * @throws {Error} If the payload is not a reader or valid buffer
4972
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4973
- */
4974
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordResetRequested;
4975
-
4976
- /**
4977
- * Decodes a UserPasswordResetRequested message from the specified reader or buffer, length delimited.
4978
- * @param reader Reader or buffer to decode from
4979
- * @returns UserPasswordResetRequested
4980
- * @throws {Error} If the payload is not a reader or valid buffer
4981
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4982
- */
4983
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordResetRequested;
4984
-
4985
- /**
4986
- * Verifies a UserPasswordResetRequested message.
4987
- * @param message Plain object to verify
4988
- * @returns `null` if valid, otherwise the reason why it is not
4989
- */
4990
- public static verify(message: { [k: string]: any }): (string|null);
4991
-
4992
- /**
4993
- * Creates a UserPasswordResetRequested message from a plain object. Also converts values to their respective internal types.
4994
- * @param object Plain object
4995
- * @returns UserPasswordResetRequested
4996
- */
4997
- public static fromObject(object: { [k: string]: any }): UserPasswordResetRequested;
4998
-
4999
- /**
5000
- * Creates a plain object from a UserPasswordResetRequested message. Also converts values to other types if specified.
5001
- * @param message UserPasswordResetRequested
5002
- * @param [options] Conversion options
5003
- * @returns Plain object
5004
4994
  */
5005
- public static toObject(message: UserPasswordResetRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
4995
+ constructor(properties?: ISubscriptionEnded);
5006
4996
 
5007
- /**
5008
- * Converts this UserPasswordResetRequested to JSON.
5009
- * @returns JSON object
5010
- */
5011
- public toJSON(): { [k: string]: any };
5012
- }
4997
+ /** SubscriptionEnded updatedOn. */
4998
+ public updatedOn: (number|Long);
5013
4999
 
5014
- /** Properties of a UserPasswordUpdated. */
5015
- export interface IUserPasswordUpdated {
5000
+ /** SubscriptionEnded userId. */
5001
+ public userId: string;
5016
5002
 
5017
- /** UserPasswordUpdated userId */
5018
- userId?: (string|null);
5003
+ /** SubscriptionEnded createdAt. */
5004
+ public createdAt: (number|Long);
5019
5005
 
5020
- /** UserPasswordUpdated updatedOn */
5021
- updatedOn?: (number|Long|null);
5006
+ /** SubscriptionEnded startsAt. */
5007
+ public startsAt: (number|Long);
5022
5008
 
5023
- /** UserPasswordUpdated email */
5024
- email?: (string|null);
5025
- }
5009
+ /** SubscriptionEnded endsAt. */
5010
+ public endsAt: (number|Long);
5026
5011
 
5027
- /** Represents a UserPasswordUpdated. */
5028
- export class UserPasswordUpdated implements IUserPasswordUpdated {
5012
+ /** SubscriptionEnded voucherCode. */
5013
+ public voucherCode: string;
5029
5014
 
5030
- /**
5031
- * Constructs a new UserPasswordUpdated.
5032
- * @param [properties] Properties to set
5033
- */
5034
- constructor(properties?: IUserPasswordUpdated);
5015
+ /** SubscriptionEnded platform. */
5016
+ public platform: subscription.SubscriptionPlatform;
5035
5017
 
5036
- /** UserPasswordUpdated userId. */
5037
- public userId: string;
5018
+ /** SubscriptionEnded autoRenewalStatus. */
5019
+ public autoRenewalStatus: subscription.AutoRenewalStatus;
5038
5020
 
5039
- /** UserPasswordUpdated updatedOn. */
5040
- public updatedOn: (number|Long);
5021
+ /** SubscriptionEnded plan. */
5022
+ public plan?: (subscription.IPlan|null);
5041
5023
 
5042
- /** UserPasswordUpdated email. */
5043
- public email: string;
5024
+ /** SubscriptionEnded cancellationType. */
5025
+ public cancellationType: subscription.CancellationType;
5044
5026
 
5045
5027
  /**
5046
- * Creates a new UserPasswordUpdated instance using the specified properties.
5028
+ * Creates a new SubscriptionEnded instance using the specified properties.
5047
5029
  * @param [properties] Properties to set
5048
- * @returns UserPasswordUpdated instance
5030
+ * @returns SubscriptionEnded instance
5049
5031
  */
5050
- public static create(properties?: IUserPasswordUpdated): UserPasswordUpdated;
5032
+ public static create(properties?: ISubscriptionEnded): SubscriptionEnded;
5051
5033
 
5052
5034
  /**
5053
- * Encodes the specified UserPasswordUpdated message. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
5054
- * @param message UserPasswordUpdated message or plain object to encode
5035
+ * Encodes the specified SubscriptionEnded message. Does not implicitly {@link SubscriptionEnded.verify|verify} messages.
5036
+ * @param message SubscriptionEnded message or plain object to encode
5055
5037
  * @param [writer] Writer to encode to
5056
5038
  * @returns Writer
5057
5039
  */
5058
- public static encode(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
5040
+ public static encode(message: ISubscriptionEnded, writer?: $protobuf.Writer): $protobuf.Writer;
5059
5041
 
5060
5042
  /**
5061
- * Encodes the specified UserPasswordUpdated message, length delimited. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
5062
- * @param message UserPasswordUpdated message or plain object to encode
5043
+ * Encodes the specified SubscriptionEnded message, length delimited. Does not implicitly {@link SubscriptionEnded.verify|verify} messages.
5044
+ * @param message SubscriptionEnded message or plain object to encode
5063
5045
  * @param [writer] Writer to encode to
5064
5046
  * @returns Writer
5065
5047
  */
5066
- public static encodeDelimited(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
5048
+ public static encodeDelimited(message: ISubscriptionEnded, writer?: $protobuf.Writer): $protobuf.Writer;
5067
5049
 
5068
5050
  /**
5069
- * Decodes a UserPasswordUpdated message from the specified reader or buffer.
5051
+ * Decodes a SubscriptionEnded message from the specified reader or buffer.
5070
5052
  * @param reader Reader or buffer to decode from
5071
5053
  * @param [length] Message length if known beforehand
5072
- * @returns UserPasswordUpdated
5054
+ * @returns SubscriptionEnded
5073
5055
  * @throws {Error} If the payload is not a reader or valid buffer
5074
5056
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
5075
5057
  */
5076
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordUpdated;
5058
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SubscriptionEnded;
5077
5059
 
5078
5060
  /**
5079
- * Decodes a UserPasswordUpdated message from the specified reader or buffer, length delimited.
5061
+ * Decodes a SubscriptionEnded message from the specified reader or buffer, length delimited.
5080
5062
  * @param reader Reader or buffer to decode from
5081
- * @returns UserPasswordUpdated
5063
+ * @returns SubscriptionEnded
5082
5064
  * @throws {Error} If the payload is not a reader or valid buffer
5083
5065
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
5084
5066
  */
5085
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordUpdated;
5067
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SubscriptionEnded;
5086
5068
 
5087
5069
  /**
5088
- * Verifies a UserPasswordUpdated message.
5070
+ * Verifies a SubscriptionEnded message.
5089
5071
  * @param message Plain object to verify
5090
5072
  * @returns `null` if valid, otherwise the reason why it is not
5091
5073
  */
5092
5074
  public static verify(message: { [k: string]: any }): (string|null);
5093
5075
 
5094
5076
  /**
5095
- * Creates a UserPasswordUpdated message from a plain object. Also converts values to their respective internal types.
5077
+ * Creates a SubscriptionEnded message from a plain object. Also converts values to their respective internal types.
5096
5078
  * @param object Plain object
5097
- * @returns UserPasswordUpdated
5079
+ * @returns SubscriptionEnded
5098
5080
  */
5099
- public static fromObject(object: { [k: string]: any }): UserPasswordUpdated;
5081
+ public static fromObject(object: { [k: string]: any }): SubscriptionEnded;
5100
5082
 
5101
5083
  /**
5102
- * Creates a plain object from a UserPasswordUpdated message. Also converts values to other types if specified.
5103
- * @param message UserPasswordUpdated
5084
+ * Creates a plain object from a SubscriptionEnded message. Also converts values to other types if specified.
5085
+ * @param message SubscriptionEnded
5104
5086
  * @param [options] Conversion options
5105
5087
  * @returns Plain object
5106
5088
  */
5107
- public static toObject(message: UserPasswordUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
5089
+ public static toObject(message: SubscriptionEnded, options?: $protobuf.IConversionOptions): { [k: string]: any };
5108
5090
 
5109
5091
  /**
5110
- * Converts this UserPasswordUpdated to JSON.
5092
+ * Converts this SubscriptionEnded to JSON.
5111
5093
  * @returns JSON object
5112
5094
  */
5113
5095
  public toJSON(): { [k: string]: any };
5114
5096
  }
5115
5097
 
5116
- /** Properties of a UserEmailMarketingOptedIn. */
5117
- export interface IUserEmailMarketingOptedIn {
5098
+ /** Properties of a UserDoubleOptInEmailRequested. */
5099
+ export interface IUserDoubleOptInEmailRequested {
5118
5100
 
5119
- /** UserEmailMarketingOptedIn userId */
5101
+ /** UserDoubleOptInEmailRequested userId */
5120
5102
  userId?: (string|null);
5121
5103
  }
5122
5104
 
5123
- /** Represents a UserEmailMarketingOptedIn. */
5124
- export class UserEmailMarketingOptedIn implements IUserEmailMarketingOptedIn {
5105
+ /** Represents a UserDoubleOptInEmailRequested. */
5106
+ export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailRequested {
5125
5107
 
5126
5108
  /**
5127
- * Constructs a new UserEmailMarketingOptedIn.
5109
+ * Constructs a new UserDoubleOptInEmailRequested.
5128
5110
  * @param [properties] Properties to set
5129
5111
  */
5130
- constructor(properties?: IUserEmailMarketingOptedIn);
5112
+ constructor(properties?: IUserDoubleOptInEmailRequested);
5131
5113
 
5132
- /** UserEmailMarketingOptedIn userId. */
5114
+ /** UserDoubleOptInEmailRequested userId. */
5133
5115
  public userId: string;
5134
5116
 
5135
5117
  /**
5136
- * Creates a new UserEmailMarketingOptedIn instance using the specified properties.
5118
+ * Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
5137
5119
  * @param [properties] Properties to set
5138
- * @returns UserEmailMarketingOptedIn instance
5120
+ * @returns UserDoubleOptInEmailRequested instance
5139
5121
  */
5140
- public static create(properties?: IUserEmailMarketingOptedIn): UserEmailMarketingOptedIn;
5122
+ public static create(properties?: IUserDoubleOptInEmailRequested): UserDoubleOptInEmailRequested;
5141
5123
 
5142
5124
  /**
5143
- * Encodes the specified UserEmailMarketingOptedIn message. Does not implicitly {@link UserEmailMarketingOptedIn.verify|verify} messages.
5144
- * @param message UserEmailMarketingOptedIn message or plain object to encode
5125
+ * Encodes the specified UserDoubleOptInEmailRequested message. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
5126
+ * @param message UserDoubleOptInEmailRequested message or plain object to encode
5145
5127
  * @param [writer] Writer to encode to
5146
5128
  * @returns Writer
5147
5129
  */
5148
- public static encode(message: IUserEmailMarketingOptedIn, writer?: $protobuf.Writer): $protobuf.Writer;
5130
+ public static encode(message: IUserDoubleOptInEmailRequested, writer?: $protobuf.Writer): $protobuf.Writer;
5149
5131
 
5150
5132
  /**
5151
- * Encodes the specified UserEmailMarketingOptedIn message, length delimited. Does not implicitly {@link UserEmailMarketingOptedIn.verify|verify} messages.
5152
- * @param message UserEmailMarketingOptedIn message or plain object to encode
5133
+ * Encodes the specified UserDoubleOptInEmailRequested message, length delimited. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
5134
+ * @param message UserDoubleOptInEmailRequested message or plain object to encode
5153
5135
  * @param [writer] Writer to encode to
5154
5136
  * @returns Writer
5155
5137
  */
5156
- public static encodeDelimited(message: IUserEmailMarketingOptedIn, writer?: $protobuf.Writer): $protobuf.Writer;
5138
+ public static encodeDelimited(message: IUserDoubleOptInEmailRequested, writer?: $protobuf.Writer): $protobuf.Writer;
5157
5139
 
5158
5140
  /**
5159
- * Decodes a UserEmailMarketingOptedIn message from the specified reader or buffer.
5141
+ * Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer.
5160
5142
  * @param reader Reader or buffer to decode from
5161
5143
  * @param [length] Message length if known beforehand
5162
- * @returns UserEmailMarketingOptedIn
5144
+ * @returns UserDoubleOptInEmailRequested
5163
5145
  * @throws {Error} If the payload is not a reader or valid buffer
5164
5146
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
5165
5147
  */
5166
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserEmailMarketingOptedIn;
5148
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDoubleOptInEmailRequested;
5167
5149
 
5168
5150
  /**
5169
- * Decodes a UserEmailMarketingOptedIn message from the specified reader or buffer, length delimited.
5151
+ * Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer, length delimited.
5170
5152
  * @param reader Reader or buffer to decode from
5171
- * @returns UserEmailMarketingOptedIn
5153
+ * @returns UserDoubleOptInEmailRequested
5172
5154
  * @throws {Error} If the payload is not a reader or valid buffer
5173
5155
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
5174
5156
  */
5175
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserEmailMarketingOptedIn;
5157
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDoubleOptInEmailRequested;
5176
5158
 
5177
5159
  /**
5178
- * Verifies a UserEmailMarketingOptedIn message.
5160
+ * Verifies a UserDoubleOptInEmailRequested message.
5179
5161
  * @param message Plain object to verify
5180
5162
  * @returns `null` if valid, otherwise the reason why it is not
5181
5163
  */
5182
5164
  public static verify(message: { [k: string]: any }): (string|null);
5183
5165
 
5184
5166
  /**
5185
- * Creates a UserEmailMarketingOptedIn message from a plain object. Also converts values to their respective internal types.
5167
+ * Creates a UserDoubleOptInEmailRequested message from a plain object. Also converts values to their respective internal types.
5186
5168
  * @param object Plain object
5187
- * @returns UserEmailMarketingOptedIn
5169
+ * @returns UserDoubleOptInEmailRequested
5188
5170
  */
5189
- public static fromObject(object: { [k: string]: any }): UserEmailMarketingOptedIn;
5171
+ public static fromObject(object: { [k: string]: any }): UserDoubleOptInEmailRequested;
5190
5172
 
5191
5173
  /**
5192
- * Creates a plain object from a UserEmailMarketingOptedIn message. Also converts values to other types if specified.
5193
- * @param message UserEmailMarketingOptedIn
5174
+ * Creates a plain object from a UserDoubleOptInEmailRequested message. Also converts values to other types if specified.
5175
+ * @param message UserDoubleOptInEmailRequested
5194
5176
  * @param [options] Conversion options
5195
5177
  * @returns Plain object
5196
5178
  */
5197
- public static toObject(message: UserEmailMarketingOptedIn, options?: $protobuf.IConversionOptions): { [k: string]: any };
5179
+ public static toObject(message: UserDoubleOptInEmailRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
5198
5180
 
5199
5181
  /**
5200
- * Converts this UserEmailMarketingOptedIn to JSON.
5182
+ * Converts this UserDoubleOptInEmailRequested to JSON.
5201
5183
  * @returns JSON object
5202
5184
  */
5203
5185
  public toJSON(): { [k: string]: any };