@headspace/protos-events 1.240.0 → 1.242.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 +314 -1
- package/lib/index.js +777 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4209,7 +4209,8 @@ export namespace b2b {
|
|
|
4209
4209
|
REMOVAL_REASON_EXPIRATION = 3,
|
|
4210
4210
|
REMOVAL_REASON_MERGE_ORGS = 4,
|
|
4211
4211
|
REMOVAL_REASON_ROLLOVER = 5,
|
|
4212
|
-
REMOVAL_REASON_SSO_DEPROVISION = 6
|
|
4212
|
+
REMOVAL_REASON_SSO_DEPROVISION = 6,
|
|
4213
|
+
REMOVAL_REASON_SSO_ACCOUNT_UNLINK = 7
|
|
4213
4214
|
}
|
|
4214
4215
|
|
|
4215
4216
|
/** OrgMemberPlan enum. */
|
|
@@ -12887,6 +12888,318 @@ export class ContentfulVariationContainerDeleted implements IContentfulVariation
|
|
|
12887
12888
|
public toJSON(): { [k: string]: any };
|
|
12888
12889
|
}
|
|
12889
12890
|
|
|
12891
|
+
/** Properties of a ContentfulEDHSSessionCreated. */
|
|
12892
|
+
export interface IContentfulEDHSSessionCreated {
|
|
12893
|
+
|
|
12894
|
+
/** ContentfulEDHSSessionCreated slug */
|
|
12895
|
+
slug?: (string|null);
|
|
12896
|
+
|
|
12897
|
+
/** ContentfulEDHSSessionCreated activityGroup */
|
|
12898
|
+
activityGroup?: (contentful.ISlugReference|null);
|
|
12899
|
+
|
|
12900
|
+
/** ContentfulEDHSSessionCreated date */
|
|
12901
|
+
date?: (string|null);
|
|
12902
|
+
|
|
12903
|
+
/** ContentfulEDHSSessionCreated createdAt */
|
|
12904
|
+
createdAt?: (number|Long|null);
|
|
12905
|
+
}
|
|
12906
|
+
|
|
12907
|
+
/** Represents a ContentfulEDHSSessionCreated. */
|
|
12908
|
+
export class ContentfulEDHSSessionCreated implements IContentfulEDHSSessionCreated {
|
|
12909
|
+
|
|
12910
|
+
/**
|
|
12911
|
+
* Constructs a new ContentfulEDHSSessionCreated.
|
|
12912
|
+
* @param [properties] Properties to set
|
|
12913
|
+
*/
|
|
12914
|
+
constructor(properties?: IContentfulEDHSSessionCreated);
|
|
12915
|
+
|
|
12916
|
+
/** ContentfulEDHSSessionCreated slug. */
|
|
12917
|
+
public slug: string;
|
|
12918
|
+
|
|
12919
|
+
/** ContentfulEDHSSessionCreated activityGroup. */
|
|
12920
|
+
public activityGroup?: (contentful.ISlugReference|null);
|
|
12921
|
+
|
|
12922
|
+
/** ContentfulEDHSSessionCreated date. */
|
|
12923
|
+
public date: string;
|
|
12924
|
+
|
|
12925
|
+
/** ContentfulEDHSSessionCreated createdAt. */
|
|
12926
|
+
public createdAt: (number|Long);
|
|
12927
|
+
|
|
12928
|
+
/**
|
|
12929
|
+
* Creates a new ContentfulEDHSSessionCreated instance using the specified properties.
|
|
12930
|
+
* @param [properties] Properties to set
|
|
12931
|
+
* @returns ContentfulEDHSSessionCreated instance
|
|
12932
|
+
*/
|
|
12933
|
+
public static create(properties?: IContentfulEDHSSessionCreated): ContentfulEDHSSessionCreated;
|
|
12934
|
+
|
|
12935
|
+
/**
|
|
12936
|
+
* Encodes the specified ContentfulEDHSSessionCreated message. Does not implicitly {@link ContentfulEDHSSessionCreated.verify|verify} messages.
|
|
12937
|
+
* @param message ContentfulEDHSSessionCreated message or plain object to encode
|
|
12938
|
+
* @param [writer] Writer to encode to
|
|
12939
|
+
* @returns Writer
|
|
12940
|
+
*/
|
|
12941
|
+
public static encode(message: IContentfulEDHSSessionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12942
|
+
|
|
12943
|
+
/**
|
|
12944
|
+
* Encodes the specified ContentfulEDHSSessionCreated message, length delimited. Does not implicitly {@link ContentfulEDHSSessionCreated.verify|verify} messages.
|
|
12945
|
+
* @param message ContentfulEDHSSessionCreated message or plain object to encode
|
|
12946
|
+
* @param [writer] Writer to encode to
|
|
12947
|
+
* @returns Writer
|
|
12948
|
+
*/
|
|
12949
|
+
public static encodeDelimited(message: IContentfulEDHSSessionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12950
|
+
|
|
12951
|
+
/**
|
|
12952
|
+
* Decodes a ContentfulEDHSSessionCreated message from the specified reader or buffer.
|
|
12953
|
+
* @param reader Reader or buffer to decode from
|
|
12954
|
+
* @param [length] Message length if known beforehand
|
|
12955
|
+
* @returns ContentfulEDHSSessionCreated
|
|
12956
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12957
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12958
|
+
*/
|
|
12959
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulEDHSSessionCreated;
|
|
12960
|
+
|
|
12961
|
+
/**
|
|
12962
|
+
* Decodes a ContentfulEDHSSessionCreated message from the specified reader or buffer, length delimited.
|
|
12963
|
+
* @param reader Reader or buffer to decode from
|
|
12964
|
+
* @returns ContentfulEDHSSessionCreated
|
|
12965
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12966
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12967
|
+
*/
|
|
12968
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulEDHSSessionCreated;
|
|
12969
|
+
|
|
12970
|
+
/**
|
|
12971
|
+
* Verifies a ContentfulEDHSSessionCreated message.
|
|
12972
|
+
* @param message Plain object to verify
|
|
12973
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12974
|
+
*/
|
|
12975
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12976
|
+
|
|
12977
|
+
/**
|
|
12978
|
+
* Creates a ContentfulEDHSSessionCreated message from a plain object. Also converts values to their respective internal types.
|
|
12979
|
+
* @param object Plain object
|
|
12980
|
+
* @returns ContentfulEDHSSessionCreated
|
|
12981
|
+
*/
|
|
12982
|
+
public static fromObject(object: { [k: string]: any }): ContentfulEDHSSessionCreated;
|
|
12983
|
+
|
|
12984
|
+
/**
|
|
12985
|
+
* Creates a plain object from a ContentfulEDHSSessionCreated message. Also converts values to other types if specified.
|
|
12986
|
+
* @param message ContentfulEDHSSessionCreated
|
|
12987
|
+
* @param [options] Conversion options
|
|
12988
|
+
* @returns Plain object
|
|
12989
|
+
*/
|
|
12990
|
+
public static toObject(message: ContentfulEDHSSessionCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12991
|
+
|
|
12992
|
+
/**
|
|
12993
|
+
* Converts this ContentfulEDHSSessionCreated to JSON.
|
|
12994
|
+
* @returns JSON object
|
|
12995
|
+
*/
|
|
12996
|
+
public toJSON(): { [k: string]: any };
|
|
12997
|
+
}
|
|
12998
|
+
|
|
12999
|
+
/** Properties of a ContentfulEDHSSessionUpdated. */
|
|
13000
|
+
export interface IContentfulEDHSSessionUpdated {
|
|
13001
|
+
|
|
13002
|
+
/** ContentfulEDHSSessionUpdated slug */
|
|
13003
|
+
slug?: (string|null);
|
|
13004
|
+
|
|
13005
|
+
/** ContentfulEDHSSessionUpdated activityGroup */
|
|
13006
|
+
activityGroup?: (contentful.ISlugReference|null);
|
|
13007
|
+
|
|
13008
|
+
/** ContentfulEDHSSessionUpdated date */
|
|
13009
|
+
date?: (string|null);
|
|
13010
|
+
|
|
13011
|
+
/** ContentfulEDHSSessionUpdated updatedAt */
|
|
13012
|
+
updatedAt?: (number|Long|null);
|
|
13013
|
+
}
|
|
13014
|
+
|
|
13015
|
+
/** Represents a ContentfulEDHSSessionUpdated. */
|
|
13016
|
+
export class ContentfulEDHSSessionUpdated implements IContentfulEDHSSessionUpdated {
|
|
13017
|
+
|
|
13018
|
+
/**
|
|
13019
|
+
* Constructs a new ContentfulEDHSSessionUpdated.
|
|
13020
|
+
* @param [properties] Properties to set
|
|
13021
|
+
*/
|
|
13022
|
+
constructor(properties?: IContentfulEDHSSessionUpdated);
|
|
13023
|
+
|
|
13024
|
+
/** ContentfulEDHSSessionUpdated slug. */
|
|
13025
|
+
public slug: string;
|
|
13026
|
+
|
|
13027
|
+
/** ContentfulEDHSSessionUpdated activityGroup. */
|
|
13028
|
+
public activityGroup?: (contentful.ISlugReference|null);
|
|
13029
|
+
|
|
13030
|
+
/** ContentfulEDHSSessionUpdated date. */
|
|
13031
|
+
public date: string;
|
|
13032
|
+
|
|
13033
|
+
/** ContentfulEDHSSessionUpdated updatedAt. */
|
|
13034
|
+
public updatedAt: (number|Long);
|
|
13035
|
+
|
|
13036
|
+
/**
|
|
13037
|
+
* Creates a new ContentfulEDHSSessionUpdated instance using the specified properties.
|
|
13038
|
+
* @param [properties] Properties to set
|
|
13039
|
+
* @returns ContentfulEDHSSessionUpdated instance
|
|
13040
|
+
*/
|
|
13041
|
+
public static create(properties?: IContentfulEDHSSessionUpdated): ContentfulEDHSSessionUpdated;
|
|
13042
|
+
|
|
13043
|
+
/**
|
|
13044
|
+
* Encodes the specified ContentfulEDHSSessionUpdated message. Does not implicitly {@link ContentfulEDHSSessionUpdated.verify|verify} messages.
|
|
13045
|
+
* @param message ContentfulEDHSSessionUpdated message or plain object to encode
|
|
13046
|
+
* @param [writer] Writer to encode to
|
|
13047
|
+
* @returns Writer
|
|
13048
|
+
*/
|
|
13049
|
+
public static encode(message: IContentfulEDHSSessionUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13050
|
+
|
|
13051
|
+
/**
|
|
13052
|
+
* Encodes the specified ContentfulEDHSSessionUpdated message, length delimited. Does not implicitly {@link ContentfulEDHSSessionUpdated.verify|verify} messages.
|
|
13053
|
+
* @param message ContentfulEDHSSessionUpdated message or plain object to encode
|
|
13054
|
+
* @param [writer] Writer to encode to
|
|
13055
|
+
* @returns Writer
|
|
13056
|
+
*/
|
|
13057
|
+
public static encodeDelimited(message: IContentfulEDHSSessionUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13058
|
+
|
|
13059
|
+
/**
|
|
13060
|
+
* Decodes a ContentfulEDHSSessionUpdated message from the specified reader or buffer.
|
|
13061
|
+
* @param reader Reader or buffer to decode from
|
|
13062
|
+
* @param [length] Message length if known beforehand
|
|
13063
|
+
* @returns ContentfulEDHSSessionUpdated
|
|
13064
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13065
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13066
|
+
*/
|
|
13067
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulEDHSSessionUpdated;
|
|
13068
|
+
|
|
13069
|
+
/**
|
|
13070
|
+
* Decodes a ContentfulEDHSSessionUpdated message from the specified reader or buffer, length delimited.
|
|
13071
|
+
* @param reader Reader or buffer to decode from
|
|
13072
|
+
* @returns ContentfulEDHSSessionUpdated
|
|
13073
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13074
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13075
|
+
*/
|
|
13076
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulEDHSSessionUpdated;
|
|
13077
|
+
|
|
13078
|
+
/**
|
|
13079
|
+
* Verifies a ContentfulEDHSSessionUpdated message.
|
|
13080
|
+
* @param message Plain object to verify
|
|
13081
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13082
|
+
*/
|
|
13083
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13084
|
+
|
|
13085
|
+
/**
|
|
13086
|
+
* Creates a ContentfulEDHSSessionUpdated message from a plain object. Also converts values to their respective internal types.
|
|
13087
|
+
* @param object Plain object
|
|
13088
|
+
* @returns ContentfulEDHSSessionUpdated
|
|
13089
|
+
*/
|
|
13090
|
+
public static fromObject(object: { [k: string]: any }): ContentfulEDHSSessionUpdated;
|
|
13091
|
+
|
|
13092
|
+
/**
|
|
13093
|
+
* Creates a plain object from a ContentfulEDHSSessionUpdated message. Also converts values to other types if specified.
|
|
13094
|
+
* @param message ContentfulEDHSSessionUpdated
|
|
13095
|
+
* @param [options] Conversion options
|
|
13096
|
+
* @returns Plain object
|
|
13097
|
+
*/
|
|
13098
|
+
public static toObject(message: ContentfulEDHSSessionUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13099
|
+
|
|
13100
|
+
/**
|
|
13101
|
+
* Converts this ContentfulEDHSSessionUpdated to JSON.
|
|
13102
|
+
* @returns JSON object
|
|
13103
|
+
*/
|
|
13104
|
+
public toJSON(): { [k: string]: any };
|
|
13105
|
+
}
|
|
13106
|
+
|
|
13107
|
+
/** Properties of a ContentfulEDHSSessionDeleted. */
|
|
13108
|
+
export interface IContentfulEDHSSessionDeleted {
|
|
13109
|
+
|
|
13110
|
+
/** ContentfulEDHSSessionDeleted slug */
|
|
13111
|
+
slug?: (string|null);
|
|
13112
|
+
|
|
13113
|
+
/** ContentfulEDHSSessionDeleted deletedAt */
|
|
13114
|
+
deletedAt?: (number|Long|null);
|
|
13115
|
+
}
|
|
13116
|
+
|
|
13117
|
+
/** Represents a ContentfulEDHSSessionDeleted. */
|
|
13118
|
+
export class ContentfulEDHSSessionDeleted implements IContentfulEDHSSessionDeleted {
|
|
13119
|
+
|
|
13120
|
+
/**
|
|
13121
|
+
* Constructs a new ContentfulEDHSSessionDeleted.
|
|
13122
|
+
* @param [properties] Properties to set
|
|
13123
|
+
*/
|
|
13124
|
+
constructor(properties?: IContentfulEDHSSessionDeleted);
|
|
13125
|
+
|
|
13126
|
+
/** ContentfulEDHSSessionDeleted slug. */
|
|
13127
|
+
public slug: string;
|
|
13128
|
+
|
|
13129
|
+
/** ContentfulEDHSSessionDeleted deletedAt. */
|
|
13130
|
+
public deletedAt: (number|Long);
|
|
13131
|
+
|
|
13132
|
+
/**
|
|
13133
|
+
* Creates a new ContentfulEDHSSessionDeleted instance using the specified properties.
|
|
13134
|
+
* @param [properties] Properties to set
|
|
13135
|
+
* @returns ContentfulEDHSSessionDeleted instance
|
|
13136
|
+
*/
|
|
13137
|
+
public static create(properties?: IContentfulEDHSSessionDeleted): ContentfulEDHSSessionDeleted;
|
|
13138
|
+
|
|
13139
|
+
/**
|
|
13140
|
+
* Encodes the specified ContentfulEDHSSessionDeleted message. Does not implicitly {@link ContentfulEDHSSessionDeleted.verify|verify} messages.
|
|
13141
|
+
* @param message ContentfulEDHSSessionDeleted message or plain object to encode
|
|
13142
|
+
* @param [writer] Writer to encode to
|
|
13143
|
+
* @returns Writer
|
|
13144
|
+
*/
|
|
13145
|
+
public static encode(message: IContentfulEDHSSessionDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13146
|
+
|
|
13147
|
+
/**
|
|
13148
|
+
* Encodes the specified ContentfulEDHSSessionDeleted message, length delimited. Does not implicitly {@link ContentfulEDHSSessionDeleted.verify|verify} messages.
|
|
13149
|
+
* @param message ContentfulEDHSSessionDeleted message or plain object to encode
|
|
13150
|
+
* @param [writer] Writer to encode to
|
|
13151
|
+
* @returns Writer
|
|
13152
|
+
*/
|
|
13153
|
+
public static encodeDelimited(message: IContentfulEDHSSessionDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13154
|
+
|
|
13155
|
+
/**
|
|
13156
|
+
* Decodes a ContentfulEDHSSessionDeleted message from the specified reader or buffer.
|
|
13157
|
+
* @param reader Reader or buffer to decode from
|
|
13158
|
+
* @param [length] Message length if known beforehand
|
|
13159
|
+
* @returns ContentfulEDHSSessionDeleted
|
|
13160
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13161
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13162
|
+
*/
|
|
13163
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulEDHSSessionDeleted;
|
|
13164
|
+
|
|
13165
|
+
/**
|
|
13166
|
+
* Decodes a ContentfulEDHSSessionDeleted message from the specified reader or buffer, length delimited.
|
|
13167
|
+
* @param reader Reader or buffer to decode from
|
|
13168
|
+
* @returns ContentfulEDHSSessionDeleted
|
|
13169
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13170
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13171
|
+
*/
|
|
13172
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulEDHSSessionDeleted;
|
|
13173
|
+
|
|
13174
|
+
/**
|
|
13175
|
+
* Verifies a ContentfulEDHSSessionDeleted message.
|
|
13176
|
+
* @param message Plain object to verify
|
|
13177
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13178
|
+
*/
|
|
13179
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13180
|
+
|
|
13181
|
+
/**
|
|
13182
|
+
* Creates a ContentfulEDHSSessionDeleted message from a plain object. Also converts values to their respective internal types.
|
|
13183
|
+
* @param object Plain object
|
|
13184
|
+
* @returns ContentfulEDHSSessionDeleted
|
|
13185
|
+
*/
|
|
13186
|
+
public static fromObject(object: { [k: string]: any }): ContentfulEDHSSessionDeleted;
|
|
13187
|
+
|
|
13188
|
+
/**
|
|
13189
|
+
* Creates a plain object from a ContentfulEDHSSessionDeleted message. Also converts values to other types if specified.
|
|
13190
|
+
* @param message ContentfulEDHSSessionDeleted
|
|
13191
|
+
* @param [options] Conversion options
|
|
13192
|
+
* @returns Plain object
|
|
13193
|
+
*/
|
|
13194
|
+
public static toObject(message: ContentfulEDHSSessionDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13195
|
+
|
|
13196
|
+
/**
|
|
13197
|
+
* Converts this ContentfulEDHSSessionDeleted to JSON.
|
|
13198
|
+
* @returns JSON object
|
|
13199
|
+
*/
|
|
13200
|
+
public toJSON(): { [k: string]: any };
|
|
13201
|
+
}
|
|
13202
|
+
|
|
12890
13203
|
/** Properties of a ContentfulContentModelCreated. */
|
|
12891
13204
|
export interface IContentfulContentModelCreated {
|
|
12892
13205
|
|
package/lib/index.js
CHANGED
|
@@ -9849,6 +9849,7 @@ $root.b2b = (function() {
|
|
|
9849
9849
|
* @property {number} REMOVAL_REASON_MERGE_ORGS=4 REMOVAL_REASON_MERGE_ORGS value
|
|
9850
9850
|
* @property {number} REMOVAL_REASON_ROLLOVER=5 REMOVAL_REASON_ROLLOVER value
|
|
9851
9851
|
* @property {number} REMOVAL_REASON_SSO_DEPROVISION=6 REMOVAL_REASON_SSO_DEPROVISION value
|
|
9852
|
+
* @property {number} REMOVAL_REASON_SSO_ACCOUNT_UNLINK=7 REMOVAL_REASON_SSO_ACCOUNT_UNLINK value
|
|
9852
9853
|
*/
|
|
9853
9854
|
b2b.OrgMemberRemovalReason = (function() {
|
|
9854
9855
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -9859,6 +9860,7 @@ $root.b2b = (function() {
|
|
|
9859
9860
|
values[valuesById[4] = "REMOVAL_REASON_MERGE_ORGS"] = 4;
|
|
9860
9861
|
values[valuesById[5] = "REMOVAL_REASON_ROLLOVER"] = 5;
|
|
9861
9862
|
values[valuesById[6] = "REMOVAL_REASON_SSO_DEPROVISION"] = 6;
|
|
9863
|
+
values[valuesById[7] = "REMOVAL_REASON_SSO_ACCOUNT_UNLINK"] = 7;
|
|
9862
9864
|
return values;
|
|
9863
9865
|
})();
|
|
9864
9866
|
|
|
@@ -36682,6 +36684,776 @@ $root.ContentfulVariationContainerDeleted = (function() {
|
|
|
36682
36684
|
return ContentfulVariationContainerDeleted;
|
|
36683
36685
|
})();
|
|
36684
36686
|
|
|
36687
|
+
$root.ContentfulEDHSSessionCreated = (function() {
|
|
36688
|
+
|
|
36689
|
+
/**
|
|
36690
|
+
* Properties of a ContentfulEDHSSessionCreated.
|
|
36691
|
+
* @exports IContentfulEDHSSessionCreated
|
|
36692
|
+
* @interface IContentfulEDHSSessionCreated
|
|
36693
|
+
* @property {string|null} [slug] ContentfulEDHSSessionCreated slug
|
|
36694
|
+
* @property {contentful.ISlugReference|null} [activityGroup] ContentfulEDHSSessionCreated activityGroup
|
|
36695
|
+
* @property {string|null} [date] ContentfulEDHSSessionCreated date
|
|
36696
|
+
* @property {number|Long|null} [createdAt] ContentfulEDHSSessionCreated createdAt
|
|
36697
|
+
*/
|
|
36698
|
+
|
|
36699
|
+
/**
|
|
36700
|
+
* Constructs a new ContentfulEDHSSessionCreated.
|
|
36701
|
+
* @exports ContentfulEDHSSessionCreated
|
|
36702
|
+
* @classdesc Represents a ContentfulEDHSSessionCreated.
|
|
36703
|
+
* @implements IContentfulEDHSSessionCreated
|
|
36704
|
+
* @constructor
|
|
36705
|
+
* @param {IContentfulEDHSSessionCreated=} [properties] Properties to set
|
|
36706
|
+
*/
|
|
36707
|
+
function ContentfulEDHSSessionCreated(properties) {
|
|
36708
|
+
if (properties)
|
|
36709
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36710
|
+
if (properties[keys[i]] != null)
|
|
36711
|
+
this[keys[i]] = properties[keys[i]];
|
|
36712
|
+
}
|
|
36713
|
+
|
|
36714
|
+
/**
|
|
36715
|
+
* ContentfulEDHSSessionCreated slug.
|
|
36716
|
+
* @member {string} slug
|
|
36717
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36718
|
+
* @instance
|
|
36719
|
+
*/
|
|
36720
|
+
ContentfulEDHSSessionCreated.prototype.slug = "";
|
|
36721
|
+
|
|
36722
|
+
/**
|
|
36723
|
+
* ContentfulEDHSSessionCreated activityGroup.
|
|
36724
|
+
* @member {contentful.ISlugReference|null|undefined} activityGroup
|
|
36725
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36726
|
+
* @instance
|
|
36727
|
+
*/
|
|
36728
|
+
ContentfulEDHSSessionCreated.prototype.activityGroup = null;
|
|
36729
|
+
|
|
36730
|
+
/**
|
|
36731
|
+
* ContentfulEDHSSessionCreated date.
|
|
36732
|
+
* @member {string} date
|
|
36733
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36734
|
+
* @instance
|
|
36735
|
+
*/
|
|
36736
|
+
ContentfulEDHSSessionCreated.prototype.date = "";
|
|
36737
|
+
|
|
36738
|
+
/**
|
|
36739
|
+
* ContentfulEDHSSessionCreated createdAt.
|
|
36740
|
+
* @member {number|Long} createdAt
|
|
36741
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36742
|
+
* @instance
|
|
36743
|
+
*/
|
|
36744
|
+
ContentfulEDHSSessionCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
36745
|
+
|
|
36746
|
+
/**
|
|
36747
|
+
* Creates a new ContentfulEDHSSessionCreated instance using the specified properties.
|
|
36748
|
+
* @function create
|
|
36749
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36750
|
+
* @static
|
|
36751
|
+
* @param {IContentfulEDHSSessionCreated=} [properties] Properties to set
|
|
36752
|
+
* @returns {ContentfulEDHSSessionCreated} ContentfulEDHSSessionCreated instance
|
|
36753
|
+
*/
|
|
36754
|
+
ContentfulEDHSSessionCreated.create = function create(properties) {
|
|
36755
|
+
return new ContentfulEDHSSessionCreated(properties);
|
|
36756
|
+
};
|
|
36757
|
+
|
|
36758
|
+
/**
|
|
36759
|
+
* Encodes the specified ContentfulEDHSSessionCreated message. Does not implicitly {@link ContentfulEDHSSessionCreated.verify|verify} messages.
|
|
36760
|
+
* @function encode
|
|
36761
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36762
|
+
* @static
|
|
36763
|
+
* @param {IContentfulEDHSSessionCreated} message ContentfulEDHSSessionCreated message or plain object to encode
|
|
36764
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
36765
|
+
* @returns {$protobuf.Writer} Writer
|
|
36766
|
+
*/
|
|
36767
|
+
ContentfulEDHSSessionCreated.encode = function encode(message, writer) {
|
|
36768
|
+
if (!writer)
|
|
36769
|
+
writer = $Writer.create();
|
|
36770
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36771
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
36772
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup"))
|
|
36773
|
+
$root.contentful.SlugReference.encode(message.activityGroup, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
36774
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
36775
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.date);
|
|
36776
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
36777
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAt);
|
|
36778
|
+
return writer;
|
|
36779
|
+
};
|
|
36780
|
+
|
|
36781
|
+
/**
|
|
36782
|
+
* Encodes the specified ContentfulEDHSSessionCreated message, length delimited. Does not implicitly {@link ContentfulEDHSSessionCreated.verify|verify} messages.
|
|
36783
|
+
* @function encodeDelimited
|
|
36784
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36785
|
+
* @static
|
|
36786
|
+
* @param {IContentfulEDHSSessionCreated} message ContentfulEDHSSessionCreated message or plain object to encode
|
|
36787
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
36788
|
+
* @returns {$protobuf.Writer} Writer
|
|
36789
|
+
*/
|
|
36790
|
+
ContentfulEDHSSessionCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
36791
|
+
return this.encode(message, writer).ldelim();
|
|
36792
|
+
};
|
|
36793
|
+
|
|
36794
|
+
/**
|
|
36795
|
+
* Decodes a ContentfulEDHSSessionCreated message from the specified reader or buffer.
|
|
36796
|
+
* @function decode
|
|
36797
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36798
|
+
* @static
|
|
36799
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
36800
|
+
* @param {number} [length] Message length if known beforehand
|
|
36801
|
+
* @returns {ContentfulEDHSSessionCreated} ContentfulEDHSSessionCreated
|
|
36802
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36803
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36804
|
+
*/
|
|
36805
|
+
ContentfulEDHSSessionCreated.decode = function decode(reader, length) {
|
|
36806
|
+
if (!(reader instanceof $Reader))
|
|
36807
|
+
reader = $Reader.create(reader);
|
|
36808
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulEDHSSessionCreated();
|
|
36809
|
+
while (reader.pos < end) {
|
|
36810
|
+
var tag = reader.uint32();
|
|
36811
|
+
switch (tag >>> 3) {
|
|
36812
|
+
case 1:
|
|
36813
|
+
message.slug = reader.string();
|
|
36814
|
+
break;
|
|
36815
|
+
case 2:
|
|
36816
|
+
message.activityGroup = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
36817
|
+
break;
|
|
36818
|
+
case 3:
|
|
36819
|
+
message.date = reader.string();
|
|
36820
|
+
break;
|
|
36821
|
+
case 4:
|
|
36822
|
+
message.createdAt = reader.uint64();
|
|
36823
|
+
break;
|
|
36824
|
+
default:
|
|
36825
|
+
reader.skipType(tag & 7);
|
|
36826
|
+
break;
|
|
36827
|
+
}
|
|
36828
|
+
}
|
|
36829
|
+
return message;
|
|
36830
|
+
};
|
|
36831
|
+
|
|
36832
|
+
/**
|
|
36833
|
+
* Decodes a ContentfulEDHSSessionCreated message from the specified reader or buffer, length delimited.
|
|
36834
|
+
* @function decodeDelimited
|
|
36835
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36836
|
+
* @static
|
|
36837
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
36838
|
+
* @returns {ContentfulEDHSSessionCreated} ContentfulEDHSSessionCreated
|
|
36839
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36840
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36841
|
+
*/
|
|
36842
|
+
ContentfulEDHSSessionCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
36843
|
+
if (!(reader instanceof $Reader))
|
|
36844
|
+
reader = new $Reader(reader);
|
|
36845
|
+
return this.decode(reader, reader.uint32());
|
|
36846
|
+
};
|
|
36847
|
+
|
|
36848
|
+
/**
|
|
36849
|
+
* Verifies a ContentfulEDHSSessionCreated message.
|
|
36850
|
+
* @function verify
|
|
36851
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36852
|
+
* @static
|
|
36853
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
36854
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
36855
|
+
*/
|
|
36856
|
+
ContentfulEDHSSessionCreated.verify = function verify(message) {
|
|
36857
|
+
if (typeof message !== "object" || message === null)
|
|
36858
|
+
return "object expected";
|
|
36859
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36860
|
+
if (!$util.isString(message.slug))
|
|
36861
|
+
return "slug: string expected";
|
|
36862
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup")) {
|
|
36863
|
+
var error = $root.contentful.SlugReference.verify(message.activityGroup);
|
|
36864
|
+
if (error)
|
|
36865
|
+
return "activityGroup." + error;
|
|
36866
|
+
}
|
|
36867
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
36868
|
+
if (!$util.isString(message.date))
|
|
36869
|
+
return "date: string expected";
|
|
36870
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
36871
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
36872
|
+
return "createdAt: integer|Long expected";
|
|
36873
|
+
return null;
|
|
36874
|
+
};
|
|
36875
|
+
|
|
36876
|
+
/**
|
|
36877
|
+
* Creates a ContentfulEDHSSessionCreated message from a plain object. Also converts values to their respective internal types.
|
|
36878
|
+
* @function fromObject
|
|
36879
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36880
|
+
* @static
|
|
36881
|
+
* @param {Object.<string,*>} object Plain object
|
|
36882
|
+
* @returns {ContentfulEDHSSessionCreated} ContentfulEDHSSessionCreated
|
|
36883
|
+
*/
|
|
36884
|
+
ContentfulEDHSSessionCreated.fromObject = function fromObject(object) {
|
|
36885
|
+
if (object instanceof $root.ContentfulEDHSSessionCreated)
|
|
36886
|
+
return object;
|
|
36887
|
+
var message = new $root.ContentfulEDHSSessionCreated();
|
|
36888
|
+
if (object.slug != null)
|
|
36889
|
+
message.slug = String(object.slug);
|
|
36890
|
+
if (object.activityGroup != null) {
|
|
36891
|
+
if (typeof object.activityGroup !== "object")
|
|
36892
|
+
throw TypeError(".ContentfulEDHSSessionCreated.activityGroup: object expected");
|
|
36893
|
+
message.activityGroup = $root.contentful.SlugReference.fromObject(object.activityGroup);
|
|
36894
|
+
}
|
|
36895
|
+
if (object.date != null)
|
|
36896
|
+
message.date = String(object.date);
|
|
36897
|
+
if (object.createdAt != null)
|
|
36898
|
+
if ($util.Long)
|
|
36899
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
36900
|
+
else if (typeof object.createdAt === "string")
|
|
36901
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
36902
|
+
else if (typeof object.createdAt === "number")
|
|
36903
|
+
message.createdAt = object.createdAt;
|
|
36904
|
+
else if (typeof object.createdAt === "object")
|
|
36905
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
36906
|
+
return message;
|
|
36907
|
+
};
|
|
36908
|
+
|
|
36909
|
+
/**
|
|
36910
|
+
* Creates a plain object from a ContentfulEDHSSessionCreated message. Also converts values to other types if specified.
|
|
36911
|
+
* @function toObject
|
|
36912
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36913
|
+
* @static
|
|
36914
|
+
* @param {ContentfulEDHSSessionCreated} message ContentfulEDHSSessionCreated
|
|
36915
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
36916
|
+
* @returns {Object.<string,*>} Plain object
|
|
36917
|
+
*/
|
|
36918
|
+
ContentfulEDHSSessionCreated.toObject = function toObject(message, options) {
|
|
36919
|
+
if (!options)
|
|
36920
|
+
options = {};
|
|
36921
|
+
var object = {};
|
|
36922
|
+
if (options.defaults) {
|
|
36923
|
+
object.slug = "";
|
|
36924
|
+
object.activityGroup = null;
|
|
36925
|
+
object.date = "";
|
|
36926
|
+
if ($util.Long) {
|
|
36927
|
+
var long = new $util.Long(0, 0, true);
|
|
36928
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
36929
|
+
} else
|
|
36930
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
36931
|
+
}
|
|
36932
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36933
|
+
object.slug = message.slug;
|
|
36934
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup"))
|
|
36935
|
+
object.activityGroup = $root.contentful.SlugReference.toObject(message.activityGroup, options);
|
|
36936
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
36937
|
+
object.date = message.date;
|
|
36938
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
36939
|
+
if (typeof message.createdAt === "number")
|
|
36940
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
36941
|
+
else
|
|
36942
|
+
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;
|
|
36943
|
+
return object;
|
|
36944
|
+
};
|
|
36945
|
+
|
|
36946
|
+
/**
|
|
36947
|
+
* Converts this ContentfulEDHSSessionCreated to JSON.
|
|
36948
|
+
* @function toJSON
|
|
36949
|
+
* @memberof ContentfulEDHSSessionCreated
|
|
36950
|
+
* @instance
|
|
36951
|
+
* @returns {Object.<string,*>} JSON object
|
|
36952
|
+
*/
|
|
36953
|
+
ContentfulEDHSSessionCreated.prototype.toJSON = function toJSON() {
|
|
36954
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
36955
|
+
};
|
|
36956
|
+
|
|
36957
|
+
return ContentfulEDHSSessionCreated;
|
|
36958
|
+
})();
|
|
36959
|
+
|
|
36960
|
+
$root.ContentfulEDHSSessionUpdated = (function() {
|
|
36961
|
+
|
|
36962
|
+
/**
|
|
36963
|
+
* Properties of a ContentfulEDHSSessionUpdated.
|
|
36964
|
+
* @exports IContentfulEDHSSessionUpdated
|
|
36965
|
+
* @interface IContentfulEDHSSessionUpdated
|
|
36966
|
+
* @property {string|null} [slug] ContentfulEDHSSessionUpdated slug
|
|
36967
|
+
* @property {contentful.ISlugReference|null} [activityGroup] ContentfulEDHSSessionUpdated activityGroup
|
|
36968
|
+
* @property {string|null} [date] ContentfulEDHSSessionUpdated date
|
|
36969
|
+
* @property {number|Long|null} [updatedAt] ContentfulEDHSSessionUpdated updatedAt
|
|
36970
|
+
*/
|
|
36971
|
+
|
|
36972
|
+
/**
|
|
36973
|
+
* Constructs a new ContentfulEDHSSessionUpdated.
|
|
36974
|
+
* @exports ContentfulEDHSSessionUpdated
|
|
36975
|
+
* @classdesc Represents a ContentfulEDHSSessionUpdated.
|
|
36976
|
+
* @implements IContentfulEDHSSessionUpdated
|
|
36977
|
+
* @constructor
|
|
36978
|
+
* @param {IContentfulEDHSSessionUpdated=} [properties] Properties to set
|
|
36979
|
+
*/
|
|
36980
|
+
function ContentfulEDHSSessionUpdated(properties) {
|
|
36981
|
+
if (properties)
|
|
36982
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36983
|
+
if (properties[keys[i]] != null)
|
|
36984
|
+
this[keys[i]] = properties[keys[i]];
|
|
36985
|
+
}
|
|
36986
|
+
|
|
36987
|
+
/**
|
|
36988
|
+
* ContentfulEDHSSessionUpdated slug.
|
|
36989
|
+
* @member {string} slug
|
|
36990
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
36991
|
+
* @instance
|
|
36992
|
+
*/
|
|
36993
|
+
ContentfulEDHSSessionUpdated.prototype.slug = "";
|
|
36994
|
+
|
|
36995
|
+
/**
|
|
36996
|
+
* ContentfulEDHSSessionUpdated activityGroup.
|
|
36997
|
+
* @member {contentful.ISlugReference|null|undefined} activityGroup
|
|
36998
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
36999
|
+
* @instance
|
|
37000
|
+
*/
|
|
37001
|
+
ContentfulEDHSSessionUpdated.prototype.activityGroup = null;
|
|
37002
|
+
|
|
37003
|
+
/**
|
|
37004
|
+
* ContentfulEDHSSessionUpdated date.
|
|
37005
|
+
* @member {string} date
|
|
37006
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37007
|
+
* @instance
|
|
37008
|
+
*/
|
|
37009
|
+
ContentfulEDHSSessionUpdated.prototype.date = "";
|
|
37010
|
+
|
|
37011
|
+
/**
|
|
37012
|
+
* ContentfulEDHSSessionUpdated updatedAt.
|
|
37013
|
+
* @member {number|Long} updatedAt
|
|
37014
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37015
|
+
* @instance
|
|
37016
|
+
*/
|
|
37017
|
+
ContentfulEDHSSessionUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
37018
|
+
|
|
37019
|
+
/**
|
|
37020
|
+
* Creates a new ContentfulEDHSSessionUpdated instance using the specified properties.
|
|
37021
|
+
* @function create
|
|
37022
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37023
|
+
* @static
|
|
37024
|
+
* @param {IContentfulEDHSSessionUpdated=} [properties] Properties to set
|
|
37025
|
+
* @returns {ContentfulEDHSSessionUpdated} ContentfulEDHSSessionUpdated instance
|
|
37026
|
+
*/
|
|
37027
|
+
ContentfulEDHSSessionUpdated.create = function create(properties) {
|
|
37028
|
+
return new ContentfulEDHSSessionUpdated(properties);
|
|
37029
|
+
};
|
|
37030
|
+
|
|
37031
|
+
/**
|
|
37032
|
+
* Encodes the specified ContentfulEDHSSessionUpdated message. Does not implicitly {@link ContentfulEDHSSessionUpdated.verify|verify} messages.
|
|
37033
|
+
* @function encode
|
|
37034
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37035
|
+
* @static
|
|
37036
|
+
* @param {IContentfulEDHSSessionUpdated} message ContentfulEDHSSessionUpdated message or plain object to encode
|
|
37037
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37038
|
+
* @returns {$protobuf.Writer} Writer
|
|
37039
|
+
*/
|
|
37040
|
+
ContentfulEDHSSessionUpdated.encode = function encode(message, writer) {
|
|
37041
|
+
if (!writer)
|
|
37042
|
+
writer = $Writer.create();
|
|
37043
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37044
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
37045
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup"))
|
|
37046
|
+
$root.contentful.SlugReference.encode(message.activityGroup, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
37047
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
37048
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.date);
|
|
37049
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
37050
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.updatedAt);
|
|
37051
|
+
return writer;
|
|
37052
|
+
};
|
|
37053
|
+
|
|
37054
|
+
/**
|
|
37055
|
+
* Encodes the specified ContentfulEDHSSessionUpdated message, length delimited. Does not implicitly {@link ContentfulEDHSSessionUpdated.verify|verify} messages.
|
|
37056
|
+
* @function encodeDelimited
|
|
37057
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37058
|
+
* @static
|
|
37059
|
+
* @param {IContentfulEDHSSessionUpdated} message ContentfulEDHSSessionUpdated message or plain object to encode
|
|
37060
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37061
|
+
* @returns {$protobuf.Writer} Writer
|
|
37062
|
+
*/
|
|
37063
|
+
ContentfulEDHSSessionUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37064
|
+
return this.encode(message, writer).ldelim();
|
|
37065
|
+
};
|
|
37066
|
+
|
|
37067
|
+
/**
|
|
37068
|
+
* Decodes a ContentfulEDHSSessionUpdated message from the specified reader or buffer.
|
|
37069
|
+
* @function decode
|
|
37070
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37071
|
+
* @static
|
|
37072
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37073
|
+
* @param {number} [length] Message length if known beforehand
|
|
37074
|
+
* @returns {ContentfulEDHSSessionUpdated} ContentfulEDHSSessionUpdated
|
|
37075
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37076
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37077
|
+
*/
|
|
37078
|
+
ContentfulEDHSSessionUpdated.decode = function decode(reader, length) {
|
|
37079
|
+
if (!(reader instanceof $Reader))
|
|
37080
|
+
reader = $Reader.create(reader);
|
|
37081
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulEDHSSessionUpdated();
|
|
37082
|
+
while (reader.pos < end) {
|
|
37083
|
+
var tag = reader.uint32();
|
|
37084
|
+
switch (tag >>> 3) {
|
|
37085
|
+
case 1:
|
|
37086
|
+
message.slug = reader.string();
|
|
37087
|
+
break;
|
|
37088
|
+
case 2:
|
|
37089
|
+
message.activityGroup = $root.contentful.SlugReference.decode(reader, reader.uint32());
|
|
37090
|
+
break;
|
|
37091
|
+
case 3:
|
|
37092
|
+
message.date = reader.string();
|
|
37093
|
+
break;
|
|
37094
|
+
case 4:
|
|
37095
|
+
message.updatedAt = reader.uint64();
|
|
37096
|
+
break;
|
|
37097
|
+
default:
|
|
37098
|
+
reader.skipType(tag & 7);
|
|
37099
|
+
break;
|
|
37100
|
+
}
|
|
37101
|
+
}
|
|
37102
|
+
return message;
|
|
37103
|
+
};
|
|
37104
|
+
|
|
37105
|
+
/**
|
|
37106
|
+
* Decodes a ContentfulEDHSSessionUpdated message from the specified reader or buffer, length delimited.
|
|
37107
|
+
* @function decodeDelimited
|
|
37108
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37109
|
+
* @static
|
|
37110
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37111
|
+
* @returns {ContentfulEDHSSessionUpdated} ContentfulEDHSSessionUpdated
|
|
37112
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37113
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37114
|
+
*/
|
|
37115
|
+
ContentfulEDHSSessionUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
37116
|
+
if (!(reader instanceof $Reader))
|
|
37117
|
+
reader = new $Reader(reader);
|
|
37118
|
+
return this.decode(reader, reader.uint32());
|
|
37119
|
+
};
|
|
37120
|
+
|
|
37121
|
+
/**
|
|
37122
|
+
* Verifies a ContentfulEDHSSessionUpdated message.
|
|
37123
|
+
* @function verify
|
|
37124
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37125
|
+
* @static
|
|
37126
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
37127
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
37128
|
+
*/
|
|
37129
|
+
ContentfulEDHSSessionUpdated.verify = function verify(message) {
|
|
37130
|
+
if (typeof message !== "object" || message === null)
|
|
37131
|
+
return "object expected";
|
|
37132
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37133
|
+
if (!$util.isString(message.slug))
|
|
37134
|
+
return "slug: string expected";
|
|
37135
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup")) {
|
|
37136
|
+
var error = $root.contentful.SlugReference.verify(message.activityGroup);
|
|
37137
|
+
if (error)
|
|
37138
|
+
return "activityGroup." + error;
|
|
37139
|
+
}
|
|
37140
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
37141
|
+
if (!$util.isString(message.date))
|
|
37142
|
+
return "date: string expected";
|
|
37143
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
37144
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
37145
|
+
return "updatedAt: integer|Long expected";
|
|
37146
|
+
return null;
|
|
37147
|
+
};
|
|
37148
|
+
|
|
37149
|
+
/**
|
|
37150
|
+
* Creates a ContentfulEDHSSessionUpdated message from a plain object. Also converts values to their respective internal types.
|
|
37151
|
+
* @function fromObject
|
|
37152
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37153
|
+
* @static
|
|
37154
|
+
* @param {Object.<string,*>} object Plain object
|
|
37155
|
+
* @returns {ContentfulEDHSSessionUpdated} ContentfulEDHSSessionUpdated
|
|
37156
|
+
*/
|
|
37157
|
+
ContentfulEDHSSessionUpdated.fromObject = function fromObject(object) {
|
|
37158
|
+
if (object instanceof $root.ContentfulEDHSSessionUpdated)
|
|
37159
|
+
return object;
|
|
37160
|
+
var message = new $root.ContentfulEDHSSessionUpdated();
|
|
37161
|
+
if (object.slug != null)
|
|
37162
|
+
message.slug = String(object.slug);
|
|
37163
|
+
if (object.activityGroup != null) {
|
|
37164
|
+
if (typeof object.activityGroup !== "object")
|
|
37165
|
+
throw TypeError(".ContentfulEDHSSessionUpdated.activityGroup: object expected");
|
|
37166
|
+
message.activityGroup = $root.contentful.SlugReference.fromObject(object.activityGroup);
|
|
37167
|
+
}
|
|
37168
|
+
if (object.date != null)
|
|
37169
|
+
message.date = String(object.date);
|
|
37170
|
+
if (object.updatedAt != null)
|
|
37171
|
+
if ($util.Long)
|
|
37172
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
37173
|
+
else if (typeof object.updatedAt === "string")
|
|
37174
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
37175
|
+
else if (typeof object.updatedAt === "number")
|
|
37176
|
+
message.updatedAt = object.updatedAt;
|
|
37177
|
+
else if (typeof object.updatedAt === "object")
|
|
37178
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
37179
|
+
return message;
|
|
37180
|
+
};
|
|
37181
|
+
|
|
37182
|
+
/**
|
|
37183
|
+
* Creates a plain object from a ContentfulEDHSSessionUpdated message. Also converts values to other types if specified.
|
|
37184
|
+
* @function toObject
|
|
37185
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37186
|
+
* @static
|
|
37187
|
+
* @param {ContentfulEDHSSessionUpdated} message ContentfulEDHSSessionUpdated
|
|
37188
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
37189
|
+
* @returns {Object.<string,*>} Plain object
|
|
37190
|
+
*/
|
|
37191
|
+
ContentfulEDHSSessionUpdated.toObject = function toObject(message, options) {
|
|
37192
|
+
if (!options)
|
|
37193
|
+
options = {};
|
|
37194
|
+
var object = {};
|
|
37195
|
+
if (options.defaults) {
|
|
37196
|
+
object.slug = "";
|
|
37197
|
+
object.activityGroup = null;
|
|
37198
|
+
object.date = "";
|
|
37199
|
+
if ($util.Long) {
|
|
37200
|
+
var long = new $util.Long(0, 0, true);
|
|
37201
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
37202
|
+
} else
|
|
37203
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
37204
|
+
}
|
|
37205
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37206
|
+
object.slug = message.slug;
|
|
37207
|
+
if (message.activityGroup != null && message.hasOwnProperty("activityGroup"))
|
|
37208
|
+
object.activityGroup = $root.contentful.SlugReference.toObject(message.activityGroup, options);
|
|
37209
|
+
if (message.date != null && message.hasOwnProperty("date"))
|
|
37210
|
+
object.date = message.date;
|
|
37211
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
37212
|
+
if (typeof message.updatedAt === "number")
|
|
37213
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
37214
|
+
else
|
|
37215
|
+
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;
|
|
37216
|
+
return object;
|
|
37217
|
+
};
|
|
37218
|
+
|
|
37219
|
+
/**
|
|
37220
|
+
* Converts this ContentfulEDHSSessionUpdated to JSON.
|
|
37221
|
+
* @function toJSON
|
|
37222
|
+
* @memberof ContentfulEDHSSessionUpdated
|
|
37223
|
+
* @instance
|
|
37224
|
+
* @returns {Object.<string,*>} JSON object
|
|
37225
|
+
*/
|
|
37226
|
+
ContentfulEDHSSessionUpdated.prototype.toJSON = function toJSON() {
|
|
37227
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37228
|
+
};
|
|
37229
|
+
|
|
37230
|
+
return ContentfulEDHSSessionUpdated;
|
|
37231
|
+
})();
|
|
37232
|
+
|
|
37233
|
+
$root.ContentfulEDHSSessionDeleted = (function() {
|
|
37234
|
+
|
|
37235
|
+
/**
|
|
37236
|
+
* Properties of a ContentfulEDHSSessionDeleted.
|
|
37237
|
+
* @exports IContentfulEDHSSessionDeleted
|
|
37238
|
+
* @interface IContentfulEDHSSessionDeleted
|
|
37239
|
+
* @property {string|null} [slug] ContentfulEDHSSessionDeleted slug
|
|
37240
|
+
* @property {number|Long|null} [deletedAt] ContentfulEDHSSessionDeleted deletedAt
|
|
37241
|
+
*/
|
|
37242
|
+
|
|
37243
|
+
/**
|
|
37244
|
+
* Constructs a new ContentfulEDHSSessionDeleted.
|
|
37245
|
+
* @exports ContentfulEDHSSessionDeleted
|
|
37246
|
+
* @classdesc Represents a ContentfulEDHSSessionDeleted.
|
|
37247
|
+
* @implements IContentfulEDHSSessionDeleted
|
|
37248
|
+
* @constructor
|
|
37249
|
+
* @param {IContentfulEDHSSessionDeleted=} [properties] Properties to set
|
|
37250
|
+
*/
|
|
37251
|
+
function ContentfulEDHSSessionDeleted(properties) {
|
|
37252
|
+
if (properties)
|
|
37253
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37254
|
+
if (properties[keys[i]] != null)
|
|
37255
|
+
this[keys[i]] = properties[keys[i]];
|
|
37256
|
+
}
|
|
37257
|
+
|
|
37258
|
+
/**
|
|
37259
|
+
* ContentfulEDHSSessionDeleted slug.
|
|
37260
|
+
* @member {string} slug
|
|
37261
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37262
|
+
* @instance
|
|
37263
|
+
*/
|
|
37264
|
+
ContentfulEDHSSessionDeleted.prototype.slug = "";
|
|
37265
|
+
|
|
37266
|
+
/**
|
|
37267
|
+
* ContentfulEDHSSessionDeleted deletedAt.
|
|
37268
|
+
* @member {number|Long} deletedAt
|
|
37269
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37270
|
+
* @instance
|
|
37271
|
+
*/
|
|
37272
|
+
ContentfulEDHSSessionDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
37273
|
+
|
|
37274
|
+
/**
|
|
37275
|
+
* Creates a new ContentfulEDHSSessionDeleted instance using the specified properties.
|
|
37276
|
+
* @function create
|
|
37277
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37278
|
+
* @static
|
|
37279
|
+
* @param {IContentfulEDHSSessionDeleted=} [properties] Properties to set
|
|
37280
|
+
* @returns {ContentfulEDHSSessionDeleted} ContentfulEDHSSessionDeleted instance
|
|
37281
|
+
*/
|
|
37282
|
+
ContentfulEDHSSessionDeleted.create = function create(properties) {
|
|
37283
|
+
return new ContentfulEDHSSessionDeleted(properties);
|
|
37284
|
+
};
|
|
37285
|
+
|
|
37286
|
+
/**
|
|
37287
|
+
* Encodes the specified ContentfulEDHSSessionDeleted message. Does not implicitly {@link ContentfulEDHSSessionDeleted.verify|verify} messages.
|
|
37288
|
+
* @function encode
|
|
37289
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37290
|
+
* @static
|
|
37291
|
+
* @param {IContentfulEDHSSessionDeleted} message ContentfulEDHSSessionDeleted message or plain object to encode
|
|
37292
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37293
|
+
* @returns {$protobuf.Writer} Writer
|
|
37294
|
+
*/
|
|
37295
|
+
ContentfulEDHSSessionDeleted.encode = function encode(message, writer) {
|
|
37296
|
+
if (!writer)
|
|
37297
|
+
writer = $Writer.create();
|
|
37298
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37299
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
37300
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
37301
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.deletedAt);
|
|
37302
|
+
return writer;
|
|
37303
|
+
};
|
|
37304
|
+
|
|
37305
|
+
/**
|
|
37306
|
+
* Encodes the specified ContentfulEDHSSessionDeleted message, length delimited. Does not implicitly {@link ContentfulEDHSSessionDeleted.verify|verify} messages.
|
|
37307
|
+
* @function encodeDelimited
|
|
37308
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37309
|
+
* @static
|
|
37310
|
+
* @param {IContentfulEDHSSessionDeleted} message ContentfulEDHSSessionDeleted message or plain object to encode
|
|
37311
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37312
|
+
* @returns {$protobuf.Writer} Writer
|
|
37313
|
+
*/
|
|
37314
|
+
ContentfulEDHSSessionDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37315
|
+
return this.encode(message, writer).ldelim();
|
|
37316
|
+
};
|
|
37317
|
+
|
|
37318
|
+
/**
|
|
37319
|
+
* Decodes a ContentfulEDHSSessionDeleted message from the specified reader or buffer.
|
|
37320
|
+
* @function decode
|
|
37321
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37322
|
+
* @static
|
|
37323
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37324
|
+
* @param {number} [length] Message length if known beforehand
|
|
37325
|
+
* @returns {ContentfulEDHSSessionDeleted} ContentfulEDHSSessionDeleted
|
|
37326
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37327
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37328
|
+
*/
|
|
37329
|
+
ContentfulEDHSSessionDeleted.decode = function decode(reader, length) {
|
|
37330
|
+
if (!(reader instanceof $Reader))
|
|
37331
|
+
reader = $Reader.create(reader);
|
|
37332
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulEDHSSessionDeleted();
|
|
37333
|
+
while (reader.pos < end) {
|
|
37334
|
+
var tag = reader.uint32();
|
|
37335
|
+
switch (tag >>> 3) {
|
|
37336
|
+
case 1:
|
|
37337
|
+
message.slug = reader.string();
|
|
37338
|
+
break;
|
|
37339
|
+
case 2:
|
|
37340
|
+
message.deletedAt = reader.uint64();
|
|
37341
|
+
break;
|
|
37342
|
+
default:
|
|
37343
|
+
reader.skipType(tag & 7);
|
|
37344
|
+
break;
|
|
37345
|
+
}
|
|
37346
|
+
}
|
|
37347
|
+
return message;
|
|
37348
|
+
};
|
|
37349
|
+
|
|
37350
|
+
/**
|
|
37351
|
+
* Decodes a ContentfulEDHSSessionDeleted message from the specified reader or buffer, length delimited.
|
|
37352
|
+
* @function decodeDelimited
|
|
37353
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37354
|
+
* @static
|
|
37355
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37356
|
+
* @returns {ContentfulEDHSSessionDeleted} ContentfulEDHSSessionDeleted
|
|
37357
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37358
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37359
|
+
*/
|
|
37360
|
+
ContentfulEDHSSessionDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
37361
|
+
if (!(reader instanceof $Reader))
|
|
37362
|
+
reader = new $Reader(reader);
|
|
37363
|
+
return this.decode(reader, reader.uint32());
|
|
37364
|
+
};
|
|
37365
|
+
|
|
37366
|
+
/**
|
|
37367
|
+
* Verifies a ContentfulEDHSSessionDeleted message.
|
|
37368
|
+
* @function verify
|
|
37369
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37370
|
+
* @static
|
|
37371
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
37372
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
37373
|
+
*/
|
|
37374
|
+
ContentfulEDHSSessionDeleted.verify = function verify(message) {
|
|
37375
|
+
if (typeof message !== "object" || message === null)
|
|
37376
|
+
return "object expected";
|
|
37377
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37378
|
+
if (!$util.isString(message.slug))
|
|
37379
|
+
return "slug: string expected";
|
|
37380
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
37381
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
37382
|
+
return "deletedAt: integer|Long expected";
|
|
37383
|
+
return null;
|
|
37384
|
+
};
|
|
37385
|
+
|
|
37386
|
+
/**
|
|
37387
|
+
* Creates a ContentfulEDHSSessionDeleted message from a plain object. Also converts values to their respective internal types.
|
|
37388
|
+
* @function fromObject
|
|
37389
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37390
|
+
* @static
|
|
37391
|
+
* @param {Object.<string,*>} object Plain object
|
|
37392
|
+
* @returns {ContentfulEDHSSessionDeleted} ContentfulEDHSSessionDeleted
|
|
37393
|
+
*/
|
|
37394
|
+
ContentfulEDHSSessionDeleted.fromObject = function fromObject(object) {
|
|
37395
|
+
if (object instanceof $root.ContentfulEDHSSessionDeleted)
|
|
37396
|
+
return object;
|
|
37397
|
+
var message = new $root.ContentfulEDHSSessionDeleted();
|
|
37398
|
+
if (object.slug != null)
|
|
37399
|
+
message.slug = String(object.slug);
|
|
37400
|
+
if (object.deletedAt != null)
|
|
37401
|
+
if ($util.Long)
|
|
37402
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
37403
|
+
else if (typeof object.deletedAt === "string")
|
|
37404
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
37405
|
+
else if (typeof object.deletedAt === "number")
|
|
37406
|
+
message.deletedAt = object.deletedAt;
|
|
37407
|
+
else if (typeof object.deletedAt === "object")
|
|
37408
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
37409
|
+
return message;
|
|
37410
|
+
};
|
|
37411
|
+
|
|
37412
|
+
/**
|
|
37413
|
+
* Creates a plain object from a ContentfulEDHSSessionDeleted message. Also converts values to other types if specified.
|
|
37414
|
+
* @function toObject
|
|
37415
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37416
|
+
* @static
|
|
37417
|
+
* @param {ContentfulEDHSSessionDeleted} message ContentfulEDHSSessionDeleted
|
|
37418
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
37419
|
+
* @returns {Object.<string,*>} Plain object
|
|
37420
|
+
*/
|
|
37421
|
+
ContentfulEDHSSessionDeleted.toObject = function toObject(message, options) {
|
|
37422
|
+
if (!options)
|
|
37423
|
+
options = {};
|
|
37424
|
+
var object = {};
|
|
37425
|
+
if (options.defaults) {
|
|
37426
|
+
object.slug = "";
|
|
37427
|
+
if ($util.Long) {
|
|
37428
|
+
var long = new $util.Long(0, 0, true);
|
|
37429
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
37430
|
+
} else
|
|
37431
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
37432
|
+
}
|
|
37433
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37434
|
+
object.slug = message.slug;
|
|
37435
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
37436
|
+
if (typeof message.deletedAt === "number")
|
|
37437
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
37438
|
+
else
|
|
37439
|
+
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
37440
|
+
return object;
|
|
37441
|
+
};
|
|
37442
|
+
|
|
37443
|
+
/**
|
|
37444
|
+
* Converts this ContentfulEDHSSessionDeleted to JSON.
|
|
37445
|
+
* @function toJSON
|
|
37446
|
+
* @memberof ContentfulEDHSSessionDeleted
|
|
37447
|
+
* @instance
|
|
37448
|
+
* @returns {Object.<string,*>} JSON object
|
|
37449
|
+
*/
|
|
37450
|
+
ContentfulEDHSSessionDeleted.prototype.toJSON = function toJSON() {
|
|
37451
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37452
|
+
};
|
|
37453
|
+
|
|
37454
|
+
return ContentfulEDHSSessionDeleted;
|
|
37455
|
+
})();
|
|
37456
|
+
|
|
36685
37457
|
$root.ContentfulContentModelCreated = (function() {
|
|
36686
37458
|
|
|
36687
37459
|
/**
|
|
@@ -55298,6 +56070,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
55298
56070
|
case 4:
|
|
55299
56071
|
case 5:
|
|
55300
56072
|
case 6:
|
|
56073
|
+
case 7:
|
|
55301
56074
|
break;
|
|
55302
56075
|
}
|
|
55303
56076
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
@@ -55443,6 +56216,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
55443
56216
|
case 6:
|
|
55444
56217
|
message.reason = 6;
|
|
55445
56218
|
break;
|
|
56219
|
+
case "REMOVAL_REASON_SSO_ACCOUNT_UNLINK":
|
|
56220
|
+
case 7:
|
|
56221
|
+
message.reason = 7;
|
|
56222
|
+
break;
|
|
55446
56223
|
}
|
|
55447
56224
|
if (object.timestamp != null)
|
|
55448
56225
|
if ($util.Long)
|
package/package.json
CHANGED