@headspace/protos-events 1.718.0 → 1.719.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
@@ -31974,6 +31974,102 @@ export class OrganizationMFAUpdated implements IOrganizationMFAUpdated {
31974
31974
  public toJSON(): { [k: string]: any };
31975
31975
  }
31976
31976
 
31977
+ /** Properties of a B2bSsoOrganizationMigrated. */
31978
+ export interface IB2bSsoOrganizationMigrated {
31979
+
31980
+ /** B2bSsoOrganizationMigrated orgId */
31981
+ orgId?: (number|Long|null);
31982
+
31983
+ /** B2bSsoOrganizationMigrated migratedAtTimestamp */
31984
+ migratedAtTimestamp?: (number|Long|null);
31985
+ }
31986
+
31987
+ /** Represents a B2bSsoOrganizationMigrated. */
31988
+ export class B2bSsoOrganizationMigrated implements IB2bSsoOrganizationMigrated {
31989
+
31990
+ /**
31991
+ * Constructs a new B2bSsoOrganizationMigrated.
31992
+ * @param [properties] Properties to set
31993
+ */
31994
+ constructor(properties?: IB2bSsoOrganizationMigrated);
31995
+
31996
+ /** B2bSsoOrganizationMigrated orgId. */
31997
+ public orgId: (number|Long);
31998
+
31999
+ /** B2bSsoOrganizationMigrated migratedAtTimestamp. */
32000
+ public migratedAtTimestamp: (number|Long);
32001
+
32002
+ /**
32003
+ * Creates a new B2bSsoOrganizationMigrated instance using the specified properties.
32004
+ * @param [properties] Properties to set
32005
+ * @returns B2bSsoOrganizationMigrated instance
32006
+ */
32007
+ public static create(properties?: IB2bSsoOrganizationMigrated): B2bSsoOrganizationMigrated;
32008
+
32009
+ /**
32010
+ * Encodes the specified B2bSsoOrganizationMigrated message. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
32011
+ * @param message B2bSsoOrganizationMigrated message or plain object to encode
32012
+ * @param [writer] Writer to encode to
32013
+ * @returns Writer
32014
+ */
32015
+ public static encode(message: IB2bSsoOrganizationMigrated, writer?: $protobuf.Writer): $protobuf.Writer;
32016
+
32017
+ /**
32018
+ * Encodes the specified B2bSsoOrganizationMigrated message, length delimited. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
32019
+ * @param message B2bSsoOrganizationMigrated message or plain object to encode
32020
+ * @param [writer] Writer to encode to
32021
+ * @returns Writer
32022
+ */
32023
+ public static encodeDelimited(message: IB2bSsoOrganizationMigrated, writer?: $protobuf.Writer): $protobuf.Writer;
32024
+
32025
+ /**
32026
+ * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer.
32027
+ * @param reader Reader or buffer to decode from
32028
+ * @param [length] Message length if known beforehand
32029
+ * @returns B2bSsoOrganizationMigrated
32030
+ * @throws {Error} If the payload is not a reader or valid buffer
32031
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32032
+ */
32033
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2bSsoOrganizationMigrated;
32034
+
32035
+ /**
32036
+ * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer, length delimited.
32037
+ * @param reader Reader or buffer to decode from
32038
+ * @returns B2bSsoOrganizationMigrated
32039
+ * @throws {Error} If the payload is not a reader or valid buffer
32040
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32041
+ */
32042
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2bSsoOrganizationMigrated;
32043
+
32044
+ /**
32045
+ * Verifies a B2bSsoOrganizationMigrated message.
32046
+ * @param message Plain object to verify
32047
+ * @returns `null` if valid, otherwise the reason why it is not
32048
+ */
32049
+ public static verify(message: { [k: string]: any }): (string|null);
32050
+
32051
+ /**
32052
+ * Creates a B2bSsoOrganizationMigrated message from a plain object. Also converts values to their respective internal types.
32053
+ * @param object Plain object
32054
+ * @returns B2bSsoOrganizationMigrated
32055
+ */
32056
+ public static fromObject(object: { [k: string]: any }): B2bSsoOrganizationMigrated;
32057
+
32058
+ /**
32059
+ * Creates a plain object from a B2bSsoOrganizationMigrated message. Also converts values to other types if specified.
32060
+ * @param message B2bSsoOrganizationMigrated
32061
+ * @param [options] Conversion options
32062
+ * @returns Plain object
32063
+ */
32064
+ public static toObject(message: B2bSsoOrganizationMigrated, options?: $protobuf.IConversionOptions): { [k: string]: any };
32065
+
32066
+ /**
32067
+ * Converts this B2bSsoOrganizationMigrated to JSON.
32068
+ * @returns JSON object
32069
+ */
32070
+ public toJSON(): { [k: string]: any };
32071
+ }
32072
+
31977
32073
  /** Properties of an OrgMarketingConfigUpdated. */
