@headspace/protos-events 1.145.0 → 1.147.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 +1659 -15
  2. package/lib/index.js +12600 -8632
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2030,6 +2030,1164 @@ export namespace googleReceipt {
2030
2030
  }
2031
2031
  }
2032
2032
 
2033
+ /** Namespace b2b. */
2034
+ export namespace b2b {
2035
+
2036
+ /** Represents an OrgSubscriptionGrpcManager */
2037
+ class OrgSubscriptionGrpcManager extends $protobuf.rpc.Service {
2038
+
2039
+ /**
2040
+ * Constructs a new OrgSubscriptionGrpcManager service.
2041
+ * @param rpcImpl RPC implementation
2042
+ * @param [requestDelimited=false] Whether requests are length-delimited
2043
+ * @param [responseDelimited=false] Whether responses are length-delimited
2044
+ */
2045
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
2046
+
2047
+ /**
2048
+ * Creates new OrgSubscriptionGrpcManager service using the specified rpc implementation.
2049
+ * @param rpcImpl RPC implementation
2050
+ * @param [requestDelimited=false] Whether requests are length-delimited
2051
+ * @param [responseDelimited=false] Whether responses are length-delimited
2052
+ * @returns RPC service. Useful where requests and/or responses are streamed.
2053
+ */
2054
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): OrgSubscriptionGrpcManager;
2055
+
2056
+ /**
2057
+ * Calls findCurrentOrgSubscription.
2058
+ * @param request FindCurrentOrgSubscriptionRequest message or plain object
2059
+ * @param callback Node-style callback called with the error, if any, and OneOrgSubscriptionResponse
2060
+ */
2061
+ public findCurrentOrgSubscription(request: b2b.IFindCurrentOrgSubscriptionRequest, callback: b2b.OrgSubscriptionGrpcManager.findCurrentOrgSubscriptionCallback): void;
2062
+
2063
+ /**
2064
+ * Calls findCurrentOrgSubscription.
2065
+ * @param request FindCurrentOrgSubscriptionRequest message or plain object
2066
+ * @returns Promise
2067
+ */
2068
+ public findCurrentOrgSubscription(request: b2b.IFindCurrentOrgSubscriptionRequest): Promise<b2b.OneOrgSubscriptionResponse>;
2069
+
2070
+ /**
2071
+ * Calls findPartialPayEligibleSubscription.
2072
+ * @param request FindPartialPayEligibleSubscriptionRequest message or plain object
2073
+ * @param callback Node-style callback called with the error, if any, and OneOrgSubscriptionResponse
2074
+ */
2075
+ public findPartialPayEligibleSubscription(request: b2b.IFindPartialPayEligibleSubscriptionRequest, callback: b2b.OrgSubscriptionGrpcManager.findPartialPayEligibleSubscriptionCallback): void;
2076
+
2077
+ /**
2078
+ * Calls findPartialPayEligibleSubscription.
2079
+ * @param request FindPartialPayEligibleSubscriptionRequest message or plain object
2080
+ * @returns Promise
2081
+ */
2082
+ public findPartialPayEligibleSubscription(request: b2b.IFindPartialPayEligibleSubscriptionRequest): Promise<b2b.OneOrgSubscriptionResponse>;
2083
+ }
2084
+
2085
+ namespace OrgSubscriptionGrpcManager {
2086
+
2087
+ /**
2088
+ * Callback as used by {@link b2b.OrgSubscriptionGrpcManager#findCurrentOrgSubscription}.
2089
+ * @param error Error, if any
2090
+ * @param [response] OneOrgSubscriptionResponse
2091
+ */
2092
+ type findCurrentOrgSubscriptionCallback = (error: (Error|null), response?: b2b.OneOrgSubscriptionResponse) => void;
2093
+
2094
+ /**
2095
+ * Callback as used by {@link b2b.OrgSubscriptionGrpcManager#findPartialPayEligibleSubscription}.
2096
+ * @param error Error, if any
2097
+ * @param [response] OneOrgSubscriptionResponse
2098
+ */
2099
+ type findPartialPayEligibleSubscriptionCallback = (error: (Error|null), response?: b2b.OneOrgSubscriptionResponse) => void;
2100
+ }
2101
+
2102
+ /** Represents an AdminGrpcManager */
2103
+ class AdminGrpcManager extends $protobuf.rpc.Service {
2104
+
2105
+ /**
2106
+ * Constructs a new AdminGrpcManager service.
2107
+ * @param rpcImpl RPC implementation
2108
+ * @param [requestDelimited=false] Whether requests are length-delimited
2109
+ * @param [responseDelimited=false] Whether responses are length-delimited
2110
+ */
2111
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
2112
+
2113
+ /**
2114
+ * Creates new AdminGrpcManager service using the specified rpc implementation.
2115
+ * @param rpcImpl RPC implementation
2116
+ * @param [requestDelimited=false] Whether requests are length-delimited
2117
+ * @param [responseDelimited=false] Whether responses are length-delimited
2118
+ * @returns RPC service. Useful where requests and/or responses are streamed.
2119
+ */
2120
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AdminGrpcManager;
2121
+
2122
+ /**
2123
+ * Calls FindAdminByEmail.
2124
+ * @param request FindAdminByEmailRequest message or plain object
2125
+ * @param callback Node-style callback called with the error, if any, and AdminResponse
2126
+ */
2127
+ public findAdminByEmail(request: b2b.IFindAdminByEmailRequest, callback: b2b.AdminGrpcManager.FindAdminByEmailCallback): void;
2128
+
2129
+ /**
2130
+ * Calls FindAdminByEmail.
2131
+ * @param request FindAdminByEmailRequest message or plain object
2132
+ * @returns Promise
2133
+ */
2134
+ public findAdminByEmail(request: b2b.IFindAdminByEmailRequest): Promise<b2b.AdminResponse>;
2135
+
2136
+ /**
2137
+ * Calls UpdateAdminById.
2138
+ * @param request UpdateAdminByIdRequest message or plain object
2139
+ * @param callback Node-style callback called with the error, if any, and AdminResponse
2140
+ */
2141
+ public updateAdminById(request: b2b.IUpdateAdminByIdRequest, callback: b2b.AdminGrpcManager.UpdateAdminByIdCallback): void;
2142
+
2143
+ /**
2144
+ * Calls UpdateAdminById.
2145
+ * @param request UpdateAdminByIdRequest message or plain object
2146
+ * @returns Promise
2147
+ */
2148
+ public updateAdminById(request: b2b.IUpdateAdminByIdRequest): Promise<b2b.AdminResponse>;
2149
+ }
2150
+
2151
+ namespace AdminGrpcManager {
2152
+
2153
+ /**
2154
+ * Callback as used by {@link b2b.AdminGrpcManager#findAdminByEmail}.
2155
+ * @param error Error, if any
2156
+ * @param [response] AdminResponse
2157
+ */
2158
+ type FindAdminByEmailCallback = (error: (Error|null), response?: b2b.AdminResponse) => void;
2159
+
2160
+ /**
2161
+ * Callback as used by {@link b2b.AdminGrpcManager#updateAdminById}.
2162
+ * @param error Error, if any
2163
+ * @param [response] AdminResponse
2164
+ */
2165
+ type UpdateAdminByIdCallback = (error: (Error|null), response?: b2b.AdminResponse) => void;
2166
+ }
2167
+
2168
+ /** Properties of a FindCurrentOrgSubscriptionRequest. */
2169
+ interface IFindCurrentOrgSubscriptionRequest {
2170
+
2171
+ /** FindCurrentOrgSubscriptionRequest userId */
2172
+ userId?: (string|null);
2173
+ }
2174
+
2175
+ /** Represents a FindCurrentOrgSubscriptionRequest. */
2176
+ class FindCurrentOrgSubscriptionRequest implements IFindCurrentOrgSubscriptionRequest {
2177
+
2178
+ /**
2179
+ * Constructs a new FindCurrentOrgSubscriptionRequest.
2180
+ * @param [properties] Properties to set
2181
+ */
2182
+ constructor(properties?: b2b.IFindCurrentOrgSubscriptionRequest);
2183
+
2184
+ /** FindCurrentOrgSubscriptionRequest userId. */
2185
+ public userId: string;
2186
+
2187
+ /**
2188
+ * Creates a new FindCurrentOrgSubscriptionRequest instance using the specified properties.
2189
+ * @param [properties] Properties to set
2190
+ * @returns FindCurrentOrgSubscriptionRequest instance
2191
+ */
2192
+ public static create(properties?: b2b.IFindCurrentOrgSubscriptionRequest): b2b.FindCurrentOrgSubscriptionRequest;
2193
+
2194
+ /**
2195
+ * Encodes the specified FindCurrentOrgSubscriptionRequest message. Does not implicitly {@link b2b.FindCurrentOrgSubscriptionRequest.verify|verify} messages.
2196
+ * @param message FindCurrentOrgSubscriptionRequest message or plain object to encode
2197
+ * @param [writer] Writer to encode to
2198
+ * @returns Writer
2199
+ */
2200
+ public static encode(message: b2b.IFindCurrentOrgSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2201
+
2202
+ /**
2203
+ * Encodes the specified FindCurrentOrgSubscriptionRequest message, length delimited. Does not implicitly {@link b2b.FindCurrentOrgSubscriptionRequest.verify|verify} messages.
2204
+ * @param message FindCurrentOrgSubscriptionRequest message or plain object to encode
2205
+ * @param [writer] Writer to encode to
2206
+ * @returns Writer
2207
+ */
2208
+ public static encodeDelimited(message: b2b.IFindCurrentOrgSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2209
+
2210
+ /**
2211
+ * Decodes a FindCurrentOrgSubscriptionRequest message from the specified reader or buffer.
2212
+ * @param reader Reader or buffer to decode from
2213
+ * @param [length] Message length if known beforehand
2214
+ * @returns FindCurrentOrgSubscriptionRequest
2215
+ * @throws {Error} If the payload is not a reader or valid buffer
2216
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2217
+ */
2218
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.FindCurrentOrgSubscriptionRequest;
2219
+
2220
+ /**
2221
+ * Decodes a FindCurrentOrgSubscriptionRequest message from the specified reader or buffer, length delimited.
2222
+ * @param reader Reader or buffer to decode from
2223
+ * @returns FindCurrentOrgSubscriptionRequest
2224
+ * @throws {Error} If the payload is not a reader or valid buffer
2225
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2226
+ */
2227
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.FindCurrentOrgSubscriptionRequest;
2228
+
2229
+ /**
2230
+ * Verifies a FindCurrentOrgSubscriptionRequest message.
2231
+ * @param message Plain object to verify
2232
+ * @returns `null` if valid, otherwise the reason why it is not
2233
+ */
2234
+ public static verify(message: { [k: string]: any }): (string|null);
2235
+
2236
+ /**
2237
+ * Creates a FindCurrentOrgSubscriptionRequest message from a plain object. Also converts values to their respective internal types.
2238
+ * @param object Plain object
2239
+ * @returns FindCurrentOrgSubscriptionRequest
2240
+ */
2241
+ public static fromObject(object: { [k: string]: any }): b2b.FindCurrentOrgSubscriptionRequest;
2242
+
2243
+ /**
2244
+ * Creates a plain object from a FindCurrentOrgSubscriptionRequest message. Also converts values to other types if specified.
2245
+ * @param message FindCurrentOrgSubscriptionRequest
2246
+ * @param [options] Conversion options
2247
+ * @returns Plain object
2248
+ */
2249
+ public static toObject(message: b2b.FindCurrentOrgSubscriptionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2250
+
2251
+ /**
2252
+ * Converts this FindCurrentOrgSubscriptionRequest to JSON.
2253
+ * @returns JSON object
2254
+ */
2255
+ public toJSON(): { [k: string]: any };
2256
+ }
2257
+
2258
+ /** Properties of a FindPartialPayEligibleSubscriptionRequest. */
2259
+ interface IFindPartialPayEligibleSubscriptionRequest {
2260
+
2261
+ /** FindPartialPayEligibleSubscriptionRequest userId */
2262
+ userId?: (string|null);
2263
+
2264
+ /** FindPartialPayEligibleSubscriptionRequest partialPayVoucher */
2265
+ partialPayVoucher?: (string|null);
2266
+ }
2267
+
2268
+ /** Represents a FindPartialPayEligibleSubscriptionRequest. */
2269
+ class FindPartialPayEligibleSubscriptionRequest implements IFindPartialPayEligibleSubscriptionRequest {
2270
+
2271
+ /**
2272
+ * Constructs a new FindPartialPayEligibleSubscriptionRequest.
2273
+ * @param [properties] Properties to set
2274
+ */
2275
+ constructor(properties?: b2b.IFindPartialPayEligibleSubscriptionRequest);
2276
+
2277
+ /** FindPartialPayEligibleSubscriptionRequest userId. */
2278
+ public userId: string;
2279
+
2280
+ /** FindPartialPayEligibleSubscriptionRequest partialPayVoucher. */
2281
+ public partialPayVoucher: string;
2282
+
2283
+ /**
2284
+ * Creates a new FindPartialPayEligibleSubscriptionRequest instance using the specified properties.
2285
+ * @param [properties] Properties to set
2286
+ * @returns FindPartialPayEligibleSubscriptionRequest instance
2287
+ */
2288
+ public static create(properties?: b2b.IFindPartialPayEligibleSubscriptionRequest): b2b.FindPartialPayEligibleSubscriptionRequest;
2289
+
2290
+ /**
2291
+ * Encodes the specified FindPartialPayEligibleSubscriptionRequest message. Does not implicitly {@link b2b.FindPartialPayEligibleSubscriptionRequest.verify|verify} messages.
2292
+ * @param message FindPartialPayEligibleSubscriptionRequest message or plain object to encode
2293
+ * @param [writer] Writer to encode to
2294
+ * @returns Writer
2295
+ */
2296
+ public static encode(message: b2b.IFindPartialPayEligibleSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2297
+
2298
+ /**
2299
+ * Encodes the specified FindPartialPayEligibleSubscriptionRequest message, length delimited. Does not implicitly {@link b2b.FindPartialPayEligibleSubscriptionRequest.verify|verify} messages.
2300
+ * @param message FindPartialPayEligibleSubscriptionRequest message or plain object to encode
2301
+ * @param [writer] Writer to encode to
2302
+ * @returns Writer
2303
+ */
2304
+ public static encodeDelimited(message: b2b.IFindPartialPayEligibleSubscriptionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2305
+
2306
+ /**
2307
+ * Decodes a FindPartialPayEligibleSubscriptionRequest message from the specified reader or buffer.
2308
+ * @param reader Reader or buffer to decode from
2309
+ * @param [length] Message length if known beforehand
2310
+ * @returns FindPartialPayEligibleSubscriptionRequest
2311
+ * @throws {Error} If the payload is not a reader or valid buffer
2312
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2313
+ */
2314
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.FindPartialPayEligibleSubscriptionRequest;
2315
+
2316
+ /**
2317
+ * Decodes a FindPartialPayEligibleSubscriptionRequest message from the specified reader or buffer, length delimited.
2318
+ * @param reader Reader or buffer to decode from
2319
+ * @returns FindPartialPayEligibleSubscriptionRequest
2320
+ * @throws {Error} If the payload is not a reader or valid buffer
2321
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2322
+ */
2323
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.FindPartialPayEligibleSubscriptionRequest;
2324
+
2325
+ /**
2326
+ * Verifies a FindPartialPayEligibleSubscriptionRequest message.
2327
+ * @param message Plain object to verify
2328
+ * @returns `null` if valid, otherwise the reason why it is not
2329
+ */
2330
+ public static verify(message: { [k: string]: any }): (string|null);
2331
+
2332
+ /**
2333
+ * Creates a FindPartialPayEligibleSubscriptionRequest message from a plain object. Also converts values to their respective internal types.
2334
+ * @param object Plain object
2335
+ * @returns FindPartialPayEligibleSubscriptionRequest
2336
+ */
2337
+ public static fromObject(object: { [k: string]: any }): b2b.FindPartialPayEligibleSubscriptionRequest;
2338
+
2339
+ /**
2340
+ * Creates a plain object from a FindPartialPayEligibleSubscriptionRequest message. Also converts values to other types if specified.
2341
+ * @param message FindPartialPayEligibleSubscriptionRequest
2342
+ * @param [options] Conversion options
2343
+ * @returns Plain object
2344
+ */
2345
+ public static toObject(message: b2b.FindPartialPayEligibleSubscriptionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2346
+
2347
+ /**
2348
+ * Converts this FindPartialPayEligibleSubscriptionRequest to JSON.
2349
+ * @returns JSON object
2350
+ */
2351
+ public toJSON(): { [k: string]: any };
2352
+ }
2353
+
2354
+ /** Properties of an OneOrgSubscriptionResponse. */
2355
+ interface IOneOrgSubscriptionResponse {
2356
+
2357
+ /** OneOrgSubscriptionResponse subscription */
2358
+ subscription?: (b2b.IOrgSubscription|null);
2359
+ }
2360
+
2361
+ /** Represents an OneOrgSubscriptionResponse. */
2362
+ class OneOrgSubscriptionResponse implements IOneOrgSubscriptionResponse {
2363
+
2364
+ /**
2365
+ * Constructs a new OneOrgSubscriptionResponse.
2366
+ * @param [properties] Properties to set
2367
+ */
2368
+ constructor(properties?: b2b.IOneOrgSubscriptionResponse);
2369
+
2370
+ /** OneOrgSubscriptionResponse subscription. */
2371
+ public subscription?: (b2b.IOrgSubscription|null);
2372
+
2373
+ /**
2374
+ * Creates a new OneOrgSubscriptionResponse instance using the specified properties.
2375
+ * @param [properties] Properties to set
2376
+ * @returns OneOrgSubscriptionResponse instance
2377
+ */
2378
+ public static create(properties?: b2b.IOneOrgSubscriptionResponse): b2b.OneOrgSubscriptionResponse;
2379
+
2380
+ /**
2381
+ * Encodes the specified OneOrgSubscriptionResponse message. Does not implicitly {@link b2b.OneOrgSubscriptionResponse.verify|verify} messages.
2382
+ * @param message OneOrgSubscriptionResponse message or plain object to encode
2383
+ * @param [writer] Writer to encode to
2384
+ * @returns Writer
2385
+ */
2386
+ public static encode(message: b2b.IOneOrgSubscriptionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2387
+
2388
+ /**
2389
+ * Encodes the specified OneOrgSubscriptionResponse message, length delimited. Does not implicitly {@link b2b.OneOrgSubscriptionResponse.verify|verify} messages.
2390
+ * @param message OneOrgSubscriptionResponse message or plain object to encode
2391
+ * @param [writer] Writer to encode to
2392
+ * @returns Writer
2393
+ */
2394
+ public static encodeDelimited(message: b2b.IOneOrgSubscriptionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2395
+
2396
+ /**
2397
+ * Decodes an OneOrgSubscriptionResponse message from the specified reader or buffer.
2398
+ * @param reader Reader or buffer to decode from
2399
+ * @param [length] Message length if known beforehand
2400
+ * @returns OneOrgSubscriptionResponse
2401
+ * @throws {Error} If the payload is not a reader or valid buffer
2402
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2403
+ */
2404
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.OneOrgSubscriptionResponse;
2405
+
2406
+ /**
2407
+ * Decodes an OneOrgSubscriptionResponse message from the specified reader or buffer, length delimited.
2408
+ * @param reader Reader or buffer to decode from
2409
+ * @returns OneOrgSubscriptionResponse
2410
+ * @throws {Error} If the payload is not a reader or valid buffer
2411
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2412
+ */
2413
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.OneOrgSubscriptionResponse;
2414
+
2415
+ /**
2416
+ * Verifies an OneOrgSubscriptionResponse message.
2417
+ * @param message Plain object to verify
2418
+ * @returns `null` if valid, otherwise the reason why it is not
2419
+ */
2420
+ public static verify(message: { [k: string]: any }): (string|null);
2421
+
2422
+ /**
2423
+ * Creates an OneOrgSubscriptionResponse message from a plain object. Also converts values to their respective internal types.
2424
+ * @param object Plain object
2425
+ * @returns OneOrgSubscriptionResponse
2426
+ */
2427
+ public static fromObject(object: { [k: string]: any }): b2b.OneOrgSubscriptionResponse;
2428
+
2429
+ /**
2430
+ * Creates a plain object from an OneOrgSubscriptionResponse message. Also converts values to other types if specified.
2431
+ * @param message OneOrgSubscriptionResponse
2432
+ * @param [options] Conversion options
2433
+ * @returns Plain object
2434
+ */
2435
+ public static toObject(message: b2b.OneOrgSubscriptionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
2436
+
2437
+ /**
2438
+ * Converts this OneOrgSubscriptionResponse to JSON.
2439
+ * @returns JSON object
2440
+ */
2441
+ public toJSON(): { [k: string]: any };
2442
+ }
2443
+
2444
+ /** Properties of an OrgSubscription. */
2445
+ interface IOrgSubscription {
2446
+
2447
+ /** OrgSubscription id */
2448
+ id?: (number|null);
2449
+
2450
+ /** OrgSubscription orgId */
2451
+ orgId?: (number|null);
2452
+
2453
+ /** OrgSubscription startsAt */
2454
+ startsAt?: (date.IDate|null);
2455
+
2456
+ /** OrgSubscription endsAt */
2457
+ endsAt?: (date.IDate|null);
2458
+
2459
+ /** OrgSubscription status */
2460
+ status?: (string|null);
2461
+
2462
+ /** OrgSubscription planName */
2463
+ planName?: (string|null);
2464
+
2465
+ /** OrgSubscription opportunityId */
2466
+ opportunityId?: (string|null);
2467
+
2468
+ /** OrgSubscription partialPayVoucher */
2469
+ partialPayVoucher?: (string|null);
2470
+ }
2471
+
2472
+ /** Represents an OrgSubscription. */
2473
+ class OrgSubscription implements IOrgSubscription {
2474
+
2475
+ /**
2476
+ * Constructs a new OrgSubscription.
2477
+ * @param [properties] Properties to set
2478
+ */
2479
+ constructor(properties?: b2b.IOrgSubscription);
2480
+
2481
+ /** OrgSubscription id. */
2482
+ public id: number;
2483
+
2484
+ /** OrgSubscription orgId. */
2485
+ public orgId: number;
2486
+
2487
+ /** OrgSubscription startsAt. */
2488
+ public startsAt?: (date.IDate|null);
2489
+
2490
+ /** OrgSubscription endsAt. */
2491
+ public endsAt?: (date.IDate|null);
2492
+
2493
+ /** OrgSubscription status. */
2494
+ public status: string;
2495
+
2496
+ /** OrgSubscription planName. */
2497
+ public planName: string;
2498
+
2499
+ /** OrgSubscription opportunityId. */
2500
+ public opportunityId: string;
2501
+
2502
+ /** OrgSubscription partialPayVoucher. */
2503
+ public partialPayVoucher: string;
2504
+
2505
+ /**
2506
+ * Creates a new OrgSubscription instance using the specified properties.
2507
+ * @param [properties] Properties to set
2508
+ * @returns OrgSubscription instance
2509
+ */
2510
+ public static create(properties?: b2b.IOrgSubscription): b2b.OrgSubscription;
2511
+
2512
+ /**
2513
+ * Encodes the specified OrgSubscription message. Does not implicitly {@link b2b.OrgSubscription.verify|verify} messages.
2514
+ * @param message OrgSubscription message or plain object to encode
2515
+ * @param [writer] Writer to encode to
2516
+ * @returns Writer
2517
+ */
2518
+ public static encode(message: b2b.IOrgSubscription, writer?: $protobuf.Writer): $protobuf.Writer;
2519
+
2520
+ /**
2521
+ * Encodes the specified OrgSubscription message, length delimited. Does not implicitly {@link b2b.OrgSubscription.verify|verify} messages.
2522
+ * @param message OrgSubscription message or plain object to encode
2523
+ * @param [writer] Writer to encode to
2524
+ * @returns Writer
2525
+ */
2526
+ public static encodeDelimited(message: b2b.IOrgSubscription, writer?: $protobuf.Writer): $protobuf.Writer;
2527
+
2528
+ /**
2529
+ * Decodes an OrgSubscription message from the specified reader or buffer.
2530
+ * @param reader Reader or buffer to decode from
2531
+ * @param [length] Message length if known beforehand
2532
+ * @returns OrgSubscription
2533
+ * @throws {Error} If the payload is not a reader or valid buffer
2534
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2535
+ */
2536
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.OrgSubscription;
2537
+
2538
+ /**
2539
+ * Decodes an OrgSubscription message from the specified reader or buffer, length delimited.
2540
+ * @param reader Reader or buffer to decode from
2541
+ * @returns OrgSubscription
2542
+ * @throws {Error} If the payload is not a reader or valid buffer
2543
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2544
+ */
2545
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.OrgSubscription;
2546
+
2547
+ /**
2548
+ * Verifies an OrgSubscription message.
2549
+ * @param message Plain object to verify
2550
+ * @returns `null` if valid, otherwise the reason why it is not
2551
+ */
2552
+ public static verify(message: { [k: string]: any }): (string|null);
2553
+
2554
+ /**
2555
+ * Creates an OrgSubscription message from a plain object. Also converts values to their respective internal types.
2556
+ * @param object Plain object
2557
+ * @returns OrgSubscription
2558
+ */
2559
+ public static fromObject(object: { [k: string]: any }): b2b.OrgSubscription;
2560
+
2561
+ /**
2562
+ * Creates a plain object from an OrgSubscription message. Also converts values to other types if specified.
2563
+ * @param message OrgSubscription
2564
+ * @param [options] Conversion options
2565
+ * @returns Plain object
2566
+ */
2567
+ public static toObject(message: b2b.OrgSubscription, options?: $protobuf.IConversionOptions): { [k: string]: any };
2568
+
2569
+ /**
2570
+ * Converts this OrgSubscription to JSON.
2571
+ * @returns JSON object
2572
+ */
2573
+ public toJSON(): { [k: string]: any };
2574
+ }
2575
+
2576
+ /** Properties of a FindAdminRequest. */
2577
+ interface IFindAdminRequest {
2578
+
2579
+ /** FindAdminRequest email */
2580
+ email?: (string|null);
2581
+ }
2582
+
2583
+ /** Represents a FindAdminRequest. */
2584
+ class FindAdminRequest implements IFindAdminRequest {
2585
+
2586
+ /**
2587
+ * Constructs a new FindAdminRequest.
2588
+ * @param [properties] Properties to set
2589
+ */
2590
+ constructor(properties?: b2b.IFindAdminRequest);
2591
+
2592
+ /** FindAdminRequest email. */
2593
+ public email: string;
2594
+
2595
+ /**
2596
+ * Creates a new FindAdminRequest instance using the specified properties.
2597
+ * @param [properties] Properties to set
2598
+ * @returns FindAdminRequest instance
2599
+ */
2600
+ public static create(properties?: b2b.IFindAdminRequest): b2b.FindAdminRequest;
2601
+
2602
+ /**
2603
+ * Encodes the specified FindAdminRequest message. Does not implicitly {@link b2b.FindAdminRequest.verify|verify} messages.
2604
+ * @param message FindAdminRequest message or plain object to encode
2605
+ * @param [writer] Writer to encode to
2606
+ * @returns Writer
2607
+ */
2608
+ public static encode(message: b2b.IFindAdminRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2609
+
2610
+ /**
2611
+ * Encodes the specified FindAdminRequest message, length delimited. Does not implicitly {@link b2b.FindAdminRequest.verify|verify} messages.
2612
+ * @param message FindAdminRequest message or plain object to encode
2613
+ * @param [writer] Writer to encode to
2614
+ * @returns Writer
2615
+ */
2616
+ public static encodeDelimited(message: b2b.IFindAdminRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2617
+
2618
+ /**
2619
+ * Decodes a FindAdminRequest message from the specified reader or buffer.
2620
+ * @param reader Reader or buffer to decode from
2621
+ * @param [length] Message length if known beforehand
2622
+ * @returns FindAdminRequest
2623
+ * @throws {Error} If the payload is not a reader or valid buffer
2624
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2625
+ */
2626
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.FindAdminRequest;
2627
+
2628
+ /**
2629
+ * Decodes a FindAdminRequest message from the specified reader or buffer, length delimited.
2630
+ * @param reader Reader or buffer to decode from
2631
+ * @returns FindAdminRequest
2632
+ * @throws {Error} If the payload is not a reader or valid buffer
2633
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2634
+ */
2635
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.FindAdminRequest;
2636
+
2637
+ /**
2638
+ * Verifies a FindAdminRequest message.
2639
+ * @param message Plain object to verify
2640
+ * @returns `null` if valid, otherwise the reason why it is not
2641
+ */
2642
+ public static verify(message: { [k: string]: any }): (string|null);
2643
+
2644
+ /**
2645
+ * Creates a FindAdminRequest message from a plain object. Also converts values to their respective internal types.
2646
+ * @param object Plain object
2647
+ * @returns FindAdminRequest
2648
+ */
2649
+ public static fromObject(object: { [k: string]: any }): b2b.FindAdminRequest;
2650
+
2651
+ /**
2652
+ * Creates a plain object from a FindAdminRequest message. Also converts values to other types if specified.
2653
+ * @param message FindAdminRequest
2654
+ * @param [options] Conversion options
2655
+ * @returns Plain object
2656
+ */
2657
+ public static toObject(message: b2b.FindAdminRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2658
+
2659
+ /**
2660
+ * Converts this FindAdminRequest to JSON.
2661
+ * @returns JSON object
2662
+ */
2663
+ public toJSON(): { [k: string]: any };
2664
+ }
2665
+
2666
+ /** Properties of a FindAdminByEmailRequest. */
2667
+ interface IFindAdminByEmailRequest {
2668
+
2669
+ /** FindAdminByEmailRequest email */
2670
+ email?: (string|null);
2671
+ }
2672
+
2673
+ /** Represents a FindAdminByEmailRequest. */
2674
+ class FindAdminByEmailRequest implements IFindAdminByEmailRequest {
2675
+
2676
+ /**
2677
+ * Constructs a new FindAdminByEmailRequest.
2678
+ * @param [properties] Properties to set
2679
+ */
2680
+ constructor(properties?: b2b.IFindAdminByEmailRequest);
2681
+
2682
+ /** FindAdminByEmailRequest email. */
2683
+ public email: string;
2684
+
2685
+ /**
2686
+ * Creates a new FindAdminByEmailRequest instance using the specified properties.
2687
+ * @param [properties] Properties to set
2688
+ * @returns FindAdminByEmailRequest instance
2689
+ */
2690
+ public static create(properties?: b2b.IFindAdminByEmailRequest): b2b.FindAdminByEmailRequest;
2691
+
2692
+ /**
2693
+ * Encodes the specified FindAdminByEmailRequest message. Does not implicitly {@link b2b.FindAdminByEmailRequest.verify|verify} messages.
2694
+ * @param message FindAdminByEmailRequest message or plain object to encode
2695
+ * @param [writer] Writer to encode to
2696
+ * @returns Writer
2697
+ */
2698
+ public static encode(message: b2b.IFindAdminByEmailRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2699
+
2700
+ /**
2701
+ * Encodes the specified FindAdminByEmailRequest message, length delimited. Does not implicitly {@link b2b.FindAdminByEmailRequest.verify|verify} messages.
2702
+ * @param message FindAdminByEmailRequest message or plain object to encode
2703
+ * @param [writer] Writer to encode to
2704
+ * @returns Writer
2705
+ */
2706
+ public static encodeDelimited(message: b2b.IFindAdminByEmailRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2707
+
2708
+ /**
2709
+ * Decodes a FindAdminByEmailRequest message from the specified reader or buffer.
2710
+ * @param reader Reader or buffer to decode from
2711
+ * @param [length] Message length if known beforehand
2712
+ * @returns FindAdminByEmailRequest
2713
+ * @throws {Error} If the payload is not a reader or valid buffer
2714
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2715
+ */
2716
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.FindAdminByEmailRequest;
2717
+
2718
+ /**
2719
+ * Decodes a FindAdminByEmailRequest message from the specified reader or buffer, length delimited.
2720
+ * @param reader Reader or buffer to decode from
2721
+ * @returns FindAdminByEmailRequest
2722
+ * @throws {Error} If the payload is not a reader or valid buffer
2723
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2724
+ */
2725
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.FindAdminByEmailRequest;
2726
+
2727
+ /**
2728
+ * Verifies a FindAdminByEmailRequest message.
2729
+ * @param message Plain object to verify
2730
+ * @returns `null` if valid, otherwise the reason why it is not
2731
+ */
2732
+ public static verify(message: { [k: string]: any }): (string|null);
2733
+
2734
+ /**
2735
+ * Creates a FindAdminByEmailRequest message from a plain object. Also converts values to their respective internal types.
2736
+ * @param object Plain object
2737
+ * @returns FindAdminByEmailRequest
2738
+ */
2739
+ public static fromObject(object: { [k: string]: any }): b2b.FindAdminByEmailRequest;
2740
+
2741
+ /**
2742
+ * Creates a plain object from a FindAdminByEmailRequest message. Also converts values to other types if specified.
2743
+ * @param message FindAdminByEmailRequest
2744
+ * @param [options] Conversion options
2745
+ * @returns Plain object
2746
+ */
2747
+ public static toObject(message: b2b.FindAdminByEmailRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2748
+
2749
+ /**
2750
+ * Converts this FindAdminByEmailRequest to JSON.
2751
+ * @returns JSON object
2752
+ */
2753
+ public toJSON(): { [k: string]: any };
2754
+ }
2755
+
2756
+ /** Properties of an UpdateAdminByIdRequest. */
2757
+ interface IUpdateAdminByIdRequest {
2758
+
2759
+ /** UpdateAdminByIdRequest id */
2760
+ id?: (number|null);
2761
+
2762
+ /** UpdateAdminByIdRequest admin */
2763
+ admin?: (b2b.IUpdateAdminAttributes|null);
2764
+ }
2765
+
2766
+ /** Represents an UpdateAdminByIdRequest. */
2767
+ class UpdateAdminByIdRequest implements IUpdateAdminByIdRequest {
2768
+
2769
+ /**
2770
+ * Constructs a new UpdateAdminByIdRequest.
2771
+ * @param [properties] Properties to set
2772
+ */
2773
+ constructor(properties?: b2b.IUpdateAdminByIdRequest);
2774
+
2775
+ /** UpdateAdminByIdRequest id. */
2776
+ public id: number;
2777
+
2778
+ /** UpdateAdminByIdRequest admin. */
2779
+ public admin?: (b2b.IUpdateAdminAttributes|null);
2780
+
2781
+ /**
2782
+ * Creates a new UpdateAdminByIdRequest instance using the specified properties.
2783
+ * @param [properties] Properties to set
2784
+ * @returns UpdateAdminByIdRequest instance
2785
+ */
2786
+ public static create(properties?: b2b.IUpdateAdminByIdRequest): b2b.UpdateAdminByIdRequest;
2787
+
2788
+ /**
2789
+ * Encodes the specified UpdateAdminByIdRequest message. Does not implicitly {@link b2b.UpdateAdminByIdRequest.verify|verify} messages.
2790
+ * @param message UpdateAdminByIdRequest message or plain object to encode
2791
+ * @param [writer] Writer to encode to
2792
+ * @returns Writer
2793
+ */
2794
+ public static encode(message: b2b.IUpdateAdminByIdRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2795
+
2796
+ /**
2797
+ * Encodes the specified UpdateAdminByIdRequest message, length delimited. Does not implicitly {@link b2b.UpdateAdminByIdRequest.verify|verify} messages.
2798
+ * @param message UpdateAdminByIdRequest message or plain object to encode
2799
+ * @param [writer] Writer to encode to
2800
+ * @returns Writer
2801
+ */
2802
+ public static encodeDelimited(message: b2b.IUpdateAdminByIdRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2803
+
2804
+ /**
2805
+ * Decodes an UpdateAdminByIdRequest message from the specified reader or buffer.
2806
+ * @param reader Reader or buffer to decode from
2807
+ * @param [length] Message length if known beforehand
2808
+ * @returns UpdateAdminByIdRequest
2809
+ * @throws {Error} If the payload is not a reader or valid buffer
2810
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2811
+ */
2812
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.UpdateAdminByIdRequest;
2813
+
2814
+ /**
2815
+ * Decodes an UpdateAdminByIdRequest message from the specified reader or buffer, length delimited.
2816
+ * @param reader Reader or buffer to decode from
2817
+ * @returns UpdateAdminByIdRequest
2818
+ * @throws {Error} If the payload is not a reader or valid buffer
2819
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2820
+ */
2821
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.UpdateAdminByIdRequest;
2822
+
2823
+ /**
2824
+ * Verifies an UpdateAdminByIdRequest message.
2825
+ * @param message Plain object to verify
2826
+ * @returns `null` if valid, otherwise the reason why it is not
2827
+ */
2828
+ public static verify(message: { [k: string]: any }): (string|null);
2829
+
2830
+ /**
2831
+ * Creates an UpdateAdminByIdRequest message from a plain object. Also converts values to their respective internal types.
2832
+ * @param object Plain object
2833
+ * @returns UpdateAdminByIdRequest
2834
+ */
2835
+ public static fromObject(object: { [k: string]: any }): b2b.UpdateAdminByIdRequest;
2836
+
2837
+ /**
2838
+ * Creates a plain object from an UpdateAdminByIdRequest message. Also converts values to other types if specified.
2839
+ * @param message UpdateAdminByIdRequest
2840
+ * @param [options] Conversion options
2841
+ * @returns Plain object
2842
+ */
2843
+ public static toObject(message: b2b.UpdateAdminByIdRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2844
+
2845
+ /**
2846
+ * Converts this UpdateAdminByIdRequest to JSON.
2847
+ * @returns JSON object
2848
+ */
2849
+ public toJSON(): { [k: string]: any };
2850
+ }
2851
+
2852
+ /** Properties of an AdminResponse. */
2853
+ interface IAdminResponse {
2854
+
2855
+ /** AdminResponse admin */
2856
+ admin?: (b2b.IAdmin|null);
2857
+ }
2858
+
2859
+ /** Represents an AdminResponse. */
2860
+ class AdminResponse implements IAdminResponse {
2861
+
2862
+ /**
2863
+ * Constructs a new AdminResponse.
2864
+ * @param [properties] Properties to set
2865
+ */
2866
+ constructor(properties?: b2b.IAdminResponse);
2867
+
2868
+ /** AdminResponse admin. */
2869
+ public admin?: (b2b.IAdmin|null);
2870
+
2871
+ /**
2872
+ * Creates a new AdminResponse instance using the specified properties.
2873
+ * @param [properties] Properties to set
2874
+ * @returns AdminResponse instance
2875
+ */
2876
+ public static create(properties?: b2b.IAdminResponse): b2b.AdminResponse;
2877
+
2878
+ /**
2879
+ * Encodes the specified AdminResponse message. Does not implicitly {@link b2b.AdminResponse.verify|verify} messages.
2880
+ * @param message AdminResponse message or plain object to encode
2881
+ * @param [writer] Writer to encode to
2882
+ * @returns Writer
2883
+ */
2884
+ public static encode(message: b2b.IAdminResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2885
+
2886
+ /**
2887
+ * Encodes the specified AdminResponse message, length delimited. Does not implicitly {@link b2b.AdminResponse.verify|verify} messages.
2888
+ * @param message AdminResponse message or plain object to encode
2889
+ * @param [writer] Writer to encode to
2890
+ * @returns Writer
2891
+ */
2892
+ public static encodeDelimited(message: b2b.IAdminResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2893
+
2894
+ /**
2895
+ * Decodes an AdminResponse message from the specified reader or buffer.
2896
+ * @param reader Reader or buffer to decode from
2897
+ * @param [length] Message length if known beforehand
2898
+ * @returns AdminResponse
2899
+ * @throws {Error} If the payload is not a reader or valid buffer
2900
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2901
+ */
2902
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.AdminResponse;
2903
+
2904
+ /**
2905
+ * Decodes an AdminResponse message from the specified reader or buffer, length delimited.
2906
+ * @param reader Reader or buffer to decode from
2907
+ * @returns AdminResponse
2908
+ * @throws {Error} If the payload is not a reader or valid buffer
2909
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2910
+ */
2911
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.AdminResponse;
2912
+
2913
+ /**
2914
+ * Verifies an AdminResponse message.
2915
+ * @param message Plain object to verify
2916
+ * @returns `null` if valid, otherwise the reason why it is not
2917
+ */
2918
+ public static verify(message: { [k: string]: any }): (string|null);
2919
+
2920
+ /**
2921
+ * Creates an AdminResponse message from a plain object. Also converts values to their respective internal types.
2922
+ * @param object Plain object
2923
+ * @returns AdminResponse
2924
+ */
2925
+ public static fromObject(object: { [k: string]: any }): b2b.AdminResponse;
2926
+
2927
+ /**
2928
+ * Creates a plain object from an AdminResponse message. Also converts values to other types if specified.
2929
+ * @param message AdminResponse
2930
+ * @param [options] Conversion options
2931
+ * @returns Plain object
2932
+ */
2933
+ public static toObject(message: b2b.AdminResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
2934
+
2935
+ /**
2936
+ * Converts this AdminResponse to JSON.
2937
+ * @returns JSON object
2938
+ */
2939
+ public toJSON(): { [k: string]: any };
2940
+ }
2941
+
2942
+ /** Properties of an Admin. */
2943
+ interface IAdmin {
2944
+
2945
+ /** Admin id */
2946
+ id?: (number|null);
2947
+
2948
+ /** Admin orgId */
2949
+ orgId?: (number|null);
2950
+
2951
+ /** Admin role */
2952
+ role?: (string|null);
2953
+
2954
+ /** Admin name */
2955
+ name?: (string|null);
2956
+
2957
+ /** Admin title */
2958
+ title?: (string|null);
2959
+
2960
+ /** Admin email */
2961
+ email?: (string|null);
2962
+
2963
+ /** Admin externalId */
2964
+ externalId?: (string|null);
2965
+ }
2966
+
2967
+ /** Represents an Admin. */
2968
+ class Admin implements IAdmin {
2969
+
2970
+ /**
2971
+ * Constructs a new Admin.
2972
+ * @param [properties] Properties to set
2973
+ */
2974
+ constructor(properties?: b2b.IAdmin);
2975
+
2976
+ /** Admin id. */
2977
+ public id: number;
2978
+
2979
+ /** Admin orgId. */
2980
+ public orgId: number;
2981
+
2982
+ /** Admin role. */
2983
+ public role: string;
2984
+
2985
+ /** Admin name. */
2986
+ public name: string;
2987
+
2988
+ /** Admin title. */
2989
+ public title: string;
2990
+
2991
+ /** Admin email. */
2992
+ public email: string;
2993
+
2994
+ /** Admin externalId. */
2995
+ public externalId: string;
2996
+
2997
+ /**
2998
+ * Creates a new Admin instance using the specified properties.
2999
+ * @param [properties] Properties to set
3000
+ * @returns Admin instance
3001
+ */
3002
+ public static create(properties?: b2b.IAdmin): b2b.Admin;
3003
+
3004
+ /**
3005
+ * Encodes the specified Admin message. Does not implicitly {@link b2b.Admin.verify|verify} messages.
3006
+ * @param message Admin message or plain object to encode
3007
+ * @param [writer] Writer to encode to
3008
+ * @returns Writer
3009
+ */
3010
+ public static encode(message: b2b.IAdmin, writer?: $protobuf.Writer): $protobuf.Writer;
3011
+
3012
+ /**
3013
+ * Encodes the specified Admin message, length delimited. Does not implicitly {@link b2b.Admin.verify|verify} messages.
3014
+ * @param message Admin message or plain object to encode
3015
+ * @param [writer] Writer to encode to
3016
+ * @returns Writer
3017
+ */
3018
+ public static encodeDelimited(message: b2b.IAdmin, writer?: $protobuf.Writer): $protobuf.Writer;
3019
+
3020
+ /**
3021
+ * Decodes an Admin message from the specified reader or buffer.
3022
+ * @param reader Reader or buffer to decode from
3023
+ * @param [length] Message length if known beforehand
3024
+ * @returns Admin
3025
+ * @throws {Error} If the payload is not a reader or valid buffer
3026
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3027
+ */
3028
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.Admin;
3029
+
3030
+ /**
3031
+ * Decodes an Admin message from the specified reader or buffer, length delimited.
3032
+ * @param reader Reader or buffer to decode from
3033
+ * @returns Admin
3034
+ * @throws {Error} If the payload is not a reader or valid buffer
3035
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3036
+ */
3037
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.Admin;
3038
+
3039
+ /**
3040
+ * Verifies an Admin message.
3041
+ * @param message Plain object to verify
3042
+ * @returns `null` if valid, otherwise the reason why it is not
3043
+ */
3044
+ public static verify(message: { [k: string]: any }): (string|null);
3045
+
3046
+ /**
3047
+ * Creates an Admin message from a plain object. Also converts values to their respective internal types.
3048
+ * @param object Plain object
3049
+ * @returns Admin
3050
+ */
3051
+ public static fromObject(object: { [k: string]: any }): b2b.Admin;
3052
+
3053
+ /**
3054
+ * Creates a plain object from an Admin message. Also converts values to other types if specified.
3055
+ * @param message Admin
3056
+ * @param [options] Conversion options
3057
+ * @returns Plain object
3058
+ */
3059
+ public static toObject(message: b2b.Admin, options?: $protobuf.IConversionOptions): { [k: string]: any };
3060
+
3061
+ /**
3062
+ * Converts this Admin to JSON.
3063
+ * @returns JSON object
3064
+ */
3065
+ public toJSON(): { [k: string]: any };
3066
+ }
3067
+
3068
+ /** Properties of an UpdateAdminAttributes. */
3069
+ interface IUpdateAdminAttributes {
3070
+
3071
+ /** UpdateAdminAttributes name */
3072
+ name?: (string|null);
3073
+
3074
+ /** UpdateAdminAttributes title */
3075
+ title?: (string|null);
3076
+
3077
+ /** UpdateAdminAttributes email */
3078
+ email?: (string|null);
3079
+
3080
+ /** UpdateAdminAttributes externalId */
3081
+ externalId?: (string|null);
3082
+ }
3083
+
3084
+ /** Represents an UpdateAdminAttributes. */
3085
+ class UpdateAdminAttributes implements IUpdateAdminAttributes {
3086
+
3087
+ /**
3088
+ * Constructs a new UpdateAdminAttributes.
3089
+ * @param [properties] Properties to set
3090
+ */
3091
+ constructor(properties?: b2b.IUpdateAdminAttributes);
3092
+
3093
+ /** UpdateAdminAttributes name. */
3094
+ public name: string;
3095
+
3096
+ /** UpdateAdminAttributes title. */
3097
+ public title: string;
3098
+
3099
+ /** UpdateAdminAttributes email. */
3100
+ public email: string;
3101
+
3102
+ /** UpdateAdminAttributes externalId. */
3103
+ public externalId: string;
3104
+
3105
+ /**
3106
+ * Creates a new UpdateAdminAttributes instance using the specified properties.
3107
+ * @param [properties] Properties to set
3108
+ * @returns UpdateAdminAttributes instance
3109
+ */
3110
+ public static create(properties?: b2b.IUpdateAdminAttributes): b2b.UpdateAdminAttributes;
3111
+
3112
+ /**
3113
+ * Encodes the specified UpdateAdminAttributes message. Does not implicitly {@link b2b.UpdateAdminAttributes.verify|verify} messages.
3114
+ * @param message UpdateAdminAttributes message or plain object to encode
3115
+ * @param [writer] Writer to encode to
3116
+ * @returns Writer
3117
+ */
3118
+ public static encode(message: b2b.IUpdateAdminAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
3119
+
3120
+ /**
3121
+ * Encodes the specified UpdateAdminAttributes message, length delimited. Does not implicitly {@link b2b.UpdateAdminAttributes.verify|verify} messages.
3122
+ * @param message UpdateAdminAttributes message or plain object to encode
3123
+ * @param [writer] Writer to encode to
3124
+ * @returns Writer
3125
+ */
3126
+ public static encodeDelimited(message: b2b.IUpdateAdminAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
3127
+
3128
+ /**
3129
+ * Decodes an UpdateAdminAttributes message from the specified reader or buffer.
3130
+ * @param reader Reader or buffer to decode from
3131
+ * @param [length] Message length if known beforehand
3132
+ * @returns UpdateAdminAttributes
3133
+ * @throws {Error} If the payload is not a reader or valid buffer
3134
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3135
+ */
3136
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): b2b.UpdateAdminAttributes;
3137
+
3138
+ /**
3139
+ * Decodes an UpdateAdminAttributes message from the specified reader or buffer, length delimited.
3140
+ * @param reader Reader or buffer to decode from
3141
+ * @returns UpdateAdminAttributes
3142
+ * @throws {Error} If the payload is not a reader or valid buffer
3143
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3144
+ */
3145
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): b2b.UpdateAdminAttributes;
3146
+
3147
+ /**
3148
+ * Verifies an UpdateAdminAttributes message.
3149
+ * @param message Plain object to verify
3150
+ * @returns `null` if valid, otherwise the reason why it is not
3151
+ */
3152
+ public static verify(message: { [k: string]: any }): (string|null);
3153
+
3154
+ /**
3155
+ * Creates an UpdateAdminAttributes message from a plain object. Also converts values to their respective internal types.
3156
+ * @param object Plain object
3157
+ * @returns UpdateAdminAttributes
3158
+ */
3159
+ public static fromObject(object: { [k: string]: any }): b2b.UpdateAdminAttributes;
3160
+
3161
+ /**
3162
+ * Creates a plain object from an UpdateAdminAttributes message. Also converts values to other types if specified.
3163
+ * @param message UpdateAdminAttributes
3164
+ * @param [options] Conversion options
3165
+ * @returns Plain object
3166
+ */
3167
+ public static toObject(message: b2b.UpdateAdminAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
3168
+
3169
+ /**
3170
+ * Converts this UpdateAdminAttributes to JSON.
3171
+ * @returns JSON object
3172
+ */
3173
+ public toJSON(): { [k: string]: any };
3174
+ }
3175
+
3176
+ /** OrgType enum. */
3177
+ enum OrgType {
3178
+ ORG_TYPE_UNKNOWN = 0,
3179
+ ORG_TYPE_B2B = 1,
3180
+ ORG_TYPE_HEALTH = 2
3181
+ }
3182
+
3183
+ /** OrgMemberRemovalReason enum. */
3184
+ enum OrgMemberRemovalReason {
3185
+ REMOVAL_REASON_UNKNOWN = 0,
3186
+ REMOVAL_REASON_GRACEFUL_EXIT = 1,
3187
+ REMOVAL_REASON_MANUAL = 2
3188
+ }
3189
+ }
3190
+
2033
3191
  /** Namespace elf. */
2034
3192
  export namespace elf {
2035
3193
 
@@ -3221,22 +4379,124 @@ export namespace userdomain {
3221
4379
  HEALTH_USER = 4
3222
4380
  }
3223
4381
 
3224
- /** LoginStatus enum. */
3225
- enum LoginStatus {
3226
- LOGIN_UNKNOWN = 0,
3227
- LOGIN_SUCCESS = 1,
3228
- LOGIN_FAIL = 2
3229
- }
4382
+ /** LoginStatus enum. */
4383
+ enum LoginStatus {
4384
+ LOGIN_UNKNOWN = 0,
4385
+ LOGIN_SUCCESS = 1,
4386
+ LOGIN_FAIL = 2
4387
+ }
4388
+
4389
+ /** ConnectionSource enum. */
4390
+ enum ConnectionSource {
4391
+ CONNSRC_UNKNOWN = 0,
4392
+ CONNSRC_EMAIL = 1,
4393
+ CONNSRC_FACEBOOK = 2,
4394
+ CONNSRC_SPOTIFY = 3,
4395
+ CONNSRC_APPLE = 4
4396
+ }
4397
+ }
4398
+ }
4399
+
4400
+ /** Properties of an Auth0PasswordResetCompleted. */
4401
+ export interface IAuth0PasswordResetCompleted {
4402
+
4403
+ /** Auth0PasswordResetCompleted hsId */
4404
+ hsId?: (string|null);
4405
+
4406
+ /** Auth0PasswordResetCompleted email */
4407
+ email?: (string|null);
4408
+
4409
+ /** Auth0PasswordResetCompleted timestampMillis */
4410
+ timestampMillis?: (number|Long|null);
4411
+ }
4412
+
4413
+ /** Represents an Auth0PasswordResetCompleted. */
4414
+ export class Auth0PasswordResetCompleted implements IAuth0PasswordResetCompleted {
4415
+
4416
+ /**
4417
+ * Constructs a new Auth0PasswordResetCompleted.
4418
+ * @param [properties] Properties to set
4419
+ */
4420
+ constructor(properties?: IAuth0PasswordResetCompleted);
4421
+
4422
+ /** Auth0PasswordResetCompleted hsId. */
4423
+ public hsId: string;
4424
+
4425
+ /** Auth0PasswordResetCompleted email. */
4426
+ public email: string;
4427
+
4428
+ /** Auth0PasswordResetCompleted timestampMillis. */
4429
+ public timestampMillis: (number|Long);
4430
+
4431
+ /**
4432
+ * Creates a new Auth0PasswordResetCompleted instance using the specified properties.
4433
+ * @param [properties] Properties to set
4434
+ * @returns Auth0PasswordResetCompleted instance
4435
+ */
4436
+ public static create(properties?: IAuth0PasswordResetCompleted): Auth0PasswordResetCompleted;
4437
+
4438
+ /**
4439
+ * Encodes the specified Auth0PasswordResetCompleted message. Does not implicitly {@link Auth0PasswordResetCompleted.verify|verify} messages.
4440
+ * @param message Auth0PasswordResetCompleted message or plain object to encode
4441
+ * @param [writer] Writer to encode to
4442
+ * @returns Writer
4443
+ */
4444
+ public static encode(message: IAuth0PasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
4445
+
4446
+ /**
4447
+ * Encodes the specified Auth0PasswordResetCompleted message, length delimited. Does not implicitly {@link Auth0PasswordResetCompleted.verify|verify} messages.
4448
+ * @param message Auth0PasswordResetCompleted message or plain object to encode
4449
+ * @param [writer] Writer to encode to
4450
+ * @returns Writer
4451
+ */
4452
+ public static encodeDelimited(message: IAuth0PasswordResetCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
4453
+
4454
+ /**
4455
+ * Decodes an Auth0PasswordResetCompleted message from the specified reader or buffer.
4456
+ * @param reader Reader or buffer to decode from
4457
+ * @param [length] Message length if known beforehand
4458
+ * @returns Auth0PasswordResetCompleted
4459
+ * @throws {Error} If the payload is not a reader or valid buffer
4460
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4461
+ */
4462
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Auth0PasswordResetCompleted;
4463
+
4464
+ /**
4465
+ * Decodes an Auth0PasswordResetCompleted message from the specified reader or buffer, length delimited.
4466
+ * @param reader Reader or buffer to decode from
4467
+ * @returns Auth0PasswordResetCompleted
4468
+ * @throws {Error} If the payload is not a reader or valid buffer
4469
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4470
+ */
4471
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Auth0PasswordResetCompleted;
4472
+
4473
+ /**
4474
+ * Verifies an Auth0PasswordResetCompleted message.
4475
+ * @param message Plain object to verify
4476
+ * @returns `null` if valid, otherwise the reason why it is not
4477
+ */
4478
+ public static verify(message: { [k: string]: any }): (string|null);
4479
+
4480
+ /**
4481
+ * Creates an Auth0PasswordResetCompleted message from a plain object. Also converts values to their respective internal types.
4482
+ * @param object Plain object
4483
+ * @returns Auth0PasswordResetCompleted
4484
+ */
4485
+ public static fromObject(object: { [k: string]: any }): Auth0PasswordResetCompleted;
4486
+
4487
+ /**
4488
+ * Creates a plain object from an Auth0PasswordResetCompleted message. Also converts values to other types if specified.
4489
+ * @param message Auth0PasswordResetCompleted
4490
+ * @param [options] Conversion options
4491
+ * @returns Plain object
4492
+ */
4493
+ public static toObject(message: Auth0PasswordResetCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
3230
4494
 
3231
- /** ConnectionSource enum. */
3232
- enum ConnectionSource {
3233
- CONNSRC_UNKNOWN = 0,
3234
- CONNSRC_EMAIL = 1,
3235
- CONNSRC_FACEBOOK = 2,
3236
- CONNSRC_SPOTIFY = 3,
3237
- CONNSRC_APPLE = 4
3238
- }
3239
- }
4495
+ /**
4496
+ * Converts this Auth0PasswordResetCompleted to JSON.
4497
+ * @returns JSON object
4498
+ */
4499
+ public toJSON(): { [k: string]: any };
3240
4500
  }
3241
4501
 
3242
4502
  /** Properties of a ContentfulAssetCreated. */
@@ -12513,6 +13773,390 @@ export class ElfImportJobFailed implements IElfImportJobFailed {
12513
13773
  public toJSON(): { [k: string]: any };
12514
13774
  }
12515
13775
 
13776
+ /** Properties of an EnterpriseUserEnrollmentCreated. */
13777
+ export interface IEnterpriseUserEnrollmentCreated {
13778
+
13779
+ /** EnterpriseUserEnrollmentCreated userId */
13780
+ userId?: (string|null);
13781
+
13782
+ /** EnterpriseUserEnrollmentCreated orgId */
13783
+ orgId?: (number|null);
13784
+
13785
+ /** EnterpriseUserEnrollmentCreated orgSubscriptionId */
13786
+ orgSubscriptionId?: (number|null);
13787
+
13788
+ /** EnterpriseUserEnrollmentCreated orgType */
13789
+ orgType?: (b2b.OrgType|null);
13790
+
13791
+ /** EnterpriseUserEnrollmentCreated startsAt */
13792
+ startsAt?: (number|Long|null);
13793
+
13794
+ /** EnterpriseUserEnrollmentCreated endsAt */
13795
+ endsAt?: (number|Long|null);
13796
+
13797
+ /** EnterpriseUserEnrollmentCreated timestamp */
13798
+ timestamp?: (number|Long|null);
13799
+ }
13800
+
13801
+ /** Represents an EnterpriseUserEnrollmentCreated. */
13802
+ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmentCreated {
13803
+
13804
+ /**
13805
+ * Constructs a new EnterpriseUserEnrollmentCreated.
13806
+ * @param [properties] Properties to set
13807
+ */
13808
+ constructor(properties?: IEnterpriseUserEnrollmentCreated);
13809
+
13810
+ /** EnterpriseUserEnrollmentCreated userId. */
13811
+ public userId: string;
13812
+
13813
+ /** EnterpriseUserEnrollmentCreated orgId. */
13814
+ public orgId: number;
13815
+
13816
+ /** EnterpriseUserEnrollmentCreated orgSubscriptionId. */
13817
+ public orgSubscriptionId: number;
13818
+
13819
+ /** EnterpriseUserEnrollmentCreated orgType. */
13820
+ public orgType: b2b.OrgType;
13821
+
13822
+ /** EnterpriseUserEnrollmentCreated startsAt. */
13823
+ public startsAt: (number|Long);
13824
+
13825
+ /** EnterpriseUserEnrollmentCreated endsAt. */
13826
+ public endsAt: (number|Long);
13827
+
13828
+ /** EnterpriseUserEnrollmentCreated timestamp. */
13829
+ public timestamp: (number|Long);
13830
+
13831
+ /**
13832
+ * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
13833
+ * @param [properties] Properties to set
13834
+ * @returns EnterpriseUserEnrollmentCreated instance
13835
+ */
13836
+ public static create(properties?: IEnterpriseUserEnrollmentCreated): EnterpriseUserEnrollmentCreated;
13837
+
13838
+ /**
13839
+ * Encodes the specified EnterpriseUserEnrollmentCreated message. Does not implicitly {@link EnterpriseUserEnrollmentCreated.verify|verify} messages.
13840
+ * @param message EnterpriseUserEnrollmentCreated message or plain object to encode
13841
+ * @param [writer] Writer to encode to
13842
+ * @returns Writer
13843
+ */
13844
+ public static encode(message: IEnterpriseUserEnrollmentCreated, writer?: $protobuf.Writer): $protobuf.Writer;
13845
+
13846
+ /**
13847
+ * Encodes the specified EnterpriseUserEnrollmentCreated message, length delimited. Does not implicitly {@link EnterpriseUserEnrollmentCreated.verify|verify} messages.
13848
+ * @param message EnterpriseUserEnrollmentCreated message or plain object to encode
13849
+ * @param [writer] Writer to encode to
13850
+ * @returns Writer
13851
+ */
13852
+ public static encodeDelimited(message: IEnterpriseUserEnrollmentCreated, writer?: $protobuf.Writer): $protobuf.Writer;
13853
+
13854
+ /**
13855
+ * Decodes an EnterpriseUserEnrollmentCreated message from the specified reader or buffer.
13856
+ * @param reader Reader or buffer to decode from
13857
+ * @param [length] Message length if known beforehand
13858
+ * @returns EnterpriseUserEnrollmentCreated
13859
+ * @throws {Error} If the payload is not a reader or valid buffer
13860
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13861
+ */
13862
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EnterpriseUserEnrollmentCreated;
13863
+
13864
+ /**
13865
+ * Decodes an EnterpriseUserEnrollmentCreated message from the specified reader or buffer, length delimited.
13866
+ * @param reader Reader or buffer to decode from
13867
+ * @returns EnterpriseUserEnrollmentCreated
13868
+ * @throws {Error} If the payload is not a reader or valid buffer
13869
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13870
+ */
13871
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EnterpriseUserEnrollmentCreated;
13872
+
13873
+ /**
13874
+ * Verifies an EnterpriseUserEnrollmentCreated message.
13875
+ * @param message Plain object to verify
13876
+ * @returns `null` if valid, otherwise the reason why it is not
13877
+ */
13878
+ public static verify(message: { [k: string]: any }): (string|null);
13879
+
13880
+ /**
13881
+ * Creates an EnterpriseUserEnrollmentCreated message from a plain object. Also converts values to their respective internal types.
13882
+ * @param object Plain object
13883
+ * @returns EnterpriseUserEnrollmentCreated
13884
+ */
13885
+ public static fromObject(object: { [k: string]: any }): EnterpriseUserEnrollmentCreated;
13886
+
13887
+ /**
13888
+ * Creates a plain object from an EnterpriseUserEnrollmentCreated message. Also converts values to other types if specified.
13889
+ * @param message EnterpriseUserEnrollmentCreated
13890
+ * @param [options] Conversion options
13891
+ * @returns Plain object
13892
+ */
13893
+ public static toObject(message: EnterpriseUserEnrollmentCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
13894
+
13895
+ /**
13896
+ * Converts this EnterpriseUserEnrollmentCreated to JSON.
13897
+ * @returns JSON object
13898
+ */
13899
+ public toJSON(): { [k: string]: any };
13900
+ }
13901
+
13902
+ /** Properties of an EnterpriseUserEnrollmentRemoved. */
13903
+ export interface IEnterpriseUserEnrollmentRemoved {
13904
+
13905
+ /** EnterpriseUserEnrollmentRemoved userId */
13906
+ userId?: (string|null);
13907
+
13908
+ /** EnterpriseUserEnrollmentRemoved orgId */
13909
+ orgId?: (number|null);
13910
+
13911
+ /** EnterpriseUserEnrollmentRemoved orgSubscriptionId */
13912
+ orgSubscriptionId?: (number|null);
13913
+
13914
+ /** EnterpriseUserEnrollmentRemoved orgType */
13915
+ orgType?: (b2b.OrgType|null);
13916
+
13917
+ /** EnterpriseUserEnrollmentRemoved startsAt */
13918
+ startsAt?: (number|Long|null);
13919
+
13920
+ /** EnterpriseUserEnrollmentRemoved endsAt */
13921
+ endsAt?: (number|Long|null);
13922
+
13923
+ /** EnterpriseUserEnrollmentRemoved reason */
13924
+ reason?: (b2b.OrgMemberRemovalReason|null);
13925
+
13926
+ /** EnterpriseUserEnrollmentRemoved timestamp */
13927
+ timestamp?: (number|Long|null);
13928
+ }
13929
+
13930
+ /** Represents an EnterpriseUserEnrollmentRemoved. */
13931
+ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmentRemoved {
13932
+
13933
+ /**
13934
+ * Constructs a new EnterpriseUserEnrollmentRemoved.
13935
+ * @param [properties] Properties to set
13936
+ */
13937
+ constructor(properties?: IEnterpriseUserEnrollmentRemoved);
13938
+
13939
+ /** EnterpriseUserEnrollmentRemoved userId. */
13940
+ public userId: string;
13941
+
13942
+ /** EnterpriseUserEnrollmentRemoved orgId. */
13943
+ public orgId: number;
13944
+
13945
+ /** EnterpriseUserEnrollmentRemoved orgSubscriptionId. */
13946
+ public orgSubscriptionId: number;
13947
+
13948
+ /** EnterpriseUserEnrollmentRemoved orgType. */
13949
+ public orgType: b2b.OrgType;
13950
+
13951
+ /** EnterpriseUserEnrollmentRemoved startsAt. */
13952
+ public startsAt: (number|Long);
13953
+
13954
+ /** EnterpriseUserEnrollmentRemoved endsAt. */
13955
+ public endsAt: (number|Long);
13956
+
13957
+ /** EnterpriseUserEnrollmentRemoved reason. */
13958
+ public reason: b2b.OrgMemberRemovalReason;
13959
+
13960
+ /** EnterpriseUserEnrollmentRemoved timestamp. */
13961
+ public timestamp: (number|Long);
13962
+
13963
+ /**
13964
+ * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
13965
+ * @param [properties] Properties to set
13966
+ * @returns EnterpriseUserEnrollmentRemoved instance
13967
+ */
13968
+ public static create(properties?: IEnterpriseUserEnrollmentRemoved): EnterpriseUserEnrollmentRemoved;
13969
+
13970
+ /**
13971
+ * Encodes the specified EnterpriseUserEnrollmentRemoved message. Does not implicitly {@link EnterpriseUserEnrollmentRemoved.verify|verify} messages.
13972
+ * @param message EnterpriseUserEnrollmentRemoved message or plain object to encode
13973
+ * @param [writer] Writer to encode to
13974
+ * @returns Writer
13975
+ */
13976
+ public static encode(message: IEnterpriseUserEnrollmentRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
13977
+
13978
+ /**
13979
+ * Encodes the specified EnterpriseUserEnrollmentRemoved message, length delimited. Does not implicitly {@link EnterpriseUserEnrollmentRemoved.verify|verify} messages.
13980
+ * @param message EnterpriseUserEnrollmentRemoved message or plain object to encode
13981
+ * @param [writer] Writer to encode to
13982
+ * @returns Writer
13983
+ */
13984
+ public static encodeDelimited(message: IEnterpriseUserEnrollmentRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
13985
+
13986
+ /**
13987
+ * Decodes an EnterpriseUserEnrollmentRemoved message from the specified reader or buffer.
13988
+ * @param reader Reader or buffer to decode from
13989
+ * @param [length] Message length if known beforehand
13990
+ * @returns EnterpriseUserEnrollmentRemoved
13991
+ * @throws {Error} If the payload is not a reader or valid buffer
13992
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13993
+ */
13994
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EnterpriseUserEnrollmentRemoved;
13995
+
13996
+ /**
13997
+ * Decodes an EnterpriseUserEnrollmentRemoved message from the specified reader or buffer, length delimited.
13998
+ * @param reader Reader or buffer to decode from
13999
+ * @returns EnterpriseUserEnrollmentRemoved
14000
+ * @throws {Error} If the payload is not a reader or valid buffer
14001
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14002
+ */
14003
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EnterpriseUserEnrollmentRemoved;
14004
+
14005
+ /**
14006
+ * Verifies an EnterpriseUserEnrollmentRemoved message.
14007
+ * @param message Plain object to verify
14008
+ * @returns `null` if valid, otherwise the reason why it is not
14009
+ */
14010
+ public static verify(message: { [k: string]: any }): (string|null);
14011
+
14012
+ /**
14013
+ * Creates an EnterpriseUserEnrollmentRemoved message from a plain object. Also converts values to their respective internal types.
14014
+ * @param object Plain object
14015
+ * @returns EnterpriseUserEnrollmentRemoved
14016
+ */
14017
+ public static fromObject(object: { [k: string]: any }): EnterpriseUserEnrollmentRemoved;
14018
+
14019
+ /**
14020
+ * Creates a plain object from an EnterpriseUserEnrollmentRemoved message. Also converts values to other types if specified.
14021
+ * @param message EnterpriseUserEnrollmentRemoved
14022
+ * @param [options] Conversion options
14023
+ * @returns Plain object
14024
+ */
14025
+ public static toObject(message: EnterpriseUserEnrollmentRemoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
14026
+
14027
+ /**
14028
+ * Converts this EnterpriseUserEnrollmentRemoved to JSON.
14029
+ * @returns JSON object
14030
+ */
14031
+ public toJSON(): { [k: string]: any };
14032
+ }
14033
+
14034
+ /** Properties of an EnterpriseUserEnrollmentAmended. */
14035
+ export interface IEnterpriseUserEnrollmentAmended {
14036
+
14037
+ /** EnterpriseUserEnrollmentAmended userId */
14038
+ userId?: (string|null);
14039
+
14040
+ /** EnterpriseUserEnrollmentAmended orgId */
14041
+ orgId?: (number|null);
14042
+
14043
+ /** EnterpriseUserEnrollmentAmended orgSubscriptionId */
14044
+ orgSubscriptionId?: (number|null);
14045
+
14046
+ /** EnterpriseUserEnrollmentAmended orgType */
14047
+ orgType?: (b2b.OrgType|null);
14048
+
14049
+ /** EnterpriseUserEnrollmentAmended startsAt */
14050
+ startsAt?: (number|Long|null);
14051
+
14052
+ /** EnterpriseUserEnrollmentAmended endsAt */
14053
+ endsAt?: (number|Long|null);
14054
+
14055
+ /** EnterpriseUserEnrollmentAmended timestamp */
14056
+ timestamp?: (number|Long|null);
14057
+ }
14058
+
14059
+ /** Represents an EnterpriseUserEnrollmentAmended. */
14060
+ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmentAmended {
14061
+
14062
+ /**
14063
+ * Constructs a new EnterpriseUserEnrollmentAmended.
14064
+ * @param [properties] Properties to set
14065
+ */
14066
+ constructor(properties?: IEnterpriseUserEnrollmentAmended);
14067
+
14068
+ /** EnterpriseUserEnrollmentAmended userId. */
14069
+ public userId: string;
14070
+
14071
+ /** EnterpriseUserEnrollmentAmended orgId. */
14072
+ public orgId: number;
14073
+
14074
+ /** EnterpriseUserEnrollmentAmended orgSubscriptionId. */
14075
+ public orgSubscriptionId: number;
14076
+
14077
+ /** EnterpriseUserEnrollmentAmended orgType. */
14078
+ public orgType: b2b.OrgType;
14079
+
14080
+ /** EnterpriseUserEnrollmentAmended startsAt. */
14081
+ public startsAt: (number|Long);
14082
+
14083
+ /** EnterpriseUserEnrollmentAmended endsAt. */
14084
+ public endsAt: (number|Long);
14085
+
14086
+ /** EnterpriseUserEnrollmentAmended timestamp. */
14087
+ public timestamp: (number|Long);
14088
+
14089
+ /**
14090
+ * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
14091
+ * @param [properties] Properties to set
14092
+ * @returns EnterpriseUserEnrollmentAmended instance
14093
+ */
14094
+ public static create(properties?: IEnterpriseUserEnrollmentAmended): EnterpriseUserEnrollmentAmended;
14095
+
14096
+ /**
14097
+ * Encodes the specified EnterpriseUserEnrollmentAmended message. Does not implicitly {@link EnterpriseUserEnrollmentAmended.verify|verify} messages.
14098
+ * @param message EnterpriseUserEnrollmentAmended message or plain object to encode
14099
+ * @param [writer] Writer to encode to
14100
+ * @returns Writer
14101
+ */
14102
+ public static encode(message: IEnterpriseUserEnrollmentAmended, writer?: $protobuf.Writer): $protobuf.Writer;
14103
+
14104
+ /**
14105
+ * Encodes the specified EnterpriseUserEnrollmentAmended message, length delimited. Does not implicitly {@link EnterpriseUserEnrollmentAmended.verify|verify} messages.
14106
+ * @param message EnterpriseUserEnrollmentAmended message or plain object to encode
14107
+ * @param [writer] Writer to encode to
14108
+ * @returns Writer
14109
+ */
14110
+ public static encodeDelimited(message: IEnterpriseUserEnrollmentAmended, writer?: $protobuf.Writer): $protobuf.Writer;
14111
+
14112
+ /**
14113
+ * Decodes an EnterpriseUserEnrollmentAmended message from the specified reader or buffer.
14114
+ * @param reader Reader or buffer to decode from
14115
+ * @param [length] Message length if known beforehand
14116
+ * @returns EnterpriseUserEnrollmentAmended
14117
+ * @throws {Error} If the payload is not a reader or valid buffer
14118
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14119
+ */
14120
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EnterpriseUserEnrollmentAmended;
14121
+
14122
+ /**
14123
+ * Decodes an EnterpriseUserEnrollmentAmended message from the specified reader or buffer, length delimited.
14124
+ * @param reader Reader or buffer to decode from
14125
+ * @returns EnterpriseUserEnrollmentAmended
14126
+ * @throws {Error} If the payload is not a reader or valid buffer
14127
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14128
+ */
14129
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EnterpriseUserEnrollmentAmended;
14130
+
14131
+ /**
14132
+ * Verifies an EnterpriseUserEnrollmentAmended message.
14133
+ * @param message Plain object to verify
14134
+ * @returns `null` if valid, otherwise the reason why it is not
14135
+ */
14136
+ public static verify(message: { [k: string]: any }): (string|null);
14137
+
14138
+ /**
14139
+ * Creates an EnterpriseUserEnrollmentAmended message from a plain object. Also converts values to their respective internal types.
14140
+ * @param object Plain object
14141
+ * @returns EnterpriseUserEnrollmentAmended
14142
+ */
14143
+ public static fromObject(object: { [k: string]: any }): EnterpriseUserEnrollmentAmended;
14144
+
14145
+ /**
14146
+ * Creates a plain object from an EnterpriseUserEnrollmentAmended message. Also converts values to other types if specified.
14147
+ * @param message EnterpriseUserEnrollmentAmended
14148
+ * @param [options] Conversion options
14149
+ * @returns Plain object
14150
+ */
14151
+ public static toObject(message: EnterpriseUserEnrollmentAmended, options?: $protobuf.IConversionOptions): { [k: string]: any };
14152
+
14153
+ /**
14154
+ * Converts this EnterpriseUserEnrollmentAmended to JSON.
14155
+ * @returns JSON object
14156
+ */
14157
+ public toJSON(): { [k: string]: any };
14158
+ }
14159
+
12516
14160
  /** Properties of a GoogleSubscriptionPurchased. */
12517
14161
  export interface IGoogleSubscriptionPurchased {
12518
14162