@headspace/protos-events 1.721.0 → 1.723.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 +12 -96
- package/lib/index.js +104 -240
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -23229,6 +23229,9 @@ export interface IContentfulFeaturedContentCreated {
|
|
|
23229
23229
|
|
|
23230
23230
|
/** ContentfulFeaturedContentCreated createdAt */
|
|
23231
23231
|
createdAt?: (number|Long|null);
|
|
23232
|
+
|
|
23233
|
+
/** ContentfulFeaturedContentCreated localizedContent */
|
|
23234
|
+
localizedContent?: ({ [k: string]: contentful.ISlugReferences }|null);
|
|
23232
23235
|
}
|
|
23233
23236
|
|
|
23234
23237
|
/** Represents a ContentfulFeaturedContentCreated. */
|
|
@@ -23255,6 +23258,9 @@ export class ContentfulFeaturedContentCreated implements IContentfulFeaturedCont
|
|
|
23255
23258
|
/** ContentfulFeaturedContentCreated createdAt. */
|
|
23256
23259
|
public createdAt: (number|Long);
|
|
23257
23260
|
|
|
23261
|
+
/** ContentfulFeaturedContentCreated localizedContent. */
|
|
23262
|
+
public localizedContent: { [k: string]: contentful.ISlugReferences };
|
|
23263
|
+
|
|
23258
23264
|
/**
|
|
23259
23265
|
* Creates a new ContentfulFeaturedContentCreated instance using the specified properties.
|
|
23260
23266
|
* @param [properties] Properties to set
|
|
@@ -23343,6 +23349,9 @@ export interface IContentfulFeaturedContentUpdated {
|
|
|
23343
23349
|
|
|
23344
23350
|
/** ContentfulFeaturedContentUpdated updatedAt */
|
|
23345
23351
|
updatedAt?: (number|Long|null);
|
|
23352
|
+
|
|
23353
|
+
/** ContentfulFeaturedContentUpdated localizedContent */
|
|
23354
|
+
localizedContent?: ({ [k: string]: contentful.ISlugReferences }|null);
|
|
23346
23355
|
}
|
|
23347
23356
|
|
|
23348
23357
|
/** Represents a ContentfulFeaturedContentUpdated. */
|
|
@@ -23369,6 +23378,9 @@ export class ContentfulFeaturedContentUpdated implements IContentfulFeaturedCont
|
|
|
23369
23378
|
/** ContentfulFeaturedContentUpdated updatedAt. */
|
|
23370
23379
|
public updatedAt: (number|Long);
|
|
23371
23380
|
|
|
23381
|
+
/** ContentfulFeaturedContentUpdated localizedContent. */
|
|
23382
|
+
public localizedContent: { [k: string]: contentful.ISlugReferences };
|
|
23383
|
+
|
|
23372
23384
|
/**
|
|
23373
23385
|
* Creates a new ContentfulFeaturedContentUpdated instance using the specified properties.
|
|
23374
23386
|
* @param [properties] Properties to set
|
|
@@ -32028,102 +32040,6 @@ export class OrganizationMFAUpdated implements IOrganizationMFAUpdated {
|
|
|
32028
32040
|
public toJSON(): { [k: string]: any };
|
|
32029
32041
|
}
|
|
32030
32042
|
|
|
32031
|
-
/** Properties of a B2bSsoOrganizationMigrated. */
|
|
32032
|
-
export interface IB2bSsoOrganizationMigrated {
|
|
32033
|
-
|
|
32034
|
-
/** B2bSsoOrganizationMigrated orgId */
|
|
32035
|
-
orgId?: (number|Long|null);
|
|
32036
|
-
|
|
32037
|
-
/** B2bSsoOrganizationMigrated migratedAtTimestamp */
|
|
32038
|
-
migratedAtTimestamp?: (number|Long|null);
|
|
32039
|
-
}
|
|
32040
|
-
|
|
32041
|
-
/** Represents a B2bSsoOrganizationMigrated. */
|
|
32042
|
-
export class B2bSsoOrganizationMigrated implements IB2bSsoOrganizationMigrated {
|
|
32043
|
-
|
|
32044
|
-
/**
|
|
32045
|
-
* Constructs a new B2bSsoOrganizationMigrated.
|
|
32046
|
-
* @param [properties] Properties to set
|
|
32047
|
-
*/
|
|
32048
|
-
constructor(properties?: IB2bSsoOrganizationMigrated);
|
|
32049
|
-
|
|
32050
|
-
/** B2bSsoOrganizationMigrated orgId. */
|
|
32051
|
-
public orgId: (number|Long);
|
|
32052
|
-
|
|
32053
|
-
/** B2bSsoOrganizationMigrated migratedAtTimestamp. */
|
|
32054
|
-
public migratedAtTimestamp: (number|Long);
|
|
32055
|
-
|
|
32056
|
-
/**
|
|
32057
|
-
* Creates a new B2bSsoOrganizationMigrated instance using the specified properties.
|
|
32058
|
-
* @param [properties] Properties to set
|
|
32059
|
-
* @returns B2bSsoOrganizationMigrated instance
|
|
32060
|
-
*/
|
|
32061
|
-
public static create(properties?: IB2bSsoOrganizationMigrated): B2bSsoOrganizationMigrated;
|
|
32062
|
-
|
|
32063
|
-
/**
|
|
32064
|
-
* Encodes the specified B2bSsoOrganizationMigrated message. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
|
|
32065
|
-
* @param message B2bSsoOrganizationMigrated message or plain object to encode
|
|
32066
|
-
* @param [writer] Writer to encode to
|
|
32067
|
-
* @returns Writer
|
|
32068
|
-
*/
|
|
32069
|
-
public static encode(message: IB2bSsoOrganizationMigrated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32070
|
-
|
|
32071
|
-
/**
|
|
32072
|
-
* Encodes the specified B2bSsoOrganizationMigrated message, length delimited. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
|
|
32073
|
-
* @param message B2bSsoOrganizationMigrated message or plain object to encode
|
|
32074
|
-
* @param [writer] Writer to encode to
|
|
32075
|
-
* @returns Writer
|
|
32076
|
-
*/
|
|
32077
|
-
public static encodeDelimited(message: IB2bSsoOrganizationMigrated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32078
|
-
|
|
32079
|
-
/**
|
|
32080
|
-
* Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer.
|
|
32081
|
-
* @param reader Reader or buffer to decode from
|
|
32082
|
-
* @param [length] Message length if known beforehand
|
|
32083
|
-
* @returns B2bSsoOrganizationMigrated
|
|
32084
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32085
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32086
|
-
*/
|
|
32087
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2bSsoOrganizationMigrated;
|
|
32088
|
-
|
|
32089
|
-
/**
|
|
32090
|
-
* Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer, length delimited.
|
|
32091
|
-
* @param reader Reader or buffer to decode from
|
|
32092
|
-
* @returns B2bSsoOrganizationMigrated
|
|
32093
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32094
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32095
|
-
*/
|
|
32096
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2bSsoOrganizationMigrated;
|
|
32097
|
-
|
|
32098
|
-
/**
|
|
32099
|
-
* Verifies a B2bSsoOrganizationMigrated message.
|
|
32100
|
-
* @param message Plain object to verify
|
|
32101
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
32102
|
-
*/
|
|
32103
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
32104
|
-
|
|
32105
|
-
/**
|
|
32106
|
-
* Creates a B2bSsoOrganizationMigrated message from a plain object. Also converts values to their respective internal types.
|
|
32107
|
-
* @param object Plain object
|
|
32108
|
-
* @returns B2bSsoOrganizationMigrated
|
|
32109
|
-
*/
|
|
32110
|
-
public static fromObject(object: { [k: string]: any }): B2bSsoOrganizationMigrated;
|
|
32111
|
-
|
|
32112
|
-
/**
|
|
32113
|
-
* Creates a plain object from a B2bSsoOrganizationMigrated message. Also converts values to other types if specified.
|
|
32114
|
-
* @param message B2bSsoOrganizationMigrated
|
|
32115
|
-
* @param [options] Conversion options
|
|
32116
|
-
* @returns Plain object
|
|
32117
|
-
*/
|
|
32118
|
-
public static toObject(message: B2bSsoOrganizationMigrated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32119
|
-
|
|
32120
|
-
/**
|
|
32121
|
-
* Converts this B2bSsoOrganizationMigrated to JSON.
|
|
32122
|
-
* @returns JSON object
|
|
32123
|
-
*/
|
|
32124
|
-
public toJSON(): { [k: string]: any };
|
|
32125
|
-
}
|
|
32126
|
-
|
|
32127
32043
|
/** Properties of an OrgMarketingConfigUpdated. */
|
|
32128
32044
|
export interface IOrgMarketingConfigUpdated {
|
|
32129
32045
|
|
package/lib/index.js
CHANGED
|
@@ -65697,6 +65697,7 @@ $root.ContentfulFeaturedContentCreated = (function() {
|
|
|
65697
65697
|
* @property {string|null} [mode] ContentfulFeaturedContentCreated mode
|
|
65698
65698
|
* @property {Array.<contentful.ISlugReference>|null} [content] ContentfulFeaturedContentCreated content
|
|
65699
65699
|
* @property {number|Long|null} [createdAt] ContentfulFeaturedContentCreated createdAt
|
|
65700
|
+
* @property {Object.<string,contentful.ISlugReferences>|null} [localizedContent] ContentfulFeaturedContentCreated localizedContent
|
|
65700
65701
|
*/
|
|
65701
65702
|
|
|
65702
65703
|
/**
|
|
@@ -65709,6 +65710,7 @@ $root.ContentfulFeaturedContentCreated = (function() {
|
|
|
65709
65710
|
*/
|
|
65710
65711
|
function ContentfulFeaturedContentCreated(properties) {
|
|
65711
65712
|
this.content = [];
|
|
65713
|
+
this.localizedContent = {};
|
|
65712
65714
|
if (properties)
|
|
65713
65715
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
65714
65716
|
if (properties[keys[i]] != null)
|
|
@@ -65755,6 +65757,14 @@ $root.ContentfulFeaturedContentCreated = (function() {
|
|
|
65755
65757
|
*/
|
|
65756
65758
|
ContentfulFeaturedContentCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
65757
65759
|
|
|
65760
|
+
/**
|
|
65761
|
+
* ContentfulFeaturedContentCreated localizedContent.
|
|
65762
|
+
* @member {Object.<string,contentful.ISlugReferences>} localizedContent
|
|
65763
|
+
* @memberof ContentfulFeaturedContentCreated
|
|
65764
|
+
* @instance
|
|
65765
|
+
*/
|
|
65766
|
+
ContentfulFeaturedContentCreated.prototype.localizedContent = $util.emptyObject;
|
|
65767
|
+
|
|
65758
65768
|
/**
|
|
65759
65769
|
* Creates a new ContentfulFeaturedContentCreated instance using the specified properties.
|
|
65760
65770
|
* @function create
|
|
@@ -65790,6 +65800,11 @@ $root.ContentfulFeaturedContentCreated = (function() {
|
|
|
65790
65800
|
$root.contentful.SlugReference.encode(message.content[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
65791
65801
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
65792
65802
|
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.createdAt);
|
|
65803
|
+
if (message.localizedContent != null && message.hasOwnProperty("localizedContent"))
|
|
65804
|
+
for (var keys = Object.keys(message.localizedContent), i = 0; i < keys.length; ++i) {
|
|
65805
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
65806
|
+
$root.contentful.SlugReferences.encode(message.localizedContent[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
65807
|
+
}
|
|
65793
65808
|
return writer;
|
|
65794
65809
|
};
|
|
65795
65810
|
|
|
@@ -65820,7 +65835,7 @@ $root.ContentfulFeaturedContentCreated = (function() {
|
|
|
65820
65835
|
ContentfulFeaturedContentCreated.decode = function decode(reader, length) {
|
|
65821
65836
|
if (!(reader instanceof $Reader))
|
|
65822
65837
|
reader = $Reader.create(reader);
|
|
65823
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulFeaturedContentCreated();
|
|
65838
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulFeaturedContentCreated(), key;
|
|
65824
65839
|
while (reader.pos < end) {
|
|
65825
65840
|
var tag = reader.uint32();
|
|
65826
65841
|
switch (tag >>> 3) {
|
|
@@ -65841,6 +65856,14 @@ $root.ContentfulFeaturedContentCreated = (function() {
|
|
|
65841
65856
|
case 5:
|
|
65842
65857
|
message.createdAt = reader.uint64();
|
|
65843
65858
|
break;
|
|
65859
|
+
case 6:
|
|
65860
|
+
reader.skip().pos++;
|
|
65861
|
+
if (message.localizedContent === $util.emptyObject)
|
|
65862
|
+
message.localizedContent = {};
|
|
65863
|
+
key = reader.string();
|
|
65864
|
+
reader.pos++;
|
|
65865
|
+
message.localizedContent[key] = $root.contentful.SlugReferences.decode(reader, reader.uint32());
|
|
65866
|
+
break;
|
|
65844
65867
|
default:
|
|
65845
65868
|
reader.skipType(tag & 7);
|
|
65846
65869
|
break;
|
|
@@ -65897,6 +65920,16 @@ $root.ContentfulFeaturedContentCreated = (function() {
|
|
|
65897
65920
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
65898
65921
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
65899
65922
|
return "createdAt: integer|Long expected";
|
|
65923
|
+
if (message.localizedContent != null && message.hasOwnProperty("localizedContent")) {
|
|
65924
|
+
if (!$util.isObject(message.localizedContent))
|
|
65925
|
+
return "localizedContent: object expected";
|
|
65926
|
+
var key = Object.keys(message.localizedContent);
|
|
65927
|
+
for (var i = 0; i < key.length; ++i) {
|
|
65928
|
+
var error = $root.contentful.SlugReferences.verify(message.localizedContent[key[i]]);
|
|
65929
|
+
if (error)
|
|
65930
|
+
return "localizedContent." + error;
|
|
65931
|
+
}
|
|
65932
|
+
}
|
|
65900
65933
|
return null;
|
|
65901
65934
|
};
|
|
65902
65935
|
|
|
@@ -65937,6 +65970,16 @@ $root.ContentfulFeaturedContentCreated = (function() {
|
|
|
65937
65970
|
message.createdAt = object.createdAt;
|
|
65938
65971
|
else if (typeof object.createdAt === "object")
|
|
65939
65972
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
65973
|
+
if (object.localizedContent) {
|
|
65974
|
+
if (typeof object.localizedContent !== "object")
|
|
65975
|
+
throw TypeError(".ContentfulFeaturedContentCreated.localizedContent: object expected");
|
|
65976
|
+
message.localizedContent = {};
|
|
65977
|
+
for (var keys = Object.keys(object.localizedContent), i = 0; i < keys.length; ++i) {
|
|
65978
|
+
if (typeof object.localizedContent[keys[i]] !== "object")
|
|
65979
|
+
throw TypeError(".ContentfulFeaturedContentCreated.localizedContent: object expected");
|
|
65980
|
+
message.localizedContent[keys[i]] = $root.contentful.SlugReferences.fromObject(object.localizedContent[keys[i]]);
|
|
65981
|
+
}
|
|
65982
|
+
}
|
|
65940
65983
|
return message;
|
|
65941
65984
|
};
|
|
65942
65985
|
|
|
@@ -65955,6 +65998,8 @@ $root.ContentfulFeaturedContentCreated = (function() {
|
|
|
65955
65998
|
var object = {};
|
|
65956
65999
|
if (options.arrays || options.defaults)
|
|
65957
66000
|
object.content = [];
|
|
66001
|
+
if (options.objects || options.defaults)
|
|
66002
|
+
object.localizedContent = {};
|
|
65958
66003
|
if (options.defaults) {
|
|
65959
66004
|
object.slug = "";
|
|
65960
66005
|
object.featureType = "";
|
|
@@ -65981,6 +66026,12 @@ $root.ContentfulFeaturedContentCreated = (function() {
|
|
|
65981
66026
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
65982
66027
|
else
|
|
65983
66028
|
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
66029
|
+
var keys2;
|
|
66030
|
+
if (message.localizedContent && (keys2 = Object.keys(message.localizedContent)).length) {
|
|
66031
|
+
object.localizedContent = {};
|
|
66032
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
66033
|
+
object.localizedContent[keys2[j]] = $root.contentful.SlugReferences.toObject(message.localizedContent[keys2[j]], options);
|
|
66034
|
+
}
|
|
65984
66035
|
return object;
|
|
65985
66036
|
};
|
|
65986
66037
|
|
|
@@ -66009,6 +66060,7 @@ $root.ContentfulFeaturedContentUpdated = (function() {
|
|
|
66009
66060
|
* @property {string|null} [mode] ContentfulFeaturedContentUpdated mode
|
|
66010
66061
|
* @property {Array.<contentful.ISlugReference>|null} [content] ContentfulFeaturedContentUpdated content
|
|
66011
66062
|
* @property {number|Long|null} [updatedAt] ContentfulFeaturedContentUpdated updatedAt
|
|
66063
|
+
* @property {Object.<string,contentful.ISlugReferences>|null} [localizedContent] ContentfulFeaturedContentUpdated localizedContent
|
|
66012
66064
|
*/
|
|
66013
66065
|
|
|
66014
66066
|
/**
|
|
@@ -66021,6 +66073,7 @@ $root.ContentfulFeaturedContentUpdated = (function() {
|
|
|
66021
66073
|
*/
|
|
66022
66074
|
function ContentfulFeaturedContentUpdated(properties) {
|
|
66023
66075
|
this.content = [];
|
|
66076
|
+
this.localizedContent = {};
|
|
66024
66077
|
if (properties)
|
|
66025
66078
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
66026
66079
|
if (properties[keys[i]] != null)
|
|
@@ -66067,6 +66120,14 @@ $root.ContentfulFeaturedContentUpdated = (function() {
|
|
|
66067
66120
|
*/
|
|
66068
66121
|
ContentfulFeaturedContentUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
66069
66122
|
|
|
66123
|
+
/**
|
|
66124
|
+
* ContentfulFeaturedContentUpdated localizedContent.
|
|
66125
|
+
* @member {Object.<string,contentful.ISlugReferences>} localizedContent
|
|
66126
|
+
* @memberof ContentfulFeaturedContentUpdated
|
|
66127
|
+
* @instance
|
|
66128
|
+
*/
|
|
66129
|
+
ContentfulFeaturedContentUpdated.prototype.localizedContent = $util.emptyObject;
|
|
66130
|
+
|
|
66070
66131
|
/**
|
|
66071
66132
|
* Creates a new ContentfulFeaturedContentUpdated instance using the specified properties.
|
|
66072
66133
|
* @function create
|
|
@@ -66102,6 +66163,11 @@ $root.ContentfulFeaturedContentUpdated = (function() {
|
|
|
66102
66163
|
$root.contentful.SlugReference.encode(message.content[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
66103
66164
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
66104
66165
|
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAt);
|
|
66166
|
+
if (message.localizedContent != null && message.hasOwnProperty("localizedContent"))
|
|
66167
|
+
for (var keys = Object.keys(message.localizedContent), i = 0; i < keys.length; ++i) {
|
|
66168
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
66169
|
+
$root.contentful.SlugReferences.encode(message.localizedContent[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
66170
|
+
}
|
|
66105
66171
|
return writer;
|
|
66106
66172
|
};
|
|
66107
66173
|
|
|
@@ -66132,7 +66198,7 @@ $root.ContentfulFeaturedContentUpdated = (function() {
|
|
|
66132
66198
|
ContentfulFeaturedContentUpdated.decode = function decode(reader, length) {
|
|
66133
66199
|
if (!(reader instanceof $Reader))
|
|
66134
66200
|
reader = $Reader.create(reader);
|
|
66135
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulFeaturedContentUpdated();
|
|
66201
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulFeaturedContentUpdated(), key;
|
|
66136
66202
|
while (reader.pos < end) {
|
|
66137
66203
|
var tag = reader.uint32();
|
|
66138
66204
|
switch (tag >>> 3) {
|
|
@@ -66153,6 +66219,14 @@ $root.ContentfulFeaturedContentUpdated = (function() {
|
|
|
66153
66219
|
case 5:
|
|
66154
66220
|
message.updatedAt = reader.uint64();
|
|
66155
66221
|
break;
|
|
66222
|
+
case 6:
|
|
66223
|
+
reader.skip().pos++;
|
|
66224
|
+
if (message.localizedContent === $util.emptyObject)
|
|
66225
|
+
message.localizedContent = {};
|
|
66226
|
+
key = reader.string();
|
|
66227
|
+
reader.pos++;
|
|
66228
|
+
message.localizedContent[key] = $root.contentful.SlugReferences.decode(reader, reader.uint32());
|
|
66229
|
+
break;
|
|
66156
66230
|
default:
|
|
66157
66231
|
reader.skipType(tag & 7);
|
|
66158
66232
|
break;
|
|
@@ -66209,6 +66283,16 @@ $root.ContentfulFeaturedContentUpdated = (function() {
|
|
|
66209
66283
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
66210
66284
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
66211
66285
|
return "updatedAt: integer|Long expected";
|
|
66286
|
+
if (message.localizedContent != null && message.hasOwnProperty("localizedContent")) {
|
|
66287
|
+
if (!$util.isObject(message.localizedContent))
|
|
66288
|
+
return "localizedContent: object expected";
|
|
66289
|
+
var key = Object.keys(message.localizedContent);
|
|
66290
|
+
for (var i = 0; i < key.length; ++i) {
|
|
66291
|
+
var error = $root.contentful.SlugReferences.verify(message.localizedContent[key[i]]);
|
|
66292
|
+
if (error)
|
|
66293
|
+
return "localizedContent." + error;
|
|
66294
|
+
}
|
|
66295
|
+
}
|
|
66212
66296
|
return null;
|
|
66213
66297
|
};
|
|
66214
66298
|
|
|
@@ -66249,6 +66333,16 @@ $root.ContentfulFeaturedContentUpdated = (function() {
|
|
|
66249
66333
|
message.updatedAt = object.updatedAt;
|
|
66250
66334
|
else if (typeof object.updatedAt === "object")
|
|
66251
66335
|
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
66336
|
+
if (object.localizedContent) {
|
|
66337
|
+
if (typeof object.localizedContent !== "object")
|
|
66338
|
+
throw TypeError(".ContentfulFeaturedContentUpdated.localizedContent: object expected");
|
|
66339
|
+
message.localizedContent = {};
|
|
66340
|
+
for (var keys = Object.keys(object.localizedContent), i = 0; i < keys.length; ++i) {
|
|
66341
|
+
if (typeof object.localizedContent[keys[i]] !== "object")
|
|
66342
|
+
throw TypeError(".ContentfulFeaturedContentUpdated.localizedContent: object expected");
|
|
66343
|
+
message.localizedContent[keys[i]] = $root.contentful.SlugReferences.fromObject(object.localizedContent[keys[i]]);
|
|
66344
|
+
}
|
|
66345
|
+
}
|
|
66252
66346
|
return message;
|
|
66253
66347
|
};
|
|
66254
66348
|
|
|
@@ -66267,6 +66361,8 @@ $root.ContentfulFeaturedContentUpdated = (function() {
|
|
|
66267
66361
|
var object = {};
|
|
66268
66362
|
if (options.arrays || options.defaults)
|
|
66269
66363
|
object.content = [];
|
|
66364
|
+
if (options.objects || options.defaults)
|
|
66365
|
+
object.localizedContent = {};
|
|
66270
66366
|
if (options.defaults) {
|
|
66271
66367
|
object.slug = "";
|
|
66272
66368
|
object.featureType = "";
|
|
@@ -66293,6 +66389,12 @@ $root.ContentfulFeaturedContentUpdated = (function() {
|
|
|
66293
66389
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
66294
66390
|
else
|
|
66295
66391
|
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
66392
|
+
var keys2;
|
|
66393
|
+
if (message.localizedContent && (keys2 = Object.keys(message.localizedContent)).length) {
|
|
66394
|
+
object.localizedContent = {};
|
|
66395
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
66396
|
+
object.localizedContent[keys2[j]] = $root.contentful.SlugReferences.toObject(message.localizedContent[keys2[j]], options);
|
|
66397
|
+
}
|
|
66296
66398
|
return object;
|
|
66297
66399
|
};
|
|
66298
66400
|
|
|
@@ -90143,244 +90245,6 @@ $root.OrganizationMFAUpdated = (function() {
|
|
|
90143
90245
|
return OrganizationMFAUpdated;
|
|
90144
90246
|
})();
|
|
90145
90247
|
|
|
90146
|
-
$root.B2bSsoOrganizationMigrated = (function() {
|
|
90147
|
-
|
|
90148
|
-
/**
|
|
90149
|
-
* Properties of a B2bSsoOrganizationMigrated.
|
|
90150
|
-
* @name IB2bSsoOrganizationMigrated
|
|
90151
|
-
* @interface IB2bSsoOrganizationMigrated
|
|
90152
|
-
* @property {number|Long|null} [orgId] B2bSsoOrganizationMigrated orgId
|
|
90153
|
-
* @property {number|Long|null} [migratedAtTimestamp] B2bSsoOrganizationMigrated migratedAtTimestamp
|
|
90154
|
-
*/
|
|
90155
|
-
|
|
90156
|
-
/**
|
|
90157
|
-
* Constructs a new B2bSsoOrganizationMigrated.
|
|
90158
|
-
* @name B2bSsoOrganizationMigrated
|
|
90159
|
-
* @classdesc Represents a B2bSsoOrganizationMigrated.
|
|
90160
|
-
* @implements IB2bSsoOrganizationMigrated
|
|
90161
|
-
* @constructor
|
|
90162
|
-
* @param {IB2bSsoOrganizationMigrated=} [properties] Properties to set
|
|
90163
|
-
*/
|
|
90164
|
-
function B2bSsoOrganizationMigrated(properties) {
|
|
90165
|
-
if (properties)
|
|
90166
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
90167
|
-
if (properties[keys[i]] != null)
|
|
90168
|
-
this[keys[i]] = properties[keys[i]];
|
|
90169
|
-
}
|
|
90170
|
-
|
|
90171
|
-
/**
|
|
90172
|
-
* B2bSsoOrganizationMigrated orgId.
|
|
90173
|
-
* @member {number|Long} orgId
|
|
90174
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90175
|
-
* @instance
|
|
90176
|
-
*/
|
|
90177
|
-
B2bSsoOrganizationMigrated.prototype.orgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
90178
|
-
|
|
90179
|
-
/**
|
|
90180
|
-
* B2bSsoOrganizationMigrated migratedAtTimestamp.
|
|
90181
|
-
* @member {number|Long} migratedAtTimestamp
|
|
90182
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90183
|
-
* @instance
|
|
90184
|
-
*/
|
|
90185
|
-
B2bSsoOrganizationMigrated.prototype.migratedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
90186
|
-
|
|
90187
|
-
/**
|
|
90188
|
-
* Creates a new B2bSsoOrganizationMigrated instance using the specified properties.
|
|
90189
|
-
* @function create
|
|
90190
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90191
|
-
* @static
|
|
90192
|
-
* @param {IB2bSsoOrganizationMigrated=} [properties] Properties to set
|
|
90193
|
-
* @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated instance
|
|
90194
|
-
*/
|
|
90195
|
-
B2bSsoOrganizationMigrated.create = function create(properties) {
|
|
90196
|
-
return new B2bSsoOrganizationMigrated(properties);
|
|
90197
|
-
};
|
|
90198
|
-
|
|
90199
|
-
/**
|
|
90200
|
-
* Encodes the specified B2bSsoOrganizationMigrated message. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
|
|
90201
|
-
* @function encode
|
|
90202
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90203
|
-
* @static
|
|
90204
|
-
* @param {IB2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated message or plain object to encode
|
|
90205
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
90206
|
-
* @returns {$protobuf.Writer} Writer
|
|
90207
|
-
*/
|
|
90208
|
-
B2bSsoOrganizationMigrated.encode = function encode(message, writer) {
|
|
90209
|
-
if (!writer)
|
|
90210
|
-
writer = $Writer.create();
|
|
90211
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
90212
|
-
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.orgId);
|
|
90213
|
-
if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
|
|
90214
|
-
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.migratedAtTimestamp);
|
|
90215
|
-
return writer;
|
|
90216
|
-
};
|
|
90217
|
-
|
|
90218
|
-
/**
|
|
90219
|
-
* Encodes the specified B2bSsoOrganizationMigrated message, length delimited. Does not implicitly {@link B2bSsoOrganizationMigrated.verify|verify} messages.
|
|
90220
|
-
* @function encodeDelimited
|
|
90221
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90222
|
-
* @static
|
|
90223
|
-
* @param {IB2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated message or plain object to encode
|
|
90224
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
90225
|
-
* @returns {$protobuf.Writer} Writer
|
|
90226
|
-
*/
|
|
90227
|
-
B2bSsoOrganizationMigrated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
90228
|
-
return this.encode(message, writer).ldelim();
|
|
90229
|
-
};
|
|
90230
|
-
|
|
90231
|
-
/**
|
|
90232
|
-
* Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer.
|
|
90233
|
-
* @function decode
|
|
90234
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90235
|
-
* @static
|
|
90236
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
90237
|
-
* @param {number} [length] Message length if known beforehand
|
|
90238
|
-
* @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
|
|
90239
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
90240
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
90241
|
-
*/
|
|
90242
|
-
B2bSsoOrganizationMigrated.decode = function decode(reader, length) {
|
|
90243
|
-
if (!(reader instanceof $Reader))
|
|
90244
|
-
reader = $Reader.create(reader);
|
|
90245
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2bSsoOrganizationMigrated();
|
|
90246
|
-
while (reader.pos < end) {
|
|
90247
|
-
var tag = reader.uint32();
|
|
90248
|
-
switch (tag >>> 3) {
|
|
90249
|
-
case 1:
|
|
90250
|
-
message.orgId = reader.uint64();
|
|
90251
|
-
break;
|
|
90252
|
-
case 2:
|
|
90253
|
-
message.migratedAtTimestamp = reader.uint64();
|
|
90254
|
-
break;
|
|
90255
|
-
default:
|
|
90256
|
-
reader.skipType(tag & 7);
|
|
90257
|
-
break;
|
|
90258
|
-
}
|
|
90259
|
-
}
|
|
90260
|
-
return message;
|
|
90261
|
-
};
|
|
90262
|
-
|
|
90263
|
-
/**
|
|
90264
|
-
* Decodes a B2bSsoOrganizationMigrated message from the specified reader or buffer, length delimited.
|
|
90265
|
-
* @function decodeDelimited
|
|
90266
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90267
|
-
* @static
|
|
90268
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
90269
|
-
* @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
|
|
90270
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
90271
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
90272
|
-
*/
|
|
90273
|
-
B2bSsoOrganizationMigrated.decodeDelimited = function decodeDelimited(reader) {
|
|
90274
|
-
if (!(reader instanceof $Reader))
|
|
90275
|
-
reader = new $Reader(reader);
|
|
90276
|
-
return this.decode(reader, reader.uint32());
|
|
90277
|
-
};
|
|
90278
|
-
|
|
90279
|
-
/**
|
|
90280
|
-
* Verifies a B2bSsoOrganizationMigrated message.
|
|
90281
|
-
* @function verify
|
|
90282
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90283
|
-
* @static
|
|
90284
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
90285
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
90286
|
-
*/
|
|
90287
|
-
B2bSsoOrganizationMigrated.verify = function verify(message) {
|
|
90288
|
-
if (typeof message !== "object" || message === null)
|
|
90289
|
-
return "object expected";
|
|
90290
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
90291
|
-
if (!$util.isInteger(message.orgId) && !(message.orgId && $util.isInteger(message.orgId.low) && $util.isInteger(message.orgId.high)))
|
|
90292
|
-
return "orgId: integer|Long expected";
|
|
90293
|
-
if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
|
|
90294
|
-
if (!$util.isInteger(message.migratedAtTimestamp) && !(message.migratedAtTimestamp && $util.isInteger(message.migratedAtTimestamp.low) && $util.isInteger(message.migratedAtTimestamp.high)))
|
|
90295
|
-
return "migratedAtTimestamp: integer|Long expected";
|
|
90296
|
-
return null;
|
|
90297
|
-
};
|
|
90298
|
-
|
|
90299
|
-
/**
|
|
90300
|
-
* Creates a B2bSsoOrganizationMigrated message from a plain object. Also converts values to their respective internal types.
|
|
90301
|
-
* @function fromObject
|
|
90302
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90303
|
-
* @static
|
|
90304
|
-
* @param {Object.<string,*>} object Plain object
|
|
90305
|
-
* @returns {B2bSsoOrganizationMigrated} B2bSsoOrganizationMigrated
|
|
90306
|
-
*/
|
|
90307
|
-
B2bSsoOrganizationMigrated.fromObject = function fromObject(object) {
|
|
90308
|
-
if (object instanceof $root.B2bSsoOrganizationMigrated)
|
|
90309
|
-
return object;
|
|
90310
|
-
var message = new $root.B2bSsoOrganizationMigrated();
|
|
90311
|
-
if (object.orgId != null)
|
|
90312
|
-
if ($util.Long)
|
|
90313
|
-
(message.orgId = $util.Long.fromValue(object.orgId)).unsigned = true;
|
|
90314
|
-
else if (typeof object.orgId === "string")
|
|
90315
|
-
message.orgId = parseInt(object.orgId, 10);
|
|
90316
|
-
else if (typeof object.orgId === "number")
|
|
90317
|
-
message.orgId = object.orgId;
|
|
90318
|
-
else if (typeof object.orgId === "object")
|
|
90319
|
-
message.orgId = new $util.LongBits(object.orgId.low >>> 0, object.orgId.high >>> 0).toNumber(true);
|
|
90320
|
-
if (object.migratedAtTimestamp != null)
|
|
90321
|
-
if ($util.Long)
|
|
90322
|
-
(message.migratedAtTimestamp = $util.Long.fromValue(object.migratedAtTimestamp)).unsigned = true;
|
|
90323
|
-
else if (typeof object.migratedAtTimestamp === "string")
|
|
90324
|
-
message.migratedAtTimestamp = parseInt(object.migratedAtTimestamp, 10);
|
|
90325
|
-
else if (typeof object.migratedAtTimestamp === "number")
|
|
90326
|
-
message.migratedAtTimestamp = object.migratedAtTimestamp;
|
|
90327
|
-
else if (typeof object.migratedAtTimestamp === "object")
|
|
90328
|
-
message.migratedAtTimestamp = new $util.LongBits(object.migratedAtTimestamp.low >>> 0, object.migratedAtTimestamp.high >>> 0).toNumber(true);
|
|
90329
|
-
return message;
|
|
90330
|
-
};
|
|
90331
|
-
|
|
90332
|
-
/**
|
|
90333
|
-
* Creates a plain object from a B2bSsoOrganizationMigrated message. Also converts values to other types if specified.
|
|
90334
|
-
* @function toObject
|
|
90335
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90336
|
-
* @static
|
|
90337
|
-
* @param {B2bSsoOrganizationMigrated} message B2bSsoOrganizationMigrated
|
|
90338
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
90339
|
-
* @returns {Object.<string,*>} Plain object
|
|
90340
|
-
*/
|
|
90341
|
-
B2bSsoOrganizationMigrated.toObject = function toObject(message, options) {
|
|
90342
|
-
if (!options)
|
|
90343
|
-
options = {};
|
|
90344
|
-
var object = {};
|
|
90345
|
-
if (options.defaults) {
|
|
90346
|
-
if ($util.Long) {
|
|
90347
|
-
var long = new $util.Long(0, 0, true);
|
|
90348
|
-
object.orgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
90349
|
-
} else
|
|
90350
|
-
object.orgId = options.longs === String ? "0" : 0;
|
|
90351
|
-
if ($util.Long) {
|
|
90352
|
-
var long = new $util.Long(0, 0, true);
|
|
90353
|
-
object.migratedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
90354
|
-
} else
|
|
90355
|
-
object.migratedAtTimestamp = options.longs === String ? "0" : 0;
|
|
90356
|
-
}
|
|
90357
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
90358
|
-
if (typeof message.orgId === "number")
|
|
90359
|
-
object.orgId = options.longs === String ? String(message.orgId) : message.orgId;
|
|
90360
|
-
else
|
|
90361
|
-
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;
|
|
90362
|
-
if (message.migratedAtTimestamp != null && message.hasOwnProperty("migratedAtTimestamp"))
|
|
90363
|
-
if (typeof message.migratedAtTimestamp === "number")
|
|
90364
|
-
object.migratedAtTimestamp = options.longs === String ? String(message.migratedAtTimestamp) : message.migratedAtTimestamp;
|
|
90365
|
-
else
|
|
90366
|
-
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;
|
|
90367
|
-
return object;
|
|
90368
|
-
};
|
|
90369
|
-
|
|
90370
|
-
/**
|
|
90371
|
-
* Converts this B2bSsoOrganizationMigrated to JSON.
|
|
90372
|
-
* @function toJSON
|
|
90373
|
-
* @memberof B2bSsoOrganizationMigrated
|
|
90374
|
-
* @instance
|
|
90375
|
-
* @returns {Object.<string,*>} JSON object
|
|
90376
|
-
*/
|
|
90377
|
-
B2bSsoOrganizationMigrated.prototype.toJSON = function toJSON() {
|
|
90378
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
90379
|
-
};
|
|
90380
|
-
|
|
90381
|
-
return B2bSsoOrganizationMigrated;
|
|
90382
|
-
})();
|
|
90383
|
-
|
|
90384
90248
|
$root.OrgMarketingConfigUpdated = (function() {
|
|
90385
90249
|
|
|
90386
90250
|
/**
|
package/package.json
CHANGED