@headspace/protos-events 1.808.0 → 1.809.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 +147 -0
- package/lib/index.js +429 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -68958,6 +68958,153 @@ export namespace OrgMarketingConfigUpdated {
|
|
|
68958
68958
|
type $Shape = OrgMarketingConfigUpdated.$Properties;
|
|
68959
68959
|
}
|
|
68960
68960
|
|
|
68961
|
+
/**
|
|
68962
|
+
* Properties of an OrgProviderPartnerConfigUpdated.
|
|
68963
|
+
* @deprecated Use OrgProviderPartnerConfigUpdated.$Properties instead.
|
|
68964
|
+
*/
|
|
68965
|
+
export interface IOrgProviderPartnerConfigUpdated extends OrgProviderPartnerConfigUpdated.$Properties {
|
|
68966
|
+
}
|
|
68967
|
+
|
|
68968
|
+
/** Represents an OrgProviderPartnerConfigUpdated. */
|
|
68969
|
+
export class OrgProviderPartnerConfigUpdated {
|
|
68970
|
+
|
|
68971
|
+
/**
|
|
68972
|
+
* Constructs a new OrgProviderPartnerConfigUpdated.
|
|
68973
|
+
* @param [properties] Properties to set
|
|
68974
|
+
*/
|
|
68975
|
+
constructor(properties?: OrgProviderPartnerConfigUpdated.$Properties);
|
|
68976
|
+
|
|
68977
|
+
/** Unknown fields preserved while decoding */
|
|
68978
|
+
$unknowns?: Uint8Array[];
|
|
68979
|
+
|
|
68980
|
+
/** OrgProviderPartnerConfigUpdated b2bOrgId. */
|
|
68981
|
+
b2bOrgId: number;
|
|
68982
|
+
|
|
68983
|
+
/** OrgProviderPartnerConfigUpdated providerPartner. */
|
|
68984
|
+
providerPartner: clinical.ClinicalPartnerSource;
|
|
68985
|
+
|
|
68986
|
+
/** OrgProviderPartnerConfigUpdated isVirtualEnabled. */
|
|
68987
|
+
isVirtualEnabled: boolean;
|
|
68988
|
+
|
|
68989
|
+
/** OrgProviderPartnerConfigUpdated isInpersonEnabled. */
|
|
68990
|
+
isInpersonEnabled: boolean;
|
|
68991
|
+
|
|
68992
|
+
/** OrgProviderPartnerConfigUpdated adminId. */
|
|
68993
|
+
adminId: number;
|
|
68994
|
+
|
|
68995
|
+
/** OrgProviderPartnerConfigUpdated timestamp. */
|
|
68996
|
+
timestamp: (number|Long);
|
|
68997
|
+
|
|
68998
|
+
/**
|
|
68999
|
+
* Creates a new OrgProviderPartnerConfigUpdated instance using the specified properties.
|
|
69000
|
+
* @param [properties] Properties to set
|
|
69001
|
+
* @returns OrgProviderPartnerConfigUpdated instance
|
|
69002
|
+
*/
|
|
69003
|
+
static create(properties: OrgProviderPartnerConfigUpdated.$Shape): OrgProviderPartnerConfigUpdated & OrgProviderPartnerConfigUpdated.$Shape;
|
|
69004
|
+
static create(properties?: OrgProviderPartnerConfigUpdated.$Properties): OrgProviderPartnerConfigUpdated;
|
|
69005
|
+
|
|
69006
|
+
/**
|
|
69007
|
+
* Encodes the specified OrgProviderPartnerConfigUpdated message. Does not implicitly {@link OrgProviderPartnerConfigUpdated.verify|verify} messages.
|
|
69008
|
+
* @param message OrgProviderPartnerConfigUpdated message or plain object to encode
|
|
69009
|
+
* @param [writer] Writer to encode to
|
|
69010
|
+
* @returns Writer
|
|
69011
|
+
*/
|
|
69012
|
+
static encode(message: OrgProviderPartnerConfigUpdated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
69013
|
+
|
|
69014
|
+
/**
|
|
69015
|
+
* Encodes the specified OrgProviderPartnerConfigUpdated message, length delimited. Does not implicitly {@link OrgProviderPartnerConfigUpdated.verify|verify} messages.
|
|
69016
|
+
* @param message OrgProviderPartnerConfigUpdated message or plain object to encode
|
|
69017
|
+
* @param [writer] Writer to encode to
|
|
69018
|
+
* @returns Writer
|
|
69019
|
+
*/
|
|
69020
|
+
static encodeDelimited(message: OrgProviderPartnerConfigUpdated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
69021
|
+
|
|
69022
|
+
/**
|
|
69023
|
+
* Decodes an OrgProviderPartnerConfigUpdated message from the specified reader or buffer.
|
|
69024
|
+
* @param reader Reader or buffer to decode from
|
|
69025
|
+
* @param [length] Message length if known beforehand
|
|
69026
|
+
* @returns {OrgProviderPartnerConfigUpdated & OrgProviderPartnerConfigUpdated.$Shape} OrgProviderPartnerConfigUpdated
|
|
69027
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
69028
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
69029
|
+
*/
|
|
69030
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrgProviderPartnerConfigUpdated & OrgProviderPartnerConfigUpdated.$Shape;
|
|
69031
|
+
|
|
69032
|
+
/**
|
|
69033
|
+
* Decodes an OrgProviderPartnerConfigUpdated message from the specified reader or buffer, length delimited.
|
|
69034
|
+
* @param reader Reader or buffer to decode from
|
|
69035
|
+
* @returns {OrgProviderPartnerConfigUpdated & OrgProviderPartnerConfigUpdated.$Shape} OrgProviderPartnerConfigUpdated
|
|
69036
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
69037
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
69038
|
+
*/
|
|
69039
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrgProviderPartnerConfigUpdated & OrgProviderPartnerConfigUpdated.$Shape;
|
|
69040
|
+
|
|
69041
|
+
/**
|
|
69042
|
+
* Verifies an OrgProviderPartnerConfigUpdated message.
|
|
69043
|
+
* @param message Plain object to verify
|
|
69044
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
69045
|
+
*/
|
|
69046
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
69047
|
+
|
|
69048
|
+
/**
|
|
69049
|
+
* Creates an OrgProviderPartnerConfigUpdated message from a plain object. Also converts values to their respective internal types.
|
|
69050
|
+
* @param object Plain object
|
|
69051
|
+
* @returns OrgProviderPartnerConfigUpdated
|
|
69052
|
+
*/
|
|
69053
|
+
static fromObject(object: { [k: string]: any }): OrgProviderPartnerConfigUpdated;
|
|
69054
|
+
|
|
69055
|
+
/**
|
|
69056
|
+
* Creates a plain object from an OrgProviderPartnerConfigUpdated message. Also converts values to other types if specified.
|
|
69057
|
+
* @param message OrgProviderPartnerConfigUpdated
|
|
69058
|
+
* @param [options] Conversion options
|
|
69059
|
+
* @returns Plain object
|
|
69060
|
+
*/
|
|
69061
|
+
static toObject(message: OrgProviderPartnerConfigUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
69062
|
+
|
|
69063
|
+
/**
|
|
69064
|
+
* Converts this OrgProviderPartnerConfigUpdated to JSON.
|
|
69065
|
+
* @returns JSON object
|
|
69066
|
+
*/
|
|
69067
|
+
toJSON(): { [k: string]: any };
|
|
69068
|
+
|
|
69069
|
+
/**
|
|
69070
|
+
* Gets the type url for OrgProviderPartnerConfigUpdated
|
|
69071
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
69072
|
+
* @returns The type url
|
|
69073
|
+
*/
|
|
69074
|
+
static getTypeUrl(prefix?: string): string;
|
|
69075
|
+
}
|
|
69076
|
+
|
|
69077
|
+
export namespace OrgProviderPartnerConfigUpdated {
|
|
69078
|
+
|
|
69079
|
+
/** Properties of an OrgProviderPartnerConfigUpdated. */
|
|
69080
|
+
interface $Properties {
|
|
69081
|
+
|
|
69082
|
+
/** OrgProviderPartnerConfigUpdated b2bOrgId */
|
|
69083
|
+
b2bOrgId?: (number|null);
|
|
69084
|
+
|
|
69085
|
+
/** OrgProviderPartnerConfigUpdated providerPartner */
|
|
69086
|
+
providerPartner?: (clinical.ClinicalPartnerSource|null);
|
|
69087
|
+
|
|
69088
|
+
/** OrgProviderPartnerConfigUpdated isVirtualEnabled */
|
|
69089
|
+
isVirtualEnabled?: (boolean|null);
|
|
69090
|
+
|
|
69091
|
+
/** OrgProviderPartnerConfigUpdated isInpersonEnabled */
|
|
69092
|
+
isInpersonEnabled?: (boolean|null);
|
|
69093
|
+
|
|
69094
|
+
/** OrgProviderPartnerConfigUpdated adminId */
|
|
69095
|
+
adminId?: (number|null);
|
|
69096
|
+
|
|
69097
|
+
/** OrgProviderPartnerConfigUpdated timestamp */
|
|
69098
|
+
timestamp?: (number|Long|null);
|
|
69099
|
+
|
|
69100
|
+
/** Unknown fields preserved while decoding */
|
|
69101
|
+
$unknowns?: Uint8Array[];
|
|
69102
|
+
}
|
|
69103
|
+
|
|
69104
|
+
/** Shape of an OrgProviderPartnerConfigUpdated. */
|
|
69105
|
+
type $Shape = OrgProviderPartnerConfigUpdated.$Properties;
|
|
69106
|
+
}
|
|
69107
|
+
|
|
68961
69108
|
/**
|
|
68962
69109
|
* Properties of an OrganizationSubscriptionCreated.
|
|
68963
69110
|
* @deprecated Use OrganizationSubscriptionCreated.$Properties instead.
|
package/lib/index.js
CHANGED
|
@@ -200755,6 +200755,435 @@ $root.OrgMarketingConfigUpdated = (function() {
|
|
|
200755
200755
|
return OrgMarketingConfigUpdated;
|
|
200756
200756
|
})();
|
|
200757
200757
|
|
|
200758
|
+
$root.OrgProviderPartnerConfigUpdated = (function() {
|
|
200759
|
+
|
|
200760
|
+
/**
|
|
200761
|
+
* Properties of an OrgProviderPartnerConfigUpdated.
|
|
200762
|
+
* @typedef {Object} OrgProviderPartnerConfigUpdated.$Properties
|
|
200763
|
+
* @property {number|null} [b2bOrgId] OrgProviderPartnerConfigUpdated b2bOrgId
|
|
200764
|
+
* @property {clinical.ClinicalPartnerSource|null} [providerPartner] OrgProviderPartnerConfigUpdated providerPartner
|
|
200765
|
+
* @property {boolean|null} [isVirtualEnabled] OrgProviderPartnerConfigUpdated isVirtualEnabled
|
|
200766
|
+
* @property {boolean|null} [isInpersonEnabled] OrgProviderPartnerConfigUpdated isInpersonEnabled
|
|
200767
|
+
* @property {number|null} [adminId] OrgProviderPartnerConfigUpdated adminId
|
|
200768
|
+
* @property {number|Long|null} [timestamp] OrgProviderPartnerConfigUpdated timestamp
|
|
200769
|
+
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
|
|
200770
|
+
*/
|
|
200771
|
+
|
|
200772
|
+
/**
|
|
200773
|
+
* Properties of an OrgProviderPartnerConfigUpdated.
|
|
200774
|
+
* @name IOrgProviderPartnerConfigUpdated
|
|
200775
|
+
* @interface IOrgProviderPartnerConfigUpdated
|
|
200776
|
+
* @augments OrgProviderPartnerConfigUpdated.$Properties
|
|
200777
|
+
* @deprecated Use OrgProviderPartnerConfigUpdated.$Properties instead.
|
|
200778
|
+
*/
|
|
200779
|
+
|
|
200780
|
+
/**
|
|
200781
|
+
* Shape of an OrgProviderPartnerConfigUpdated.
|
|
200782
|
+
* @typedef {OrgProviderPartnerConfigUpdated.$Properties} OrgProviderPartnerConfigUpdated.$Shape
|
|
200783
|
+
*/
|
|
200784
|
+
|
|
200785
|
+
/**
|
|
200786
|
+
* Constructs a new OrgProviderPartnerConfigUpdated.
|
|
200787
|
+
* @name OrgProviderPartnerConfigUpdated
|
|
200788
|
+
* @classdesc Represents an OrgProviderPartnerConfigUpdated.
|
|
200789
|
+
* @constructor
|
|
200790
|
+
* @param {OrgProviderPartnerConfigUpdated.$Properties=} [properties] Properties to set
|
|
200791
|
+
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
|
|
200792
|
+
*/
|
|
200793
|
+
function OrgProviderPartnerConfigUpdated(properties) {
|
|
200794
|
+
if (properties)
|
|
200795
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
200796
|
+
if (properties[keys[i]] != null && keys[i] !== "__proto__")
|
|
200797
|
+
this[keys[i]] = properties[keys[i]];
|
|
200798
|
+
}
|
|
200799
|
+
|
|
200800
|
+
/**
|
|
200801
|
+
* OrgProviderPartnerConfigUpdated b2bOrgId.
|
|
200802
|
+
* @member {number} b2bOrgId
|
|
200803
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
200804
|
+
* @instance
|
|
200805
|
+
*/
|
|
200806
|
+
OrgProviderPartnerConfigUpdated.prototype.b2bOrgId = 0;
|
|
200807
|
+
|
|
200808
|
+
/**
|
|
200809
|
+
* OrgProviderPartnerConfigUpdated providerPartner.
|
|
200810
|
+
* @member {clinical.ClinicalPartnerSource} providerPartner
|
|
200811
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
200812
|
+
* @instance
|
|
200813
|
+
*/
|
|
200814
|
+
OrgProviderPartnerConfigUpdated.prototype.providerPartner = 0;
|
|
200815
|
+
|
|
200816
|
+
/**
|
|
200817
|
+
* OrgProviderPartnerConfigUpdated isVirtualEnabled.
|
|
200818
|
+
* @member {boolean} isVirtualEnabled
|
|
200819
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
200820
|
+
* @instance
|
|
200821
|
+
*/
|
|
200822
|
+
OrgProviderPartnerConfigUpdated.prototype.isVirtualEnabled = false;
|
|
200823
|
+
|
|
200824
|
+
/**
|
|
200825
|
+
* OrgProviderPartnerConfigUpdated isInpersonEnabled.
|
|
200826
|
+
* @member {boolean} isInpersonEnabled
|
|
200827
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
200828
|
+
* @instance
|
|
200829
|
+
*/
|
|
200830
|
+
OrgProviderPartnerConfigUpdated.prototype.isInpersonEnabled = false;
|
|
200831
|
+
|
|
200832
|
+
/**
|
|
200833
|
+
* OrgProviderPartnerConfigUpdated adminId.
|
|
200834
|
+
* @member {number} adminId
|
|
200835
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
200836
|
+
* @instance
|
|
200837
|
+
*/
|
|
200838
|
+
OrgProviderPartnerConfigUpdated.prototype.adminId = 0;
|
|
200839
|
+
|
|
200840
|
+
/**
|
|
200841
|
+
* OrgProviderPartnerConfigUpdated timestamp.
|
|
200842
|
+
* @member {number|Long} timestamp
|
|
200843
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
200844
|
+
* @instance
|
|
200845
|
+
*/
|
|
200846
|
+
OrgProviderPartnerConfigUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
200847
|
+
|
|
200848
|
+
/**
|
|
200849
|
+
* Creates a new OrgProviderPartnerConfigUpdated instance using the specified properties.
|
|
200850
|
+
* @function create
|
|
200851
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
200852
|
+
* @static
|
|
200853
|
+
* @param {OrgProviderPartnerConfigUpdated.$Properties=} [properties] Properties to set
|
|
200854
|
+
* @returns {OrgProviderPartnerConfigUpdated} OrgProviderPartnerConfigUpdated instance
|
|
200855
|
+
* @type {{
|
|
200856
|
+
* (properties: OrgProviderPartnerConfigUpdated.$Shape): OrgProviderPartnerConfigUpdated & OrgProviderPartnerConfigUpdated.$Shape;
|
|
200857
|
+
* (properties?: OrgProviderPartnerConfigUpdated.$Properties): OrgProviderPartnerConfigUpdated;
|
|
200858
|
+
* }}
|
|
200859
|
+
*/
|
|
200860
|
+
OrgProviderPartnerConfigUpdated.create = function create(properties) {
|
|
200861
|
+
return new OrgProviderPartnerConfigUpdated(properties);
|
|
200862
|
+
};
|
|
200863
|
+
|
|
200864
|
+
/**
|
|
200865
|
+
* Encodes the specified OrgProviderPartnerConfigUpdated message. Does not implicitly {@link OrgProviderPartnerConfigUpdated.verify|verify} messages.
|
|
200866
|
+
* @function encode
|
|
200867
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
200868
|
+
* @static
|
|
200869
|
+
* @param {OrgProviderPartnerConfigUpdated.$Properties} message OrgProviderPartnerConfigUpdated message or plain object to encode
|
|
200870
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
200871
|
+
* @returns {$protobuf.Writer} Writer
|
|
200872
|
+
*/
|
|
200873
|
+
OrgProviderPartnerConfigUpdated.encode = function encode(message, writer) {
|
|
200874
|
+
if (!writer)
|
|
200875
|
+
writer = $Writer.create();
|
|
200876
|
+
if (message.b2bOrgId != null && Object.hasOwnProperty.call(message, "b2bOrgId"))
|
|
200877
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.b2bOrgId);
|
|
200878
|
+
if (message.providerPartner != null && Object.hasOwnProperty.call(message, "providerPartner"))
|
|
200879
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.providerPartner);
|
|
200880
|
+
if (message.isVirtualEnabled != null && Object.hasOwnProperty.call(message, "isVirtualEnabled"))
|
|
200881
|
+
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isVirtualEnabled);
|
|
200882
|
+
if (message.isInpersonEnabled != null && Object.hasOwnProperty.call(message, "isInpersonEnabled"))
|
|
200883
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isInpersonEnabled);
|
|
200884
|
+
if (message.adminId != null && Object.hasOwnProperty.call(message, "adminId"))
|
|
200885
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.adminId);
|
|
200886
|
+
if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp"))
|
|
200887
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.timestamp);
|
|
200888
|
+
if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
|
|
200889
|
+
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
200890
|
+
writer.raw(message.$unknowns[i]);
|
|
200891
|
+
return writer;
|
|
200892
|
+
};
|
|
200893
|
+
|
|
200894
|
+
/**
|
|
200895
|
+
* Encodes the specified OrgProviderPartnerConfigUpdated message, length delimited. Does not implicitly {@link OrgProviderPartnerConfigUpdated.verify|verify} messages.
|
|
200896
|
+
* @function encodeDelimited
|
|
200897
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
200898
|
+
* @static
|
|
200899
|
+
* @param {OrgProviderPartnerConfigUpdated.$Properties} message OrgProviderPartnerConfigUpdated message or plain object to encode
|
|
200900
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
200901
|
+
* @returns {$protobuf.Writer} Writer
|
|
200902
|
+
*/
|
|
200903
|
+
OrgProviderPartnerConfigUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
200904
|
+
return this.encode(message, writer).ldelim();
|
|
200905
|
+
};
|
|
200906
|
+
|
|
200907
|
+
/**
|
|
200908
|
+
* Decodes an OrgProviderPartnerConfigUpdated message from the specified reader or buffer.
|
|
200909
|
+
* @function decode
|
|
200910
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
200911
|
+
* @static
|
|
200912
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
200913
|
+
* @param {number} [length] Message length if known beforehand
|
|
200914
|
+
* @returns {OrgProviderPartnerConfigUpdated & OrgProviderPartnerConfigUpdated.$Shape} OrgProviderPartnerConfigUpdated
|
|
200915
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
200916
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
200917
|
+
*/
|
|
200918
|
+
OrgProviderPartnerConfigUpdated.decode = function decode(reader, length, _end, _depth, _target) {
|
|
200919
|
+
if (!(reader instanceof $Reader))
|
|
200920
|
+
reader = $Reader.create(reader);
|
|
200921
|
+
if (_depth === undefined)
|
|
200922
|
+
_depth = 0;
|
|
200923
|
+
if (_depth > $Reader.recursionLimit)
|
|
200924
|
+
throw Error("max depth exceeded");
|
|
200925
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.OrgProviderPartnerConfigUpdated(), value;
|
|
200926
|
+
while (reader.pos < end) {
|
|
200927
|
+
var start = reader.pos;
|
|
200928
|
+
var tag = reader.tag();
|
|
200929
|
+
if (tag === _end) {
|
|
200930
|
+
_end = undefined;
|
|
200931
|
+
break;
|
|
200932
|
+
}
|
|
200933
|
+
var wireType = tag & 7;
|
|
200934
|
+
switch (tag >>>= 3) {
|
|
200935
|
+
case 1: {
|
|
200936
|
+
if (wireType !== 0)
|
|
200937
|
+
break;
|
|
200938
|
+
if (value = reader.uint32())
|
|
200939
|
+
message.b2bOrgId = value;
|
|
200940
|
+
else
|
|
200941
|
+
delete message.b2bOrgId;
|
|
200942
|
+
continue;
|
|
200943
|
+
}
|
|
200944
|
+
case 2: {
|
|
200945
|
+
if (wireType !== 0)
|
|
200946
|
+
break;
|
|
200947
|
+
if (value = reader.int32())
|
|
200948
|
+
message.providerPartner = value;
|
|
200949
|
+
else
|
|
200950
|
+
delete message.providerPartner;
|
|
200951
|
+
continue;
|
|
200952
|
+
}
|
|
200953
|
+
case 3: {
|
|
200954
|
+
if (wireType !== 0)
|
|
200955
|
+
break;
|
|
200956
|
+
if (value = reader.bool())
|
|
200957
|
+
message.isVirtualEnabled = value;
|
|
200958
|
+
else
|
|
200959
|
+
delete message.isVirtualEnabled;
|
|
200960
|
+
continue;
|
|
200961
|
+
}
|
|
200962
|
+
case 4: {
|
|
200963
|
+
if (wireType !== 0)
|
|
200964
|
+
break;
|
|
200965
|
+
if (value = reader.bool())
|
|
200966
|
+
message.isInpersonEnabled = value;
|
|
200967
|
+
else
|
|
200968
|
+
delete message.isInpersonEnabled;
|
|
200969
|
+
continue;
|
|
200970
|
+
}
|
|
200971
|
+
case 5: {
|
|
200972
|
+
if (wireType !== 0)
|
|
200973
|
+
break;
|
|
200974
|
+
if (value = reader.uint32())
|
|
200975
|
+
message.adminId = value;
|
|
200976
|
+
else
|
|
200977
|
+
delete message.adminId;
|
|
200978
|
+
continue;
|
|
200979
|
+
}
|
|
200980
|
+
case 6: {
|
|
200981
|
+
if (wireType !== 0)
|
|
200982
|
+
break;
|
|
200983
|
+
if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
|
|
200984
|
+
message.timestamp = value;
|
|
200985
|
+
else
|
|
200986
|
+
delete message.timestamp;
|
|
200987
|
+
continue;
|
|
200988
|
+
}
|
|
200989
|
+
}
|
|
200990
|
+
reader.skipType(wireType, _depth, tag);
|
|
200991
|
+
$util.makeProp(message, "$unknowns", false);
|
|
200992
|
+
(message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
|
|
200993
|
+
}
|
|
200994
|
+
if (_end !== undefined)
|
|
200995
|
+
throw Error("missing end group");
|
|
200996
|
+
return message;
|
|
200997
|
+
};
|
|
200998
|
+
|
|
200999
|
+
/**
|
|
201000
|
+
* Decodes an OrgProviderPartnerConfigUpdated message from the specified reader or buffer, length delimited.
|
|
201001
|
+
* @function decodeDelimited
|
|
201002
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
201003
|
+
* @static
|
|
201004
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
201005
|
+
* @returns {OrgProviderPartnerConfigUpdated & OrgProviderPartnerConfigUpdated.$Shape} OrgProviderPartnerConfigUpdated
|
|
201006
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
201007
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
201008
|
+
*/
|
|
201009
|
+
OrgProviderPartnerConfigUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
201010
|
+
if (!(reader instanceof $Reader))
|
|
201011
|
+
reader = new $Reader(reader);
|
|
201012
|
+
return this.decode(reader, reader.uint32());
|
|
201013
|
+
};
|
|
201014
|
+
|
|
201015
|
+
/**
|
|
201016
|
+
* Verifies an OrgProviderPartnerConfigUpdated message.
|
|
201017
|
+
* @function verify
|
|
201018
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
201019
|
+
* @static
|
|
201020
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
201021
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
201022
|
+
*/
|
|
201023
|
+
OrgProviderPartnerConfigUpdated.verify = function verify(message, _depth) {
|
|
201024
|
+
if (typeof message !== "object" || message === null)
|
|
201025
|
+
return "object expected";
|
|
201026
|
+
if (_depth === undefined)
|
|
201027
|
+
_depth = 0;
|
|
201028
|
+
if (_depth > $util.recursionLimit)
|
|
201029
|
+
return "max depth exceeded";
|
|
201030
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
201031
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
201032
|
+
return "b2bOrgId: integer expected";
|
|
201033
|
+
if (message.providerPartner != null && message.hasOwnProperty("providerPartner"))
|
|
201034
|
+
switch (message.providerPartner) {
|
|
201035
|
+
default:
|
|
201036
|
+
return "providerPartner: enum value expected";
|
|
201037
|
+
case 0:
|
|
201038
|
+
case 1:
|
|
201039
|
+
break;
|
|
201040
|
+
}
|
|
201041
|
+
if (message.isVirtualEnabled != null && message.hasOwnProperty("isVirtualEnabled"))
|
|
201042
|
+
if (typeof message.isVirtualEnabled !== "boolean")
|
|
201043
|
+
return "isVirtualEnabled: boolean expected";
|
|
201044
|
+
if (message.isInpersonEnabled != null && message.hasOwnProperty("isInpersonEnabled"))
|
|
201045
|
+
if (typeof message.isInpersonEnabled !== "boolean")
|
|
201046
|
+
return "isInpersonEnabled: boolean expected";
|
|
201047
|
+
if (message.adminId != null && message.hasOwnProperty("adminId"))
|
|
201048
|
+
if (!$util.isInteger(message.adminId))
|
|
201049
|
+
return "adminId: integer expected";
|
|
201050
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
201051
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
201052
|
+
return "timestamp: integer|Long expected";
|
|
201053
|
+
return null;
|
|
201054
|
+
};
|
|
201055
|
+
|
|
201056
|
+
/**
|
|
201057
|
+
* Creates an OrgProviderPartnerConfigUpdated message from a plain object. Also converts values to their respective internal types.
|
|
201058
|
+
* @function fromObject
|
|
201059
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
201060
|
+
* @static
|
|
201061
|
+
* @param {Object.<string,*>} object Plain object
|
|
201062
|
+
* @returns {OrgProviderPartnerConfigUpdated} OrgProviderPartnerConfigUpdated
|
|
201063
|
+
*/
|
|
201064
|
+
OrgProviderPartnerConfigUpdated.fromObject = function fromObject(object, _depth) {
|
|
201065
|
+
if (object instanceof $root.OrgProviderPartnerConfigUpdated)
|
|
201066
|
+
return object;
|
|
201067
|
+
if (_depth === undefined)
|
|
201068
|
+
_depth = 0;
|
|
201069
|
+
if (_depth > $util.recursionLimit)
|
|
201070
|
+
throw Error("max depth exceeded");
|
|
201071
|
+
var message = new $root.OrgProviderPartnerConfigUpdated();
|
|
201072
|
+
if (object.b2bOrgId != null)
|
|
201073
|
+
if (Number(object.b2bOrgId) !== 0)
|
|
201074
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
201075
|
+
if (object.providerPartner !== 0 && (typeof object.providerPartner !== "string" || $root.clinical.ClinicalPartnerSource[object.providerPartner] !== 0))
|
|
201076
|
+
switch (object.providerPartner) {
|
|
201077
|
+
default:
|
|
201078
|
+
if (typeof object.providerPartner === "number") {
|
|
201079
|
+
message.providerPartner = object.providerPartner;
|
|
201080
|
+
break;
|
|
201081
|
+
}
|
|
201082
|
+
break;
|
|
201083
|
+
case "CLINICAL_PARTNER_SOURCE_UNKNOWN":
|
|
201084
|
+
case 0:
|
|
201085
|
+
message.providerPartner = 0;
|
|
201086
|
+
break;
|
|
201087
|
+
case "CLINICAL_PARTNER_SOURCE_SONDERMIND":
|
|
201088
|
+
case 1:
|
|
201089
|
+
message.providerPartner = 1;
|
|
201090
|
+
break;
|
|
201091
|
+
}
|
|
201092
|
+
if (object.isVirtualEnabled != null)
|
|
201093
|
+
if (object.isVirtualEnabled)
|
|
201094
|
+
message.isVirtualEnabled = Boolean(object.isVirtualEnabled);
|
|
201095
|
+
if (object.isInpersonEnabled != null)
|
|
201096
|
+
if (object.isInpersonEnabled)
|
|
201097
|
+
message.isInpersonEnabled = Boolean(object.isInpersonEnabled);
|
|
201098
|
+
if (object.adminId != null)
|
|
201099
|
+
if (Number(object.adminId) !== 0)
|
|
201100
|
+
message.adminId = object.adminId >>> 0;
|
|
201101
|
+
if (object.timestamp != null)
|
|
201102
|
+
if (typeof object.timestamp === "object" ? object.timestamp.low || object.timestamp.high : Number(object.timestamp) !== 0)
|
|
201103
|
+
if ($util.Long)
|
|
201104
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
201105
|
+
else if (typeof object.timestamp === "string")
|
|
201106
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
201107
|
+
else if (typeof object.timestamp === "number")
|
|
201108
|
+
message.timestamp = object.timestamp;
|
|
201109
|
+
else if (typeof object.timestamp === "object")
|
|
201110
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
201111
|
+
return message;
|
|
201112
|
+
};
|
|
201113
|
+
|
|
201114
|
+
/**
|
|
201115
|
+
* Creates a plain object from an OrgProviderPartnerConfigUpdated message. Also converts values to other types if specified.
|
|
201116
|
+
* @function toObject
|
|
201117
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
201118
|
+
* @static
|
|
201119
|
+
* @param {OrgProviderPartnerConfigUpdated} message OrgProviderPartnerConfigUpdated
|
|
201120
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
201121
|
+
* @returns {Object.<string,*>} Plain object
|
|
201122
|
+
*/
|
|
201123
|
+
OrgProviderPartnerConfigUpdated.toObject = function toObject(message, options) {
|
|
201124
|
+
if (!options)
|
|
201125
|
+
options = {};
|
|
201126
|
+
var object = {};
|
|
201127
|
+
if (options.defaults) {
|
|
201128
|
+
object.b2bOrgId = 0;
|
|
201129
|
+
object.providerPartner = options.enums === String ? "CLINICAL_PARTNER_SOURCE_UNKNOWN" : 0;
|
|
201130
|
+
object.isVirtualEnabled = false;
|
|
201131
|
+
object.isInpersonEnabled = false;
|
|
201132
|
+
object.adminId = 0;
|
|
201133
|
+
if ($util.Long) {
|
|
201134
|
+
var long = new $util.Long(0, 0, true);
|
|
201135
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
|
|
201136
|
+
} else
|
|
201137
|
+
object.timestamp = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
|
|
201138
|
+
}
|
|
201139
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
201140
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
201141
|
+
if (message.providerPartner != null && message.hasOwnProperty("providerPartner"))
|
|
201142
|
+
object.providerPartner = options.enums === String ? $root.clinical.ClinicalPartnerSource[message.providerPartner] === undefined ? message.providerPartner : $root.clinical.ClinicalPartnerSource[message.providerPartner] : message.providerPartner;
|
|
201143
|
+
if (message.isVirtualEnabled != null && message.hasOwnProperty("isVirtualEnabled"))
|
|
201144
|
+
object.isVirtualEnabled = message.isVirtualEnabled;
|
|
201145
|
+
if (message.isInpersonEnabled != null && message.hasOwnProperty("isInpersonEnabled"))
|
|
201146
|
+
object.isInpersonEnabled = message.isInpersonEnabled;
|
|
201147
|
+
if (message.adminId != null && message.hasOwnProperty("adminId"))
|
|
201148
|
+
object.adminId = message.adminId;
|
|
201149
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
201150
|
+
if (typeof BigInt !== "undefined" && options.longs === BigInt)
|
|
201151
|
+
object.timestamp = typeof message.timestamp === "number" ? BigInt(message.timestamp) : $util.Long.fromBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0, true).toBigInt();
|
|
201152
|
+
else if (typeof message.timestamp === "number")
|
|
201153
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
201154
|
+
else
|
|
201155
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
201156
|
+
return object;
|
|
201157
|
+
};
|
|
201158
|
+
|
|
201159
|
+
/**
|
|
201160
|
+
* Converts this OrgProviderPartnerConfigUpdated to JSON.
|
|
201161
|
+
* @function toJSON
|
|
201162
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
201163
|
+
* @instance
|
|
201164
|
+
* @returns {Object.<string,*>} JSON object
|
|
201165
|
+
*/
|
|
201166
|
+
OrgProviderPartnerConfigUpdated.prototype.toJSON = function toJSON() {
|
|
201167
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
201168
|
+
};
|
|
201169
|
+
|
|
201170
|
+
/**
|
|
201171
|
+
* Gets the type url for OrgProviderPartnerConfigUpdated
|
|
201172
|
+
* @function getTypeUrl
|
|
201173
|
+
* @memberof OrgProviderPartnerConfigUpdated
|
|
201174
|
+
* @static
|
|
201175
|
+
* @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
201176
|
+
* @returns {string} The type url
|
|
201177
|
+
*/
|
|
201178
|
+
OrgProviderPartnerConfigUpdated.getTypeUrl = function getTypeUrl(prefix) {
|
|
201179
|
+
if (prefix === undefined)
|
|
201180
|
+
prefix = "type.googleapis.com";
|
|
201181
|
+
return prefix + "/OrgProviderPartnerConfigUpdated";
|
|
201182
|
+
};
|
|
201183
|
+
|
|
201184
|
+
return OrgProviderPartnerConfigUpdated;
|
|
201185
|
+
})();
|
|
201186
|
+
|
|
200758
201187
|
$root.OrganizationSubscriptionCreated = (function() {
|
|
200759
201188
|
|
|
200760
201189
|
/**
|
package/package.json
CHANGED