@headspace/protos-events 1.284.0 → 1.285.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 +126 -0
- package/lib/index.js +334 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -26077,6 +26077,132 @@ export class RecommendationMindsetUpdated implements IRecommendationMindsetUpdat
|
|
|
26077
26077
|
public toJSON(): { [k: string]: any };
|
|
26078
26078
|
}
|
|
26079
26079
|
|
|
26080
|
+
/** Properties of a B2BAdminCreated. */
|
|
26081
|
+
export interface IB2BAdminCreated {
|
|
26082
|
+
|
|
26083
|
+
/** B2BAdminCreated adminId */
|
|
26084
|
+
adminId?: (number|null);
|
|
26085
|
+
|
|
26086
|
+
/** B2BAdminCreated orgId */
|
|
26087
|
+
orgId?: (number|null);
|
|
26088
|
+
|
|
26089
|
+
/** B2BAdminCreated orgName */
|
|
26090
|
+
orgName?: (string|null);
|
|
26091
|
+
|
|
26092
|
+
/** B2BAdminCreated email */
|
|
26093
|
+
email?: (string|null);
|
|
26094
|
+
|
|
26095
|
+
/** B2BAdminCreated resetPasswordLink */
|
|
26096
|
+
resetPasswordLink?: (string|null);
|
|
26097
|
+
|
|
26098
|
+
/** B2BAdminCreated shouldSendEmail */
|
|
26099
|
+
shouldSendEmail?: (boolean|null);
|
|
26100
|
+
|
|
26101
|
+
/** B2BAdminCreated timestampEpochMs */
|
|
26102
|
+
timestampEpochMs?: (number|Long|null);
|
|
26103
|
+
}
|
|
26104
|
+
|
|
26105
|
+
/** Represents a B2BAdminCreated. */
|
|
26106
|
+
export class B2BAdminCreated implements IB2BAdminCreated {
|
|
26107
|
+
|
|
26108
|
+
/**
|
|
26109
|
+
* Constructs a new B2BAdminCreated.
|
|
26110
|
+
* @param [properties] Properties to set
|
|
26111
|
+
*/
|
|
26112
|
+
constructor(properties?: IB2BAdminCreated);
|
|
26113
|
+
|
|
26114
|
+
/** B2BAdminCreated adminId. */
|
|
26115
|
+
public adminId: number;
|
|
26116
|
+
|
|
26117
|
+
/** B2BAdminCreated orgId. */
|
|
26118
|
+
public orgId: number;
|
|
26119
|
+
|
|
26120
|
+
/** B2BAdminCreated orgName. */
|
|
26121
|
+
public orgName: string;
|
|
26122
|
+
|
|
26123
|
+
/** B2BAdminCreated email. */
|
|
26124
|
+
public email: string;
|
|
26125
|
+
|
|
26126
|
+
/** B2BAdminCreated resetPasswordLink. */
|
|
26127
|
+
public resetPasswordLink: string;
|
|
26128
|
+
|
|
26129
|
+
/** B2BAdminCreated shouldSendEmail. */
|
|
26130
|
+
public shouldSendEmail: boolean;
|
|
26131
|
+
|
|
26132
|
+
/** B2BAdminCreated timestampEpochMs. */
|
|
26133
|
+
public timestampEpochMs: (number|Long);
|
|
26134
|
+
|
|
26135
|
+
/**
|
|
26136
|
+
* Creates a new B2BAdminCreated instance using the specified properties.
|
|
26137
|
+
* @param [properties] Properties to set
|
|
26138
|
+
* @returns B2BAdminCreated instance
|
|
26139
|
+
*/
|
|
26140
|
+
public static create(properties?: IB2BAdminCreated): B2BAdminCreated;
|
|
26141
|
+
|
|
26142
|
+
/**
|
|
26143
|
+
* Encodes the specified B2BAdminCreated message. Does not implicitly {@link B2BAdminCreated.verify|verify} messages.
|
|
26144
|
+
* @param message B2BAdminCreated message or plain object to encode
|
|
26145
|
+
* @param [writer] Writer to encode to
|
|
26146
|
+
* @returns Writer
|
|
26147
|
+
*/
|
|
26148
|
+
public static encode(message: IB2BAdminCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
26149
|
+
|
|
26150
|
+
/**
|
|
26151
|
+
* Encodes the specified B2BAdminCreated message, length delimited. Does not implicitly {@link B2BAdminCreated.verify|verify} messages.
|
|
26152
|
+
* @param message B2BAdminCreated message or plain object to encode
|
|
26153
|
+
* @param [writer] Writer to encode to
|
|
26154
|
+
* @returns Writer
|
|
26155
|
+
*/
|
|
26156
|
+
public static encodeDelimited(message: IB2BAdminCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
26157
|
+
|
|
26158
|
+
/**
|
|
26159
|
+
* Decodes a B2BAdminCreated message from the specified reader or buffer.
|
|
26160
|
+
* @param reader Reader or buffer to decode from
|
|
26161
|
+
* @param [length] Message length if known beforehand
|
|
26162
|
+
* @returns B2BAdminCreated
|
|
26163
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26164
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26165
|
+
*/
|
|
26166
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BAdminCreated;
|
|
26167
|
+
|
|
26168
|
+
/**
|
|
26169
|
+
* Decodes a B2BAdminCreated message from the specified reader or buffer, length delimited.
|
|
26170
|
+
* @param reader Reader or buffer to decode from
|
|
26171
|
+
* @returns B2BAdminCreated
|
|
26172
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26173
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26174
|
+
*/
|
|
26175
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BAdminCreated;
|
|
26176
|
+
|
|
26177
|
+
/**
|
|
26178
|
+
* Verifies a B2BAdminCreated message.
|
|
26179
|
+
* @param message Plain object to verify
|
|
26180
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
26181
|
+
*/
|
|
26182
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
26183
|
+
|
|
26184
|
+
/**
|
|
26185
|
+
* Creates a B2BAdminCreated message from a plain object. Also converts values to their respective internal types.
|
|
26186
|
+
* @param object Plain object
|
|
26187
|
+
* @returns B2BAdminCreated
|
|
26188
|
+
*/
|
|
26189
|
+
public static fromObject(object: { [k: string]: any }): B2BAdminCreated;
|
|
26190
|
+
|
|
26191
|
+
/**
|
|
26192
|
+
* Creates a plain object from a B2BAdminCreated message. Also converts values to other types if specified.
|
|
26193
|
+
* @param message B2BAdminCreated
|
|
26194
|
+
* @param [options] Conversion options
|
|
26195
|
+
* @returns Plain object
|
|
26196
|
+
*/
|
|
26197
|
+
public static toObject(message: B2BAdminCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
26198
|
+
|
|
26199
|
+
/**
|
|
26200
|
+
* Converts this B2BAdminCreated to JSON.
|
|
26201
|
+
* @returns JSON object
|
|
26202
|
+
*/
|
|
26203
|
+
public toJSON(): { [k: string]: any };
|
|
26204
|
+
}
|
|
26205
|
+
|
|
26080
26206
|
/** Properties of an EligibilityFileProcessed. */
|
|
26081
26207
|
export interface IEligibilityFileProcessed {
|
|
26082
26208
|
|
package/lib/index.js
CHANGED
|
@@ -70892,6 +70892,340 @@ $root.RecommendationMindsetUpdated = (function() {
|
|
|
70892
70892
|
return RecommendationMindsetUpdated;
|
|
70893
70893
|
})();
|
|
70894
70894
|
|
|
70895
|
+
$root.B2BAdminCreated = (function() {
|
|
70896
|
+
|
|
70897
|
+
/**
|
|
70898
|
+
* Properties of a B2BAdminCreated.
|
|
70899
|
+
* @exports IB2BAdminCreated
|
|
70900
|
+
* @interface IB2BAdminCreated
|
|
70901
|
+
* @property {number|null} [adminId] B2BAdminCreated adminId
|
|
70902
|
+
* @property {number|null} [orgId] B2BAdminCreated orgId
|
|
70903
|
+
* @property {string|null} [orgName] B2BAdminCreated orgName
|
|
70904
|
+
* @property {string|null} [email] B2BAdminCreated email
|
|
70905
|
+
* @property {string|null} [resetPasswordLink] B2BAdminCreated resetPasswordLink
|
|
70906
|
+
* @property {boolean|null} [shouldSendEmail] B2BAdminCreated shouldSendEmail
|
|
70907
|
+
* @property {number|Long|null} [timestampEpochMs] B2BAdminCreated timestampEpochMs
|
|
70908
|
+
*/
|
|
70909
|
+
|
|
70910
|
+
/**
|
|
70911
|
+
* Constructs a new B2BAdminCreated.
|
|
70912
|
+
* @exports B2BAdminCreated
|
|
70913
|
+
* @classdesc Represents a B2BAdminCreated.
|
|
70914
|
+
* @implements IB2BAdminCreated
|
|
70915
|
+
* @constructor
|
|
70916
|
+
* @param {IB2BAdminCreated=} [properties] Properties to set
|
|
70917
|
+
*/
|
|
70918
|
+
function B2BAdminCreated(properties) {
|
|
70919
|
+
if (properties)
|
|
70920
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
70921
|
+
if (properties[keys[i]] != null)
|
|
70922
|
+
this[keys[i]] = properties[keys[i]];
|
|
70923
|
+
}
|
|
70924
|
+
|
|
70925
|
+
/**
|
|
70926
|
+
* B2BAdminCreated adminId.
|
|
70927
|
+
* @member {number} adminId
|
|
70928
|
+
* @memberof B2BAdminCreated
|
|
70929
|
+
* @instance
|
|
70930
|
+
*/
|
|
70931
|
+
B2BAdminCreated.prototype.adminId = 0;
|
|
70932
|
+
|
|
70933
|
+
/**
|
|
70934
|
+
* B2BAdminCreated orgId.
|
|
70935
|
+
* @member {number} orgId
|
|
70936
|
+
* @memberof B2BAdminCreated
|
|
70937
|
+
* @instance
|
|
70938
|
+
*/
|
|
70939
|
+
B2BAdminCreated.prototype.orgId = 0;
|
|
70940
|
+
|
|
70941
|
+
/**
|
|
70942
|
+
* B2BAdminCreated orgName.
|
|
70943
|
+
* @member {string} orgName
|
|
70944
|
+
* @memberof B2BAdminCreated
|
|
70945
|
+
* @instance
|
|
70946
|
+
*/
|
|
70947
|
+
B2BAdminCreated.prototype.orgName = "";
|
|
70948
|
+
|
|
70949
|
+
/**
|
|
70950
|
+
* B2BAdminCreated email.
|
|
70951
|
+
* @member {string} email
|
|
70952
|
+
* @memberof B2BAdminCreated
|
|
70953
|
+
* @instance
|
|
70954
|
+
*/
|
|
70955
|
+
B2BAdminCreated.prototype.email = "";
|
|
70956
|
+
|
|
70957
|
+
/**
|
|
70958
|
+
* B2BAdminCreated resetPasswordLink.
|
|
70959
|
+
* @member {string} resetPasswordLink
|
|
70960
|
+
* @memberof B2BAdminCreated
|
|
70961
|
+
* @instance
|
|
70962
|
+
*/
|
|
70963
|
+
B2BAdminCreated.prototype.resetPasswordLink = "";
|
|
70964
|
+
|
|
70965
|
+
/**
|
|
70966
|
+
* B2BAdminCreated shouldSendEmail.
|
|
70967
|
+
* @member {boolean} shouldSendEmail
|
|
70968
|
+
* @memberof B2BAdminCreated
|
|
70969
|
+
* @instance
|
|
70970
|
+
*/
|
|
70971
|
+
B2BAdminCreated.prototype.shouldSendEmail = false;
|
|
70972
|
+
|
|
70973
|
+
/**
|
|
70974
|
+
* B2BAdminCreated timestampEpochMs.
|
|
70975
|
+
* @member {number|Long} timestampEpochMs
|
|
70976
|
+
* @memberof B2BAdminCreated
|
|
70977
|
+
* @instance
|
|
70978
|
+
*/
|
|
70979
|
+
B2BAdminCreated.prototype.timestampEpochMs = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
70980
|
+
|
|
70981
|
+
/**
|
|
70982
|
+
* Creates a new B2BAdminCreated instance using the specified properties.
|
|
70983
|
+
* @function create
|
|
70984
|
+
* @memberof B2BAdminCreated
|
|
70985
|
+
* @static
|
|
70986
|
+
* @param {IB2BAdminCreated=} [properties] Properties to set
|
|
70987
|
+
* @returns {B2BAdminCreated} B2BAdminCreated instance
|
|
70988
|
+
*/
|
|
70989
|
+
B2BAdminCreated.create = function create(properties) {
|
|
70990
|
+
return new B2BAdminCreated(properties);
|
|
70991
|
+
};
|
|
70992
|
+
|
|
70993
|
+
/**
|
|
70994
|
+
* Encodes the specified B2BAdminCreated message. Does not implicitly {@link B2BAdminCreated.verify|verify} messages.
|
|
70995
|
+
* @function encode
|
|
70996
|
+
* @memberof B2BAdminCreated
|
|
70997
|
+
* @static
|
|
70998
|
+
* @param {IB2BAdminCreated} message B2BAdminCreated message or plain object to encode
|
|
70999
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
71000
|
+
* @returns {$protobuf.Writer} Writer
|
|
71001
|
+
*/
|
|
71002
|
+
B2BAdminCreated.encode = function encode(message, writer) {
|
|
71003
|
+
if (!writer)
|
|
71004
|
+
writer = $Writer.create();
|
|
71005
|
+
if (message.adminId != null && message.hasOwnProperty("adminId"))
|
|
71006
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.adminId);
|
|
71007
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
71008
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.orgId);
|
|
71009
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
71010
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.orgName);
|
|
71011
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
71012
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.email);
|
|
71013
|
+
if (message.resetPasswordLink != null && message.hasOwnProperty("resetPasswordLink"))
|
|
71014
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.resetPasswordLink);
|
|
71015
|
+
if (message.shouldSendEmail != null && message.hasOwnProperty("shouldSendEmail"))
|
|
71016
|
+
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.shouldSendEmail);
|
|
71017
|
+
if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
|
|
71018
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.timestampEpochMs);
|
|
71019
|
+
return writer;
|
|
71020
|
+
};
|
|
71021
|
+
|
|
71022
|
+
/**
|
|
71023
|
+
* Encodes the specified B2BAdminCreated message, length delimited. Does not implicitly {@link B2BAdminCreated.verify|verify} messages.
|
|
71024
|
+
* @function encodeDelimited
|
|
71025
|
+
* @memberof B2BAdminCreated
|
|
71026
|
+
* @static
|
|
71027
|
+
* @param {IB2BAdminCreated} message B2BAdminCreated message or plain object to encode
|
|
71028
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
71029
|
+
* @returns {$protobuf.Writer} Writer
|
|
71030
|
+
*/
|
|
71031
|
+
B2BAdminCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
71032
|
+
return this.encode(message, writer).ldelim();
|
|
71033
|
+
};
|
|
71034
|
+
|
|
71035
|
+
/**
|
|
71036
|
+
* Decodes a B2BAdminCreated message from the specified reader or buffer.
|
|
71037
|
+
* @function decode
|
|
71038
|
+
* @memberof B2BAdminCreated
|
|
71039
|
+
* @static
|
|
71040
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
71041
|
+
* @param {number} [length] Message length if known beforehand
|
|
71042
|
+
* @returns {B2BAdminCreated} B2BAdminCreated
|
|
71043
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
71044
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
71045
|
+
*/
|
|
71046
|
+
B2BAdminCreated.decode = function decode(reader, length) {
|
|
71047
|
+
if (!(reader instanceof $Reader))
|
|
71048
|
+
reader = $Reader.create(reader);
|
|
71049
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BAdminCreated();
|
|
71050
|
+
while (reader.pos < end) {
|
|
71051
|
+
var tag = reader.uint32();
|
|
71052
|
+
switch (tag >>> 3) {
|
|
71053
|
+
case 1:
|
|
71054
|
+
message.adminId = reader.uint32();
|
|
71055
|
+
break;
|
|
71056
|
+
case 2:
|
|
71057
|
+
message.orgId = reader.uint32();
|
|
71058
|
+
break;
|
|
71059
|
+
case 3:
|
|
71060
|
+
message.orgName = reader.string();
|
|
71061
|
+
break;
|
|
71062
|
+
case 4:
|
|
71063
|
+
message.email = reader.string();
|
|
71064
|
+
break;
|
|
71065
|
+
case 5:
|
|
71066
|
+
message.resetPasswordLink = reader.string();
|
|
71067
|
+
break;
|
|
71068
|
+
case 6:
|
|
71069
|
+
message.shouldSendEmail = reader.bool();
|
|
71070
|
+
break;
|
|
71071
|
+
case 7:
|
|
71072
|
+
message.timestampEpochMs = reader.uint64();
|
|
71073
|
+
break;
|
|
71074
|
+
default:
|
|
71075
|
+
reader.skipType(tag & 7);
|
|
71076
|
+
break;
|
|
71077
|
+
}
|
|
71078
|
+
}
|
|
71079
|
+
return message;
|
|
71080
|
+
};
|
|
71081
|
+
|
|
71082
|
+
/**
|
|
71083
|
+
* Decodes a B2BAdminCreated message from the specified reader or buffer, length delimited.
|
|
71084
|
+
* @function decodeDelimited
|
|
71085
|
+
* @memberof B2BAdminCreated
|
|
71086
|
+
* @static
|
|
71087
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
71088
|
+
* @returns {B2BAdminCreated} B2BAdminCreated
|
|
71089
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
71090
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
71091
|
+
*/
|
|
71092
|
+
B2BAdminCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
71093
|
+
if (!(reader instanceof $Reader))
|
|
71094
|
+
reader = new $Reader(reader);
|
|
71095
|
+
return this.decode(reader, reader.uint32());
|
|
71096
|
+
};
|
|
71097
|
+
|
|
71098
|
+
/**
|
|
71099
|
+
* Verifies a B2BAdminCreated message.
|
|
71100
|
+
* @function verify
|
|
71101
|
+
* @memberof B2BAdminCreated
|
|
71102
|
+
* @static
|
|
71103
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
71104
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
71105
|
+
*/
|
|
71106
|
+
B2BAdminCreated.verify = function verify(message) {
|
|
71107
|
+
if (typeof message !== "object" || message === null)
|
|
71108
|
+
return "object expected";
|
|
71109
|
+
if (message.adminId != null && message.hasOwnProperty("adminId"))
|
|
71110
|
+
if (!$util.isInteger(message.adminId))
|
|
71111
|
+
return "adminId: integer expected";
|
|
71112
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
71113
|
+
if (!$util.isInteger(message.orgId))
|
|
71114
|
+
return "orgId: integer expected";
|
|
71115
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
71116
|
+
if (!$util.isString(message.orgName))
|
|
71117
|
+
return "orgName: string expected";
|
|
71118
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
71119
|
+
if (!$util.isString(message.email))
|
|
71120
|
+
return "email: string expected";
|
|
71121
|
+
if (message.resetPasswordLink != null && message.hasOwnProperty("resetPasswordLink"))
|
|
71122
|
+
if (!$util.isString(message.resetPasswordLink))
|
|
71123
|
+
return "resetPasswordLink: string expected";
|
|
71124
|
+
if (message.shouldSendEmail != null && message.hasOwnProperty("shouldSendEmail"))
|
|
71125
|
+
if (typeof message.shouldSendEmail !== "boolean")
|
|
71126
|
+
return "shouldSendEmail: boolean expected";
|
|
71127
|
+
if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
|
|
71128
|
+
if (!$util.isInteger(message.timestampEpochMs) && !(message.timestampEpochMs && $util.isInteger(message.timestampEpochMs.low) && $util.isInteger(message.timestampEpochMs.high)))
|
|
71129
|
+
return "timestampEpochMs: integer|Long expected";
|
|
71130
|
+
return null;
|
|
71131
|
+
};
|
|
71132
|
+
|
|
71133
|
+
/**
|
|
71134
|
+
* Creates a B2BAdminCreated message from a plain object. Also converts values to their respective internal types.
|
|
71135
|
+
* @function fromObject
|
|
71136
|
+
* @memberof B2BAdminCreated
|
|
71137
|
+
* @static
|
|
71138
|
+
* @param {Object.<string,*>} object Plain object
|
|
71139
|
+
* @returns {B2BAdminCreated} B2BAdminCreated
|
|
71140
|
+
*/
|
|
71141
|
+
B2BAdminCreated.fromObject = function fromObject(object) {
|
|
71142
|
+
if (object instanceof $root.B2BAdminCreated)
|
|
71143
|
+
return object;
|
|
71144
|
+
var message = new $root.B2BAdminCreated();
|
|
71145
|
+
if (object.adminId != null)
|
|
71146
|
+
message.adminId = object.adminId >>> 0;
|
|
71147
|
+
if (object.orgId != null)
|
|
71148
|
+
message.orgId = object.orgId >>> 0;
|
|
71149
|
+
if (object.orgName != null)
|
|
71150
|
+
message.orgName = String(object.orgName);
|
|
71151
|
+
if (object.email != null)
|
|
71152
|
+
message.email = String(object.email);
|
|
71153
|
+
if (object.resetPasswordLink != null)
|
|
71154
|
+
message.resetPasswordLink = String(object.resetPasswordLink);
|
|
71155
|
+
if (object.shouldSendEmail != null)
|
|
71156
|
+
message.shouldSendEmail = Boolean(object.shouldSendEmail);
|
|
71157
|
+
if (object.timestampEpochMs != null)
|
|
71158
|
+
if ($util.Long)
|
|
71159
|
+
(message.timestampEpochMs = $util.Long.fromValue(object.timestampEpochMs)).unsigned = true;
|
|
71160
|
+
else if (typeof object.timestampEpochMs === "string")
|
|
71161
|
+
message.timestampEpochMs = parseInt(object.timestampEpochMs, 10);
|
|
71162
|
+
else if (typeof object.timestampEpochMs === "number")
|
|
71163
|
+
message.timestampEpochMs = object.timestampEpochMs;
|
|
71164
|
+
else if (typeof object.timestampEpochMs === "object")
|
|
71165
|
+
message.timestampEpochMs = new $util.LongBits(object.timestampEpochMs.low >>> 0, object.timestampEpochMs.high >>> 0).toNumber(true);
|
|
71166
|
+
return message;
|
|
71167
|
+
};
|
|
71168
|
+
|
|
71169
|
+
/**
|
|
71170
|
+
* Creates a plain object from a B2BAdminCreated message. Also converts values to other types if specified.
|
|
71171
|
+
* @function toObject
|
|
71172
|
+
* @memberof B2BAdminCreated
|
|
71173
|
+
* @static
|
|
71174
|
+
* @param {B2BAdminCreated} message B2BAdminCreated
|
|
71175
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
71176
|
+
* @returns {Object.<string,*>} Plain object
|
|
71177
|
+
*/
|
|
71178
|
+
B2BAdminCreated.toObject = function toObject(message, options) {
|
|
71179
|
+
if (!options)
|
|
71180
|
+
options = {};
|
|
71181
|
+
var object = {};
|
|
71182
|
+
if (options.defaults) {
|
|
71183
|
+
object.adminId = 0;
|
|
71184
|
+
object.orgId = 0;
|
|
71185
|
+
object.orgName = "";
|
|
71186
|
+
object.email = "";
|
|
71187
|
+
object.resetPasswordLink = "";
|
|
71188
|
+
object.shouldSendEmail = false;
|
|
71189
|
+
if ($util.Long) {
|
|
71190
|
+
var long = new $util.Long(0, 0, true);
|
|
71191
|
+
object.timestampEpochMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
71192
|
+
} else
|
|
71193
|
+
object.timestampEpochMs = options.longs === String ? "0" : 0;
|
|
71194
|
+
}
|
|
71195
|
+
if (message.adminId != null && message.hasOwnProperty("adminId"))
|
|
71196
|
+
object.adminId = message.adminId;
|
|
71197
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
71198
|
+
object.orgId = message.orgId;
|
|
71199
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
71200
|
+
object.orgName = message.orgName;
|
|
71201
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
71202
|
+
object.email = message.email;
|
|
71203
|
+
if (message.resetPasswordLink != null && message.hasOwnProperty("resetPasswordLink"))
|
|
71204
|
+
object.resetPasswordLink = message.resetPasswordLink;
|
|
71205
|
+
if (message.shouldSendEmail != null && message.hasOwnProperty("shouldSendEmail"))
|
|
71206
|
+
object.shouldSendEmail = message.shouldSendEmail;
|
|
71207
|
+
if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
|
|
71208
|
+
if (typeof message.timestampEpochMs === "number")
|
|
71209
|
+
object.timestampEpochMs = options.longs === String ? String(message.timestampEpochMs) : message.timestampEpochMs;
|
|
71210
|
+
else
|
|
71211
|
+
object.timestampEpochMs = options.longs === String ? $util.Long.prototype.toString.call(message.timestampEpochMs) : options.longs === Number ? new $util.LongBits(message.timestampEpochMs.low >>> 0, message.timestampEpochMs.high >>> 0).toNumber(true) : message.timestampEpochMs;
|
|
71212
|
+
return object;
|
|
71213
|
+
};
|
|
71214
|
+
|
|
71215
|
+
/**
|
|
71216
|
+
* Converts this B2BAdminCreated to JSON.
|
|
71217
|
+
* @function toJSON
|
|
71218
|
+
* @memberof B2BAdminCreated
|
|
71219
|
+
* @instance
|
|
71220
|
+
* @returns {Object.<string,*>} JSON object
|
|
71221
|
+
*/
|
|
71222
|
+
B2BAdminCreated.prototype.toJSON = function toJSON() {
|
|
71223
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
71224
|
+
};
|
|
71225
|
+
|
|
71226
|
+
return B2BAdminCreated;
|
|
71227
|
+
})();
|
|
71228
|
+
|
|
70895
71229
|
$root.EligibilityFileProcessed = (function() {
|
|
70896
71230
|
|
|
70897
71231
|
/**
|
package/package.json
CHANGED