31978
32074
  export interface IOrgMarketingConfigUpdated {
31979
32075
 
package/lib/index.js CHANGED
@@ -89807,6 +89807,244 @@ $root.OrganizationMFAUpdated = (function() {
89807
89807
  return OrganizationMFAUpdated;
89808
89808
  })();
89809
89809
 
89810
+ $root.B2bSsoOrganizationMigrated = (function() {
89811
+
89812
+ /**
89813
+ * Properties of a B2bSsoOrganizationMigrated.
89814
+ * @name IB2bSsoOrganizationMigrated
89815
+ * @interface IB2bSsoOrganizationMigrated
89816
+ * @property {number|Long|null} [orgId] B2bSsoOrganizationMigrated orgId
89817
+ * @property {number|Long|null} [migratedAtTimestamp] B2bSsoOrganizationMigrated migratedAtTimestamp
89818
+ */
89819
+
89820
+ /**
89821
+ * Constructs a new B2bSsoOrganizationMigrated.
89822
+ * @name B2bSsoOrganizationMigrated
89823
+ * @classdesc Represents a B2bSsoOrganizationMigrated.
89824
+ * @implements IB2bSsoOrganizationMigrated
89825
+ * @constructor
89826
+ * @param {IB2bSsoOrganizationMigrated=} [properties] Properties to set
89827
+ */
89828
+ function B2bSsoOrganizationMigrated(properties) {
89829
+ if (properties)
89830
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
89831
+ if (properties[keys[i]] != null)
89832
+ this[keys[i]] = properties[keys[i]];
89833
+ }
89834
+
89835
+ /**
89836
+ * B2bSsoOrganizationMigrated orgId.
89837
+ * @member {number|Long} orgId
89838
+ * @memberof B2bSsoOrganizationMigrated
89839
+ * @instance
89840
+ */
89841
+ B2bSsoOrganizationMigrated.prototype.orgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
89842
+
89843
+ /**
89844
+ * B2bSsoOrganizationMigrated migratedAtTimestamp.
89845
+ * @member {number|Long} migratedAtTimestamp
89846
+ * @memberof B2bSsoOrganizationMigrated
89847
+ * @instance
89848
+ */
89849
+ B2bSsoOrganizationMigrated.prototype.migratedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
89850
+
89851
+ /**
89852
+ * Creates a new B2bSsoOrganizationMigrated instance using the specified properties.
89853
+ * @function create
89854
+ * @memberof B2bSsoOrganizationMigrated
89855
+ * @static
89856
+ * @param {IB2bSsoOrganizationMigrated=} [properties] Properties to set
89857
+ * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated instance
89858
+ */
89859
+ B2bSsoOrganizationMigrated.create = function create(properties) {
89860
+ return new B2bSsoOrganizationMigrated(properties);
89861
+ };
89862
+
89863
+ /**
89864
+ * Encodes the specified B2bSsoOrganizationMigrated message. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
89865
+ * @function encode
89866
+ * @memberof B2bSsoOrganizationMigrated
89867
+ * @static
89868
+ * @param {IB2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated message or plain object to encode
89869
+ * @param {$protobuf.Writer} [writer] Writer to encode to
89870
+ * @returns {$protobuf.Writer} Writer
89871
+ */
89872
+ B2bSsoOrganizationMigrated.encode = function encode(message, writer) {
89873
+ if (!writer)
89874
+ writer = $Writer.create();
89875
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
89876
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.orgId);
89877
+ if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
89878
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.migratedAtTimestamp);
89879
+ return writer;
89880
+ };
89881
+
89882
+ /**
89883
+ * Encodes the specified B2bSsoOrganizationMigrated message, length delimited. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
89884
+ * @function encodeDelimited
89885
+ * @memberof B2bSsoOrganizationMigrated
89886
+ * @static
89887
+ * @param {IB2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated message or plain object to encode
89888
+ * @param {$protobuf.Writer} [writer] Writer to encode to
89889
+ * @returns {$protobuf.Writer} Writer
89890
+ */
89891
+ B2bSsoOrganizationMigrated.encodeDelimited = function encodeDelimited(message, writer) {
89892
+ return this.encode(message, writer).ldelim();
89893
+ };
89894
+
89895
+ /**
89896
+ * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer.
89897
+ * @function decode
89898
+ * @memberof B2bSsoOrganizationMigrated
89899
+ * @static
89900
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89901
+ * @param {number} [length] Message length if known beforehand
89902
+ * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
89903
+ * @throws {Error} If the payload is not a reader or valid buffer
89904
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
89905
+ */
89906
+ B2bSsoOrganizationMigrated.decode = function decode(reader, length) {
89907
+ if (!(reader instanceof $Reader))
89908
+ reader = $Reader.create(reader);
89909
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2bSsoOrganizationMigrated();
89910
+ while (reader.pos < end) {
89911
+ var tag = reader.uint32();
89912
+ switch (tag >>> 3) {
89913
+ case 1:
89914
+ message.orgId = reader.uint64();
89915
+ break;
89916
+ case 2:
89917
+ message.migratedAtTimestamp = reader.uint64();
89918
+ break;
89919
+ default:
89920
+ reader.skipType(tag & 7);
89921
+ break;
89922
+ }
89923
+ }
89924
+ return message;
89925
+ };
89926
+
89927
+ /**
89928
+ * Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer, length delimited.
89929
+ * @function decodeDelimited
89930
+ * @memberof B2bSsoOrganizationMigrated
89931
+ * @static
89932
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89933
+ * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
89934
+ * @throws {Error} If the payload is not a reader or valid buffer
89935
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
89936
+ */
89937
+ B2bSsoOrganizationMigrated.decodeDelimited = function decodeDelimited(reader) {
89938
+ if (!(reader instanceof $Reader))
89939
+ reader = new $Reader(reader);
89940
+ return this.decode(reader, reader.uint32());
89941
+ };
89942
+
89943
+ /**
89944
+ * Verifies a B2bSsoOrganizationMigrated message.
89945
+ * @function verify
89946
+ * @memberof B2bSsoOrganizationMigrated
89947
+ * @static
89948
+ * @param {Object.<string,*>} message Plain object to verify
89949
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
89950
+ */
89951
+ B2bSsoOrganizationMigrated.verify = function verify(message) {
89952
+ if (typeof message !== "object" || message === null)
89953
+ return "object expected";
89954
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
89955
+ if (!$util.isInteger(message.orgId) && !(message.orgId && $util.isInteger(message.orgId.low) && $util.isInteger(message.orgId.high)))
89956
+ return "orgId: integer|Long expected";
89957
+ if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
89958
+ if (!$util.isInteger(message.migratedAtTimestamp) && !(message.migratedAtTimestamp && $util.isInteger(message.migratedAtTimestamp.low) && $util.isInteger(message.migratedAtTimestamp.high)))
89959
+ return "migratedAtTimestamp: integer|Long expected";
89960
+ return null;
89961
+ };
89962
+
89963
+ /**
89964
+ * Creates a B2bSsoOrganizationMigrated message from a plain object. Also converts values to their respective internal types.
89965
+ * @function fromObject
89966
+ * @memberof B2bSsoOrganizationMigrated
89967
+ * @static
89968
+ * @param {Object.<string,*>} object Plain object
89969
+ * @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
89970
+ */
89971
+ B2bSsoOrganizationMigrated.fromObject = function fromObject(object) {
89972
+ if (object instanceof $root.B2bSsoOrganizationMigrated)
89973
+ return object;
89974
+ var message = new $root.B2bSsoOrganizationMigrated();
89975
+ if (object.orgId != null)
89976
+ if ($util.Long)
89977
+ (message.orgId = $util.Long.fromValue(object.orgId)).unsigned = true;
89978
+ else if (typeof object.orgId === "string")
89979
+ message.orgId = parseInt(object.orgId, 10);
89980
+ else if (typeof object.orgId === "number")
89981
+ message.orgId = object.orgId;
89982
+ else if (typeof object.orgId === "object")
89983
+ message.orgId = new $util.LongBits(object.orgId.low >>> 0, object.orgId.high >>> 0).toNumber(true);
89984
+ if (object.migratedAtTimestamp != null)
89985
+ if ($util.Long)
89986
+ (message.migratedAtTimestamp = $util.Long.fromValue(object.migratedAtTimestamp)).unsigned = true;
89987
+ else if (typeof object.migratedAtTimestamp === "string")
89988
+ message.migratedAtTimestamp = parseInt(object.migratedAtTimestamp, 10);
89989
+ else if (typeof object.migratedAtTimestamp === "number")
89990
+ message.migratedAtTimestamp = object.migratedAtTimestamp;
89991
+ else if (typeof object.migratedAtTimestamp === "object")
89992
+ message.migratedAtTimestamp = new $util.LongBits(object.migratedAtTimestamp.low >>> 0, object.migratedAtTimestamp.high >>> 0).toNumber(true);
89993
+ return message;
89994
+ };
89995
+
89996
+ /**
89997
+ * Creates a plain object from a B2bSsoOrganizationMigrated message. Also converts values to other types if specified.
89998
+ * @function toObject
89999
+ * @memberof B2bSsoOrganizationMigrated
90000
+ * @static
90001
+ * @param {B2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated
90002
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
90003
+ * @returns {Object.<string,*>} Plain object
90004
+ */
90005
+ B2bSsoOrganizationMigrated.toObject = function toObject(message, options) {
90006
+ if (!options)
90007
+ options = {};
90008
+ var object = {};
90009
+ if (options.defaults) {
90010
+ if ($util.Long) {
90011
+ var long = new $util.Long(0, 0, true);
90012
+ object.orgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
90013
+ } else
90014
+ object.orgId = options.longs === String ? "0" : 0;
90015
+ if ($util.Long) {
90016
+ var long = new $util.Long(0, 0, true);
90017
+ object.migratedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
90018
+ } else
90019
+ object.migratedAtTimestamp = options.longs === String ? "0" : 0;
90020
+ }
90021
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
90022
+ if (typeof message.orgId === "number")
90023
+ object.orgId = options.longs === String ? String(message.orgId) : message.orgId;
90024
+ else
90025
+ object.orgId = options.longs === String ? $util.Long.prototype.toString.call(message.orgId) : options.longs === Number ? new $util.LongBits(message.orgId.low >>> 0, message.orgId.high >>> 0).toNumber(true) : message.orgId;
90026
+ if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
90027
+ if (typeof message.migratedAtTimestamp === "number")
90028
+ object.migratedAtTimestamp = options.longs === String ? String(message.migratedAtTimestamp) : message.migratedAtTimestamp;
90029
+ else
90030
+ object.migratedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.migratedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.migratedAtTimestamp.low >>> 0, message.migratedAtTimestamp.high >>> 0).toNumber(true) : message.migratedAtTimestamp;
90031
+ return object;
90032
+ };
90033
+
90034
+ /**
90035
+ * Converts this B2bSsoOrganizationMigrated to JSON.
90036
+ * @function toJSON
90037
+ * @memberof B2bSsoOrganizationMigrated
90038
+ * @instance
90039
+ * @returns {Object.<string,*>} JSON object
90040
+ */
90041
+ B2bSsoOrganizationMigrated.prototype.toJSON = function toJSON() {
90042
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
90043
+ };
90044
+
90045
+ return B2bSsoOrganizationMigrated;
90046
+ })();
90047
+
89810
90048
  $root.OrgMarketingConfigUpdated = (function() {
89811
90049
 
89812
90050
  /**
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.718.0"
19
+ "version": "1.719.0"
20
20
  }