@headspace/protos-events 1.580.0 → 1.582.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 +178 -70
- package/lib/index.js +423 -125
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -27430,6 +27430,9 @@ export interface ISurveyResponse {
|
|
|
27430
27430
|
|
|
27431
27431
|
/** SurveyResponse id */
|
|
27432
27432
|
id?: (string|null);
|
|
27433
|
+
|
|
27434
|
+
/** SurveyResponse gingerUserId */
|
|
27435
|
+
gingerUserId?: (number|null);
|
|
27433
27436
|
}
|
|
27434
27437
|
|
|
27435
27438
|
/** Represents a SurveyResponse. */
|
|
@@ -27462,6 +27465,9 @@ export class SurveyResponse implements ISurveyResponse {
|
|
|
27462
27465
|
/** SurveyResponse id. */
|
|
27463
27466
|
public id: string;
|
|
27464
27467
|
|
|
27468
|
+
/** SurveyResponse gingerUserId. */
|
|
27469
|
+
public gingerUserId: number;
|
|
27470
|
+
|
|
27465
27471
|
/**
|
|
27466
27472
|
* Creates a new SurveyResponse instance using the specified properties.
|
|
27467
27473
|
* @param [properties] Properties to set
|
|
@@ -32658,205 +32664,307 @@ export class GracefulExitCompleted implements IGracefulExitCompleted {
|
|
|
32658
32664
|
public toJSON(): { [k: string]: any };
|
|
32659
32665
|
}
|
|
32660
32666
|
|
|
32661
|
-
/** Properties of a
|
|
32662
|
-
export interface
|
|
32667
|
+
/** Properties of a B2BPartnerConsentCreated. */
|
|
32668
|
+
export interface IB2BPartnerConsentCreated {
|
|
32669
|
+
|
|
32670
|
+
/** B2BPartnerConsentCreated partnerConsent */
|
|
32671
|
+
partnerConsent?: (b2b.IPartnerConsent|null);
|
|
32672
|
+
|
|
32673
|
+
/** B2BPartnerConsentCreated orgIds */
|
|
32674
|
+
orgIds?: (number[]|null);
|
|
32675
|
+
|
|
32676
|
+
/** B2BPartnerConsentCreated timestamp */
|
|
32677
|
+
timestamp?: (number|Long|null);
|
|
32678
|
+
}
|
|
32679
|
+
|
|
32680
|
+
/** Represents a B2BPartnerConsentCreated. */
|
|
32681
|
+
export class B2BPartnerConsentCreated implements IB2BPartnerConsentCreated {
|
|
32682
|
+
|
|
32683
|
+
/**
|
|
32684
|
+
* Constructs a new B2BPartnerConsentCreated.
|
|
32685
|
+
* @param [properties] Properties to set
|
|
32686
|
+
*/
|
|
32687
|
+
constructor(properties?: IB2BPartnerConsentCreated);
|
|
32688
|
+
|
|
32689
|
+
/** B2BPartnerConsentCreated partnerConsent. */
|
|
32690
|
+
public partnerConsent?: (b2b.IPartnerConsent|null);
|
|
32691
|
+
|
|
32692
|
+
/** B2BPartnerConsentCreated orgIds. */
|
|
32693
|
+
public orgIds: number[];
|
|
32694
|
+
|
|
32695
|
+
/** B2BPartnerConsentCreated timestamp. */
|
|
32696
|
+
public timestamp: (number|Long);
|
|
32697
|
+
|
|
32698
|
+
/**
|
|
32699
|
+
* Creates a new B2BPartnerConsentCreated instance using the specified properties.
|
|
32700
|
+
* @param [properties] Properties to set
|
|
32701
|
+
* @returns B2BPartnerConsentCreated instance
|
|
32702
|
+
*/
|
|
32703
|
+
public static create(properties?: IB2BPartnerConsentCreated): B2BPartnerConsentCreated;
|
|
32704
|
+
|
|
32705
|
+
/**
|
|
32706
|
+
* Encodes the specified B2BPartnerConsentCreated message. Does not implicitly {@link B2BPartnerConsentCreated.verify|verify} messages.
|
|
32707
|
+
* @param message B2BPartnerConsentCreated message or plain object to encode
|
|
32708
|
+
* @param [writer] Writer to encode to
|
|
32709
|
+
* @returns Writer
|
|
32710
|
+
*/
|
|
32711
|
+
public static encode(message: IB2BPartnerConsentCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32712
|
+
|
|
32713
|
+
/**
|
|
32714
|
+
* Encodes the specified B2BPartnerConsentCreated message, length delimited. Does not implicitly {@link B2BPartnerConsentCreated.verify|verify} messages.
|
|
32715
|
+
* @param message B2BPartnerConsentCreated message or plain object to encode
|
|
32716
|
+
* @param [writer] Writer to encode to
|
|
32717
|
+
* @returns Writer
|
|
32718
|
+
*/
|
|
32719
|
+
public static encodeDelimited(message: IB2BPartnerConsentCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32720
|
+
|
|
32721
|
+
/**
|
|
32722
|
+
* Decodes a B2BPartnerConsentCreated message from the specified reader or buffer.
|
|
32723
|
+
* @param reader Reader or buffer to decode from
|
|
32724
|
+
* @param [length] Message length if known beforehand
|
|
32725
|
+
* @returns B2BPartnerConsentCreated
|
|
32726
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32727
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32728
|
+
*/
|
|
32729
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BPartnerConsentCreated;
|
|
32730
|
+
|
|
32731
|
+
/**
|
|
32732
|
+
* Decodes a B2BPartnerConsentCreated message from the specified reader or buffer, length delimited.
|
|
32733
|
+
* @param reader Reader or buffer to decode from
|
|
32734
|
+
* @returns B2BPartnerConsentCreated
|
|
32735
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32736
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32737
|
+
*/
|
|
32738
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BPartnerConsentCreated;
|
|
32739
|
+
|
|
32740
|
+
/**
|
|
32741
|
+
* Verifies a B2BPartnerConsentCreated message.
|
|
32742
|
+
* @param message Plain object to verify
|
|
32743
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
32744
|
+
*/
|
|
32745
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
32746
|
+
|
|
32747
|
+
/**
|
|
32748
|
+
* Creates a B2BPartnerConsentCreated message from a plain object. Also converts values to their respective internal types.
|
|
32749
|
+
* @param object Plain object
|
|
32750
|
+
* @returns B2BPartnerConsentCreated
|
|
32751
|
+
*/
|
|
32752
|
+
public static fromObject(object: { [k: string]: any }): B2BPartnerConsentCreated;
|
|
32753
|
+
|
|
32754
|
+
/**
|
|
32755
|
+
* Creates a plain object from a B2BPartnerConsentCreated message. Also converts values to other types if specified.
|
|
32756
|
+
* @param message B2BPartnerConsentCreated
|
|
32757
|
+
* @param [options] Conversion options
|
|
32758
|
+
* @returns Plain object
|
|
32759
|
+
*/
|
|
32760
|
+
public static toObject(message: B2BPartnerConsentCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32761
|
+
|
|
32762
|
+
/**
|
|
32763
|
+
* Converts this B2BPartnerConsentCreated to JSON.
|
|
32764
|
+
* @returns JSON object
|
|
32765
|
+
*/
|
|
32766
|
+
public toJSON(): { [k: string]: any };
|
|
32767
|
+
}
|
|
32768
|
+
|
|
32769
|
+
/** Properties of a B2BPartnerConsentRequested. */
|
|
32770
|
+
export interface IB2BPartnerConsentRequested {
|
|
32663
32771
|
|
|
32664
|
-
/**
|
|
32772
|
+
/** B2BPartnerConsentRequested partnerConsentId */
|
|
32665
32773
|
partnerConsentId?: (string|null);
|
|
32666
32774
|
|
|
32667
|
-
/**
|
|
32775
|
+
/** B2BPartnerConsentRequested hsUserId */
|
|
32668
32776
|
hsUserId?: (string|null);
|
|
32669
32777
|
|
|
32670
|
-
/**
|
|
32778
|
+
/** B2BPartnerConsentRequested timestamp */
|
|
32671
32779
|
timestamp?: (number|Long|null);
|
|
32672
32780
|
}
|
|
32673
32781
|
|
|
32674
|
-
/** Represents a
|
|
32675
|
-
export class
|
|
32782
|
+
/** Represents a B2BPartnerConsentRequested. */
|
|
32783
|
+
export class B2BPartnerConsentRequested implements IB2BPartnerConsentRequested {
|
|
32676
32784
|
|
|
32677
32785
|
/**
|
|
32678
|
-
* Constructs a new
|
|
32786
|
+
* Constructs a new B2BPartnerConsentRequested.
|
|
32679
32787
|
* @param [properties] Properties to set
|
|
32680
32788
|
*/
|
|
32681
|
-
constructor(properties?:
|
|
32789
|
+
constructor(properties?: IB2BPartnerConsentRequested);
|
|
32682
32790
|
|
|
32683
|
-
/**
|
|
32791
|
+
/** B2BPartnerConsentRequested partnerConsentId. */
|
|
32684
32792
|
public partnerConsentId: string;
|
|
32685
32793
|
|
|
32686
|
-
/**
|
|
32794
|
+
/** B2BPartnerConsentRequested hsUserId. */
|
|
32687
32795
|
public hsUserId: string;
|
|
32688
32796
|
|
|
32689
|
-
/**
|
|
32797
|
+
/** B2BPartnerConsentRequested timestamp. */
|
|
32690
32798
|
public timestamp: (number|Long);
|
|
32691
32799
|
|
|
32692
32800
|
/**
|
|
32693
|
-
* Creates a new
|
|
32801
|
+
* Creates a new B2BPartnerConsentRequested instance using the specified properties.
|
|
32694
32802
|
* @param [properties] Properties to set
|
|
32695
|
-
* @returns
|
|
32803
|
+
* @returns B2BPartnerConsentRequested instance
|
|
32696
32804
|
*/
|
|
32697
|
-
public static create(properties?:
|
|
32805
|
+
public static create(properties?: IB2BPartnerConsentRequested): B2BPartnerConsentRequested;
|
|
32698
32806
|
|
|
32699
32807
|
/**
|
|
32700
|
-
* Encodes the specified
|
|
32701
|
-
* @param message
|
|
32808
|
+
* Encodes the specified B2BPartnerConsentRequested message. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
|
|
32809
|
+
* @param message B2BPartnerConsentRequested message or plain object to encode
|
|
32702
32810
|
* @param [writer] Writer to encode to
|
|
32703
32811
|
* @returns Writer
|
|
32704
32812
|
*/
|
|
32705
|
-
public static encode(message:
|
|
32813
|
+
public static encode(message: IB2BPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32706
32814
|
|
|
32707
32815
|
/**
|
|
32708
|
-
* Encodes the specified
|
|
32709
|
-
* @param message
|
|
32816
|
+
* Encodes the specified B2BPartnerConsentRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
|
|
32817
|
+
* @param message B2BPartnerConsentRequested message or plain object to encode
|
|
32710
32818
|
* @param [writer] Writer to encode to
|
|
32711
32819
|
* @returns Writer
|
|
32712
32820
|
*/
|
|
32713
|
-
public static encodeDelimited(message:
|
|
32821
|
+
public static encodeDelimited(message: IB2BPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32714
32822
|
|
|
32715
32823
|
/**
|
|
32716
|
-
* Decodes a
|
|
32824
|
+
* Decodes a B2BPartnerConsentRequested message from the specified reader or buffer.
|
|
32717
32825
|
* @param reader Reader or buffer to decode from
|
|
32718
32826
|
* @param [length] Message length if known beforehand
|
|
32719
|
-
* @returns
|
|
32827
|
+
* @returns B2BPartnerConsentRequested
|
|
32720
32828
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32721
32829
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32722
32830
|
*/
|
|
32723
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
32831
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BPartnerConsentRequested;
|
|
32724
32832
|
|
|
32725
32833
|
/**
|
|
32726
|
-
* Decodes a
|
|
32834
|
+
* Decodes a B2BPartnerConsentRequested message from the specified reader or buffer, length delimited.
|
|
32727
32835
|
* @param reader Reader or buffer to decode from
|
|
32728
|
-
* @returns
|
|
32836
|
+
* @returns B2BPartnerConsentRequested
|
|
32729
32837
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32730
32838
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32731
32839
|
*/
|
|
32732
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
32840
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BPartnerConsentRequested;
|
|
32733
32841
|
|
|
32734
32842
|
/**
|
|
32735
|
-
* Verifies a
|
|
32843
|
+
* Verifies a B2BPartnerConsentRequested message.
|
|
32736
32844
|
* @param message Plain object to verify
|
|
32737
32845
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32738
32846
|
*/
|
|
32739
32847
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32740
32848
|
|
|
32741
32849
|
/**
|
|
32742
|
-
* Creates a
|
|
32850
|
+
* Creates a B2BPartnerConsentRequested message from a plain object. Also converts values to their respective internal types.
|
|
32743
32851
|
* @param object Plain object
|
|
32744
|
-
* @returns
|
|
32852
|
+
* @returns B2BPartnerConsentRequested
|
|
32745
32853
|
*/
|
|
32746
|
-
public static fromObject(object: { [k: string]: any }):
|
|
32854
|
+
public static fromObject(object: { [k: string]: any }): B2BPartnerConsentRequested;
|
|
32747
32855
|
|
|
32748
32856
|
/**
|
|
32749
|
-
* Creates a plain object from a
|
|
32750
|
-
* @param message
|
|
32857
|
+
* Creates a plain object from a B2BPartnerConsentRequested message. Also converts values to other types if specified.
|
|
32858
|
+
* @param message B2BPartnerConsentRequested
|
|
32751
32859
|
* @param [options] Conversion options
|
|
32752
32860
|
* @returns Plain object
|
|
32753
32861
|
*/
|
|
32754
|
-
public static toObject(message:
|
|
32862
|
+
public static toObject(message: B2BPartnerConsentRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32755
32863
|
|
|
32756
32864
|
/**
|
|
32757
|
-
* Converts this
|
|
32865
|
+
* Converts this B2BPartnerConsentRequested to JSON.
|
|
32758
32866
|
* @returns JSON object
|
|
32759
32867
|
*/
|
|
32760
32868
|
public toJSON(): { [k: string]: any };
|
|
32761
32869
|
}
|
|
32762
32870
|
|
|
32763
|
-
/** Properties of a
|
|
32764
|
-
export interface
|
|
32871
|
+
/** Properties of a B2BPartnerConsentRemovalRequested. */
|
|
32872
|
+
export interface IB2BPartnerConsentRemovalRequested {
|
|
32765
32873
|
|
|
32766
|
-
/**
|
|
32874
|
+
/** B2BPartnerConsentRemovalRequested partnerConsent */
|
|
32767
32875
|
partnerConsent?: (b2b.IPartnerConsent|null);
|
|
32768
32876
|
|
|
32769
|
-
/**
|
|
32877
|
+
/** B2BPartnerConsentRemovalRequested hsUserId */
|
|
32770
32878
|
hsUserId?: (string|null);
|
|
32771
32879
|
|
|
32772
|
-
/**
|
|
32880
|
+
/** B2BPartnerConsentRemovalRequested timestamp */
|
|
32773
32881
|
timestamp?: (number|Long|null);
|
|
32774
32882
|
}
|
|
32775
32883
|
|
|
32776
|
-
/** Represents a
|
|
32777
|
-
export class
|
|
32884
|
+
/** Represents a B2BPartnerConsentRemovalRequested. */
|
|
32885
|
+
export class B2BPartnerConsentRemovalRequested implements IB2BPartnerConsentRemovalRequested {
|
|
32778
32886
|
|
|
32779
32887
|
/**
|
|
32780
|
-
* Constructs a new
|
|
32888
|
+
* Constructs a new B2BPartnerConsentRemovalRequested.
|
|
32781
32889
|
* @param [properties] Properties to set
|
|
32782
32890
|
*/
|
|
32783
|
-
constructor(properties?:
|
|
32891
|
+
constructor(properties?: IB2BPartnerConsentRemovalRequested);
|
|
32784
32892
|
|
|
32785
|
-
/**
|
|
32893
|
+
/** B2BPartnerConsentRemovalRequested partnerConsent. */
|
|
32786
32894
|
public partnerConsent?: (b2b.IPartnerConsent|null);
|
|
32787
32895
|
|
|
32788
|
-
/**
|
|
32896
|
+
/** B2BPartnerConsentRemovalRequested hsUserId. */
|
|
32789
32897
|
public hsUserId: string;
|
|
32790
32898
|
|
|
32791
|
-
/**
|
|
32899
|
+
/** B2BPartnerConsentRemovalRequested timestamp. */
|
|
32792
32900
|
public timestamp: (number|Long);
|
|
32793
32901
|
|
|
32794
32902
|
/**
|
|
32795
|
-
* Creates a new
|
|
32903
|
+
* Creates a new B2BPartnerConsentRemovalRequested instance using the specified properties.
|
|
32796
32904
|
* @param [properties] Properties to set
|
|
32797
|
-
* @returns
|
|
32905
|
+
* @returns B2BPartnerConsentRemovalRequested instance
|
|
32798
32906
|
*/
|
|
32799
|
-
public static create(properties?:
|
|
32907
|
+
public static create(properties?: IB2BPartnerConsentRemovalRequested): B2BPartnerConsentRemovalRequested;
|
|
32800
32908
|
|
|
32801
32909
|
/**
|
|
32802
|
-
* Encodes the specified
|
|
32803
|
-
* @param message
|
|
32910
|
+
* Encodes the specified B2BPartnerConsentRemovalRequested message. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
|
|
32911
|
+
* @param message B2BPartnerConsentRemovalRequested message or plain object to encode
|
|
32804
32912
|
* @param [writer] Writer to encode to
|
|
32805
32913
|
* @returns Writer
|
|
32806
32914
|
*/
|
|
32807
|
-
public static encode(message:
|
|
32915
|
+
public static encode(message: IB2BPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32808
32916
|
|
|
32809
32917
|
/**
|
|
32810
|
-
* Encodes the specified
|
|
32811
|
-
* @param message
|
|
32918
|
+
* Encodes the specified B2BPartnerConsentRemovalRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
|
|
32919
|
+
* @param message B2BPartnerConsentRemovalRequested message or plain object to encode
|
|
32812
32920
|
* @param [writer] Writer to encode to
|
|
32813
32921
|
* @returns Writer
|
|
32814
32922
|
*/
|
|
32815
|
-
public static encodeDelimited(message:
|
|
32923
|
+
public static encodeDelimited(message: IB2BPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32816
32924
|
|
|
32817
32925
|
/**
|
|
32818
|
-
* Decodes a
|
|
32926
|
+
* Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer.
|
|
32819
32927
|
* @param reader Reader or buffer to decode from
|
|
32820
32928
|
* @param [length] Message length if known beforehand
|
|
32821
|
-
* @returns
|
|
32929
|
+
* @returns B2BPartnerConsentRemovalRequested
|
|
32822
32930
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32823
32931
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32824
32932
|
*/
|
|
32825
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
32933
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BPartnerConsentRemovalRequested;
|
|
32826
32934
|
|
|
32827
32935
|
/**
|
|
32828
|
-
* Decodes a
|
|
32936
|
+
* Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer, length delimited.
|
|
32829
32937
|
* @param reader Reader or buffer to decode from
|
|
32830
|
-
* @returns
|
|
32938
|
+
* @returns B2BPartnerConsentRemovalRequested
|
|
32831
32939
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32832
32940
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32833
32941
|
*/
|
|
32834
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
32942
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BPartnerConsentRemovalRequested;
|
|
32835
32943
|
|
|
32836
32944
|
/**
|
|
32837
|
-
* Verifies a
|
|
32945
|
+
* Verifies a B2BPartnerConsentRemovalRequested message.
|
|
32838
32946
|
* @param message Plain object to verify
|
|
32839
32947
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32840
32948
|
*/
|
|
32841
32949
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32842
32950
|
|
|
32843
32951
|
/**
|
|
32844
|
-
* Creates a
|
|
32952
|
+
* Creates a B2BPartnerConsentRemovalRequested message from a plain object. Also converts values to their respective internal types.
|
|
32845
32953
|
* @param object Plain object
|
|
32846
|
-
* @returns
|
|
32954
|
+
* @returns B2BPartnerConsentRemovalRequested
|
|
32847
32955
|
*/
|
|
32848
|
-
public static fromObject(object: { [k: string]: any }):
|
|
32956
|
+
public static fromObject(object: { [k: string]: any }): B2BPartnerConsentRemovalRequested;
|
|
32849
32957
|
|
|
32850
32958
|
/**
|
|
32851
|
-
* Creates a plain object from a
|
|
32852
|
-
* @param message
|
|
32959
|
+
* Creates a plain object from a B2BPartnerConsentRemovalRequested message. Also converts values to other types if specified.
|
|
32960
|
+
* @param message B2BPartnerConsentRemovalRequested
|
|
32853
32961
|
* @param [options] Conversion options
|
|
32854
32962
|
* @returns Plain object
|
|
32855
32963
|
*/
|
|
32856
|
-
public static toObject(message:
|
|
32964
|
+
public static toObject(message: B2BPartnerConsentRemovalRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32857
32965
|
|
|
32858
32966
|
/**
|
|
32859
|
-
* Converts this
|
|
32967
|
+
* Converts this B2BPartnerConsentRemovalRequested to JSON.
|
|
32860
32968
|
* @returns JSON object
|
|
32861
32969
|
*/
|
|
32862
32970
|
public toJSON(): { [k: string]: any };
|
package/lib/index.js
CHANGED
|
@@ -76562,6 +76562,7 @@ $root.SurveyResponse = (function() {
|
|
|
76562
76562
|
* @property {string|null} [surveyType] SurveyResponse surveyType
|
|
76563
76563
|
* @property {string|null} [reflectionNote] SurveyResponse reflectionNote
|
|
76564
76564
|
* @property {string|null} [id] SurveyResponse id
|
|
76565
|
+
* @property {number|null} [gingerUserId] SurveyResponse gingerUserId
|
|
76565
76566
|
*/
|
|
76566
76567
|
|
|
76567
76568
|
/**
|
|
@@ -76636,6 +76637,14 @@ $root.SurveyResponse = (function() {
|
|
|
76636
76637
|
*/
|
|
76637
76638
|
SurveyResponse.prototype.id = "";
|
|
76638
76639
|
|
|
76640
|
+
/**
|
|
76641
|
+
* SurveyResponse gingerUserId.
|
|
76642
|
+
* @member {number} gingerUserId
|
|
76643
|
+
* @memberof SurveyResponse
|
|
76644
|
+
* @instance
|
|
76645
|
+
*/
|
|
76646
|
+
SurveyResponse.prototype.gingerUserId = 0;
|
|
76647
|
+
|
|
76639
76648
|
/**
|
|
76640
76649
|
* Creates a new SurveyResponse instance using the specified properties.
|
|
76641
76650
|
* @function create
|
|
@@ -76675,6 +76684,8 @@ $root.SurveyResponse = (function() {
|
|
|
76675
76684
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.reflectionNote);
|
|
76676
76685
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
76677
76686
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.id);
|
|
76687
|
+
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
76688
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.gingerUserId);
|
|
76678
76689
|
return writer;
|
|
76679
76690
|
};
|
|
76680
76691
|
|
|
@@ -76732,6 +76743,9 @@ $root.SurveyResponse = (function() {
|
|
|
76732
76743
|
case 7:
|
|
76733
76744
|
message.id = reader.string();
|
|
76734
76745
|
break;
|
|
76746
|
+
case 8:
|
|
76747
|
+
message.gingerUserId = reader.uint32();
|
|
76748
|
+
break;
|
|
76735
76749
|
default:
|
|
76736
76750
|
reader.skipType(tag & 7);
|
|
76737
76751
|
break;
|
|
@@ -76794,6 +76808,9 @@ $root.SurveyResponse = (function() {
|
|
|
76794
76808
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
76795
76809
|
if (!$util.isString(message.id))
|
|
76796
76810
|
return "id: string expected";
|
|
76811
|
+
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
76812
|
+
if (!$util.isInteger(message.gingerUserId))
|
|
76813
|
+
return "gingerUserId: integer expected";
|
|
76797
76814
|
return null;
|
|
76798
76815
|
};
|
|
76799
76816
|
|
|
@@ -76831,6 +76848,8 @@ $root.SurveyResponse = (function() {
|
|
|
76831
76848
|
message.reflectionNote = String(object.reflectionNote);
|
|
76832
76849
|
if (object.id != null)
|
|
76833
76850
|
message.id = String(object.id);
|
|
76851
|
+
if (object.gingerUserId != null)
|
|
76852
|
+
message.gingerUserId = object.gingerUserId >>> 0;
|
|
76834
76853
|
return message;
|
|
76835
76854
|
};
|
|
76836
76855
|
|
|
@@ -76856,6 +76875,7 @@ $root.SurveyResponse = (function() {
|
|
|
76856
76875
|
object.surveyType = "";
|
|
76857
76876
|
object.reflectionNote = "";
|
|
76858
76877
|
object.id = "";
|
|
76878
|
+
object.gingerUserId = 0;
|
|
76859
76879
|
}
|
|
76860
76880
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
76861
76881
|
object.userId = message.userId;
|
|
@@ -76874,6 +76894,8 @@ $root.SurveyResponse = (function() {
|
|
|
76874
76894
|
object.reflectionNote = message.reflectionNote;
|
|
76875
76895
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
76876
76896
|
object.id = message.id;
|
|
76897
|
+
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
76898
|
+
object.gingerUserId = message.gingerUserId;
|
|
76877
76899
|
return object;
|
|
76878
76900
|
};
|
|
76879
76901
|
|
|
@@ -91334,26 +91356,302 @@ $root.GracefulExitCompleted = (function() {
|
|
|
91334
91356
|
return GracefulExitCompleted;
|
|
91335
91357
|
})();
|
|
91336
91358
|
|
|
91337
|
-
$root.
|
|
91359
|
+
$root.B2BPartnerConsentCreated = (function() {
|
|
91360
|
+
|
|
91361
|
+
/**
|
|
91362
|
+
* Properties of a B2BPartnerConsentCreated.
|
|
91363
|
+
* @name IB2BPartnerConsentCreated
|
|
91364
|
+
* @interface IB2BPartnerConsentCreated
|
|
91365
|
+
* @property {b2b.IPartnerConsent|null} [partnerConsent] B2BPartnerConsentCreated partnerConsent
|
|
91366
|
+
* @property {Array.<number>|null} [orgIds] B2BPartnerConsentCreated orgIds
|
|
91367
|
+
* @property {number|Long|null} [timestamp] B2BPartnerConsentCreated timestamp
|
|
91368
|
+
*/
|
|
91369
|
+
|
|
91370
|
+
/**
|
|
91371
|
+
* Constructs a new B2BPartnerConsentCreated.
|
|
91372
|
+
* @name B2BPartnerConsentCreated
|
|
91373
|
+
* @classdesc Represents a B2BPartnerConsentCreated.
|
|
91374
|
+
* @implements IB2BPartnerConsentCreated
|
|
91375
|
+
* @constructor
|
|
91376
|
+
* @param {IB2BPartnerConsentCreated=} [properties] Properties to set
|
|
91377
|
+
*/
|
|
91378
|
+
function B2BPartnerConsentCreated(properties) {
|
|
91379
|
+
this.orgIds = [];
|
|
91380
|
+
if (properties)
|
|
91381
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
91382
|
+
if (properties[keys[i]] != null)
|
|
91383
|
+
this[keys[i]] = properties[keys[i]];
|
|
91384
|
+
}
|
|
91385
|
+
|
|
91386
|
+
/**
|
|
91387
|
+
* B2BPartnerConsentCreated partnerConsent.
|
|
91388
|
+
* @member {b2b.IPartnerConsent|null|undefined} partnerConsent
|
|
91389
|
+
* @memberof B2BPartnerConsentCreated
|
|
91390
|
+
* @instance
|
|
91391
|
+
*/
|
|
91392
|
+
B2BPartnerConsentCreated.prototype.partnerConsent = null;
|
|
91393
|
+
|
|
91394
|
+
/**
|
|
91395
|
+
* B2BPartnerConsentCreated orgIds.
|
|
91396
|
+
* @member {Array.<number>} orgIds
|
|
91397
|
+
* @memberof B2BPartnerConsentCreated
|
|
91398
|
+
* @instance
|
|
91399
|
+
*/
|
|
91400
|
+
B2BPartnerConsentCreated.prototype.orgIds = $util.emptyArray;
|
|
91401
|
+
|
|
91402
|
+
/**
|
|
91403
|
+
* B2BPartnerConsentCreated timestamp.
|
|
91404
|
+
* @member {number|Long} timestamp
|
|
91405
|
+
* @memberof B2BPartnerConsentCreated
|
|
91406
|
+
* @instance
|
|
91407
|
+
*/
|
|
91408
|
+
B2BPartnerConsentCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
91409
|
+
|
|
91410
|
+
/**
|
|
91411
|
+
* Creates a new B2BPartnerConsentCreated instance using the specified properties.
|
|
91412
|
+
* @function create
|
|
91413
|
+
* @memberof B2BPartnerConsentCreated
|
|
91414
|
+
* @static
|
|
91415
|
+
* @param {IB2BPartnerConsentCreated=} [properties] Properties to set
|
|
91416
|
+
* @returns {B2BPartnerConsentCreated} B2BPartnerConsentCreated instance
|
|
91417
|
+
*/
|
|
91418
|
+
B2BPartnerConsentCreated.create = function create(properties) {
|
|
91419
|
+
return new B2BPartnerConsentCreated(properties);
|
|
91420
|
+
};
|
|
91421
|
+
|
|
91422
|
+
/**
|
|
91423
|
+
* Encodes the specified B2BPartnerConsentCreated message. Does not implicitly {@link B2BPartnerConsentCreated.verify|verify} messages.
|
|
91424
|
+
* @function encode
|
|
91425
|
+
* @memberof B2BPartnerConsentCreated
|
|
91426
|
+
* @static
|
|
91427
|
+
* @param {IB2BPartnerConsentCreated} message B2BPartnerConsentCreated message or plain object to encode
|
|
91428
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91429
|
+
* @returns {$protobuf.Writer} Writer
|
|
91430
|
+
*/
|
|
91431
|
+
B2BPartnerConsentCreated.encode = function encode(message, writer) {
|
|
91432
|
+
if (!writer)
|
|
91433
|
+
writer = $Writer.create();
|
|
91434
|
+
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
|
|
91435
|
+
$root.b2b.PartnerConsent.encode(message.partnerConsent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
91436
|
+
if (message.orgIds != null && message.orgIds.length) {
|
|
91437
|
+
writer.uint32(/* id 2, wireType 2 =*/18).fork();
|
|
91438
|
+
for (var i = 0; i < message.orgIds.length; ++i)
|
|
91439
|
+
writer.uint32(message.orgIds[i]);
|
|
91440
|
+
writer.ldelim();
|
|
91441
|
+
}
|
|
91442
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
91443
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
91444
|
+
return writer;
|
|
91445
|
+
};
|
|
91446
|
+
|
|
91447
|
+
/**
|
|
91448
|
+
* Encodes the specified B2BPartnerConsentCreated message, length delimited. Does not implicitly {@link B2BPartnerConsentCreated.verify|verify} messages.
|
|
91449
|
+
* @function encodeDelimited
|
|
91450
|
+
* @memberof B2BPartnerConsentCreated
|
|
91451
|
+
* @static
|
|
91452
|
+
* @param {IB2BPartnerConsentCreated} message B2BPartnerConsentCreated message or plain object to encode
|
|
91453
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91454
|
+
* @returns {$protobuf.Writer} Writer
|
|
91455
|
+
*/
|
|
91456
|
+
B2BPartnerConsentCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
91457
|
+
return this.encode(message, writer).ldelim();
|
|
91458
|
+
};
|
|
91459
|
+
|
|
91460
|
+
/**
|
|
91461
|
+
* Decodes a B2BPartnerConsentCreated message from the specified reader or buffer.
|
|
91462
|
+
* @function decode
|
|
91463
|
+
* @memberof B2BPartnerConsentCreated
|
|
91464
|
+
* @static
|
|
91465
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91466
|
+
* @param {number} [length] Message length if known beforehand
|
|
91467
|
+
* @returns {B2BPartnerConsentCreated} B2BPartnerConsentCreated
|
|
91468
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91469
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91470
|
+
*/
|
|
91471
|
+
B2BPartnerConsentCreated.decode = function decode(reader, length) {
|
|
91472
|
+
if (!(reader instanceof $Reader))
|
|
91473
|
+
reader = $Reader.create(reader);
|
|
91474
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BPartnerConsentCreated();
|
|
91475
|
+
while (reader.pos < end) {
|
|
91476
|
+
var tag = reader.uint32();
|
|
91477
|
+
switch (tag >>> 3) {
|
|
91478
|
+
case 1:
|
|
91479
|
+
message.partnerConsent = $root.b2b.PartnerConsent.decode(reader, reader.uint32());
|
|
91480
|
+
break;
|
|
91481
|
+
case 2:
|
|
91482
|
+
if (!(message.orgIds && message.orgIds.length))
|
|
91483
|
+
message.orgIds = [];
|
|
91484
|
+
if ((tag & 7) === 2) {
|
|
91485
|
+
var end2 = reader.uint32() + reader.pos;
|
|
91486
|
+
while (reader.pos < end2)
|
|
91487
|
+
message.orgIds.push(reader.uint32());
|
|
91488
|
+
} else
|
|
91489
|
+
message.orgIds.push(reader.uint32());
|
|
91490
|
+
break;
|
|
91491
|
+
case 3:
|
|
91492
|
+
message.timestamp = reader.uint64();
|
|
91493
|
+
break;
|
|
91494
|
+
default:
|
|
91495
|
+
reader.skipType(tag & 7);
|
|
91496
|
+
break;
|
|
91497
|
+
}
|
|
91498
|
+
}
|
|
91499
|
+
return message;
|
|
91500
|
+
};
|
|
91501
|
+
|
|
91502
|
+
/**
|
|
91503
|
+
* Decodes a B2BPartnerConsentCreated message from the specified reader or buffer, length delimited.
|
|
91504
|
+
* @function decodeDelimited
|
|
91505
|
+
* @memberof B2BPartnerConsentCreated
|
|
91506
|
+
* @static
|
|
91507
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91508
|
+
* @returns {B2BPartnerConsentCreated} B2BPartnerConsentCreated
|
|
91509
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91510
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91511
|
+
*/
|
|
91512
|
+
B2BPartnerConsentCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
91513
|
+
if (!(reader instanceof $Reader))
|
|
91514
|
+
reader = new $Reader(reader);
|
|
91515
|
+
return this.decode(reader, reader.uint32());
|
|
91516
|
+
};
|
|
91517
|
+
|
|
91518
|
+
/**
|
|
91519
|
+
* Verifies a B2BPartnerConsentCreated message.
|
|
91520
|
+
* @function verify
|
|
91521
|
+
* @memberof B2BPartnerConsentCreated
|
|
91522
|
+
* @static
|
|
91523
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
91524
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
91525
|
+
*/
|
|
91526
|
+
B2BPartnerConsentCreated.verify = function verify(message) {
|
|
91527
|
+
if (typeof message !== "object" || message === null)
|
|
91528
|
+
return "object expected";
|
|
91529
|
+
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent")) {
|
|
91530
|
+
var error = $root.b2b.PartnerConsent.verify(message.partnerConsent);
|
|
91531
|
+
if (error)
|
|
91532
|
+
return "partnerConsent." + error;
|
|
91533
|
+
}
|
|
91534
|
+
if (message.orgIds != null && message.hasOwnProperty("orgIds")) {
|
|
91535
|
+
if (!Array.isArray(message.orgIds))
|
|
91536
|
+
return "orgIds: array expected";
|
|
91537
|
+
for (var i = 0; i < message.orgIds.length; ++i)
|
|
91538
|
+
if (!$util.isInteger(message.orgIds[i]))
|
|
91539
|
+
return "orgIds: integer[] expected";
|
|
91540
|
+
}
|
|
91541
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
91542
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
91543
|
+
return "timestamp: integer|Long expected";
|
|
91544
|
+
return null;
|
|
91545
|
+
};
|
|
91546
|
+
|
|
91547
|
+
/**
|
|
91548
|
+
* Creates a B2BPartnerConsentCreated message from a plain object. Also converts values to their respective internal types.
|
|
91549
|
+
* @function fromObject
|
|
91550
|
+
* @memberof B2BPartnerConsentCreated
|
|
91551
|
+
* @static
|
|
91552
|
+
* @param {Object.<string,*>} object Plain object
|
|
91553
|
+
* @returns {B2BPartnerConsentCreated} B2BPartnerConsentCreated
|
|
91554
|
+
*/
|
|
91555
|
+
B2BPartnerConsentCreated.fromObject = function fromObject(object) {
|
|
91556
|
+
if (object instanceof $root.B2BPartnerConsentCreated)
|
|
91557
|
+
return object;
|
|
91558
|
+
var message = new $root.B2BPartnerConsentCreated();
|
|
91559
|
+
if (object.partnerConsent != null) {
|
|
91560
|
+
if (typeof object.partnerConsent !== "object")
|
|
91561
|
+
throw TypeError(".B2BPartnerConsentCreated.partnerConsent: object expected");
|
|
91562
|
+
message.partnerConsent = $root.b2b.PartnerConsent.fromObject(object.partnerConsent);
|
|
91563
|
+
}
|
|
91564
|
+
if (object.orgIds) {
|
|
91565
|
+
if (!Array.isArray(object.orgIds))
|
|
91566
|
+
throw TypeError(".B2BPartnerConsentCreated.orgIds: array expected");
|
|
91567
|
+
message.orgIds = [];
|
|
91568
|
+
for (var i = 0; i < object.orgIds.length; ++i)
|
|
91569
|
+
message.orgIds[i] = object.orgIds[i] >>> 0;
|
|
91570
|
+
}
|
|
91571
|
+
if (object.timestamp != null)
|
|
91572
|
+
if ($util.Long)
|
|
91573
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
91574
|
+
else if (typeof object.timestamp === "string")
|
|
91575
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
91576
|
+
else if (typeof object.timestamp === "number")
|
|
91577
|
+
message.timestamp = object.timestamp;
|
|
91578
|
+
else if (typeof object.timestamp === "object")
|
|
91579
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
91580
|
+
return message;
|
|
91581
|
+
};
|
|
91582
|
+
|
|
91583
|
+
/**
|
|
91584
|
+
* Creates a plain object from a B2BPartnerConsentCreated message. Also converts values to other types if specified.
|
|
91585
|
+
* @function toObject
|
|
91586
|
+
* @memberof B2BPartnerConsentCreated
|
|
91587
|
+
* @static
|
|
91588
|
+
* @param {B2BPartnerConsentCreated} message B2BPartnerConsentCreated
|
|
91589
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
91590
|
+
* @returns {Object.<string,*>} Plain object
|
|
91591
|
+
*/
|
|
91592
|
+
B2BPartnerConsentCreated.toObject = function toObject(message, options) {
|
|
91593
|
+
if (!options)
|
|
91594
|
+
options = {};
|
|
91595
|
+
var object = {};
|
|
91596
|
+
if (options.arrays || options.defaults)
|
|
91597
|
+
object.orgIds = [];
|
|
91598
|
+
if (options.defaults) {
|
|
91599
|
+
object.partnerConsent = null;
|
|
91600
|
+
if ($util.Long) {
|
|
91601
|
+
var long = new $util.Long(0, 0, true);
|
|
91602
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
91603
|
+
} else
|
|
91604
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
91605
|
+
}
|
|
91606
|
+
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
|
|
91607
|
+
object.partnerConsent = $root.b2b.PartnerConsent.toObject(message.partnerConsent, options);
|
|
91608
|
+
if (message.orgIds && message.orgIds.length) {
|
|
91609
|
+
object.orgIds = [];
|
|
91610
|
+
for (var j = 0; j < message.orgIds.length; ++j)
|
|
91611
|
+
object.orgIds[j] = message.orgIds[j];
|
|
91612
|
+
}
|
|
91613
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
91614
|
+
if (typeof message.timestamp === "number")
|
|
91615
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
91616
|
+
else
|
|
91617
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
91618
|
+
return object;
|
|
91619
|
+
};
|
|
91620
|
+
|
|
91621
|
+
/**
|
|
91622
|
+
* Converts this B2BPartnerConsentCreated to JSON.
|
|
91623
|
+
* @function toJSON
|
|
91624
|
+
* @memberof B2BPartnerConsentCreated
|
|
91625
|
+
* @instance
|
|
91626
|
+
* @returns {Object.<string,*>} JSON object
|
|
91627
|
+
*/
|
|
91628
|
+
B2BPartnerConsentCreated.prototype.toJSON = function toJSON() {
|
|
91629
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
91630
|
+
};
|
|
91631
|
+
|
|
91632
|
+
return B2BPartnerConsentCreated;
|
|
91633
|
+
})();
|
|
91634
|
+
|
|
91635
|
+
$root.B2BPartnerConsentRequested = (function() {
|
|
91338
91636
|
|
|
91339
91637
|
/**
|
|
91340
|
-
* Properties of a
|
|
91341
|
-
* @name
|
|
91342
|
-
* @interface
|
|
91343
|
-
* @property {string|null} [partnerConsentId]
|
|
91344
|
-
* @property {string|null} [hsUserId]
|
|
91345
|
-
* @property {number|Long|null} [timestamp]
|
|
91638
|
+
* Properties of a B2BPartnerConsentRequested.
|
|
91639
|
+
* @name IB2BPartnerConsentRequested
|
|
91640
|
+
* @interface IB2BPartnerConsentRequested
|
|
91641
|
+
* @property {string|null} [partnerConsentId] B2BPartnerConsentRequested partnerConsentId
|
|
91642
|
+
* @property {string|null} [hsUserId] B2BPartnerConsentRequested hsUserId
|
|
91643
|
+
* @property {number|Long|null} [timestamp] B2BPartnerConsentRequested timestamp
|
|
91346
91644
|
*/
|
|
91347
91645
|
|
|
91348
91646
|
/**
|
|
91349
|
-
* Constructs a new
|
|
91350
|
-
* @name
|
|
91351
|
-
* @classdesc Represents a
|
|
91352
|
-
* @implements
|
|
91647
|
+
* Constructs a new B2BPartnerConsentRequested.
|
|
91648
|
+
* @name B2BPartnerConsentRequested
|
|
91649
|
+
* @classdesc Represents a B2BPartnerConsentRequested.
|
|
91650
|
+
* @implements IB2BPartnerConsentRequested
|
|
91353
91651
|
* @constructor
|
|
91354
|
-
* @param {
|
|
91652
|
+
* @param {IB2BPartnerConsentRequested=} [properties] Properties to set
|
|
91355
91653
|
*/
|
|
91356
|
-
function
|
|
91654
|
+
function B2BPartnerConsentRequested(properties) {
|
|
91357
91655
|
if (properties)
|
|
91358
91656
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
91359
91657
|
if (properties[keys[i]] != null)
|
|
@@ -91361,51 +91659,51 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91361
91659
|
}
|
|
91362
91660
|
|
|
91363
91661
|
/**
|
|
91364
|
-
*
|
|
91662
|
+
* B2BPartnerConsentRequested partnerConsentId.
|
|
91365
91663
|
* @member {string} partnerConsentId
|
|
91366
|
-
* @memberof
|
|
91664
|
+
* @memberof B2BPartnerConsentRequested
|
|
91367
91665
|
* @instance
|
|
91368
91666
|
*/
|
|
91369
|
-
|
|
91667
|
+
B2BPartnerConsentRequested.prototype.partnerConsentId = "";
|
|
91370
91668
|
|
|
91371
91669
|
/**
|
|
91372
|
-
*
|
|
91670
|
+
* B2BPartnerConsentRequested hsUserId.
|
|
91373
91671
|
* @member {string} hsUserId
|
|
91374
|
-
* @memberof
|
|
91672
|
+
* @memberof B2BPartnerConsentRequested
|
|
91375
91673
|
* @instance
|
|
91376
91674
|
*/
|
|
91377
|
-
|
|
91675
|
+
B2BPartnerConsentRequested.prototype.hsUserId = "";
|
|
91378
91676
|
|
|
91379
91677
|
/**
|
|
91380
|
-
*
|
|
91678
|
+
* B2BPartnerConsentRequested timestamp.
|
|
91381
91679
|
* @member {number|Long} timestamp
|
|
91382
|
-
* @memberof
|
|
91680
|
+
* @memberof B2BPartnerConsentRequested
|
|
91383
91681
|
* @instance
|
|
91384
91682
|
*/
|
|
91385
|
-
|
|
91683
|
+
B2BPartnerConsentRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
91386
91684
|
|
|
91387
91685
|
/**
|
|
91388
|
-
* Creates a new
|
|
91686
|
+
* Creates a new B2BPartnerConsentRequested instance using the specified properties.
|
|
91389
91687
|
* @function create
|
|
91390
|
-
* @memberof
|
|
91688
|
+
* @memberof B2BPartnerConsentRequested
|
|
91391
91689
|
* @static
|
|
91392
|
-
* @param {
|
|
91393
|
-
* @returns {
|
|
91690
|
+
* @param {IB2BPartnerConsentRequested=} [properties] Properties to set
|
|
91691
|
+
* @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested instance
|
|
91394
91692
|
*/
|
|
91395
|
-
|
|
91396
|
-
return new
|
|
91693
|
+
B2BPartnerConsentRequested.create = function create(properties) {
|
|
91694
|
+
return new B2BPartnerConsentRequested(properties);
|
|
91397
91695
|
};
|
|
91398
91696
|
|
|
91399
91697
|
/**
|
|
91400
|
-
* Encodes the specified
|
|
91698
|
+
* Encodes the specified B2BPartnerConsentRequested message. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
|
|
91401
91699
|
* @function encode
|
|
91402
|
-
* @memberof
|
|
91700
|
+
* @memberof B2BPartnerConsentRequested
|
|
91403
91701
|
* @static
|
|
91404
|
-
* @param {
|
|
91702
|
+
* @param {IB2BPartnerConsentRequested} message B2BPartnerConsentRequested message or plain object to encode
|
|
91405
91703
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91406
91704
|
* @returns {$protobuf.Writer} Writer
|
|
91407
91705
|
*/
|
|
91408
|
-
|
|
91706
|
+
B2BPartnerConsentRequested.encode = function encode(message, writer) {
|
|
91409
91707
|
if (!writer)
|
|
91410
91708
|
writer = $Writer.create();
|
|
91411
91709
|
if (message.partnerConsentId != null && message.hasOwnProperty("partnerConsentId"))
|
|
@@ -91418,33 +91716,33 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91418
91716
|
};
|
|
91419
91717
|
|
|
91420
91718
|
/**
|
|
91421
|
-
* Encodes the specified
|
|
91719
|
+
* Encodes the specified B2BPartnerConsentRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
|
|
91422
91720
|
* @function encodeDelimited
|
|
91423
|
-
* @memberof
|
|
91721
|
+
* @memberof B2BPartnerConsentRequested
|
|
91424
91722
|
* @static
|
|
91425
|
-
* @param {
|
|
91723
|
+
* @param {IB2BPartnerConsentRequested} message B2BPartnerConsentRequested message or plain object to encode
|
|
91426
91724
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91427
91725
|
* @returns {$protobuf.Writer} Writer
|
|
91428
91726
|
*/
|
|
91429
|
-
|
|
91727
|
+
B2BPartnerConsentRequested.encodeDelimited = function encodeDelimited(message, writer) {
|
|
91430
91728
|
return this.encode(message, writer).ldelim();
|
|
91431
91729
|
};
|
|
91432
91730
|
|
|
91433
91731
|
/**
|
|
91434
|
-
* Decodes a
|
|
91732
|
+
* Decodes a B2BPartnerConsentRequested message from the specified reader or buffer.
|
|
91435
91733
|
* @function decode
|
|
91436
|
-
* @memberof
|
|
91734
|
+
* @memberof B2BPartnerConsentRequested
|
|
91437
91735
|
* @static
|
|
91438
91736
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91439
91737
|
* @param {number} [length] Message length if known beforehand
|
|
91440
|
-
* @returns {
|
|
91738
|
+
* @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested
|
|
91441
91739
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91442
91740
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91443
91741
|
*/
|
|
91444
|
-
|
|
91742
|
+
B2BPartnerConsentRequested.decode = function decode(reader, length) {
|
|
91445
91743
|
if (!(reader instanceof $Reader))
|
|
91446
91744
|
reader = $Reader.create(reader);
|
|
91447
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
91745
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BPartnerConsentRequested();
|
|
91448
91746
|
while (reader.pos < end) {
|
|
91449
91747
|
var tag = reader.uint32();
|
|
91450
91748
|
switch (tag >>> 3) {
|
|
@@ -91466,30 +91764,30 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91466
91764
|
};
|
|
91467
91765
|
|
|
91468
91766
|
/**
|
|
91469
|
-
* Decodes a
|
|
91767
|
+
* Decodes a B2BPartnerConsentRequested message from the specified reader or buffer, length delimited.
|
|
91470
91768
|
* @function decodeDelimited
|
|
91471
|
-
* @memberof
|
|
91769
|
+
* @memberof B2BPartnerConsentRequested
|
|
91472
91770
|
* @static
|
|
91473
91771
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91474
|
-
* @returns {
|
|
91772
|
+
* @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested
|
|
91475
91773
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91476
91774
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91477
91775
|
*/
|
|
91478
|
-
|
|
91776
|
+
B2BPartnerConsentRequested.decodeDelimited = function decodeDelimited(reader) {
|
|
91479
91777
|
if (!(reader instanceof $Reader))
|
|
91480
91778
|
reader = new $Reader(reader);
|
|
91481
91779
|
return this.decode(reader, reader.uint32());
|
|
91482
91780
|
};
|
|
91483
91781
|
|
|
91484
91782
|
/**
|
|
91485
|
-
* Verifies a
|
|
91783
|
+
* Verifies a B2BPartnerConsentRequested message.
|
|
91486
91784
|
* @function verify
|
|
91487
|
-
* @memberof
|
|
91785
|
+
* @memberof B2BPartnerConsentRequested
|
|
91488
91786
|
* @static
|
|
91489
91787
|
* @param {Object.<string,*>} message Plain object to verify
|
|
91490
91788
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
91491
91789
|
*/
|
|
91492
|
-
|
|
91790
|
+
B2BPartnerConsentRequested.verify = function verify(message) {
|
|
91493
91791
|
if (typeof message !== "object" || message === null)
|
|
91494
91792
|
return "object expected";
|
|
91495
91793
|
if (message.partnerConsentId != null && message.hasOwnProperty("partnerConsentId"))
|
|
@@ -91505,17 +91803,17 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91505
91803
|
};
|
|
91506
91804
|
|
|
91507
91805
|
/**
|
|
91508
|
-
* Creates a
|
|
91806
|
+
* Creates a B2BPartnerConsentRequested message from a plain object. Also converts values to their respective internal types.
|
|
91509
91807
|
* @function fromObject
|
|
91510
|
-
* @memberof
|
|
91808
|
+
* @memberof B2BPartnerConsentRequested
|
|
91511
91809
|
* @static
|
|
91512
91810
|
* @param {Object.<string,*>} object Plain object
|
|
91513
|
-
* @returns {
|
|
91811
|
+
* @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested
|
|
91514
91812
|
*/
|
|
91515
|
-
|
|
91516
|
-
if (object instanceof $root.
|
|
91813
|
+
B2BPartnerConsentRequested.fromObject = function fromObject(object) {
|
|
91814
|
+
if (object instanceof $root.B2BPartnerConsentRequested)
|
|
91517
91815
|
return object;
|
|
91518
|
-
var message = new $root.
|
|
91816
|
+
var message = new $root.B2BPartnerConsentRequested();
|
|
91519
91817
|
if (object.partnerConsentId != null)
|
|
91520
91818
|
message.partnerConsentId = String(object.partnerConsentId);
|
|
91521
91819
|
if (object.hsUserId != null)
|
|
@@ -91533,15 +91831,15 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91533
91831
|
};
|
|
91534
91832
|
|
|
91535
91833
|
/**
|
|
91536
|
-
* Creates a plain object from a
|
|
91834
|
+
* Creates a plain object from a B2BPartnerConsentRequested message. Also converts values to other types if specified.
|
|
91537
91835
|
* @function toObject
|
|
91538
|
-
* @memberof
|
|
91836
|
+
* @memberof B2BPartnerConsentRequested
|
|
91539
91837
|
* @static
|
|
91540
|
-
* @param {
|
|
91838
|
+
* @param {B2BPartnerConsentRequested} message B2BPartnerConsentRequested
|
|
91541
91839
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
91542
91840
|
* @returns {Object.<string,*>} Plain object
|
|
91543
91841
|
*/
|
|
91544
|
-
|
|
91842
|
+
B2BPartnerConsentRequested.toObject = function toObject(message, options) {
|
|
91545
91843
|
if (!options)
|
|
91546
91844
|
options = {};
|
|
91547
91845
|
var object = {};
|
|
@@ -91567,39 +91865,39 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91567
91865
|
};
|
|
91568
91866
|
|
|
91569
91867
|
/**
|
|
91570
|
-
* Converts this
|
|
91868
|
+
* Converts this B2BPartnerConsentRequested to JSON.
|
|
91571
91869
|
* @function toJSON
|
|
91572
|
-
* @memberof
|
|
91870
|
+
* @memberof B2BPartnerConsentRequested
|
|
91573
91871
|
* @instance
|
|
91574
91872
|
* @returns {Object.<string,*>} JSON object
|
|
91575
91873
|
*/
|
|
91576
|
-
|
|
91874
|
+
B2BPartnerConsentRequested.prototype.toJSON = function toJSON() {
|
|
91577
91875
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
91578
91876
|
};
|
|
91579
91877
|
|
|
91580
|
-
return
|
|
91878
|
+
return B2BPartnerConsentRequested;
|
|
91581
91879
|
})();
|
|
91582
91880
|
|
|
91583
|
-
$root.
|
|
91881
|
+
$root.B2BPartnerConsentRemovalRequested = (function() {
|
|
91584
91882
|
|
|
91585
91883
|
/**
|
|
91586
|
-
* Properties of a
|
|
91587
|
-
* @name
|
|
91588
|
-
* @interface
|
|
91589
|
-
* @property {b2b.IPartnerConsent|null} [partnerConsent]
|
|
91590
|
-
* @property {string|null} [hsUserId]
|
|
91591
|
-
* @property {number|Long|null} [timestamp]
|
|
91884
|
+
* Properties of a B2BPartnerConsentRemovalRequested.
|
|
91885
|
+
* @name IB2BPartnerConsentRemovalRequested
|
|
91886
|
+
* @interface IB2BPartnerConsentRemovalRequested
|
|
91887
|
+
* @property {b2b.IPartnerConsent|null} [partnerConsent] B2BPartnerConsentRemovalRequested partnerConsent
|
|
91888
|
+
* @property {string|null} [hsUserId] B2BPartnerConsentRemovalRequested hsUserId
|
|
91889
|
+
* @property {number|Long|null} [timestamp] B2BPartnerConsentRemovalRequested timestamp
|
|
91592
91890
|
*/
|
|
91593
91891
|
|
|
91594
91892
|
/**
|
|
91595
|
-
* Constructs a new
|
|
91596
|
-
* @name
|
|
91597
|
-
* @classdesc Represents a
|
|
91598
|
-
* @implements
|
|
91893
|
+
* Constructs a new B2BPartnerConsentRemovalRequested.
|
|
91894
|
+
* @name B2BPartnerConsentRemovalRequested
|
|
91895
|
+
* @classdesc Represents a B2BPartnerConsentRemovalRequested.
|
|
91896
|
+
* @implements IB2BPartnerConsentRemovalRequested
|
|
91599
91897
|
* @constructor
|
|
91600
|
-
* @param {
|
|
91898
|
+
* @param {IB2BPartnerConsentRemovalRequested=} [properties] Properties to set
|
|
91601
91899
|
*/
|
|
91602
|
-
function
|
|
91900
|
+
function B2BPartnerConsentRemovalRequested(properties) {
|
|
91603
91901
|
if (properties)
|
|
91604
91902
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
91605
91903
|
if (properties[keys[i]] != null)
|
|
@@ -91607,51 +91905,51 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91607
91905
|
}
|
|
91608
91906
|
|
|
91609
91907
|
/**
|
|
91610
|
-
*
|
|
91908
|
+
* B2BPartnerConsentRemovalRequested partnerConsent.
|
|
91611
91909
|
* @member {b2b.IPartnerConsent|null|undefined} partnerConsent
|
|
91612
|
-
* @memberof
|
|
91910
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91613
91911
|
* @instance
|
|
91614
91912
|
*/
|
|
91615
|
-
|
|
91913
|
+
B2BPartnerConsentRemovalRequested.prototype.partnerConsent = null;
|
|
91616
91914
|
|
|
91617
91915
|
/**
|
|
91618
|
-
*
|
|
91916
|
+
* B2BPartnerConsentRemovalRequested hsUserId.
|
|
91619
91917
|
* @member {string} hsUserId
|
|
91620
|
-
* @memberof
|
|
91918
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91621
91919
|
* @instance
|
|
91622
91920
|
*/
|
|
91623
|
-
|
|
91921
|
+
B2BPartnerConsentRemovalRequested.prototype.hsUserId = "";
|
|
91624
91922
|
|
|
91625
91923
|
/**
|
|
91626
|
-
*
|
|
91924
|
+
* B2BPartnerConsentRemovalRequested timestamp.
|
|
91627
91925
|
* @member {number|Long} timestamp
|
|
91628
|
-
* @memberof
|
|
91926
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91629
91927
|
* @instance
|
|
91630
91928
|
*/
|
|
91631
|
-
|
|
91929
|
+
B2BPartnerConsentRemovalRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
91632
91930
|
|
|
91633
91931
|
/**
|
|
91634
|
-
* Creates a new
|
|
91932
|
+
* Creates a new B2BPartnerConsentRemovalRequested instance using the specified properties.
|
|
91635
91933
|
* @function create
|
|
91636
|
-
* @memberof
|
|
91934
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91637
91935
|
* @static
|
|
91638
|
-
* @param {
|
|
91639
|
-
* @returns {
|
|
91936
|
+
* @param {IB2BPartnerConsentRemovalRequested=} [properties] Properties to set
|
|
91937
|
+
* @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested instance
|
|
91640
91938
|
*/
|
|
91641
|
-
|
|
91642
|
-
return new
|
|
91939
|
+
B2BPartnerConsentRemovalRequested.create = function create(properties) {
|
|
91940
|
+
return new B2BPartnerConsentRemovalRequested(properties);
|
|
91643
91941
|
};
|
|
91644
91942
|
|
|
91645
91943
|
/**
|
|
91646
|
-
* Encodes the specified
|
|
91944
|
+
* Encodes the specified B2BPartnerConsentRemovalRequested message. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
|
|
91647
91945
|
* @function encode
|
|
91648
|
-
* @memberof
|
|
91946
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91649
91947
|
* @static
|
|
91650
|
-
* @param {
|
|
91948
|
+
* @param {IB2BPartnerConsentRemovalRequested} message B2BPartnerConsentRemovalRequested message or plain object to encode
|
|
91651
91949
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91652
91950
|
* @returns {$protobuf.Writer} Writer
|
|
91653
91951
|
*/
|
|
91654
|
-
|
|
91952
|
+
B2BPartnerConsentRemovalRequested.encode = function encode(message, writer) {
|
|
91655
91953
|
if (!writer)
|
|
91656
91954
|
writer = $Writer.create();
|
|
91657
91955
|
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
|
|
@@ -91664,33 +91962,33 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91664
91962
|
};
|
|
91665
91963
|
|
|
91666
91964
|
/**
|
|
91667
|
-
* Encodes the specified
|
|
91965
|
+
* Encodes the specified B2BPartnerConsentRemovalRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
|
|
91668
91966
|
* @function encodeDelimited
|
|
91669
|
-
* @memberof
|
|
91967
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91670
91968
|
* @static
|
|
91671
|
-
* @param {
|
|
91969
|
+
* @param {IB2BPartnerConsentRemovalRequested} message B2BPartnerConsentRemovalRequested message or plain object to encode
|
|
91672
91970
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91673
91971
|
* @returns {$protobuf.Writer} Writer
|
|
91674
91972
|
*/
|
|
91675
|
-
|
|
91973
|
+
B2BPartnerConsentRemovalRequested.encodeDelimited = function encodeDelimited(message, writer) {
|
|
91676
91974
|
return this.encode(message, writer).ldelim();
|
|
91677
91975
|
};
|
|
91678
91976
|
|
|
91679
91977
|
/**
|
|
91680
|
-
* Decodes a
|
|
91978
|
+
* Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer.
|
|
91681
91979
|
* @function decode
|
|
91682
|
-
* @memberof
|
|
91980
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91683
91981
|
* @static
|
|
91684
91982
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91685
91983
|
* @param {number} [length] Message length if known beforehand
|
|
91686
|
-
* @returns {
|
|
91984
|
+
* @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested
|
|
91687
91985
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91688
91986
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91689
91987
|
*/
|
|
91690
|
-
|
|
91988
|
+
B2BPartnerConsentRemovalRequested.decode = function decode(reader, length) {
|
|
91691
91989
|
if (!(reader instanceof $Reader))
|
|
91692
91990
|
reader = $Reader.create(reader);
|
|
91693
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
91991
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BPartnerConsentRemovalRequested();
|
|
91694
91992
|
while (reader.pos < end) {
|
|
91695
91993
|
var tag = reader.uint32();
|
|
91696
91994
|
switch (tag >>> 3) {
|
|
@@ -91712,30 +92010,30 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91712
92010
|
};
|
|
91713
92011
|
|
|
91714
92012
|
/**
|
|
91715
|
-
* Decodes a
|
|
92013
|
+
* Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer, length delimited.
|
|
91716
92014
|
* @function decodeDelimited
|
|
91717
|
-
* @memberof
|
|
92015
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91718
92016
|
* @static
|
|
91719
92017
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91720
|
-
* @returns {
|
|
92018
|
+
* @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested
|
|
91721
92019
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91722
92020
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91723
92021
|
*/
|
|
91724
|
-
|
|
92022
|
+
B2BPartnerConsentRemovalRequested.decodeDelimited = function decodeDelimited(reader) {
|
|
91725
92023
|
if (!(reader instanceof $Reader))
|
|
91726
92024
|
reader = new $Reader(reader);
|
|
91727
92025
|
return this.decode(reader, reader.uint32());
|
|
91728
92026
|
};
|
|
91729
92027
|
|
|
91730
92028
|
/**
|
|
91731
|
-
* Verifies a
|
|
92029
|
+
* Verifies a B2BPartnerConsentRemovalRequested message.
|
|
91732
92030
|
* @function verify
|
|
91733
|
-
* @memberof
|
|
92031
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91734
92032
|
* @static
|
|
91735
92033
|
* @param {Object.<string,*>} message Plain object to verify
|
|
91736
92034
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
91737
92035
|
*/
|
|
91738
|
-
|
|
92036
|
+
B2BPartnerConsentRemovalRequested.verify = function verify(message) {
|
|
91739
92037
|
if (typeof message !== "object" || message === null)
|
|
91740
92038
|
return "object expected";
|
|
91741
92039
|
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent")) {
|
|
@@ -91753,20 +92051,20 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91753
92051
|
};
|
|
91754
92052
|
|
|
91755
92053
|
/**
|
|
91756
|
-
* Creates a
|
|
92054
|
+
* Creates a B2BPartnerConsentRemovalRequested message from a plain object. Also converts values to their respective internal types.
|
|
91757
92055
|
* @function fromObject
|
|
91758
|
-
* @memberof
|
|
92056
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91759
92057
|
* @static
|
|
91760
92058
|
* @param {Object.<string,*>} object Plain object
|
|
91761
|
-
* @returns {
|
|
92059
|
+
* @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested
|
|
91762
92060
|
*/
|
|
91763
|
-
|
|
91764
|
-
if (object instanceof $root.
|
|
92061
|
+
B2BPartnerConsentRemovalRequested.fromObject = function fromObject(object) {
|
|
92062
|
+
if (object instanceof $root.B2BPartnerConsentRemovalRequested)
|
|
91765
92063
|
return object;
|
|
91766
|
-
var message = new $root.
|
|
92064
|
+
var message = new $root.B2BPartnerConsentRemovalRequested();
|
|
91767
92065
|
if (object.partnerConsent != null) {
|
|
91768
92066
|
if (typeof object.partnerConsent !== "object")
|
|
91769
|
-
throw TypeError(".
|
|
92067
|
+
throw TypeError(".B2BPartnerConsentRemovalRequested.partnerConsent: object expected");
|
|
91770
92068
|
message.partnerConsent = $root.b2b.PartnerConsent.fromObject(object.partnerConsent);
|
|
91771
92069
|
}
|
|
91772
92070
|
if (object.hsUserId != null)
|
|
@@ -91784,15 +92082,15 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91784
92082
|
};
|
|
91785
92083
|
|
|
91786
92084
|
/**
|
|
91787
|
-
* Creates a plain object from a
|
|
92085
|
+
* Creates a plain object from a B2BPartnerConsentRemovalRequested message. Also converts values to other types if specified.
|
|
91788
92086
|
* @function toObject
|
|
91789
|
-
* @memberof
|
|
92087
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91790
92088
|
* @static
|
|
91791
|
-
* @param {
|
|
92089
|
+
* @param {B2BPartnerConsentRemovalRequested} message B2BPartnerConsentRemovalRequested
|
|
91792
92090
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
91793
92091
|
* @returns {Object.<string,*>} Plain object
|
|
91794
92092
|
*/
|
|
91795
|
-
|
|
92093
|
+
B2BPartnerConsentRemovalRequested.toObject = function toObject(message, options) {
|
|
91796
92094
|
if (!options)
|
|
91797
92095
|
options = {};
|
|
91798
92096
|
var object = {};
|
|
@@ -91818,17 +92116,17 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91818
92116
|
};
|
|
91819
92117
|
|
|
91820
92118
|
/**
|
|
91821
|
-
* Converts this
|
|
92119
|
+
* Converts this B2BPartnerConsentRemovalRequested to JSON.
|
|
91822
92120
|
* @function toJSON
|
|
91823
|
-
* @memberof
|
|
92121
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91824
92122
|
* @instance
|
|
91825
92123
|
* @returns {Object.<string,*>} JSON object
|
|
91826
92124
|
*/
|
|
91827
|
-
|
|
92125
|
+
B2BPartnerConsentRemovalRequested.prototype.toJSON = function toJSON() {
|
|
91828
92126
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
91829
92127
|
};
|
|
91830
92128
|
|
|
91831
|
-
return
|
|
92129
|
+
return B2BPartnerConsentRemovalRequested;
|
|
91832
92130
|
})();
|
|
91833
92131
|
|
|
91834
92132
|
$root.HeadspaceContentShareCreated = (function() {
|
package/package.json
CHANGED