@headspace/protos-events 1.581.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 +172 -70
- package/lib/index.js +401 -125
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -32664,205 +32664,307 @@ export class GracefulExitCompleted implements IGracefulExitCompleted {
|
|
|
32664
32664
|
public toJSON(): { [k: string]: any };
|
|
32665
32665
|
}
|
|
32666
32666
|
|
|
32667
|
-
/** Properties of a
|
|
32668
|
-
export interface
|
|
32667
|
+
/** Properties of a B2BPartnerConsentCreated. */
|
|
32668
|
+
export interface IB2BPartnerConsentCreated {
|
|
32669
32669
|
|
|
32670
|
-
/**
|
|
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 {
|
|
32771
|
+
|
|
32772
|
+
/** B2BPartnerConsentRequested partnerConsentId */
|
|
32671
32773
|
partnerConsentId?: (string|null);
|
|
32672
32774
|
|
|
32673
|
-
/**
|
|
32775
|
+
/** B2BPartnerConsentRequested hsUserId */
|
|
32674
32776
|
hsUserId?: (string|null);
|
|
32675
32777
|
|
|
32676
|
-
/**
|
|
32778
|
+
/** B2BPartnerConsentRequested timestamp */
|
|
32677
32779
|
timestamp?: (number|Long|null);
|
|
32678
32780
|
}
|
|
32679
32781
|
|
|
32680
|
-
/** Represents a
|
|
32681
|
-
export class
|
|
32782
|
+
/** Represents a B2BPartnerConsentRequested. */
|
|
32783
|
+
export class B2BPartnerConsentRequested implements IB2BPartnerConsentRequested {
|
|
32682
32784
|
|
|
32683
32785
|
/**
|
|
32684
|
-
* Constructs a new
|
|
32786
|
+
* Constructs a new B2BPartnerConsentRequested.
|
|
32685
32787
|
* @param [properties] Properties to set
|
|
32686
32788
|
*/
|
|
32687
|
-
constructor(properties?:
|
|
32789
|
+
constructor(properties?: IB2BPartnerConsentRequested);
|
|
32688
32790
|
|
|
32689
|
-
/**
|
|
32791
|
+
/** B2BPartnerConsentRequested partnerConsentId. */
|
|
32690
32792
|
public partnerConsentId: string;
|
|
32691
32793
|
|
|
32692
|
-
/**
|
|
32794
|
+
/** B2BPartnerConsentRequested hsUserId. */
|
|
32693
32795
|
public hsUserId: string;
|
|
32694
32796
|
|
|
32695
|
-
/**
|
|
32797
|
+
/** B2BPartnerConsentRequested timestamp. */
|
|
32696
32798
|
public timestamp: (number|Long);
|
|
32697
32799
|
|
|
32698
32800
|
/**
|
|
32699
|
-
* Creates a new
|
|
32801
|
+
* Creates a new B2BPartnerConsentRequested instance using the specified properties.
|
|
32700
32802
|
* @param [properties] Properties to set
|
|
32701
|
-
* @returns
|
|
32803
|
+
* @returns B2BPartnerConsentRequested instance
|
|
32702
32804
|
*/
|
|
32703
|
-
public static create(properties?:
|
|
32805
|
+
public static create(properties?: IB2BPartnerConsentRequested): B2BPartnerConsentRequested;
|
|
32704
32806
|
|
|
32705
32807
|
/**
|
|
32706
|
-
* Encodes the specified
|
|
32707
|
-
* @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
|
|
32708
32810
|
* @param [writer] Writer to encode to
|
|
32709
32811
|
* @returns Writer
|
|
32710
32812
|
*/
|
|
32711
|
-
public static encode(message:
|
|
32813
|
+
public static encode(message: IB2BPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32712
32814
|
|
|
32713
32815
|
/**
|
|
32714
|
-
* Encodes the specified
|
|
32715
|
-
* @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
|
|
32716
32818
|
* @param [writer] Writer to encode to
|
|
32717
32819
|
* @returns Writer
|
|
32718
32820
|
*/
|
|
32719
|
-
public static encodeDelimited(message:
|
|
32821
|
+
public static encodeDelimited(message: IB2BPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32720
32822
|
|
|
32721
32823
|
/**
|
|
32722
|
-
* Decodes a
|
|
32824
|
+
* Decodes a B2BPartnerConsentRequested message from the specified reader or buffer.
|
|
32723
32825
|
* @param reader Reader or buffer to decode from
|
|
32724
32826
|
* @param [length] Message length if known beforehand
|
|
32725
|
-
* @returns
|
|
32827
|
+
* @returns B2BPartnerConsentRequested
|
|
32726
32828
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32727
32829
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32728
32830
|
*/
|
|
32729
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
32831
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BPartnerConsentRequested;
|
|
32730
32832
|
|
|
32731
32833
|
/**
|
|
32732
|
-
* Decodes a
|
|
32834
|
+
* Decodes a B2BPartnerConsentRequested message from the specified reader or buffer, length delimited.
|
|
32733
32835
|
* @param reader Reader or buffer to decode from
|
|
32734
|
-
* @returns
|
|
32836
|
+
* @returns B2BPartnerConsentRequested
|
|
32735
32837
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32736
32838
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32737
32839
|
*/
|
|
32738
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
32840
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BPartnerConsentRequested;
|
|
32739
32841
|
|
|
32740
32842
|
/**
|
|
32741
|
-
* Verifies a
|
|
32843
|
+
* Verifies a B2BPartnerConsentRequested message.
|
|
32742
32844
|
* @param message Plain object to verify
|
|
32743
32845
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32744
32846
|
*/
|
|
32745
32847
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32746
32848
|
|
|
32747
32849
|
/**
|
|
32748
|
-
* Creates a
|
|
32850
|
+
* Creates a B2BPartnerConsentRequested message from a plain object. Also converts values to their respective internal types.
|
|
32749
32851
|
* @param object Plain object
|
|
32750
|
-
* @returns
|
|
32852
|
+
* @returns B2BPartnerConsentRequested
|
|
32751
32853
|
*/
|
|
32752
|
-
public static fromObject(object: { [k: string]: any }):
|
|
32854
|
+
public static fromObject(object: { [k: string]: any }): B2BPartnerConsentRequested;
|
|
32753
32855
|
|
|
32754
32856
|
/**
|
|
32755
|
-
* Creates a plain object from a
|
|
32756
|
-
* @param message
|
|
32857
|
+
* Creates a plain object from a B2BPartnerConsentRequested message. Also converts values to other types if specified.
|
|
32858
|
+
* @param message B2BPartnerConsentRequested
|
|
32757
32859
|
* @param [options] Conversion options
|
|
32758
32860
|
* @returns Plain object
|
|
32759
32861
|
*/
|
|
32760
|
-
public static toObject(message:
|
|
32862
|
+
public static toObject(message: B2BPartnerConsentRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32761
32863
|
|
|
32762
32864
|
/**
|
|
32763
|
-
* Converts this
|
|
32865
|
+
* Converts this B2BPartnerConsentRequested to JSON.
|
|
32764
32866
|
* @returns JSON object
|
|
32765
32867
|
*/
|
|
32766
32868
|
public toJSON(): { [k: string]: any };
|
|
32767
32869
|
}
|
|
32768
32870
|
|
|
32769
|
-
/** Properties of a
|
|
32770
|
-
export interface
|
|
32871
|
+
/** Properties of a B2BPartnerConsentRemovalRequested. */
|
|
32872
|
+
export interface IB2BPartnerConsentRemovalRequested {
|
|
32771
32873
|
|
|
32772
|
-
/**
|
|
32874
|
+
/** B2BPartnerConsentRemovalRequested partnerConsent */
|
|
32773
32875
|
partnerConsent?: (b2b.IPartnerConsent|null);
|
|
32774
32876
|
|
|
32775
|
-
/**
|
|
32877
|
+
/** B2BPartnerConsentRemovalRequested hsUserId */
|
|
32776
32878
|
hsUserId?: (string|null);
|
|
32777
32879
|
|
|
32778
|
-
/**
|
|
32880
|
+
/** B2BPartnerConsentRemovalRequested timestamp */
|
|
32779
32881
|
timestamp?: (number|Long|null);
|
|
32780
32882
|
}
|
|
32781
32883
|
|
|
32782
|
-
/** Represents a
|
|
32783
|
-
export class
|
|
32884
|
+
/** Represents a B2BPartnerConsentRemovalRequested. */
|
|
32885
|
+
export class B2BPartnerConsentRemovalRequested implements IB2BPartnerConsentRemovalRequested {
|
|
32784
32886
|
|
|
32785
32887
|
/**
|
|
32786
|
-
* Constructs a new
|
|
32888
|
+
* Constructs a new B2BPartnerConsentRemovalRequested.
|
|
32787
32889
|
* @param [properties] Properties to set
|
|
32788
32890
|
*/
|
|
32789
|
-
constructor(properties?:
|
|
32891
|
+
constructor(properties?: IB2BPartnerConsentRemovalRequested);
|
|
32790
32892
|
|
|
32791
|
-
/**
|
|
32893
|
+
/** B2BPartnerConsentRemovalRequested partnerConsent. */
|
|
32792
32894
|
public partnerConsent?: (b2b.IPartnerConsent|null);
|
|
32793
32895
|
|
|
32794
|
-
/**
|
|
32896
|
+
/** B2BPartnerConsentRemovalRequested hsUserId. */
|
|
32795
32897
|
public hsUserId: string;
|
|
32796
32898
|
|
|
32797
|
-
/**
|
|
32899
|
+
/** B2BPartnerConsentRemovalRequested timestamp. */
|
|
32798
32900
|
public timestamp: (number|Long);
|
|
32799
32901
|
|
|
32800
32902
|
/**
|
|
32801
|
-
* Creates a new
|
|
32903
|
+
* Creates a new B2BPartnerConsentRemovalRequested instance using the specified properties.
|
|
32802
32904
|
* @param [properties] Properties to set
|
|
32803
|
-
* @returns
|
|
32905
|
+
* @returns B2BPartnerConsentRemovalRequested instance
|
|
32804
32906
|
*/
|
|
32805
|
-
public static create(properties?:
|
|
32907
|
+
public static create(properties?: IB2BPartnerConsentRemovalRequested): B2BPartnerConsentRemovalRequested;
|
|
32806
32908
|
|
|
32807
32909
|
/**
|
|
32808
|
-
* Encodes the specified
|
|
32809
|
-
* @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
|
|
32810
32912
|
* @param [writer] Writer to encode to
|
|
32811
32913
|
* @returns Writer
|
|
32812
32914
|
*/
|
|
32813
|
-
public static encode(message:
|
|
32915
|
+
public static encode(message: IB2BPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32814
32916
|
|
|
32815
32917
|
/**
|
|
32816
|
-
* Encodes the specified
|
|
32817
|
-
* @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
|
|
32818
32920
|
* @param [writer] Writer to encode to
|
|
32819
32921
|
* @returns Writer
|
|
32820
32922
|
*/
|
|
32821
|
-
public static encodeDelimited(message:
|
|
32923
|
+
public static encodeDelimited(message: IB2BPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32822
32924
|
|
|
32823
32925
|
/**
|
|
32824
|
-
* Decodes a
|
|
32926
|
+
* Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer.
|
|
32825
32927
|
* @param reader Reader or buffer to decode from
|
|
32826
32928
|
* @param [length] Message length if known beforehand
|
|
32827
|
-
* @returns
|
|
32929
|
+
* @returns B2BPartnerConsentRemovalRequested
|
|
32828
32930
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32829
32931
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32830
32932
|
*/
|
|
32831
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
32933
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BPartnerConsentRemovalRequested;
|
|
32832
32934
|
|
|
32833
32935
|
/**
|
|
32834
|
-
* Decodes a
|
|
32936
|
+
* Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer, length delimited.
|
|
32835
32937
|
* @param reader Reader or buffer to decode from
|
|
32836
|
-
* @returns
|
|
32938
|
+
* @returns B2BPartnerConsentRemovalRequested
|
|
32837
32939
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32838
32940
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32839
32941
|
*/
|
|
32840
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
32942
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BPartnerConsentRemovalRequested;
|
|
32841
32943
|
|
|
32842
32944
|
/**
|
|
32843
|
-
* Verifies a
|
|
32945
|
+
* Verifies a B2BPartnerConsentRemovalRequested message.
|
|
32844
32946
|
* @param message Plain object to verify
|
|
32845
32947
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32846
32948
|
*/
|
|
32847
32949
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32848
32950
|
|
|
32849
32951
|
/**
|
|
32850
|
-
* Creates a
|
|
32952
|
+
* Creates a B2BPartnerConsentRemovalRequested message from a plain object. Also converts values to their respective internal types.
|
|
32851
32953
|
* @param object Plain object
|
|
32852
|
-
* @returns
|
|
32954
|
+
* @returns B2BPartnerConsentRemovalRequested
|
|
32853
32955
|
*/
|
|
32854
|
-
public static fromObject(object: { [k: string]: any }):
|
|
32956
|
+
public static fromObject(object: { [k: string]: any }): B2BPartnerConsentRemovalRequested;
|
|
32855
32957
|
|
|
32856
32958
|
/**
|
|
32857
|
-
* Creates a plain object from a
|
|
32858
|
-
* @param message
|
|
32959
|
+
* Creates a plain object from a B2BPartnerConsentRemovalRequested message. Also converts values to other types if specified.
|
|
32960
|
+
* @param message B2BPartnerConsentRemovalRequested
|
|
32859
32961
|
* @param [options] Conversion options
|
|
32860
32962
|
* @returns Plain object
|
|
32861
32963
|
*/
|
|
32862
|
-
public static toObject(message:
|
|
32964
|
+
public static toObject(message: B2BPartnerConsentRemovalRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32863
32965
|
|
|
32864
32966
|
/**
|
|
32865
|
-
* Converts this
|
|
32967
|
+
* Converts this B2BPartnerConsentRemovalRequested to JSON.
|
|
32866
32968
|
* @returns JSON object
|
|
32867
32969
|
*/
|
|
32868
32970
|
public toJSON(): { [k: string]: any };
|
package/lib/index.js
CHANGED
|
@@ -91356,26 +91356,27 @@ $root.GracefulExitCompleted = (function() {
|
|
|
91356
91356
|
return GracefulExitCompleted;
|
|
91357
91357
|
})();
|
|
91358
91358
|
|
|
91359
|
-
$root.
|
|
91359
|
+
$root.B2BPartnerConsentCreated = (function() {
|
|
91360
91360
|
|
|
91361
91361
|
/**
|
|
91362
|
-
* Properties of a
|
|
91363
|
-
* @name
|
|
91364
|
-
* @interface
|
|
91365
|
-
* @property {
|
|
91366
|
-
* @property {
|
|
91367
|
-
* @property {number|Long|null} [timestamp]
|
|
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
91368
|
*/
|
|
91369
91369
|
|
|
91370
91370
|
/**
|
|
91371
|
-
* Constructs a new
|
|
91372
|
-
* @name
|
|
91373
|
-
* @classdesc Represents a
|
|
91374
|
-
* @implements
|
|
91371
|
+
* Constructs a new B2BPartnerConsentCreated.
|
|
91372
|
+
* @name B2BPartnerConsentCreated
|
|
91373
|
+
* @classdesc Represents a B2BPartnerConsentCreated.
|
|
91374
|
+
* @implements IB2BPartnerConsentCreated
|
|
91375
91375
|
* @constructor
|
|
91376
|
-
* @param {
|
|
91376
|
+
* @param {IB2BPartnerConsentCreated=} [properties] Properties to set
|
|
91377
91377
|
*/
|
|
91378
|
-
function
|
|
91378
|
+
function B2BPartnerConsentCreated(properties) {
|
|
91379
|
+
this.orgIds = [];
|
|
91379
91380
|
if (properties)
|
|
91380
91381
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
91381
91382
|
if (properties[keys[i]] != null)
|
|
@@ -91383,51 +91384,326 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91383
91384
|
}
|
|
91384
91385
|
|
|
91385
91386
|
/**
|
|
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() {
|
|
91636
|
+
|
|
91637
|
+
/**
|
|
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
|
|
91644
|
+
*/
|
|
91645
|
+
|
|
91646
|
+
/**
|
|
91647
|
+
* Constructs a new B2BPartnerConsentRequested.
|
|
91648
|
+
* @name B2BPartnerConsentRequested
|
|
91649
|
+
* @classdesc Represents a B2BPartnerConsentRequested.
|
|
91650
|
+
* @implements IB2BPartnerConsentRequested
|
|
91651
|
+
* @constructor
|
|
91652
|
+
* @param {IB2BPartnerConsentRequested=} [properties] Properties to set
|
|
91653
|
+
*/
|
|
91654
|
+
function B2BPartnerConsentRequested(properties) {
|
|
91655
|
+
if (properties)
|
|
91656
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
91657
|
+
if (properties[keys[i]] != null)
|
|
91658
|
+
this[keys[i]] = properties[keys[i]];
|
|
91659
|
+
}
|
|
91660
|
+
|
|
91661
|
+
/**
|
|
91662
|
+
* B2BPartnerConsentRequested partnerConsentId.
|
|
91387
91663
|
* @member {string} partnerConsentId
|
|
91388
|
-
* @memberof
|
|
91664
|
+
* @memberof B2BPartnerConsentRequested
|
|
91389
91665
|
* @instance
|
|
91390
91666
|
*/
|
|
91391
|
-
|
|
91667
|
+
B2BPartnerConsentRequested.prototype.partnerConsentId = "";
|
|
91392
91668
|
|
|
91393
91669
|
/**
|
|
91394
|
-
*
|
|
91670
|
+
* B2BPartnerConsentRequested hsUserId.
|
|
91395
91671
|
* @member {string} hsUserId
|
|
91396
|
-
* @memberof
|
|
91672
|
+
* @memberof B2BPartnerConsentRequested
|
|
91397
91673
|
* @instance
|
|
91398
91674
|
*/
|
|
91399
|
-
|
|
91675
|
+
B2BPartnerConsentRequested.prototype.hsUserId = "";
|
|
91400
91676
|
|
|
91401
91677
|
/**
|
|
91402
|
-
*
|
|
91678
|
+
* B2BPartnerConsentRequested timestamp.
|
|
91403
91679
|
* @member {number|Long} timestamp
|
|
91404
|
-
* @memberof
|
|
91680
|
+
* @memberof B2BPartnerConsentRequested
|
|
91405
91681
|
* @instance
|
|
91406
91682
|
*/
|
|
91407
|
-
|
|
91683
|
+
B2BPartnerConsentRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
91408
91684
|
|
|
91409
91685
|
/**
|
|
91410
|
-
* Creates a new
|
|
91686
|
+
* Creates a new B2BPartnerConsentRequested instance using the specified properties.
|
|
91411
91687
|
* @function create
|
|
91412
|
-
* @memberof
|
|
91688
|
+
* @memberof B2BPartnerConsentRequested
|
|
91413
91689
|
* @static
|
|
91414
|
-
* @param {
|
|
91415
|
-
* @returns {
|
|
91690
|
+
* @param {IB2BPartnerConsentRequested=} [properties] Properties to set
|
|
91691
|
+
* @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested instance
|
|
91416
91692
|
*/
|
|
91417
|
-
|
|
91418
|
-
return new
|
|
91693
|
+
B2BPartnerConsentRequested.create = function create(properties) {
|
|
91694
|
+
return new B2BPartnerConsentRequested(properties);
|
|
91419
91695
|
};
|
|
91420
91696
|
|
|
91421
91697
|
/**
|
|
91422
|
-
* Encodes the specified
|
|
91698
|
+
* Encodes the specified B2BPartnerConsentRequested message. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
|
|
91423
91699
|
* @function encode
|
|
91424
|
-
* @memberof
|
|
91700
|
+
* @memberof B2BPartnerConsentRequested
|
|
91425
91701
|
* @static
|
|
91426
|
-
* @param {
|
|
91702
|
+
* @param {IB2BPartnerConsentRequested} message B2BPartnerConsentRequested message or plain object to encode
|
|
91427
91703
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91428
91704
|
* @returns {$protobuf.Writer} Writer
|
|
91429
91705
|
*/
|
|
91430
|
-
|
|
91706
|
+
B2BPartnerConsentRequested.encode = function encode(message, writer) {
|
|
91431
91707
|
if (!writer)
|
|
91432
91708
|
writer = $Writer.create();
|
|
91433
91709
|
if (message.partnerConsentId != null && message.hasOwnProperty("partnerConsentId"))
|
|
@@ -91440,33 +91716,33 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91440
91716
|
};
|
|
91441
91717
|
|
|
91442
91718
|
/**
|
|
91443
|
-
* Encodes the specified
|
|
91719
|
+
* Encodes the specified B2BPartnerConsentRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
|
|
91444
91720
|
* @function encodeDelimited
|
|
91445
|
-
* @memberof
|
|
91721
|
+
* @memberof B2BPartnerConsentRequested
|
|
91446
91722
|
* @static
|
|
91447
|
-
* @param {
|
|
91723
|
+
* @param {IB2BPartnerConsentRequested} message B2BPartnerConsentRequested message or plain object to encode
|
|
91448
91724
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91449
91725
|
* @returns {$protobuf.Writer} Writer
|
|
91450
91726
|
*/
|
|
91451
|
-
|
|
91727
|
+
B2BPartnerConsentRequested.encodeDelimited = function encodeDelimited(message, writer) {
|
|
91452
91728
|
return this.encode(message, writer).ldelim();
|
|
91453
91729
|
};
|
|
91454
91730
|
|
|
91455
91731
|
/**
|
|
91456
|
-
* Decodes a
|
|
91732
|
+
* Decodes a B2BPartnerConsentRequested message from the specified reader or buffer.
|
|
91457
91733
|
* @function decode
|
|
91458
|
-
* @memberof
|
|
91734
|
+
* @memberof B2BPartnerConsentRequested
|
|
91459
91735
|
* @static
|
|
91460
91736
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91461
91737
|
* @param {number} [length] Message length if known beforehand
|
|
91462
|
-
* @returns {
|
|
91738
|
+
* @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested
|
|
91463
91739
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91464
91740
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91465
91741
|
*/
|
|
91466
|
-
|
|
91742
|
+
B2BPartnerConsentRequested.decode = function decode(reader, length) {
|
|
91467
91743
|
if (!(reader instanceof $Reader))
|
|
91468
91744
|
reader = $Reader.create(reader);
|
|
91469
|
-
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();
|
|
91470
91746
|
while (reader.pos < end) {
|
|
91471
91747
|
var tag = reader.uint32();
|
|
91472
91748
|
switch (tag >>> 3) {
|
|
@@ -91488,30 +91764,30 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91488
91764
|
};
|
|
91489
91765
|
|
|
91490
91766
|
/**
|
|
91491
|
-
* Decodes a
|
|
91767
|
+
* Decodes a B2BPartnerConsentRequested message from the specified reader or buffer, length delimited.
|
|
91492
91768
|
* @function decodeDelimited
|
|
91493
|
-
* @memberof
|
|
91769
|
+
* @memberof B2BPartnerConsentRequested
|
|
91494
91770
|
* @static
|
|
91495
91771
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91496
|
-
* @returns {
|
|
91772
|
+
* @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested
|
|
91497
91773
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91498
91774
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91499
91775
|
*/
|
|
91500
|
-
|
|
91776
|
+
B2BPartnerConsentRequested.decodeDelimited = function decodeDelimited(reader) {
|
|
91501
91777
|
if (!(reader instanceof $Reader))
|
|
91502
91778
|
reader = new $Reader(reader);
|
|
91503
91779
|
return this.decode(reader, reader.uint32());
|
|
91504
91780
|
};
|
|
91505
91781
|
|
|
91506
91782
|
/**
|
|
91507
|
-
* Verifies a
|
|
91783
|
+
* Verifies a B2BPartnerConsentRequested message.
|
|
91508
91784
|
* @function verify
|
|
91509
|
-
* @memberof
|
|
91785
|
+
* @memberof B2BPartnerConsentRequested
|
|
91510
91786
|
* @static
|
|
91511
91787
|
* @param {Object.<string,*>} message Plain object to verify
|
|
91512
91788
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
91513
91789
|
*/
|
|
91514
|
-
|
|
91790
|
+
B2BPartnerConsentRequested.verify = function verify(message) {
|
|
91515
91791
|
if (typeof message !== "object" || message === null)
|
|
91516
91792
|
return "object expected";
|
|
91517
91793
|
if (message.partnerConsentId != null && message.hasOwnProperty("partnerConsentId"))
|
|
@@ -91527,17 +91803,17 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91527
91803
|
};
|
|
91528
91804
|
|
|
91529
91805
|
/**
|
|
91530
|
-
* Creates a
|
|
91806
|
+
* Creates a B2BPartnerConsentRequested message from a plain object. Also converts values to their respective internal types.
|
|
91531
91807
|
* @function fromObject
|
|
91532
|
-
* @memberof
|
|
91808
|
+
* @memberof B2BPartnerConsentRequested
|
|
91533
91809
|
* @static
|
|
91534
91810
|
* @param {Object.<string,*>} object Plain object
|
|
91535
|
-
* @returns {
|
|
91811
|
+
* @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested
|
|
91536
91812
|
*/
|
|
91537
|
-
|
|
91538
|
-
if (object instanceof $root.
|
|
91813
|
+
B2BPartnerConsentRequested.fromObject = function fromObject(object) {
|
|
91814
|
+
if (object instanceof $root.B2BPartnerConsentRequested)
|
|
91539
91815
|
return object;
|
|
91540
|
-
var message = new $root.
|
|
91816
|
+
var message = new $root.B2BPartnerConsentRequested();
|
|
91541
91817
|
if (object.partnerConsentId != null)
|
|
91542
91818
|
message.partnerConsentId = String(object.partnerConsentId);
|
|
91543
91819
|
if (object.hsUserId != null)
|
|
@@ -91555,15 +91831,15 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91555
91831
|
};
|
|
91556
91832
|
|
|
91557
91833
|
/**
|
|
91558
|
-
* Creates a plain object from a
|
|
91834
|
+
* Creates a plain object from a B2BPartnerConsentRequested message. Also converts values to other types if specified.
|
|
91559
91835
|
* @function toObject
|
|
91560
|
-
* @memberof
|
|
91836
|
+
* @memberof B2BPartnerConsentRequested
|
|
91561
91837
|
* @static
|
|
91562
|
-
* @param {
|
|
91838
|
+
* @param {B2BPartnerConsentRequested} message B2BPartnerConsentRequested
|
|
91563
91839
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
91564
91840
|
* @returns {Object.<string,*>} Plain object
|
|
91565
91841
|
*/
|
|
91566
|
-
|
|
91842
|
+
B2BPartnerConsentRequested.toObject = function toObject(message, options) {
|
|
91567
91843
|
if (!options)
|
|
91568
91844
|
options = {};
|
|
91569
91845
|
var object = {};
|
|
@@ -91589,39 +91865,39 @@ $root.B2bPartnerConsentRequested = (function() {
|
|
|
91589
91865
|
};
|
|
91590
91866
|
|
|
91591
91867
|
/**
|
|
91592
|
-
* Converts this
|
|
91868
|
+
* Converts this B2BPartnerConsentRequested to JSON.
|
|
91593
91869
|
* @function toJSON
|
|
91594
|
-
* @memberof
|
|
91870
|
+
* @memberof B2BPartnerConsentRequested
|
|
91595
91871
|
* @instance
|
|
91596
91872
|
* @returns {Object.<string,*>} JSON object
|
|
91597
91873
|
*/
|
|
91598
|
-
|
|
91874
|
+
B2BPartnerConsentRequested.prototype.toJSON = function toJSON() {
|
|
91599
91875
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
91600
91876
|
};
|
|
91601
91877
|
|
|
91602
|
-
return
|
|
91878
|
+
return B2BPartnerConsentRequested;
|
|
91603
91879
|
})();
|
|
91604
91880
|
|
|
91605
|
-
$root.
|
|
91881
|
+
$root.B2BPartnerConsentRemovalRequested = (function() {
|
|
91606
91882
|
|
|
91607
91883
|
/**
|
|
91608
|
-
* Properties of a
|
|
91609
|
-
* @name
|
|
91610
|
-
* @interface
|
|
91611
|
-
* @property {b2b.IPartnerConsent|null} [partnerConsent]
|
|
91612
|
-
* @property {string|null} [hsUserId]
|
|
91613
|
-
* @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
|
|
91614
91890
|
*/
|
|
91615
91891
|
|
|
91616
91892
|
/**
|
|
91617
|
-
* Constructs a new
|
|
91618
|
-
* @name
|
|
91619
|
-
* @classdesc Represents a
|
|
91620
|
-
* @implements
|
|
91893
|
+
* Constructs a new B2BPartnerConsentRemovalRequested.
|
|
91894
|
+
* @name B2BPartnerConsentRemovalRequested
|
|
91895
|
+
* @classdesc Represents a B2BPartnerConsentRemovalRequested.
|
|
91896
|
+
* @implements IB2BPartnerConsentRemovalRequested
|
|
91621
91897
|
* @constructor
|
|
91622
|
-
* @param {
|
|
91898
|
+
* @param {IB2BPartnerConsentRemovalRequested=} [properties] Properties to set
|
|
91623
91899
|
*/
|
|
91624
|
-
function
|
|
91900
|
+
function B2BPartnerConsentRemovalRequested(properties) {
|
|
91625
91901
|
if (properties)
|
|
91626
91902
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
91627
91903
|
if (properties[keys[i]] != null)
|
|
@@ -91629,51 +91905,51 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91629
91905
|
}
|
|
91630
91906
|
|
|
91631
91907
|
/**
|
|
91632
|
-
*
|
|
91908
|
+
* B2BPartnerConsentRemovalRequested partnerConsent.
|
|
91633
91909
|
* @member {b2b.IPartnerConsent|null|undefined} partnerConsent
|
|
91634
|
-
* @memberof
|
|
91910
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91635
91911
|
* @instance
|
|
91636
91912
|
*/
|
|
91637
|
-
|
|
91913
|
+
B2BPartnerConsentRemovalRequested.prototype.partnerConsent = null;
|
|
91638
91914
|
|
|
91639
91915
|
/**
|
|
91640
|
-
*
|
|
91916
|
+
* B2BPartnerConsentRemovalRequested hsUserId.
|
|
91641
91917
|
* @member {string} hsUserId
|
|
91642
|
-
* @memberof
|
|
91918
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91643
91919
|
* @instance
|
|
91644
91920
|
*/
|
|
91645
|
-
|
|
91921
|
+
B2BPartnerConsentRemovalRequested.prototype.hsUserId = "";
|
|
91646
91922
|
|
|
91647
91923
|
/**
|
|
91648
|
-
*
|
|
91924
|
+
* B2BPartnerConsentRemovalRequested timestamp.
|
|
91649
91925
|
* @member {number|Long} timestamp
|
|
91650
|
-
* @memberof
|
|
91926
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91651
91927
|
* @instance
|
|
91652
91928
|
*/
|
|
91653
|
-
|
|
91929
|
+
B2BPartnerConsentRemovalRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
91654
91930
|
|
|
91655
91931
|
/**
|
|
91656
|
-
* Creates a new
|
|
91932
|
+
* Creates a new B2BPartnerConsentRemovalRequested instance using the specified properties.
|
|
91657
91933
|
* @function create
|
|
91658
|
-
* @memberof
|
|
91934
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91659
91935
|
* @static
|
|
91660
|
-
* @param {
|
|
91661
|
-
* @returns {
|
|
91936
|
+
* @param {IB2BPartnerConsentRemovalRequested=} [properties] Properties to set
|
|
91937
|
+
* @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested instance
|
|
91662
91938
|
*/
|
|
91663
|
-
|
|
91664
|
-
return new
|
|
91939
|
+
B2BPartnerConsentRemovalRequested.create = function create(properties) {
|
|
91940
|
+
return new B2BPartnerConsentRemovalRequested(properties);
|
|
91665
91941
|
};
|
|
91666
91942
|
|
|
91667
91943
|
/**
|
|
91668
|
-
* Encodes the specified
|
|
91944
|
+
* Encodes the specified B2BPartnerConsentRemovalRequested message. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
|
|
91669
91945
|
* @function encode
|
|
91670
|
-
* @memberof
|
|
91946
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91671
91947
|
* @static
|
|
91672
|
-
* @param {
|
|
91948
|
+
* @param {IB2BPartnerConsentRemovalRequested} message B2BPartnerConsentRemovalRequested message or plain object to encode
|
|
91673
91949
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91674
91950
|
* @returns {$protobuf.Writer} Writer
|
|
91675
91951
|
*/
|
|
91676
|
-
|
|
91952
|
+
B2BPartnerConsentRemovalRequested.encode = function encode(message, writer) {
|
|
91677
91953
|
if (!writer)
|
|
91678
91954
|
writer = $Writer.create();
|
|
91679
91955
|
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
|
|
@@ -91686,33 +91962,33 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91686
91962
|
};
|
|
91687
91963
|
|
|
91688
91964
|
/**
|
|
91689
|
-
* Encodes the specified
|
|
91965
|
+
* Encodes the specified B2BPartnerConsentRemovalRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
|
|
91690
91966
|
* @function encodeDelimited
|
|
91691
|
-
* @memberof
|
|
91967
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91692
91968
|
* @static
|
|
91693
|
-
* @param {
|
|
91969
|
+
* @param {IB2BPartnerConsentRemovalRequested} message B2BPartnerConsentRemovalRequested message or plain object to encode
|
|
91694
91970
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91695
91971
|
* @returns {$protobuf.Writer} Writer
|
|
91696
91972
|
*/
|
|
91697
|
-
|
|
91973
|
+
B2BPartnerConsentRemovalRequested.encodeDelimited = function encodeDelimited(message, writer) {
|
|
91698
91974
|
return this.encode(message, writer).ldelim();
|
|
91699
91975
|
};
|
|
91700
91976
|
|
|
91701
91977
|
/**
|
|
91702
|
-
* Decodes a
|
|
91978
|
+
* Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer.
|
|
91703
91979
|
* @function decode
|
|
91704
|
-
* @memberof
|
|
91980
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91705
91981
|
* @static
|
|
91706
91982
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91707
91983
|
* @param {number} [length] Message length if known beforehand
|
|
91708
|
-
* @returns {
|
|
91984
|
+
* @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested
|
|
91709
91985
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91710
91986
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91711
91987
|
*/
|
|
91712
|
-
|
|
91988
|
+
B2BPartnerConsentRemovalRequested.decode = function decode(reader, length) {
|
|
91713
91989
|
if (!(reader instanceof $Reader))
|
|
91714
91990
|
reader = $Reader.create(reader);
|
|
91715
|
-
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();
|
|
91716
91992
|
while (reader.pos < end) {
|
|
91717
91993
|
var tag = reader.uint32();
|
|
91718
91994
|
switch (tag >>> 3) {
|
|
@@ -91734,30 +92010,30 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91734
92010
|
};
|
|
91735
92011
|
|
|
91736
92012
|
/**
|
|
91737
|
-
* Decodes a
|
|
92013
|
+
* Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer, length delimited.
|
|
91738
92014
|
* @function decodeDelimited
|
|
91739
|
-
* @memberof
|
|
92015
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91740
92016
|
* @static
|
|
91741
92017
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91742
|
-
* @returns {
|
|
92018
|
+
* @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested
|
|
91743
92019
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91744
92020
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91745
92021
|
*/
|
|
91746
|
-
|
|
92022
|
+
B2BPartnerConsentRemovalRequested.decodeDelimited = function decodeDelimited(reader) {
|
|
91747
92023
|
if (!(reader instanceof $Reader))
|
|
91748
92024
|
reader = new $Reader(reader);
|
|
91749
92025
|
return this.decode(reader, reader.uint32());
|
|
91750
92026
|
};
|
|
91751
92027
|
|
|
91752
92028
|
/**
|
|
91753
|
-
* Verifies a
|
|
92029
|
+
* Verifies a B2BPartnerConsentRemovalRequested message.
|
|
91754
92030
|
* @function verify
|
|
91755
|
-
* @memberof
|
|
92031
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91756
92032
|
* @static
|
|
91757
92033
|
* @param {Object.<string,*>} message Plain object to verify
|
|
91758
92034
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
91759
92035
|
*/
|
|
91760
|
-
|
|
92036
|
+
B2BPartnerConsentRemovalRequested.verify = function verify(message) {
|
|
91761
92037
|
if (typeof message !== "object" || message === null)
|
|
91762
92038
|
return "object expected";
|
|
91763
92039
|
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent")) {
|
|
@@ -91775,20 +92051,20 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91775
92051
|
};
|
|
91776
92052
|
|
|
91777
92053
|
/**
|
|
91778
|
-
* Creates a
|
|
92054
|
+
* Creates a B2BPartnerConsentRemovalRequested message from a plain object. Also converts values to their respective internal types.
|
|
91779
92055
|
* @function fromObject
|
|
91780
|
-
* @memberof
|
|
92056
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91781
92057
|
* @static
|
|
91782
92058
|
* @param {Object.<string,*>} object Plain object
|
|
91783
|
-
* @returns {
|
|
92059
|
+
* @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested
|
|
91784
92060
|
*/
|
|
91785
|
-
|
|
91786
|
-
if (object instanceof $root.
|
|
92061
|
+
B2BPartnerConsentRemovalRequested.fromObject = function fromObject(object) {
|
|
92062
|
+
if (object instanceof $root.B2BPartnerConsentRemovalRequested)
|
|
91787
92063
|
return object;
|
|
91788
|
-
var message = new $root.
|
|
92064
|
+
var message = new $root.B2BPartnerConsentRemovalRequested();
|
|
91789
92065
|
if (object.partnerConsent != null) {
|
|
91790
92066
|
if (typeof object.partnerConsent !== "object")
|
|
91791
|
-
throw TypeError(".
|
|
92067
|
+
throw TypeError(".B2BPartnerConsentRemovalRequested.partnerConsent: object expected");
|
|
91792
92068
|
message.partnerConsent = $root.b2b.PartnerConsent.fromObject(object.partnerConsent);
|
|
91793
92069
|
}
|
|
91794
92070
|
if (object.hsUserId != null)
|
|
@@ -91806,15 +92082,15 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91806
92082
|
};
|
|
91807
92083
|
|
|
91808
92084
|
/**
|
|
91809
|
-
* Creates a plain object from a
|
|
92085
|
+
* Creates a plain object from a B2BPartnerConsentRemovalRequested message. Also converts values to other types if specified.
|
|
91810
92086
|
* @function toObject
|
|
91811
|
-
* @memberof
|
|
92087
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91812
92088
|
* @static
|
|
91813
|
-
* @param {
|
|
92089
|
+
* @param {B2BPartnerConsentRemovalRequested} message B2BPartnerConsentRemovalRequested
|
|
91814
92090
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
91815
92091
|
* @returns {Object.<string,*>} Plain object
|
|
91816
92092
|
*/
|
|
91817
|
-
|
|
92093
|
+
B2BPartnerConsentRemovalRequested.toObject = function toObject(message, options) {
|
|
91818
92094
|
if (!options)
|
|
91819
92095
|
options = {};
|
|
91820
92096
|
var object = {};
|
|
@@ -91840,17 +92116,17 @@ $root.B2bPartnerConsentRemovalRequested = (function() {
|
|
|
91840
92116
|
};
|
|
91841
92117
|
|
|
91842
92118
|
/**
|
|
91843
|
-
* Converts this
|
|
92119
|
+
* Converts this B2BPartnerConsentRemovalRequested to JSON.
|
|
91844
92120
|
* @function toJSON
|
|
91845
|
-
* @memberof
|
|
92121
|
+
* @memberof B2BPartnerConsentRemovalRequested
|
|
91846
92122
|
* @instance
|
|
91847
92123
|
* @returns {Object.<string,*>} JSON object
|
|
91848
92124
|
*/
|
|
91849
|
-
|
|
92125
|
+
B2BPartnerConsentRemovalRequested.prototype.toJSON = function toJSON() {
|
|
91850
92126
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
91851
92127
|
};
|
|
91852
92128
|
|
|
91853
|
-
return
|
|
92129
|
+
return B2BPartnerConsentRemovalRequested;
|
|
91854
92130
|
})();
|
|
91855
92131
|
|
|
91856
92132
|
$root.HeadspaceContentShareCreated = (function() {
|
package/package.json
CHANGED