@headspace/protos-events 1.208.0 → 1.210.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 +786 -0
- package/lib/index.js +2078 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3322,6 +3322,264 @@ 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
|
+
|
|
3457
|
+
/** Properties of a B2BSubscriptionManagement. */
|
|
3458
|
+
interface IB2BSubscriptionManagement {
|
|
3459
|
+
|
|
3460
|
+
/** B2BSubscriptionManagement salesforceOpportunityId */
|
|
3461
|
+
salesforceOpportunityId?: (string|null);
|
|
3462
|
+
|
|
3463
|
+
/** B2BSubscriptionManagement orgSubscriptionStartDate */
|
|
3464
|
+
orgSubscriptionStartDate?: (number|Long|null);
|
|
3465
|
+
|
|
3466
|
+
/** B2BSubscriptionManagement orgSubscriptionEndDate */
|
|
3467
|
+
orgSubscriptionEndDate?: (number|Long|null);
|
|
3468
|
+
|
|
3469
|
+
/** B2BSubscriptionManagement seats */
|
|
3470
|
+
seats?: (number|null);
|
|
3471
|
+
|
|
3472
|
+
/** B2BSubscriptionManagement dependentsPerEmployee */
|
|
3473
|
+
dependentsPerEmployee?: (number|Long|null);
|
|
3474
|
+
|
|
3475
|
+
/** B2BSubscriptionManagement isPartialPay */
|
|
3476
|
+
isPartialPay?: (boolean|null);
|
|
3477
|
+
|
|
3478
|
+
/** B2BSubscriptionManagement isPilot */
|
|
3479
|
+
isPilot?: (boolean|null);
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3482
|
+
/** Represents a B2BSubscriptionManagement. */
|
|
3483
|
+
class B2BSubscriptionManagement implements IB2BSubscriptionManagement {
|
|
3484
|
+
|
|
3485
|
+
/**
|
|
3486
|
+
* Constructs a new B2BSubscriptionManagement.
|
|
3487
|
+
* @param [properties] Properties to set
|
|
3488
|
+
*/
|
|
3489
|
+
constructor(properties?: b2b.IB2BSubscriptionManagement);
|
|
3490
|
+
|
|
3491
|
+
/** B2BSubscriptionManagement salesforceOpportunityId. */
|
|
3492
|
+
public salesforceOpportunityId: string;
|
|
3493
|
+
|
|
3494
|
+
/** B2BSubscriptionManagement orgSubscriptionStartDate. */
|
|
3495
|
+
public orgSubscriptionStartDate: (number|Long);
|
|
3496
|
+
|
|
3497
|
+
/** B2BSubscriptionManagement orgSubscriptionEndDate. */
|
|
3498
|
+
public orgSubscriptionEndDate: (number|Long);
|
|
3499
|
+
|
|
3500
|
+
/** B2BSubscriptionManagement seats. */
|
|
3501
|
+
public seats: number;
|
|
3502
|
+
|
|
3503
|
+
/** B2BSubscriptionManagement dependentsPerEmployee. */
|
|
3504
|
+
public dependentsPerEmployee: (number|Long);
|
|
3505
|
+
|
|
3506
|
+
/** B2BSubscriptionManagement isPartialPay. */
|
|
3507
|
+
public isPartialPay: boolean;
|
|
3508
|
+
|
|
3509
|
+
/** B2BSubscriptionManagement isPilot. */
|
|
3510
|
+
public isPilot: boolean;
|
|
3511
|
+
|
|
3512
|
+
/**
|
|
3513
|
+
* Creates a new B2BSubscriptionManagement instance using the specified properties.
|
|
3514
|
+
* @param [properties] Properties to set
|
|
3515
|
+
* @returns B2BSubscriptionManagement instance
|
|
3516
|
+
*/
|
|
3517
|
+
public static create(properties?: b2b.IB2BSubscriptionManagement): b2b.B2BSubscriptionManagement;
|
|
3518
|
+
|
|
3519
|
+
/**
|
|
3520
|
+
* Encodes the specified B2BSubscriptionManagement message. Does not implicitly {@link b2b.B2BSubscriptionManagement.verify|verify} messages.
|
|
3521
|
+
* @param message B2BSubscriptionManagement message or plain object to encode
|
|
3522
|
+
* @param [writer] Writer to encode to
|
|
3523
|
+
* @returns Writer
|
|
3524
|
+
*/
|
|
3525
|
+
public static encode(message: b2b.IB2BSubscriptionManagement, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3526
|
+
|
|
3527
|
+
/**
|
|
3528
|
+
* Encodes the specified B2BSubscriptionManagement message, length delimited. Does not implicitly {@link b2b.B2BSubscriptionManagement.verify|verify} messages.
|
|
3529
|
+
* @param message B2BSubscriptionManagement message or plain object to encode
|
|
3530
|
+
* @param [writer] Writer to encode to
|
|
3531
|
+
* @returns Writer
|
|
3532
|
+
*/
|
|
3533
|
+
public static encodeDelimited(message: b2b.IB2BSubscriptionManagement, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3534
|
+
|
|
3535
|
+
/**
|
|
3536
|
+
* Decodes a B2BSubscriptionManagement message from the specified reader or buffer.
|
|
3537
|
+
* @param reader Reader or buffer to decode from
|
|
3538
|
+
* @param [length] Message length if known beforehand
|
|
3539
|
+
* @returns B2BSubscriptionManagement
|
|
3540
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3541
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3542
|
+
*/
|
|
3543
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.B2BSubscriptionManagement;
|
|
3544
|
+
|
|
3545
|
+
/**
|
|
3546
|
+
* Decodes a B2BSubscriptionManagement message from the specified reader or buffer, length delimited.
|
|
3547
|
+
* @param reader Reader or buffer to decode from
|
|
3548
|
+
* @returns B2BSubscriptionManagement
|
|
3549
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3550
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3551
|
+
*/
|
|
3552
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.B2BSubscriptionManagement;
|
|
3553
|
+
|
|
3554
|
+
/**
|
|
3555
|
+
* Verifies a B2BSubscriptionManagement message.
|
|
3556
|
+
* @param message Plain object to verify
|
|
3557
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3558
|
+
*/
|
|
3559
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3560
|
+
|
|
3561
|
+
/**
|
|
3562
|
+
* Creates a B2BSubscriptionManagement message from a plain object. Also converts values to their respective internal types.
|
|
3563
|
+
* @param object Plain object
|
|
3564
|
+
* @returns B2BSubscriptionManagement
|
|
3565
|
+
*/
|
|
3566
|
+
public static fromObject(object: { [k: string]: any }): b2b.B2BSubscriptionManagement;
|
|
3567
|
+
|
|
3568
|
+
/**
|
|
3569
|
+
* Creates a plain object from a B2BSubscriptionManagement message. Also converts values to other types if specified.
|
|
3570
|
+
* @param message B2BSubscriptionManagement
|
|
3571
|
+
* @param [options] Conversion options
|
|
3572
|
+
* @returns Plain object
|
|
3573
|
+
*/
|
|
3574
|
+
public static toObject(message: b2b.B2BSubscriptionManagement, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3575
|
+
|
|
3576
|
+
/**
|
|
3577
|
+
* Converts this B2BSubscriptionManagement to JSON.
|
|
3578
|
+
* @returns JSON object
|
|
3579
|
+
*/
|
|
3580
|
+
public toJSON(): { [k: string]: any };
|
|
3581
|
+
}
|
|
3582
|
+
|
|
3325
3583
|
/** OrgType enum. */
|
|
3326
3584
|
enum OrgType {
|
|
3327
3585
|
ORG_TYPE_UNKNOWN = 0,
|
|
@@ -16655,6 +16913,534 @@ export class AssetCreated implements IAssetCreated {
|
|
|
16655
16913
|
public toJSON(): { [k: string]: any };
|
|
16656
16914
|
}
|
|
16657
16915
|
|
|
16916
|
+
/** Properties of an OrganizationCreated. */
|
|
16917
|
+
export interface IOrganizationCreated {
|
|
16918
|
+
|
|
16919
|
+
/** OrganizationCreated dashboardUserId */
|
|
16920
|
+
dashboardUserId?: (number|null);
|
|
16921
|
+
|
|
16922
|
+
/** OrganizationCreated timestamp */
|
|
16923
|
+
timestamp?: (number|Long|null);
|
|
16924
|
+
|
|
16925
|
+
/** OrganizationCreated organization */
|
|
16926
|
+
organization?: (b2b.IOrganization|null);
|
|
16927
|
+
}
|
|
16928
|
+
|
|
16929
|
+
/** Represents an OrganizationCreated. */
|
|
16930
|
+
export class OrganizationCreated implements IOrganizationCreated {
|
|
16931
|
+
|
|
16932
|
+
/**
|
|
16933
|
+
* Constructs a new OrganizationCreated.
|
|
16934
|
+
* @param [properties] Properties to set
|
|
16935
|
+
*/
|
|
16936
|
+
constructor(properties?: IOrganizationCreated);
|
|
16937
|
+
|
|
16938
|
+
/** OrganizationCreated dashboardUserId. */
|
|
16939
|
+
public dashboardUserId: number;
|
|
16940
|
+
|
|
16941
|
+
/** OrganizationCreated timestamp. */
|
|
16942
|
+
public timestamp: (number|Long);
|
|
16943
|
+
|
|
16944
|
+
/** OrganizationCreated organization. */
|
|
16945
|
+
public organization?: (b2b.IOrganization|null);
|
|
16946
|
+
|
|
16947
|
+
/**
|
|
16948
|
+
* Creates a new OrganizationCreated instance using the specified properties.
|
|
16949
|
+
* @param [properties] Properties to set
|
|
16950
|
+
* @returns OrganizationCreated instance
|
|
16951
|
+
*/
|
|
16952
|
+
public static create(properties?: IOrganizationCreated): OrganizationCreated;
|
|
16953
|
+
|
|
16954
|
+
/**
|
|
16955
|
+
* Encodes the specified OrganizationCreated message. Does not implicitly {@link OrganizationCreated.verify|verify} messages.
|
|
16956
|
+
* @param message OrganizationCreated message or plain object to encode
|
|
16957
|
+
* @param [writer] Writer to encode to
|
|
16958
|
+
* @returns Writer
|
|
16959
|
+
*/
|
|
16960
|
+
public static encode(message: IOrganizationCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16961
|
+
|
|
16962
|
+
/**
|
|
16963
|
+
* Encodes the specified OrganizationCreated message, length delimited. Does not implicitly {@link OrganizationCreated.verify|verify} messages.
|
|
16964
|
+
* @param message OrganizationCreated message or plain object to encode
|
|
16965
|
+
* @param [writer] Writer to encode to
|
|
16966
|
+
* @returns Writer
|
|
16967
|
+
*/
|
|
16968
|
+
public static encodeDelimited(message: IOrganizationCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16969
|
+
|
|
16970
|
+
/**
|
|
16971
|
+
* Decodes an OrganizationCreated message from the specified reader or buffer.
|
|
16972
|
+
* @param reader Reader or buffer to decode from
|
|
16973
|
+
* @param [length] Message length if known beforehand
|
|
16974
|
+
* @returns OrganizationCreated
|
|
16975
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16976
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16977
|
+
*/
|
|
16978
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationCreated;
|
|
16979
|
+
|
|
16980
|
+
/**
|
|
16981
|
+
* Decodes an OrganizationCreated message from the specified reader or buffer, length delimited.
|
|
16982
|
+
* @param reader Reader or buffer to decode from
|
|
16983
|
+
* @returns OrganizationCreated
|
|
16984
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16985
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16986
|
+
*/
|
|
16987
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationCreated;
|
|
16988
|
+
|
|
16989
|
+
/**
|
|
16990
|
+
* Verifies an OrganizationCreated message.
|
|
16991
|
+
* @param message Plain object to verify
|
|
16992
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16993
|
+
*/
|
|
16994
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
16995
|
+
|
|
16996
|
+
/**
|
|
16997
|
+
* Creates an OrganizationCreated message from a plain object. Also converts values to their respective internal types.
|
|
16998
|
+
* @param object Plain object
|
|
16999
|
+
* @returns OrganizationCreated
|
|
17000
|
+
*/
|
|
17001
|
+
public static fromObject(object: { [k: string]: any }): OrganizationCreated;
|
|
17002
|
+
|
|
17003
|
+
/**
|
|
17004
|
+
* Creates a plain object from an OrganizationCreated message. Also converts values to other types if specified.
|
|
17005
|
+
* @param message OrganizationCreated
|
|
17006
|
+
* @param [options] Conversion options
|
|
17007
|
+
* @returns Plain object
|
|
17008
|
+
*/
|
|
17009
|
+
public static toObject(message: OrganizationCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17010
|
+
|
|
17011
|
+
/**
|
|
17012
|
+
* Converts this OrganizationCreated to JSON.
|
|
17013
|
+
* @returns JSON object
|
|
17014
|
+
*/
|
|
17015
|
+
public toJSON(): { [k: string]: any };
|
|
17016
|
+
}
|
|
17017
|
+
|
|
17018
|
+
/** Properties of an OrganizationUpdated. */
|
|
17019
|
+
export interface IOrganizationUpdated {
|
|
17020
|
+
|
|
17021
|
+
/** OrganizationUpdated dashboardUserId */
|
|
17022
|
+
dashboardUserId?: (number|null);
|
|
17023
|
+
|
|
17024
|
+
/** OrganizationUpdated timestamp */
|
|
17025
|
+
timestamp?: (number|Long|null);
|
|
17026
|
+
|
|
17027
|
+
/** OrganizationUpdated organization */
|
|
17028
|
+
organization?: (b2b.IOrganization|null);
|
|
17029
|
+
}
|
|
17030
|
+
|
|
17031
|
+
/** Represents an OrganizationUpdated. */
|
|
17032
|
+
export class OrganizationUpdated implements IOrganizationUpdated {
|
|
17033
|
+
|
|
17034
|
+
/**
|
|
17035
|
+
* Constructs a new OrganizationUpdated.
|
|
17036
|
+
* @param [properties] Properties to set
|
|
17037
|
+
*/
|
|
17038
|
+
constructor(properties?: IOrganizationUpdated);
|
|
17039
|
+
|
|
17040
|
+
/** OrganizationUpdated dashboardUserId. */
|
|
17041
|
+
public dashboardUserId: number;
|
|
17042
|
+
|
|
17043
|
+
/** OrganizationUpdated timestamp. */
|
|
17044
|
+
public timestamp: (number|Long);
|
|
17045
|
+
|
|
17046
|
+
/** OrganizationUpdated organization. */
|
|
17047
|
+
public organization?: (b2b.IOrganization|null);
|
|
17048
|
+
|
|
17049
|
+
/**
|
|
17050
|
+
* Creates a new OrganizationUpdated instance using the specified properties.
|
|
17051
|
+
* @param [properties] Properties to set
|
|
17052
|
+
* @returns OrganizationUpdated instance
|
|
17053
|
+
*/
|
|
17054
|
+
public static create(properties?: IOrganizationUpdated): OrganizationUpdated;
|
|
17055
|
+
|
|
17056
|
+
/**
|
|
17057
|
+
* Encodes the specified OrganizationUpdated message. Does not implicitly {@link OrganizationUpdated.verify|verify} messages.
|
|
17058
|
+
* @param message OrganizationUpdated message or plain object to encode
|
|
17059
|
+
* @param [writer] Writer to encode to
|
|
17060
|
+
* @returns Writer
|
|
17061
|
+
*/
|
|
17062
|
+
public static encode(message: IOrganizationUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17063
|
+
|
|
17064
|
+
/**
|
|
17065
|
+
* Encodes the specified OrganizationUpdated message, length delimited. Does not implicitly {@link OrganizationUpdated.verify|verify} messages.
|
|
17066
|
+
* @param message OrganizationUpdated message or plain object to encode
|
|
17067
|
+
* @param [writer] Writer to encode to
|
|
17068
|
+
* @returns Writer
|
|
17069
|
+
*/
|
|
17070
|
+
public static encodeDelimited(message: IOrganizationUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17071
|
+
|
|
17072
|
+
/**
|
|
17073
|
+
* Decodes an OrganizationUpdated message from the specified reader or buffer.
|
|
17074
|
+
* @param reader Reader or buffer to decode from
|
|
17075
|
+
* @param [length] Message length if known beforehand
|
|
17076
|
+
* @returns OrganizationUpdated
|
|
17077
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17078
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17079
|
+
*/
|
|
17080
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationUpdated;
|
|
17081
|
+
|
|
17082
|
+
/**
|
|
17083
|
+
* Decodes an OrganizationUpdated message from the specified reader or buffer, length delimited.
|
|
17084
|
+
* @param reader Reader or buffer to decode from
|
|
17085
|
+
* @returns OrganizationUpdated
|
|
17086
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17087
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17088
|
+
*/
|
|
17089
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationUpdated;
|
|
17090
|
+
|
|
17091
|
+
/**
|
|
17092
|
+
* Verifies an OrganizationUpdated message.
|
|
17093
|
+
* @param message Plain object to verify
|
|
17094
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17095
|
+
*/
|
|
17096
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17097
|
+
|
|
17098
|
+
/**
|
|
17099
|
+
* Creates an OrganizationUpdated message from a plain object. Also converts values to their respective internal types.
|
|
17100
|
+
* @param object Plain object
|
|
17101
|
+
* @returns OrganizationUpdated
|
|
17102
|
+
*/
|
|
17103
|
+
public static fromObject(object: { [k: string]: any }): OrganizationUpdated;
|
|
17104
|
+
|
|
17105
|
+
/**
|
|
17106
|
+
* Creates a plain object from an OrganizationUpdated message. Also converts values to other types if specified.
|
|
17107
|
+
* @param message OrganizationUpdated
|
|
17108
|
+
* @param [options] Conversion options
|
|
17109
|
+
* @returns Plain object
|
|
17110
|
+
*/
|
|
17111
|
+
public static toObject(message: OrganizationUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17112
|
+
|
|
17113
|
+
/**
|
|
17114
|
+
* Converts this OrganizationUpdated to JSON.
|
|
17115
|
+
* @returns JSON object
|
|
17116
|
+
*/
|
|
17117
|
+
public toJSON(): { [k: string]: any };
|
|
17118
|
+
}
|
|
17119
|
+
|
|
17120
|
+
/** Properties of an OrganizationSubscriptionCreated. */
|
|
17121
|
+
export interface IOrganizationSubscriptionCreated {
|
|
17122
|
+
|
|
17123
|
+
/** OrganizationSubscriptionCreated timestamp */
|
|
17124
|
+
timestamp?: (number|Long|null);
|
|
17125
|
+
|
|
17126
|
+
/** OrganizationSubscriptionCreated dashboardUserId */
|
|
17127
|
+
dashboardUserId?: (number|null);
|
|
17128
|
+
|
|
17129
|
+
/** OrganizationSubscriptionCreated organization */
|
|
17130
|
+
organization?: (b2b.IOrganization|null);
|
|
17131
|
+
|
|
17132
|
+
/** OrganizationSubscriptionCreated subscription */
|
|
17133
|
+
subscription?: (b2b.IB2BSubscriptionManagement|null);
|
|
17134
|
+
}
|
|
17135
|
+
|
|
17136
|
+
/** Represents an OrganizationSubscriptionCreated. */
|
|
17137
|
+
export class OrganizationSubscriptionCreated implements IOrganizationSubscriptionCreated {
|
|
17138
|
+
|
|
17139
|
+
/**
|
|
17140
|
+
* Constructs a new OrganizationSubscriptionCreated.
|
|
17141
|
+
* @param [properties] Properties to set
|
|
17142
|
+
*/
|
|
17143
|
+
constructor(properties?: IOrganizationSubscriptionCreated);
|
|
17144
|
+
|
|
17145
|
+
/** OrganizationSubscriptionCreated timestamp. */
|
|
17146
|
+
public timestamp: (number|Long);
|
|
17147
|
+
|
|
17148
|
+
/** OrganizationSubscriptionCreated dashboardUserId. */
|
|
17149
|
+
public dashboardUserId: number;
|
|
17150
|
+
|
|
17151
|
+
/** OrganizationSubscriptionCreated organization. */
|
|
17152
|
+
public organization?: (b2b.IOrganization|null);
|
|
17153
|
+
|
|
17154
|
+
/** OrganizationSubscriptionCreated subscription. */
|
|
17155
|
+
public subscription?: (b2b.IB2BSubscriptionManagement|null);
|
|
17156
|
+
|
|
17157
|
+
/**
|
|
17158
|
+
* Creates a new OrganizationSubscriptionCreated instance using the specified properties.
|
|
17159
|
+
* @param [properties] Properties to set
|
|
17160
|
+
* @returns OrganizationSubscriptionCreated instance
|
|
17161
|
+
*/
|
|
17162
|
+
public static create(properties?: IOrganizationSubscriptionCreated): OrganizationSubscriptionCreated;
|
|
17163
|
+
|
|
17164
|
+
/**
|
|
17165
|
+
* Encodes the specified OrganizationSubscriptionCreated message. Does not implicitly {@link OrganizationSubscriptionCreated.verify|verify} messages.
|
|
17166
|
+
* @param message OrganizationSubscriptionCreated message or plain object to encode
|
|
17167
|
+
* @param [writer] Writer to encode to
|
|
17168
|
+
* @returns Writer
|
|
17169
|
+
*/
|
|
17170
|
+
public static encode(message: IOrganizationSubscriptionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17171
|
+
|
|
17172
|
+
/**
|
|
17173
|
+
* Encodes the specified OrganizationSubscriptionCreated message, length delimited. Does not implicitly {@link OrganizationSubscriptionCreated.verify|verify} messages.
|
|
17174
|
+
* @param message OrganizationSubscriptionCreated message or plain object to encode
|
|
17175
|
+
* @param [writer] Writer to encode to
|
|
17176
|
+
* @returns Writer
|
|
17177
|
+
*/
|
|
17178
|
+
public static encodeDelimited(message: IOrganizationSubscriptionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17179
|
+
|
|
17180
|
+
/**
|
|
17181
|
+
* Decodes an OrganizationSubscriptionCreated message from the specified reader or buffer.
|
|
17182
|
+
* @param reader Reader or buffer to decode from
|
|
17183
|
+
* @param [length] Message length if known beforehand
|
|
17184
|
+
* @returns OrganizationSubscriptionCreated
|
|
17185
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17186
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17187
|
+
*/
|
|
17188
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationSubscriptionCreated;
|
|
17189
|
+
|
|
17190
|
+
/**
|
|
17191
|
+
* Decodes an OrganizationSubscriptionCreated message from the specified reader or buffer, length delimited.
|
|
17192
|
+
* @param reader Reader or buffer to decode from
|
|
17193
|
+
* @returns OrganizationSubscriptionCreated
|
|
17194
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17195
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17196
|
+
*/
|
|
17197
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationSubscriptionCreated;
|
|
17198
|
+
|
|
17199
|
+
/**
|
|
17200
|
+
* Verifies an OrganizationSubscriptionCreated message.
|
|
17201
|
+
* @param message Plain object to verify
|
|
17202
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17203
|
+
*/
|
|
17204
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17205
|
+
|
|
17206
|
+
/**
|
|
17207
|
+
* Creates an OrganizationSubscriptionCreated message from a plain object. Also converts values to their respective internal types.
|
|
17208
|
+
* @param object Plain object
|
|
17209
|
+
* @returns OrganizationSubscriptionCreated
|
|
17210
|
+
*/
|
|
17211
|
+
public static fromObject(object: { [k: string]: any }): OrganizationSubscriptionCreated;
|
|
17212
|
+
|
|
17213
|
+
/**
|
|
17214
|
+
* Creates a plain object from an OrganizationSubscriptionCreated message. Also converts values to other types if specified.
|
|
17215
|
+
* @param message OrganizationSubscriptionCreated
|
|
17216
|
+
* @param [options] Conversion options
|
|
17217
|
+
* @returns Plain object
|
|
17218
|
+
*/
|
|
17219
|
+
public static toObject(message: OrganizationSubscriptionCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17220
|
+
|
|
17221
|
+
/**
|
|
17222
|
+
* Converts this OrganizationSubscriptionCreated to JSON.
|
|
17223
|
+
* @returns JSON object
|
|
17224
|
+
*/
|
|
17225
|
+
public toJSON(): { [k: string]: any };
|
|
17226
|
+
}
|
|
17227
|
+
|
|
17228
|
+
/** Properties of an OrganizationSubscriptionExpired. */
|
|
17229
|
+
export interface IOrganizationSubscriptionExpired {
|
|
17230
|
+
|
|
17231
|
+
/** OrganizationSubscriptionExpired timestamp */
|
|
17232
|
+
timestamp?: (number|Long|null);
|
|
17233
|
+
|
|
17234
|
+
/** OrganizationSubscriptionExpired dashboardUserId */
|
|
17235
|
+
dashboardUserId?: (number|null);
|
|
17236
|
+
|
|
17237
|
+
/** OrganizationSubscriptionExpired organization */
|
|
17238
|
+
organization?: (b2b.IOrganization|null);
|
|
17239
|
+
|
|
17240
|
+
/** OrganizationSubscriptionExpired subscription */
|
|
17241
|
+
subscription?: (b2b.IB2BSubscriptionManagement|null);
|
|
17242
|
+
}
|
|
17243
|
+
|
|
17244
|
+
/** Represents an OrganizationSubscriptionExpired. */
|
|
17245
|
+
export class OrganizationSubscriptionExpired implements IOrganizationSubscriptionExpired {
|
|
17246
|
+
|
|
17247
|
+
/**
|
|
17248
|
+
* Constructs a new OrganizationSubscriptionExpired.
|
|
17249
|
+
* @param [properties] Properties to set
|
|
17250
|
+
*/
|
|
17251
|
+
constructor(properties?: IOrganizationSubscriptionExpired);
|
|
17252
|
+
|
|
17253
|
+
/** OrganizationSubscriptionExpired timestamp. */
|
|
17254
|
+
public timestamp: (number|Long);
|
|
17255
|
+
|
|
17256
|
+
/** OrganizationSubscriptionExpired dashboardUserId. */
|
|
17257
|
+
public dashboardUserId: number;
|
|
17258
|
+
|
|
17259
|
+
/** OrganizationSubscriptionExpired organization. */
|
|
17260
|
+
public organization?: (b2b.IOrganization|null);
|
|
17261
|
+
|
|
17262
|
+
/** OrganizationSubscriptionExpired subscription. */
|
|
17263
|
+
public subscription?: (b2b.IB2BSubscriptionManagement|null);
|
|
17264
|
+
|
|
17265
|
+
/**
|
|
17266
|
+
* Creates a new OrganizationSubscriptionExpired instance using the specified properties.
|
|
17267
|
+
* @param [properties] Properties to set
|
|
17268
|
+
* @returns OrganizationSubscriptionExpired instance
|
|
17269
|
+
*/
|
|
17270
|
+
public static create(properties?: IOrganizationSubscriptionExpired): OrganizationSubscriptionExpired;
|
|
17271
|
+
|
|
17272
|
+
/**
|
|
17273
|
+
* Encodes the specified OrganizationSubscriptionExpired message. Does not implicitly {@link OrganizationSubscriptionExpired.verify|verify} messages.
|
|
17274
|
+
* @param message OrganizationSubscriptionExpired message or plain object to encode
|
|
17275
|
+
* @param [writer] Writer to encode to
|
|
17276
|
+
* @returns Writer
|
|
17277
|
+
*/
|
|
17278
|
+
public static encode(message: IOrganizationSubscriptionExpired, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17279
|
+
|
|
17280
|
+
/**
|
|
17281
|
+
* Encodes the specified OrganizationSubscriptionExpired message, length delimited. Does not implicitly {@link OrganizationSubscriptionExpired.verify|verify} messages.
|
|
17282
|
+
* @param message OrganizationSubscriptionExpired message or plain object to encode
|
|
17283
|
+
* @param [writer] Writer to encode to
|
|
17284
|
+
* @returns Writer
|
|
17285
|
+
*/
|
|
17286
|
+
public static encodeDelimited(message: IOrganizationSubscriptionExpired, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17287
|
+
|
|
17288
|
+
/**
|
|
17289
|
+
* Decodes an OrganizationSubscriptionExpired message from the specified reader or buffer.
|
|
17290
|
+
* @param reader Reader or buffer to decode from
|
|
17291
|
+
* @param [length] Message length if known beforehand
|
|
17292
|
+
* @returns OrganizationSubscriptionExpired
|
|
17293
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17294
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17295
|
+
*/
|
|
17296
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationSubscriptionExpired;
|
|
17297
|
+
|
|
17298
|
+
/**
|
|
17299
|
+
* Decodes an OrganizationSubscriptionExpired message from the specified reader or buffer, length delimited.
|
|
17300
|
+
* @param reader Reader or buffer to decode from
|
|
17301
|
+
* @returns OrganizationSubscriptionExpired
|
|
17302
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17303
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17304
|
+
*/
|
|
17305
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationSubscriptionExpired;
|
|
17306
|
+
|
|
17307
|
+
/**
|
|
17308
|
+
* Verifies an OrganizationSubscriptionExpired message.
|
|
17309
|
+
* @param message Plain object to verify
|
|
17310
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17311
|
+
*/
|
|
17312
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17313
|
+
|
|
17314
|
+
/**
|
|
17315
|
+
* Creates an OrganizationSubscriptionExpired message from a plain object. Also converts values to their respective internal types.
|
|
17316
|
+
* @param object Plain object
|
|
17317
|
+
* @returns OrganizationSubscriptionExpired
|
|
17318
|
+
*/
|
|
17319
|
+
public static fromObject(object: { [k: string]: any }): OrganizationSubscriptionExpired;
|
|
17320
|
+
|
|
17321
|
+
/**
|
|
17322
|
+
* Creates a plain object from an OrganizationSubscriptionExpired message. Also converts values to other types if specified.
|
|
17323
|
+
* @param message OrganizationSubscriptionExpired
|
|
17324
|
+
* @param [options] Conversion options
|
|
17325
|
+
* @returns Plain object
|
|
17326
|
+
*/
|
|
17327
|
+
public static toObject(message: OrganizationSubscriptionExpired, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17328
|
+
|
|
17329
|
+
/**
|
|
17330
|
+
* Converts this OrganizationSubscriptionExpired to JSON.
|
|
17331
|
+
* @returns JSON object
|
|
17332
|
+
*/
|
|
17333
|
+
public toJSON(): { [k: string]: any };
|
|
17334
|
+
}
|
|
17335
|
+
|
|
17336
|
+
/** Properties of an OrganizationSubscriptionAmended. */
|
|
17337
|
+
export interface IOrganizationSubscriptionAmended {
|
|
17338
|
+
|
|
17339
|
+
/** OrganizationSubscriptionAmended timestamp */
|
|
17340
|
+
timestamp?: (number|Long|null);
|
|
17341
|
+
|
|
17342
|
+
/** OrganizationSubscriptionAmended dashboardUserId */
|
|
17343
|
+
dashboardUserId?: (number|null);
|
|
17344
|
+
|
|
17345
|
+
/** OrganizationSubscriptionAmended organization */
|
|
17346
|
+
organization?: (b2b.IOrganization|null);
|
|
17347
|
+
|
|
17348
|
+
/** OrganizationSubscriptionAmended subscription */
|
|
17349
|
+
subscription?: (b2b.IB2BSubscriptionManagement|null);
|
|
17350
|
+
}
|
|
17351
|
+
|
|
17352
|
+
/** Represents an OrganizationSubscriptionAmended. */
|
|
17353
|
+
export class OrganizationSubscriptionAmended implements IOrganizationSubscriptionAmended {
|
|
17354
|
+
|
|
17355
|
+
/**
|
|
17356
|
+
* Constructs a new OrganizationSubscriptionAmended.
|
|
17357
|
+
* @param [properties] Properties to set
|
|
17358
|
+
*/
|
|
17359
|
+
constructor(properties?: IOrganizationSubscriptionAmended);
|
|
17360
|
+
|
|
17361
|
+
/** OrganizationSubscriptionAmended timestamp. */
|
|
17362
|
+
public timestamp: (number|Long);
|
|
17363
|
+
|
|
17364
|
+
/** OrganizationSubscriptionAmended dashboardUserId. */
|
|
17365
|
+
public dashboardUserId: number;
|
|
17366
|
+
|
|
17367
|
+
/** OrganizationSubscriptionAmended organization. */
|
|
17368
|
+
public organization?: (b2b.IOrganization|null);
|
|
17369
|
+
|
|
17370
|
+
/** OrganizationSubscriptionAmended subscription. */
|
|
17371
|
+
public subscription?: (b2b.IB2BSubscriptionManagement|null);
|
|
17372
|
+
|
|
17373
|
+
/**
|
|
17374
|
+
* Creates a new OrganizationSubscriptionAmended instance using the specified properties.
|
|
17375
|
+
* @param [properties] Properties to set
|
|
17376
|
+
* @returns OrganizationSubscriptionAmended instance
|
|
17377
|
+
*/
|
|
17378
|
+
public static create(properties?: IOrganizationSubscriptionAmended): OrganizationSubscriptionAmended;
|
|
17379
|
+
|
|
17380
|
+
/**
|
|
17381
|
+
* Encodes the specified OrganizationSubscriptionAmended message. Does not implicitly {@link OrganizationSubscriptionAmended.verify|verify} messages.
|
|
17382
|
+
* @param message OrganizationSubscriptionAmended message or plain object to encode
|
|
17383
|
+
* @param [writer] Writer to encode to
|
|
17384
|
+
* @returns Writer
|
|
17385
|
+
*/
|
|
17386
|
+
public static encode(message: IOrganizationSubscriptionAmended, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17387
|
+
|
|
17388
|
+
/**
|
|
17389
|
+
* Encodes the specified OrganizationSubscriptionAmended message, length delimited. Does not implicitly {@link OrganizationSubscriptionAmended.verify|verify} messages.
|
|
17390
|
+
* @param message OrganizationSubscriptionAmended message or plain object to encode
|
|
17391
|
+
* @param [writer] Writer to encode to
|
|
17392
|
+
* @returns Writer
|
|
17393
|
+
*/
|
|
17394
|
+
public static encodeDelimited(message: IOrganizationSubscriptionAmended, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17395
|
+
|
|
17396
|
+
/**
|
|
17397
|
+
* Decodes an OrganizationSubscriptionAmended message from the specified reader or buffer.
|
|
17398
|
+
* @param reader Reader or buffer to decode from
|
|
17399
|
+
* @param [length] Message length if known beforehand
|
|
17400
|
+
* @returns OrganizationSubscriptionAmended
|
|
17401
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17402
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17403
|
+
*/
|
|
17404
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationSubscriptionAmended;
|
|
17405
|
+
|
|
17406
|
+
/**
|
|
17407
|
+
* Decodes an OrganizationSubscriptionAmended message from the specified reader or buffer, length delimited.
|
|
17408
|
+
* @param reader Reader or buffer to decode from
|
|
17409
|
+
* @returns OrganizationSubscriptionAmended
|
|
17410
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17411
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17412
|
+
*/
|
|
17413
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationSubscriptionAmended;
|
|
17414
|
+
|
|
17415
|
+
/**
|
|
17416
|
+
* Verifies an OrganizationSubscriptionAmended message.
|
|
17417
|
+
* @param message Plain object to verify
|
|
17418
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17419
|
+
*/
|
|
17420
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17421
|
+
|
|
17422
|
+
/**
|
|
17423
|
+
* Creates an OrganizationSubscriptionAmended message from a plain object. Also converts values to their respective internal types.
|
|
17424
|
+
* @param object Plain object
|
|
17425
|
+
* @returns OrganizationSubscriptionAmended
|
|
17426
|
+
*/
|
|
17427
|
+
public static fromObject(object: { [k: string]: any }): OrganizationSubscriptionAmended;
|
|
17428
|
+
|
|
17429
|
+
/**
|
|
17430
|
+
* Creates a plain object from an OrganizationSubscriptionAmended message. Also converts values to other types if specified.
|
|
17431
|
+
* @param message OrganizationSubscriptionAmended
|
|
17432
|
+
* @param [options] Conversion options
|
|
17433
|
+
* @returns Plain object
|
|
17434
|
+
*/
|
|
17435
|
+
public static toObject(message: OrganizationSubscriptionAmended, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17436
|
+
|
|
17437
|
+
/**
|
|
17438
|
+
* Converts this OrganizationSubscriptionAmended to JSON.
|
|
17439
|
+
* @returns JSON object
|
|
17440
|
+
*/
|
|
17441
|
+
public toJSON(): { [k: string]: any };
|
|
17442
|
+
}
|
|
17443
|
+
|
|
16658
17444
|
/** Properties of a FamilyMemberAdded. */
|
|
16659
17445
|
export interface IFamilyMemberAdded {
|
|
16660
17446
|
|