@headspace/protos-events 1.788.0 → 1.789.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 +373 -0
- package/lib/index.js +1295 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -15229,6 +15229,379 @@ export class MemberDeactivationStarted implements IMemberDeactivationStarted {
|
|
|
15229
15229
|
public toJSON(): { [k: string]: any };
|
|
15230
15230
|
}
|
|
15231
15231
|
|
|
15232
|
+
/** CareService enum. */
|
|
15233
|
+
export enum CareService {
|
|
15234
|
+
CARE_SERVICE_UNKNOWN = 0,
|
|
15235
|
+
CARE_SERVICE_COACHING = 1,
|
|
15236
|
+
CARE_SERVICE_THERAPY = 2,
|
|
15237
|
+
CARE_SERVICE_PSYCHIATRY = 3
|
|
15238
|
+
}
|
|
15239
|
+
|
|
15240
|
+
/** SessionType enum. */
|
|
15241
|
+
export enum SessionType {
|
|
15242
|
+
SESSION_TYPE_UNKNOWN = 0,
|
|
15243
|
+
SESSION_TYPE_INTAKE = 1,
|
|
15244
|
+
SESSION_TYPE_FOLLOW_UP = 2,
|
|
15245
|
+
SESSION_TYPE_SI = 3,
|
|
15246
|
+
SESSION_TYPE_DROP_IN = 4
|
|
15247
|
+
}
|
|
15248
|
+
|
|
15249
|
+
/** SessionFormat enum. */
|
|
15250
|
+
export enum SessionFormat {
|
|
15251
|
+
SESSION_FORMAT_UNKNOWN = 0,
|
|
15252
|
+
SESSION_FORMAT_CHAT = 1,
|
|
15253
|
+
SESSION_FORMAT_VIDEO = 2
|
|
15254
|
+
}
|
|
15255
|
+
|
|
15256
|
+
/** Properties of a CareSessionCompleted. */
|
|
15257
|
+
export interface ICareSessionCompleted {
|
|
15258
|
+
|
|
15259
|
+
/** CareSessionCompleted eventDetail */
|
|
15260
|
+
eventDetail?: (IEventDetail|null);
|
|
15261
|
+
|
|
15262
|
+
/** CareSessionCompleted hsUserId */
|
|
15263
|
+
hsUserId?: (string|null);
|
|
15264
|
+
|
|
15265
|
+
/** CareSessionCompleted listenerId */
|
|
15266
|
+
listenerId?: (number|Long|null);
|
|
15267
|
+
|
|
15268
|
+
/** CareSessionCompleted sessionId */
|
|
15269
|
+
sessionId?: (number|Long|null);
|
|
15270
|
+
|
|
15271
|
+
/** CareSessionCompleted careService */
|
|
15272
|
+
careService?: (CareService|null);
|
|
15273
|
+
|
|
15274
|
+
/** CareSessionCompleted sessionType */
|
|
15275
|
+
sessionType?: (SessionType|null);
|
|
15276
|
+
|
|
15277
|
+
/** CareSessionCompleted sessionFormat */
|
|
15278
|
+
sessionFormat?: (SessionFormat|null);
|
|
15279
|
+
|
|
15280
|
+
/** CareSessionCompleted isScheduled */
|
|
15281
|
+
isScheduled?: (boolean|null);
|
|
15282
|
+
|
|
15283
|
+
/** CareSessionCompleted startTimestamp */
|
|
15284
|
+
startTimestamp?: (number|Long|null);
|
|
15285
|
+
|
|
15286
|
+
/** CareSessionCompleted startTimestampIso */
|
|
15287
|
+
startTimestampIso?: (string|null);
|
|
15288
|
+
|
|
15289
|
+
/** CareSessionCompleted engagementTimestamp */
|
|
15290
|
+
engagementTimestamp?: (number|Long|null);
|
|
15291
|
+
|
|
15292
|
+
/** CareSessionCompleted engagementTimestampIso */
|
|
15293
|
+
engagementTimestampIso?: (string|null);
|
|
15294
|
+
|
|
15295
|
+
/** CareSessionCompleted endTimestamp */
|
|
15296
|
+
endTimestamp?: (number|Long|null);
|
|
15297
|
+
|
|
15298
|
+
/** CareSessionCompleted endTimestampIso */
|
|
15299
|
+
endTimestampIso?: (string|null);
|
|
15300
|
+
|
|
15301
|
+
/** CareSessionCompleted endedGingerUserId */
|
|
15302
|
+
endedGingerUserId?: (string|null);
|
|
15303
|
+
}
|
|
15304
|
+
|
|
15305
|
+
/** Represents a CareSessionCompleted. */
|
|
15306
|
+
export class CareSessionCompleted implements ICareSessionCompleted {
|
|
15307
|
+
|
|
15308
|
+
/**
|
|
15309
|
+
* Constructs a new CareSessionCompleted.
|
|
15310
|
+
* @param [properties] Properties to set
|
|
15311
|
+
*/
|
|
15312
|
+
constructor(properties?: ICareSessionCompleted);
|
|
15313
|
+
|
|
15314
|
+
/** CareSessionCompleted eventDetail. */
|
|
15315
|
+
public eventDetail?: (IEventDetail|null);
|
|
15316
|
+
|
|
15317
|
+
/** CareSessionCompleted hsUserId. */
|
|
15318
|
+
public hsUserId: string;
|
|
15319
|
+
|
|
15320
|
+
/** CareSessionCompleted listenerId. */
|
|
15321
|
+
public listenerId: (number|Long);
|
|
15322
|
+
|
|
15323
|
+
/** CareSessionCompleted sessionId. */
|
|
15324
|
+
public sessionId: (number|Long);
|
|
15325
|
+
|
|
15326
|
+
/** CareSessionCompleted careService. */
|
|
15327
|
+
public careService: CareService;
|
|
15328
|
+
|
|
15329
|
+
/** CareSessionCompleted sessionType. */
|
|
15330
|
+
public sessionType: SessionType;
|
|
15331
|
+
|
|
15332
|
+
/** CareSessionCompleted sessionFormat. */
|
|
15333
|
+
public sessionFormat: SessionFormat;
|
|
15334
|
+
|
|
15335
|
+
/** CareSessionCompleted isScheduled. */
|
|
15336
|
+
public isScheduled: boolean;
|
|
15337
|
+
|
|
15338
|
+
/** CareSessionCompleted startTimestamp. */
|
|
15339
|
+
public startTimestamp: (number|Long);
|
|
15340
|
+
|
|
15341
|
+
/** CareSessionCompleted startTimestampIso. */
|
|
15342
|
+
public startTimestampIso: string;
|
|
15343
|
+
|
|
15344
|
+
/** CareSessionCompleted engagementTimestamp. */
|
|
15345
|
+
public engagementTimestamp: (number|Long);
|
|
15346
|
+
|
|
15347
|
+
/** CareSessionCompleted engagementTimestampIso. */
|
|
15348
|
+
public engagementTimestampIso: string;
|
|
15349
|
+
|
|
15350
|
+
/** CareSessionCompleted endTimestamp. */
|
|
15351
|
+
public endTimestamp: (number|Long);
|
|
15352
|
+
|
|
15353
|
+
/** CareSessionCompleted endTimestampIso. */
|
|
15354
|
+
public endTimestampIso: string;
|
|
15355
|
+
|
|
15356
|
+
/** CareSessionCompleted endedGingerUserId. */
|
|
15357
|
+
public endedGingerUserId: string;
|
|
15358
|
+
|
|
15359
|
+
/**
|
|
15360
|
+
* Creates a new CareSessionCompleted instance using the specified properties.
|
|
15361
|
+
* @param [properties] Properties to set
|
|
15362
|
+
* @returns CareSessionCompleted instance
|
|
15363
|
+
*/
|
|
15364
|
+
public static create(properties?: ICareSessionCompleted): CareSessionCompleted;
|
|
15365
|
+
|
|
15366
|
+
/**
|
|
15367
|
+
* Encodes the specified CareSessionCompleted message. Does not implicitly {@link CareSessionCompleted.verify|verify} messages.
|
|
15368
|
+
* @param message CareSessionCompleted message or plain object to encode
|
|
15369
|
+
* @param [writer] Writer to encode to
|
|
15370
|
+
* @returns Writer
|
|
15371
|
+
*/
|
|
15372
|
+
public static encode(message: ICareSessionCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15373
|
+
|
|
15374
|
+
/**
|
|
15375
|
+
* Encodes the specified CareSessionCompleted message, length delimited. Does not implicitly {@link CareSessionCompleted.verify|verify} messages.
|
|
15376
|
+
* @param message CareSessionCompleted message or plain object to encode
|
|
15377
|
+
* @param [writer] Writer to encode to
|
|
15378
|
+
* @returns Writer
|
|
15379
|
+
*/
|
|
15380
|
+
public static encodeDelimited(message: ICareSessionCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15381
|
+
|
|
15382
|
+
/**
|
|
15383
|
+
* Decodes a CareSessionCompleted message from the specified reader or buffer.
|
|
15384
|
+
* @param reader Reader or buffer to decode from
|
|
15385
|
+
* @param [length] Message length if known beforehand
|
|
15386
|
+
* @returns CareSessionCompleted
|
|
15387
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15388
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15389
|
+
*/
|
|
15390
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CareSessionCompleted;
|
|
15391
|
+
|
|
15392
|
+
/**
|
|
15393
|
+
* Decodes a CareSessionCompleted message from the specified reader or buffer, length delimited.
|
|
15394
|
+
* @param reader Reader or buffer to decode from
|
|
15395
|
+
* @returns CareSessionCompleted
|
|
15396
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15397
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15398
|
+
*/
|
|
15399
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CareSessionCompleted;
|
|
15400
|
+
|
|
15401
|
+
/**
|
|
15402
|
+
* Verifies a CareSessionCompleted message.
|
|
15403
|
+
* @param message Plain object to verify
|
|
15404
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
15405
|
+
*/
|
|
15406
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
15407
|
+
|
|
15408
|
+
/**
|
|
15409
|
+
* Creates a CareSessionCompleted message from a plain object. Also converts values to their respective internal types.
|
|
15410
|
+
* @param object Plain object
|
|
15411
|
+
* @returns CareSessionCompleted
|
|
15412
|
+
*/
|
|
15413
|
+
public static fromObject(object: { [k: string]: any }): CareSessionCompleted;
|
|
15414
|
+
|
|
15415
|
+
/**
|
|
15416
|
+
* Creates a plain object from a CareSessionCompleted message. Also converts values to other types if specified.
|
|
15417
|
+
* @param message CareSessionCompleted
|
|
15418
|
+
* @param [options] Conversion options
|
|
15419
|
+
* @returns Plain object
|
|
15420
|
+
*/
|
|
15421
|
+
public static toObject(message: CareSessionCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15422
|
+
|
|
15423
|
+
/**
|
|
15424
|
+
* Converts this CareSessionCompleted to JSON.
|
|
15425
|
+
* @returns JSON object
|
|
15426
|
+
*/
|
|
15427
|
+
public toJSON(): { [k: string]: any };
|
|
15428
|
+
}
|
|
15429
|
+
|
|
15430
|
+
/** CareAvailabilityType enum. */
|
|
15431
|
+
export enum CareAvailabilityType {
|
|
15432
|
+
CARE_AVAILABILITY_TYPE_UNKNOWN = 0,
|
|
15433
|
+
CARE_AVAILABILITY_TYPE_CHAT = 1,
|
|
15434
|
+
CARE_AVAILABILITY_TYPE_VIDEO = 2
|
|
15435
|
+
}
|
|
15436
|
+
|
|
15437
|
+
/** Properties of a CareAvailabilityOffered. */
|
|
15438
|
+
export interface ICareAvailabilityOffered {
|
|
15439
|
+
|
|
15440
|
+
/** CareAvailabilityOffered listenerId */
|
|
15441
|
+
listenerId?: (number|Long|null);
|
|
15442
|
+
|
|
15443
|
+
/** CareAvailabilityOffered careWebUserId */
|
|
15444
|
+
careWebUserId?: (string|null);
|
|
15445
|
+
|
|
15446
|
+
/** CareAvailabilityOffered hsUserId */
|
|
15447
|
+
hsUserId?: (string|null);
|
|
15448
|
+
|
|
15449
|
+
/** CareAvailabilityOffered careService */
|
|
15450
|
+
careService?: (CareService|null);
|
|
15451
|
+
|
|
15452
|
+
/** CareAvailabilityOffered availabilityType */
|
|
15453
|
+
availabilityType?: (CareAvailabilityType|null);
|
|
15454
|
+
|
|
15455
|
+
/** CareAvailabilityOffered searchStart */
|
|
15456
|
+
searchStart?: (number|Long|null);
|
|
15457
|
+
|
|
15458
|
+
/** CareAvailabilityOffered searchEnd */
|
|
15459
|
+
searchEnd?: (number|Long|null);
|
|
15460
|
+
|
|
15461
|
+
/** CareAvailabilityOffered availabilitySlotCount */
|
|
15462
|
+
availabilitySlotCount?: (number|null);
|
|
15463
|
+
|
|
15464
|
+
/** CareAvailabilityOffered earliestAvailability */
|
|
15465
|
+
earliestAvailability?: (number|Long|null);
|
|
15466
|
+
|
|
15467
|
+
/** CareAvailabilityOffered earliestAvailabilityIso */
|
|
15468
|
+
earliestAvailabilityIso?: (string|null);
|
|
15469
|
+
|
|
15470
|
+
/** CareAvailabilityOffered earliestAvailabilityHoursAhead */
|
|
15471
|
+
earliestAvailabilityHoursAhead?: (number|null);
|
|
15472
|
+
|
|
15473
|
+
/** CareAvailabilityOffered latestAvailability */
|
|
15474
|
+
latestAvailability?: (number|Long|null);
|
|
15475
|
+
|
|
15476
|
+
/** CareAvailabilityOffered latestAvailabilityIso */
|
|
15477
|
+
latestAvailabilityIso?: (string|null);
|
|
15478
|
+
|
|
15479
|
+
/** CareAvailabilityOffered latestAvailabilityHoursAhead */
|
|
15480
|
+
latestAvailabilityHoursAhead?: (number|null);
|
|
15481
|
+
}
|
|
15482
|
+
|
|
15483
|
+
/** Represents a CareAvailabilityOffered. */
|
|
15484
|
+
export class CareAvailabilityOffered implements ICareAvailabilityOffered {
|
|
15485
|
+
|
|
15486
|
+
/**
|
|
15487
|
+
* Constructs a new CareAvailabilityOffered.
|
|
15488
|
+
* @param [properties] Properties to set
|
|
15489
|
+
*/
|
|
15490
|
+
constructor(properties?: ICareAvailabilityOffered);
|
|
15491
|
+
|
|
15492
|
+
/** CareAvailabilityOffered listenerId. */
|
|
15493
|
+
public listenerId: (number|Long);
|
|
15494
|
+
|
|
15495
|
+
/** CareAvailabilityOffered careWebUserId. */
|
|
15496
|
+
public careWebUserId: string;
|
|
15497
|
+
|
|
15498
|
+
/** CareAvailabilityOffered hsUserId. */
|
|
15499
|
+
public hsUserId: string;
|
|
15500
|
+
|
|
15501
|
+
/** CareAvailabilityOffered careService. */
|
|
15502
|
+
public careService: CareService;
|
|
15503
|
+
|
|
15504
|
+
/** CareAvailabilityOffered availabilityType. */
|
|
15505
|
+
public availabilityType: CareAvailabilityType;
|
|
15506
|
+
|
|
15507
|
+
/** CareAvailabilityOffered searchStart. */
|
|
15508
|
+
public searchStart: (number|Long);
|
|
15509
|
+
|
|
15510
|
+
/** CareAvailabilityOffered searchEnd. */
|
|
15511
|
+
public searchEnd: (number|Long);
|
|
15512
|
+
|
|
15513
|
+
/** CareAvailabilityOffered availabilitySlotCount. */
|
|
15514
|
+
public availabilitySlotCount: number;
|
|
15515
|
+
|
|
15516
|
+
/** CareAvailabilityOffered earliestAvailability. */
|
|
15517
|
+
public earliestAvailability: (number|Long);
|
|
15518
|
+
|
|
15519
|
+
/** CareAvailabilityOffered earliestAvailabilityIso. */
|
|
15520
|
+
public earliestAvailabilityIso: string;
|
|
15521
|
+
|
|
15522
|
+
/** CareAvailabilityOffered earliestAvailabilityHoursAhead. */
|
|
15523
|
+
public earliestAvailabilityHoursAhead: number;
|
|
15524
|
+
|
|
15525
|
+
/** CareAvailabilityOffered latestAvailability. */
|
|
15526
|
+
public latestAvailability: (number|Long);
|
|
15527
|
+
|
|
15528
|
+
/** CareAvailabilityOffered latestAvailabilityIso. */
|
|
15529
|
+
public latestAvailabilityIso: string;
|
|
15530
|
+
|
|
15531
|
+
/** CareAvailabilityOffered latestAvailabilityHoursAhead. */
|
|
15532
|
+
public latestAvailabilityHoursAhead: number;
|
|
15533
|
+
|
|
15534
|
+
/**
|
|
15535
|
+
* Creates a new CareAvailabilityOffered instance using the specified properties.
|
|
15536
|
+
* @param [properties] Properties to set
|
|
15537
|
+
* @returns CareAvailabilityOffered instance
|
|
15538
|
+
*/
|
|
15539
|
+
public static create(properties?: ICareAvailabilityOffered): CareAvailabilityOffered;
|
|
15540
|
+
|
|
15541
|
+
/**
|
|
15542
|
+
* Encodes the specified CareAvailabilityOffered message. Does not implicitly {@link CareAvailabilityOffered.verify|verify} messages.
|
|
15543
|
+
* @param message CareAvailabilityOffered message or plain object to encode
|
|
15544
|
+
* @param [writer] Writer to encode to
|
|
15545
|
+
* @returns Writer
|
|
15546
|
+
*/
|
|
15547
|
+
public static encode(message: ICareAvailabilityOffered, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15548
|
+
|
|
15549
|
+
/**
|
|
15550
|
+
* Encodes the specified CareAvailabilityOffered message, length delimited. Does not implicitly {@link CareAvailabilityOffered.verify|verify} messages.
|
|
15551
|
+
* @param message CareAvailabilityOffered message or plain object to encode
|
|
15552
|
+
* @param [writer] Writer to encode to
|
|
15553
|
+
* @returns Writer
|
|
15554
|
+
*/
|
|
15555
|
+
public static encodeDelimited(message: ICareAvailabilityOffered, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15556
|
+
|
|
15557
|
+
/**
|
|
15558
|
+
* Decodes a CareAvailabilityOffered message from the specified reader or buffer.
|
|
15559
|
+
* @param reader Reader or buffer to decode from
|
|
15560
|
+
* @param [length] Message length if known beforehand
|
|
15561
|
+
* @returns CareAvailabilityOffered
|
|
15562
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15563
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15564
|
+
*/
|
|
15565
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CareAvailabilityOffered;
|
|
15566
|
+
|
|
15567
|
+
/**
|
|
15568
|
+
* Decodes a CareAvailabilityOffered message from the specified reader or buffer, length delimited.
|
|
15569
|
+
* @param reader Reader or buffer to decode from
|
|
15570
|
+
* @returns CareAvailabilityOffered
|
|
15571
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15572
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15573
|
+
*/
|
|
15574
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CareAvailabilityOffered;
|
|
15575
|
+
|
|
15576
|
+
/**
|
|
15577
|
+
* Verifies a CareAvailabilityOffered message.
|
|
15578
|
+
* @param message Plain object to verify
|
|
15579
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
15580
|
+
*/
|
|
15581
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
15582
|
+
|
|
15583
|
+
/**
|
|
15584
|
+
* Creates a CareAvailabilityOffered message from a plain object. Also converts values to their respective internal types.
|
|
15585
|
+
* @param object Plain object
|
|
15586
|
+
* @returns CareAvailabilityOffered
|
|
15587
|
+
*/
|
|
15588
|
+
public static fromObject(object: { [k: string]: any }): CareAvailabilityOffered;
|
|
15589
|
+
|
|
15590
|
+
/**
|
|
15591
|
+
* Creates a plain object from a CareAvailabilityOffered message. Also converts values to other types if specified.
|
|
15592
|
+
* @param message CareAvailabilityOffered
|
|
15593
|
+
* @param [options] Conversion options
|
|
15594
|
+
* @returns Plain object
|
|
15595
|
+
*/
|
|
15596
|
+
public static toObject(message: CareAvailabilityOffered, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15597
|
+
|
|
15598
|
+
/**
|
|
15599
|
+
* Converts this CareAvailabilityOffered to JSON.
|
|
15600
|
+
* @returns JSON object
|
|
15601
|
+
*/
|
|
15602
|
+
public toJSON(): { [k: string]: any };
|
|
15603
|
+
}
|
|
15604
|
+
|
|
15232
15605
|
/** CostShareType enum. */
|
|
15233
15606
|
export enum CostShareType {
|
|
15234
15607
|
COST_SHARE_TYPE_UNKNOWN = 0,
|