@headspace/protos-events 1.695.0 → 1.696.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 +6 -6
- package/lib/index.js +72 -30
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -39767,10 +39767,10 @@ export interface IPossibleStaleCareMemberSelected {
|
|
|
39767
39767
|
appVersion?: (string|null);
|
|
39768
39768
|
|
|
39769
39769
|
/** PossibleStaleCareMemberSelected enrollmentTimestamp */
|
|
39770
|
-
enrollmentTimestamp?: (number|null);
|
|
39770
|
+
enrollmentTimestamp?: (number|Long|null);
|
|
39771
39771
|
|
|
39772
39772
|
/** PossibleStaleCareMemberSelected lastLoginTimestamp */
|
|
39773
|
-
lastLoginTimestamp?: (number|null);
|
|
39773
|
+
lastLoginTimestamp?: (number|Long|null);
|
|
39774
39774
|
|
|
39775
39775
|
/** PossibleStaleCareMemberSelected organization */
|
|
39776
39776
|
organization?: (IOrganizationIdentifier|null);
|
|
@@ -39779,7 +39779,7 @@ export interface IPossibleStaleCareMemberSelected {
|
|
|
39779
39779
|
rootOrganization?: (IOrganizationIdentifier|null);
|
|
39780
39780
|
|
|
39781
39781
|
/** PossibleStaleCareMemberSelected eventTimestamp */
|
|
39782
|
-
eventTimestamp?: (number|null);
|
|
39782
|
+
eventTimestamp?: (number|Long|null);
|
|
39783
39783
|
}
|
|
39784
39784
|
|
|
39785
39785
|
/**
|
|
@@ -39818,10 +39818,10 @@ export class PossibleStaleCareMemberSelected implements IPossibleStaleCareMember
|
|
|
39818
39818
|
public appVersion: string;
|
|
39819
39819
|
|
|
39820
39820
|
/** PossibleStaleCareMemberSelected enrollmentTimestamp. */
|
|
39821
|
-
public enrollmentTimestamp: number;
|
|
39821
|
+
public enrollmentTimestamp: (number|Long);
|
|
39822
39822
|
|
|
39823
39823
|
/** PossibleStaleCareMemberSelected lastLoginTimestamp. */
|
|
39824
|
-
public lastLoginTimestamp: number;
|
|
39824
|
+
public lastLoginTimestamp: (number|Long);
|
|
39825
39825
|
|
|
39826
39826
|
/** PossibleStaleCareMemberSelected organization. */
|
|
39827
39827
|
public organization?: (IOrganizationIdentifier|null);
|
|
@@ -39830,7 +39830,7 @@ export class PossibleStaleCareMemberSelected implements IPossibleStaleCareMember
|
|
|
39830
39830
|
public rootOrganization?: (IOrganizationIdentifier|null);
|
|
39831
39831
|
|
|
39832
39832
|
/** PossibleStaleCareMemberSelected eventTimestamp. */
|
|
39833
|
-
public eventTimestamp: number;
|
|
39833
|
+
public eventTimestamp: (number|Long);
|
|
39834
39834
|
|
|
39835
39835
|
/**
|
|
39836
39836
|
* Creates a new PossibleStaleCareMemberSelected instance using the specified properties.
|
package/lib/index.js
CHANGED
|
@@ -113533,11 +113533,11 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113533
113533
|
* @property {string|null} [deviceOsVersion] PossibleStaleCareMemberSelected deviceOsVersion
|
|
113534
113534
|
* @property {string|null} [deviceLanguage] PossibleStaleCareMemberSelected deviceLanguage
|
|
113535
113535
|
* @property {string|null} [appVersion] PossibleStaleCareMemberSelected appVersion
|
|
113536
|
-
* @property {number|null} [enrollmentTimestamp] PossibleStaleCareMemberSelected enrollmentTimestamp
|
|
113537
|
-
* @property {number|null} [lastLoginTimestamp] PossibleStaleCareMemberSelected lastLoginTimestamp
|
|
113536
|
+
* @property {number|Long|null} [enrollmentTimestamp] PossibleStaleCareMemberSelected enrollmentTimestamp
|
|
113537
|
+
* @property {number|Long|null} [lastLoginTimestamp] PossibleStaleCareMemberSelected lastLoginTimestamp
|
|
113538
113538
|
* @property {IOrganizationIdentifier|null} [organization] PossibleStaleCareMemberSelected organization
|
|
113539
113539
|
* @property {IOrganizationIdentifier|null} [rootOrganization] PossibleStaleCareMemberSelected rootOrganization
|
|
113540
|
-
* @property {number|null} [eventTimestamp] PossibleStaleCareMemberSelected eventTimestamp
|
|
113540
|
+
* @property {number|Long|null} [eventTimestamp] PossibleStaleCareMemberSelected eventTimestamp
|
|
113541
113541
|
*/
|
|
113542
113542
|
|
|
113543
113543
|
/**
|
|
@@ -113616,19 +113616,19 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113616
113616
|
|
|
113617
113617
|
/**
|
|
113618
113618
|
* PossibleStaleCareMemberSelected enrollmentTimestamp.
|
|
113619
|
-
* @member {number} enrollmentTimestamp
|
|
113619
|
+
* @member {number|Long} enrollmentTimestamp
|
|
113620
113620
|
* @memberof PossibleStaleCareMemberSelected
|
|
113621
113621
|
* @instance
|
|
113622
113622
|
*/
|
|
113623
|
-
PossibleStaleCareMemberSelected.prototype.enrollmentTimestamp = 0;
|
|
113623
|
+
PossibleStaleCareMemberSelected.prototype.enrollmentTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
113624
113624
|
|
|
113625
113625
|
/**
|
|
113626
113626
|
* PossibleStaleCareMemberSelected lastLoginTimestamp.
|
|
113627
|
-
* @member {number} lastLoginTimestamp
|
|
113627
|
+
* @member {number|Long} lastLoginTimestamp
|
|
113628
113628
|
* @memberof PossibleStaleCareMemberSelected
|
|
113629
113629
|
* @instance
|
|
113630
113630
|
*/
|
|
113631
|
-
PossibleStaleCareMemberSelected.prototype.lastLoginTimestamp = 0;
|
|
113631
|
+
PossibleStaleCareMemberSelected.prototype.lastLoginTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
113632
113632
|
|
|
113633
113633
|
/**
|
|
113634
113634
|
* PossibleStaleCareMemberSelected organization.
|
|
@@ -113648,11 +113648,11 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113648
113648
|
|
|
113649
113649
|
/**
|
|
113650
113650
|
* PossibleStaleCareMemberSelected eventTimestamp.
|
|
113651
|
-
* @member {number} eventTimestamp
|
|
113651
|
+
* @member {number|Long} eventTimestamp
|
|
113652
113652
|
* @memberof PossibleStaleCareMemberSelected
|
|
113653
113653
|
* @instance
|
|
113654
113654
|
*/
|
|
113655
|
-
PossibleStaleCareMemberSelected.prototype.eventTimestamp = 0;
|
|
113655
|
+
PossibleStaleCareMemberSelected.prototype.eventTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
113656
113656
|
|
|
113657
113657
|
/**
|
|
113658
113658
|
* Creates a new PossibleStaleCareMemberSelected instance using the specified properties.
|
|
@@ -113693,15 +113693,15 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113693
113693
|
if (message.appVersion != null && message.hasOwnProperty("appVersion"))
|
|
113694
113694
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.appVersion);
|
|
113695
113695
|
if (message.enrollmentTimestamp != null && message.hasOwnProperty("enrollmentTimestamp"))
|
|
113696
|
-
writer.uint32(/* id 8, wireType 0 =*/64).
|
|
113696
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.enrollmentTimestamp);
|
|
113697
113697
|
if (message.lastLoginTimestamp != null && message.hasOwnProperty("lastLoginTimestamp"))
|
|
113698
|
-
writer.uint32(/* id 9, wireType 0 =*/72).
|
|
113698
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.lastLoginTimestamp);
|
|
113699
113699
|
if (message.organization != null && message.hasOwnProperty("organization"))
|
|
113700
113700
|
$root.OrganizationIdentifier.encode(message.organization, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
113701
113701
|
if (message.rootOrganization != null && message.hasOwnProperty("rootOrganization"))
|
|
113702
113702
|
$root.OrganizationIdentifier.encode(message.rootOrganization, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
113703
113703
|
if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
|
|
113704
|
-
writer.uint32(/* id 12, wireType 0 =*/96).
|
|
113704
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.eventTimestamp);
|
|
113705
113705
|
return writer;
|
|
113706
113706
|
};
|
|
113707
113707
|
|
|
@@ -113758,10 +113758,10 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113758
113758
|
message.appVersion = reader.string();
|
|
113759
113759
|
break;
|
|
113760
113760
|
case 8:
|
|
113761
|
-
message.enrollmentTimestamp = reader.
|
|
113761
|
+
message.enrollmentTimestamp = reader.uint64();
|
|
113762
113762
|
break;
|
|
113763
113763
|
case 9:
|
|
113764
|
-
message.lastLoginTimestamp = reader.
|
|
113764
|
+
message.lastLoginTimestamp = reader.uint64();
|
|
113765
113765
|
break;
|
|
113766
113766
|
case 10:
|
|
113767
113767
|
message.organization = $root.OrganizationIdentifier.decode(reader, reader.uint32());
|
|
@@ -113770,7 +113770,7 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113770
113770
|
message.rootOrganization = $root.OrganizationIdentifier.decode(reader, reader.uint32());
|
|
113771
113771
|
break;
|
|
113772
113772
|
case 12:
|
|
113773
|
-
message.eventTimestamp = reader.
|
|
113773
|
+
message.eventTimestamp = reader.uint64();
|
|
113774
113774
|
break;
|
|
113775
113775
|
default:
|
|
113776
113776
|
reader.skipType(tag & 7);
|
|
@@ -113829,11 +113829,11 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113829
113829
|
if (!$util.isString(message.appVersion))
|
|
113830
113830
|
return "appVersion: string expected";
|
|
113831
113831
|
if (message.enrollmentTimestamp != null && message.hasOwnProperty("enrollmentTimestamp"))
|
|
113832
|
-
if (!$util.isInteger(message.enrollmentTimestamp))
|
|
113833
|
-
return "enrollmentTimestamp: integer expected";
|
|
113832
|
+
if (!$util.isInteger(message.enrollmentTimestamp) && !(message.enrollmentTimestamp && $util.isInteger(message.enrollmentTimestamp.low) && $util.isInteger(message.enrollmentTimestamp.high)))
|
|
113833
|
+
return "enrollmentTimestamp: integer|Long expected";
|
|
113834
113834
|
if (message.lastLoginTimestamp != null && message.hasOwnProperty("lastLoginTimestamp"))
|
|
113835
|
-
if (!$util.isInteger(message.lastLoginTimestamp))
|
|
113836
|
-
return "lastLoginTimestamp: integer expected";
|
|
113835
|
+
if (!$util.isInteger(message.lastLoginTimestamp) && !(message.lastLoginTimestamp && $util.isInteger(message.lastLoginTimestamp.low) && $util.isInteger(message.lastLoginTimestamp.high)))
|
|
113836
|
+
return "lastLoginTimestamp: integer|Long expected";
|
|
113837
113837
|
if (message.organization != null && message.hasOwnProperty("organization")) {
|
|
113838
113838
|
var error = $root.OrganizationIdentifier.verify(message.organization);
|
|
113839
113839
|
if (error)
|
|
@@ -113845,8 +113845,8 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113845
113845
|
return "rootOrganization." + error;
|
|
113846
113846
|
}
|
|
113847
113847
|
if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
|
|
113848
|
-
if (!$util.isInteger(message.eventTimestamp))
|
|
113849
|
-
return "eventTimestamp: integer expected";
|
|
113848
|
+
if (!$util.isInteger(message.eventTimestamp) && !(message.eventTimestamp && $util.isInteger(message.eventTimestamp.low) && $util.isInteger(message.eventTimestamp.high)))
|
|
113849
|
+
return "eventTimestamp: integer|Long expected";
|
|
113850
113850
|
return null;
|
|
113851
113851
|
};
|
|
113852
113852
|
|
|
@@ -113877,9 +113877,23 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113877
113877
|
if (object.appVersion != null)
|
|
113878
113878
|
message.appVersion = String(object.appVersion);
|
|
113879
113879
|
if (object.enrollmentTimestamp != null)
|
|
113880
|
-
|
|
113880
|
+
if ($util.Long)
|
|
113881
|
+
(message.enrollmentTimestamp = $util.Long.fromValue(object.enrollmentTimestamp)).unsigned = true;
|
|
113882
|
+
else if (typeof object.enrollmentTimestamp === "string")
|
|
113883
|
+
message.enrollmentTimestamp = parseInt(object.enrollmentTimestamp, 10);
|
|
113884
|
+
else if (typeof object.enrollmentTimestamp === "number")
|
|
113885
|
+
message.enrollmentTimestamp = object.enrollmentTimestamp;
|
|
113886
|
+
else if (typeof object.enrollmentTimestamp === "object")
|
|
113887
|
+
message.enrollmentTimestamp = new $util.LongBits(object.enrollmentTimestamp.low >>> 0, object.enrollmentTimestamp.high >>> 0).toNumber(true);
|
|
113881
113888
|
if (object.lastLoginTimestamp != null)
|
|
113882
|
-
|
|
113889
|
+
if ($util.Long)
|
|
113890
|
+
(message.lastLoginTimestamp = $util.Long.fromValue(object.lastLoginTimestamp)).unsigned = true;
|
|
113891
|
+
else if (typeof object.lastLoginTimestamp === "string")
|
|
113892
|
+
message.lastLoginTimestamp = parseInt(object.lastLoginTimestamp, 10);
|
|
113893
|
+
else if (typeof object.lastLoginTimestamp === "number")
|
|
113894
|
+
message.lastLoginTimestamp = object.lastLoginTimestamp;
|
|
113895
|
+
else if (typeof object.lastLoginTimestamp === "object")
|
|
113896
|
+
message.lastLoginTimestamp = new $util.LongBits(object.lastLoginTimestamp.low >>> 0, object.lastLoginTimestamp.high >>> 0).toNumber(true);
|
|
113883
113897
|
if (object.organization != null) {
|
|
113884
113898
|
if (typeof object.organization !== "object")
|
|
113885
113899
|
throw TypeError(".PossibleStaleCareMemberSelected.organization: object expected");
|
|
@@ -113891,7 +113905,14 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113891
113905
|
message.rootOrganization = $root.OrganizationIdentifier.fromObject(object.rootOrganization);
|
|
113892
113906
|
}
|
|
113893
113907
|
if (object.eventTimestamp != null)
|
|
113894
|
-
|
|
113908
|
+
if ($util.Long)
|
|
113909
|
+
(message.eventTimestamp = $util.Long.fromValue(object.eventTimestamp)).unsigned = true;
|
|
113910
|
+
else if (typeof object.eventTimestamp === "string")
|
|
113911
|
+
message.eventTimestamp = parseInt(object.eventTimestamp, 10);
|
|
113912
|
+
else if (typeof object.eventTimestamp === "number")
|
|
113913
|
+
message.eventTimestamp = object.eventTimestamp;
|
|
113914
|
+
else if (typeof object.eventTimestamp === "object")
|
|
113915
|
+
message.eventTimestamp = new $util.LongBits(object.eventTimestamp.low >>> 0, object.eventTimestamp.high >>> 0).toNumber(true);
|
|
113895
113916
|
return message;
|
|
113896
113917
|
};
|
|
113897
113918
|
|
|
@@ -113916,11 +113937,23 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113916
113937
|
object.deviceOsVersion = "";
|
|
113917
113938
|
object.deviceLanguage = "";
|
|
113918
113939
|
object.appVersion = "";
|
|
113919
|
-
|
|
113920
|
-
|
|
113940
|
+
if ($util.Long) {
|
|
113941
|
+
var long = new $util.Long(0, 0, true);
|
|
113942
|
+
object.enrollmentTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
113943
|
+
} else
|
|
113944
|
+
object.enrollmentTimestamp = options.longs === String ? "0" : 0;
|
|
113945
|
+
if ($util.Long) {
|
|
113946
|
+
var long = new $util.Long(0, 0, true);
|
|
113947
|
+
object.lastLoginTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
113948
|
+
} else
|
|
113949
|
+
object.lastLoginTimestamp = options.longs === String ? "0" : 0;
|
|
113921
113950
|
object.organization = null;
|
|
113922
113951
|
object.rootOrganization = null;
|
|
113923
|
-
|
|
113952
|
+
if ($util.Long) {
|
|
113953
|
+
var long = new $util.Long(0, 0, true);
|
|
113954
|
+
object.eventTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
113955
|
+
} else
|
|
113956
|
+
object.eventTimestamp = options.longs === String ? "0" : 0;
|
|
113924
113957
|
}
|
|
113925
113958
|
if (message.gingerId != null && message.hasOwnProperty("gingerId"))
|
|
113926
113959
|
object.gingerId = message.gingerId;
|
|
@@ -113937,15 +113970,24 @@ $root.PossibleStaleCareMemberSelected = (function() {
|
|
|
113937
113970
|
if (message.appVersion != null && message.hasOwnProperty("appVersion"))
|
|
113938
113971
|
object.appVersion = message.appVersion;
|
|
113939
113972
|
if (message.enrollmentTimestamp != null && message.hasOwnProperty("enrollmentTimestamp"))
|
|
113940
|
-
|
|
113973
|
+
if (typeof message.enrollmentTimestamp === "number")
|
|
113974
|
+
object.enrollmentTimestamp = options.longs === String ? String(message.enrollmentTimestamp) : message.enrollmentTimestamp;
|
|
113975
|
+
else
|
|
113976
|
+
object.enrollmentTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.enrollmentTimestamp) : options.longs === Number ? new $util.LongBits(message.enrollmentTimestamp.low >>> 0, message.enrollmentTimestamp.high >>> 0).toNumber(true) : message.enrollmentTimestamp;
|
|
113941
113977
|
if (message.lastLoginTimestamp != null && message.hasOwnProperty("lastLoginTimestamp"))
|
|
113942
|
-
|
|
113978
|
+
if (typeof message.lastLoginTimestamp === "number")
|
|
113979
|
+
object.lastLoginTimestamp = options.longs === String ? String(message.lastLoginTimestamp) : message.lastLoginTimestamp;
|
|
113980
|
+
else
|
|
113981
|
+
object.lastLoginTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.lastLoginTimestamp) : options.longs === Number ? new $util.LongBits(message.lastLoginTimestamp.low >>> 0, message.lastLoginTimestamp.high >>> 0).toNumber(true) : message.lastLoginTimestamp;
|
|
113943
113982
|
if (message.organization != null && message.hasOwnProperty("organization"))
|
|
113944
113983
|
object.organization = $root.OrganizationIdentifier.toObject(message.organization, options);
|
|
113945
113984
|
if (message.rootOrganization != null && message.hasOwnProperty("rootOrganization"))
|
|
113946
113985
|
object.rootOrganization = $root.OrganizationIdentifier.toObject(message.rootOrganization, options);
|
|
113947
113986
|
if (message.eventTimestamp != null && message.hasOwnProperty("eventTimestamp"))
|
|
113948
|
-
|
|
113987
|
+
if (typeof message.eventTimestamp === "number")
|
|
113988
|
+
object.eventTimestamp = options.longs === String ? String(message.eventTimestamp) : message.eventTimestamp;
|
|
113989
|
+
else
|
|
113990
|
+
object.eventTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.eventTimestamp) : options.longs === Number ? new $util.LongBits(message.eventTimestamp.low >>> 0, message.eventTimestamp.high >>> 0).toNumber(true) : message.eventTimestamp;
|
|
113949
113991
|
return object;
|
|
113950
113992
|
};
|
|
113951
113993
|
|
package/package.json
CHANGED