@headspace/protos-events 1.672.0 → 1.674.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 +138 -0
- package/lib/index.js +378 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -14347,6 +14347,9 @@ export namespace b2b {
|
|
|
14347
14347
|
|
|
14348
14348
|
/** Organization hierarchyMappingValue */
|
|
14349
14349
|
hierarchyMappingValue?: (string|null);
|
|
14350
|
+
|
|
14351
|
+
/** Organization m2mOrgSyncEnabled */
|
|
14352
|
+
m2mOrgSyncEnabled?: (boolean|null);
|
|
14350
14353
|
}
|
|
14351
14354
|
|
|
14352
14355
|
/** Represents an Organization. */
|
|
@@ -14439,6 +14442,9 @@ export namespace b2b {
|
|
|
14439
14442
|
/** Organization hierarchyMappingValue. */
|
|
14440
14443
|
public hierarchyMappingValue: string;
|
|
14441
14444
|
|
|
14445
|
+
/** Organization m2mOrgSyncEnabled. */
|
|
14446
|
+
public m2mOrgSyncEnabled: boolean;
|
|
14447
|
+
|
|
14442
14448
|
/**
|
|
14443
14449
|
* Creates a new Organization instance using the specified properties.
|
|
14444
14450
|
* @param [properties] Properties to set
|
|
@@ -47901,6 +47907,138 @@ export class OrganizationMFAUpdated implements IOrganizationMFAUpdated {
|
|
|
47901
47907
|
public toJSON(): { [k: string]: any };
|
|
47902
47908
|
}
|
|
47903
47909
|
|
|
47910
|
+
/** Properties of an OrgMarketingConfigUpdated. */
|
|
47911
|
+
export interface IOrgMarketingConfigUpdated {
|
|
47912
|
+
|
|
47913
|
+
/** OrgMarketingConfigUpdated b2bOrgId */
|
|
47914
|
+
b2bOrgId?: (number|null);
|
|
47915
|
+
|
|
47916
|
+
/** OrgMarketingConfigUpdated isSmb */
|
|
47917
|
+
isSmb?: (boolean|null);
|
|
47918
|
+
|
|
47919
|
+
/** OrgMarketingConfigUpdated areMemberCommsEnabled */
|
|
47920
|
+
areMemberCommsEnabled?: (boolean|null);
|
|
47921
|
+
|
|
47922
|
+
/** OrgMarketingConfigUpdated areNonMemberCommsEnabled */
|
|
47923
|
+
areNonMemberCommsEnabled?: (boolean|null);
|
|
47924
|
+
|
|
47925
|
+
/** OrgMarketingConfigUpdated areEnrollmentCommsEnabled */
|
|
47926
|
+
areEnrollmentCommsEnabled?: (boolean|null);
|
|
47927
|
+
|
|
47928
|
+
/** OrgMarketingConfigUpdated campaignDisplayName */
|
|
47929
|
+
campaignDisplayName?: (string|null);
|
|
47930
|
+
|
|
47931
|
+
/** OrgMarketingConfigUpdated campaignLaunchDate */
|
|
47932
|
+
campaignLaunchDate?: (number|Long|null);
|
|
47933
|
+
|
|
47934
|
+
/** OrgMarketingConfigUpdated adminId */
|
|
47935
|
+
adminId?: (number|null);
|
|
47936
|
+
}
|
|
47937
|
+
|
|
47938
|
+
/** Represents an OrgMarketingConfigUpdated. */
|
|
47939
|
+
export class OrgMarketingConfigUpdated implements IOrgMarketingConfigUpdated {
|
|
47940
|
+
|
|
47941
|
+
/**
|
|
47942
|
+
* Constructs a new OrgMarketingConfigUpdated.
|
|
47943
|
+
* @param [properties] Properties to set
|
|
47944
|
+
*/
|
|
47945
|
+
constructor(properties?: IOrgMarketingConfigUpdated);
|
|
47946
|
+
|
|
47947
|
+
/** OrgMarketingConfigUpdated b2bOrgId. */
|
|
47948
|
+
public b2bOrgId: number;
|
|
47949
|
+
|
|
47950
|
+
/** OrgMarketingConfigUpdated isSmb. */
|
|
47951
|
+
public isSmb: boolean;
|
|
47952
|
+
|
|
47953
|
+
/** OrgMarketingConfigUpdated areMemberCommsEnabled. */
|
|
47954
|
+
public areMemberCommsEnabled: boolean;
|
|
47955
|
+
|
|
47956
|
+
/** OrgMarketingConfigUpdated areNonMemberCommsEnabled. */
|
|
47957
|
+
public areNonMemberCommsEnabled: boolean;
|
|
47958
|
+
|
|
47959
|
+
/** OrgMarketingConfigUpdated areEnrollmentCommsEnabled. */
|
|
47960
|
+
public areEnrollmentCommsEnabled: boolean;
|
|
47961
|
+
|
|
47962
|
+
/** OrgMarketingConfigUpdated campaignDisplayName. */
|
|
47963
|
+
public campaignDisplayName: string;
|
|
47964
|
+
|
|
47965
|
+
/** OrgMarketingConfigUpdated campaignLaunchDate. */
|
|
47966
|
+
public campaignLaunchDate: (number|Long);
|
|
47967
|
+
|
|
47968
|
+
/** OrgMarketingConfigUpdated adminId. */
|
|
47969
|
+
public adminId: number;
|
|
47970
|
+
|
|
47971
|
+
/**
|
|
47972
|
+
* Creates a new OrgMarketingConfigUpdated instance using the specified properties.
|
|
47973
|
+
* @param [properties] Properties to set
|
|
47974
|
+
* @returns OrgMarketingConfigUpdated instance
|
|
47975
|
+
*/
|
|
47976
|
+
public static create(properties?: IOrgMarketingConfigUpdated): OrgMarketingConfigUpdated;
|
|
47977
|
+
|
|
47978
|
+
/**
|
|
47979
|
+
* Encodes the specified OrgMarketingConfigUpdated message. Does not implicitly {@link OrgMarketingConfigUpdated.verify|verify} messages.
|
|
47980
|
+
* @param message OrgMarketingConfigUpdated message or plain object to encode
|
|
47981
|
+
* @param [writer] Writer to encode to
|
|
47982
|
+
* @returns Writer
|
|
47983
|
+
*/
|
|
47984
|
+
public static encode(message: IOrgMarketingConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
47985
|
+
|
|
47986
|
+
/**
|
|
47987
|
+
* Encodes the specified OrgMarketingConfigUpdated message, length delimited. Does not implicitly {@link OrgMarketingConfigUpdated.verify|verify} messages.
|
|
47988
|
+
* @param message OrgMarketingConfigUpdated message or plain object to encode
|
|
47989
|
+
* @param [writer] Writer to encode to
|
|
47990
|
+
* @returns Writer
|
|
47991
|
+
*/
|
|
47992
|
+
public static encodeDelimited(message: IOrgMarketingConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
47993
|
+
|
|
47994
|
+
/**
|
|
47995
|
+
* Decodes an OrgMarketingConfigUpdated message from the specified reader or buffer.
|
|
47996
|
+
* @param reader Reader or buffer to decode from
|
|
47997
|
+
* @param [length] Message length if known beforehand
|
|
47998
|
+
* @returns OrgMarketingConfigUpdated
|
|
47999
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48000
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48001
|
+
*/
|
|
48002
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrgMarketingConfigUpdated;
|
|
48003
|
+
|
|
48004
|
+
/**
|
|
48005
|
+
* Decodes an OrgMarketingConfigUpdated message from the specified reader or buffer, length delimited.
|
|
48006
|
+
* @param reader Reader or buffer to decode from
|
|
48007
|
+
* @returns OrgMarketingConfigUpdated
|
|
48008
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48009
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48010
|
+
*/
|
|
48011
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrgMarketingConfigUpdated;
|
|
48012
|
+
|
|
48013
|
+
/**
|
|
48014
|
+
* Verifies an OrgMarketingConfigUpdated message.
|
|
48015
|
+
* @param message Plain object to verify
|
|
48016
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
48017
|
+
*/
|
|
48018
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
48019
|
+
|
|
48020
|
+
/**
|
|
48021
|
+
* Creates an OrgMarketingConfigUpdated message from a plain object. Also converts values to their respective internal types.
|
|
48022
|
+
* @param object Plain object
|
|
48023
|
+
* @returns OrgMarketingConfigUpdated
|
|
48024
|
+
*/
|
|
48025
|
+
public static fromObject(object: { [k: string]: any }): OrgMarketingConfigUpdated;
|
|
48026
|
+
|
|
48027
|
+
/**
|
|
48028
|
+
* Creates a plain object from an OrgMarketingConfigUpdated message. Also converts values to other types if specified.
|
|
48029
|
+
* @param message OrgMarketingConfigUpdated
|
|
48030
|
+
* @param [options] Conversion options
|
|
48031
|
+
* @returns Plain object
|
|
48032
|
+
*/
|
|
48033
|
+
public static toObject(message: OrgMarketingConfigUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
48034
|
+
|
|
48035
|
+
/**
|
|
48036
|
+
* Converts this OrgMarketingConfigUpdated to JSON.
|
|
48037
|
+
* @returns JSON object
|
|
48038
|
+
*/
|
|
48039
|
+
public toJSON(): { [k: string]: any };
|
|
48040
|
+
}
|
|
48041
|
+
|
|
47904
48042
|
/** Properties of an OrganizationSubscriptionCreated. */
|
|
47905
48043
|
export interface IOrganizationSubscriptionCreated {
|
|
47906
48044
|
|
package/lib/index.js
CHANGED
|
@@ -37795,6 +37795,7 @@ $root.b2b = (function() {
|
|
|
37795
37795
|
* @property {string|null} [eligibilityCollectiveUuid] Organization eligibilityCollectiveUuid
|
|
37796
37796
|
* @property {string|null} [hierarchyMappingKey] Organization hierarchyMappingKey
|
|
37797
37797
|
* @property {string|null} [hierarchyMappingValue] Organization hierarchyMappingValue
|
|
37798
|
+
* @property {boolean|null} [m2mOrgSyncEnabled] Organization m2mOrgSyncEnabled
|
|
37798
37799
|
*/
|
|
37799
37800
|
|
|
37800
37801
|
/**
|
|
@@ -38029,6 +38030,14 @@ $root.b2b = (function() {
|
|
|
38029
38030
|
*/
|
|
38030
38031
|
Organization.prototype.hierarchyMappingValue = "";
|
|
38031
38032
|
|
|
38033
|
+
/**
|
|
38034
|
+
* Organization m2mOrgSyncEnabled.
|
|
38035
|
+
* @member {boolean} m2mOrgSyncEnabled
|
|
38036
|
+
* @memberof b2b.Organization
|
|
38037
|
+
* @instance
|
|
38038
|
+
*/
|
|
38039
|
+
Organization.prototype.m2mOrgSyncEnabled = false;
|
|
38040
|
+
|
|
38032
38041
|
/**
|
|
38033
38042
|
* Creates a new Organization instance using the specified properties.
|
|
38034
38043
|
* @function create
|
|
@@ -38111,6 +38120,8 @@ $root.b2b = (function() {
|
|
|
38111
38120
|
writer.uint32(/* id 27, wireType 2 =*/218).string(message.hierarchyMappingKey);
|
|
38112
38121
|
if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
|
|
38113
38122
|
writer.uint32(/* id 28, wireType 2 =*/226).string(message.hierarchyMappingValue);
|
|
38123
|
+
if (message.m2mOrgSyncEnabled != null && message.hasOwnProperty("m2mOrgSyncEnabled"))
|
|
38124
|
+
writer.uint32(/* id 29, wireType 0 =*/232).bool(message.m2mOrgSyncEnabled);
|
|
38114
38125
|
return writer;
|
|
38115
38126
|
};
|
|
38116
38127
|
|
|
@@ -38233,6 +38244,9 @@ $root.b2b = (function() {
|
|
|
38233
38244
|
case 28:
|
|
38234
38245
|
message.hierarchyMappingValue = reader.string();
|
|
38235
38246
|
break;
|
|
38247
|
+
case 29:
|
|
38248
|
+
message.m2mOrgSyncEnabled = reader.bool();
|
|
38249
|
+
break;
|
|
38236
38250
|
default:
|
|
38237
38251
|
reader.skipType(tag & 7);
|
|
38238
38252
|
break;
|
|
@@ -38384,6 +38398,9 @@ $root.b2b = (function() {
|
|
|
38384
38398
|
if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
|
|
38385
38399
|
if (!$util.isString(message.hierarchyMappingValue))
|
|
38386
38400
|
return "hierarchyMappingValue: string expected";
|
|
38401
|
+
if (message.m2mOrgSyncEnabled != null && message.hasOwnProperty("m2mOrgSyncEnabled"))
|
|
38402
|
+
if (typeof message.m2mOrgSyncEnabled !== "boolean")
|
|
38403
|
+
return "m2mOrgSyncEnabled: boolean expected";
|
|
38387
38404
|
return null;
|
|
38388
38405
|
};
|
|
38389
38406
|
|
|
@@ -38548,6 +38565,8 @@ $root.b2b = (function() {
|
|
|
38548
38565
|
message.hierarchyMappingKey = String(object.hierarchyMappingKey);
|
|
38549
38566
|
if (object.hierarchyMappingValue != null)
|
|
38550
38567
|
message.hierarchyMappingValue = String(object.hierarchyMappingValue);
|
|
38568
|
+
if (object.m2mOrgSyncEnabled != null)
|
|
38569
|
+
message.m2mOrgSyncEnabled = Boolean(object.m2mOrgSyncEnabled);
|
|
38551
38570
|
return message;
|
|
38552
38571
|
};
|
|
38553
38572
|
|
|
@@ -38593,6 +38612,7 @@ $root.b2b = (function() {
|
|
|
38593
38612
|
object.eligibilityCollectiveUuid = "";
|
|
38594
38613
|
object.hierarchyMappingKey = "";
|
|
38595
38614
|
object.hierarchyMappingValue = "";
|
|
38615
|
+
object.m2mOrgSyncEnabled = false;
|
|
38596
38616
|
}
|
|
38597
38617
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
38598
38618
|
object.orgId = message.orgId;
|
|
@@ -38651,6 +38671,8 @@ $root.b2b = (function() {
|
|
|
38651
38671
|
object.hierarchyMappingKey = message.hierarchyMappingKey;
|
|
38652
38672
|
if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
|
|
38653
38673
|
object.hierarchyMappingValue = message.hierarchyMappingValue;
|
|
38674
|
+
if (message.m2mOrgSyncEnabled != null && message.hasOwnProperty("m2mOrgSyncEnabled"))
|
|
38675
|
+
object.m2mOrgSyncEnabled = message.m2mOrgSyncEnabled;
|
|
38654
38676
|
return object;
|
|
38655
38677
|
};
|
|
38656
38678
|
|
|
@@ -132320,6 +132342,362 @@ $root.OrganizationMFAUpdated = (function() {
|
|
|
132320
132342
|
return OrganizationMFAUpdated;
|
|
132321
132343
|
})();
|
|
132322
132344
|
|
|
132345
|
+
$root.OrgMarketingConfigUpdated = (function() {
|
|
132346
|
+
|
|
132347
|
+
/**
|
|
132348
|
+
* Properties of an OrgMarketingConfigUpdated.
|
|
132349
|
+
* @name IOrgMarketingConfigUpdated
|
|
132350
|
+
* @interface IOrgMarketingConfigUpdated
|
|
132351
|
+
* @property {number|null} [b2bOrgId] OrgMarketingConfigUpdated b2bOrgId
|
|
132352
|
+
* @property {boolean|null} [isSmb] OrgMarketingConfigUpdated isSmb
|
|
132353
|
+
* @property {boolean|null} [areMemberCommsEnabled] OrgMarketingConfigUpdated areMemberCommsEnabled
|
|
132354
|
+
* @property {boolean|null} [areNonMemberCommsEnabled] OrgMarketingConfigUpdated areNonMemberCommsEnabled
|
|
132355
|
+
* @property {boolean|null} [areEnrollmentCommsEnabled] OrgMarketingConfigUpdated areEnrollmentCommsEnabled
|
|
132356
|
+
* @property {string|null} [campaignDisplayName] OrgMarketingConfigUpdated campaignDisplayName
|
|
132357
|
+
* @property {number|Long|null} [campaignLaunchDate] OrgMarketingConfigUpdated campaignLaunchDate
|
|
132358
|
+
* @property {number|null} [adminId] OrgMarketingConfigUpdated adminId
|
|
132359
|
+
*/
|
|
132360
|
+
|
|
132361
|
+
/**
|
|
132362
|
+
* Constructs a new OrgMarketingConfigUpdated.
|
|
132363
|
+
* @name OrgMarketingConfigUpdated
|
|
132364
|
+
* @classdesc Represents an OrgMarketingConfigUpdated.
|
|
132365
|
+
* @implements IOrgMarketingConfigUpdated
|
|
132366
|
+
* @constructor
|
|
132367
|
+
* @param {IOrgMarketingConfigUpdated=} [properties] Properties to set
|
|
132368
|
+
*/
|
|
132369
|
+
function OrgMarketingConfigUpdated(properties) {
|
|
132370
|
+
if (properties)
|
|
132371
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
132372
|
+
if (properties[keys[i]] != null)
|
|
132373
|
+
this[keys[i]] = properties[keys[i]];
|
|
132374
|
+
}
|
|
132375
|
+
|
|
132376
|
+
/**
|
|
132377
|
+
* OrgMarketingConfigUpdated b2bOrgId.
|
|
132378
|
+
* @member {number} b2bOrgId
|
|
132379
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132380
|
+
* @instance
|
|
132381
|
+
*/
|
|
132382
|
+
OrgMarketingConfigUpdated.prototype.b2bOrgId = 0;
|
|
132383
|
+
|
|
132384
|
+
/**
|
|
132385
|
+
* OrgMarketingConfigUpdated isSmb.
|
|
132386
|
+
* @member {boolean} isSmb
|
|
132387
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132388
|
+
* @instance
|
|
132389
|
+
*/
|
|
132390
|
+
OrgMarketingConfigUpdated.prototype.isSmb = false;
|
|
132391
|
+
|
|
132392
|
+
/**
|
|
132393
|
+
* OrgMarketingConfigUpdated areMemberCommsEnabled.
|
|
132394
|
+
* @member {boolean} areMemberCommsEnabled
|
|
132395
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132396
|
+
* @instance
|
|
132397
|
+
*/
|
|
132398
|
+
OrgMarketingConfigUpdated.prototype.areMemberCommsEnabled = false;
|
|
132399
|
+
|
|
132400
|
+
/**
|
|
132401
|
+
* OrgMarketingConfigUpdated areNonMemberCommsEnabled.
|
|
132402
|
+
* @member {boolean} areNonMemberCommsEnabled
|
|
132403
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132404
|
+
* @instance
|
|
132405
|
+
*/
|
|
132406
|
+
OrgMarketingConfigUpdated.prototype.areNonMemberCommsEnabled = false;
|
|
132407
|
+
|
|
132408
|
+
/**
|
|
132409
|
+
* OrgMarketingConfigUpdated areEnrollmentCommsEnabled.
|
|
132410
|
+
* @member {boolean} areEnrollmentCommsEnabled
|
|
132411
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132412
|
+
* @instance
|
|
132413
|
+
*/
|
|
132414
|
+
OrgMarketingConfigUpdated.prototype.areEnrollmentCommsEnabled = false;
|
|
132415
|
+
|
|
132416
|
+
/**
|
|
132417
|
+
* OrgMarketingConfigUpdated campaignDisplayName.
|
|
132418
|
+
* @member {string} campaignDisplayName
|
|
132419
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132420
|
+
* @instance
|
|
132421
|
+
*/
|
|
132422
|
+
OrgMarketingConfigUpdated.prototype.campaignDisplayName = "";
|
|
132423
|
+
|
|
132424
|
+
/**
|
|
132425
|
+
* OrgMarketingConfigUpdated campaignLaunchDate.
|
|
132426
|
+
* @member {number|Long} campaignLaunchDate
|
|
132427
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132428
|
+
* @instance
|
|
132429
|
+
*/
|
|
132430
|
+
OrgMarketingConfigUpdated.prototype.campaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
132431
|
+
|
|
132432
|
+
/**
|
|
132433
|
+
* OrgMarketingConfigUpdated adminId.
|
|
132434
|
+
* @member {number} adminId
|
|
132435
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132436
|
+
* @instance
|
|
132437
|
+
*/
|
|
132438
|
+
OrgMarketingConfigUpdated.prototype.adminId = 0;
|
|
132439
|
+
|
|
132440
|
+
/**
|
|
132441
|
+
* Creates a new OrgMarketingConfigUpdated instance using the specified properties.
|
|
132442
|
+
* @function create
|
|
132443
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132444
|
+
* @static
|
|
132445
|
+
* @param {IOrgMarketingConfigUpdated=} [properties] Properties to set
|
|
132446
|
+
* @returns {OrgMarketingConfigUpdated} OrgMarketingConfigUpdated instance
|
|
132447
|
+
*/
|
|
132448
|
+
OrgMarketingConfigUpdated.create = function create(properties) {
|
|
132449
|
+
return new OrgMarketingConfigUpdated(properties);
|
|
132450
|
+
};
|
|
132451
|
+
|
|
132452
|
+
/**
|
|
132453
|
+
* Encodes the specified OrgMarketingConfigUpdated message. Does not implicitly {@link OrgMarketingConfigUpdated.verify|verify} messages.
|
|
132454
|
+
* @function encode
|
|
132455
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132456
|
+
* @static
|
|
132457
|
+
* @param {IOrgMarketingConfigUpdated} message OrgMarketingConfigUpdated message or plain object to encode
|
|
132458
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
132459
|
+
* @returns {$protobuf.Writer} Writer
|
|
132460
|
+
*/
|
|
132461
|
+
OrgMarketingConfigUpdated.encode = function encode(message, writer) {
|
|
132462
|
+
if (!writer)
|
|
132463
|
+
writer = $Writer.create();
|
|
132464
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
132465
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.b2bOrgId);
|
|
132466
|
+
if (message.isSmb != null && message.hasOwnProperty("isSmb"))
|
|
132467
|
+
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isSmb);
|
|
132468
|
+
if (message.areMemberCommsEnabled != null && message.hasOwnProperty("areMemberCommsEnabled"))
|
|
132469
|
+
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.areMemberCommsEnabled);
|
|
132470
|
+
if (message.areNonMemberCommsEnabled != null && message.hasOwnProperty("areNonMemberCommsEnabled"))
|
|
132471
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.areNonMemberCommsEnabled);
|
|
132472
|
+
if (message.areEnrollmentCommsEnabled != null && message.hasOwnProperty("areEnrollmentCommsEnabled"))
|
|
132473
|
+
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.areEnrollmentCommsEnabled);
|
|
132474
|
+
if (message.campaignDisplayName != null && message.hasOwnProperty("campaignDisplayName"))
|
|
132475
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.campaignDisplayName);
|
|
132476
|
+
if (message.campaignLaunchDate != null && message.hasOwnProperty("campaignLaunchDate"))
|
|
132477
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.campaignLaunchDate);
|
|
132478
|
+
if (message.adminId != null && message.hasOwnProperty("adminId"))
|
|
132479
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.adminId);
|
|
132480
|
+
return writer;
|
|
132481
|
+
};
|
|
132482
|
+
|
|
132483
|
+
/**
|
|
132484
|
+
* Encodes the specified OrgMarketingConfigUpdated message, length delimited. Does not implicitly {@link OrgMarketingConfigUpdated.verify|verify} messages.
|
|
132485
|
+
* @function encodeDelimited
|
|
132486
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132487
|
+
* @static
|
|
132488
|
+
* @param {IOrgMarketingConfigUpdated} message OrgMarketingConfigUpdated message or plain object to encode
|
|
132489
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
132490
|
+
* @returns {$protobuf.Writer} Writer
|
|
132491
|
+
*/
|
|
132492
|
+
OrgMarketingConfigUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
132493
|
+
return this.encode(message, writer).ldelim();
|
|
132494
|
+
};
|
|
132495
|
+
|
|
132496
|
+
/**
|
|
132497
|
+
* Decodes an OrgMarketingConfigUpdated message from the specified reader or buffer.
|
|
132498
|
+
* @function decode
|
|
132499
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132500
|
+
* @static
|
|
132501
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
132502
|
+
* @param {number} [length] Message length if known beforehand
|
|
132503
|
+
* @returns {OrgMarketingConfigUpdated} OrgMarketingConfigUpdated
|
|
132504
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
132505
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
132506
|
+
*/
|
|
132507
|
+
OrgMarketingConfigUpdated.decode = function decode(reader, length) {
|
|
132508
|
+
if (!(reader instanceof $Reader))
|
|
132509
|
+
reader = $Reader.create(reader);
|
|
132510
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrgMarketingConfigUpdated();
|
|
132511
|
+
while (reader.pos < end) {
|
|
132512
|
+
var tag = reader.uint32();
|
|
132513
|
+
switch (tag >>> 3) {
|
|
132514
|
+
case 1:
|
|
132515
|
+
message.b2bOrgId = reader.uint32();
|
|
132516
|
+
break;
|
|
132517
|
+
case 2:
|
|
132518
|
+
message.isSmb = reader.bool();
|
|
132519
|
+
break;
|
|
132520
|
+
case 3:
|
|
132521
|
+
message.areMemberCommsEnabled = reader.bool();
|
|
132522
|
+
break;
|
|
132523
|
+
case 4:
|
|
132524
|
+
message.areNonMemberCommsEnabled = reader.bool();
|
|
132525
|
+
break;
|
|
132526
|
+
case 5:
|
|
132527
|
+
message.areEnrollmentCommsEnabled = reader.bool();
|
|
132528
|
+
break;
|
|
132529
|
+
case 6:
|
|
132530
|
+
message.campaignDisplayName = reader.string();
|
|
132531
|
+
break;
|
|
132532
|
+
case 7:
|
|
132533
|
+
message.campaignLaunchDate = reader.uint64();
|
|
132534
|
+
break;
|
|
132535
|
+
case 8:
|
|
132536
|
+
message.adminId = reader.uint32();
|
|
132537
|
+
break;
|
|
132538
|
+
default:
|
|
132539
|
+
reader.skipType(tag & 7);
|
|
132540
|
+
break;
|
|
132541
|
+
}
|
|
132542
|
+
}
|
|
132543
|
+
return message;
|
|
132544
|
+
};
|
|
132545
|
+
|
|
132546
|
+
/**
|
|
132547
|
+
* Decodes an OrgMarketingConfigUpdated message from the specified reader or buffer, length delimited.
|
|
132548
|
+
* @function decodeDelimited
|
|
132549
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132550
|
+
* @static
|
|
132551
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
132552
|
+
* @returns {OrgMarketingConfigUpdated} OrgMarketingConfigUpdated
|
|
132553
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
132554
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
132555
|
+
*/
|
|
132556
|
+
OrgMarketingConfigUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
132557
|
+
if (!(reader instanceof $Reader))
|
|
132558
|
+
reader = new $Reader(reader);
|
|
132559
|
+
return this.decode(reader, reader.uint32());
|
|
132560
|
+
};
|
|
132561
|
+
|
|
132562
|
+
/**
|
|
132563
|
+
* Verifies an OrgMarketingConfigUpdated message.
|
|
132564
|
+
* @function verify
|
|
132565
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132566
|
+
* @static
|
|
132567
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
132568
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
132569
|
+
*/
|
|
132570
|
+
OrgMarketingConfigUpdated.verify = function verify(message) {
|
|
132571
|
+
if (typeof message !== "object" || message === null)
|
|
132572
|
+
return "object expected";
|
|
132573
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
132574
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
132575
|
+
return "b2bOrgId: integer expected";
|
|
132576
|
+
if (message.isSmb != null && message.hasOwnProperty("isSmb"))
|
|
132577
|
+
if (typeof message.isSmb !== "boolean")
|
|
132578
|
+
return "isSmb: boolean expected";
|
|
132579
|
+
if (message.areMemberCommsEnabled != null && message.hasOwnProperty("areMemberCommsEnabled"))
|
|
132580
|
+
if (typeof message.areMemberCommsEnabled !== "boolean")
|
|
132581
|
+
return "areMemberCommsEnabled: boolean expected";
|
|
132582
|
+
if (message.areNonMemberCommsEnabled != null && message.hasOwnProperty("areNonMemberCommsEnabled"))
|
|
132583
|
+
if (typeof message.areNonMemberCommsEnabled !== "boolean")
|
|
132584
|
+
return "areNonMemberCommsEnabled: boolean expected";
|
|
132585
|
+
if (message.areEnrollmentCommsEnabled != null && message.hasOwnProperty("areEnrollmentCommsEnabled"))
|
|
132586
|
+
if (typeof message.areEnrollmentCommsEnabled !== "boolean")
|
|
132587
|
+
return "areEnrollmentCommsEnabled: boolean expected";
|
|
132588
|
+
if (message.campaignDisplayName != null && message.hasOwnProperty("campaignDisplayName"))
|
|
132589
|
+
if (!$util.isString(message.campaignDisplayName))
|
|
132590
|
+
return "campaignDisplayName: string expected";
|
|
132591
|
+
if (message.campaignLaunchDate != null && message.hasOwnProperty("campaignLaunchDate"))
|
|
132592
|
+
if (!$util.isInteger(message.campaignLaunchDate) && !(message.campaignLaunchDate && $util.isInteger(message.campaignLaunchDate.low) && $util.isInteger(message.campaignLaunchDate.high)))
|
|
132593
|
+
return "campaignLaunchDate: integer|Long expected";
|
|
132594
|
+
if (message.adminId != null && message.hasOwnProperty("adminId"))
|
|
132595
|
+
if (!$util.isInteger(message.adminId))
|
|
132596
|
+
return "adminId: integer expected";
|
|
132597
|
+
return null;
|
|
132598
|
+
};
|
|
132599
|
+
|
|
132600
|
+
/**
|
|
132601
|
+
* Creates an OrgMarketingConfigUpdated message from a plain object. Also converts values to their respective internal types.
|
|
132602
|
+
* @function fromObject
|
|
132603
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132604
|
+
* @static
|
|
132605
|
+
* @param {Object.<string,*>} object Plain object
|
|
132606
|
+
* @returns {OrgMarketingConfigUpdated} OrgMarketingConfigUpdated
|
|
132607
|
+
*/
|
|
132608
|
+
OrgMarketingConfigUpdated.fromObject = function fromObject(object) {
|
|
132609
|
+
if (object instanceof $root.OrgMarketingConfigUpdated)
|
|
132610
|
+
return object;
|
|
132611
|
+
var message = new $root.OrgMarketingConfigUpdated();
|
|
132612
|
+
if (object.b2bOrgId != null)
|
|
132613
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
132614
|
+
if (object.isSmb != null)
|
|
132615
|
+
message.isSmb = Boolean(object.isSmb);
|
|
132616
|
+
if (object.areMemberCommsEnabled != null)
|
|
132617
|
+
message.areMemberCommsEnabled = Boolean(object.areMemberCommsEnabled);
|
|
132618
|
+
if (object.areNonMemberCommsEnabled != null)
|
|
132619
|
+
message.areNonMemberCommsEnabled = Boolean(object.areNonMemberCommsEnabled);
|
|
132620
|
+
if (object.areEnrollmentCommsEnabled != null)
|
|
132621
|
+
message.areEnrollmentCommsEnabled = Boolean(object.areEnrollmentCommsEnabled);
|
|
132622
|
+
if (object.campaignDisplayName != null)
|
|
132623
|
+
message.campaignDisplayName = String(object.campaignDisplayName);
|
|
132624
|
+
if (object.campaignLaunchDate != null)
|
|
132625
|
+
if ($util.Long)
|
|
132626
|
+
(message.campaignLaunchDate = $util.Long.fromValue(object.campaignLaunchDate)).unsigned = true;
|
|
132627
|
+
else if (typeof object.campaignLaunchDate === "string")
|
|
132628
|
+
message.campaignLaunchDate = parseInt(object.campaignLaunchDate, 10);
|
|
132629
|
+
else if (typeof object.campaignLaunchDate === "number")
|
|
132630
|
+
message.campaignLaunchDate = object.campaignLaunchDate;
|
|
132631
|
+
else if (typeof object.campaignLaunchDate === "object")
|
|
132632
|
+
message.campaignLaunchDate = new $util.LongBits(object.campaignLaunchDate.low >>> 0, object.campaignLaunchDate.high >>> 0).toNumber(true);
|
|
132633
|
+
if (object.adminId != null)
|
|
132634
|
+
message.adminId = object.adminId >>> 0;
|
|
132635
|
+
return message;
|
|
132636
|
+
};
|
|
132637
|
+
|
|
132638
|
+
/**
|
|
132639
|
+
* Creates a plain object from an OrgMarketingConfigUpdated message. Also converts values to other types if specified.
|
|
132640
|
+
* @function toObject
|
|
132641
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132642
|
+
* @static
|
|
132643
|
+
* @param {OrgMarketingConfigUpdated} message OrgMarketingConfigUpdated
|
|
132644
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
132645
|
+
* @returns {Object.<string,*>} Plain object
|
|
132646
|
+
*/
|
|
132647
|
+
OrgMarketingConfigUpdated.toObject = function toObject(message, options) {
|
|
132648
|
+
if (!options)
|
|
132649
|
+
options = {};
|
|
132650
|
+
var object = {};
|
|
132651
|
+
if (options.defaults) {
|
|
132652
|
+
object.b2bOrgId = 0;
|
|
132653
|
+
object.isSmb = false;
|
|
132654
|
+
object.areMemberCommsEnabled = false;
|
|
132655
|
+
object.areNonMemberCommsEnabled = false;
|
|
132656
|
+
object.areEnrollmentCommsEnabled = false;
|
|
132657
|
+
object.campaignDisplayName = "";
|
|
132658
|
+
if ($util.Long) {
|
|
132659
|
+
var long = new $util.Long(0, 0, true);
|
|
132660
|
+
object.campaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
132661
|
+
} else
|
|
132662
|
+
object.campaignLaunchDate = options.longs === String ? "0" : 0;
|
|
132663
|
+
object.adminId = 0;
|
|
132664
|
+
}
|
|
132665
|
+
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
132666
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
132667
|
+
if (message.isSmb != null && message.hasOwnProperty("isSmb"))
|
|
132668
|
+
object.isSmb = message.isSmb;
|
|
132669
|
+
if (message.areMemberCommsEnabled != null && message.hasOwnProperty("areMemberCommsEnabled"))
|
|
132670
|
+
object.areMemberCommsEnabled = message.areMemberCommsEnabled;
|
|
132671
|
+
if (message.areNonMemberCommsEnabled != null && message.hasOwnProperty("areNonMemberCommsEnabled"))
|
|
132672
|
+
object.areNonMemberCommsEnabled = message.areNonMemberCommsEnabled;
|
|
132673
|
+
if (message.areEnrollmentCommsEnabled != null && message.hasOwnProperty("areEnrollmentCommsEnabled"))
|
|
132674
|
+
object.areEnrollmentCommsEnabled = message.areEnrollmentCommsEnabled;
|
|
132675
|
+
if (message.campaignDisplayName != null && message.hasOwnProperty("campaignDisplayName"))
|
|
132676
|
+
object.campaignDisplayName = message.campaignDisplayName;
|
|
132677
|
+
if (message.campaignLaunchDate != null && message.hasOwnProperty("campaignLaunchDate"))
|
|
132678
|
+
if (typeof message.campaignLaunchDate === "number")
|
|
132679
|
+
object.campaignLaunchDate = options.longs === String ? String(message.campaignLaunchDate) : message.campaignLaunchDate;
|
|
132680
|
+
else
|
|
132681
|
+
object.campaignLaunchDate = options.longs === String ? $util.Long.prototype.toString.call(message.campaignLaunchDate) : options.longs === Number ? new $util.LongBits(message.campaignLaunchDate.low >>> 0, message.campaignLaunchDate.high >>> 0).toNumber(true) : message.campaignLaunchDate;
|
|
132682
|
+
if (message.adminId != null && message.hasOwnProperty("adminId"))
|
|
132683
|
+
object.adminId = message.adminId;
|
|
132684
|
+
return object;
|
|
132685
|
+
};
|
|
132686
|
+
|
|
132687
|
+
/**
|
|
132688
|
+
* Converts this OrgMarketingConfigUpdated to JSON.
|
|
132689
|
+
* @function toJSON
|
|
132690
|
+
* @memberof OrgMarketingConfigUpdated
|
|
132691
|
+
* @instance
|
|
132692
|
+
* @returns {Object.<string,*>} JSON object
|
|
132693
|
+
*/
|
|
132694
|
+
OrgMarketingConfigUpdated.prototype.toJSON = function toJSON() {
|
|
132695
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
132696
|
+
};
|
|
132697
|
+
|
|
132698
|
+
return OrgMarketingConfigUpdated;
|
|
132699
|
+
})();
|
|
132700
|
+
|
|
132323
132701
|
$root.OrganizationSubscriptionCreated = (function() {
|
|
132324
132702
|
|
|
132325
132703
|
/**
|
package/package.json
CHANGED