@headspace/protos-events 1.481.0 → 1.483.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 +134 -13
  2. package/lib/index.js +386 -46
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -191,7 +191,8 @@ export namespace auth0 {
191
191
  HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO = 31,
192
192
  HEADSPACE_E2E_NO_SEATS_OKTA_SSO = 32,
193
193
  DELOITTE_UK_AZURE_SSO = 33,
194
- CVENT_OKTA_SSO = 34
194
+ CVENT_OKTA_SSO = 34,
195
+ FLOCKSAFETY_OKTA_SSO = 35
195
196
  }
196
197
 
197
198
  /** ConnectionType enum. */
@@ -11863,6 +11864,114 @@ export namespace elf {
11863
11864
  */
11864
11865
  public toJSON(): { [k: string]: any };
11865
11866
  }
11867
+
11868
+ /** Properties of an ElfOfferingProcessingStats. */
11869
+ interface IElfOfferingProcessingStats {
11870
+
11871
+ /** ElfOfferingProcessingStats offering */
11872
+ offering?: (b2b.SubscriptionOffering|null);
11873
+
11874
+ /** ElfOfferingProcessingStats recordsTotal */
11875
+ recordsTotal?: (number|null);
11876
+
11877
+ /** ElfOfferingProcessingStats recordsToBeRemoved */
11878
+ recordsToBeRemoved?: (number|null);
11879
+
11880
+ /** ElfOfferingProcessingStats recordsUpdated */
11881
+ recordsUpdated?: (number|null);
11882
+ }
11883
+
11884
+ /** Represents an ElfOfferingProcessingStats. */
11885
+ class ElfOfferingProcessingStats implements IElfOfferingProcessingStats {
11886
+
11887
+ /**
11888
+ * Constructs a new ElfOfferingProcessingStats.
11889
+ * @param [properties] Properties to set
11890
+ */
11891
+ constructor(properties?: elf.IElfOfferingProcessingStats);
11892
+
11893
+ /** ElfOfferingProcessingStats offering. */
11894
+ public offering: b2b.SubscriptionOffering;
11895
+
11896
+ /** ElfOfferingProcessingStats recordsTotal. */
11897
+ public recordsTotal: number;
11898
+
11899
+ /** ElfOfferingProcessingStats recordsToBeRemoved. */
11900
+ public recordsToBeRemoved: number;
11901
+
11902
+ /** ElfOfferingProcessingStats recordsUpdated. */
11903
+ public recordsUpdated: number;
11904
+
11905
+ /**
11906
+ * Creates a new ElfOfferingProcessingStats instance using the specified properties.
11907
+ * @param [properties] Properties to set
11908
+ * @returns ElfOfferingProcessingStats instance
11909
+ */
11910
+ public static create(properties?: elf.IElfOfferingProcessingStats): elf.ElfOfferingProcessingStats;
11911
+
11912
+ /**
11913
+ * Encodes the specified ElfOfferingProcessingStats message. Does not implicitly {@link elf.ElfOfferingProcessingStats.verify|verify} messages.
11914
+ * @param message ElfOfferingProcessingStats message or plain object to encode
11915
+ * @param [writer] Writer to encode to
11916
+ * @returns Writer
11917
+ */
11918
+ public static encode(message: elf.IElfOfferingProcessingStats, writer?: $protobuf.Writer): $protobuf.Writer;
11919
+
11920
+ /**
11921
+ * Encodes the specified ElfOfferingProcessingStats message, length delimited. Does not implicitly {@link elf.ElfOfferingProcessingStats.verify|verify} messages.
11922
+ * @param message ElfOfferingProcessingStats message or plain object to encode
11923
+ * @param [writer] Writer to encode to
11924
+ * @returns Writer
11925
+ */
11926
+ public static encodeDelimited(message: elf.IElfOfferingProcessingStats, writer?: $protobuf.Writer): $protobuf.Writer;
11927
+
11928
+ /**
11929
+ * Decodes an ElfOfferingProcessingStats message from the specified reader or buffer.
11930
+ * @param reader Reader or buffer to decode from
11931
+ * @param [length] Message length if known beforehand
11932
+ * @returns ElfOfferingProcessingStats
11933
+ * @throws {Error} If the payload is not a reader or valid buffer
11934
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11935
+ */
11936
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): elf.ElfOfferingProcessingStats;
11937
+
11938
+ /**
11939
+ * Decodes an ElfOfferingProcessingStats message from the specified reader or buffer, length delimited.
11940
+ * @param reader Reader or buffer to decode from
11941
+ * @returns ElfOfferingProcessingStats
11942
+ * @throws {Error} If the payload is not a reader or valid buffer
11943
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11944
+ */
11945
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): elf.ElfOfferingProcessingStats;
11946
+
11947
+ /**
11948
+ * Verifies an ElfOfferingProcessingStats message.
11949
+ * @param message Plain object to verify
11950
+ * @returns `null` if valid, otherwise the reason why it is not
11951
+ */
11952
+ public static verify(message: { [k: string]: any }): (string|null);
11953
+
11954
+ /**
11955
+ * Creates an ElfOfferingProcessingStats message from a plain object. Also converts values to their respective internal types.
11956
+ * @param object Plain object
11957
+ * @returns ElfOfferingProcessingStats
11958
+ */
11959
+ public static fromObject(object: { [k: string]: any }): elf.ElfOfferingProcessingStats;
11960
+
11961
+ /**
11962
+ * Creates a plain object from an ElfOfferingProcessingStats message. Also converts values to other types if specified.
11963
+ * @param message ElfOfferingProcessingStats
11964
+ * @param [options] Conversion options
11965
+ * @returns Plain object
11966
+ */
11967
+ public static toObject(message: elf.ElfOfferingProcessingStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
11968
+
11969
+ /**
11970
+ * Converts this ElfOfferingProcessingStats to JSON.
11971
+ * @returns JSON object
11972
+ */
11973
+ public toJSON(): { [k: string]: any };
11974
+ }
11866
11975
  }
