@headspace/protos-events 1.774.0 → 1.775.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 CHANGED
@@ -35113,6 +35113,114 @@ export class OrgCoachingConfigUpdated implements IOrgCoachingConfigUpdated {
35113
35113
  public toJSON(): { [k: string]: any };
35114
35114
  }
35115
35115
 
35116
+ /** Properties of an OrgEbbConfigUpdated. */
35117
+ export interface IOrgEbbConfigUpdated {
35118
+
35119
+ /** OrgEbbConfigUpdated b2bOrgId */
35120
+ b2bOrgId?: (number|null);
35121
+
35122
+ /** OrgEbbConfigUpdated isEbbEnabled */
35123
+ isEbbEnabled?: (boolean|null);
35124
+
35125
+ /** OrgEbbConfigUpdated adminId */
35126
+ adminId?: (number|null);
35127
+
35128
+ /** OrgEbbConfigUpdated timestamp */
35129
+ timestamp?: (number|Long|null);
35130
+ }
35131
+
35132
+ /** Represents an OrgEbbConfigUpdated. */
35133
+ export class OrgEbbConfigUpdated implements IOrgEbbConfigUpdated {
35134
+
35135
+ /**
35136
+ * Constructs a new OrgEbbConfigUpdated.
35137
+ * @param [properties] Properties to set
35138
+ */
35139
+ constructor(properties?: IOrgEbbConfigUpdated);
35140
+
35141
+ /** OrgEbbConfigUpdated b2bOrgId. */
35142
+ public b2bOrgId: number;
35143
+
35144
+ /** OrgEbbConfigUpdated isEbbEnabled. */
35145
+ public isEbbEnabled: boolean;
35146
+
35147
+ /** OrgEbbConfigUpdated adminId. */
35148
+ public adminId: number;
35149
+
35150
+ /** OrgEbbConfigUpdated timestamp. */
35151
+ public timestamp: (number|Long);
35152
+
35153
+ /**
35154
+ * Creates a new OrgEbbConfigUpdated instance using the specified properties.
35155
+ * @param [properties] Properties to set
35156
+ * @returns OrgEbbConfigUpdated instance
35157
+ */
35158
+ public static create(properties?: IOrgEbbConfigUpdated): OrgEbbConfigUpdated;
35159
+
35160
+ /**
35161
+ * Encodes the specified OrgEbbConfigUpdated message. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
35162
+ * @param message OrgEbbConfigUpdated message or plain object to encode
35163
+ * @param [writer] Writer to encode to
35164
+ * @returns Writer
35165
+ */
35166
+ public static encode(message: IOrgEbbConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
35167
+
35168
+ /**
35169
+ * Encodes the specified OrgEbbConfigUpdated message, length delimited. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
35170
+ * @param message OrgEbbConfigUpdated message or plain object to encode
35171
+ * @param [writer] Writer to encode to
35172
+ * @returns Writer
35173
+ */
35174
+ public static encodeDelimited(message: IOrgEbbConfigUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
35175
+
35176
+ /**
35177
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer.
35178
+ * @param reader Reader or buffer to decode from
35179
+ * @param [length] Message length if known beforehand
35180
+ * @returns OrgEbbConfigUpdated
35181
+ * @throws {Error} If the payload is not a reader or valid buffer
35182
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35183
+ */
35184
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrgEbbConfigUpdated;
35185
+
35186
+ /**
35187
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer, length delimited.
35188
+ * @param reader Reader or buffer to decode from
35189
+ * @returns OrgEbbConfigUpdated
35190
+ * @throws {Error} If the payload is not a reader or valid buffer
35191
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35192
+ */
35193
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrgEbbConfigUpdated;
35194
+
35195
+ /**
35196
+ * Verifies an OrgEbbConfigUpdated message.
35197
+ * @param message Plain object to verify
35198
+ * @returns `null` if valid, otherwise the reason why it is not
35199
+ */
35200
+ public static verify(message: { [k: string]: any }): (string|null);
35201
+
35202
+ /**
35203
+ * Creates an OrgEbbConfigUpdated message from a plain object. Also converts values to their respective internal types.
35204
+ * @param object Plain object
35205
+ * @returns OrgEbbConfigUpdated
35206
+ */
35207
+ public static fromObject(object: { [k: string]: any }): OrgEbbConfigUpdated;
35208
+
35209
+ /**
35210
+ * Creates a plain object from an OrgEbbConfigUpdated message. Also converts values to other types if specified.
35211
+ * @param message OrgEbbConfigUpdated
35212
+ * @param [options] Conversion options
35213
+ * @returns Plain object
35214
+ */
35215
+ public static toObject(message: OrgEbbConfigUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
35216
+
35217
+ /**
35218
+ * Converts this OrgEbbConfigUpdated to JSON.
35219
+ * @returns JSON object
35220
+ */
35221
+ public toJSON(): { [k: string]: any };
35222
+ }
35223
+
35116
35224
  /** Properties of an OrgMarketingConfigUpdated. */
35117
35225
  export interface IOrgMarketingConfigUpdated {
35118
35226
 
package/lib/index.js CHANGED
@@ -98699,6 +98699,274 @@ $root.OrgCoachingConfigUpdated = (function() {
98699
98699
  return OrgCoachingConfigUpdated;
98700
98700
  })();
98701
98701
 
98702
+ $root.OrgEbbConfigUpdated = (function() {
98703
+
98704
+ /**
98705
+ * Properties of an OrgEbbConfigUpdated.
98706
+ * @name IOrgEbbConfigUpdated
98707
+ * @interface IOrgEbbConfigUpdated
98708
+ * @property {number|null} [b2bOrgId] OrgEbbConfigUpdated b2bOrgId
98709
+ * @property {boolean|null} [isEbbEnabled] OrgEbbConfigUpdated isEbbEnabled
98710
+ * @property {number|null} [adminId] OrgEbbConfigUpdated adminId
98711
+ * @property {number|Long|null} [timestamp] OrgEbbConfigUpdated timestamp
98712
+ */
98713
+
98714
+ /**
98715
+ * Constructs a new OrgEbbConfigUpdated.
98716
+ * @name OrgEbbConfigUpdated
98717
+ * @classdesc Represents an OrgEbbConfigUpdated.
98718
+ * @implements IOrgEbbConfigUpdated
98719
+ * @constructor
98720
+ * @param {IOrgEbbConfigUpdated=} [properties] Properties to set
98721
+ */
98722
+ function OrgEbbConfigUpdated(properties) {
98723
+ if (properties)
98724
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
98725
+ if (properties[keys[i]] != null)
98726
+ this[keys[i]] = properties[keys[i]];
98727
+ }
98728
+
98729
+ /**
98730
+ * OrgEbbConfigUpdated b2bOrgId.
98731
+ * @member {number} b2bOrgId
98732
+ * @memberof OrgEbbConfigUpdated
98733
+ * @instance
98734
+ */
98735
+ OrgEbbConfigUpdated.prototype.b2bOrgId = 0;
98736
+
98737
+ /**
98738
+ * OrgEbbConfigUpdated isEbbEnabled.
98739
+ * @member {boolean} isEbbEnabled
98740
+ * @memberof OrgEbbConfigUpdated
98741
+ * @instance
98742
+ */
98743
+ OrgEbbConfigUpdated.prototype.isEbbEnabled = false;
98744
+
98745
+ /**
98746
+ * OrgEbbConfigUpdated adminId.
98747
+ * @member {number} adminId
98748
+ * @memberof OrgEbbConfigUpdated
98749
+ * @instance
98750
+ */
98751
+ OrgEbbConfigUpdated.prototype.adminId = 0;
98752
+
98753
+ /**
98754
+ * OrgEbbConfigUpdated timestamp.
98755
+ * @member {number|Long} timestamp
98756
+ * @memberof OrgEbbConfigUpdated
98757
+ * @instance
98758
+ */
98759
+ OrgEbbConfigUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
98760
+
98761
+ /**
98762
+ * Creates a new OrgEbbConfigUpdated instance using the specified properties.
98763
+ * @function create
98764
+ * @memberof OrgEbbConfigUpdated
98765
+ * @static
98766
+ * @param {IOrgEbbConfigUpdated=} [properties] Properties to set
98767
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated instance
98768
+ */
98769
+ OrgEbbConfigUpdated.create = function create(properties) {
98770
+ return new OrgEbbConfigUpdated(properties);
98771
+ };
98772
+
98773
+ /**
98774
+ * Encodes the specified OrgEbbConfigUpdated message. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
98775
+ * @function encode
98776
+ * @memberof OrgEbbConfigUpdated
98777
+ * @static
98778
+ * @param {IOrgEbbConfigUpdated} message OrgEbbConfigUpdated message or plain object to encode
98779
+ * @param {$protobuf.Writer} [writer] Writer to encode to
98780
+ * @returns {$protobuf.Writer} Writer
98781
+ */
98782
+ OrgEbbConfigUpdated.encode = function encode(message, writer) {
98783
+ if (!writer)
98784
+ writer = $Writer.create();
98785
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
98786
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.b2bOrgId);
98787
+ if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
98788
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isEbbEnabled);
98789
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
98790
+ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.adminId);
98791
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
98792
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
98793
+ return writer;
98794
+ };
98795
+
98796
+ /**
98797
+ * Encodes the specified OrgEbbConfigUpdated message, length delimited. Does not implicitly {@link OrgEbbConfigUpdated.verify|verify} messages.
98798
+ * @function encodeDelimited
98799
+ * @memberof OrgEbbConfigUpdated
98800
+ * @static
98801
+ * @param {IOrgEbbConfigUpdated} message OrgEbbConfigUpdated message or plain object to encode
98802
+ * @param {$protobuf.Writer} [writer] Writer to encode to
98803
+ * @returns {$protobuf.Writer} Writer
98804
+ */
98805
+ OrgEbbConfigUpdated.encodeDelimited = function encodeDelimited(message, writer) {
98806
+ return this.encode(message, writer).ldelim();
98807
+ };
98808
+
98809
+ /**
98810
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer.
98811
+ * @function decode
98812
+ * @memberof OrgEbbConfigUpdated
98813
+ * @static
98814
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
98815
+ * @param {number} [length] Message length if known beforehand
98816
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated
98817
+ * @throws {Error} If the payload is not a reader or valid buffer
98818
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
98819
+ */
98820
+ OrgEbbConfigUpdated.decode = function decode(reader, length) {
98821
+ if (!(reader instanceof $Reader))
98822
+ reader = $Reader.create(reader);
98823
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrgEbbConfigUpdated();
98824
+ while (reader.pos < end) {
98825
+ var tag = reader.uint32();
98826
+ switch (tag >>> 3) {
98827
+ case 1:
98828
+ message.b2bOrgId = reader.uint32();
98829
+ break;
98830
+ case 2:
98831
+ message.isEbbEnabled = reader.bool();
98832
+ break;
98833
+ case 3:
98834
+ message.adminId = reader.uint32();
98835
+ break;
98836
+ case 4:
98837
+ message.timestamp = reader.uint64();
98838
+ break;
98839
+ default:
98840
+ reader.skipType(tag & 7);
98841
+ break;
98842
+ }
98843
+ }
98844
+ return message;
98845
+ };
98846
+
98847
+ /**
98848
+ * Decodes an OrgEbbConfigUpdated message from the specified reader or buffer, length delimited.
98849
+ * @function decodeDelimited
98850
+ * @memberof OrgEbbConfigUpdated
98851
+ * @static
98852
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
98853
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated
98854
+ * @throws {Error} If the payload is not a reader or valid buffer
98855
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
98856
+ */
98857
+ OrgEbbConfigUpdated.decodeDelimited = function decodeDelimited(reader) {
98858
+ if (!(reader instanceof $Reader))
98859
+ reader = new $Reader(reader);
98860
+ return this.decode(reader, reader.uint32());
98861
+ };
98862
+
98863
+ /**
98864
+ * Verifies an OrgEbbConfigUpdated message.
98865
+ * @function verify
98866
+ * @memberof OrgEbbConfigUpdated
98867
+ * @static
98868
+ * @param {Object.<string,*>} message Plain object to verify
98869
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
98870
+ */
98871
+ OrgEbbConfigUpdated.verify = function verify(message) {
98872
+ if (typeof message !== "object" || message === null)
98873
+ return "object expected";
98874
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
98875
+ if (!$util.isInteger(message.b2bOrgId))
98876
+ return "b2bOrgId: integer expected";
98877
+ if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
98878
+ if (typeof message.isEbbEnabled !== "boolean")
98879
+ return "isEbbEnabled: boolean expected";
98880
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
98881
+ if (!$util.isInteger(message.adminId))
98882
+ return "adminId: integer expected";
98883
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
98884
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
98885
+ return "timestamp: integer|Long expected";
98886
+ return null;
98887
+ };
98888
+
98889
+ /**
98890
+ * Creates an OrgEbbConfigUpdated message from a plain object. Also converts values to their respective internal types.
98891
+ * @function fromObject
98892
+ * @memberof OrgEbbConfigUpdated
98893
+ * @static
98894
+ * @param {Object.<string,*>} object Plain object
98895
+ * @returns {OrgEbbConfigUpdated} OrgEbbConfigUpdated
98896
+ */
98897
+ OrgEbbConfigUpdated.fromObject = function fromObject(object) {
98898
+ if (object instanceof $root.OrgEbbConfigUpdated)
98899
+ return object;
98900
+ var message = new $root.OrgEbbConfigUpdated();
98901
+ if (object.b2bOrgId != null)
98902
+ message.b2bOrgId = object.b2bOrgId >>> 0;
98903
+ if (object.isEbbEnabled != null)
98904
+ message.isEbbEnabled = Boolean(object.isEbbEnabled);
98905
+ if (object.adminId != null)
98906
+ message.adminId = object.adminId >>> 0;
98907
+ if (object.timestamp != null)
98908
+ if ($util.Long)
98909
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
98910
+ else if (typeof object.timestamp === "string")
98911
+ message.timestamp = parseInt(object.timestamp, 10);
98912
+ else if (typeof object.timestamp === "number")
98913
+ message.timestamp = object.timestamp;
98914
+ else if (typeof object.timestamp === "object")
98915
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
98916
+ return message;
98917
+ };
98918
+
98919
+ /**
98920
+ * Creates a plain object from an OrgEbbConfigUpdated message. Also converts values to other types if specified.
98921
+ * @function toObject
98922
+ * @memberof OrgEbbConfigUpdated
98923
+ * @static
98924
+ * @param {OrgEbbConfigUpdated} message OrgEbbConfigUpdated
98925
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
98926
+ * @returns {Object.<string,*>} Plain object
98927
+ */
98928
+ OrgEbbConfigUpdated.toObject = function toObject(message, options) {
98929
+ if (!options)
98930
+ options = {};
98931
+ var object = {};
98932
+ if (options.defaults) {
98933
+ object.b2bOrgId = 0;
98934
+ object.isEbbEnabled = false;
98935
+ object.adminId = 0;
98936
+ if ($util.Long) {
98937
+ var long = new $util.Long(0, 0, true);
98938
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
98939
+ } else
98940
+ object.timestamp = options.longs === String ? "0" : 0;
98941
+ }
98942
+ if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
98943
+ object.b2bOrgId = message.b2bOrgId;
98944
+ if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
98945
+ object.isEbbEnabled = message.isEbbEnabled;
98946
+ if (message.adminId != null && message.hasOwnProperty("adminId"))
98947
+ object.adminId = message.adminId;
98948
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
98949
+ if (typeof message.timestamp === "number")
98950
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
98951
+ else
98952
+ 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;
98953
+ return object;
98954
+ };
98955
+
98956
+ /**
98957
+ * Converts this OrgEbbConfigUpdated to JSON.
98958
+ * @function toJSON
98959
+ * @memberof OrgEbbConfigUpdated
98960
+ * @instance
98961
+ * @returns {Object.<string,*>} JSON object
98962
+ */
98963
+ OrgEbbConfigUpdated.prototype.toJSON = function toJSON() {
98964
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
98965
+ };
98966
+
98967
+ return OrgEbbConfigUpdated;
98968
+ })();
98969
+
98702
98970
  $root.OrgMarketingConfigUpdated = (function() {
98703
98971
 
98704
98972
  /**
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.774.0"
19
+ "version": "1.775.0"
20
20
  }