@streamlayer/sl-eslib 5.145.0 → 5.145.1
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
|
@@ -2084,14 +2084,16 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
|
|
|
2084
2084
|
/**
|
|
2085
2085
|
* save coupon from loaded from constructor url
|
|
2086
2086
|
*
|
|
2087
|
-
* @generated from field: string coupon_zip = 8;
|
|
2087
|
+
* @generated from field: string coupon_zip = 8 [deprecated = true];
|
|
2088
|
+
* @deprecated
|
|
2088
2089
|
*/
|
|
2089
2090
|
couponZip: string;
|
|
2090
2091
|
|
|
2091
2092
|
/**
|
|
2092
2093
|
* url to navigate from barcode
|
|
2093
2094
|
*
|
|
2094
|
-
* @generated from field: string coupon_barcode_url = 9;
|
|
2095
|
+
* @generated from field: string coupon_barcode_url = 9 [deprecated = true];
|
|
2096
|
+
* @deprecated
|
|
2095
2097
|
*/
|
|
2096
2098
|
couponBarcodeUrl: string;
|
|
2097
2099
|
|
|
@@ -2126,33 +2128,104 @@ export declare class QuestionOptions_PromotionOptions extends Message<QuestionOp
|
|
|
2126
2128
|
backgroundImagePortraitUrl?: string;
|
|
2127
2129
|
|
|
2128
2130
|
/**
|
|
2129
|
-
* @generated from
|
|
2131
|
+
* @generated from oneof streamlayer.interactive.QuestionOptions.PromotionOptions.button_options
|
|
2132
|
+
*/
|
|
2133
|
+
buttonOptions: {
|
|
2134
|
+
/**
|
|
2135
|
+
* @generated from field: streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions add_to_wallet_options = 16;
|
|
2136
|
+
*/
|
|
2137
|
+
value: QuestionOptions_PromotionOptions_AddToWalletOptions;
|
|
2138
|
+
case: "addToWalletOptions";
|
|
2139
|
+
} | {
|
|
2140
|
+
/**
|
|
2141
|
+
* @generated from field: streamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions send_to_user_options = 17;
|
|
2142
|
+
*/
|
|
2143
|
+
value: QuestionOptions_PromotionOptions_SendToUserOptions;
|
|
2144
|
+
case: "sendToUserOptions";
|
|
2145
|
+
} | { case: undefined; value?: undefined };
|
|
2146
|
+
|
|
2147
|
+
constructor(data?: PartialMessage<QuestionOptions_PromotionOptions>);
|
|
2148
|
+
|
|
2149
|
+
static readonly runtime: typeof proto3;
|
|
2150
|
+
static readonly typeName = "streamlayer.interactive.QuestionOptions.PromotionOptions";
|
|
2151
|
+
static readonly fields: FieldList;
|
|
2152
|
+
|
|
2153
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuestionOptions_PromotionOptions;
|
|
2154
|
+
|
|
2155
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuestionOptions_PromotionOptions;
|
|
2156
|
+
|
|
2157
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuestionOptions_PromotionOptions;
|
|
2158
|
+
|
|
2159
|
+
static equals(a: QuestionOptions_PromotionOptions | PlainMessage<QuestionOptions_PromotionOptions> | undefined, b: QuestionOptions_PromotionOptions | PlainMessage<QuestionOptions_PromotionOptions> | undefined): boolean;
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* @generated from message streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions
|
|
2164
|
+
*/
|
|
2165
|
+
export declare class QuestionOptions_PromotionOptions_AddToWalletOptions extends Message<QuestionOptions_PromotionOptions_AddToWalletOptions> {
|
|
2166
|
+
/**
|
|
2167
|
+
* save coupon from loaded from constructor url
|
|
2168
|
+
*
|
|
2169
|
+
* @generated from field: string coupon_zip = 1;
|
|
2170
|
+
*/
|
|
2171
|
+
couponZip: string;
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
* url to navigate from barcode
|
|
2175
|
+
*
|
|
2176
|
+
* @generated from field: string coupon_barcode_url = 2;
|
|
2130
2177
|
*/
|
|
2131
|
-
|
|
2178
|
+
couponBarcodeUrl: string;
|
|
2179
|
+
|
|
2180
|
+
constructor(data?: PartialMessage<QuestionOptions_PromotionOptions_AddToWalletOptions>);
|
|
2181
|
+
|
|
2182
|
+
static readonly runtime: typeof proto3;
|
|
2183
|
+
static readonly typeName = "streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions";
|
|
2184
|
+
static readonly fields: FieldList;
|
|
2185
|
+
|
|
2186
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuestionOptions_PromotionOptions_AddToWalletOptions;
|
|
2187
|
+
|
|
2188
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuestionOptions_PromotionOptions_AddToWalletOptions;
|
|
2189
|
+
|
|
2190
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuestionOptions_PromotionOptions_AddToWalletOptions;
|
|
2191
|
+
|
|
2192
|
+
static equals(a: QuestionOptions_PromotionOptions_AddToWalletOptions | PlainMessage<QuestionOptions_PromotionOptions_AddToWalletOptions> | undefined, b: QuestionOptions_PromotionOptions_AddToWalletOptions | PlainMessage<QuestionOptions_PromotionOptions_AddToWalletOptions> | undefined): boolean;
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
/**
|
|
2196
|
+
* @generated from message streamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions
|
|
2197
|
+
*/
|
|
2198
|
+
export declare class QuestionOptions_PromotionOptions_SendToUserOptions extends Message<QuestionOptions_PromotionOptions_SendToUserOptions> {
|
|
2199
|
+
/**
|
|
2200
|
+
* SDK User WebHook notificationType
|
|
2201
|
+
*
|
|
2202
|
+
* @generated from field: streamlayer.interactive.UserAccountInfo user_account_info = 1;
|
|
2203
|
+
*/
|
|
2204
|
+
userAccountInfo: UserAccountInfo;
|
|
2132
2205
|
|
|
2133
2206
|
/**
|
|
2134
|
-
* @generated from field: optional string
|
|
2207
|
+
* @generated from field: optional string secondary_button_label = 2;
|
|
2135
2208
|
*/
|
|
2136
|
-
|
|
2209
|
+
secondaryButtonLabel?: string;
|
|
2137
2210
|
|
|
2138
2211
|
/**
|
|
2139
|
-
* @generated from field: optional string secondary_button_url =
|
|
2212
|
+
* @generated from field: optional string secondary_button_url = 3;
|
|
2140
2213
|
*/
|
|
2141
2214
|
secondaryButtonUrl?: string;
|
|
2142
2215
|
|
|
2143
|
-
constructor(data?: PartialMessage<
|
|
2216
|
+
constructor(data?: PartialMessage<QuestionOptions_PromotionOptions_SendToUserOptions>);
|
|
2144
2217
|
|
|
2145
2218
|
static readonly runtime: typeof proto3;
|
|
2146
|
-
static readonly typeName = "streamlayer.interactive.QuestionOptions.PromotionOptions";
|
|
2219
|
+
static readonly typeName = "streamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions";
|
|
2147
2220
|
static readonly fields: FieldList;
|
|
2148
2221
|
|
|
2149
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
2222
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuestionOptions_PromotionOptions_SendToUserOptions;
|
|
2150
2223
|
|
|
2151
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
2224
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuestionOptions_PromotionOptions_SendToUserOptions;
|
|
2152
2225
|
|
|
2153
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
2226
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuestionOptions_PromotionOptions_SendToUserOptions;
|
|
2154
2227
|
|
|
2155
|
-
static equals(a:
|
|
2228
|
+
static equals(a: QuestionOptions_PromotionOptions_SendToUserOptions | PlainMessage<QuestionOptions_PromotionOptions_SendToUserOptions> | undefined, b: QuestionOptions_PromotionOptions_SendToUserOptions | PlainMessage<QuestionOptions_PromotionOptions_SendToUserOptions> | undefined): boolean;
|
|
2156
2229
|
}
|
|
2157
2230
|
|
|
2158
2231
|
/**
|
|
@@ -722,13 +722,37 @@ export const QuestionOptions_PromotionOptions = /*@__PURE__*/ proto3.makeMessage
|
|
|
722
722
|
{ no: 13, name: "auto_play_video", kind: "enum", T: proto3.getEnumType(AutoPlayVideo), opt: true },
|
|
723
723
|
{ no: 14, name: "background_image_landscape_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
724
724
|
{ no: 15, name: "background_image_portrait_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
725
|
-
{ no: 16, name: "
|
|
726
|
-
{ no: 17, name: "
|
|
727
|
-
{ no: 18, name: "secondary_button_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
725
|
+
{ no: 16, name: "add_to_wallet_options", kind: "message", T: QuestionOptions_PromotionOptions_AddToWalletOptions, oneof: "button_options" },
|
|
726
|
+
{ no: 17, name: "send_to_user_options", kind: "message", T: QuestionOptions_PromotionOptions_SendToUserOptions, oneof: "button_options" },
|
|
728
727
|
],
|
|
729
728
|
{localName: "QuestionOptions_PromotionOptions"},
|
|
730
729
|
);
|
|
731
730
|
|
|
731
|
+
/**
|
|
732
|
+
* @generated from message streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions
|
|
733
|
+
*/
|
|
734
|
+
export const QuestionOptions_PromotionOptions_AddToWalletOptions = /*@__PURE__*/ proto3.makeMessageType(
|
|
735
|
+
"streamlayer.interactive.QuestionOptions.PromotionOptions.AddToWalletOptions",
|
|
736
|
+
() => [
|
|
737
|
+
{ no: 1, name: "coupon_zip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
738
|
+
{ no: 2, name: "coupon_barcode_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
739
|
+
],
|
|
740
|
+
{localName: "QuestionOptions_PromotionOptions_AddToWalletOptions"},
|
|
741
|
+
);
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* @generated from message streamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions
|
|
745
|
+
*/
|
|
746
|
+
export const QuestionOptions_PromotionOptions_SendToUserOptions = /*@__PURE__*/ proto3.makeMessageType(
|
|
747
|
+
"streamlayer.interactive.QuestionOptions.PromotionOptions.SendToUserOptions",
|
|
748
|
+
() => [
|
|
749
|
+
{ no: 1, name: "user_account_info", kind: "enum", T: proto3.getEnumType(UserAccountInfo) },
|
|
750
|
+
{ no: 2, name: "secondary_button_label", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
751
|
+
{ no: 3, name: "secondary_button_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
752
|
+
],
|
|
753
|
+
{localName: "QuestionOptions_PromotionOptions_SendToUserOptions"},
|
|
754
|
+
);
|
|
755
|
+
|
|
732
756
|
/**
|
|
733
757
|
* @generated from message streamlayer.interactive.Tag
|
|
734
758
|
*/
|