@headspace/protos-events 1.492.0 → 1.494.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 +302 -6
- package/lib/index.js +733 -15
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -24781,7 +24781,8 @@ export enum ContentType {
|
|
|
24781
24781
|
CONTENT_TYPE_COURSE_ACTIVITY = 15,
|
|
24782
24782
|
CONTENT_TYPE_INTEGRATED_AUDIO = 16,
|
|
24783
24783
|
CONTENT_TYPE_ACTIVITY = 17,
|
|
24784
|
-
CONTENT_TYPE_COLLECTION = 18
|
|
24784
|
+
CONTENT_TYPE_COLLECTION = 18,
|
|
24785
|
+
CONTENT_TYPE_GUIDED_PROGRAM = 19
|
|
24785
24786
|
}
|
|
24786
24787
|
|
|
24787
24788
|
/** Mode enum. */
|
|
@@ -24832,7 +24833,8 @@ export enum ContentTypeDisplayValue {
|
|
|
24832
24833
|
CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SEGMENT = 26,
|
|
24833
24834
|
CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION = 27,
|
|
24834
24835
|
CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT = 28,
|
|
24835
|
-
CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT = 29
|
|
24836
|
+
CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT = 29,
|
|
24837
|
+
CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM = 30
|
|
24836
24838
|
}
|
|
24837
24839
|
|
|
24838
24840
|
/** Properties of a ContentPlayedMetadata. */
|
|
@@ -34865,8 +34867,8 @@ export interface IElfProcessingStats {
|
|
|
34865
34867
|
/** ElfProcessingStats statsByOffering */
|
|
34866
34868
|
statsByOffering?: (elf.IElfOfferingProcessingStats[]|null);
|
|
34867
34869
|
|
|
34868
|
-
/** ElfProcessingStats
|
|
34869
|
-
|
|
34870
|
+
/** ElfProcessingStats recordsToBecomeEligible */
|
|
34871
|
+
recordsToBecomeEligible?: (number|null);
|
|
34870
34872
|
}
|
|
34871
34873
|
|
|
34872
34874
|
/** Represents an ElfProcessingStats. */
|
|
@@ -34938,8 +34940,8 @@ export class ElfProcessingStats implements IElfProcessingStats {
|
|
|
34938
34940
|
/** ElfProcessingStats statsByOffering. */
|
|
34939
34941
|
public statsByOffering: elf.IElfOfferingProcessingStats[];
|
|
34940
34942
|
|
|
34941
|
-
/** ElfProcessingStats
|
|
34942
|
-
public
|
|
34943
|
+
/** ElfProcessingStats recordsToBecomeEligible. */
|
|
34944
|
+
public recordsToBecomeEligible: number;
|
|
34943
34945
|
|
|
34944
34946
|
/**
|
|
34945
34947
|
* Creates a new ElfProcessingStats instance using the specified properties.
|
|
@@ -38757,6 +38759,300 @@ export class GoogleSubscriptionExpired implements IGoogleSubscriptionExpired {
|
|
|
38757
38759
|
public toJSON(): { [k: string]: any };
|
|
38758
38760
|
}
|
|
38759
38761
|
|
|
38762
|
+
/** Properties of a GuidedProgramCreated. */
|
|
38763
|
+
export interface IGuidedProgramCreated {
|
|
38764
|
+
|
|
38765
|
+
/** GuidedProgramCreated slug */
|
|
38766
|
+
slug?: (string|null);
|
|
38767
|
+
|
|
38768
|
+
/** GuidedProgramCreated createdAt */
|
|
38769
|
+
createdAt?: (number|Long|null);
|
|
38770
|
+
|
|
38771
|
+
/** GuidedProgramCreated thumbnailMediaId */
|
|
38772
|
+
thumbnailMediaId?: (number|null);
|
|
38773
|
+
}
|
|
38774
|
+
|
|
38775
|
+
/** Represents a GuidedProgramCreated. */
|
|
38776
|
+
export class GuidedProgramCreated implements IGuidedProgramCreated {
|
|
38777
|
+
|
|
38778
|
+
/**
|
|
38779
|
+
* Constructs a new GuidedProgramCreated.
|
|
38780
|
+
* @param [properties] Properties to set
|
|
38781
|
+
*/
|
|
38782
|
+
constructor(properties?: IGuidedProgramCreated);
|
|
38783
|
+
|
|
38784
|
+
/** GuidedProgramCreated slug. */
|
|
38785
|
+
public slug: string;
|
|
38786
|
+
|
|
38787
|
+
/** GuidedProgramCreated createdAt. */
|
|
38788
|
+
public createdAt: (number|Long);
|
|
38789
|
+
|
|
38790
|
+
/** GuidedProgramCreated thumbnailMediaId. */
|
|
38791
|
+
public thumbnailMediaId: number;
|
|
38792
|
+
|
|
38793
|
+
/**
|
|
38794
|
+
* Creates a new GuidedProgramCreated instance using the specified properties.
|
|
38795
|
+
* @param [properties] Properties to set
|
|
38796
|
+
* @returns GuidedProgramCreated instance
|
|
38797
|
+
*/
|
|
38798
|
+
public static create(properties?: IGuidedProgramCreated): GuidedProgramCreated;
|
|
38799
|
+
|
|
38800
|
+
/**
|
|
38801
|
+
* Encodes the specified GuidedProgramCreated message. Does not implicitly {@link GuidedProgramCreated.verify|verify} messages.
|
|
38802
|
+
* @param message GuidedProgramCreated message or plain object to encode
|
|
38803
|
+
* @param [writer] Writer to encode to
|
|
38804
|
+
* @returns Writer
|
|
38805
|
+
*/
|
|
38806
|
+
public static encode(message: IGuidedProgramCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38807
|
+
|
|
38808
|
+
/**
|
|
38809
|
+
* Encodes the specified GuidedProgramCreated message, length delimited. Does not implicitly {@link GuidedProgramCreated.verify|verify} messages.
|
|
38810
|
+
* @param message GuidedProgramCreated message or plain object to encode
|
|
38811
|
+
* @param [writer] Writer to encode to
|
|
38812
|
+
* @returns Writer
|
|
38813
|
+
*/
|
|
38814
|
+
public static encodeDelimited(message: IGuidedProgramCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38815
|
+
|
|
38816
|
+
/**
|
|
38817
|
+
* Decodes a GuidedProgramCreated message from the specified reader or buffer.
|
|
38818
|
+
* @param reader Reader or buffer to decode from
|
|
38819
|
+
* @param [length] Message length if known beforehand
|
|
38820
|
+
* @returns GuidedProgramCreated
|
|
38821
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38822
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38823
|
+
*/
|
|
38824
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GuidedProgramCreated;
|
|
38825
|
+
|
|
38826
|
+
/**
|
|
38827
|
+
* Decodes a GuidedProgramCreated message from the specified reader or buffer, length delimited.
|
|
38828
|
+
* @param reader Reader or buffer to decode from
|
|
38829
|
+
* @returns GuidedProgramCreated
|
|
38830
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38831
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38832
|
+
*/
|
|
38833
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GuidedProgramCreated;
|
|
38834
|
+
|
|
38835
|
+
/**
|
|
38836
|
+
* Verifies a GuidedProgramCreated message.
|
|
38837
|
+
* @param message Plain object to verify
|
|
38838
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
38839
|
+
*/
|
|
38840
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
38841
|
+
|
|
38842
|
+
/**
|
|
38843
|
+
* Creates a GuidedProgramCreated message from a plain object. Also converts values to their respective internal types.
|
|
38844
|
+
* @param object Plain object
|
|
38845
|
+
* @returns GuidedProgramCreated
|
|
38846
|
+
*/
|
|
38847
|
+
public static fromObject(object: { [k: string]: any }): GuidedProgramCreated;
|
|
38848
|
+
|
|
38849
|
+
/**
|
|
38850
|
+
* Creates a plain object from a GuidedProgramCreated message. Also converts values to other types if specified.
|
|
38851
|
+
* @param message GuidedProgramCreated
|
|
38852
|
+
* @param [options] Conversion options
|
|
38853
|
+
* @returns Plain object
|
|
38854
|
+
*/
|
|
38855
|
+
public static toObject(message: GuidedProgramCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
38856
|
+
|
|
38857
|
+
/**
|
|
38858
|
+
* Converts this GuidedProgramCreated to JSON.
|
|
38859
|
+
* @returns JSON object
|
|
38860
|
+
*/
|
|
38861
|
+
public toJSON(): { [k: string]: any };
|
|
38862
|
+
}
|
|
38863
|
+
|
|
38864
|
+
/** Properties of a GuidedProgramUpdated. */
|
|
38865
|
+
export interface IGuidedProgramUpdated {
|
|
38866
|
+
|
|
38867
|
+
/** GuidedProgramUpdated slug */
|
|
38868
|
+
slug?: (string|null);
|
|
38869
|
+
|
|
38870
|
+
/** GuidedProgramUpdated updatedAt */
|
|
38871
|
+
updatedAt?: (number|Long|null);
|
|
38872
|
+
|
|
38873
|
+
/** GuidedProgramUpdated thumbnailMediaId */
|
|
38874
|
+
thumbnailMediaId?: (number|null);
|
|
38875
|
+
}
|
|
38876
|
+
|
|
38877
|
+
/** Represents a GuidedProgramUpdated. */
|
|
38878
|
+
export class GuidedProgramUpdated implements IGuidedProgramUpdated {
|
|
38879
|
+
|
|
38880
|
+
/**
|
|
38881
|
+
* Constructs a new GuidedProgramUpdated.
|
|
38882
|
+
* @param [properties] Properties to set
|
|
38883
|
+
*/
|
|
38884
|
+
constructor(properties?: IGuidedProgramUpdated);
|
|
38885
|
+
|
|
38886
|
+
/** GuidedProgramUpdated slug. */
|
|
38887
|
+
public slug: string;
|
|
38888
|
+
|
|
38889
|
+
/** GuidedProgramUpdated updatedAt. */
|
|
38890
|
+
public updatedAt: (number|Long);
|
|
38891
|
+
|
|
38892
|
+
/** GuidedProgramUpdated thumbnailMediaId. */
|
|
38893
|
+
public thumbnailMediaId: number;
|
|
38894
|
+
|
|
38895
|
+
/**
|
|
38896
|
+
* Creates a new GuidedProgramUpdated instance using the specified properties.
|
|
38897
|
+
* @param [properties] Properties to set
|
|
38898
|
+
* @returns GuidedProgramUpdated instance
|
|
38899
|
+
*/
|
|
38900
|
+
public static create(properties?: IGuidedProgramUpdated): GuidedProgramUpdated;
|
|
38901
|
+
|
|
38902
|
+
/**
|
|
38903
|
+
* Encodes the specified GuidedProgramUpdated message. Does not implicitly {@link GuidedProgramUpdated.verify|verify} messages.
|
|
38904
|
+
* @param message GuidedProgramUpdated message or plain object to encode
|
|
38905
|
+
* @param [writer] Writer to encode to
|
|
38906
|
+
* @returns Writer
|
|
38907
|
+
*/
|
|
38908
|
+
public static encode(message: IGuidedProgramUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38909
|
+
|
|
38910
|
+
/**
|
|
38911
|
+
* Encodes the specified GuidedProgramUpdated message, length delimited. Does not implicitly {@link GuidedProgramUpdated.verify|verify} messages.
|
|
38912
|
+
* @param message GuidedProgramUpdated message or plain object to encode
|
|
38913
|
+
* @param [writer] Writer to encode to
|
|
38914
|
+
* @returns Writer
|
|
38915
|
+
*/
|
|
38916
|
+
public static encodeDelimited(message: IGuidedProgramUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38917
|
+
|
|
38918
|
+
/**
|
|
38919
|
+
* Decodes a GuidedProgramUpdated message from the specified reader or buffer.
|
|
38920
|
+
* @param reader Reader or buffer to decode from
|
|
38921
|
+
* @param [length] Message length if known beforehand
|
|
38922
|
+
* @returns GuidedProgramUpdated
|
|
38923
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38924
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38925
|
+
*/
|
|
38926
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GuidedProgramUpdated;
|
|
38927
|
+
|
|
38928
|
+
/**
|
|
38929
|
+
* Decodes a GuidedProgramUpdated message from the specified reader or buffer, length delimited.
|
|
38930
|
+
* @param reader Reader or buffer to decode from
|
|
38931
|
+
* @returns GuidedProgramUpdated
|
|
38932
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38933
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38934
|
+
*/
|
|
38935
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GuidedProgramUpdated;
|
|
38936
|
+
|
|
38937
|
+
/**
|
|
38938
|
+
* Verifies a GuidedProgramUpdated message.
|
|
38939
|
+
* @param message Plain object to verify
|
|
38940
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
38941
|
+
*/
|
|
38942
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
38943
|
+
|
|
38944
|
+
/**
|
|
38945
|
+
* Creates a GuidedProgramUpdated message from a plain object. Also converts values to their respective internal types.
|
|
38946
|
+
* @param object Plain object
|
|
38947
|
+
* @returns GuidedProgramUpdated
|
|
38948
|
+
*/
|
|
38949
|
+
public static fromObject(object: { [k: string]: any }): GuidedProgramUpdated;
|
|
38950
|
+
|
|
38951
|
+
/**
|
|
38952
|
+
* Creates a plain object from a GuidedProgramUpdated message. Also converts values to other types if specified.
|
|
38953
|
+
* @param message GuidedProgramUpdated
|
|
38954
|
+
* @param [options] Conversion options
|
|
38955
|
+
* @returns Plain object
|
|
38956
|
+
*/
|
|
38957
|
+
public static toObject(message: GuidedProgramUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
38958
|
+
|
|
38959
|
+
/**
|
|
38960
|
+
* Converts this GuidedProgramUpdated to JSON.
|
|
38961
|
+
* @returns JSON object
|
|
38962
|
+
*/
|
|
38963
|
+
public toJSON(): { [k: string]: any };
|
|
38964
|
+
}
|
|
38965
|
+
|
|
38966
|
+
/** Properties of a GuidedProgramDeleted. */
|
|
38967
|
+
export interface IGuidedProgramDeleted {
|
|
38968
|
+
|
|
38969
|
+
/** GuidedProgramDeleted slug */
|
|
38970
|
+
slug?: (string|null);
|
|
38971
|
+
}
|
|
38972
|
+
|
|
38973
|
+
/** Represents a GuidedProgramDeleted. */
|
|
38974
|
+
export class GuidedProgramDeleted implements IGuidedProgramDeleted {
|
|
38975
|
+
|
|
38976
|
+
/**
|
|
38977
|
+
* Constructs a new GuidedProgramDeleted.
|
|
38978
|
+
* @param [properties] Properties to set
|
|
38979
|
+
*/
|
|
38980
|
+
constructor(properties?: IGuidedProgramDeleted);
|
|
38981
|
+
|
|
38982
|
+
/** GuidedProgramDeleted slug. */
|
|
38983
|
+
public slug: string;
|
|
38984
|
+
|
|
38985
|
+
/**
|
|
38986
|
+
* Creates a new GuidedProgramDeleted instance using the specified properties.
|
|
38987
|
+
* @param [properties] Properties to set
|
|
38988
|
+
* @returns GuidedProgramDeleted instance
|
|
38989
|
+
*/
|
|
38990
|
+
public static create(properties?: IGuidedProgramDeleted): GuidedProgramDeleted;
|
|
38991
|
+
|
|
38992
|
+
/**
|
|
38993
|
+
* Encodes the specified GuidedProgramDeleted message. Does not implicitly {@link GuidedProgramDeleted.verify|verify} messages.
|
|
38994
|
+
* @param message GuidedProgramDeleted message or plain object to encode
|
|
38995
|
+
* @param [writer] Writer to encode to
|
|
38996
|
+
* @returns Writer
|
|
38997
|
+
*/
|
|
38998
|
+
public static encode(message: IGuidedProgramDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38999
|
+
|
|
39000
|
+
/**
|
|
39001
|
+
* Encodes the specified GuidedProgramDeleted message, length delimited. Does not implicitly {@link GuidedProgramDeleted.verify|verify} messages.
|
|
39002
|
+
* @param message GuidedProgramDeleted message or plain object to encode
|
|
39003
|
+
* @param [writer] Writer to encode to
|
|
39004
|
+
* @returns Writer
|
|
39005
|
+
*/
|
|
39006
|
+
public static encodeDelimited(message: IGuidedProgramDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
39007
|
+
|
|
39008
|
+
/**
|
|
39009
|
+
* Decodes a GuidedProgramDeleted message from the specified reader or buffer.
|
|
39010
|
+
* @param reader Reader or buffer to decode from
|
|
39011
|
+
* @param [length] Message length if known beforehand
|
|
39012
|
+
* @returns GuidedProgramDeleted
|
|
39013
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39014
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39015
|
+
*/
|
|
39016
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GuidedProgramDeleted;
|
|
39017
|
+
|
|
39018
|
+
/**
|
|
39019
|
+
* Decodes a GuidedProgramDeleted message from the specified reader or buffer, length delimited.
|
|
39020
|
+
* @param reader Reader or buffer to decode from
|
|
39021
|
+
* @returns GuidedProgramDeleted
|
|
39022
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39023
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39024
|
+
*/
|
|
39025
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GuidedProgramDeleted;
|
|
39026
|
+
|
|
39027
|
+
/**
|
|
39028
|
+
* Verifies a GuidedProgramDeleted message.
|
|
39029
|
+
* @param message Plain object to verify
|
|
39030
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
39031
|
+
*/
|
|
39032
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
39033
|
+
|
|
39034
|
+
/**
|
|
39035
|
+
* Creates a GuidedProgramDeleted message from a plain object. Also converts values to their respective internal types.
|
|
39036
|
+
* @param object Plain object
|
|
39037
|
+
* @returns GuidedProgramDeleted
|
|
39038
|
+
*/
|
|
39039
|
+
public static fromObject(object: { [k: string]: any }): GuidedProgramDeleted;
|
|
39040
|
+
|
|
39041
|
+
/**
|
|
39042
|
+
* Creates a plain object from a GuidedProgramDeleted message. Also converts values to other types if specified.
|
|
39043
|
+
* @param message GuidedProgramDeleted
|
|
39044
|
+
* @param [options] Conversion options
|
|
39045
|
+
* @returns Plain object
|
|
39046
|
+
*/
|
|
39047
|
+
public static toObject(message: GuidedProgramDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
39048
|
+
|
|
39049
|
+
/**
|
|
39050
|
+
* Converts this GuidedProgramDeleted to JSON.
|
|
39051
|
+
* @returns JSON object
|
|
39052
|
+
*/
|
|
39053
|
+
public toJSON(): { [k: string]: any };
|
|
39054
|
+
}
|
|
39055
|
+
|
|
38760
39056
|
/** Properties of a LayoutCreated. */
|
|
38761
39057
|
export interface ILayoutCreated {
|
|
38762
39058
|
|
package/lib/index.js
CHANGED
|
@@ -67518,6 +67518,7 @@ $root.ContentPlayed = (function() {
|
|
|
67518
67518
|
case 16:
|
|
67519
67519
|
case 17:
|
|
67520
67520
|
case 18:
|
|
67521
|
+
case 19:
|
|
67521
67522
|
break;
|
|
67522
67523
|
}
|
|
67523
67524
|
if (message.mode != null && message.hasOwnProperty("mode"))
|
|
@@ -67642,6 +67643,10 @@ $root.ContentPlayed = (function() {
|
|
|
67642
67643
|
case 18:
|
|
67643
67644
|
message.contentType = 18;
|
|
67644
67645
|
break;
|
|
67646
|
+
case "CONTENT_TYPE_GUIDED_PROGRAM":
|
|
67647
|
+
case 19:
|
|
67648
|
+
message.contentType = 19;
|
|
67649
|
+
break;
|
|
67645
67650
|
}
|
|
67646
67651
|
switch (object.mode) {
|
|
67647
67652
|
case "MODE_UNRECOGNIZED":
|
|
@@ -67988,6 +67993,7 @@ $root.ContentPlayedBatch = (function() {
|
|
|
67988
67993
|
* @property {number} CONTENT_TYPE_INTEGRATED_AUDIO=16 CONTENT_TYPE_INTEGRATED_AUDIO value
|
|
67989
67994
|
* @property {number} CONTENT_TYPE_ACTIVITY=17 CONTENT_TYPE_ACTIVITY value
|
|
67990
67995
|
* @property {number} CONTENT_TYPE_COLLECTION=18 CONTENT_TYPE_COLLECTION value
|
|
67996
|
+
* @property {number} CONTENT_TYPE_GUIDED_PROGRAM=19 CONTENT_TYPE_GUIDED_PROGRAM value
|
|
67991
67997
|
*/
|
|
67992
67998
|
$root.ContentType = (function() {
|
|
67993
67999
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -68010,6 +68016,7 @@ $root.ContentType = (function() {
|
|
|
68010
68016
|
values[valuesById[16] = "CONTENT_TYPE_INTEGRATED_AUDIO"] = 16;
|
|
68011
68017
|
values[valuesById[17] = "CONTENT_TYPE_ACTIVITY"] = 17;
|
|
68012
68018
|
values[valuesById[18] = "CONTENT_TYPE_COLLECTION"] = 18;
|
|
68019
|
+
values[valuesById[19] = "CONTENT_TYPE_GUIDED_PROGRAM"] = 19;
|
|
68013
68020
|
return values;
|
|
68014
68021
|
})();
|
|
68015
68022
|
|
|
@@ -68085,6 +68092,7 @@ $root.ColorTheme = (function() {
|
|
|
68085
68092
|
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION=27 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION value
|
|
68086
68093
|
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT=28 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT value
|
|
68087
68094
|
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT=29 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT value
|
|
68095
|
+
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM=30 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM value
|
|
68088
68096
|
*/
|
|
68089
68097
|
$root.ContentTypeDisplayValue = (function() {
|
|
68090
68098
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -68118,6 +68126,7 @@ $root.ContentTypeDisplayValue = (function() {
|
|
|
68118
68126
|
values[valuesById[27] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION"] = 27;
|
|
68119
68127
|
values[valuesById[28] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT"] = 28;
|
|
68120
68128
|
values[valuesById[29] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT"] = 29;
|
|
68129
|
+
values[valuesById[30] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM"] = 30;
|
|
68121
68130
|
return values;
|
|
68122
68131
|
})();
|
|
68123
68132
|
|
|
@@ -70206,6 +70215,7 @@ $root.ContentEntityCreated = (function() {
|
|
|
70206
70215
|
case 16:
|
|
70207
70216
|
case 17:
|
|
70208
70217
|
case 18:
|
|
70218
|
+
case 19:
|
|
70209
70219
|
break;
|
|
70210
70220
|
}
|
|
70211
70221
|
if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
|
|
@@ -70260,6 +70270,7 @@ $root.ContentEntityCreated = (function() {
|
|
|
70260
70270
|
case 27:
|
|
70261
70271
|
case 28:
|
|
70262
70272
|
case 29:
|
|
70273
|
+
case 30:
|
|
70263
70274
|
break;
|
|
70264
70275
|
}
|
|
70265
70276
|
if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
|
|
@@ -70423,6 +70434,10 @@ $root.ContentEntityCreated = (function() {
|
|
|
70423
70434
|
case 18:
|
|
70424
70435
|
message.contentType = 18;
|
|
70425
70436
|
break;
|
|
70437
|
+
case "CONTENT_TYPE_GUIDED_PROGRAM":
|
|
70438
|
+
case 19:
|
|
70439
|
+
message.contentType = 19;
|
|
70440
|
+
break;
|
|
70426
70441
|
}
|
|
70427
70442
|
switch (object.colorTheme) {
|
|
70428
70443
|
case "COLOR_THEME_UNRECOGNIZED":
|
|
@@ -70565,6 +70580,10 @@ $root.ContentEntityCreated = (function() {
|
|
|
70565
70580
|
case 29:
|
|
70566
70581
|
message.contentTypeDisplayValue = 29;
|
|
70567
70582
|
break;
|
|
70583
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM":
|
|
70584
|
+
case 30:
|
|
70585
|
+
message.contentTypeDisplayValue = 30;
|
|
70586
|
+
break;
|
|
70568
70587
|
}
|
|
70569
70588
|
switch (object.contentInfoScreenTheme) {
|
|
70570
70589
|
case "COLOR_THEME_UNRECOGNIZED":
|
|
@@ -71266,6 +71285,7 @@ $root.ContentEntityUpdated = (function() {
|
|
|
71266
71285
|
case 16:
|
|
71267
71286
|
case 17:
|
|
71268
71287
|
case 18:
|
|
71288
|
+
case 19:
|
|
71269
71289
|
break;
|
|
71270
71290
|
}
|
|
71271
71291
|
if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
|
|
@@ -71320,6 +71340,7 @@ $root.ContentEntityUpdated = (function() {
|
|
|
71320
71340
|
case 27:
|
|
71321
71341
|
case 28:
|
|
71322
71342
|
case 29:
|
|
71343
|
+
case 30:
|
|
71323
71344
|
break;
|
|
71324
71345
|
}
|
|
71325
71346
|
if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
|
|
@@ -71483,6 +71504,10 @@ $root.ContentEntityUpdated = (function() {
|
|
|
71483
71504
|
case 18:
|
|
71484
71505
|
message.contentType = 18;
|
|
71485
71506
|
break;
|
|
71507
|
+
case "CONTENT_TYPE_GUIDED_PROGRAM":
|
|
71508
|
+
case 19:
|
|
71509
|
+
message.contentType = 19;
|
|
71510
|
+
break;
|
|
71486
71511
|
}
|
|
71487
71512
|
switch (object.colorTheme) {
|
|
71488
71513
|
case "COLOR_THEME_UNRECOGNIZED":
|
|
@@ -71625,6 +71650,10 @@ $root.ContentEntityUpdated = (function() {
|
|
|
71625
71650
|
case 29:
|
|
71626
71651
|
message.contentTypeDisplayValue = 29;
|
|
71627
71652
|
break;
|
|
71653
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM":
|
|
71654
|
+
case 30:
|
|
71655
|
+
message.contentTypeDisplayValue = 30;
|
|
71656
|
+
break;
|
|
71628
71657
|
}
|
|
71629
71658
|
switch (object.contentInfoScreenTheme) {
|
|
71630
71659
|
case "COLOR_THEME_UNRECOGNIZED":
|
|
@@ -72326,6 +72355,7 @@ $root.ContentEntityDeleted = (function() {
|
|
|
72326
72355
|
case 16:
|
|
72327
72356
|
case 17:
|
|
72328
72357
|
case 18:
|
|
72358
|
+
case 19:
|
|
72329
72359
|
break;
|
|
72330
72360
|
}
|
|
72331
72361
|
if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
|
|
@@ -72380,6 +72410,7 @@ $root.ContentEntityDeleted = (function() {
|
|
|
72380
72410
|
case 27:
|
|
72381
72411
|
case 28:
|
|
72382
72412
|
case 29:
|
|
72413
|
+
case 30:
|
|
72383
72414
|
break;
|
|
72384
72415
|
}
|
|
72385
72416
|
if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
|
|
@@ -72543,6 +72574,10 @@ $root.ContentEntityDeleted = (function() {
|
|
|
72543
72574
|
case 18:
|
|
72544
72575
|
message.contentType = 18;
|
|
72545
72576
|
break;
|
|
72577
|
+
case "CONTENT_TYPE_GUIDED_PROGRAM":
|
|
72578
|
+
case 19:
|
|
72579
|
+
message.contentType = 19;
|
|
72580
|
+
break;
|
|
72546
72581
|
}
|
|
72547
72582
|
switch (object.colorTheme) {
|
|
72548
72583
|
case "COLOR_THEME_UNRECOGNIZED":
|
|
@@ -72685,6 +72720,10 @@ $root.ContentEntityDeleted = (function() {
|
|
|
72685
72720
|
case 29:
|
|
72686
72721
|
message.contentTypeDisplayValue = 29;
|
|
72687
72722
|
break;
|
|
72723
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM":
|
|
72724
|
+
case 30:
|
|
72725
|
+
message.contentTypeDisplayValue = 30;
|
|
72726
|
+
break;
|
|
72688
72727
|
}
|
|
72689
72728
|
switch (object.contentInfoScreenTheme) {
|
|
72690
72729
|
case "COLOR_THEME_UNRECOGNIZED":
|
|
@@ -96773,7 +96812,7 @@ $root.ElfProcessingStats = (function() {
|
|
|
96773
96812
|
* @property {string|null} [elfErrorsCsvUrl] ElfProcessingStats elfErrorsCsvUrl
|
|
96774
96813
|
* @property {number|null} [recordsUpdated] ElfProcessingStats recordsUpdated
|
|
96775
96814
|
* @property {Array.<elf.IElfOfferingProcessingStats>|null} [statsByOffering] ElfProcessingStats statsByOffering
|
|
96776
|
-
* @property {number|null} [
|
|
96815
|
+
* @property {number|null} [recordsToBecomeEligible] ElfProcessingStats recordsToBecomeEligible
|
|
96777
96816
|
*/
|
|
96778
96817
|
|
|
96779
96818
|
/**
|
|
@@ -96956,12 +96995,12 @@ $root.ElfProcessingStats = (function() {
|
|
|
96956
96995
|
ElfProcessingStats.prototype.statsByOffering = $util.emptyArray;
|
|
96957
96996
|
|
|
96958
96997
|
/**
|
|
96959
|
-
* ElfProcessingStats
|
|
96960
|
-
* @member {number}
|
|
96998
|
+
* ElfProcessingStats recordsToBecomeEligible.
|
|
96999
|
+
* @member {number} recordsToBecomeEligible
|
|
96961
97000
|
* @memberof ElfProcessingStats
|
|
96962
97001
|
* @instance
|
|
96963
97002
|
*/
|
|
96964
|
-
ElfProcessingStats.prototype.
|
|
97003
|
+
ElfProcessingStats.prototype.recordsToBecomeEligible = 0;
|
|
96965
97004
|
|
|
96966
97005
|
/**
|
|
96967
97006
|
* Creates a new ElfProcessingStats instance using the specified properties.
|
|
@@ -97031,8 +97070,8 @@ $root.ElfProcessingStats = (function() {
|
|
|
97031
97070
|
if (message.statsByOffering != null && message.statsByOffering.length)
|
|
97032
97071
|
for (var i = 0; i < message.statsByOffering.length; ++i)
|
|
97033
97072
|
$root.elf.ElfOfferingProcessingStats.encode(message.statsByOffering[i], writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
97034
|
-
if (message.
|
|
97035
|
-
writer.uint32(/* id 22, wireType 0 =*/176).int32(message.
|
|
97073
|
+
if (message.recordsToBecomeEligible != null && message.hasOwnProperty("recordsToBecomeEligible"))
|
|
97074
|
+
writer.uint32(/* id 22, wireType 0 =*/176).int32(message.recordsToBecomeEligible);
|
|
97036
97075
|
return writer;
|
|
97037
97076
|
};
|
|
97038
97077
|
|
|
@@ -97142,7 +97181,7 @@ $root.ElfProcessingStats = (function() {
|
|
|
97142
97181
|
message.statsByOffering.push($root.elf.ElfOfferingProcessingStats.decode(reader, reader.uint32()));
|
|
97143
97182
|
break;
|
|
97144
97183
|
case 22:
|
|
97145
|
-
message.
|
|
97184
|
+
message.recordsToBecomeEligible = reader.int32();
|
|
97146
97185
|
break;
|
|
97147
97186
|
default:
|
|
97148
97187
|
reader.skipType(tag & 7);
|
|
@@ -97262,9 +97301,9 @@ $root.ElfProcessingStats = (function() {
|
|
|
97262
97301
|
return "statsByOffering." + error;
|
|
97263
97302
|
}
|
|
97264
97303
|
}
|
|
97265
|
-
if (message.
|
|
97266
|
-
if (!$util.isInteger(message.
|
|
97267
|
-
return "
|
|
97304
|
+
if (message.recordsToBecomeEligible != null && message.hasOwnProperty("recordsToBecomeEligible"))
|
|
97305
|
+
if (!$util.isInteger(message.recordsToBecomeEligible))
|
|
97306
|
+
return "recordsToBecomeEligible: integer expected";
|
|
97268
97307
|
return null;
|
|
97269
97308
|
};
|
|
97270
97309
|
|
|
@@ -97357,8 +97396,8 @@ $root.ElfProcessingStats = (function() {
|
|
|
97357
97396
|
message.statsByOffering[i] = $root.elf.ElfOfferingProcessingStats.fromObject(object.statsByOffering[i]);
|
|
97358
97397
|
}
|
|
97359
97398
|
}
|
|
97360
|
-
if (object.
|
|
97361
|
-
message.
|
|
97399
|
+
if (object.recordsToBecomeEligible != null)
|
|
97400
|
+
message.recordsToBecomeEligible = object.recordsToBecomeEligible | 0;
|
|
97362
97401
|
return message;
|
|
97363
97402
|
};
|
|
97364
97403
|
|
|
@@ -97408,7 +97447,7 @@ $root.ElfProcessingStats = (function() {
|
|
|
97408
97447
|
object.fileImportedTimestamp = options.longs === String ? "0" : 0;
|
|
97409
97448
|
object.elfErrorsCsvUrl = "";
|
|
97410
97449
|
object.recordsUpdated = 0;
|
|
97411
|
-
object.
|
|
97450
|
+
object.recordsToBecomeEligible = 0;
|
|
97412
97451
|
}
|
|
97413
97452
|
if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
|
|
97414
97453
|
object.headspaceHealthOrgId = message.headspaceHealthOrgId;
|
|
@@ -97469,8 +97508,8 @@ $root.ElfProcessingStats = (function() {
|
|
|
97469
97508
|
for (var j = 0; j < message.statsByOffering.length; ++j)
|
|
97470
97509
|
object.statsByOffering[j] = $root.elf.ElfOfferingProcessingStats.toObject(message.statsByOffering[j], options);
|
|
97471
97510
|
}
|
|
97472
|
-
if (message.
|
|
97473
|
-
object.
|
|
97511
|
+
if (message.recordsToBecomeEligible != null && message.hasOwnProperty("recordsToBecomeEligible"))
|
|
97512
|
+
object.recordsToBecomeEligible = message.recordsToBecomeEligible;
|
|
97474
97513
|
return object;
|
|
97475
97514
|
};
|
|
97476
97515
|
|
|
@@ -109397,6 +109436,685 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
109397
109436
|
return GoogleSubscriptionExpired;
|
|
109398
109437
|
})();
|
|
109399
109438
|
|
|
109439
|
+
$root.GuidedProgramCreated = (function() {
|
|
109440
|
+
|
|
109441
|
+
/**
|
|
109442
|
+
* Properties of a GuidedProgramCreated.
|
|
109443
|
+
* @name IGuidedProgramCreated
|
|
109444
|
+
* @interface IGuidedProgramCreated
|
|
109445
|
+
* @property {string|null} [slug] GuidedProgramCreated slug
|
|
109446
|
+
* @property {number|Long|null} [createdAt] GuidedProgramCreated createdAt
|
|
109447
|
+
* @property {number|null} [thumbnailMediaId] GuidedProgramCreated thumbnailMediaId
|
|
109448
|
+
*/
|
|
109449
|
+
|
|
109450
|
+
/**
|
|
109451
|
+
* Constructs a new GuidedProgramCreated.
|
|
109452
|
+
* @name GuidedProgramCreated
|
|
109453
|
+
* @classdesc Represents a GuidedProgramCreated.
|
|
109454
|
+
* @implements IGuidedProgramCreated
|
|
109455
|
+
* @constructor
|
|
109456
|
+
* @param {IGuidedProgramCreated=} [properties] Properties to set
|
|
109457
|
+
*/
|
|
109458
|
+
function GuidedProgramCreated(properties) {
|
|
109459
|
+
if (properties)
|
|
109460
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
109461
|
+
if (properties[keys[i]] != null)
|
|
109462
|
+
this[keys[i]] = properties[keys[i]];
|
|
109463
|
+
}
|
|
109464
|
+
|
|
109465
|
+
/**
|
|
109466
|
+
* GuidedProgramCreated slug.
|
|
109467
|
+
* @member {string} slug
|
|
109468
|
+
* @memberof GuidedProgramCreated
|
|
109469
|
+
* @instance
|
|
109470
|
+
*/
|
|
109471
|
+
GuidedProgramCreated.prototype.slug = "";
|
|
109472
|
+
|
|
109473
|
+
/**
|
|
109474
|
+
* GuidedProgramCreated createdAt.
|
|
109475
|
+
* @member {number|Long} createdAt
|
|
109476
|
+
* @memberof GuidedProgramCreated
|
|
109477
|
+
* @instance
|
|
109478
|
+
*/
|
|
109479
|
+
GuidedProgramCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
109480
|
+
|
|
109481
|
+
/**
|
|
109482
|
+
* GuidedProgramCreated thumbnailMediaId.
|
|
109483
|
+
* @member {number} thumbnailMediaId
|
|
109484
|
+
* @memberof GuidedProgramCreated
|
|
109485
|
+
* @instance
|
|
109486
|
+
*/
|
|
109487
|
+
GuidedProgramCreated.prototype.thumbnailMediaId = 0;
|
|
109488
|
+
|
|
109489
|
+
/**
|
|
109490
|
+
* Creates a new GuidedProgramCreated instance using the specified properties.
|
|
109491
|
+
* @function create
|
|
109492
|
+
* @memberof GuidedProgramCreated
|
|
109493
|
+
* @static
|
|
109494
|
+
* @param {IGuidedProgramCreated=} [properties] Properties to set
|
|
109495
|
+
* @returns {GuidedProgramCreated} GuidedProgramCreated instance
|
|
109496
|
+
*/
|
|
109497
|
+
GuidedProgramCreated.create = function create(properties) {
|
|
109498
|
+
return new GuidedProgramCreated(properties);
|
|
109499
|
+
};
|
|
109500
|
+
|
|
109501
|
+
/**
|
|
109502
|
+
* Encodes the specified GuidedProgramCreated message. Does not implicitly {@link GuidedProgramCreated.verify|verify} messages.
|
|
109503
|
+
* @function encode
|
|
109504
|
+
* @memberof GuidedProgramCreated
|
|
109505
|
+
* @static
|
|
109506
|
+
* @param {IGuidedProgramCreated} message GuidedProgramCreated message or plain object to encode
|
|
109507
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
109508
|
+
* @returns {$protobuf.Writer} Writer
|
|
109509
|
+
*/
|
|
109510
|
+
GuidedProgramCreated.encode = function encode(message, writer) {
|
|
109511
|
+
if (!writer)
|
|
109512
|
+
writer = $Writer.create();
|
|
109513
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
109514
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
109515
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
109516
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.createdAt);
|
|
109517
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
109518
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.thumbnailMediaId);
|
|
109519
|
+
return writer;
|
|
109520
|
+
};
|
|
109521
|
+
|
|
109522
|
+
/**
|
|
109523
|
+
* Encodes the specified GuidedProgramCreated message, length delimited. Does not implicitly {@link GuidedProgramCreated.verify|verify} messages.
|
|
109524
|
+
* @function encodeDelimited
|
|
109525
|
+
* @memberof GuidedProgramCreated
|
|
109526
|
+
* @static
|
|
109527
|
+
* @param {IGuidedProgramCreated} message GuidedProgramCreated message or plain object to encode
|
|
109528
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
109529
|
+
* @returns {$protobuf.Writer} Writer
|
|
109530
|
+
*/
|
|
109531
|
+
GuidedProgramCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
109532
|
+
return this.encode(message, writer).ldelim();
|
|
109533
|
+
};
|
|
109534
|
+
|
|
109535
|
+
/**
|
|
109536
|
+
* Decodes a GuidedProgramCreated message from the specified reader or buffer.
|
|
109537
|
+
* @function decode
|
|
109538
|
+
* @memberof GuidedProgramCreated
|
|
109539
|
+
* @static
|
|
109540
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
109541
|
+
* @param {number} [length] Message length if known beforehand
|
|
109542
|
+
* @returns {GuidedProgramCreated} GuidedProgramCreated
|
|
109543
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
109544
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
109545
|
+
*/
|
|
109546
|
+
GuidedProgramCreated.decode = function decode(reader, length) {
|
|
109547
|
+
if (!(reader instanceof $Reader))
|
|
109548
|
+
reader = $Reader.create(reader);
|
|
109549
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GuidedProgramCreated();
|
|
109550
|
+
while (reader.pos < end) {
|
|
109551
|
+
var tag = reader.uint32();
|
|
109552
|
+
switch (tag >>> 3) {
|
|
109553
|
+
case 1:
|
|
109554
|
+
message.slug = reader.string();
|
|
109555
|
+
break;
|
|
109556
|
+
case 2:
|
|
109557
|
+
message.createdAt = reader.uint64();
|
|
109558
|
+
break;
|
|
109559
|
+
case 3:
|
|
109560
|
+
message.thumbnailMediaId = reader.uint32();
|
|
109561
|
+
break;
|
|
109562
|
+
default:
|
|
109563
|
+
reader.skipType(tag & 7);
|
|
109564
|
+
break;
|
|
109565
|
+
}
|
|
109566
|
+
}
|
|
109567
|
+
return message;
|
|
109568
|
+
};
|
|
109569
|
+
|
|
109570
|
+
/**
|
|
109571
|
+
* Decodes a GuidedProgramCreated message from the specified reader or buffer, length delimited.
|
|
109572
|
+
* @function decodeDelimited
|
|
109573
|
+
* @memberof GuidedProgramCreated
|
|
109574
|
+
* @static
|
|
109575
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
109576
|
+
* @returns {GuidedProgramCreated} GuidedProgramCreated
|
|
109577
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
109578
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
109579
|
+
*/
|
|
109580
|
+
GuidedProgramCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
109581
|
+
if (!(reader instanceof $Reader))
|
|
109582
|
+
reader = new $Reader(reader);
|
|
109583
|
+
return this.decode(reader, reader.uint32());
|
|
109584
|
+
};
|
|
109585
|
+
|
|
109586
|
+
/**
|
|
109587
|
+
* Verifies a GuidedProgramCreated message.
|
|
109588
|
+
* @function verify
|
|
109589
|
+
* @memberof GuidedProgramCreated
|
|
109590
|
+
* @static
|
|
109591
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
109592
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
109593
|
+
*/
|
|
109594
|
+
GuidedProgramCreated.verify = function verify(message) {
|
|
109595
|
+
if (typeof message !== "object" || message === null)
|
|
109596
|
+
return "object expected";
|
|
109597
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
109598
|
+
if (!$util.isString(message.slug))
|
|
109599
|
+
return "slug: string expected";
|
|
109600
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
109601
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
109602
|
+
return "createdAt: integer|Long expected";
|
|
109603
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
109604
|
+
if (!$util.isInteger(message.thumbnailMediaId))
|
|
109605
|
+
return "thumbnailMediaId: integer expected";
|
|
109606
|
+
return null;
|
|
109607
|
+
};
|
|
109608
|
+
|
|
109609
|
+
/**
|
|
109610
|
+
* Creates a GuidedProgramCreated message from a plain object. Also converts values to their respective internal types.
|
|
109611
|
+
* @function fromObject
|
|
109612
|
+
* @memberof GuidedProgramCreated
|
|
109613
|
+
* @static
|
|
109614
|
+
* @param {Object.<string,*>} object Plain object
|
|
109615
|
+
* @returns {GuidedProgramCreated} GuidedProgramCreated
|
|
109616
|
+
*/
|
|
109617
|
+
GuidedProgramCreated.fromObject = function fromObject(object) {
|
|
109618
|
+
if (object instanceof $root.GuidedProgramCreated)
|
|
109619
|
+
return object;
|
|
109620
|
+
var message = new $root.GuidedProgramCreated();
|
|
109621
|
+
if (object.slug != null)
|
|
109622
|
+
message.slug = String(object.slug);
|
|
109623
|
+
if (object.createdAt != null)
|
|
109624
|
+
if ($util.Long)
|
|
109625
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
109626
|
+
else if (typeof object.createdAt === "string")
|
|
109627
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
109628
|
+
else if (typeof object.createdAt === "number")
|
|
109629
|
+
message.createdAt = object.createdAt;
|
|
109630
|
+
else if (typeof object.createdAt === "object")
|
|
109631
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
109632
|
+
if (object.thumbnailMediaId != null)
|
|
109633
|
+
message.thumbnailMediaId = object.thumbnailMediaId >>> 0;
|
|
109634
|
+
return message;
|
|
109635
|
+
};
|
|
109636
|
+
|
|
109637
|
+
/**
|
|
109638
|
+
* Creates a plain object from a GuidedProgramCreated message. Also converts values to other types if specified.
|
|
109639
|
+
* @function toObject
|
|
109640
|
+
* @memberof GuidedProgramCreated
|
|
109641
|
+
* @static
|
|
109642
|
+
* @param {GuidedProgramCreated} message GuidedProgramCreated
|
|
109643
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
109644
|
+
* @returns {Object.<string,*>} Plain object
|
|
109645
|
+
*/
|
|
109646
|
+
GuidedProgramCreated.toObject = function toObject(message, options) {
|
|
109647
|
+
if (!options)
|
|
109648
|
+
options = {};
|
|
109649
|
+
var object = {};
|
|
109650
|
+
if (options.defaults) {
|
|
109651
|
+
object.slug = "";
|
|
109652
|
+
if ($util.Long) {
|
|
109653
|
+
var long = new $util.Long(0, 0, true);
|
|
109654
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
109655
|
+
} else
|
|
109656
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
109657
|
+
object.thumbnailMediaId = 0;
|
|
109658
|
+
}
|
|
109659
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
109660
|
+
object.slug = message.slug;
|
|
109661
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
109662
|
+
if (typeof message.createdAt === "number")
|
|
109663
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
109664
|
+
else
|
|
109665
|
+
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;
|
|
109666
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
109667
|
+
object.thumbnailMediaId = message.thumbnailMediaId;
|
|
109668
|
+
return object;
|
|
109669
|
+
};
|
|
109670
|
+
|
|
109671
|
+
/**
|
|
109672
|
+
* Converts this GuidedProgramCreated to JSON.
|
|
109673
|
+
* @function toJSON
|
|
109674
|
+
* @memberof GuidedProgramCreated
|
|
109675
|
+
* @instance
|
|
109676
|
+
* @returns {Object.<string,*>} JSON object
|
|
109677
|
+
*/
|
|
109678
|
+
GuidedProgramCreated.prototype.toJSON = function toJSON() {
|
|
109679
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
109680
|
+
};
|
|
109681
|
+
|
|
109682
|
+
return GuidedProgramCreated;
|
|
109683
|
+
})();
|
|
109684
|
+
|
|
109685
|
+
$root.GuidedProgramUpdated = (function() {
|
|
109686
|
+
|
|
109687
|
+
/**
|
|
109688
|
+
* Properties of a GuidedProgramUpdated.
|
|
109689
|
+
* @name IGuidedProgramUpdated
|
|
109690
|
+
* @interface IGuidedProgramUpdated
|
|
109691
|
+
* @property {string|null} [slug] GuidedProgramUpdated slug
|
|
109692
|
+
* @property {number|Long|null} [updatedAt] GuidedProgramUpdated updatedAt
|
|
109693
|
+
* @property {number|null} [thumbnailMediaId] GuidedProgramUpdated thumbnailMediaId
|
|
109694
|
+
*/
|
|
109695
|
+
|
|
109696
|
+
/**
|
|
109697
|
+
* Constructs a new GuidedProgramUpdated.
|
|
109698
|
+
* @name GuidedProgramUpdated
|
|
109699
|
+
* @classdesc Represents a GuidedProgramUpdated.
|
|
109700
|
+
* @implements IGuidedProgramUpdated
|
|
109701
|
+
* @constructor
|
|
109702
|
+
* @param {IGuidedProgramUpdated=} [properties] Properties to set
|
|
109703
|
+
*/
|
|
109704
|
+
function GuidedProgramUpdated(properties) {
|
|
109705
|
+
if (properties)
|
|
109706
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
109707
|
+
if (properties[keys[i]] != null)
|
|
109708
|
+
this[keys[i]] = properties[keys[i]];
|
|
109709
|
+
}
|
|
109710
|
+
|
|
109711
|
+
/**
|
|
109712
|
+
* GuidedProgramUpdated slug.
|
|
109713
|
+
* @member {string} slug
|
|
109714
|
+
* @memberof GuidedProgramUpdated
|
|
109715
|
+
* @instance
|
|
109716
|
+
*/
|
|
109717
|
+
GuidedProgramUpdated.prototype.slug = "";
|
|
109718
|
+
|
|
109719
|
+
/**
|
|
109720
|
+
* GuidedProgramUpdated updatedAt.
|
|
109721
|
+
* @member {number|Long} updatedAt
|
|
109722
|
+
* @memberof GuidedProgramUpdated
|
|
109723
|
+
* @instance
|
|
109724
|
+
*/
|
|
109725
|
+
GuidedProgramUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
109726
|
+
|
|
109727
|
+
/**
|
|
109728
|
+
* GuidedProgramUpdated thumbnailMediaId.
|
|
109729
|
+
* @member {number} thumbnailMediaId
|
|
109730
|
+
* @memberof GuidedProgramUpdated
|
|
109731
|
+
* @instance
|
|
109732
|
+
*/
|
|
109733
|
+
GuidedProgramUpdated.prototype.thumbnailMediaId = 0;
|
|
109734
|
+
|
|
109735
|
+
/**
|
|
109736
|
+
* Creates a new GuidedProgramUpdated instance using the specified properties.
|
|
109737
|
+
* @function create
|
|
109738
|
+
* @memberof GuidedProgramUpdated
|
|
109739
|
+
* @static
|
|
109740
|
+
* @param {IGuidedProgramUpdated=} [properties] Properties to set
|
|
109741
|
+
* @returns {GuidedProgramUpdated} GuidedProgramUpdated instance
|
|
109742
|
+
*/
|
|
109743
|
+
GuidedProgramUpdated.create = function create(properties) {
|
|
109744
|
+
return new GuidedProgramUpdated(properties);
|
|
109745
|
+
};
|
|
109746
|
+
|
|
109747
|
+
/**
|
|
109748
|
+
* Encodes the specified GuidedProgramUpdated message. Does not implicitly {@link GuidedProgramUpdated.verify|verify} messages.
|
|
109749
|
+
* @function encode
|
|
109750
|
+
* @memberof GuidedProgramUpdated
|
|
109751
|
+
* @static
|
|
109752
|
+
* @param {IGuidedProgramUpdated} message GuidedProgramUpdated message or plain object to encode
|
|
109753
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
109754
|
+
* @returns {$protobuf.Writer} Writer
|
|
109755
|
+
*/
|
|
109756
|
+
GuidedProgramUpdated.encode = function encode(message, writer) {
|
|
109757
|
+
if (!writer)
|
|
109758
|
+
writer = $Writer.create();
|
|
109759
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
109760
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
109761
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
109762
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.updatedAt);
|
|
109763
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
109764
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.thumbnailMediaId);
|
|
109765
|
+
return writer;
|
|
109766
|
+
};
|
|
109767
|
+
|
|
109768
|
+
/**
|
|
109769
|
+
* Encodes the specified GuidedProgramUpdated message, length delimited. Does not implicitly {@link GuidedProgramUpdated.verify|verify} messages.
|
|
109770
|
+
* @function encodeDelimited
|
|
109771
|
+
* @memberof GuidedProgramUpdated
|
|
109772
|
+
* @static
|
|
109773
|
+
* @param {IGuidedProgramUpdated} message GuidedProgramUpdated message or plain object to encode
|
|
109774
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
109775
|
+
* @returns {$protobuf.Writer} Writer
|
|
109776
|
+
*/
|
|
109777
|
+
GuidedProgramUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
109778
|
+
return this.encode(message, writer).ldelim();
|
|
109779
|
+
};
|
|
109780
|
+
|
|
109781
|
+
/**
|
|
109782
|
+
* Decodes a GuidedProgramUpdated message from the specified reader or buffer.
|
|
109783
|
+
* @function decode
|
|
109784
|
+
* @memberof GuidedProgramUpdated
|
|
109785
|
+
* @static
|
|
109786
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
109787
|
+
* @param {number} [length] Message length if known beforehand
|
|
109788
|
+
* @returns {GuidedProgramUpdated} GuidedProgramUpdated
|
|
109789
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
109790
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
109791
|
+
*/
|
|
109792
|
+
GuidedProgramUpdated.decode = function decode(reader, length) {
|
|
109793
|
+
if (!(reader instanceof $Reader))
|
|
109794
|
+
reader = $Reader.create(reader);
|
|
109795
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GuidedProgramUpdated();
|
|
109796
|
+
while (reader.pos < end) {
|
|
109797
|
+
var tag = reader.uint32();
|
|
109798
|
+
switch (tag >>> 3) {
|
|
109799
|
+
case 1:
|
|
109800
|
+
message.slug = reader.string();
|
|
109801
|
+
break;
|
|
109802
|
+
case 2:
|
|
109803
|
+
message.updatedAt = reader.uint64();
|
|
109804
|
+
break;
|
|
109805
|
+
case 3:
|
|
109806
|
+
message.thumbnailMediaId = reader.uint32();
|
|
109807
|
+
break;
|
|
109808
|
+
default:
|
|
109809
|
+
reader.skipType(tag & 7);
|
|
109810
|
+
break;
|
|
109811
|
+
}
|
|
109812
|
+
}
|
|
109813
|
+
return message;
|
|
109814
|
+
};
|
|
109815
|
+
|
|
109816
|
+
/**
|
|
109817
|
+
* Decodes a GuidedProgramUpdated message from the specified reader or buffer, length delimited.
|
|
109818
|
+
* @function decodeDelimited
|
|
109819
|
+
* @memberof GuidedProgramUpdated
|
|
109820
|
+
* @static
|
|
109821
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
109822
|
+
* @returns {GuidedProgramUpdated} GuidedProgramUpdated
|
|
109823
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
109824
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
109825
|
+
*/
|
|
109826
|
+
GuidedProgramUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
109827
|
+
if (!(reader instanceof $Reader))
|
|
109828
|
+
reader = new $Reader(reader);
|
|
109829
|
+
return this.decode(reader, reader.uint32());
|
|
109830
|
+
};
|
|
109831
|
+
|
|
109832
|
+
/**
|
|
109833
|
+
* Verifies a GuidedProgramUpdated message.
|
|
109834
|
+
* @function verify
|
|
109835
|
+
* @memberof GuidedProgramUpdated
|
|
109836
|
+
* @static
|
|
109837
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
109838
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
109839
|
+
*/
|
|
109840
|
+
GuidedProgramUpdated.verify = function verify(message) {
|
|
109841
|
+
if (typeof message !== "object" || message === null)
|
|
109842
|
+
return "object expected";
|
|
109843
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
109844
|
+
if (!$util.isString(message.slug))
|
|
109845
|
+
return "slug: string expected";
|
|
109846
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
109847
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
109848
|
+
return "updatedAt: integer|Long expected";
|
|
109849
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
109850
|
+
if (!$util.isInteger(message.thumbnailMediaId))
|
|
109851
|
+
return "thumbnailMediaId: integer expected";
|
|
109852
|
+
return null;
|
|
109853
|
+
};
|
|
109854
|
+
|
|
109855
|
+
/**
|
|
109856
|
+
* Creates a GuidedProgramUpdated message from a plain object. Also converts values to their respective internal types.
|
|
109857
|
+
* @function fromObject
|
|
109858
|
+
* @memberof GuidedProgramUpdated
|
|
109859
|
+
* @static
|
|
109860
|
+
* @param {Object.<string,*>} object Plain object
|
|
109861
|
+
* @returns {GuidedProgramUpdated} GuidedProgramUpdated
|
|
109862
|
+
*/
|
|
109863
|
+
GuidedProgramUpdated.fromObject = function fromObject(object) {
|
|
109864
|
+
if (object instanceof $root.GuidedProgramUpdated)
|
|
109865
|
+
return object;
|
|
109866
|
+
var message = new $root.GuidedProgramUpdated();
|
|
109867
|
+
if (object.slug != null)
|
|
109868
|
+
message.slug = String(object.slug);
|
|
109869
|
+
if (object.updatedAt != null)
|
|
109870
|
+
if ($util.Long)
|
|
109871
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
109872
|
+
else if (typeof object.updatedAt === "string")
|
|
109873
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
109874
|
+
else if (typeof object.updatedAt === "number")
|
|
109875
|
+
message.updatedAt = object.updatedAt;
|
|
109876
|
+
else if (typeof object.updatedAt === "object")
|
|
109877
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
109878
|
+
if (object.thumbnailMediaId != null)
|
|
109879
|
+
message.thumbnailMediaId = object.thumbnailMediaId >>> 0;
|
|
109880
|
+
return message;
|
|
109881
|
+
};
|
|
109882
|
+
|
|
109883
|
+
/**
|
|
109884
|
+
* Creates a plain object from a GuidedProgramUpdated message. Also converts values to other types if specified.
|
|
109885
|
+
* @function toObject
|
|
109886
|
+
* @memberof GuidedProgramUpdated
|
|
109887
|
+
* @static
|
|
109888
|
+
* @param {GuidedProgramUpdated} message GuidedProgramUpdated
|
|
109889
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
109890
|
+
* @returns {Object.<string,*>} Plain object
|
|
109891
|
+
*/
|
|
109892
|
+
GuidedProgramUpdated.toObject = function toObject(message, options) {
|
|
109893
|
+
if (!options)
|
|
109894
|
+
options = {};
|
|
109895
|
+
var object = {};
|
|
109896
|
+
if (options.defaults) {
|
|
109897
|
+
object.slug = "";
|
|
109898
|
+
if ($util.Long) {
|
|
109899
|
+
var long = new $util.Long(0, 0, true);
|
|
109900
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
109901
|
+
} else
|
|
109902
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
109903
|
+
object.thumbnailMediaId = 0;
|
|
109904
|
+
}
|
|
109905
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
109906
|
+
object.slug = message.slug;
|
|
109907
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
109908
|
+
if (typeof message.updatedAt === "number")
|
|
109909
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
109910
|
+
else
|
|
109911
|
+
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;
|
|
109912
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
109913
|
+
object.thumbnailMediaId = message.thumbnailMediaId;
|
|
109914
|
+
return object;
|
|
109915
|
+
};
|
|
109916
|
+
|
|
109917
|
+
/**
|
|
109918
|
+
* Converts this GuidedProgramUpdated to JSON.
|
|
109919
|
+
* @function toJSON
|
|
109920
|
+
* @memberof GuidedProgramUpdated
|
|
109921
|
+
* @instance
|
|
109922
|
+
* @returns {Object.<string,*>} JSON object
|
|
109923
|
+
*/
|
|
109924
|
+
GuidedProgramUpdated.prototype.toJSON = function toJSON() {
|
|
109925
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
109926
|
+
};
|
|
109927
|
+
|
|
109928
|
+
return GuidedProgramUpdated;
|
|
109929
|
+
})();
|
|
109930
|
+
|
|
109931
|
+
$root.GuidedProgramDeleted = (function() {
|
|
109932
|
+
|
|
109933
|
+
/**
|
|
109934
|
+
* Properties of a GuidedProgramDeleted.
|
|
109935
|
+
* @name IGuidedProgramDeleted
|
|
109936
|
+
* @interface IGuidedProgramDeleted
|
|
109937
|
+
* @property {string|null} [slug] GuidedProgramDeleted slug
|
|
109938
|
+
*/
|
|
109939
|
+
|
|
109940
|
+
/**
|
|
109941
|
+
* Constructs a new GuidedProgramDeleted.
|
|
109942
|
+
* @name GuidedProgramDeleted
|
|
109943
|
+
* @classdesc Represents a GuidedProgramDeleted.
|
|
109944
|
+
* @implements IGuidedProgramDeleted
|
|
109945
|
+
* @constructor
|
|
109946
|
+
* @param {IGuidedProgramDeleted=} [properties] Properties to set
|
|
109947
|
+
*/
|
|
109948
|
+
function GuidedProgramDeleted(properties) {
|
|
109949
|
+
if (properties)
|
|
109950
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
109951
|
+
if (properties[keys[i]] != null)
|
|
109952
|
+
this[keys[i]] = properties[keys[i]];
|
|
109953
|
+
}
|
|
109954
|
+
|
|
109955
|
+
/**
|
|
109956
|
+
* GuidedProgramDeleted slug.
|
|
109957
|
+
* @member {string} slug
|
|
109958
|
+
* @memberof GuidedProgramDeleted
|
|
109959
|
+
* @instance
|
|
109960
|
+
*/
|
|
109961
|
+
GuidedProgramDeleted.prototype.slug = "";
|
|
109962
|
+
|
|
109963
|
+
/**
|
|
109964
|
+
* Creates a new GuidedProgramDeleted instance using the specified properties.
|
|
109965
|
+
* @function create
|
|
109966
|
+
* @memberof GuidedProgramDeleted
|
|
109967
|
+
* @static
|
|
109968
|
+
* @param {IGuidedProgramDeleted=} [properties] Properties to set
|
|
109969
|
+
* @returns {GuidedProgramDeleted} GuidedProgramDeleted instance
|
|
109970
|
+
*/
|
|
109971
|
+
GuidedProgramDeleted.create = function create(properties) {
|
|
109972
|
+
return new GuidedProgramDeleted(properties);
|
|
109973
|
+
};
|
|
109974
|
+
|
|
109975
|
+
/**
|
|
109976
|
+
* Encodes the specified GuidedProgramDeleted message. Does not implicitly {@link GuidedProgramDeleted.verify|verify} messages.
|
|
109977
|
+
* @function encode
|
|
109978
|
+
* @memberof GuidedProgramDeleted
|
|
109979
|
+
* @static
|
|
109980
|
+
* @param {IGuidedProgramDeleted} message GuidedProgramDeleted message or plain object to encode
|
|
109981
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
109982
|
+
* @returns {$protobuf.Writer} Writer
|
|
109983
|
+
*/
|
|
109984
|
+
GuidedProgramDeleted.encode = function encode(message, writer) {
|
|
109985
|
+
if (!writer)
|
|
109986
|
+
writer = $Writer.create();
|
|
109987
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
109988
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
109989
|
+
return writer;
|
|
109990
|
+
};
|
|
109991
|
+
|
|
109992
|
+
/**
|
|
109993
|
+
* Encodes the specified GuidedProgramDeleted message, length delimited. Does not implicitly {@link GuidedProgramDeleted.verify|verify} messages.
|
|
109994
|
+
* @function encodeDelimited
|
|
109995
|
+
* @memberof GuidedProgramDeleted
|
|
109996
|
+
* @static
|
|
109997
|
+
* @param {IGuidedProgramDeleted} message GuidedProgramDeleted message or plain object to encode
|
|
109998
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
109999
|
+
* @returns {$protobuf.Writer} Writer
|
|
110000
|
+
*/
|
|
110001
|
+
GuidedProgramDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
110002
|
+
return this.encode(message, writer).ldelim();
|
|
110003
|
+
};
|
|
110004
|
+
|
|
110005
|
+
/**
|
|
110006
|
+
* Decodes a GuidedProgramDeleted message from the specified reader or buffer.
|
|
110007
|
+
* @function decode
|
|
110008
|
+
* @memberof GuidedProgramDeleted
|
|
110009
|
+
* @static
|
|
110010
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
110011
|
+
* @param {number} [length] Message length if known beforehand
|
|
110012
|
+
* @returns {GuidedProgramDeleted} GuidedProgramDeleted
|
|
110013
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
110014
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
110015
|
+
*/
|
|
110016
|
+
GuidedProgramDeleted.decode = function decode(reader, length) {
|
|
110017
|
+
if (!(reader instanceof $Reader))
|
|
110018
|
+
reader = $Reader.create(reader);
|
|
110019
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GuidedProgramDeleted();
|
|
110020
|
+
while (reader.pos < end) {
|
|
110021
|
+
var tag = reader.uint32();
|
|
110022
|
+
switch (tag >>> 3) {
|
|
110023
|
+
case 1:
|
|
110024
|
+
message.slug = reader.string();
|
|
110025
|
+
break;
|
|
110026
|
+
default:
|
|
110027
|
+
reader.skipType(tag & 7);
|
|
110028
|
+
break;
|
|
110029
|
+
}
|
|
110030
|
+
}
|
|
110031
|
+
return message;
|
|
110032
|
+
};
|
|
110033
|
+
|
|
110034
|
+
/**
|
|
110035
|
+
* Decodes a GuidedProgramDeleted message from the specified reader or buffer, length delimited.
|
|
110036
|
+
* @function decodeDelimited
|
|
110037
|
+
* @memberof GuidedProgramDeleted
|
|
110038
|
+
* @static
|
|
110039
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
110040
|
+
* @returns {GuidedProgramDeleted} GuidedProgramDeleted
|
|
110041
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
110042
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
110043
|
+
*/
|
|
110044
|
+
GuidedProgramDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
110045
|
+
if (!(reader instanceof $Reader))
|
|
110046
|
+
reader = new $Reader(reader);
|
|
110047
|
+
return this.decode(reader, reader.uint32());
|
|
110048
|
+
};
|
|
110049
|
+
|
|
110050
|
+
/**
|
|
110051
|
+
* Verifies a GuidedProgramDeleted message.
|
|
110052
|
+
* @function verify
|
|
110053
|
+
* @memberof GuidedProgramDeleted
|
|
110054
|
+
* @static
|
|
110055
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
110056
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
110057
|
+
*/
|
|
110058
|
+
GuidedProgramDeleted.verify = function verify(message) {
|
|
110059
|
+
if (typeof message !== "object" || message === null)
|
|
110060
|
+
return "object expected";
|
|
110061
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
110062
|
+
if (!$util.isString(message.slug))
|
|
110063
|
+
return "slug: string expected";
|
|
110064
|
+
return null;
|
|
110065
|
+
};
|
|
110066
|
+
|
|
110067
|
+
/**
|
|
110068
|
+
* Creates a GuidedProgramDeleted message from a plain object. Also converts values to their respective internal types.
|
|
110069
|
+
* @function fromObject
|
|
110070
|
+
* @memberof GuidedProgramDeleted
|
|
110071
|
+
* @static
|
|
110072
|
+
* @param {Object.<string,*>} object Plain object
|
|
110073
|
+
* @returns {GuidedProgramDeleted} GuidedProgramDeleted
|
|
110074
|
+
*/
|
|
110075
|
+
GuidedProgramDeleted.fromObject = function fromObject(object) {
|
|
110076
|
+
if (object instanceof $root.GuidedProgramDeleted)
|
|
110077
|
+
return object;
|
|
110078
|
+
var message = new $root.GuidedProgramDeleted();
|
|
110079
|
+
if (object.slug != null)
|
|
110080
|
+
message.slug = String(object.slug);
|
|
110081
|
+
return message;
|
|
110082
|
+
};
|
|
110083
|
+
|
|
110084
|
+
/**
|
|
110085
|
+
* Creates a plain object from a GuidedProgramDeleted message. Also converts values to other types if specified.
|
|
110086
|
+
* @function toObject
|
|
110087
|
+
* @memberof GuidedProgramDeleted
|
|
110088
|
+
* @static
|
|
110089
|
+
* @param {GuidedProgramDeleted} message GuidedProgramDeleted
|
|
110090
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
110091
|
+
* @returns {Object.<string,*>} Plain object
|
|
110092
|
+
*/
|
|
110093
|
+
GuidedProgramDeleted.toObject = function toObject(message, options) {
|
|
110094
|
+
if (!options)
|
|
110095
|
+
options = {};
|
|
110096
|
+
var object = {};
|
|
110097
|
+
if (options.defaults)
|
|
110098
|
+
object.slug = "";
|
|
110099
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
110100
|
+
object.slug = message.slug;
|
|
110101
|
+
return object;
|
|
110102
|
+
};
|
|
110103
|
+
|
|
110104
|
+
/**
|
|
110105
|
+
* Converts this GuidedProgramDeleted to JSON.
|
|
110106
|
+
* @function toJSON
|
|
110107
|
+
* @memberof GuidedProgramDeleted
|
|
110108
|
+
* @instance
|
|
110109
|
+
* @returns {Object.<string,*>} JSON object
|
|
110110
|
+
*/
|
|
110111
|
+
GuidedProgramDeleted.prototype.toJSON = function toJSON() {
|
|
110112
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
110113
|
+
};
|
|
110114
|
+
|
|
110115
|
+
return GuidedProgramDeleted;
|
|
110116
|
+
})();
|
|
110117
|
+
|
|
109400
110118
|
$root.LayoutCreated = (function() {
|
|
109401
110119
|
|
|
109402
110120
|
/**
|
package/package.json
CHANGED