11867
11976
 
11868
11977
  /** Namespace asset. */
@@ -34376,14 +34485,14 @@ export interface IElfProcessingStats {
34376
34485
  /** ElfProcessingStats isDryRun */
34377
34486
  isDryRun?: (boolean|null);
34378
34487
 
34379
- /** ElfProcessingStats total */
34380
- total?: (number|null);
34488
+ /** ElfProcessingStats recordsTotal */
34489
+ recordsTotal?: (number|null);
34381
34490
 
34382
- /** ElfProcessingStats toBeRemoved */
34383
- toBeRemoved?: (number|null);
34491
+ /** ElfProcessingStats recordsToBeRemoved */
34492
+ recordsToBeRemoved?: (number|null);
34384
34493
 
34385
- /** ElfProcessingStats skipped */
34386
- skipped?: (number|null);
34494
+ /** ElfProcessingStats recordsSkipped */
34495
+ recordsSkipped?: (number|null);
34387
34496
 
34388
34497
  /** ElfProcessingStats errors */
34389
34498
  errors?: ({ [k: string]: string }|null);
@@ -34417,6 +34526,12 @@ export interface IElfProcessingStats {
34417
34526
 
34418
34527
  /** ElfProcessingStats elfErrorsCsvUrl */
34419
34528
  elfErrorsCsvUrl?: (string|null);
34529
+
34530
+ /** ElfProcessingStats recordsUpdated */
34531
+ recordsUpdated?: (number|null);
34532
+
34533
+ /** ElfProcessingStats statsByOffering */
34534
+ statsByOffering?: (elf.IElfOfferingProcessingStats[]|null);
34420
34535
  }
34421
34536
 
34422
34537
  /** Represents an ElfProcessingStats. */
@@ -34440,14 +34555,14 @@ export class ElfProcessingStats implements IElfProcessingStats {
34440
34555
  /** ElfProcessingStats isDryRun. */
34441
34556
  public isDryRun: boolean;
34442
34557
 
34443
- /** ElfProcessingStats total. */
34444
- public total: number;
34558
+ /** ElfProcessingStats recordsTotal. */
34559
+ public recordsTotal: number;
34445
34560
 
34446
- /** ElfProcessingStats toBeRemoved. */
34447
- public toBeRemoved: number;
34561
+ /** ElfProcessingStats recordsToBeRemoved. */
34562
+ public recordsToBeRemoved: number;
34448
34563
 
34449
- /** ElfProcessingStats skipped. */
34450
- public skipped: number;
34564
+ /** ElfProcessingStats recordsSkipped. */
34565
+ public recordsSkipped: number;
34451
34566
 
34452
34567
  /** ElfProcessingStats errors. */
34453
34568
  public errors: { [k: string]: string };
@@ -34482,6 +34597,12 @@ export class ElfProcessingStats implements IElfProcessingStats {
34482
34597
  /** ElfProcessingStats elfErrorsCsvUrl. */
34483
34598
  public elfErrorsCsvUrl: string;
34484
34599
 
34600
+ /** ElfProcessingStats recordsUpdated. */
34601
+ public recordsUpdated: number;
34602
+
34603
+ /** ElfProcessingStats statsByOffering. */
34604
+ public statsByOffering: elf.IElfOfferingProcessingStats[];
34605
+
34485
34606
  /**
34486
34607
  * Creates a new ElfProcessingStats instance using the specified properties.
34487
34608
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -410,6 +410,7 @@ $root.auth0 = (function() {
410
410
  * @property {number} HEADSPACE_E2E_NO_SEATS_OKTA_SSO=32 HEADSPACE_E2E_NO_SEATS_OKTA_SSO value
411
411
  * @property {number} DELOITTE_UK_AZURE_SSO=33 DELOITTE_UK_AZURE_SSO value
412
412
  * @property {number} CVENT_OKTA_SSO=34 CVENT_OKTA_SSO value
413
+ * @property {number} FLOCKSAFETY_OKTA_SSO=35 FLOCKSAFETY_OKTA_SSO value
413
414
  */
414
415
  connections.Connection = (function() {
415
416
  var valuesById = {}, values = Object.create(valuesById);
@@ -447,6 +448,7 @@ $root.auth0 = (function() {
447
448
  values[valuesById[32] = "HEADSPACE_E2E_NO_SEATS_OKTA_SSO"] = 32;
448
449
  values[valuesById[33] = "DELOITTE_UK_AZURE_SSO"] = 33;
449
450
  values[valuesById[34] = "CVENT_OKTA_SSO"] = 34;
451
+ values[valuesById[35] = "FLOCKSAFETY_OKTA_SSO"] = 35;
450
452
  return values;
451
453
  })();
452
454
 
@@ -28976,6 +28978,278 @@ $root.elf = (function() {
28976
28978
  return NormalizationJobError;
28977
28979
  })();
28978
28980
 
28981
+ elf.ElfOfferingProcessingStats = (function() {
28982
+
28983
+ /**
28984
+ * Properties of an ElfOfferingProcessingStats.
28985
+ * @memberof elf
28986
+ * @interface IElfOfferingProcessingStats
28987
+ * @property {b2b.SubscriptionOffering|null} [offering] ElfOfferingProcessingStats offering
28988
+ * @property {number|null} [recordsTotal] ElfOfferingProcessingStats recordsTotal
28989
+ * @property {number|null} [recordsToBeRemoved] ElfOfferingProcessingStats recordsToBeRemoved
28990
+ * @property {number|null} [recordsUpdated] ElfOfferingProcessingStats recordsUpdated
28991
+ */
28992
+
28993
+ /**
28994
+ * Constructs a new ElfOfferingProcessingStats.
28995
+ * @memberof elf
28996
+ * @classdesc Represents an ElfOfferingProcessingStats.
28997
+ * @implements IElfOfferingProcessingStats
28998
+ * @constructor
28999
+ * @param {elf.IElfOfferingProcessingStats=} [properties] Properties to set
29000
+ */
29001
+ function ElfOfferingProcessingStats(properties) {
29002
+ if (properties)
29003
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
29004
+ if (properties[keys[i]] != null)
29005
+ this[keys[i]] = properties[keys[i]];
29006
+ }
29007
+
29008
+ /**
29009
+ * ElfOfferingProcessingStats offering.
29010
+ * @member {b2b.SubscriptionOffering} offering
29011
+ * @memberof elf.ElfOfferingProcessingStats
29012
+ * @instance
29013
+ */
29014
+ ElfOfferingProcessingStats.prototype.offering = 0;
29015
+
29016
+ /**
29017
+ * ElfOfferingProcessingStats recordsTotal.
29018
+ * @member {number} recordsTotal
29019
+ * @memberof elf.ElfOfferingProcessingStats
29020
+ * @instance
29021
+ */
29022
+ ElfOfferingProcessingStats.prototype.recordsTotal = 0;
29023
+
29024
+ /**
29025
+ * ElfOfferingProcessingStats recordsToBeRemoved.
29026
+ * @member {number} recordsToBeRemoved
29027
+ * @memberof elf.ElfOfferingProcessingStats
29028
+ * @instance
29029
+ */
29030
+ ElfOfferingProcessingStats.prototype.recordsToBeRemoved = 0;
29031
+
29032
+ /**
29033
+ * ElfOfferingProcessingStats recordsUpdated.
29034
+ * @member {number} recordsUpdated
29035
+ * @memberof elf.ElfOfferingProcessingStats
29036
+ * @instance
29037
+ */
29038
+ ElfOfferingProcessingStats.prototype.recordsUpdated = 0;
29039
+
29040
+ /**
29041
+ * Creates a new ElfOfferingProcessingStats instance using the specified properties.
29042
+ * @function create
29043
+ * @memberof elf.ElfOfferingProcessingStats
29044
+ * @static
29045
+ * @param {elf.IElfOfferingProcessingStats=} [properties] Properties to set
29046
+ * @returns {elf.ElfOfferingProcessingStats} ElfOfferingProcessingStats instance
29047
+ */
29048
+ ElfOfferingProcessingStats.create = function create(properties) {
29049
+ return new ElfOfferingProcessingStats(properties);
29050
+ };
29051
+
29052
+ /**
29053
+ * Encodes the specified ElfOfferingProcessingStats message. Does not implicitly {@link elf.ElfOfferingProcessingStats.verify|verify} messages.
29054
+ * @function encode
29055
+ * @memberof elf.ElfOfferingProcessingStats
29056
+ * @static
29057
+ * @param {elf.IElfOfferingProcessingStats} message ElfOfferingProcessingStats message or plain object to encode
29058
+ * @param {$protobuf.Writer} [writer] Writer to encode to
29059
+ * @returns {$protobuf.Writer} Writer
29060
+ */
29061
+ ElfOfferingProcessingStats.encode = function encode(message, writer) {
29062
+ if (!writer)
29063
+ writer = $Writer.create();
29064
+ if (message.offering != null && message.hasOwnProperty("offering"))
29065
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.offering);
29066
+ if (message.recordsTotal != null && message.hasOwnProperty("recordsTotal"))
29067
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.recordsTotal);
29068
+ if (message.recordsToBeRemoved != null && message.hasOwnProperty("recordsToBeRemoved"))
29069
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.recordsToBeRemoved);
29070
+ if (message.recordsUpdated != null && message.hasOwnProperty("recordsUpdated"))
29071
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.recordsUpdated);
29072
+ return writer;
29073
+ };
29074
+
29075
+ /**
29076
+ * Encodes the specified ElfOfferingProcessingStats message, length delimited. Does not implicitly {@link elf.ElfOfferingProcessingStats.verify|verify} messages.
29077
+ * @function encodeDelimited
29078
+ * @memberof elf.ElfOfferingProcessingStats
29079
+ * @static
29080
+ * @param {elf.IElfOfferingProcessingStats} message ElfOfferingProcessingStats message or plain object to encode
29081
+ * @param {$protobuf.Writer} [writer] Writer to encode to
29082
+ * @returns {$protobuf.Writer} Writer
29083
+ */
29084
+ ElfOfferingProcessingStats.encodeDelimited = function encodeDelimited(message, writer) {
29085
+ return this.encode(message, writer).ldelim();
29086
+ };
29087
+
29088
+ /**
29089
+ * Decodes an ElfOfferingProcessingStats message from the specified reader or buffer.
29090
+ * @function decode
29091
+ * @memberof elf.ElfOfferingProcessingStats
29092
+ * @static
29093
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
29094
+ * @param {number} [length] Message length if known beforehand
29095
+ * @returns {elf.ElfOfferingProcessingStats} ElfOfferingProcessingStats
29096
+ * @throws {Error} If the payload is not a reader or valid buffer
29097
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29098
+ */
29099
+ ElfOfferingProcessingStats.decode = function decode(reader, length) {
29100
+ if (!(reader instanceof $Reader))
29101
+ reader = $Reader.create(reader);
29102
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.elf.ElfOfferingProcessingStats();
29103
+ while (reader.pos < end) {
29104
+ var tag = reader.uint32();
29105
+ switch (tag >>> 3) {
29106
+ case 1:
29107
+ message.offering = reader.int32();
29108
+ break;
29109
+ case 2:
29110
+ message.recordsTotal = reader.int32();
29111
+ break;
29112
+ case 3:
29113
+ message.recordsToBeRemoved = reader.int32();
29114
+ break;
29115
+ case 4:
29116
+ message.recordsUpdated = reader.int32();
29117
+ break;
29118
+ default:
29119
+ reader.skipType(tag & 7);
29120
+ break;
29121
+ }
29122
+ }
29123
+ return message;
29124
+ };
29125
+
29126
+ /**
29127
+ * Decodes an ElfOfferingProcessingStats message from the specified reader or buffer, length delimited.
29128
+ * @function decodeDelimited
29129
+ * @memberof elf.ElfOfferingProcessingStats
29130
+ * @static
29131
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
29132
+ * @returns {elf.ElfOfferingProcessingStats} ElfOfferingProcessingStats
29133
+ * @throws {Error} If the payload is not a reader or valid buffer
29134
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29135
+ */
29136
+ ElfOfferingProcessingStats.decodeDelimited = function decodeDelimited(reader) {
29137
+ if (!(reader instanceof $Reader))
29138
+ reader = new $Reader(reader);
29139
+ return this.decode(reader, reader.uint32());
29140
+ };
29141
+
29142
+ /**
29143
+ * Verifies an ElfOfferingProcessingStats message.
29144
+ * @function verify
29145
+ * @memberof elf.ElfOfferingProcessingStats
29146
+ * @static
29147
+ * @param {Object.<string,*>} message Plain object to verify
29148
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
29149
+ */
29150
+ ElfOfferingProcessingStats.verify = function verify(message) {
29151
+ if (typeof message !== "object" || message === null)
29152
+ return "object expected";
29153
+ if (message.offering != null && message.hasOwnProperty("offering"))
29154
+ switch (message.offering) {
29155
+ default:
29156
+ return "offering: enum value expected";
29157
+ case 0:
29158
+ case 1:
29159
+ case 2:
29160
+ break;
29161
+ }
29162
+ if (message.recordsTotal != null && message.hasOwnProperty("recordsTotal"))
29163
+ if (!$util.isInteger(message.recordsTotal))
29164
+ return "recordsTotal: integer expected";
29165
+ if (message.recordsToBeRemoved != null && message.hasOwnProperty("recordsToBeRemoved"))
29166
+ if (!$util.isInteger(message.recordsToBeRemoved))
29167
+ return "recordsToBeRemoved: integer expected";
29168
+ if (message.recordsUpdated != null && message.hasOwnProperty("recordsUpdated"))
29169
+ if (!$util.isInteger(message.recordsUpdated))
29170
+ return "recordsUpdated: integer expected";
29171
+ return null;
29172
+ };
29173
+
29174
+ /**
29175
+ * Creates an ElfOfferingProcessingStats message from a plain object. Also converts values to their respective internal types.
29176
+ * @function fromObject
29177
+ * @memberof elf.ElfOfferingProcessingStats
29178
+ * @static
29179
+ * @param {Object.<string,*>} object Plain object
29180
+ * @returns {elf.ElfOfferingProcessingStats} ElfOfferingProcessingStats
29181
+ */
29182
+ ElfOfferingProcessingStats.fromObject = function fromObject(object) {
29183
+ if (object instanceof $root.elf.ElfOfferingProcessingStats)
29184
+ return object;
29185
+ var message = new $root.elf.ElfOfferingProcessingStats();
29186
+ switch (object.offering) {
29187
+ case "SUBSCRIPTION_OFFERING_UNKNOWN":
29188
+ case 0:
29189
+ message.offering = 0;
29190
+ break;
29191
+ case "SUBSCRIPTION_OFFERING_HEADSPACE":
29192
+ case 1:
29193
+ message.offering = 1;
29194
+ break;
29195
+ case "SUBSCRIPTION_OFFERING_GINGER":
29196
+ case 2:
29197
+ message.offering = 2;
29198
+ break;
29199
+ }
29200
+ if (object.recordsTotal != null)
29201
+ message.recordsTotal = object.recordsTotal | 0;
29202
+ if (object.recordsToBeRemoved != null)
29203
+ message.recordsToBeRemoved = object.recordsToBeRemoved | 0;
29204
+ if (object.recordsUpdated != null)
29205
+ message.recordsUpdated = object.recordsUpdated | 0;
29206
+ return message;
29207
+ };
29208
+
29209
+ /**
29210
+ * Creates a plain object from an ElfOfferingProcessingStats message. Also converts values to other types if specified.
29211
+ * @function toObject
29212
+ * @memberof elf.ElfOfferingProcessingStats
29213
+ * @static
29214
+ * @param {elf.ElfOfferingProcessingStats} message ElfOfferingProcessingStats
29215
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
29216
+ * @returns {Object.<string,*>} Plain object
29217
+ */
29218
+ ElfOfferingProcessingStats.toObject = function toObject(message, options) {
29219
+ if (!options)
29220
+ options = {};
29221
+ var object = {};
29222
+ if (options.defaults) {
29223
+ object.offering = options.enums === String ? "SUBSCRIPTION_OFFERING_UNKNOWN" : 0;
29224
+ object.recordsTotal = 0;
29225
+ object.recordsToBeRemoved = 0;
29226
+ object.recordsUpdated = 0;
29227
+ }
29228
+ if (message.offering != null && message.hasOwnProperty("offering"))
29229
+ object.offering = options.enums === String ? $root.b2b.SubscriptionOffering[message.offering] : message.offering;
29230
+ if (message.recordsTotal != null && message.hasOwnProperty("recordsTotal"))
29231
+ object.recordsTotal = message.recordsTotal;
29232
+ if (message.recordsToBeRemoved != null && message.hasOwnProperty("recordsToBeRemoved"))
29233
+ object.recordsToBeRemoved = message.recordsToBeRemoved;
29234
+ if (message.recordsUpdated != null && message.hasOwnProperty("recordsUpdated"))
29235
+ object.recordsUpdated = message.recordsUpdated;
29236
+ return object;
29237
+ };
29238
+
29239
+ /**
29240
+ * Converts this ElfOfferingProcessingStats to JSON.
29241
+ * @function toJSON
29242
+ * @memberof elf.ElfOfferingProcessingStats
29243
+ * @instance
29244
+ * @returns {Object.<string,*>} JSON object
29245
+ */
29246
+ ElfOfferingProcessingStats.prototype.toJSON = function toJSON() {
29247
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
29248
+ };
29249
+
29250
+ return ElfOfferingProcessingStats;
29251
+ })();
29252
+
28979
29253
  return elf;
28980
29254
  })();
