@headspace/protos-events 1.117.0 → 1.119.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 +318 -0
- package/lib/index.js +826 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4150,6 +4150,318 @@ export class ContentfulWakeupPlaylistDeleted implements IContentfulWakeupPlaylis
|
|
|
4150
4150
|
public toJSON(): { [k: string]: any };
|
|
4151
4151
|
}
|
|
4152
4152
|
|
|
4153
|
+
/** Properties of a ContentfulSubscriptionAccessGroupCreated. */
|
|
4154
|
+
export interface IContentfulSubscriptionAccessGroupCreated {
|
|
4155
|
+
|
|
4156
|
+
/** ContentfulSubscriptionAccessGroupCreated subscriptionId */
|
|
4157
|
+
subscriptionId?: (string|null);
|
|
4158
|
+
|
|
4159
|
+
/** ContentfulSubscriptionAccessGroupCreated slug */
|
|
4160
|
+
slug?: (string|null);
|
|
4161
|
+
|
|
4162
|
+
/** ContentfulSubscriptionAccessGroupCreated accessGroups */
|
|
4163
|
+
accessGroups?: (contentful.ISlugReference[]|null);
|
|
4164
|
+
|
|
4165
|
+
/** ContentfulSubscriptionAccessGroupCreated createdAt */
|
|
4166
|
+
createdAt?: (number|Long|null);
|
|
4167
|
+
}
|
|
4168
|
+
|
|
4169
|
+
/** Represents a ContentfulSubscriptionAccessGroupCreated. */
|
|
4170
|
+
export class ContentfulSubscriptionAccessGroupCreated implements IContentfulSubscriptionAccessGroupCreated {
|
|
4171
|
+
|
|
4172
|
+
/**
|
|
4173
|
+
* Constructs a new ContentfulSubscriptionAccessGroupCreated.
|
|
4174
|
+
* @param [properties] Properties to set
|
|
4175
|
+
*/
|
|
4176
|
+
constructor(properties?: IContentfulSubscriptionAccessGroupCreated);
|
|
4177
|
+
|
|
4178
|
+
/** ContentfulSubscriptionAccessGroupCreated subscriptionId. */
|
|
4179
|
+
public subscriptionId: string;
|
|
4180
|
+
|
|
4181
|
+
/** ContentfulSubscriptionAccessGroupCreated slug. */
|
|
4182
|
+
public slug: string;
|
|
4183
|
+
|
|
4184
|
+
/** ContentfulSubscriptionAccessGroupCreated accessGroups. */
|
|
4185
|
+
public accessGroups: contentful.ISlugReference[];
|
|
4186
|
+
|
|
4187
|
+
/** ContentfulSubscriptionAccessGroupCreated createdAt. */
|
|
4188
|
+
public createdAt: (number|Long);
|
|
4189
|
+
|
|
4190
|
+
/**
|
|
4191
|
+
* Creates a new ContentfulSubscriptionAccessGroupCreated instance using the specified properties.
|
|
4192
|
+
* @param [properties] Properties to set
|
|
4193
|
+
* @returns ContentfulSubscriptionAccessGroupCreated instance
|
|
4194
|
+
*/
|
|
4195
|
+
public static create(properties?: IContentfulSubscriptionAccessGroupCreated): ContentfulSubscriptionAccessGroupCreated;
|
|
4196
|
+
|
|
4197
|
+
/**
|
|
4198
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupCreated message. Does not implicitly {@link ContentfulSubscriptionAccessGroupCreated.verify|verify} messages.
|
|
4199
|
+
* @param message ContentfulSubscriptionAccessGroupCreated message or plain object to encode
|
|
4200
|
+
* @param [writer] Writer to encode to
|
|
4201
|
+
* @returns Writer
|
|
4202
|
+
*/
|
|
4203
|
+
public static encode(message: IContentfulSubscriptionAccessGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4204
|
+
|
|
4205
|
+
/**
|
|
4206
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupCreated message, length delimited. Does not implicitly {@link ContentfulSubscriptionAccessGroupCreated.verify|verify} messages.
|
|
4207
|
+
* @param message ContentfulSubscriptionAccessGroupCreated message or plain object to encode
|
|
4208
|
+
* @param [writer] Writer to encode to
|
|
4209
|
+
* @returns Writer
|
|
4210
|
+
*/
|
|
4211
|
+
public static encodeDelimited(message: IContentfulSubscriptionAccessGroupCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4212
|
+
|
|
4213
|
+
/**
|
|
4214
|
+
* Decodes a ContentfulSubscriptionAccessGroupCreated message from the specified reader or buffer.
|
|
4215
|
+
* @param reader Reader or buffer to decode from
|
|
4216
|
+
* @param [length] Message length if known beforehand
|
|
4217
|
+
* @returns ContentfulSubscriptionAccessGroupCreated
|
|
4218
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4219
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4220
|
+
*/
|
|
4221
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulSubscriptionAccessGroupCreated;
|
|
4222
|
+
|
|
4223
|
+
/**
|
|
4224
|
+
* Decodes a ContentfulSubscriptionAccessGroupCreated message from the specified reader or buffer, length delimited.
|
|
4225
|
+
* @param reader Reader or buffer to decode from
|
|
4226
|
+
* @returns ContentfulSubscriptionAccessGroupCreated
|
|
4227
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4228
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4229
|
+
*/
|
|
4230
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulSubscriptionAccessGroupCreated;
|
|
4231
|
+
|
|
4232
|
+
/**
|
|
4233
|
+
* Verifies a ContentfulSubscriptionAccessGroupCreated message.
|
|
4234
|
+
* @param message Plain object to verify
|
|
4235
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4236
|
+
*/
|
|
4237
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4238
|
+
|
|
4239
|
+
/**
|
|
4240
|
+
* Creates a ContentfulSubscriptionAccessGroupCreated message from a plain object. Also converts values to their respective internal types.
|
|
4241
|
+
* @param object Plain object
|
|
4242
|
+
* @returns ContentfulSubscriptionAccessGroupCreated
|
|
4243
|
+
*/
|
|
4244
|
+
public static fromObject(object: { [k: string]: any }): ContentfulSubscriptionAccessGroupCreated;
|
|
4245
|
+
|
|
4246
|
+
/**
|
|
4247
|
+
* Creates a plain object from a ContentfulSubscriptionAccessGroupCreated message. Also converts values to other types if specified.
|
|
4248
|
+
* @param message ContentfulSubscriptionAccessGroupCreated
|
|
4249
|
+
* @param [options] Conversion options
|
|
4250
|
+
* @returns Plain object
|
|
4251
|
+
*/
|
|
4252
|
+
public static toObject(message: ContentfulSubscriptionAccessGroupCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4253
|
+
|
|
4254
|
+
/**
|
|
4255
|
+
* Converts this ContentfulSubscriptionAccessGroupCreated to JSON.
|
|
4256
|
+
* @returns JSON object
|
|
4257
|
+
*/
|
|
4258
|
+
public toJSON(): { [k: string]: any };
|
|
4259
|
+
}
|
|
4260
|
+
|
|
4261
|
+
/** Properties of a ContentfulSubscriptionAccessGroupUpdated. */
|
|
4262
|
+
export interface IContentfulSubscriptionAccessGroupUpdated {
|
|
4263
|
+
|
|
4264
|
+
/** ContentfulSubscriptionAccessGroupUpdated subscriptionId */
|
|
4265
|
+
subscriptionId?: (string|null);
|
|
4266
|
+
|
|
4267
|
+
/** ContentfulSubscriptionAccessGroupUpdated slug */
|
|
4268
|
+
slug?: (string|null);
|
|
4269
|
+
|
|
4270
|
+
/** ContentfulSubscriptionAccessGroupUpdated accessGroups */
|
|
4271
|
+
accessGroups?: (contentful.ISlugReference[]|null);
|
|
4272
|
+
|
|
4273
|
+
/** ContentfulSubscriptionAccessGroupUpdated updatedAt */
|
|
4274
|
+
updatedAt?: (number|Long|null);
|
|
4275
|
+
}
|
|
4276
|
+
|
|
4277
|
+
/** Represents a ContentfulSubscriptionAccessGroupUpdated. */
|
|
4278
|
+
export class ContentfulSubscriptionAccessGroupUpdated implements IContentfulSubscriptionAccessGroupUpdated {
|
|
4279
|
+
|
|
4280
|
+
/**
|
|
4281
|
+
* Constructs a new ContentfulSubscriptionAccessGroupUpdated.
|
|
4282
|
+
* @param [properties] Properties to set
|
|
4283
|
+
*/
|
|
4284
|
+
constructor(properties?: IContentfulSubscriptionAccessGroupUpdated);
|
|
4285
|
+
|
|
4286
|
+
/** ContentfulSubscriptionAccessGroupUpdated subscriptionId. */
|
|
4287
|
+
public subscriptionId: string;
|
|
4288
|
+
|
|
4289
|
+
/** ContentfulSubscriptionAccessGroupUpdated slug. */
|
|
4290
|
+
public slug: string;
|
|
4291
|
+
|
|
4292
|
+
/** ContentfulSubscriptionAccessGroupUpdated accessGroups. */
|
|
4293
|
+
public accessGroups: contentful.ISlugReference[];
|
|
4294
|
+
|
|
4295
|
+
/** ContentfulSubscriptionAccessGroupUpdated updatedAt. */
|
|
4296
|
+
public updatedAt: (number|Long);
|
|
4297
|
+
|
|
4298
|
+
/**
|
|
4299
|
+
* Creates a new ContentfulSubscriptionAccessGroupUpdated instance using the specified properties.
|
|
4300
|
+
* @param [properties] Properties to set
|
|
4301
|
+
* @returns ContentfulSubscriptionAccessGroupUpdated instance
|
|
4302
|
+
*/
|
|
4303
|
+
public static create(properties?: IContentfulSubscriptionAccessGroupUpdated): ContentfulSubscriptionAccessGroupUpdated;
|
|
4304
|
+
|
|
4305
|
+
/**
|
|
4306
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupUpdated message. Does not implicitly {@link ContentfulSubscriptionAccessGroupUpdated.verify|verify} messages.
|
|
4307
|
+
* @param message ContentfulSubscriptionAccessGroupUpdated message or plain object to encode
|
|
4308
|
+
* @param [writer] Writer to encode to
|
|
4309
|
+
* @returns Writer
|
|
4310
|
+
*/
|
|
4311
|
+
public static encode(message: IContentfulSubscriptionAccessGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4312
|
+
|
|
4313
|
+
/**
|
|
4314
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupUpdated message, length delimited. Does not implicitly {@link ContentfulSubscriptionAccessGroupUpdated.verify|verify} messages.
|
|
4315
|
+
* @param message ContentfulSubscriptionAccessGroupUpdated message or plain object to encode
|
|
4316
|
+
* @param [writer] Writer to encode to
|
|
4317
|
+
* @returns Writer
|
|
4318
|
+
*/
|
|
4319
|
+
public static encodeDelimited(message: IContentfulSubscriptionAccessGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4320
|
+
|
|
4321
|
+
/**
|
|
4322
|
+
* Decodes a ContentfulSubscriptionAccessGroupUpdated message from the specified reader or buffer.
|
|
4323
|
+
* @param reader Reader or buffer to decode from
|
|
4324
|
+
* @param [length] Message length if known beforehand
|
|
4325
|
+
* @returns ContentfulSubscriptionAccessGroupUpdated
|
|
4326
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4327
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4328
|
+
*/
|
|
4329
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulSubscriptionAccessGroupUpdated;
|
|
4330
|
+
|
|
4331
|
+
/**
|
|
4332
|
+
* Decodes a ContentfulSubscriptionAccessGroupUpdated message from the specified reader or buffer, length delimited.
|
|
4333
|
+
* @param reader Reader or buffer to decode from
|
|
4334
|
+
* @returns ContentfulSubscriptionAccessGroupUpdated
|
|
4335
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4336
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4337
|
+
*/
|
|
4338
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulSubscriptionAccessGroupUpdated;
|
|
4339
|
+
|
|
4340
|
+
/**
|
|
4341
|
+
* Verifies a ContentfulSubscriptionAccessGroupUpdated message.
|
|
4342
|
+
* @param message Plain object to verify
|
|
4343
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4344
|
+
*/
|
|
4345
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4346
|
+
|
|
4347
|
+
/**
|
|
4348
|
+
* Creates a ContentfulSubscriptionAccessGroupUpdated message from a plain object. Also converts values to their respective internal types.
|
|
4349
|
+
* @param object Plain object
|
|
4350
|
+
* @returns ContentfulSubscriptionAccessGroupUpdated
|
|
4351
|
+
*/
|
|
4352
|
+
public static fromObject(object: { [k: string]: any }): ContentfulSubscriptionAccessGroupUpdated;
|
|
4353
|
+
|
|
4354
|
+
/**
|
|
4355
|
+
* Creates a plain object from a ContentfulSubscriptionAccessGroupUpdated message. Also converts values to other types if specified.
|
|
4356
|
+
* @param message ContentfulSubscriptionAccessGroupUpdated
|
|
4357
|
+
* @param [options] Conversion options
|
|
4358
|
+
* @returns Plain object
|
|
4359
|
+
*/
|
|
4360
|
+
public static toObject(message: ContentfulSubscriptionAccessGroupUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4361
|
+
|
|
4362
|
+
/**
|
|
4363
|
+
* Converts this ContentfulSubscriptionAccessGroupUpdated to JSON.
|
|
4364
|
+
* @returns JSON object
|
|
4365
|
+
*/
|
|
4366
|
+
public toJSON(): { [k: string]: any };
|
|
4367
|
+
}
|
|
4368
|
+
|
|
4369
|
+
/** Properties of a ContentfulSubscriptionAccessGroupDeleted. */
|
|
4370
|
+
export interface IContentfulSubscriptionAccessGroupDeleted {
|
|
4371
|
+
|
|
4372
|
+
/** ContentfulSubscriptionAccessGroupDeleted slug */
|
|
4373
|
+
slug?: (string|null);
|
|
4374
|
+
|
|
4375
|
+
/** ContentfulSubscriptionAccessGroupDeleted deletedAt */
|
|
4376
|
+
deletedAt?: (number|Long|null);
|
|
4377
|
+
}
|
|
4378
|
+
|
|
4379
|
+
/** Represents a ContentfulSubscriptionAccessGroupDeleted. */
|
|
4380
|
+
export class ContentfulSubscriptionAccessGroupDeleted implements IContentfulSubscriptionAccessGroupDeleted {
|
|
4381
|
+
|
|
4382
|
+
/**
|
|
4383
|
+
* Constructs a new ContentfulSubscriptionAccessGroupDeleted.
|
|
4384
|
+
* @param [properties] Properties to set
|
|
4385
|
+
*/
|
|
4386
|
+
constructor(properties?: IContentfulSubscriptionAccessGroupDeleted);
|
|
4387
|
+
|
|
4388
|
+
/** ContentfulSubscriptionAccessGroupDeleted slug. */
|
|
4389
|
+
public slug: string;
|
|
4390
|
+
|
|
4391
|
+
/** ContentfulSubscriptionAccessGroupDeleted deletedAt. */
|
|
4392
|
+
public deletedAt: (number|Long);
|
|
4393
|
+
|
|
4394
|
+
/**
|
|
4395
|
+
* Creates a new ContentfulSubscriptionAccessGroupDeleted instance using the specified properties.
|
|
4396
|
+
* @param [properties] Properties to set
|
|
4397
|
+
* @returns ContentfulSubscriptionAccessGroupDeleted instance
|
|
4398
|
+
*/
|
|
4399
|
+
public static create(properties?: IContentfulSubscriptionAccessGroupDeleted): ContentfulSubscriptionAccessGroupDeleted;
|
|
4400
|
+
|
|
4401
|
+
/**
|
|
4402
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupDeleted message. Does not implicitly {@link ContentfulSubscriptionAccessGroupDeleted.verify|verify} messages.
|
|
4403
|
+
* @param message ContentfulSubscriptionAccessGroupDeleted message or plain object to encode
|
|
4404
|
+
* @param [writer] Writer to encode to
|
|
4405
|
+
* @returns Writer
|
|
4406
|
+
*/
|
|
4407
|
+
public static encode(message: IContentfulSubscriptionAccessGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4408
|
+
|
|
4409
|
+
/**
|
|
4410
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupDeleted message, length delimited. Does not implicitly {@link ContentfulSubscriptionAccessGroupDeleted.verify|verify} messages.
|
|
4411
|
+
* @param message ContentfulSubscriptionAccessGroupDeleted message or plain object to encode
|
|
4412
|
+
* @param [writer] Writer to encode to
|
|
4413
|
+
* @returns Writer
|
|
4414
|
+
*/
|
|
4415
|
+
public static encodeDelimited(message: IContentfulSubscriptionAccessGroupDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4416
|
+
|
|
4417
|
+
/**
|
|
4418
|
+
* Decodes a ContentfulSubscriptionAccessGroupDeleted message from the specified reader or buffer.
|
|
4419
|
+
* @param reader Reader or buffer to decode from
|
|
4420
|
+
* @param [length] Message length if known beforehand
|
|
4421
|
+
* @returns ContentfulSubscriptionAccessGroupDeleted
|
|
4422
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4423
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4424
|
+
*/
|
|
4425
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulSubscriptionAccessGroupDeleted;
|
|
4426
|
+
|
|
4427
|
+
/**
|
|
4428
|
+
* Decodes a ContentfulSubscriptionAccessGroupDeleted message from the specified reader or buffer, length delimited.
|
|
4429
|
+
* @param reader Reader or buffer to decode from
|
|
4430
|
+
* @returns ContentfulSubscriptionAccessGroupDeleted
|
|
4431
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4432
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4433
|
+
*/
|
|
4434
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulSubscriptionAccessGroupDeleted;
|
|
4435
|
+
|
|
4436
|
+
/**
|
|
4437
|
+
* Verifies a ContentfulSubscriptionAccessGroupDeleted message.
|
|
4438
|
+
* @param message Plain object to verify
|
|
4439
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4440
|
+
*/
|
|
4441
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4442
|
+
|
|
4443
|
+
/**
|
|
4444
|
+
* Creates a ContentfulSubscriptionAccessGroupDeleted message from a plain object. Also converts values to their respective internal types.
|
|
4445
|
+
* @param object Plain object
|
|
4446
|
+
* @returns ContentfulSubscriptionAccessGroupDeleted
|
|
4447
|
+
*/
|
|
4448
|
+
public static fromObject(object: { [k: string]: any }): ContentfulSubscriptionAccessGroupDeleted;
|
|
4449
|
+
|
|
4450
|
+
/**
|
|
4451
|
+
* Creates a plain object from a ContentfulSubscriptionAccessGroupDeleted message. Also converts values to other types if specified.
|
|
4452
|
+
* @param message ContentfulSubscriptionAccessGroupDeleted
|
|
4453
|
+
* @param [options] Conversion options
|
|
4454
|
+
* @returns Plain object
|
|
4455
|
+
*/
|
|
4456
|
+
public static toObject(message: ContentfulSubscriptionAccessGroupDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4457
|
+
|
|
4458
|
+
/**
|
|
4459
|
+
* Converts this ContentfulSubscriptionAccessGroupDeleted to JSON.
|
|
4460
|
+
* @returns JSON object
|
|
4461
|
+
*/
|
|
4462
|
+
public toJSON(): { [k: string]: any };
|
|
4463
|
+
}
|
|
4464
|
+
|
|
4153
4465
|
/** Properties of a ContentfulContentModelCreated. */
|
|
4154
4466
|
export interface IContentfulContentModelCreated {
|
|
4155
4467
|
|
|
@@ -6286,6 +6598,9 @@ export interface IAssessmentScore {
|
|
|
6286
6598
|
|
|
6287
6599
|
/** AssessmentScore completedAtIsoDate */
|
|
6288
6600
|
completedAtIsoDate?: (string|null);
|
|
6601
|
+
|
|
6602
|
+
/** AssessmentScore reflectionNote */
|
|
6603
|
+
reflectionNote?: (string|null);
|
|
6289
6604
|
}
|
|
6290
6605
|
|
|
6291
6606
|
/** Represents an AssessmentScore. */
|
|
@@ -6309,6 +6624,9 @@ export class AssessmentScore implements IAssessmentScore {
|
|
|
6309
6624
|
/** AssessmentScore completedAtIsoDate. */
|
|
6310
6625
|
public completedAtIsoDate: string;
|
|
6311
6626
|
|
|
6627
|
+
/** AssessmentScore reflectionNote. */
|
|
6628
|
+
public reflectionNote: string;
|
|
6629
|
+
|
|
6312
6630
|
/**
|
|
6313
6631
|
* Creates a new AssessmentScore instance using the specified properties.
|
|
6314
6632
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -10629,6 +10629,810 @@ $root.ContentfulWakeupPlaylistDeleted = (function() {
|
|
|
10629
10629
|
return ContentfulWakeupPlaylistDeleted;
|
|
10630
10630
|
})();
|
|
10631
10631
|
|
|
10632
|
+
$root.ContentfulSubscriptionAccessGroupCreated = (function() {
|
|
10633
|
+
|
|
10634
|
+
/**
|
|
10635
|
+
* Properties of a ContentfulSubscriptionAccessGroupCreated.
|
|
10636
|
+
* @exports IContentfulSubscriptionAccessGroupCreated
|
|
10637
|
+
* @interface IContentfulSubscriptionAccessGroupCreated
|
|
10638
|
+
* @property {string|null} [subscriptionId] ContentfulSubscriptionAccessGroupCreated subscriptionId
|
|
10639
|
+
* @property {string|null} [slug] ContentfulSubscriptionAccessGroupCreated slug
|
|
10640
|
+
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulSubscriptionAccessGroupCreated accessGroups
|
|
10641
|
+
* @property {number|Long|null} [createdAt] ContentfulSubscriptionAccessGroupCreated createdAt
|
|
10642
|
+
*/
|
|
10643
|
+
|
|
10644
|
+
/**
|
|
10645
|
+
* Constructs a new ContentfulSubscriptionAccessGroupCreated.
|
|
10646
|
+
* @exports ContentfulSubscriptionAccessGroupCreated
|
|
10647
|
+
* @classdesc Represents a ContentfulSubscriptionAccessGroupCreated.
|
|
10648
|
+
* @implements IContentfulSubscriptionAccessGroupCreated
|
|
10649
|
+
* @constructor
|
|
10650
|
+
* @param {IContentfulSubscriptionAccessGroupCreated=} [properties] Properties to set
|
|
10651
|
+
*/
|
|
10652
|
+
function ContentfulSubscriptionAccessGroupCreated(properties) {
|
|
10653
|
+
this.accessGroups = [];
|
|
10654
|
+
if (properties)
|
|
10655
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
10656
|
+
if (properties[keys[i]] != null)
|
|
10657
|
+
this[keys[i]] = properties[keys[i]];
|
|
10658
|
+
}
|
|
10659
|
+
|
|
10660
|
+
/**
|
|
10661
|
+
* ContentfulSubscriptionAccessGroupCreated subscriptionId.
|
|
10662
|
+
* @member {string} subscriptionId
|
|
10663
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10664
|
+
* @instance
|
|
10665
|
+
*/
|
|
10666
|
+
ContentfulSubscriptionAccessGroupCreated.prototype.subscriptionId = "";
|
|
10667
|
+
|
|
10668
|
+
/**
|
|
10669
|
+
* ContentfulSubscriptionAccessGroupCreated slug.
|
|
10670
|
+
* @member {string} slug
|
|
10671
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10672
|
+
* @instance
|
|
10673
|
+
*/
|
|
10674
|
+
ContentfulSubscriptionAccessGroupCreated.prototype.slug = "";
|
|
10675
|
+
|
|
10676
|
+
/**
|
|
10677
|
+
* ContentfulSubscriptionAccessGroupCreated accessGroups.
|
|
10678
|
+
* @member {Array.<contentful.ISlugReference>} accessGroups
|
|
10679
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10680
|
+
* @instance
|
|
10681
|
+
*/
|
|
10682
|
+
ContentfulSubscriptionAccessGroupCreated.prototype.accessGroups = $util.emptyArray;
|
|
10683
|
+
|
|
10684
|
+
/**
|
|
10685
|
+
* ContentfulSubscriptionAccessGroupCreated createdAt.
|
|
10686
|
+
* @member {number|Long} createdAt
|
|
10687
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10688
|
+
* @instance
|
|
10689
|
+
*/
|
|
10690
|
+
ContentfulSubscriptionAccessGroupCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
10691
|
+
|
|
10692
|
+
/**
|
|
10693
|
+
* Creates a new ContentfulSubscriptionAccessGroupCreated instance using the specified properties.
|
|
10694
|
+
* @function create
|
|
10695
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10696
|
+
* @static
|
|
10697
|
+
* @param {IContentfulSubscriptionAccessGroupCreated=} [properties] Properties to set
|
|
10698
|
+
* @returns {ContentfulSubscriptionAccessGroupCreated} ContentfulSubscriptionAccessGroupCreated instance
|
|
10699
|
+
*/
|
|
10700
|
+
ContentfulSubscriptionAccessGroupCreated.create = function create(properties) {
|
|
10701
|
+
return new ContentfulSubscriptionAccessGroupCreated(properties);
|
|
10702
|
+
};
|
|
10703
|
+
|
|
10704
|
+
/**
|
|
10705
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupCreated message. Does not implicitly {@link ContentfulSubscriptionAccessGroupCreated.verify|verify} messages.
|
|
10706
|
+
* @function encode
|
|
10707
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10708
|
+
* @static
|
|
10709
|
+
* @param {IContentfulSubscriptionAccessGroupCreated} message ContentfulSubscriptionAccessGroupCreated message or plain object to encode
|
|
10710
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
10711
|
+
* @returns {$protobuf.Writer} Writer
|
|
10712
|
+
*/
|
|
10713
|
+
ContentfulSubscriptionAccessGroupCreated.encode = function encode(message, writer) {
|
|
10714
|
+
if (!writer)
|
|
10715
|
+
writer = $Writer.create();
|
|
10716
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
10717
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.subscriptionId);
|
|
10718
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
10719
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.slug);
|
|
10720
|
+
if (message.accessGroups != null && message.accessGroups.length)
|
|
10721
|
+
for (var i = 0; i < message.accessGroups.length; ++i)
|
|
10722
|
+
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
10723
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
10724
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAt);
|
|
10725
|
+
return writer;
|
|
10726
|
+
};
|
|
10727
|
+
|
|
10728
|
+
/**
|
|
10729
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupCreated message, length delimited. Does not implicitly {@link ContentfulSubscriptionAccessGroupCreated.verify|verify} messages.
|
|
10730
|
+
* @function encodeDelimited
|
|
10731
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10732
|
+
* @static
|
|
10733
|
+
* @param {IContentfulSubscriptionAccessGroupCreated} message ContentfulSubscriptionAccessGroupCreated message or plain object to encode
|
|
10734
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
10735
|
+
* @returns {$protobuf.Writer} Writer
|
|
10736
|
+
*/
|
|
10737
|
+
ContentfulSubscriptionAccessGroupCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
10738
|
+
return this.encode(message, writer).ldelim();
|
|
10739
|
+
};
|
|
10740
|
+
|
|
10741
|
+
/**
|
|
10742
|
+
* Decodes a ContentfulSubscriptionAccessGroupCreated message from the specified reader or buffer.
|
|
10743
|
+
* @function decode
|
|
10744
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10745
|
+
* @static
|
|
10746
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
10747
|
+
* @param {number} [length] Message length if known beforehand
|
|
10748
|
+
* @returns {ContentfulSubscriptionAccessGroupCreated} ContentfulSubscriptionAccessGroupCreated
|
|
10749
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10750
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10751
|
+
*/
|
|
10752
|
+
ContentfulSubscriptionAccessGroupCreated.decode = function decode(reader, length) {
|
|
10753
|
+
if (!(reader instanceof $Reader))
|
|
10754
|
+
reader = $Reader.create(reader);
|
|
10755
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulSubscriptionAccessGroupCreated();
|
|
10756
|
+
while (reader.pos < end) {
|
|
10757
|
+
var tag = reader.uint32();
|
|
10758
|
+
switch (tag >>> 3) {
|
|
10759
|
+
case 1:
|
|
10760
|
+
message.subscriptionId = reader.string();
|
|
10761
|
+
break;
|
|
10762
|
+
case 2:
|
|
10763
|
+
message.slug = reader.string();
|
|
10764
|
+
break;
|
|
10765
|
+
case 3:
|
|
10766
|
+
if (!(message.accessGroups && message.accessGroups.length))
|
|
10767
|
+
message.accessGroups = [];
|
|
10768
|
+
message.accessGroups.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
10769
|
+
break;
|
|
10770
|
+
case 4:
|
|
10771
|
+
message.createdAt = reader.uint64();
|
|
10772
|
+
break;
|
|
10773
|
+
default:
|
|
10774
|
+
reader.skipType(tag & 7);
|
|
10775
|
+
break;
|
|
10776
|
+
}
|
|
10777
|
+
}
|
|
10778
|
+
return message;
|
|
10779
|
+
};
|
|
10780
|
+
|
|
10781
|
+
/**
|
|
10782
|
+
* Decodes a ContentfulSubscriptionAccessGroupCreated message from the specified reader or buffer, length delimited.
|
|
10783
|
+
* @function decodeDelimited
|
|
10784
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10785
|
+
* @static
|
|
10786
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
10787
|
+
* @returns {ContentfulSubscriptionAccessGroupCreated} ContentfulSubscriptionAccessGroupCreated
|
|
10788
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10789
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10790
|
+
*/
|
|
10791
|
+
ContentfulSubscriptionAccessGroupCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
10792
|
+
if (!(reader instanceof $Reader))
|
|
10793
|
+
reader = new $Reader(reader);
|
|
10794
|
+
return this.decode(reader, reader.uint32());
|
|
10795
|
+
};
|
|
10796
|
+
|
|
10797
|
+
/**
|
|
10798
|
+
* Verifies a ContentfulSubscriptionAccessGroupCreated message.
|
|
10799
|
+
* @function verify
|
|
10800
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10801
|
+
* @static
|
|
10802
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
10803
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
10804
|
+
*/
|
|
10805
|
+
ContentfulSubscriptionAccessGroupCreated.verify = function verify(message) {
|
|
10806
|
+
if (typeof message !== "object" || message === null)
|
|
10807
|
+
return "object expected";
|
|
10808
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
10809
|
+
if (!$util.isString(message.subscriptionId))
|
|
10810
|
+
return "subscriptionId: string expected";
|
|
10811
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
10812
|
+
if (!$util.isString(message.slug))
|
|
10813
|
+
return "slug: string expected";
|
|
10814
|
+
if (message.accessGroups != null && message.hasOwnProperty("accessGroups")) {
|
|
10815
|
+
if (!Array.isArray(message.accessGroups))
|
|
10816
|
+
return "accessGroups: array expected";
|
|
10817
|
+
for (var i = 0; i < message.accessGroups.length; ++i) {
|
|
10818
|
+
var error = $root.contentful.SlugReference.verify(message.accessGroups[i]);
|
|
10819
|
+
if (error)
|
|
10820
|
+
return "accessGroups." + error;
|
|
10821
|
+
}
|
|
10822
|
+
}
|
|
10823
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
10824
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
10825
|
+
return "createdAt: integer|Long expected";
|
|
10826
|
+
return null;
|
|
10827
|
+
};
|
|
10828
|
+
|
|
10829
|
+
/**
|
|
10830
|
+
* Creates a ContentfulSubscriptionAccessGroupCreated message from a plain object. Also converts values to their respective internal types.
|
|
10831
|
+
* @function fromObject
|
|
10832
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10833
|
+
* @static
|
|
10834
|
+
* @param {Object.<string,*>} object Plain object
|
|
10835
|
+
* @returns {ContentfulSubscriptionAccessGroupCreated} ContentfulSubscriptionAccessGroupCreated
|
|
10836
|
+
*/
|
|
10837
|
+
ContentfulSubscriptionAccessGroupCreated.fromObject = function fromObject(object) {
|
|
10838
|
+
if (object instanceof $root.ContentfulSubscriptionAccessGroupCreated)
|
|
10839
|
+
return object;
|
|
10840
|
+
var message = new $root.ContentfulSubscriptionAccessGroupCreated();
|
|
10841
|
+
if (object.subscriptionId != null)
|
|
10842
|
+
message.subscriptionId = String(object.subscriptionId);
|
|
10843
|
+
if (object.slug != null)
|
|
10844
|
+
message.slug = String(object.slug);
|
|
10845
|
+
if (object.accessGroups) {
|
|
10846
|
+
if (!Array.isArray(object.accessGroups))
|
|
10847
|
+
throw TypeError(".ContentfulSubscriptionAccessGroupCreated.accessGroups: array expected");
|
|
10848
|
+
message.accessGroups = [];
|
|
10849
|
+
for (var i = 0; i < object.accessGroups.length; ++i) {
|
|
10850
|
+
if (typeof object.accessGroups[i] !== "object")
|
|
10851
|
+
throw TypeError(".ContentfulSubscriptionAccessGroupCreated.accessGroups: object expected");
|
|
10852
|
+
message.accessGroups[i] = $root.contentful.SlugReference.fromObject(object.accessGroups[i]);
|
|
10853
|
+
}
|
|
10854
|
+
}
|
|
10855
|
+
if (object.createdAt != null)
|
|
10856
|
+
if ($util.Long)
|
|
10857
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
10858
|
+
else if (typeof object.createdAt === "string")
|
|
10859
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
10860
|
+
else if (typeof object.createdAt === "number")
|
|
10861
|
+
message.createdAt = object.createdAt;
|
|
10862
|
+
else if (typeof object.createdAt === "object")
|
|
10863
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
10864
|
+
return message;
|
|
10865
|
+
};
|
|
10866
|
+
|
|
10867
|
+
/**
|
|
10868
|
+
* Creates a plain object from a ContentfulSubscriptionAccessGroupCreated message. Also converts values to other types if specified.
|
|
10869
|
+
* @function toObject
|
|
10870
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10871
|
+
* @static
|
|
10872
|
+
* @param {ContentfulSubscriptionAccessGroupCreated} message ContentfulSubscriptionAccessGroupCreated
|
|
10873
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
10874
|
+
* @returns {Object.<string,*>} Plain object
|
|
10875
|
+
*/
|
|
10876
|
+
ContentfulSubscriptionAccessGroupCreated.toObject = function toObject(message, options) {
|
|
10877
|
+
if (!options)
|
|
10878
|
+
options = {};
|
|
10879
|
+
var object = {};
|
|
10880
|
+
if (options.arrays || options.defaults)
|
|
10881
|
+
object.accessGroups = [];
|
|
10882
|
+
if (options.defaults) {
|
|
10883
|
+
object.subscriptionId = "";
|
|
10884
|
+
object.slug = "";
|
|
10885
|
+
if ($util.Long) {
|
|
10886
|
+
var long = new $util.Long(0, 0, true);
|
|
10887
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
10888
|
+
} else
|
|
10889
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
10890
|
+
}
|
|
10891
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
10892
|
+
object.subscriptionId = message.subscriptionId;
|
|
10893
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
10894
|
+
object.slug = message.slug;
|
|
10895
|
+
if (message.accessGroups && message.accessGroups.length) {
|
|
10896
|
+
object.accessGroups = [];
|
|
10897
|
+
for (var j = 0; j < message.accessGroups.length; ++j)
|
|
10898
|
+
object.accessGroups[j] = $root.contentful.SlugReference.toObject(message.accessGroups[j], options);
|
|
10899
|
+
}
|
|
10900
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
10901
|
+
if (typeof message.createdAt === "number")
|
|
10902
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
10903
|
+
else
|
|
10904
|
+
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
10905
|
+
return object;
|
|
10906
|
+
};
|
|
10907
|
+
|
|
10908
|
+
/**
|
|
10909
|
+
* Converts this ContentfulSubscriptionAccessGroupCreated to JSON.
|
|
10910
|
+
* @function toJSON
|
|
10911
|
+
* @memberof ContentfulSubscriptionAccessGroupCreated
|
|
10912
|
+
* @instance
|
|
10913
|
+
* @returns {Object.<string,*>} JSON object
|
|
10914
|
+
*/
|
|
10915
|
+
ContentfulSubscriptionAccessGroupCreated.prototype.toJSON = function toJSON() {
|
|
10916
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
10917
|
+
};
|
|
10918
|
+
|
|
10919
|
+
return ContentfulSubscriptionAccessGroupCreated;
|
|
10920
|
+
})();
|
|
10921
|
+
|
|
10922
|
+
$root.ContentfulSubscriptionAccessGroupUpdated = (function() {
|
|
10923
|
+
|
|
10924
|
+
/**
|
|
10925
|
+
* Properties of a ContentfulSubscriptionAccessGroupUpdated.
|
|
10926
|
+
* @exports IContentfulSubscriptionAccessGroupUpdated
|
|
10927
|
+
* @interface IContentfulSubscriptionAccessGroupUpdated
|
|
10928
|
+
* @property {string|null} [subscriptionId] ContentfulSubscriptionAccessGroupUpdated subscriptionId
|
|
10929
|
+
* @property {string|null} [slug] ContentfulSubscriptionAccessGroupUpdated slug
|
|
10930
|
+
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulSubscriptionAccessGroupUpdated accessGroups
|
|
10931
|
+
* @property {number|Long|null} [updatedAt] ContentfulSubscriptionAccessGroupUpdated updatedAt
|
|
10932
|
+
*/
|
|
10933
|
+
|
|
10934
|
+
/**
|
|
10935
|
+
* Constructs a new ContentfulSubscriptionAccessGroupUpdated.
|
|
10936
|
+
* @exports ContentfulSubscriptionAccessGroupUpdated
|
|
10937
|
+
* @classdesc Represents a ContentfulSubscriptionAccessGroupUpdated.
|
|
10938
|
+
* @implements IContentfulSubscriptionAccessGroupUpdated
|
|
10939
|
+
* @constructor
|
|
10940
|
+
* @param {IContentfulSubscriptionAccessGroupUpdated=} [properties] Properties to set
|
|
10941
|
+
*/
|
|
10942
|
+
function ContentfulSubscriptionAccessGroupUpdated(properties) {
|
|
10943
|
+
this.accessGroups = [];
|
|
10944
|
+
if (properties)
|
|
10945
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
10946
|
+
if (properties[keys[i]] != null)
|
|
10947
|
+
this[keys[i]] = properties[keys[i]];
|
|
10948
|
+
}
|
|
10949
|
+
|
|
10950
|
+
/**
|
|
10951
|
+
* ContentfulSubscriptionAccessGroupUpdated subscriptionId.
|
|
10952
|
+
* @member {string} subscriptionId
|
|
10953
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
10954
|
+
* @instance
|
|
10955
|
+
*/
|
|
10956
|
+
ContentfulSubscriptionAccessGroupUpdated.prototype.subscriptionId = "";
|
|
10957
|
+
|
|
10958
|
+
/**
|
|
10959
|
+
* ContentfulSubscriptionAccessGroupUpdated slug.
|
|
10960
|
+
* @member {string} slug
|
|
10961
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
10962
|
+
* @instance
|
|
10963
|
+
*/
|
|
10964
|
+
ContentfulSubscriptionAccessGroupUpdated.prototype.slug = "";
|
|
10965
|
+
|
|
10966
|
+
/**
|
|
10967
|
+
* ContentfulSubscriptionAccessGroupUpdated accessGroups.
|
|
10968
|
+
* @member {Array.<contentful.ISlugReference>} accessGroups
|
|
10969
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
10970
|
+
* @instance
|
|
10971
|
+
*/
|
|
10972
|
+
ContentfulSubscriptionAccessGroupUpdated.prototype.accessGroups = $util.emptyArray;
|
|
10973
|
+
|
|
10974
|
+
/**
|
|
10975
|
+
* ContentfulSubscriptionAccessGroupUpdated updatedAt.
|
|
10976
|
+
* @member {number|Long} updatedAt
|
|
10977
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
10978
|
+
* @instance
|
|
10979
|
+
*/
|
|
10980
|
+
ContentfulSubscriptionAccessGroupUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
10981
|
+
|
|
10982
|
+
/**
|
|
10983
|
+
* Creates a new ContentfulSubscriptionAccessGroupUpdated instance using the specified properties.
|
|
10984
|
+
* @function create
|
|
10985
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
10986
|
+
* @static
|
|
10987
|
+
* @param {IContentfulSubscriptionAccessGroupUpdated=} [properties] Properties to set
|
|
10988
|
+
* @returns {ContentfulSubscriptionAccessGroupUpdated} ContentfulSubscriptionAccessGroupUpdated instance
|
|
10989
|
+
*/
|
|
10990
|
+
ContentfulSubscriptionAccessGroupUpdated.create = function create(properties) {
|
|
10991
|
+
return new ContentfulSubscriptionAccessGroupUpdated(properties);
|
|
10992
|
+
};
|
|
10993
|
+
|
|
10994
|
+
/**
|
|
10995
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupUpdated message. Does not implicitly {@link ContentfulSubscriptionAccessGroupUpdated.verify|verify} messages.
|
|
10996
|
+
* @function encode
|
|
10997
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
10998
|
+
* @static
|
|
10999
|
+
* @param {IContentfulSubscriptionAccessGroupUpdated} message ContentfulSubscriptionAccessGroupUpdated message or plain object to encode
|
|
11000
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11001
|
+
* @returns {$protobuf.Writer} Writer
|
|
11002
|
+
*/
|
|
11003
|
+
ContentfulSubscriptionAccessGroupUpdated.encode = function encode(message, writer) {
|
|
11004
|
+
if (!writer)
|
|
11005
|
+
writer = $Writer.create();
|
|
11006
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
11007
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.subscriptionId);
|
|
11008
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
11009
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.slug);
|
|
11010
|
+
if (message.accessGroups != null && message.accessGroups.length)
|
|
11011
|
+
for (var i = 0; i < message.accessGroups.length; ++i)
|
|
11012
|
+
$root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
11013
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
11014
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.updatedAt);
|
|
11015
|
+
return writer;
|
|
11016
|
+
};
|
|
11017
|
+
|
|
11018
|
+
/**
|
|
11019
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupUpdated message, length delimited. Does not implicitly {@link ContentfulSubscriptionAccessGroupUpdated.verify|verify} messages.
|
|
11020
|
+
* @function encodeDelimited
|
|
11021
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
11022
|
+
* @static
|
|
11023
|
+
* @param {IContentfulSubscriptionAccessGroupUpdated} message ContentfulSubscriptionAccessGroupUpdated message or plain object to encode
|
|
11024
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11025
|
+
* @returns {$protobuf.Writer} Writer
|
|
11026
|
+
*/
|
|
11027
|
+
ContentfulSubscriptionAccessGroupUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
11028
|
+
return this.encode(message, writer).ldelim();
|
|
11029
|
+
};
|
|
11030
|
+
|
|
11031
|
+
/**
|
|
11032
|
+
* Decodes a ContentfulSubscriptionAccessGroupUpdated message from the specified reader or buffer.
|
|
11033
|
+
* @function decode
|
|
11034
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
11035
|
+
* @static
|
|
11036
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11037
|
+
* @param {number} [length] Message length if known beforehand
|
|
11038
|
+
* @returns {ContentfulSubscriptionAccessGroupUpdated} ContentfulSubscriptionAccessGroupUpdated
|
|
11039
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11040
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11041
|
+
*/
|
|
11042
|
+
ContentfulSubscriptionAccessGroupUpdated.decode = function decode(reader, length) {
|
|
11043
|
+
if (!(reader instanceof $Reader))
|
|
11044
|
+
reader = $Reader.create(reader);
|
|
11045
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulSubscriptionAccessGroupUpdated();
|
|
11046
|
+
while (reader.pos < end) {
|
|
11047
|
+
var tag = reader.uint32();
|
|
11048
|
+
switch (tag >>> 3) {
|
|
11049
|
+
case 1:
|
|
11050
|
+
message.subscriptionId = reader.string();
|
|
11051
|
+
break;
|
|
11052
|
+
case 2:
|
|
11053
|
+
message.slug = reader.string();
|
|
11054
|
+
break;
|
|
11055
|
+
case 3:
|
|
11056
|
+
if (!(message.accessGroups && message.accessGroups.length))
|
|
11057
|
+
message.accessGroups = [];
|
|
11058
|
+
message.accessGroups.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
11059
|
+
break;
|
|
11060
|
+
case 4:
|
|
11061
|
+
message.updatedAt = reader.uint64();
|
|
11062
|
+
break;
|
|
11063
|
+
default:
|
|
11064
|
+
reader.skipType(tag & 7);
|
|
11065
|
+
break;
|
|
11066
|
+
}
|
|
11067
|
+
}
|
|
11068
|
+
return message;
|
|
11069
|
+
};
|
|
11070
|
+
|
|
11071
|
+
/**
|
|
11072
|
+
* Decodes a ContentfulSubscriptionAccessGroupUpdated message from the specified reader or buffer, length delimited.
|
|
11073
|
+
* @function decodeDelimited
|
|
11074
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
11075
|
+
* @static
|
|
11076
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11077
|
+
* @returns {ContentfulSubscriptionAccessGroupUpdated} ContentfulSubscriptionAccessGroupUpdated
|
|
11078
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11079
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11080
|
+
*/
|
|
11081
|
+
ContentfulSubscriptionAccessGroupUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
11082
|
+
if (!(reader instanceof $Reader))
|
|
11083
|
+
reader = new $Reader(reader);
|
|
11084
|
+
return this.decode(reader, reader.uint32());
|
|
11085
|
+
};
|
|
11086
|
+
|
|
11087
|
+
/**
|
|
11088
|
+
* Verifies a ContentfulSubscriptionAccessGroupUpdated message.
|
|
11089
|
+
* @function verify
|
|
11090
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
11091
|
+
* @static
|
|
11092
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
11093
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
11094
|
+
*/
|
|
11095
|
+
ContentfulSubscriptionAccessGroupUpdated.verify = function verify(message) {
|
|
11096
|
+
if (typeof message !== "object" || message === null)
|
|
11097
|
+
return "object expected";
|
|
11098
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
11099
|
+
if (!$util.isString(message.subscriptionId))
|
|
11100
|
+
return "subscriptionId: string expected";
|
|
11101
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
11102
|
+
if (!$util.isString(message.slug))
|
|
11103
|
+
return "slug: string expected";
|
|
11104
|
+
if (message.accessGroups != null && message.hasOwnProperty("accessGroups")) {
|
|
11105
|
+
if (!Array.isArray(message.accessGroups))
|
|
11106
|
+
return "accessGroups: array expected";
|
|
11107
|
+
for (var i = 0; i < message.accessGroups.length; ++i) {
|
|
11108
|
+
var error = $root.contentful.SlugReference.verify(message.accessGroups[i]);
|
|
11109
|
+
if (error)
|
|
11110
|
+
return "accessGroups." + error;
|
|
11111
|
+
}
|
|
11112
|
+
}
|
|
11113
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
11114
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
11115
|
+
return "updatedAt: integer|Long expected";
|
|
11116
|
+
return null;
|
|
11117
|
+
};
|
|
11118
|
+
|
|
11119
|
+
/**
|
|
11120
|
+
* Creates a ContentfulSubscriptionAccessGroupUpdated message from a plain object. Also converts values to their respective internal types.
|
|
11121
|
+
* @function fromObject
|
|
11122
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
11123
|
+
* @static
|
|
11124
|
+
* @param {Object.<string,*>} object Plain object
|
|
11125
|
+
* @returns {ContentfulSubscriptionAccessGroupUpdated} ContentfulSubscriptionAccessGroupUpdated
|
|
11126
|
+
*/
|
|
11127
|
+
ContentfulSubscriptionAccessGroupUpdated.fromObject = function fromObject(object) {
|
|
11128
|
+
if (object instanceof $root.ContentfulSubscriptionAccessGroupUpdated)
|
|
11129
|
+
return object;
|
|
11130
|
+
var message = new $root.ContentfulSubscriptionAccessGroupUpdated();
|
|
11131
|
+
if (object.subscriptionId != null)
|
|
11132
|
+
message.subscriptionId = String(object.subscriptionId);
|
|
11133
|
+
if (object.slug != null)
|
|
11134
|
+
message.slug = String(object.slug);
|
|
11135
|
+
if (object.accessGroups) {
|
|
11136
|
+
if (!Array.isArray(object.accessGroups))
|
|
11137
|
+
throw TypeError(".ContentfulSubscriptionAccessGroupUpdated.accessGroups: array expected");
|
|
11138
|
+
message.accessGroups = [];
|
|
11139
|
+
for (var i = 0; i < object.accessGroups.length; ++i) {
|
|
11140
|
+
if (typeof object.accessGroups[i] !== "object")
|
|
11141
|
+
throw TypeError(".ContentfulSubscriptionAccessGroupUpdated.accessGroups: object expected");
|
|
11142
|
+
message.accessGroups[i] = $root.contentful.SlugReference.fromObject(object.accessGroups[i]);
|
|
11143
|
+
}
|
|
11144
|
+
}
|
|
11145
|
+
if (object.updatedAt != null)
|
|
11146
|
+
if ($util.Long)
|
|
11147
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
11148
|
+
else if (typeof object.updatedAt === "string")
|
|
11149
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
11150
|
+
else if (typeof object.updatedAt === "number")
|
|
11151
|
+
message.updatedAt = object.updatedAt;
|
|
11152
|
+
else if (typeof object.updatedAt === "object")
|
|
11153
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
11154
|
+
return message;
|
|
11155
|
+
};
|
|
11156
|
+
|
|
11157
|
+
/**
|
|
11158
|
+
* Creates a plain object from a ContentfulSubscriptionAccessGroupUpdated message. Also converts values to other types if specified.
|
|
11159
|
+
* @function toObject
|
|
11160
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
11161
|
+
* @static
|
|
11162
|
+
* @param {ContentfulSubscriptionAccessGroupUpdated} message ContentfulSubscriptionAccessGroupUpdated
|
|
11163
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
11164
|
+
* @returns {Object.<string,*>} Plain object
|
|
11165
|
+
*/
|
|
11166
|
+
ContentfulSubscriptionAccessGroupUpdated.toObject = function toObject(message, options) {
|
|
11167
|
+
if (!options)
|
|
11168
|
+
options = {};
|
|
11169
|
+
var object = {};
|
|
11170
|
+
if (options.arrays || options.defaults)
|
|
11171
|
+
object.accessGroups = [];
|
|
11172
|
+
if (options.defaults) {
|
|
11173
|
+
object.subscriptionId = "";
|
|
11174
|
+
object.slug = "";
|
|
11175
|
+
if ($util.Long) {
|
|
11176
|
+
var long = new $util.Long(0, 0, true);
|
|
11177
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
11178
|
+
} else
|
|
11179
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
11180
|
+
}
|
|
11181
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
11182
|
+
object.subscriptionId = message.subscriptionId;
|
|
11183
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
11184
|
+
object.slug = message.slug;
|
|
11185
|
+
if (message.accessGroups && message.accessGroups.length) {
|
|
11186
|
+
object.accessGroups = [];
|
|
11187
|
+
for (var j = 0; j < message.accessGroups.length; ++j)
|
|
11188
|
+
object.accessGroups[j] = $root.contentful.SlugReference.toObject(message.accessGroups[j], options);
|
|
11189
|
+
}
|
|
11190
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
11191
|
+
if (typeof message.updatedAt === "number")
|
|
11192
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
11193
|
+
else
|
|
11194
|
+
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
11195
|
+
return object;
|
|
11196
|
+
};
|
|
11197
|
+
|
|
11198
|
+
/**
|
|
11199
|
+
* Converts this ContentfulSubscriptionAccessGroupUpdated to JSON.
|
|
11200
|
+
* @function toJSON
|
|
11201
|
+
* @memberof ContentfulSubscriptionAccessGroupUpdated
|
|
11202
|
+
* @instance
|
|
11203
|
+
* @returns {Object.<string,*>} JSON object
|
|
11204
|
+
*/
|
|
11205
|
+
ContentfulSubscriptionAccessGroupUpdated.prototype.toJSON = function toJSON() {
|
|
11206
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
11207
|
+
};
|
|
11208
|
+
|
|
11209
|
+
return ContentfulSubscriptionAccessGroupUpdated;
|
|
11210
|
+
})();
|
|
11211
|
+
|
|
11212
|
+
$root.ContentfulSubscriptionAccessGroupDeleted = (function() {
|
|
11213
|
+
|
|
11214
|
+
/**
|
|
11215
|
+
* Properties of a ContentfulSubscriptionAccessGroupDeleted.
|
|
11216
|
+
* @exports IContentfulSubscriptionAccessGroupDeleted
|
|
11217
|
+
* @interface IContentfulSubscriptionAccessGroupDeleted
|
|
11218
|
+
* @property {string|null} [slug] ContentfulSubscriptionAccessGroupDeleted slug
|
|
11219
|
+
* @property {number|Long|null} [deletedAt] ContentfulSubscriptionAccessGroupDeleted deletedAt
|
|
11220
|
+
*/
|
|
11221
|
+
|
|
11222
|
+
/**
|
|
11223
|
+
* Constructs a new ContentfulSubscriptionAccessGroupDeleted.
|
|
11224
|
+
* @exports ContentfulSubscriptionAccessGroupDeleted
|
|
11225
|
+
* @classdesc Represents a ContentfulSubscriptionAccessGroupDeleted.
|
|
11226
|
+
* @implements IContentfulSubscriptionAccessGroupDeleted
|
|
11227
|
+
* @constructor
|
|
11228
|
+
* @param {IContentfulSubscriptionAccessGroupDeleted=} [properties] Properties to set
|
|
11229
|
+
*/
|
|
11230
|
+
function ContentfulSubscriptionAccessGroupDeleted(properties) {
|
|
11231
|
+
if (properties)
|
|
11232
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
11233
|
+
if (properties[keys[i]] != null)
|
|
11234
|
+
this[keys[i]] = properties[keys[i]];
|
|
11235
|
+
}
|
|
11236
|
+
|
|
11237
|
+
/**
|
|
11238
|
+
* ContentfulSubscriptionAccessGroupDeleted slug.
|
|
11239
|
+
* @member {string} slug
|
|
11240
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11241
|
+
* @instance
|
|
11242
|
+
*/
|
|
11243
|
+
ContentfulSubscriptionAccessGroupDeleted.prototype.slug = "";
|
|
11244
|
+
|
|
11245
|
+
/**
|
|
11246
|
+
* ContentfulSubscriptionAccessGroupDeleted deletedAt.
|
|
11247
|
+
* @member {number|Long} deletedAt
|
|
11248
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11249
|
+
* @instance
|
|
11250
|
+
*/
|
|
11251
|
+
ContentfulSubscriptionAccessGroupDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
11252
|
+
|
|
11253
|
+
/**
|
|
11254
|
+
* Creates a new ContentfulSubscriptionAccessGroupDeleted instance using the specified properties.
|
|
11255
|
+
* @function create
|
|
11256
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11257
|
+
* @static
|
|
11258
|
+
* @param {IContentfulSubscriptionAccessGroupDeleted=} [properties] Properties to set
|
|
11259
|
+
* @returns {ContentfulSubscriptionAccessGroupDeleted} ContentfulSubscriptionAccessGroupDeleted instance
|
|
11260
|
+
*/
|
|
11261
|
+
ContentfulSubscriptionAccessGroupDeleted.create = function create(properties) {
|
|
11262
|
+
return new ContentfulSubscriptionAccessGroupDeleted(properties);
|
|
11263
|
+
};
|
|
11264
|
+
|
|
11265
|
+
/**
|
|
11266
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupDeleted message. Does not implicitly {@link ContentfulSubscriptionAccessGroupDeleted.verify|verify} messages.
|
|
11267
|
+
* @function encode
|
|
11268
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11269
|
+
* @static
|
|
11270
|
+
* @param {IContentfulSubscriptionAccessGroupDeleted} message ContentfulSubscriptionAccessGroupDeleted message or plain object to encode
|
|
11271
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11272
|
+
* @returns {$protobuf.Writer} Writer
|
|
11273
|
+
*/
|
|
11274
|
+
ContentfulSubscriptionAccessGroupDeleted.encode = function encode(message, writer) {
|
|
11275
|
+
if (!writer)
|
|
11276
|
+
writer = $Writer.create();
|
|
11277
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
11278
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
11279
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
11280
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.deletedAt);
|
|
11281
|
+
return writer;
|
|
11282
|
+
};
|
|
11283
|
+
|
|
11284
|
+
/**
|
|
11285
|
+
* Encodes the specified ContentfulSubscriptionAccessGroupDeleted message, length delimited. Does not implicitly {@link ContentfulSubscriptionAccessGroupDeleted.verify|verify} messages.
|
|
11286
|
+
* @function encodeDelimited
|
|
11287
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11288
|
+
* @static
|
|
11289
|
+
* @param {IContentfulSubscriptionAccessGroupDeleted} message ContentfulSubscriptionAccessGroupDeleted message or plain object to encode
|
|
11290
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11291
|
+
* @returns {$protobuf.Writer} Writer
|
|
11292
|
+
*/
|
|
11293
|
+
ContentfulSubscriptionAccessGroupDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
11294
|
+
return this.encode(message, writer).ldelim();
|
|
11295
|
+
};
|
|
11296
|
+
|
|
11297
|
+
/**
|
|
11298
|
+
* Decodes a ContentfulSubscriptionAccessGroupDeleted message from the specified reader or buffer.
|
|
11299
|
+
* @function decode
|
|
11300
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11301
|
+
* @static
|
|
11302
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11303
|
+
* @param {number} [length] Message length if known beforehand
|
|
11304
|
+
* @returns {ContentfulSubscriptionAccessGroupDeleted} ContentfulSubscriptionAccessGroupDeleted
|
|
11305
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11306
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11307
|
+
*/
|
|
11308
|
+
ContentfulSubscriptionAccessGroupDeleted.decode = function decode(reader, length) {
|
|
11309
|
+
if (!(reader instanceof $Reader))
|
|
11310
|
+
reader = $Reader.create(reader);
|
|
11311
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulSubscriptionAccessGroupDeleted();
|
|
11312
|
+
while (reader.pos < end) {
|
|
11313
|
+
var tag = reader.uint32();
|
|
11314
|
+
switch (tag >>> 3) {
|
|
11315
|
+
case 1:
|
|
11316
|
+
message.slug = reader.string();
|
|
11317
|
+
break;
|
|
11318
|
+
case 2:
|
|
11319
|
+
message.deletedAt = reader.uint64();
|
|
11320
|
+
break;
|
|
11321
|
+
default:
|
|
11322
|
+
reader.skipType(tag & 7);
|
|
11323
|
+
break;
|
|
11324
|
+
}
|
|
11325
|
+
}
|
|
11326
|
+
return message;
|
|
11327
|
+
};
|
|
11328
|
+
|
|
11329
|
+
/**
|
|
11330
|
+
* Decodes a ContentfulSubscriptionAccessGroupDeleted message from the specified reader or buffer, length delimited.
|
|
11331
|
+
* @function decodeDelimited
|
|
11332
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11333
|
+
* @static
|
|
11334
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11335
|
+
* @returns {ContentfulSubscriptionAccessGroupDeleted} ContentfulSubscriptionAccessGroupDeleted
|
|
11336
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11337
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11338
|
+
*/
|
|
11339
|
+
ContentfulSubscriptionAccessGroupDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
11340
|
+
if (!(reader instanceof $Reader))
|
|
11341
|
+
reader = new $Reader(reader);
|
|
11342
|
+
return this.decode(reader, reader.uint32());
|
|
11343
|
+
};
|
|
11344
|
+
|
|
11345
|
+
/**
|
|
11346
|
+
* Verifies a ContentfulSubscriptionAccessGroupDeleted message.
|
|
11347
|
+
* @function verify
|
|
11348
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11349
|
+
* @static
|
|
11350
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
11351
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
11352
|
+
*/
|
|
11353
|
+
ContentfulSubscriptionAccessGroupDeleted.verify = function verify(message) {
|
|
11354
|
+
if (typeof message !== "object" || message === null)
|
|
11355
|
+
return "object expected";
|
|
11356
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
11357
|
+
if (!$util.isString(message.slug))
|
|
11358
|
+
return "slug: string expected";
|
|
11359
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
11360
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
11361
|
+
return "deletedAt: integer|Long expected";
|
|
11362
|
+
return null;
|
|
11363
|
+
};
|
|
11364
|
+
|
|
11365
|
+
/**
|
|
11366
|
+
* Creates a ContentfulSubscriptionAccessGroupDeleted message from a plain object. Also converts values to their respective internal types.
|
|
11367
|
+
* @function fromObject
|
|
11368
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11369
|
+
* @static
|
|
11370
|
+
* @param {Object.<string,*>} object Plain object
|
|
11371
|
+
* @returns {ContentfulSubscriptionAccessGroupDeleted} ContentfulSubscriptionAccessGroupDeleted
|
|
11372
|
+
*/
|
|
11373
|
+
ContentfulSubscriptionAccessGroupDeleted.fromObject = function fromObject(object) {
|
|
11374
|
+
if (object instanceof $root.ContentfulSubscriptionAccessGroupDeleted)
|
|
11375
|
+
return object;
|
|
11376
|
+
var message = new $root.ContentfulSubscriptionAccessGroupDeleted();
|
|
11377
|
+
if (object.slug != null)
|
|
11378
|
+
message.slug = String(object.slug);
|
|
11379
|
+
if (object.deletedAt != null)
|
|
11380
|
+
if ($util.Long)
|
|
11381
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
11382
|
+
else if (typeof object.deletedAt === "string")
|
|
11383
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
11384
|
+
else if (typeof object.deletedAt === "number")
|
|
11385
|
+
message.deletedAt = object.deletedAt;
|
|
11386
|
+
else if (typeof object.deletedAt === "object")
|
|
11387
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
11388
|
+
return message;
|
|
11389
|
+
};
|
|
11390
|
+
|
|
11391
|
+
/**
|
|
11392
|
+
* Creates a plain object from a ContentfulSubscriptionAccessGroupDeleted message. Also converts values to other types if specified.
|
|
11393
|
+
* @function toObject
|
|
11394
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11395
|
+
* @static
|
|
11396
|
+
* @param {ContentfulSubscriptionAccessGroupDeleted} message ContentfulSubscriptionAccessGroupDeleted
|
|
11397
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
11398
|
+
* @returns {Object.<string,*>} Plain object
|
|
11399
|
+
*/
|
|
11400
|
+
ContentfulSubscriptionAccessGroupDeleted.toObject = function toObject(message, options) {
|
|
11401
|
+
if (!options)
|
|
11402
|
+
options = {};
|
|
11403
|
+
var object = {};
|
|
11404
|
+
if (options.defaults) {
|
|
11405
|
+
object.slug = "";
|
|
11406
|
+
if ($util.Long) {
|
|
11407
|
+
var long = new $util.Long(0, 0, true);
|
|
11408
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
11409
|
+
} else
|
|
11410
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
11411
|
+
}
|
|
11412
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
11413
|
+
object.slug = message.slug;
|
|
11414
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
11415
|
+
if (typeof message.deletedAt === "number")
|
|
11416
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
11417
|
+
else
|
|
11418
|
+
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
11419
|
+
return object;
|
|
11420
|
+
};
|
|
11421
|
+
|
|
11422
|
+
/**
|
|
11423
|
+
* Converts this ContentfulSubscriptionAccessGroupDeleted to JSON.
|
|
11424
|
+
* @function toJSON
|
|
11425
|
+
* @memberof ContentfulSubscriptionAccessGroupDeleted
|
|
11426
|
+
* @instance
|
|
11427
|
+
* @returns {Object.<string,*>} JSON object
|
|
11428
|
+
*/
|
|
11429
|
+
ContentfulSubscriptionAccessGroupDeleted.prototype.toJSON = function toJSON() {
|
|
11430
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
11431
|
+
};
|
|
11432
|
+
|
|
11433
|
+
return ContentfulSubscriptionAccessGroupDeleted;
|
|
11434
|
+
})();
|
|
11435
|
+
|
|
10632
11436
|
$root.ContentfulContentModelCreated = (function() {
|
|
10633
11437
|
|
|
10634
11438
|
/**
|
|
@@ -16076,6 +16880,7 @@ $root.AssessmentScore = (function() {
|
|
|
16076
16880
|
* @property {string|null} [surveyId] AssessmentScore surveyId
|
|
16077
16881
|
* @property {number|null} [score] AssessmentScore score
|
|
16078
16882
|
* @property {string|null} [completedAtIsoDate] AssessmentScore completedAtIsoDate
|
|
16883
|
+
* @property {string|null} [reflectionNote] AssessmentScore reflectionNote
|
|
16079
16884
|
*/
|
|
16080
16885
|
|
|
16081
16886
|
/**
|
|
@@ -16125,6 +16930,14 @@ $root.AssessmentScore = (function() {
|
|
|
16125
16930
|
*/
|
|
16126
16931
|
AssessmentScore.prototype.completedAtIsoDate = "";
|
|
16127
16932
|
|
|
16933
|
+
/**
|
|
16934
|
+
* AssessmentScore reflectionNote.
|
|
16935
|
+
* @member {string} reflectionNote
|
|
16936
|
+
* @memberof AssessmentScore
|
|
16937
|
+
* @instance
|
|
16938
|
+
*/
|
|
16939
|
+
AssessmentScore.prototype.reflectionNote = "";
|
|
16940
|
+
|
|
16128
16941
|
/**
|
|
16129
16942
|
* Creates a new AssessmentScore instance using the specified properties.
|
|
16130
16943
|
* @function create
|
|
@@ -16157,6 +16970,8 @@ $root.AssessmentScore = (function() {
|
|
|
16157
16970
|
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.score);
|
|
16158
16971
|
if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
|
|
16159
16972
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.completedAtIsoDate);
|
|
16973
|
+
if (message.reflectionNote != null && message.hasOwnProperty("reflectionNote"))
|
|
16974
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.reflectionNote);
|
|
16160
16975
|
return writer;
|
|
16161
16976
|
};
|
|
16162
16977
|
|
|
@@ -16203,6 +17018,9 @@ $root.AssessmentScore = (function() {
|
|
|
16203
17018
|
case 4:
|
|
16204
17019
|
message.completedAtIsoDate = reader.string();
|
|
16205
17020
|
break;
|
|
17021
|
+
case 5:
|
|
17022
|
+
message.reflectionNote = reader.string();
|
|
17023
|
+
break;
|
|
16206
17024
|
default:
|
|
16207
17025
|
reader.skipType(tag & 7);
|
|
16208
17026
|
break;
|
|
@@ -16250,6 +17068,9 @@ $root.AssessmentScore = (function() {
|
|
|
16250
17068
|
if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
|
|
16251
17069
|
if (!$util.isString(message.completedAtIsoDate))
|
|
16252
17070
|
return "completedAtIsoDate: string expected";
|
|
17071
|
+
if (message.reflectionNote != null && message.hasOwnProperty("reflectionNote"))
|
|
17072
|
+
if (!$util.isString(message.reflectionNote))
|
|
17073
|
+
return "reflectionNote: string expected";
|
|
16253
17074
|
return null;
|
|
16254
17075
|
};
|
|
16255
17076
|
|
|
@@ -16273,6 +17094,8 @@ $root.AssessmentScore = (function() {
|
|
|
16273
17094
|
message.score = object.score >>> 0;
|
|
16274
17095
|
if (object.completedAtIsoDate != null)
|
|
16275
17096
|
message.completedAtIsoDate = String(object.completedAtIsoDate);
|
|
17097
|
+
if (object.reflectionNote != null)
|
|
17098
|
+
message.reflectionNote = String(object.reflectionNote);
|
|
16276
17099
|
return message;
|
|
16277
17100
|
};
|
|
16278
17101
|
|
|
@@ -16294,6 +17117,7 @@ $root.AssessmentScore = (function() {
|
|
|
16294
17117
|
object.surveyId = "";
|
|
16295
17118
|
object.score = 0;
|
|
16296
17119
|
object.completedAtIsoDate = "";
|
|
17120
|
+
object.reflectionNote = "";
|
|
16297
17121
|
}
|
|
16298
17122
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
16299
17123
|
object.userId = message.userId;
|
|
@@ -16303,6 +17127,8 @@ $root.AssessmentScore = (function() {
|
|
|
16303
17127
|
object.score = message.score;
|
|
16304
17128
|
if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
|
|
16305
17129
|
object.completedAtIsoDate = message.completedAtIsoDate;
|
|
17130
|
+
if (message.reflectionNote != null && message.hasOwnProperty("reflectionNote"))
|
|
17131
|
+
object.reflectionNote = message.reflectionNote;
|
|
16306
17132
|
return object;
|
|
16307
17133
|
};
|
|
16308
17134
|
|
package/package.json
CHANGED