@headspace/protos-events 1.207.0 → 1.209.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 +354 -0
- package/lib/index.js +948 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3322,6 +3322,138 @@ export namespace b2b {
|
|
|
3322
3322
|
public toJSON(): { [k: string]: any };
|
|
3323
3323
|
}
|
|
3324
3324
|
|
|
3325
|
+
/** Properties of an Organization. */
|
|
3326
|
+
interface IOrganization {
|
|
3327
|
+
|
|
3328
|
+
/** Organization orgId */
|
|
3329
|
+
orgId?: (number|null);
|
|
3330
|
+
|
|
3331
|
+
/** Organization orgName */
|
|
3332
|
+
orgName?: (string|null);
|
|
3333
|
+
|
|
3334
|
+
/** Organization salesforceAccountId */
|
|
3335
|
+
salesforceAccountId?: (string|null);
|
|
3336
|
+
|
|
3337
|
+
/** Organization orgType */
|
|
3338
|
+
orgType?: (b2b.OrgType|null);
|
|
3339
|
+
|
|
3340
|
+
/** Organization ssoEnabled */
|
|
3341
|
+
ssoEnabled?: (boolean|null);
|
|
3342
|
+
|
|
3343
|
+
/** Organization promoEmailsDisabled */
|
|
3344
|
+
promoEmailsDisabled?: (boolean|null);
|
|
3345
|
+
|
|
3346
|
+
/** Organization healthHubId */
|
|
3347
|
+
healthHubId?: (string|null);
|
|
3348
|
+
|
|
3349
|
+
/** Organization healthHubName */
|
|
3350
|
+
healthHubName?: (string|null);
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3353
|
+
/** Represents an Organization. */
|
|
3354
|
+
class Organization implements IOrganization {
|
|
3355
|
+
|
|
3356
|
+
/**
|
|
3357
|
+
* Constructs a new Organization.
|
|
3358
|
+
* @param [properties] Properties to set
|
|
3359
|
+
*/
|
|
3360
|
+
constructor(properties?: b2b.IOrganization);
|
|
3361
|
+
|
|
3362
|
+
/** Organization orgId. */
|
|
3363
|
+
public orgId: number;
|
|
3364
|
+
|
|
3365
|
+
/** Organization orgName. */
|
|
3366
|
+
public orgName: string;
|
|
3367
|
+
|
|
3368
|
+
/** Organization salesforceAccountId. */
|
|
3369
|
+
public salesforceAccountId: string;
|
|
3370
|
+
|
|
3371
|
+
/** Organization orgType. */
|
|
3372
|
+
public orgType: b2b.OrgType;
|
|
3373
|
+
|
|
3374
|
+
/** Organization ssoEnabled. */
|
|
3375
|
+
public ssoEnabled: boolean;
|
|
3376
|
+
|
|
3377
|
+
/** Organization promoEmailsDisabled. */
|
|
3378
|
+
public promoEmailsDisabled: boolean;
|
|
3379
|
+
|
|
3380
|
+
/** Organization healthHubId. */
|
|
3381
|
+
public healthHubId: string;
|
|
3382
|
+
|
|
3383
|
+
/** Organization healthHubName. */
|
|
3384
|
+
public healthHubName: string;
|
|
3385
|
+
|
|
3386
|
+
/**
|
|
3387
|
+
* Creates a new Organization instance using the specified properties.
|
|
3388
|
+
* @param [properties] Properties to set
|
|
3389
|
+
* @returns Organization instance
|
|
3390
|
+
*/
|
|
3391
|
+
public static create(properties?: b2b.IOrganization): b2b.Organization;
|
|
3392
|
+
|
|
3393
|
+
/**
|
|
3394
|
+
* Encodes the specified Organization message. Does not implicitly {@link b2b.Organization.verify|verify} messages.
|
|
3395
|
+
* @param message Organization message or plain object to encode
|
|
3396
|
+
* @param [writer] Writer to encode to
|
|
3397
|
+
* @returns Writer
|
|
3398
|
+
*/
|
|
3399
|
+
public static encode(message: b2b.IOrganization, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3400
|
+
|
|
3401
|
+
/**
|
|
3402
|
+
* Encodes the specified Organization message, length delimited. Does not implicitly {@link b2b.Organization.verify|verify} messages.
|
|
3403
|
+
* @param message Organization message or plain object to encode
|
|
3404
|
+
* @param [writer] Writer to encode to
|
|
3405
|
+
* @returns Writer
|
|
3406
|
+
*/
|
|
3407
|
+
public static encodeDelimited(message: b2b.IOrganization, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3408
|
+
|
|
3409
|
+
/**
|
|
3410
|
+
* Decodes an Organization message from the specified reader or buffer.
|
|
3411
|
+
* @param reader Reader or buffer to decode from
|
|
3412
|
+
* @param [length] Message length if known beforehand
|
|
3413
|
+
* @returns Organization
|
|
3414
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3415
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3416
|
+
*/
|
|
3417
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.Organization;
|
|
3418
|
+
|
|
3419
|
+
/**
|
|
3420
|
+
* Decodes an Organization message from the specified reader or buffer, length delimited.
|
|
3421
|
+
* @param reader Reader or buffer to decode from
|
|
3422
|
+
* @returns Organization
|
|
3423
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3424
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3425
|
+
*/
|
|
3426
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.Organization;
|
|
3427
|
+
|
|
3428
|
+
/**
|
|
3429
|
+
* Verifies an Organization message.
|
|
3430
|
+
* @param message Plain object to verify
|
|
3431
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3432
|
+
*/
|
|
3433
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3434
|
+
|
|
3435
|
+
/**
|
|
3436
|
+
* Creates an Organization message from a plain object. Also converts values to their respective internal types.
|
|
3437
|
+
* @param object Plain object
|
|
3438
|
+
* @returns Organization
|
|
3439
|
+
*/
|
|
3440
|
+
public static fromObject(object: { [k: string]: any }): b2b.Organization;
|
|
3441
|
+
|
|
3442
|
+
/**
|
|
3443
|
+
* Creates a plain object from an Organization message. Also converts values to other types if specified.
|
|
3444
|
+
* @param message Organization
|
|
3445
|
+
* @param [options] Conversion options
|
|
3446
|
+
* @returns Plain object
|
|
3447
|
+
*/
|
|
3448
|
+
public static toObject(message: b2b.Organization, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3449
|
+
|
|
3450
|
+
/**
|
|
3451
|
+
* Converts this Organization to JSON.
|
|
3452
|
+
* @returns JSON object
|
|
3453
|
+
*/
|
|
3454
|
+
public toJSON(): { [k: string]: any };
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3325
3457
|
/** OrgType enum. */
|
|
3326
3458
|
enum OrgType {
|
|
3327
3459
|
ORG_TYPE_UNKNOWN = 0,
|
|
@@ -16655,6 +16787,210 @@ export class AssetCreated implements IAssetCreated {
|
|
|
16655
16787
|
public toJSON(): { [k: string]: any };
|
|
16656
16788
|
}
|
|
16657
16789
|
|
|
16790
|
+
/** Properties of an OrganizationCreated. */
|
|
16791
|
+
export interface IOrganizationCreated {
|
|
16792
|
+
|
|
16793
|
+
/** OrganizationCreated dashboardUserId */
|
|
16794
|
+
dashboardUserId?: (number|null);
|
|
16795
|
+
|
|
16796
|
+
/** OrganizationCreated timestamp */
|
|
16797
|
+
timestamp?: (number|Long|null);
|
|
16798
|
+
|
|
16799
|
+
/** OrganizationCreated organization */
|
|
16800
|
+
organization?: (b2b.IOrganization|null);
|
|
16801
|
+
}
|
|
16802
|
+
|
|
16803
|
+
/** Represents an OrganizationCreated. */
|
|
16804
|
+
export class OrganizationCreated implements IOrganizationCreated {
|
|
16805
|
+
|
|
16806
|
+
/**
|
|
16807
|
+
* Constructs a new OrganizationCreated.
|
|
16808
|
+
* @param [properties] Properties to set
|
|
16809
|
+
*/
|
|
16810
|
+
constructor(properties?: IOrganizationCreated);
|
|
16811
|
+
|
|
16812
|
+
/** OrganizationCreated dashboardUserId. */
|
|
16813
|
+
public dashboardUserId: number;
|
|
16814
|
+
|
|
16815
|
+
/** OrganizationCreated timestamp. */
|
|
16816
|
+
public timestamp: (number|Long);
|
|
16817
|
+
|
|
16818
|
+
/** OrganizationCreated organization. */
|
|
16819
|
+
public organization?: (b2b.IOrganization|null);
|
|
16820
|
+
|
|
16821
|
+
/**
|
|
16822
|
+
* Creates a new OrganizationCreated instance using the specified properties.
|
|
16823
|
+
* @param [properties] Properties to set
|
|
16824
|
+
* @returns OrganizationCreated instance
|
|
16825
|
+
*/
|
|
16826
|
+
public static create(properties?: IOrganizationCreated): OrganizationCreated;
|
|
16827
|
+
|
|
16828
|
+
/**
|
|
16829
|
+
* Encodes the specified OrganizationCreated message. Does not implicitly {@link OrganizationCreated.verify|verify} messages.
|
|
16830
|
+
* @param message OrganizationCreated message or plain object to encode
|
|
16831
|
+
* @param [writer] Writer to encode to
|
|
16832
|
+
* @returns Writer
|
|
16833
|
+
*/
|
|
16834
|
+
public static encode(message: IOrganizationCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16835
|
+
|
|
16836
|
+
/**
|
|
16837
|
+
* Encodes the specified OrganizationCreated message, length delimited. Does not implicitly {@link OrganizationCreated.verify|verify} messages.
|
|
16838
|
+
* @param message OrganizationCreated message or plain object to encode
|
|
16839
|
+
* @param [writer] Writer to encode to
|
|
16840
|
+
* @returns Writer
|
|
16841
|
+
*/
|
|
16842
|
+
public static encodeDelimited(message: IOrganizationCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16843
|
+
|
|
16844
|
+
/**
|
|
16845
|
+
* Decodes an OrganizationCreated message from the specified reader or buffer.
|
|
16846
|
+
* @param reader Reader or buffer to decode from
|
|
16847
|
+
* @param [length] Message length if known beforehand
|
|
16848
|
+
* @returns OrganizationCreated
|
|
16849
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16850
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16851
|
+
*/
|
|
16852
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationCreated;
|
|
16853
|
+
|
|
16854
|
+
/**
|
|
16855
|
+
* Decodes an OrganizationCreated message from the specified reader or buffer, length delimited.
|
|
16856
|
+
* @param reader Reader or buffer to decode from
|
|
16857
|
+
* @returns OrganizationCreated
|
|
16858
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16859
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16860
|
+
*/
|
|
16861
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationCreated;
|
|
16862
|
+
|
|
16863
|
+
/**
|
|
16864
|
+
* Verifies an OrganizationCreated message.
|
|
16865
|
+
* @param message Plain object to verify
|
|
16866
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16867
|
+
*/
|
|
16868
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
16869
|
+
|
|
16870
|
+
/**
|
|
16871
|
+
* Creates an OrganizationCreated message from a plain object. Also converts values to their respective internal types.
|
|
16872
|
+
* @param object Plain object
|
|
16873
|
+
* @returns OrganizationCreated
|
|
16874
|
+
*/
|
|
16875
|
+
public static fromObject(object: { [k: string]: any }): OrganizationCreated;
|
|
16876
|
+
|
|
16877
|
+
/**
|
|
16878
|
+
* Creates a plain object from an OrganizationCreated message. Also converts values to other types if specified.
|
|
16879
|
+
* @param message OrganizationCreated
|
|
16880
|
+
* @param [options] Conversion options
|
|
16881
|
+
* @returns Plain object
|
|
16882
|
+
*/
|
|
16883
|
+
public static toObject(message: OrganizationCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16884
|
+
|
|
16885
|
+
/**
|
|
16886
|
+
* Converts this OrganizationCreated to JSON.
|
|
16887
|
+
* @returns JSON object
|
|
16888
|
+
*/
|
|
16889
|
+
public toJSON(): { [k: string]: any };
|
|
16890
|
+
}
|
|
16891
|
+
|
|
16892
|
+
/** Properties of an OrganizationUpdated. */
|
|
16893
|
+
export interface IOrganizationUpdated {
|
|
16894
|
+
|
|
16895
|
+
/** OrganizationUpdated dashboardUserId */
|
|
16896
|
+
dashboardUserId?: (number|null);
|
|
16897
|
+
|
|
16898
|
+
/** OrganizationUpdated timestamp */
|
|
16899
|
+
timestamp?: (number|Long|null);
|
|
16900
|
+
|
|
16901
|
+
/** OrganizationUpdated organization */
|
|
16902
|
+
organization?: (b2b.IOrganization|null);
|
|
16903
|
+
}
|
|
16904
|
+
|
|
16905
|
+
/** Represents an OrganizationUpdated. */
|
|
16906
|
+
export class OrganizationUpdated implements IOrganizationUpdated {
|
|
16907
|
+
|
|
16908
|
+
/**
|
|
16909
|
+
* Constructs a new OrganizationUpdated.
|
|
16910
|
+
* @param [properties] Properties to set
|
|
16911
|
+
*/
|
|
16912
|
+
constructor(properties?: IOrganizationUpdated);
|
|
16913
|
+
|
|
16914
|
+
/** OrganizationUpdated dashboardUserId. */
|
|
16915
|
+
public dashboardUserId: number;
|
|
16916
|
+
|
|
16917
|
+
/** OrganizationUpdated timestamp. */
|
|
16918
|
+
public timestamp: (number|Long);
|
|
16919
|
+
|
|
16920
|
+
/** OrganizationUpdated organization. */
|
|
16921
|
+
public organization?: (b2b.IOrganization|null);
|
|
16922
|
+
|
|
16923
|
+
/**
|
|
16924
|
+
* Creates a new OrganizationUpdated instance using the specified properties.
|
|
16925
|
+
* @param [properties] Properties to set
|
|
16926
|
+
* @returns OrganizationUpdated instance
|
|
16927
|
+
*/
|
|
16928
|
+
public static create(properties?: IOrganizationUpdated): OrganizationUpdated;
|
|
16929
|
+
|
|
16930
|
+
/**
|
|
16931
|
+
* Encodes the specified OrganizationUpdated message. Does not implicitly {@link OrganizationUpdated.verify|verify} messages.
|
|
16932
|
+
* @param message OrganizationUpdated message or plain object to encode
|
|
16933
|
+
* @param [writer] Writer to encode to
|
|
16934
|
+
* @returns Writer
|
|
16935
|
+
*/
|
|
16936
|
+
public static encode(message: IOrganizationUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16937
|
+
|
|
16938
|
+
/**
|
|
16939
|
+
* Encodes the specified OrganizationUpdated message, length delimited. Does not implicitly {@link OrganizationUpdated.verify|verify} messages.
|
|
16940
|
+
* @param message OrganizationUpdated message or plain object to encode
|
|
16941
|
+
* @param [writer] Writer to encode to
|
|
16942
|
+
* @returns Writer
|
|
16943
|
+
*/
|
|
16944
|
+
public static encodeDelimited(message: IOrganizationUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16945
|
+
|
|
16946
|
+
/**
|
|
16947
|
+
* Decodes an OrganizationUpdated message from the specified reader or buffer.
|
|
16948
|
+
* @param reader Reader or buffer to decode from
|
|
16949
|
+
* @param [length] Message length if known beforehand
|
|
16950
|
+
* @returns OrganizationUpdated
|
|
16951
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16952
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16953
|
+
*/
|
|
16954
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationUpdated;
|
|
16955
|
+
|
|
16956
|
+
/**
|
|
16957
|
+
* Decodes an OrganizationUpdated message from the specified reader or buffer, length delimited.
|
|
16958
|
+
* @param reader Reader or buffer to decode from
|
|
16959
|
+
* @returns OrganizationUpdated
|
|
16960
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16961
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16962
|
+
*/
|
|
16963
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationUpdated;
|
|
16964
|
+
|
|
16965
|
+
/**
|
|
16966
|
+
* Verifies an OrganizationUpdated message.
|
|
16967
|
+
* @param message Plain object to verify
|
|
16968
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16969
|
+
*/
|
|
16970
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
16971
|
+
|
|
16972
|
+
/**
|
|
16973
|
+
* Creates an OrganizationUpdated message from a plain object. Also converts values to their respective internal types.
|
|
16974
|
+
* @param object Plain object
|
|
16975
|
+
* @returns OrganizationUpdated
|
|
16976
|
+
*/
|
|
16977
|
+
public static fromObject(object: { [k: string]: any }): OrganizationUpdated;
|
|
16978
|
+
|
|
16979
|
+
/**
|
|
16980
|
+
* Creates a plain object from an OrganizationUpdated message. Also converts values to other types if specified.
|
|
16981
|
+
* @param message OrganizationUpdated
|
|
16982
|
+
* @param [options] Conversion options
|
|
16983
|
+
* @returns Plain object
|
|
16984
|
+
*/
|
|
16985
|
+
public static toObject(message: OrganizationUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16986
|
+
|
|
16987
|
+
/**
|
|
16988
|
+
* Converts this OrganizationUpdated to JSON.
|
|
16989
|
+
* @returns JSON object
|
|
16990
|
+
*/
|
|
16991
|
+
public toJSON(): { [k: string]: any };
|
|
16992
|
+
}
|
|
16993
|
+
|
|
16658
16994
|
/** Properties of a FamilyMemberAdded. */
|
|
16659
16995
|
export interface IFamilyMemberAdded {
|
|
16660
16996
|
|
|
@@ -17842,6 +18178,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
17842
18178
|
|
|
17843
18179
|
/** EnterpriseUserEnrollmentCreated plan */
|
|
17844
18180
|
plan?: (b2b.OrgMemberPlan|null);
|
|
18181
|
+
|
|
18182
|
+
/** EnterpriseUserEnrollmentCreated isPilot */
|
|
18183
|
+
isPilot?: (boolean|null);
|
|
17845
18184
|
}
|
|
17846
18185
|
|
|
17847
18186
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -17880,6 +18219,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
17880
18219
|
/** EnterpriseUserEnrollmentCreated plan. */
|
|
17881
18220
|
public plan: b2b.OrgMemberPlan;
|
|
17882
18221
|
|
|
18222
|
+
/** EnterpriseUserEnrollmentCreated isPilot. */
|
|
18223
|
+
public isPilot: boolean;
|
|
18224
|
+
|
|
17883
18225
|
/**
|
|
17884
18226
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
17885
18227
|
* @param [properties] Properties to set
|
|
@@ -17983,6 +18325,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
17983
18325
|
|
|
17984
18326
|
/** EnterpriseUserEnrollmentRemoved plan */
|
|
17985
18327
|
plan?: (b2b.OrgMemberPlan|null);
|
|
18328
|
+
|
|
18329
|
+
/** EnterpriseUserEnrollmentRemoved isPilot */
|
|
18330
|
+
isPilot?: (boolean|null);
|
|
17986
18331
|
}
|
|
17987
18332
|
|
|
17988
18333
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -18024,6 +18369,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
18024
18369
|
/** EnterpriseUserEnrollmentRemoved plan. */
|
|
18025
18370
|
public plan: b2b.OrgMemberPlan;
|
|
18026
18371
|
|
|
18372
|
+
/** EnterpriseUserEnrollmentRemoved isPilot. */
|
|
18373
|
+
public isPilot: boolean;
|
|
18374
|
+
|
|
18027
18375
|
/**
|
|
18028
18376
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
18029
18377
|
* @param [properties] Properties to set
|
|
@@ -18124,6 +18472,9 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
18124
18472
|
|
|
18125
18473
|
/** EnterpriseUserEnrollmentAmended plan */
|
|
18126
18474
|
plan?: (b2b.OrgMemberPlan|null);
|
|
18475
|
+
|
|
18476
|
+
/** EnterpriseUserEnrollmentAmended isPilot */
|
|
18477
|
+
isPilot?: (boolean|null);
|
|
18127
18478
|
}
|
|
18128
18479
|
|
|
18129
18480
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -18162,6 +18513,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
18162
18513
|
/** EnterpriseUserEnrollmentAmended plan. */
|
|
18163
18514
|
public plan: b2b.OrgMemberPlan;
|
|
18164
18515
|
|
|
18516
|
+
/** EnterpriseUserEnrollmentAmended isPilot. */
|
|
18517
|
+
public isPilot: boolean;
|
|
18518
|
+
|
|
18165
18519
|
/**
|
|
18166
18520
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
18167
18521
|
* @param [properties] Properties to set
|