28981
29255
 
@@ -95603,9 +95877,9 @@ $root.ElfProcessingStats = (function() {
95603
95877
  * @property {string|null} [b2bOrgId] ElfProcessingStats b2bOrgId
95604
95878
  * @property {string|null} [gingerOrgId] ElfProcessingStats gingerOrgId
95605
95879
  * @property {boolean|null} [isDryRun] ElfProcessingStats isDryRun
95606
- * @property {number|null} [total] ElfProcessingStats total
95607
- * @property {number|null} [toBeRemoved] ElfProcessingStats toBeRemoved
95608
- * @property {number|null} [skipped] ElfProcessingStats skipped
95880
+ * @property {number|null} [recordsTotal] ElfProcessingStats recordsTotal
95881
+ * @property {number|null} [recordsToBeRemoved] ElfProcessingStats recordsToBeRemoved
95882
+ * @property {number|null} [recordsSkipped] ElfProcessingStats recordsSkipped
95609
95883
  * @property {Object.<string,string>|null} [errors] ElfProcessingStats errors
95610
95884
  * @property {Object.<string,number>|null} [totalByOffering] ElfProcessingStats totalByOffering
95611
95885
  * @property {Array.<string>|null} [customHeaders] ElfProcessingStats customHeaders
@@ -95617,6 +95891,8 @@ $root.ElfProcessingStats = (function() {
95617
95891
  * @property {string|null} [emailMessage] ElfProcessingStats emailMessage
95618
95892
  * @property {number|Long|null} [fileImportedTimestamp] ElfProcessingStats fileImportedTimestamp
95619
95893
  * @property {string|null} [elfErrorsCsvUrl] ElfProcessingStats elfErrorsCsvUrl
95894
+ * @property {number|null} [recordsUpdated] ElfProcessingStats recordsUpdated
95895
+ * @property {Array.<elf.IElfOfferingProcessingStats>|null} [statsByOffering] ElfProcessingStats statsByOffering
95620
95896
  */
95621
95897
 
95622
95898
  /**
@@ -95631,6 +95907,7 @@ $root.ElfProcessingStats = (function() {
95631
95907
  this.errors = {};
95632
95908
  this.totalByOffering = {};
95633
95909
  this.customHeaders = [];
95910
+ this.statsByOffering = [];
95634
95911
  if (properties)
95635
95912
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
95636
95913
  if (properties[keys[i]] != null)
@@ -95670,28 +95947,28 @@ $root.ElfProcessingStats = (function() {
95670
95947
  ElfProcessingStats.prototype.isDryRun = false;
95671
95948
 
95672
95949
  /**
95673
- * ElfProcessingStats total.
95674
- * @member {number} total
95950
+ * ElfProcessingStats recordsTotal.
95951
+ * @member {number} recordsTotal
95675
95952
  * @memberof ElfProcessingStats
95676
95953
  * @instance
95677
95954
  */
95678
- ElfProcessingStats.prototype.total = 0;
95955
+ ElfProcessingStats.prototype.recordsTotal = 0;
95679
95956
 
95680
95957
  /**
95681
- * ElfProcessingStats toBeRemoved.
95682
- * @member {number} toBeRemoved
95958
+ * ElfProcessingStats recordsToBeRemoved.
95959
+ * @member {number} recordsToBeRemoved
95683
95960
  * @memberof ElfProcessingStats
95684
95961
  * @instance
95685
95962
  */
95686
- ElfProcessingStats.prototype.toBeRemoved = 0;
95963
+ ElfProcessingStats.prototype.recordsToBeRemoved = 0;
95687
95964
 
95688
95965
  /**
95689
- * ElfProcessingStats skipped.
95690
- * @member {number} skipped
95966
+ * ElfProcessingStats recordsSkipped.
95967
+ * @member {number} recordsSkipped
95691
95968
  * @memberof ElfProcessingStats
95692
95969
  * @instance
95693
95970
  */
95694
- ElfProcessingStats.prototype.skipped = 0;
95971
+ ElfProcessingStats.prototype.recordsSkipped = 0;
95695
95972
 
95696
95973
  /**
95697
95974
  * ElfProcessingStats errors.
@@ -95781,6 +96058,22 @@ $root.ElfProcessingStats = (function() {
95781
96058
  */
95782
96059
  ElfProcessingStats.prototype.elfErrorsCsvUrl = "";
95783
96060
 
96061
+ /**
96062
+ * ElfProcessingStats recordsUpdated.
96063
+ * @member {number} recordsUpdated
96064
+ * @memberof ElfProcessingStats
96065
+ * @instance
96066
+ */
96067
+ ElfProcessingStats.prototype.recordsUpdated = 0;
96068
+
96069
+ /**
96070
+ * ElfProcessingStats statsByOffering.
96071
+ * @member {Array.<elf.IElfOfferingProcessingStats>} statsByOffering
96072
+ * @memberof ElfProcessingStats
96073
+ * @instance
96074
+ */
96075
+ ElfProcessingStats.prototype.statsByOffering = $util.emptyArray;
96076
+
95784
96077
  /**
95785
96078
  * Creates a new ElfProcessingStats instance using the specified properties.
95786
96079
  * @function create
@@ -95813,12 +96106,12 @@ $root.ElfProcessingStats = (function() {
95813
96106
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.gingerOrgId);
95814
96107
  if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
95815
96108
  writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isDryRun);
95816
- if (message.total != null && message.hasOwnProperty("total"))
95817
- writer.uint32(/* id 6, wireType 0 =*/48).int32(message.total);
95818
- if (message.toBeRemoved != null && message.hasOwnProperty("toBeRemoved"))
95819
- writer.uint32(/* id 7, wireType 0 =*/56).int32(message.toBeRemoved);
95820
- if (message.skipped != null && message.hasOwnProperty("skipped"))
95821
- writer.uint32(/* id 8, wireType 0 =*/64).int32(message.skipped);
96109
+ if (message.recordsTotal != null && message.hasOwnProperty("recordsTotal"))
96110
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.recordsTotal);
96111
+ if (message.recordsToBeRemoved != null && message.hasOwnProperty("recordsToBeRemoved"))
96112
+ writer.uint32(/* id 7, wireType 0 =*/56).int32(message.recordsToBeRemoved);
96113
+ if (message.recordsSkipped != null && message.hasOwnProperty("recordsSkipped"))
96114
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.recordsSkipped);
95822
96115
  if (message.errors != null && message.hasOwnProperty("errors"))
95823
96116
  for (var keys = Object.keys(message.errors), i = 0; i < keys.length; ++i)
95824
96117
  writer.uint32(/* id 9, wireType 2 =*/74).fork().uint32(/* id 1, wireType 0 =*/8).int32(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.errors[keys[i]]).ldelim();
@@ -95844,6 +96137,11 @@ $root.ElfProcessingStats = (function() {
95844
96137
  writer.uint32(/* id 18, wireType 0 =*/144).uint64(message.fileImportedTimestamp);
95845
96138
  if (message.elfErrorsCsvUrl != null && message.hasOwnProperty("elfErrorsCsvUrl"))
95846
96139
  writer.uint32(/* id 19, wireType 2 =*/154).string(message.elfErrorsCsvUrl);
96140
+ if (message.recordsUpdated != null && message.hasOwnProperty("recordsUpdated"))
96141
+ writer.uint32(/* id 20, wireType 0 =*/160).int32(message.recordsUpdated);
96142
+ if (message.statsByOffering != null && message.statsByOffering.length)
96143
+ for (var i = 0; i < message.statsByOffering.length; ++i)
96144
+ $root.elf.ElfOfferingProcessingStats.encode(message.statsByOffering[i], writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
95847
96145
  return writer;
95848
96146
  };
95849
96147
 
@@ -95891,13 +96189,13 @@ $root.ElfProcessingStats = (function() {
95891
96189
  message.isDryRun = reader.bool();
95892
96190
  break;
95893
96191
  case 6:
95894
- message.total = reader.int32();
96192
+ message.recordsTotal = reader.int32();
95895
96193
  break;
95896
96194
  case 7:
95897
- message.toBeRemoved = reader.int32();
96195
+ message.recordsToBeRemoved = reader.int32();
95898
96196
  break;
95899
96197
  case 8:
95900
- message.skipped = reader.int32();
96198
+ message.recordsSkipped = reader.int32();
95901
96199
  break;
95902
96200
  case 9:
95903
96201
  reader.skip().pos++;
@@ -95944,6 +96242,14 @@ $root.ElfProcessingStats = (function() {
95944
96242
  case 19:
95945
96243
  message.elfErrorsCsvUrl = reader.string();
95946
96244
  break;
96245
+ case 20:
96246
+ message.recordsUpdated = reader.int32();
96247
+ break;
96248
+ case 21:
96249
+ if (!(message.statsByOffering && message.statsByOffering.length))
96250
+ message.statsByOffering = [];
96251
+ message.statsByOffering.push($root.elf.ElfOfferingProcessingStats.decode(reader, reader.uint32()));
96252
+ break;
95947
96253
  default:
95948
96254
  reader.skipType(tag & 7);
95949
96255
  break;
@@ -95991,15 +96297,15 @@ $root.ElfProcessingStats = (function() {
95991
96297
  if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
95992
96298
  if (typeof message.isDryRun !== "boolean")
95993
96299
  return "isDryRun: boolean expected";
95994
- if (message.total != null && message.hasOwnProperty("total"))
95995
- if (!$util.isInteger(message.total))
95996
- return "total: integer expected";
95997
- if (message.toBeRemoved != null && message.hasOwnProperty("toBeRemoved"))
95998
- if (!$util.isInteger(message.toBeRemoved))
95999
- return "toBeRemoved: integer expected";
96000
- if (message.skipped != null && message.hasOwnProperty("skipped"))
96001
- if (!$util.isInteger(message.skipped))
96002
- return "skipped: integer expected";
96300
+ if (message.recordsTotal != null && message.hasOwnProperty("recordsTotal"))
96301
+ if (!$util.isInteger(message.recordsTotal))
96302
+ return "recordsTotal: integer expected";
96303
+ if (message.recordsToBeRemoved != null && message.hasOwnProperty("recordsToBeRemoved"))
96304
+ if (!$util.isInteger(message.recordsToBeRemoved))
96305
+ return "recordsToBeRemoved: integer expected";
96306
+ if (message.recordsSkipped != null && message.hasOwnProperty("recordsSkipped"))
96307
+ if (!$util.isInteger(message.recordsSkipped))
96308
+ return "recordsSkipped: integer expected";
96003
96309
  if (message.errors != null && message.hasOwnProperty("errors")) {
96004
96310
  if (!$util.isObject(message.errors))
96005
96311
  return "errors: object expected";
@@ -96050,6 +96356,18 @@ $root.ElfProcessingStats = (function() {
96050
96356
  if (message.elfErrorsCsvUrl != null && message.hasOwnProperty("elfErrorsCsvUrl"))
96051
96357
  if (!$util.isString(message.elfErrorsCsvUrl))
96052
96358
  return "elfErrorsCsvUrl: string expected";
96359
+ if (message.recordsUpdated != null && message.hasOwnProperty("recordsUpdated"))
96360
+ if (!$util.isInteger(message.recordsUpdated))
96361
+ return "recordsUpdated: integer expected";
96362
+ if (message.statsByOffering != null && message.hasOwnProperty("statsByOffering")) {
96363
+ if (!Array.isArray(message.statsByOffering))
96364
+ return "statsByOffering: array expected";
96365
+ for (var i = 0; i < message.statsByOffering.length; ++i) {
96366
+ var error = $root.elf.ElfOfferingProcessingStats.verify(message.statsByOffering[i]);
96367
+ if (error)
96368
+ return "statsByOffering." + error;
96369
+ }
96370
+ }
96053
96371
  return null;
96054
96372
  };
96055
96373
 
@@ -96073,12 +96391,12 @@ $root.ElfProcessingStats = (function() {
96073
96391
  message.gingerOrgId = String(object.gingerOrgId);
96074
96392
  if (object.isDryRun != null)
96075
96393
  message.isDryRun = Boolean(object.isDryRun);
96076
- if (object.total != null)
96077
- message.total = object.total | 0;
96078
- if (object.toBeRemoved != null)
96079
- message.toBeRemoved = object.toBeRemoved | 0;
96080
- if (object.skipped != null)
96081
- message.skipped = object.skipped | 0;
96394
+ if (object.recordsTotal != null)
96395
+ message.recordsTotal = object.recordsTotal | 0;
96396
+ if (object.recordsToBeRemoved != null)
96397
+ message.recordsToBeRemoved = object.recordsToBeRemoved | 0;
96398
+ if (object.recordsSkipped != null)
96399
+ message.recordsSkipped = object.recordsSkipped | 0;
96082
96400
  if (object.errors) {
96083
96401
  if (typeof object.errors !== "object")
96084
96402
  throw TypeError(".ElfProcessingStats.errors: object expected");
@@ -96130,6 +96448,18 @@ $root.ElfProcessingStats = (function() {
96130
96448
  message.fileImportedTimestamp = new $util.LongBits(object.fileImportedTimestamp.low >>> 0, object.fileImportedTimestamp.high >>> 0).toNumber(true);
96131
96449
  if (object.elfErrorsCsvUrl != null)
96132
96450
  message.elfErrorsCsvUrl = String(object.elfErrorsCsvUrl);
96451
+ if (object.recordsUpdated != null)
96452
+ message.recordsUpdated = object.recordsUpdated | 0;
96453
+ if (object.statsByOffering) {
96454
+ if (!Array.isArray(object.statsByOffering))
96455
+ throw TypeError(".ElfProcessingStats.statsByOffering: array expected");
96456
+ message.statsByOffering = [];
96457
+ for (var i = 0; i < object.statsByOffering.length; ++i) {
96458
+ if (typeof object.statsByOffering[i] !== "object")
96459
+ throw TypeError(".ElfProcessingStats.statsByOffering: object expected");
96460
+ message.statsByOffering[i] = $root.elf.ElfOfferingProcessingStats.fromObject(object.statsByOffering[i]);
96461
+ }
96462
+ }
96133
96463
  return message;
96134
96464
  };
96135
96465
 
@@ -96146,8 +96476,10 @@ $root.ElfProcessingStats = (function() {
96146
96476
  if (!options)
96147
96477
  options = {};
96148
96478
  var object = {};
96149
- if (options.arrays || options.defaults)
96479
+ if (options.arrays || options.defaults) {
96150
96480
  object.customHeaders = [];
96481
+ object.statsByOffering = [];
96482
+ }
96151
96483
  if (options.objects || options.defaults) {
96152
96484
  object.errors = {};
96153
96485
  object.totalByOffering = {};
@@ -96157,9 +96489,9 @@ $root.ElfProcessingStats = (function() {
96157
96489
  object.b2bOrgId = "";
96158
96490
  object.gingerOrgId = "";
96159
96491
  object.isDryRun = false;
96160
- object.total = 0;
96161
- object.toBeRemoved = 0;
96162
- object.skipped = 0;
96492
+ object.recordsTotal = 0;
96493
+ object.recordsToBeRemoved = 0;
96494
+ object.recordsSkipped = 0;
96163
96495
  object.gingerShouldProcess = false;
96164
96496
  object.headspaceShouldProcess = false;
96165
96497
  object.originalS3Key = "";
@@ -96176,6 +96508,7 @@ $root.ElfProcessingStats = (function() {
96176
96508
  } else
96177
96509
  object.fileImportedTimestamp = options.longs === String ? "0" : 0;
96178
96510
  object.elfErrorsCsvUrl = "";
96511
+ object.recordsUpdated = 0;
96179
96512
  }
96180
96513
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
96181
96514
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
@@ -96185,12 +96518,12 @@ $root.ElfProcessingStats = (function() {
96185
96518
  object.gingerOrgId = message.gingerOrgId;
96186
96519
  if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
96187
96520
  object.isDryRun = message.isDryRun;
96188
- if (message.total != null && message.hasOwnProperty("total"))
96189
- object.total = message.total;
96190
- if (message.toBeRemoved != null && message.hasOwnProperty("toBeRemoved"))
96191
- object.toBeRemoved = message.toBeRemoved;
96192
- if (message.skipped != null && message.hasOwnProperty("skipped"))
96193
- object.skipped = message.skipped;
96521
+ if (message.recordsTotal != null && message.hasOwnProperty("recordsTotal"))
96522
+ object.recordsTotal = message.recordsTotal;
96523
+ if (message.recordsToBeRemoved != null && message.hasOwnProperty("recordsToBeRemoved"))
96524
+ object.recordsToBeRemoved = message.recordsToBeRemoved;
96525
+ if (message.recordsSkipped != null && message.hasOwnProperty("recordsSkipped"))
96526
+ object.recordsSkipped = message.recordsSkipped;
96194
96527
  var keys2;
96195
96528
  if (message.errors && (keys2 = Object.keys(message.errors)).length) {
96196
96529
  object.errors = {};
@@ -96229,6 +96562,13 @@ $root.ElfProcessingStats = (function() {
96229
96562
  object.fileImportedTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.fileImportedTimestamp) : options.longs === Number ? new $util.LongBits(message.fileImportedTimestamp.low >>> 0, message.fileImportedTimestamp.high >>> 0).toNumber(true) : message.fileImportedTimestamp;
96230
96563
  if (message.elfErrorsCsvUrl != null && message.hasOwnProperty("elfErrorsCsvUrl"))
96231
96564
  object.elfErrorsCsvUrl = message.elfErrorsCsvUrl;
96565
+ if (message.recordsUpdated != null && message.hasOwnProperty("recordsUpdated"))
96566
+ object.recordsUpdated = message.recordsUpdated;
96567
+ if (message.statsByOffering && message.statsByOffering.length) {
96568
+ object.statsByOffering = [];
96569
+ for (var j = 0; j < message.statsByOffering.length; ++j)
96570
+ object.statsByOffering[j] = $root.elf.ElfOfferingProcessingStats.toObject(message.statsByOffering[j], options);
96571
+ }
96232
96572
  return object;
96233
96573
  };
96234
96574
 
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.481.0"
19
+ "version": "1.483.0"
20
20
  }