@nok-integration/storefront-react 0.18.5 → 0.19.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/dist/index.d.ts +22 -0
- package/dist/index.mjs +408 -164
- package/dist/standalone/storefront.mjs +408 -164
- package/dist/standalone/styles.css +136 -45
- package/dist/styles.css +136 -45
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5997,16 +5997,38 @@ declare const SupportTicketRequest: z.ZodObject<{
|
|
|
5997
5997
|
* a page showing another customer's data.
|
|
5998
5998
|
*/
|
|
5999
5999
|
image_url: z.ZodOptional<z.ZodString>;
|
|
6000
|
+
/**
|
|
6001
|
+
* The fan this ticket belongs to — **only when the caller is a DAZN service holding a
|
|
6002
|
+
* support API key**, and refused outright when the caller holds a shop session.
|
|
6003
|
+
*
|
|
6004
|
+
* Optional here because one field cannot be required of one caller and forbidden to
|
|
6005
|
+
* another in a single schema. The engine decides which rule applies from how the
|
|
6006
|
+
* request authenticated, and rejects the wrong combination either way: absent under a
|
|
6007
|
+
* key is a 400, present under a session is a 400.
|
|
6008
|
+
*
|
|
6009
|
+
* **This is not a relaxation of the rule it looks like a relaxation of.** The rule is
|
|
6010
|
+
* that an *untrusted* caller may not name the fan: a browser that could would let
|
|
6011
|
+
* anyone file a ticket as anyone, and CS would answer it in good faith with another
|
|
6012
|
+
* customer's account detail. A backend authenticated by a shared secret is not that
|
|
6013
|
+
* caller. It is authoritative for its own users in exactly the way order intake
|
|
6014
|
+
* already is when DAZN tells us whose order they have taken.
|
|
6015
|
+
*
|
|
6016
|
+
* Added for DAZN's Contact Support form, which lives outside the shop and therefore
|
|
6017
|
+
* has no shop session to read an identity from (21 Aug 2026).
|
|
6018
|
+
*/
|
|
6019
|
+
dazn_user_id: z.ZodOptional<z.ZodString>;
|
|
6000
6020
|
}, "strict", z.ZodTypeAny, {
|
|
6001
6021
|
email: string;
|
|
6002
6022
|
description: string;
|
|
6003
6023
|
category: string;
|
|
6004
6024
|
image_url?: string | undefined;
|
|
6025
|
+
dazn_user_id?: string | undefined;
|
|
6005
6026
|
}, {
|
|
6006
6027
|
email: string;
|
|
6007
6028
|
description: string;
|
|
6008
6029
|
category: string;
|
|
6009
6030
|
image_url?: string | undefined;
|
|
6031
|
+
dazn_user_id?: string | undefined;
|
|
6010
6032
|
}>;
|
|
6011
6033
|
|
|
6012
6034
|
declare type SupportTicketRequest = z.infer<typeof SupportTicketRequest>;
|