@headspace/protos-events 1.145.0 → 1.146.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 +1542 -0
- package/lib/index.js +12351 -8629
- 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
|
|
|
@@ -12513,6 +13671,390 @@ export class ElfImportJobFailed implements IElfImportJobFailed {
|
|
|
12513
13671
|
public toJSON(): { [k: string]: any };
|
|
12514
13672
|
}
|
|
12515
13673
|
|
|
13674
|
+
/** Properties of an EnterpriseUserEnrollmentCreated. */
|
|
13675
|
+
export interface IEnterpriseUserEnrollmentCreated {
|
|
13676
|
+
|
|
13677
|
+
/** EnterpriseUserEnrollmentCreated userId */
|
|
13678
|
+
userId?: (string|null);
|
|
13679
|
+
|
|
13680
|
+
/** EnterpriseUserEnrollmentCreated orgId */
|
|
13681
|
+
orgId?: (number|null);
|
|
13682
|
+
|
|
13683
|
+
/** EnterpriseUserEnrollmentCreated orgSubscriptionId */
|
|
13684
|
+
orgSubscriptionId?: (number|null);
|
|
13685
|
+
|
|
13686
|
+
/** EnterpriseUserEnrollmentCreated orgType */
|
|
13687
|
+
orgType?: (b2b.OrgType|null);
|
|
13688
|
+
|
|
13689
|
+
/** EnterpriseUserEnrollmentCreated startsAt */
|
|
13690
|
+
startsAt?: (number|Long|null);
|
|
13691
|
+
|
|
13692
|
+
/** EnterpriseUserEnrollmentCreated endsAt */
|
|
13693
|
+
endsAt?: (number|Long|null);
|
|
13694
|
+
|
|
13695
|
+
/** EnterpriseUserEnrollmentCreated timestamp */
|
|
13696
|
+
timestamp?: (number|Long|null);
|
|
13697
|
+
}
|
|
13698
|
+
|
|
13699
|
+
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
13700
|
+
export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmentCreated {
|
|
13701
|
+
|
|
13702
|
+
/**
|
|
13703
|
+
* Constructs a new EnterpriseUserEnrollmentCreated.
|
|
13704
|
+
* @param [properties] Properties to set
|
|
13705
|
+
*/
|
|
13706
|
+
constructor(properties?: IEnterpriseUserEnrollmentCreated);
|
|
13707
|
+
|
|
13708
|
+
/** EnterpriseUserEnrollmentCreated userId. */
|
|
13709
|
+
public userId: string;
|
|
13710
|
+
|
|
13711
|
+
/** EnterpriseUserEnrollmentCreated orgId. */
|
|
13712
|
+
public orgId: number;
|
|
13713
|
+
|
|
13714
|
+
/** EnterpriseUserEnrollmentCreated orgSubscriptionId. */
|
|
13715
|
+
public orgSubscriptionId: number;
|
|
13716
|
+
|
|
13717
|
+
/** EnterpriseUserEnrollmentCreated orgType. */
|
|
13718
|
+
public orgType: b2b.OrgType;
|
|
13719
|
+
|
|
13720
|
+
/** EnterpriseUserEnrollmentCreated startsAt. */
|
|
13721
|
+
public startsAt: (number|Long);
|
|
13722
|
+
|
|
13723
|
+
/** EnterpriseUserEnrollmentCreated endsAt. */
|
|
13724
|
+
public endsAt: (number|Long);
|
|
13725
|
+
|
|
13726
|
+
/** EnterpriseUserEnrollmentCreated timestamp. */
|
|
13727
|
+
public timestamp: (number|Long);
|
|
13728
|
+
|
|
13729
|
+
/**
|
|
13730
|
+
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
13731
|
+
* @param [properties] Properties to set
|
|
13732
|
+
* @returns EnterpriseUserEnrollmentCreated instance
|
|
13733
|
+
*/
|
|
13734
|
+
public static create(properties?: IEnterpriseUserEnrollmentCreated): EnterpriseUserEnrollmentCreated;
|
|
13735
|
+
|
|
13736
|
+
/**
|
|
13737
|
+
* Encodes the specified EnterpriseUserEnrollmentCreated message. Does not implicitly {@link EnterpriseUserEnrollmentCreated.verify|verify} messages.
|
|
13738
|
+
* @param message EnterpriseUserEnrollmentCreated message or plain object to encode
|
|
13739
|
+
* @param [writer] Writer to encode to
|
|
13740
|
+
* @returns Writer
|
|
13741
|
+
*/
|
|
13742
|
+
public static encode(message: IEnterpriseUserEnrollmentCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13743
|
+
|
|
13744
|
+
/**
|
|
13745
|
+
* Encodes the specified EnterpriseUserEnrollmentCreated message, length delimited. Does not implicitly {@link EnterpriseUserEnrollmentCreated.verify|verify} messages.
|
|
13746
|
+
* @param message EnterpriseUserEnrollmentCreated message or plain object to encode
|
|
13747
|
+
* @param [writer] Writer to encode to
|
|
13748
|
+
* @returns Writer
|
|
13749
|
+
*/
|
|
13750
|
+
public static encodeDelimited(message: IEnterpriseUserEnrollmentCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13751
|
+
|
|
13752
|
+
/**
|
|
13753
|
+
* Decodes an EnterpriseUserEnrollmentCreated message from the specified reader or buffer.
|
|
13754
|
+
* @param reader Reader or buffer to decode from
|
|
13755
|
+
* @param [length] Message length if known beforehand
|
|
13756
|
+
* @returns EnterpriseUserEnrollmentCreated
|
|
13757
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13758
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13759
|
+
*/
|
|
13760
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EnterpriseUserEnrollmentCreated;
|
|
13761
|
+
|
|
13762
|
+
/**
|
|
13763
|
+
* Decodes an EnterpriseUserEnrollmentCreated message from the specified reader or buffer, length delimited.
|
|
13764
|
+
* @param reader Reader or buffer to decode from
|
|
13765
|
+
* @returns EnterpriseUserEnrollmentCreated
|
|
13766
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13767
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13768
|
+
*/
|
|
13769
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EnterpriseUserEnrollmentCreated;
|
|
13770
|
+
|
|
13771
|
+
/**
|
|
13772
|
+
* Verifies an EnterpriseUserEnrollmentCreated message.
|
|
13773
|
+
* @param message Plain object to verify
|
|
13774
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13775
|
+
*/
|
|
13776
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13777
|
+
|
|
13778
|
+
/**
|
|
13779
|
+
* Creates an EnterpriseUserEnrollmentCreated message from a plain object. Also converts values to their respective internal types.
|
|
13780
|
+
* @param object Plain object
|
|
13781
|
+
* @returns EnterpriseUserEnrollmentCreated
|
|
13782
|
+
*/
|
|
13783
|
+
public static fromObject(object: { [k: string]: any }): EnterpriseUserEnrollmentCreated;
|
|
13784
|
+
|
|
13785
|
+
/**
|
|
13786
|
+
* Creates a plain object from an EnterpriseUserEnrollmentCreated message. Also converts values to other types if specified.
|
|
13787
|
+
* @param message EnterpriseUserEnrollmentCreated
|
|
13788
|
+
* @param [options] Conversion options
|
|
13789
|
+
* @returns Plain object
|
|
13790
|
+
*/
|
|
13791
|
+
public static toObject(message: EnterpriseUserEnrollmentCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13792
|
+
|
|
13793
|
+
/**
|
|
13794
|
+
* Converts this EnterpriseUserEnrollmentCreated to JSON.
|
|
13795
|
+
* @returns JSON object
|
|
13796
|
+
*/
|
|
13797
|
+
public toJSON(): { [k: string]: any };
|
|
13798
|
+
}
|
|
13799
|
+
|
|
13800
|
+
/** Properties of an EnterpriseUserEnrollmentRemoved. */
|
|
13801
|
+
export interface IEnterpriseUserEnrollmentRemoved {
|
|
13802
|
+
|
|
13803
|
+
/** EnterpriseUserEnrollmentRemoved userId */
|
|
13804
|
+
userId?: (string|null);
|
|
13805
|
+
|
|
13806
|
+
/** EnterpriseUserEnrollmentRemoved orgId */
|
|
13807
|
+
orgId?: (number|null);
|
|
13808
|
+
|
|
13809
|
+
/** EnterpriseUserEnrollmentRemoved orgSubscriptionId */
|
|
13810
|
+
orgSubscriptionId?: (number|null);
|
|
13811
|
+
|
|
13812
|
+
/** EnterpriseUserEnrollmentRemoved orgType */
|
|
13813
|
+
orgType?: (b2b.OrgType|null);
|
|
13814
|
+
|
|
13815
|
+
/** EnterpriseUserEnrollmentRemoved startsAt */
|
|
13816
|
+
startsAt?: (number|Long|null);
|
|
13817
|
+
|
|
13818
|
+
/** EnterpriseUserEnrollmentRemoved endsAt */
|
|
13819
|
+
endsAt?: (number|Long|null);
|
|
13820
|
+
|
|
13821
|
+
/** EnterpriseUserEnrollmentRemoved reason */
|
|
13822
|
+
reason?: (b2b.OrgMemberRemovalReason|null);
|
|
13823
|
+
|
|
13824
|
+
/** EnterpriseUserEnrollmentRemoved timestamp */
|
|
13825
|
+
timestamp?: (number|Long|null);
|
|
13826
|
+
}
|
|
13827
|
+
|
|
13828
|
+
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
13829
|
+
export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmentRemoved {
|
|
13830
|
+
|
|
13831
|
+
/**
|
|
13832
|
+
* Constructs a new EnterpriseUserEnrollmentRemoved.
|
|
13833
|
+
* @param [properties] Properties to set
|
|
13834
|
+
*/
|
|
13835
|
+
constructor(properties?: IEnterpriseUserEnrollmentRemoved);
|
|
13836
|
+
|
|
13837
|
+
/** EnterpriseUserEnrollmentRemoved userId. */
|
|
13838
|
+
public userId: string;
|
|
13839
|
+
|
|
13840
|
+
/** EnterpriseUserEnrollmentRemoved orgId. */
|
|
13841
|
+
public orgId: number;
|
|
13842
|
+
|
|
13843
|
+
/** EnterpriseUserEnrollmentRemoved orgSubscriptionId. */
|
|
13844
|
+
public orgSubscriptionId: number;
|
|
13845
|
+
|
|
13846
|
+
/** EnterpriseUserEnrollmentRemoved orgType. */
|
|
13847
|
+
public orgType: b2b.OrgType;
|
|
13848
|
+
|
|
13849
|
+
/** EnterpriseUserEnrollmentRemoved startsAt. */
|
|
13850
|
+
public startsAt: (number|Long);
|
|
13851
|
+
|
|
13852
|
+
/** EnterpriseUserEnrollmentRemoved endsAt. */
|
|
13853
|
+
public endsAt: (number|Long);
|
|
13854
|
+
|
|
13855
|
+
/** EnterpriseUserEnrollmentRemoved reason. */
|
|
13856
|
+
public reason: b2b.OrgMemberRemovalReason;
|
|
13857
|
+
|
|
13858
|
+
/** EnterpriseUserEnrollmentRemoved timestamp. */
|
|
13859
|
+
public timestamp: (number|Long);
|
|
13860
|
+
|
|
13861
|
+
/**
|
|
13862
|
+
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
13863
|
+
* @param [properties] Properties to set
|
|
13864
|
+
* @returns EnterpriseUserEnrollmentRemoved instance
|
|
13865
|
+
*/
|
|
13866
|
+
public static create(properties?: IEnterpriseUserEnrollmentRemoved): EnterpriseUserEnrollmentRemoved;
|
|
13867
|
+
|
|
13868
|
+
/**
|
|
13869
|
+
* Encodes the specified EnterpriseUserEnrollmentRemoved message. Does not implicitly {@link EnterpriseUserEnrollmentRemoved.verify|verify} messages.
|
|
13870
|
+
* @param message EnterpriseUserEnrollmentRemoved message or plain object to encode
|
|
13871
|
+
* @param [writer] Writer to encode to
|
|
13872
|
+
* @returns Writer
|
|
13873
|
+
*/
|
|
13874
|
+
public static encode(message: IEnterpriseUserEnrollmentRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13875
|
+
|
|
13876
|
+
/**
|
|
13877
|
+
* Encodes the specified EnterpriseUserEnrollmentRemoved message, length delimited. Does not implicitly {@link EnterpriseUserEnrollmentRemoved.verify|verify} messages.
|
|
13878
|
+
* @param message EnterpriseUserEnrollmentRemoved message or plain object to encode
|
|
13879
|
+
* @param [writer] Writer to encode to
|
|
13880
|
+
* @returns Writer
|
|
13881
|
+
*/
|
|
13882
|
+
public static encodeDelimited(message: IEnterpriseUserEnrollmentRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13883
|
+
|
|
13884
|
+
/**
|
|
13885
|
+
* Decodes an EnterpriseUserEnrollmentRemoved message from the specified reader or buffer.
|
|
13886
|
+
* @param reader Reader or buffer to decode from
|
|
13887
|
+
* @param [length] Message length if known beforehand
|
|
13888
|
+
* @returns EnterpriseUserEnrollmentRemoved
|
|
13889
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13890
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13891
|
+
*/
|
|
13892
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EnterpriseUserEnrollmentRemoved;
|
|
13893
|
+
|
|
13894
|
+
/**
|
|
13895
|
+
* Decodes an EnterpriseUserEnrollmentRemoved message from the specified reader or buffer, length delimited.
|
|
13896
|
+
* @param reader Reader or buffer to decode from
|
|
13897
|
+
* @returns EnterpriseUserEnrollmentRemoved
|
|
13898
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13899
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13900
|
+
*/
|
|
13901
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EnterpriseUserEnrollmentRemoved;
|
|
13902
|
+
|
|
13903
|
+
/**
|
|
13904
|
+
* Verifies an EnterpriseUserEnrollmentRemoved message.
|
|
13905
|
+
* @param message Plain object to verify
|
|
13906
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13907
|
+
*/
|
|
13908
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13909
|
+
|
|
13910
|
+
/**
|
|
13911
|
+
* Creates an EnterpriseUserEnrollmentRemoved message from a plain object. Also converts values to their respective internal types.
|
|
13912
|
+
* @param object Plain object
|
|
13913
|
+
* @returns EnterpriseUserEnrollmentRemoved
|
|
13914
|
+
*/
|
|
13915
|
+
public static fromObject(object: { [k: string]: any }): EnterpriseUserEnrollmentRemoved;
|
|
13916
|
+
|
|
13917
|
+
/**
|
|
13918
|
+
* Creates a plain object from an EnterpriseUserEnrollmentRemoved message. Also converts values to other types if specified.
|
|
13919
|
+
* @param message EnterpriseUserEnrollmentRemoved
|
|
13920
|
+
* @param [options] Conversion options
|
|
13921
|
+
* @returns Plain object
|
|
13922
|
+
*/
|
|
13923
|
+
public static toObject(message: EnterpriseUserEnrollmentRemoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13924
|
+
|
|
13925
|
+
/**
|
|
13926
|
+
* Converts this EnterpriseUserEnrollmentRemoved to JSON.
|
|
13927
|
+
* @returns JSON object
|
|
13928
|
+
*/
|
|
13929
|
+
public toJSON(): { [k: string]: any };
|
|
13930
|
+
}
|
|
13931
|
+
|
|
13932
|
+
/** Properties of an EnterpriseUserEnrollmentAmended. */
|
|
13933
|
+
export interface IEnterpriseUserEnrollmentAmended {
|
|
13934
|
+
|
|
13935
|
+
/** EnterpriseUserEnrollmentAmended userId */
|
|
13936
|
+
userId?: (string|null);
|
|
13937
|
+
|
|
13938
|
+
/** EnterpriseUserEnrollmentAmended orgId */
|
|
13939
|
+
orgId?: (number|null);
|
|
13940
|
+
|
|
13941
|
+
/** EnterpriseUserEnrollmentAmended orgSubscriptionId */
|
|
13942
|
+
orgSubscriptionId?: (number|null);
|
|
13943
|
+
|
|
13944
|
+
/** EnterpriseUserEnrollmentAmended orgType */
|
|
13945
|
+
orgType?: (b2b.OrgType|null);
|
|
13946
|
+
|
|
13947
|
+
/** EnterpriseUserEnrollmentAmended startsAt */
|
|
13948
|
+
startsAt?: (number|Long|null);
|
|
13949
|
+
|
|
13950
|
+
/** EnterpriseUserEnrollmentAmended endsAt */
|
|
13951
|
+
endsAt?: (number|Long|null);
|
|
13952
|
+
|
|
13953
|
+
/** EnterpriseUserEnrollmentAmended timestamp */
|
|
13954
|
+
timestamp?: (number|Long|null);
|
|
13955
|
+
}
|
|
13956
|
+
|
|
13957
|
+
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
13958
|
+
export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmentAmended {
|
|
13959
|
+
|
|
13960
|
+
/**
|
|
13961
|
+
* Constructs a new EnterpriseUserEnrollmentAmended.
|
|
13962
|
+
* @param [properties] Properties to set
|
|
13963
|
+
*/
|
|
13964
|
+
constructor(properties?: IEnterpriseUserEnrollmentAmended);
|
|
13965
|
+
|
|
13966
|
+
/** EnterpriseUserEnrollmentAmended userId. */
|
|
13967
|
+
public userId: string;
|
|
13968
|
+
|
|
13969
|
+
/** EnterpriseUserEnrollmentAmended orgId. */
|
|
13970
|
+
public orgId: number;
|
|
13971
|
+
|
|
13972
|
+
/** EnterpriseUserEnrollmentAmended orgSubscriptionId. */
|
|
13973
|
+
public orgSubscriptionId: number;
|
|
13974
|
+
|
|
13975
|
+
/** EnterpriseUserEnrollmentAmended orgType. */
|
|
13976
|
+
public orgType: b2b.OrgType;
|
|
13977
|
+
|
|
13978
|
+
/** EnterpriseUserEnrollmentAmended startsAt. */
|
|
13979
|
+
public startsAt: (number|Long);
|
|
13980
|
+
|
|
13981
|
+
/** EnterpriseUserEnrollmentAmended endsAt. */
|
|
13982
|
+
public endsAt: (number|Long);
|
|
13983
|
+
|
|
13984
|
+
/** EnterpriseUserEnrollmentAmended timestamp. */
|
|
13985
|
+
public timestamp: (number|Long);
|
|
13986
|
+
|
|
13987
|
+
/**
|
|
13988
|
+
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
13989
|
+
* @param [properties] Properties to set
|
|
13990
|
+
* @returns EnterpriseUserEnrollmentAmended instance
|
|
13991
|
+
*/
|
|
13992
|
+
public static create(properties?: IEnterpriseUserEnrollmentAmended): EnterpriseUserEnrollmentAmended;
|
|
13993
|
+
|
|
13994
|
+
/**
|
|
13995
|
+
* Encodes the specified EnterpriseUserEnrollmentAmended message. Does not implicitly {@link EnterpriseUserEnrollmentAmended.verify|verify} messages.
|
|
13996
|
+
* @param message EnterpriseUserEnrollmentAmended message or plain object to encode
|
|
13997
|
+
* @param [writer] Writer to encode to
|
|
13998
|
+
* @returns Writer
|
|
13999
|
+
*/
|
|
14000
|
+
public static encode(message: IEnterpriseUserEnrollmentAmended, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14001
|
+
|
|
14002
|
+
/**
|
|
14003
|
+
* Encodes the specified EnterpriseUserEnrollmentAmended message, length delimited. Does not implicitly {@link EnterpriseUserEnrollmentAmended.verify|verify} messages.
|
|
14004
|
+
* @param message EnterpriseUserEnrollmentAmended message or plain object to encode
|
|
14005
|
+
* @param [writer] Writer to encode to
|
|
14006
|
+
* @returns Writer
|
|
14007
|
+
*/
|
|
14008
|
+
public static encodeDelimited(message: IEnterpriseUserEnrollmentAmended, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14009
|
+
|
|
14010
|
+
/**
|
|
14011
|
+
* Decodes an EnterpriseUserEnrollmentAmended message from the specified reader or buffer.
|
|
14012
|
+
* @param reader Reader or buffer to decode from
|
|
14013
|
+
* @param [length] Message length if known beforehand
|
|
14014
|
+
* @returns EnterpriseUserEnrollmentAmended
|
|
14015
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14016
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14017
|
+
*/
|
|
14018
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EnterpriseUserEnrollmentAmended;
|
|
14019
|
+
|
|
14020
|
+
/**
|
|
14021
|
+
* Decodes an EnterpriseUserEnrollmentAmended message from the specified reader or buffer, length delimited.
|
|
14022
|
+
* @param reader Reader or buffer to decode from
|
|
14023
|
+
* @returns EnterpriseUserEnrollmentAmended
|
|
14024
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14025
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14026
|
+
*/
|
|
14027
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EnterpriseUserEnrollmentAmended;
|
|
14028
|
+
|
|
14029
|
+
/**
|
|
14030
|
+
* Verifies an EnterpriseUserEnrollmentAmended message.
|
|
14031
|
+
* @param message Plain object to verify
|
|
14032
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14033
|
+
*/
|
|
14034
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14035
|
+
|
|
14036
|
+
/**
|
|
14037
|
+
* Creates an EnterpriseUserEnrollmentAmended message from a plain object. Also converts values to their respective internal types.
|
|
14038
|
+
* @param object Plain object
|
|
14039
|
+
* @returns EnterpriseUserEnrollmentAmended
|
|
14040
|
+
*/
|
|
14041
|
+
public static fromObject(object: { [k: string]: any }): EnterpriseUserEnrollmentAmended;
|
|
14042
|
+
|
|
14043
|
+
/**
|
|
14044
|
+
* Creates a plain object from an EnterpriseUserEnrollmentAmended message. Also converts values to other types if specified.
|
|
14045
|
+
* @param message EnterpriseUserEnrollmentAmended
|
|
14046
|
+
* @param [options] Conversion options
|
|
14047
|
+
* @returns Plain object
|
|
14048
|
+
*/
|
|
14049
|
+
public static toObject(message: EnterpriseUserEnrollmentAmended, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14050
|
+
|
|
14051
|
+
/**
|
|
14052
|
+
* Converts this EnterpriseUserEnrollmentAmended to JSON.
|
|
14053
|
+
* @returns JSON object
|
|
14054
|
+
*/
|
|
14055
|
+
public toJSON(): { [k: string]: any };
|
|
14056
|
+
}
|
|
14057
|
+
|
|
12516
14058
|
/** Properties of a GoogleSubscriptionPurchased. */
|
|
12517
14059
|
export interface IGoogleSubscriptionPurchased {
|
|
12518
14060
|
|