@streamlayer/sl-eslib 5.139.3 → 5.141.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 +1 -1
- package/streamlayer/interactive/interactive.common_pb.d.ts +30 -0
- package/streamlayer/interactive/interactive.common_pb.js +14 -0
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks-OrganizationWebhooks_connectquery.d.ts +12 -0
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks-OrganizationWebhooks_connectquery.js +14 -0
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_connect.d.ts +9 -0
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_connect.js +9 -0
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_pb.d.ts +68 -0
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_pb.js +24 -0
package/package.json
CHANGED
|
@@ -386,6 +386,31 @@ export declare enum PromotionButtonType {
|
|
|
386
386
|
* @generated from enum value: PROMOTION_BUTTON_TYPE_NO_BUTTON = 5;
|
|
387
387
|
*/
|
|
388
388
|
NO_BUTTON = 5,
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @generated from enum value: PROMOTION_BUTTON_TYPE_SEND_TO_USER = 6;
|
|
392
|
+
*/
|
|
393
|
+
SEND_TO_USER = 6,
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* @generated from enum streamlayer.interactive.UserAccountInfo
|
|
398
|
+
*/
|
|
399
|
+
export declare enum UserAccountInfo {
|
|
400
|
+
/**
|
|
401
|
+
* @generated from enum value: USER_ACCOUNT_INFO_UNSET = 0;
|
|
402
|
+
*/
|
|
403
|
+
UNSET = 0,
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @generated from enum value: USER_ACCOUNT_INFO_EMAIL = 1;
|
|
407
|
+
*/
|
|
408
|
+
EMAIL = 1,
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @generated from enum value: USER_ACCOUNT_INFO_PHONE = 2;
|
|
412
|
+
*/
|
|
413
|
+
PHONE = 2,
|
|
389
414
|
}
|
|
390
415
|
|
|
391
416
|
/**
|
|
@@ -2100,6 +2125,11 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
|
|
|
2100
2125
|
*/
|
|
2101
2126
|
backgroundImagePortraitUrl?: string;
|
|
2102
2127
|
|
|
2128
|
+
/**
|
|
2129
|
+
* @generated from field: optional streamlayer.interactive.UserAccountInfo user_account_info = 16;
|
|
2130
|
+
*/
|
|
2131
|
+
userAccountInfo?: UserAccountInfo;
|
|
2132
|
+
|
|
2103
2133
|
constructor(data?: PartialMessage<QuestionOptions_PromotionOptions>);
|
|
2104
2134
|
|
|
2105
2135
|
static readonly runtime: typeof proto3;
|
|
@@ -192,6 +192,19 @@ export const PromotionButtonType = /*@__PURE__*/ proto3.makeEnum(
|
|
|
192
192
|
{no: 3, name: "PROMOTION_BUTTON_TYPE_ADD_TO_WALLET", localName: "ADD_TO_WALLET"},
|
|
193
193
|
{no: 4, name: "PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO", localName: "RETURN_TO_VIDEO"},
|
|
194
194
|
{no: 5, name: "PROMOTION_BUTTON_TYPE_NO_BUTTON", localName: "NO_BUTTON"},
|
|
195
|
+
{no: 6, name: "PROMOTION_BUTTON_TYPE_SEND_TO_USER", localName: "SEND_TO_USER"},
|
|
196
|
+
],
|
|
197
|
+
);
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from enum streamlayer.interactive.UserAccountInfo
|
|
201
|
+
*/
|
|
202
|
+
export const UserAccountInfo = /*@__PURE__*/ proto3.makeEnum(
|
|
203
|
+
"streamlayer.interactive.UserAccountInfo",
|
|
204
|
+
[
|
|
205
|
+
{no: 0, name: "USER_ACCOUNT_INFO_UNSET", localName: "UNSET"},
|
|
206
|
+
{no: 1, name: "USER_ACCOUNT_INFO_EMAIL", localName: "EMAIL"},
|
|
207
|
+
{no: 2, name: "USER_ACCOUNT_INFO_PHONE", localName: "PHONE"},
|
|
195
208
|
],
|
|
196
209
|
);
|
|
197
210
|
|
|
@@ -709,6 +722,7 @@ export const QuestionOptions_PromotionOptions = /*@__PURE__*/ proto3.makeMessage
|
|
|
709
722
|
{ no: 13, name: "auto_play_video", kind: "enum", T: proto3.getEnumType(AutoPlayVideo), opt: true },
|
|
710
723
|
{ no: 14, name: "background_image_landscape_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
711
724
|
{ no: 15, name: "background_image_portrait_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
725
|
+
{ no: 16, name: "user_account_info", kind: "enum", T: proto3.getEnumType(UserAccountInfo), opt: true },
|
|
712
726
|
],
|
|
713
727
|
{localName: "QuestionOptions_PromotionOptions"},
|
|
714
728
|
);
|
|
@@ -30,6 +30,18 @@ export const getWebhook: {
|
|
|
30
30
|
readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.DeleteWebhook
|
|
35
|
+
*/
|
|
36
|
+
export const deleteWebhook: {
|
|
37
|
+
readonly name: "DeleteWebhook",
|
|
38
|
+
readonly I: typeof GetWebhookRequest,
|
|
39
|
+
readonly O: typeof GetWebhookResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
readonly service: {
|
|
42
|
+
readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
43
|
+
}
|
|
44
|
+
};
|
|
33
45
|
/**
|
|
34
46
|
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
|
|
35
47
|
*/
|
|
@@ -34,6 +34,20 @@ export const getWebhook = {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
+
/**
|
|
38
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.DeleteWebhook
|
|
39
|
+
*/
|
|
40
|
+
export const deleteWebhook = {
|
|
41
|
+
localName: "deleteWebhook",
|
|
42
|
+
name: "DeleteWebhook",
|
|
43
|
+
kind: MethodKind.Unary,
|
|
44
|
+
I: GetWebhookRequest,
|
|
45
|
+
O: GetWebhookResponse,
|
|
46
|
+
service: {
|
|
47
|
+
typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
37
51
|
/**
|
|
38
52
|
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
|
|
39
53
|
*/
|
|
@@ -30,6 +30,15 @@ export declare const OrganizationWebhooks: {
|
|
|
30
30
|
readonly O: typeof GetWebhookResponse,
|
|
31
31
|
readonly kind: MethodKind.Unary,
|
|
32
32
|
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.DeleteWebhook
|
|
35
|
+
*/
|
|
36
|
+
readonly deleteWebhook: {
|
|
37
|
+
readonly name: "DeleteWebhook",
|
|
38
|
+
readonly I: typeof GetWebhookRequest,
|
|
39
|
+
readonly O: typeof GetWebhookResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
33
42
|
/**
|
|
34
43
|
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
|
|
35
44
|
*/
|
|
@@ -30,6 +30,15 @@ export const OrganizationWebhooks = {
|
|
|
30
30
|
O: GetWebhookResponse,
|
|
31
31
|
kind: MethodKind.Unary,
|
|
32
32
|
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.DeleteWebhook
|
|
35
|
+
*/
|
|
36
|
+
deleteWebhook: {
|
|
37
|
+
name: "DeleteWebhook",
|
|
38
|
+
I: GetWebhookRequest,
|
|
39
|
+
O: GetWebhookResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
33
42
|
/**
|
|
34
43
|
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
|
|
35
44
|
*/
|
|
@@ -534,6 +534,74 @@ export declare class SendWebhookEventRequest_EventData extends Message<SendWebho
|
|
|
534
534
|
static equals(a: SendWebhookEventRequest_EventData | PlainMessage<SendWebhookEventRequest_EventData> | undefined, b: SendWebhookEventRequest_EventData | PlainMessage<SendWebhookEventRequest_EventData> | undefined): boolean;
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
+
/**
|
|
538
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.DeleteWebhookRequest
|
|
539
|
+
*/
|
|
540
|
+
export declare class DeleteWebhookRequest extends Message<DeleteWebhookRequest> {
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: string organization_id = 1;
|
|
543
|
+
*/
|
|
544
|
+
organizationId: string;
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* @generated from field: optional uint64 event_id = 2;
|
|
548
|
+
*/
|
|
549
|
+
eventId?: bigint;
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* @generated from field: optional string question_id = 3;
|
|
553
|
+
*/
|
|
554
|
+
questionId?: string;
|
|
555
|
+
|
|
556
|
+
constructor(data?: PartialMessage<DeleteWebhookRequest>);
|
|
557
|
+
|
|
558
|
+
static readonly runtime: typeof proto3;
|
|
559
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.DeleteWebhookRequest";
|
|
560
|
+
static readonly fields: FieldList;
|
|
561
|
+
|
|
562
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteWebhookRequest;
|
|
563
|
+
|
|
564
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteWebhookRequest;
|
|
565
|
+
|
|
566
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteWebhookRequest;
|
|
567
|
+
|
|
568
|
+
static equals(a: DeleteWebhookRequest | PlainMessage<DeleteWebhookRequest> | undefined, b: DeleteWebhookRequest | PlainMessage<DeleteWebhookRequest> | undefined): boolean;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.DeleteWebhookResponse
|
|
573
|
+
*/
|
|
574
|
+
export declare class DeleteWebhookResponse extends Message<DeleteWebhookResponse> {
|
|
575
|
+
/**
|
|
576
|
+
* @generated from field: bool status = 1;
|
|
577
|
+
*/
|
|
578
|
+
status: boolean;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* @generated from field: string message = 2;
|
|
582
|
+
*/
|
|
583
|
+
message: string;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* @generated from field: uint32 http_code = 3;
|
|
587
|
+
*/
|
|
588
|
+
httpCode: number;
|
|
589
|
+
|
|
590
|
+
constructor(data?: PartialMessage<DeleteWebhookResponse>);
|
|
591
|
+
|
|
592
|
+
static readonly runtime: typeof proto3;
|
|
593
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.DeleteWebhookResponse";
|
|
594
|
+
static readonly fields: FieldList;
|
|
595
|
+
|
|
596
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteWebhookResponse;
|
|
597
|
+
|
|
598
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteWebhookResponse;
|
|
599
|
+
|
|
600
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteWebhookResponse;
|
|
601
|
+
|
|
602
|
+
static equals(a: DeleteWebhookResponse | PlainMessage<DeleteWebhookResponse> | undefined, b: DeleteWebhookResponse | PlainMessage<DeleteWebhookResponse> | undefined): boolean;
|
|
603
|
+
}
|
|
604
|
+
|
|
537
605
|
/**
|
|
538
606
|
* @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest
|
|
539
607
|
*/
|
|
@@ -172,6 +172,30 @@ export const SendWebhookEventRequest_EventData = /*@__PURE__*/ proto3.makeMessag
|
|
|
172
172
|
{localName: "SendWebhookEventRequest_EventData"},
|
|
173
173
|
);
|
|
174
174
|
|
|
175
|
+
/**
|
|
176
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.DeleteWebhookRequest
|
|
177
|
+
*/
|
|
178
|
+
export const DeleteWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
179
|
+
"streamlayer.sdkSettings.organization.webhooks.DeleteWebhookRequest",
|
|
180
|
+
() => [
|
|
181
|
+
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
182
|
+
{ no: 2, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
183
|
+
{ no: 3, name: "question_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
184
|
+
],
|
|
185
|
+
);
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.DeleteWebhookResponse
|
|
189
|
+
*/
|
|
190
|
+
export const DeleteWebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
191
|
+
"streamlayer.sdkSettings.organization.webhooks.DeleteWebhookResponse",
|
|
192
|
+
() => [
|
|
193
|
+
{ no: 1, name: "status", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
194
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
195
|
+
{ no: 3, name: "http_code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
196
|
+
],
|
|
197
|
+
);
|
|
198
|
+
|
|
175
199
|
/**
|
|
176
200
|
* @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest
|
|
177
201
|
*/
|