@streamlayer/sl-eslib 5.145.1 → 5.145.3
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 +13 -5
- package/streamlayer/interactive/interactive.common_pb.js +3 -2
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_pb.d.ts +11 -11
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_pb.js +6 -6
package/package.json
CHANGED
|
@@ -2072,7 +2072,10 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
|
|
|
2072
2072
|
additionalBanner?: Banner;
|
|
2073
2073
|
|
|
2074
2074
|
/**
|
|
2075
|
-
*
|
|
2075
|
+
* use add_to_wallet_options
|
|
2076
|
+
*
|
|
2077
|
+
* @generated from field: string coupon = 6 [deprecated = true];
|
|
2078
|
+
* @deprecated
|
|
2076
2079
|
*/
|
|
2077
2080
|
coupon: string;
|
|
2078
2081
|
|
|
@@ -2082,7 +2085,7 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
|
|
|
2082
2085
|
logoMode: PromotionLogoMode;
|
|
2083
2086
|
|
|
2084
2087
|
/**
|
|
2085
|
-
*
|
|
2088
|
+
* use add_to_wallet_options
|
|
2086
2089
|
*
|
|
2087
2090
|
* @generated from field: string coupon_zip = 8 [deprecated = true];
|
|
2088
2091
|
* @deprecated
|
|
@@ -2090,7 +2093,7 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
|
|
|
2090
2093
|
couponZip: string;
|
|
2091
2094
|
|
|
2092
2095
|
/**
|
|
2093
|
-
*
|
|
2096
|
+
* use add_to_wallet_options
|
|
2094
2097
|
*
|
|
2095
2098
|
* @generated from field: string coupon_barcode_url = 9 [deprecated = true];
|
|
2096
2099
|
* @deprecated
|
|
@@ -2163,17 +2166,22 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
|
|
|
2163
2166
|
* @generated from message streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions
|
|
2164
2167
|
*/
|
|
2165
2168
|
export declare class QuestionOptions_PromotionOptions_AddToWalletOptions extends Message<QuestionOptions_PromotionOptions_AddToWalletOptions> {
|
|
2169
|
+
/**
|
|
2170
|
+
* @generated from field: string coupon = 1;
|
|
2171
|
+
*/
|
|
2172
|
+
coupon: string;
|
|
2173
|
+
|
|
2166
2174
|
/**
|
|
2167
2175
|
* save coupon from loaded from constructor url
|
|
2168
2176
|
*
|
|
2169
|
-
* @generated from field: string coupon_zip =
|
|
2177
|
+
* @generated from field: string coupon_zip = 2;
|
|
2170
2178
|
*/
|
|
2171
2179
|
couponZip: string;
|
|
2172
2180
|
|
|
2173
2181
|
/**
|
|
2174
2182
|
* url to navigate from barcode
|
|
2175
2183
|
*
|
|
2176
|
-
* @generated from field: string coupon_barcode_url =
|
|
2184
|
+
* @generated from field: string coupon_barcode_url = 3;
|
|
2177
2185
|
*/
|
|
2178
2186
|
couponBarcodeUrl: string;
|
|
2179
2187
|
|
|
@@ -734,8 +734,9 @@ export const QuestionOptions_PromotionOptions = /*@__PURE__*/ proto3.makeMessage
|
|
|
734
734
|
export const QuestionOptions_PromotionOptions_AddToWalletOptions = /*@__PURE__*/ proto3.makeMessageType(
|
|
735
735
|
"streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions",
|
|
736
736
|
() => [
|
|
737
|
-
{ no: 1, name: "
|
|
738
|
-
{ no: 2, name: "
|
|
737
|
+
{ no: 1, name: "coupon", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
738
|
+
{ no: 2, name: "coupon_zip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
739
|
+
{ no: 3, name: "coupon_barcode_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
739
740
|
],
|
|
740
741
|
{localName: "QuestionOptions_PromotionOptions_AddToWalletOptions"},
|
|
741
742
|
);
|
|
@@ -149,16 +149,16 @@ export declare class CreateWebhookRequest extends Message<CreateWebhookRequest>
|
|
|
149
149
|
/**
|
|
150
150
|
* Webhook name
|
|
151
151
|
*
|
|
152
|
-
* @generated from field: string
|
|
152
|
+
* @generated from field: string title = 4;
|
|
153
153
|
*/
|
|
154
|
-
|
|
154
|
+
title: string;
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* Webhook description
|
|
158
158
|
*
|
|
159
|
-
* @generated from field: string description = 5;
|
|
159
|
+
* @generated from field: optional string description = 5;
|
|
160
160
|
*/
|
|
161
|
-
description
|
|
161
|
+
description?: string;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
164
|
* Events to trigger the webhook
|
|
@@ -177,28 +177,28 @@ export declare class CreateWebhookRequest extends Message<CreateWebhookRequest>
|
|
|
177
177
|
/**
|
|
178
178
|
* Target endpoint authentication
|
|
179
179
|
*
|
|
180
|
-
* @generated from field: streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 8;
|
|
180
|
+
* @generated from field: optional streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 8;
|
|
181
181
|
*/
|
|
182
182
|
apiKey?: ApiKey;
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
185
|
* Duration in seconds for which the webhook is valid
|
|
186
186
|
*
|
|
187
|
-
* @generated from field: uint32 duration = 9;
|
|
187
|
+
* @generated from field: optional uint32 duration = 9;
|
|
188
188
|
*/
|
|
189
|
-
duration
|
|
189
|
+
duration?: number;
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* Rate limit for webhook requests
|
|
193
193
|
*
|
|
194
|
-
* @generated from field: uint32 limit = 10;
|
|
194
|
+
* @generated from field: optional uint32 limit = 10;
|
|
195
195
|
*/
|
|
196
|
-
limit
|
|
196
|
+
limit?: number;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
|
-
* @generated from field: bool is_disabled = 11;
|
|
199
|
+
* @generated from field: optional bool is_disabled = 11;
|
|
200
200
|
*/
|
|
201
|
-
isDisabled
|
|
201
|
+
isDisabled?: boolean;
|
|
202
202
|
|
|
203
203
|
constructor(data?: PartialMessage<CreateWebhookRequest>);
|
|
204
204
|
|
|
@@ -65,14 +65,14 @@ export const CreateWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
65
65
|
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
66
66
|
{ no: 2, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
67
67
|
{ no: 3, name: "question_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
68
|
-
{ no: 4, name: "
|
|
69
|
-
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING
|
|
68
|
+
{ no: 4, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
69
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
70
70
|
{ no: 6, name: "events", kind: "enum", T: proto3.getEnumType(WebhookEvent), repeated: true },
|
|
71
71
|
{ no: 7, name: "target_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
72
|
-
{ no: 8, name: "api_key", kind: "message", T: ApiKey },
|
|
73
|
-
{ no: 9, name: "duration", kind: "scalar", T: 13 /* ScalarType.UINT32
|
|
74
|
-
{ no: 10, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32
|
|
75
|
-
{ no: 11, name: "is_disabled", kind: "scalar", T: 8 /* ScalarType.BOOL
|
|
72
|
+
{ no: 8, name: "api_key", kind: "message", T: ApiKey, opt: true },
|
|
73
|
+
{ no: 9, name: "duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
74
|
+
{ no: 10, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
75
|
+
{ no: 11, name: "is_disabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
76
76
|
],
|
|
77
77
|
);
|
|
78
78
|
|