@headspace/protos-events 1.209.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +450 -0
  2. package/lib/index.js +1196 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3454,6 +3454,132 @@ export namespace b2b {
3454
3454
  public toJSON(): { [k: string]: any };
3455
3455
  }
3456
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
+
3457
3583
  /** OrgType enum. */
3458
3584
  enum OrgType {
3459
3585
  ORG_TYPE_UNKNOWN = 0,
@@ -16991,6 +17117,330 @@ export class OrganizationUpdated implements IOrganizationUpdated {
16991
17117
  public toJSON(): { [k: string]: any };
16992
17118
  }
16993
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
+
16994
17444
  /** Properties of a FamilyMemberAdded. */
16995
17445
  export interface IFamilyMemberAdded {
16996
17446