@streamlayer/sl-eslib 5.272.0 → 5.273.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/package.json
CHANGED
|
@@ -35,3 +35,11 @@ export const requestResetPassword: typeof Users["method"]["requestResetPassword"
|
|
|
35
35
|
* @generated from rpc streamlayer.studio.users.Users.UpdateStatus
|
|
36
36
|
*/
|
|
37
37
|
export const updateStatus: typeof Users["method"]["updateStatus"];
|
|
38
|
+
/**
|
|
39
|
+
* issues a short-lived Intercom Messenger JWT (ms-users `intercom` action) for the authenticated user.
|
|
40
|
+
* the request body is intentionally empty: the gateway injects `username` from the verified session.
|
|
41
|
+
* ACCESS_LEVEL_OWNER also requires membership in at least one organization, so a removed member gets 401
|
|
42
|
+
*
|
|
43
|
+
* @generated from rpc streamlayer.studio.users.Users.IntercomToken
|
|
44
|
+
*/
|
|
45
|
+
export const intercomToken: typeof Users["method"]["intercomToken"];
|
|
@@ -40,3 +40,12 @@ export const requestResetPassword = Users.method.requestResetPassword;
|
|
|
40
40
|
* @generated from rpc streamlayer.studio.users.Users.UpdateStatus
|
|
41
41
|
*/
|
|
42
42
|
export const updateStatus = Users.method.updateStatus;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* issues a short-lived Intercom Messenger JWT (ms-users `intercom` action) for the authenticated user.
|
|
46
|
+
* the request body is intentionally empty: the gateway injects `username` from the verified session.
|
|
47
|
+
* ACCESS_LEVEL_OWNER also requires membership in at least one organization, so a removed member gets 401
|
|
48
|
+
*
|
|
49
|
+
* @generated from rpc streamlayer.studio.users.Users.IntercomToken
|
|
50
|
+
*/
|
|
51
|
+
export const intercomToken = Users.method.intercomToken;
|
|
@@ -313,6 +313,43 @@ export declare type UpdateStatusResponse = Message<"streamlayer.studio.users.Upd
|
|
|
313
313
|
*/
|
|
314
314
|
export declare const UpdateStatusResponseSchema: GenMessage<UpdateStatusResponse>;
|
|
315
315
|
|
|
316
|
+
/**
|
|
317
|
+
* @generated from message streamlayer.studio.users.IntercomTokenRequest
|
|
318
|
+
*/
|
|
319
|
+
export declare type IntercomTokenRequest = Message<"streamlayer.studio.users.IntercomTokenRequest"> & {
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Describes the message streamlayer.studio.users.IntercomTokenRequest.
|
|
324
|
+
* Use `create(IntercomTokenRequestSchema)` to create a new message.
|
|
325
|
+
*/
|
|
326
|
+
export declare const IntercomTokenRequestSchema: GenMessage<IntercomTokenRequest>;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* @generated from message streamlayer.studio.users.IntercomTokenResponse
|
|
330
|
+
*/
|
|
331
|
+
export declare type IntercomTokenResponse = Message<"streamlayer.studio.users.IntercomTokenResponse"> & {
|
|
332
|
+
/**
|
|
333
|
+
* HS256 Intercom Messenger JWT for the authenticated user, pass it as `intercom_user_jwt` when booting or updating Intercom
|
|
334
|
+
*
|
|
335
|
+
* @generated from field: string token = 1;
|
|
336
|
+
*/
|
|
337
|
+
token: string;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* token expiration, unix time in milliseconds
|
|
341
|
+
*
|
|
342
|
+
* @generated from field: int64 expires_at = 2;
|
|
343
|
+
*/
|
|
344
|
+
expiresAt: bigint;
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Describes the message streamlayer.studio.users.IntercomTokenResponse.
|
|
349
|
+
* Use `create(IntercomTokenResponseSchema)` to create a new message.
|
|
350
|
+
*/
|
|
351
|
+
export declare const IntercomTokenResponseSchema: GenMessage<IntercomTokenResponse>;
|
|
352
|
+
|
|
316
353
|
/**
|
|
317
354
|
* @generated from service streamlayer.studio.users.Users
|
|
318
355
|
*/
|
|
@@ -372,5 +409,17 @@ export declare const Users: GenService<{
|
|
|
372
409
|
input: typeof UpdateStatusRequestSchema;
|
|
373
410
|
output: typeof UpdateStatusResponseSchema;
|
|
374
411
|
},
|
|
412
|
+
/**
|
|
413
|
+
* issues a short-lived Intercom Messenger JWT (ms-users `intercom` action) for the authenticated user.
|
|
414
|
+
* the request body is intentionally empty: the gateway injects `username` from the verified session.
|
|
415
|
+
* ACCESS_LEVEL_OWNER also requires membership in at least one organization, so a removed member gets 401
|
|
416
|
+
*
|
|
417
|
+
* @generated from rpc streamlayer.studio.users.Users.IntercomToken
|
|
418
|
+
*/
|
|
419
|
+
intercomToken: {
|
|
420
|
+
methodKind: "unary";
|
|
421
|
+
input: typeof IntercomTokenRequestSchema;
|
|
422
|
+
output: typeof IntercomTokenResponseSchema;
|
|
423
|
+
},
|
|
375
424
|
}>;
|
|
376
425
|
|
|
@@ -10,7 +10,7 @@ import { file_streamlayer_users_users_common } from "../../users/users_common_pb
|
|
|
10
10
|
* Describes the file streamlayer/studio/users/studio_users.proto.
|
|
11
11
|
*/
|
|
12
12
|
export const file_streamlayer_studio_users_studio_users = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
13
|
+
fileDesc("CitzdHJlYW1sYXllci9zdHVkaW8vdXNlcnMvc3R1ZGlvX3VzZXJzLnByb3RvEhhzdHJlYW1sYXllci5zdHVkaW8udXNlcnMiDAoKR2V0UmVxdWVzdCI8CgtHZXRSZXNwb25zZRItCgRkYXRhGAEgASgLMh8uc3RyZWFtbGF5ZXIudXNlcnMuRXh0ZW5kZWRVc2VyIpcECg1VcGRhdGVSZXF1ZXN0EhIKCHNldF9uYW1lGAIgASgJSAASEgoIZGVsX25hbWUYAyABKAlIABIUCgpzZXRfYXZhdGFyGAQgASgJSAESFAoKZGVsX2F2YXRhchgFIAEoCUgBEiYKHHNldF9hdmF0YXJfYmFja2dyb3VuZF9jb2xvdXIYBiABKAlIAhImChxkZWxfYXZhdGFyX2JhY2tncm91bmRfY29sb3VyGAcgASgJSAISFgoMc2V0X3RpbWV6b25lGAggASgJSAMSFgoMZGVsX3RpbWV6b25lGAkgASgJSAMSVAobc2V0X25vdGlmaWNhdGlvbl9wcmVmZXJlbmNlGAogASgOMi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ZSIPiqYdA2JhbqCmHQKoph0BEoYBCg1JbnRlcmNvbVRva2VuEi4uc3RyZWFtbGF5ZXIuc3R1ZGlvLnVzZXJzLkludGVyY29tVG9rZW5SZXF1ZXN0Gi8uc3RyZWFtbGF5ZXIuc3R1ZGlvLnVzZXJzLkludGVyY29tVG9rZW5SZXNwb25zZSIUiqYdCGludGVyY29toKYdAqimHQEaCYq1GAV1c2Vyc0KlAQocY29tLnN0cmVhbWxheWVyLnN0dWRpby51c2Vyc0IbU3RyZWFtTGF5ZXJTdHVkaW9Vc2Vyc1Byb3RvUAFaXWdpdGh1Yi5jb20vc3RyZWFtbGF5ZXIvc2wtcHJvdG9maWxlcy8uYnVpbGQvZ28vc3RyZWFtbGF5ZXIvdXNlcnMvc3R1ZGlvLXVzZXJzO3NsX3VzZXJzX3N0dWRpb6ICBlNMX0FQSWIGcHJvdG8z", [file_streamlayer_common_streamlayer_common, file_streamlayer_users_users_common]);
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message streamlayer.studio.users.GetRequest.
|
|
@@ -96,6 +96,20 @@ export const UpdateStatusRequestSchema = /*@__PURE__*/
|
|
|
96
96
|
export const UpdateStatusResponseSchema = /*@__PURE__*/
|
|
97
97
|
messageDesc(file_streamlayer_studio_users_studio_users, 11);
|
|
98
98
|
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message streamlayer.studio.users.IntercomTokenRequest.
|
|
101
|
+
* Use `create(IntercomTokenRequestSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export const IntercomTokenRequestSchema = /*@__PURE__*/
|
|
104
|
+
messageDesc(file_streamlayer_studio_users_studio_users, 12);
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message streamlayer.studio.users.IntercomTokenResponse.
|
|
108
|
+
* Use `create(IntercomTokenResponseSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export const IntercomTokenResponseSchema = /*@__PURE__*/
|
|
111
|
+
messageDesc(file_streamlayer_studio_users_studio_users, 13);
|
|
112
|
+
|
|
99
113
|
/**
|
|
100
114
|
* @generated from service streamlayer.studio.users.Users
|
|
101
115
|
*/
|