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