@headspace/protos-events 1.21.0 → 1.22.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.
- package/lib/index.d.ts +8 -8
- package/lib/index.js +30 -58
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -771,11 +771,11 @@ export namespace subscription {
|
|
|
771
771
|
/** UserSubscriptionResponse id */
|
|
772
772
|
id?: (string|null);
|
|
773
773
|
|
|
774
|
-
/** UserSubscriptionResponse
|
|
775
|
-
|
|
774
|
+
/** UserSubscriptionResponse startsAtIso8601 */
|
|
775
|
+
startsAtIso8601?: (string|null);
|
|
776
776
|
|
|
777
|
-
/** UserSubscriptionResponse
|
|
778
|
-
|
|
777
|
+
/** UserSubscriptionResponse endsAtIso8601 */
|
|
778
|
+
endsAtIso8601?: (string|null);
|
|
779
779
|
|
|
780
780
|
/** UserSubscriptionResponse status */
|
|
781
781
|
status?: (string|null);
|
|
@@ -796,11 +796,11 @@ export namespace subscription {
|
|
|
796
796
|
/** UserSubscriptionResponse id. */
|
|
797
797
|
public id: string;
|
|
798
798
|
|
|
799
|
-
/** UserSubscriptionResponse
|
|
800
|
-
public
|
|
799
|
+
/** UserSubscriptionResponse startsAtIso8601. */
|
|
800
|
+
public startsAtIso8601: string;
|
|
801
801
|
|
|
802
|
-
/** UserSubscriptionResponse
|
|
803
|
-
public
|
|
802
|
+
/** UserSubscriptionResponse endsAtIso8601. */
|
|
803
|
+
public endsAtIso8601: string;
|
|
804
804
|
|
|
805
805
|
/** UserSubscriptionResponse status. */
|
|
806
806
|
public status: string;
|
package/lib/index.js
CHANGED
|
@@ -1691,8 +1691,8 @@ $root.subscription = (function() {
|
|
|
1691
1691
|
* @memberof subscription
|
|
1692
1692
|
* @interface IUserSubscriptionResponse
|
|
1693
1693
|
* @property {string|null} [id] UserSubscriptionResponse id
|
|
1694
|
-
* @property {
|
|
1695
|
-
* @property {
|
|
1694
|
+
* @property {string|null} [startsAtIso8601] UserSubscriptionResponse startsAtIso8601
|
|
1695
|
+
* @property {string|null} [endsAtIso8601] UserSubscriptionResponse endsAtIso8601
|
|
1696
1696
|
* @property {string|null} [status] UserSubscriptionResponse status
|
|
1697
1697
|
* @property {string|null} [legacySubscriptionId] UserSubscriptionResponse legacySubscriptionId
|
|
1698
1698
|
*/
|
|
@@ -1721,20 +1721,20 @@ $root.subscription = (function() {
|
|
|
1721
1721
|
UserSubscriptionResponse.prototype.id = "";
|
|
1722
1722
|
|
|
1723
1723
|
/**
|
|
1724
|
-
* UserSubscriptionResponse
|
|
1725
|
-
* @member {
|
|
1724
|
+
* UserSubscriptionResponse startsAtIso8601.
|
|
1725
|
+
* @member {string} startsAtIso8601
|
|
1726
1726
|
* @memberof subscription.UserSubscriptionResponse
|
|
1727
1727
|
* @instance
|
|
1728
1728
|
*/
|
|
1729
|
-
UserSubscriptionResponse.prototype.
|
|
1729
|
+
UserSubscriptionResponse.prototype.startsAtIso8601 = "";
|
|
1730
1730
|
|
|
1731
1731
|
/**
|
|
1732
|
-
* UserSubscriptionResponse
|
|
1733
|
-
* @member {
|
|
1732
|
+
* UserSubscriptionResponse endsAtIso8601.
|
|
1733
|
+
* @member {string} endsAtIso8601
|
|
1734
1734
|
* @memberof subscription.UserSubscriptionResponse
|
|
1735
1735
|
* @instance
|
|
1736
1736
|
*/
|
|
1737
|
-
UserSubscriptionResponse.prototype.
|
|
1737
|
+
UserSubscriptionResponse.prototype.endsAtIso8601 = "";
|
|
1738
1738
|
|
|
1739
1739
|
/**
|
|
1740
1740
|
* UserSubscriptionResponse status.
|
|
@@ -1778,10 +1778,10 @@ $root.subscription = (function() {
|
|
|
1778
1778
|
writer = $Writer.create();
|
|
1779
1779
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
1780
1780
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
1781
|
-
if (message.
|
|
1782
|
-
writer.uint32(/* id 2, wireType
|
|
1783
|
-
if (message.
|
|
1784
|
-
writer.uint32(/* id 3, wireType
|
|
1781
|
+
if (message.startsAtIso8601 != null && message.hasOwnProperty("startsAtIso8601"))
|
|
1782
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.startsAtIso8601);
|
|
1783
|
+
if (message.endsAtIso8601 != null && message.hasOwnProperty("endsAtIso8601"))
|
|
1784
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.endsAtIso8601);
|
|
1785
1785
|
if (message.status != null && message.hasOwnProperty("status"))
|
|
1786
1786
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.status);
|
|
1787
1787
|
if (message.legacySubscriptionId != null && message.hasOwnProperty("legacySubscriptionId"))
|
|
@@ -1824,10 +1824,10 @@ $root.subscription = (function() {
|
|
|
1824
1824
|
message.id = reader.string();
|
|
1825
1825
|
break;
|
|
1826
1826
|
case 2:
|
|
1827
|
-
message.
|
|
1827
|
+
message.startsAtIso8601 = reader.string();
|
|
1828
1828
|
break;
|
|
1829
1829
|
case 3:
|
|
1830
|
-
message.
|
|
1830
|
+
message.endsAtIso8601 = reader.string();
|
|
1831
1831
|
break;
|
|
1832
1832
|
case 4:
|
|
1833
1833
|
message.status = reader.string();
|
|
@@ -1873,12 +1873,12 @@ $root.subscription = (function() {
|
|
|
1873
1873
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
1874
1874
|
if (!$util.isString(message.id))
|
|
1875
1875
|
return "id: string expected";
|
|
1876
|
-
if (message.
|
|
1877
|
-
if (!$util.
|
|
1878
|
-
return "
|
|
1879
|
-
if (message.
|
|
1880
|
-
if (!$util.
|
|
1881
|
-
return "
|
|
1876
|
+
if (message.startsAtIso8601 != null && message.hasOwnProperty("startsAtIso8601"))
|
|
1877
|
+
if (!$util.isString(message.startsAtIso8601))
|
|
1878
|
+
return "startsAtIso8601: string expected";
|
|
1879
|
+
if (message.endsAtIso8601 != null && message.hasOwnProperty("endsAtIso8601"))
|
|
1880
|
+
if (!$util.isString(message.endsAtIso8601))
|
|
1881
|
+
return "endsAtIso8601: string expected";
|
|
1882
1882
|
if (message.status != null && message.hasOwnProperty("status"))
|
|
1883
1883
|
if (!$util.isString(message.status))
|
|
1884
1884
|
return "status: string expected";
|
|
@@ -1902,24 +1902,10 @@ $root.subscription = (function() {
|
|
|
1902
1902
|
var message = new $root.subscription.UserSubscriptionResponse();
|
|
1903
1903
|
if (object.id != null)
|
|
1904
1904
|
message.id = String(object.id);
|
|
1905
|
-
if (object.
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
message.startsAt = parseInt(object.startsAt, 10);
|
|
1910
|
-
else if (typeof object.startsAt === "number")
|
|
1911
|
-
message.startsAt = object.startsAt;
|
|
1912
|
-
else if (typeof object.startsAt === "object")
|
|
1913
|
-
message.startsAt = new $util.LongBits(object.startsAt.low >>> 0, object.startsAt.high >>> 0).toNumber();
|
|
1914
|
-
if (object.endsAt != null)
|
|
1915
|
-
if ($util.Long)
|
|
1916
|
-
(message.endsAt = $util.Long.fromValue(object.endsAt)).unsigned = false;
|
|
1917
|
-
else if (typeof object.endsAt === "string")
|
|
1918
|
-
message.endsAt = parseInt(object.endsAt, 10);
|
|
1919
|
-
else if (typeof object.endsAt === "number")
|
|
1920
|
-
message.endsAt = object.endsAt;
|
|
1921
|
-
else if (typeof object.endsAt === "object")
|
|
1922
|
-
message.endsAt = new $util.LongBits(object.endsAt.low >>> 0, object.endsAt.high >>> 0).toNumber();
|
|
1905
|
+
if (object.startsAtIso8601 != null)
|
|
1906
|
+
message.startsAtIso8601 = String(object.startsAtIso8601);
|
|
1907
|
+
if (object.endsAtIso8601 != null)
|
|
1908
|
+
message.endsAtIso8601 = String(object.endsAtIso8601);
|
|
1923
1909
|
if (object.status != null)
|
|
1924
1910
|
message.status = String(object.status);
|
|
1925
1911
|
if (object.legacySubscriptionId != null)
|
|
@@ -1942,31 +1928,17 @@ $root.subscription = (function() {
|
|
|
1942
1928
|
var object = {};
|
|
1943
1929
|
if (options.defaults) {
|
|
1944
1930
|
object.id = "";
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
object.startsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
1948
|
-
} else
|
|
1949
|
-
object.startsAt = options.longs === String ? "0" : 0;
|
|
1950
|
-
if ($util.Long) {
|
|
1951
|
-
var long = new $util.Long(0, 0, false);
|
|
1952
|
-
object.endsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
1953
|
-
} else
|
|
1954
|
-
object.endsAt = options.longs === String ? "0" : 0;
|
|
1931
|
+
object.startsAtIso8601 = "";
|
|
1932
|
+
object.endsAtIso8601 = "";
|
|
1955
1933
|
object.status = "";
|
|
1956
1934
|
object.legacySubscriptionId = "";
|
|
1957
1935
|
}
|
|
1958
1936
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
1959
1937
|
object.id = message.id;
|
|
1960
|
-
if (message.
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
object.startsAt = options.longs === String ? $util.Long.prototype.toString.call(message.startsAt) : options.longs === Number ? new $util.LongBits(message.startsAt.low >>> 0, message.startsAt.high >>> 0).toNumber() : message.startsAt;
|
|
1965
|
-
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
1966
|
-
if (typeof message.endsAt === "number")
|
|
1967
|
-
object.endsAt = options.longs === String ? String(message.endsAt) : message.endsAt;
|
|
1968
|
-
else
|
|
1969
|
-
object.endsAt = options.longs === String ? $util.Long.prototype.toString.call(message.endsAt) : options.longs === Number ? new $util.LongBits(message.endsAt.low >>> 0, message.endsAt.high >>> 0).toNumber() : message.endsAt;
|
|
1938
|
+
if (message.startsAtIso8601 != null && message.hasOwnProperty("startsAtIso8601"))
|
|
1939
|
+
object.startsAtIso8601 = message.startsAtIso8601;
|
|
1940
|
+
if (message.endsAtIso8601 != null && message.hasOwnProperty("endsAtIso8601"))
|
|
1941
|
+
object.endsAtIso8601 = message.endsAtIso8601;
|
|
1970
1942
|
if (message.status != null && message.hasOwnProperty("status"))
|
|
1971
1943
|
object.status = message.status;
|
|
1972
1944
|
if (message.legacySubscriptionId != null && message.hasOwnProperty("legacySubscriptionId"))
|
package/package.json
CHANGED