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