ce-storefront 0.15.7 → 0.15.8
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/README.md +2 -21
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/components/index.d.ts +0 -2
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +0 -2
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/operations/index.d.ts +0 -8
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +0 -8
- package/esm/models/operations/index.js.map +1 -1
- package/esm/sdk/sdk.d.ts +0 -3
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -4
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/index.ts +0 -2
- package/src/models/operations/index.ts +0 -8
- package/src/sdk/sdk.ts +0 -6
- package/docs/sdks/pos/README.md +0 -610
- package/esm/funcs/posCreatePosCart.d.ts +0 -17
- package/esm/funcs/posCreatePosCart.d.ts.map +0 -1
- package/esm/funcs/posCreatePosCart.js +0 -80
- package/esm/funcs/posCreatePosCart.js.map +0 -1
- package/esm/funcs/posLoginPosDeviceWithEmail.d.ts +0 -17
- package/esm/funcs/posLoginPosDeviceWithEmail.d.ts.map +0 -1
- package/esm/funcs/posLoginPosDeviceWithEmail.js +0 -85
- package/esm/funcs/posLoginPosDeviceWithEmail.js.map +0 -1
- package/esm/funcs/posLoginPosDeviceWithPhone.d.ts +0 -17
- package/esm/funcs/posLoginPosDeviceWithPhone.d.ts.map +0 -1
- package/esm/funcs/posLoginPosDeviceWithPhone.js +0 -85
- package/esm/funcs/posLoginPosDeviceWithPhone.js.map +0 -1
- package/esm/funcs/posLoginPosDeviceWithWhatsapp.d.ts +0 -17
- package/esm/funcs/posLoginPosDeviceWithWhatsapp.d.ts.map +0 -1
- package/esm/funcs/posLoginPosDeviceWithWhatsapp.js +0 -85
- package/esm/funcs/posLoginPosDeviceWithWhatsapp.js.map +0 -1
- package/esm/funcs/posPairPosDevice.d.ts +0 -17
- package/esm/funcs/posPairPosDevice.d.ts.map +0 -1
- package/esm/funcs/posPairPosDevice.js +0 -84
- package/esm/funcs/posPairPosDevice.js.map +0 -1
- package/esm/funcs/posRefreshPosAccessToken.d.ts +0 -17
- package/esm/funcs/posRefreshPosAccessToken.d.ts.map +0 -1
- package/esm/funcs/posRefreshPosAccessToken.js +0 -81
- package/esm/funcs/posRefreshPosAccessToken.js.map +0 -1
- package/esm/funcs/posUpdatePosCart.d.ts +0 -17
- package/esm/funcs/posUpdatePosCart.d.ts.map +0 -1
- package/esm/funcs/posUpdatePosCart.js +0 -84
- package/esm/funcs/posUpdatePosCart.js.map +0 -1
- package/esm/funcs/posVerifyPosLoginOtp.d.ts +0 -17
- package/esm/funcs/posVerifyPosLoginOtp.d.ts.map +0 -1
- package/esm/funcs/posVerifyPosLoginOtp.js +0 -84
- package/esm/funcs/posVerifyPosLoginOtp.js.map +0 -1
- package/esm/models/components/posdevice.d.ts +0 -71
- package/esm/models/components/posdevice.d.ts.map +0 -1
- package/esm/models/components/posdevice.js +0 -85
- package/esm/models/components/posdevice.js.map +0 -1
- package/esm/models/components/posuser.d.ts +0 -124
- package/esm/models/components/posuser.d.ts.map +0 -1
- package/esm/models/components/posuser.js +0 -139
- package/esm/models/components/posuser.js.map +0 -1
- package/esm/models/operations/createposcart.d.ts +0 -90
- package/esm/models/operations/createposcart.d.ts.map +0 -1
- package/esm/models/operations/createposcart.js +0 -86
- package/esm/models/operations/createposcart.js.map +0 -1
- package/esm/models/operations/loginposdevicewithemail.d.ts +0 -138
- package/esm/models/operations/loginposdevicewithemail.d.ts.map +0 -1
- package/esm/models/operations/loginposdevicewithemail.js +0 -159
- package/esm/models/operations/loginposdevicewithemail.js.map +0 -1
- package/esm/models/operations/loginposdevicewithphone.d.ts +0 -146
- package/esm/models/operations/loginposdevicewithphone.d.ts.map +0 -1
- package/esm/models/operations/loginposdevicewithphone.js +0 -163
- package/esm/models/operations/loginposdevicewithphone.js.map +0 -1
- package/esm/models/operations/loginposdevicewithwhatsapp.d.ts +0 -146
- package/esm/models/operations/loginposdevicewithwhatsapp.d.ts.map +0 -1
- package/esm/models/operations/loginposdevicewithwhatsapp.js +0 -163
- package/esm/models/operations/loginposdevicewithwhatsapp.js.map +0 -1
- package/esm/models/operations/pairposdevice.d.ts +0 -112
- package/esm/models/operations/pairposdevice.d.ts.map +0 -1
- package/esm/models/operations/pairposdevice.js +0 -128
- package/esm/models/operations/pairposdevice.js.map +0 -1
- package/esm/models/operations/refreshposaccesstoken.d.ts +0 -88
- package/esm/models/operations/refreshposaccesstoken.d.ts.map +0 -1
- package/esm/models/operations/refreshposaccesstoken.js +0 -106
- package/esm/models/operations/refreshposaccesstoken.js.map +0 -1
- package/esm/models/operations/updateposcart.d.ts +0 -120
- package/esm/models/operations/updateposcart.d.ts.map +0 -1
- package/esm/models/operations/updateposcart.js +0 -122
- package/esm/models/operations/updateposcart.js.map +0 -1
- package/esm/models/operations/verifyposloginotp.d.ts +0 -158
- package/esm/models/operations/verifyposloginotp.d.ts.map +0 -1
- package/esm/models/operations/verifyposloginotp.js +0 -169
- package/esm/models/operations/verifyposloginotp.js.map +0 -1
- package/esm/sdk/pos.d.ts +0 -61
- package/esm/sdk/pos.d.ts.map +0 -1
- package/esm/sdk/pos.js +0 -88
- package/esm/sdk/pos.js.map +0 -1
- package/src/funcs/posCreatePosCart.ts +0 -165
- package/src/funcs/posLoginPosDeviceWithEmail.ts +0 -173
- package/src/funcs/posLoginPosDeviceWithPhone.ts +0 -173
- package/src/funcs/posLoginPosDeviceWithWhatsapp.ts +0 -176
- package/src/funcs/posPairPosDevice.ts +0 -174
- package/src/funcs/posRefreshPosAccessToken.ts +0 -164
- package/src/funcs/posUpdatePosCart.ts +0 -167
- package/src/funcs/posVerifyPosLoginOtp.ts +0 -174
- package/src/models/components/posdevice.ts +0 -141
- package/src/models/components/posuser.ts +0 -263
- package/src/models/operations/createposcart.ts +0 -197
- package/src/models/operations/loginposdevicewithemail.ts +0 -328
- package/src/models/operations/loginposdevicewithphone.ts +0 -340
- package/src/models/operations/loginposdevicewithwhatsapp.ts +0 -347
- package/src/models/operations/pairposdevice.ts +0 -269
- package/src/models/operations/refreshposaccesstoken.ts +0 -223
- package/src/models/operations/updateposcart.ts +0 -271
- package/src/models/operations/verifyposloginotp.ts +0 -345
- package/src/sdk/pos.ts +0 -163
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginposdevicewithemail.js","sourceRoot":"","sources":["../../../src/models/operations/loginposdevicewithemail.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAcjD,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,KAAK,EAAE,OAAO;CACN,CAAC;AAmBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,WAAW,EAAE,SAAS;KACvB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,OAAO,EAAE,WAAW;KACrB,CA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AAkD,GAI3D,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,6CAA6C,CAAC;CACrE,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,oCAAoC,CASpD;AATD,WAAiB,oCAAoC;IACnD,mFAAmF;IACtE,kDAAa,GACxB,iDAAiD,CAAC;IACpD,oFAAoF;IACvE,mDAAc,GACzB,kDAAkD,CAAC;AAGvD,CAAC,EATgB,oCAAoC,KAApC,oCAAoC,QASpD;AAED,MAAM,UAAU,yCAAyC,CACvD,mCAAwE;IAExE,OAAO,IAAI,CAAC,SAAS,CACnB,kDAAkD,CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,2CAA2C,CACzD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
export type LoginPosDeviceWithPhoneSecurity = {
|
|
6
|
-
xApiKey: string;
|
|
7
|
-
};
|
|
8
|
-
export type LoginPosDeviceWithPhoneRequestBody = {
|
|
9
|
-
deviceId: string;
|
|
10
|
-
/**
|
|
11
|
-
* 10 digit phone number without country code.
|
|
12
|
-
*/
|
|
13
|
-
phone: string;
|
|
14
|
-
/**
|
|
15
|
-
* Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
16
|
-
*/
|
|
17
|
-
countryCode?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
export declare const LoginPosDeviceWithPhoneOtpAction: {
|
|
20
|
-
readonly Login: "login";
|
|
21
|
-
};
|
|
22
|
-
export type LoginPosDeviceWithPhoneOtpAction = ClosedEnum<typeof LoginPosDeviceWithPhoneOtpAction>;
|
|
23
|
-
export type LoginPosDeviceWithPhoneContent = {
|
|
24
|
-
otpToken: string;
|
|
25
|
-
otpAction: LoginPosDeviceWithPhoneOtpAction;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* OK
|
|
29
|
-
*/
|
|
30
|
-
export type LoginPosDeviceWithPhoneResponseBody = {
|
|
31
|
-
message: string;
|
|
32
|
-
success: string;
|
|
33
|
-
content: LoginPosDeviceWithPhoneContent;
|
|
34
|
-
};
|
|
35
|
-
/** @internal */
|
|
36
|
-
export declare const LoginPosDeviceWithPhoneSecurity$inboundSchema: z.ZodType<LoginPosDeviceWithPhoneSecurity, z.ZodTypeDef, unknown>;
|
|
37
|
-
/** @internal */
|
|
38
|
-
export type LoginPosDeviceWithPhoneSecurity$Outbound = {
|
|
39
|
-
"X-Api-Key": string;
|
|
40
|
-
};
|
|
41
|
-
/** @internal */
|
|
42
|
-
export declare const LoginPosDeviceWithPhoneSecurity$outboundSchema: z.ZodType<LoginPosDeviceWithPhoneSecurity$Outbound, z.ZodTypeDef, LoginPosDeviceWithPhoneSecurity>;
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
-
*/
|
|
47
|
-
export declare namespace LoginPosDeviceWithPhoneSecurity$ {
|
|
48
|
-
/** @deprecated use `LoginPosDeviceWithPhoneSecurity$inboundSchema` instead. */
|
|
49
|
-
const inboundSchema: z.ZodType<LoginPosDeviceWithPhoneSecurity, z.ZodTypeDef, unknown>;
|
|
50
|
-
/** @deprecated use `LoginPosDeviceWithPhoneSecurity$outboundSchema` instead. */
|
|
51
|
-
const outboundSchema: z.ZodType<LoginPosDeviceWithPhoneSecurity$Outbound, z.ZodTypeDef, LoginPosDeviceWithPhoneSecurity>;
|
|
52
|
-
/** @deprecated use `LoginPosDeviceWithPhoneSecurity$Outbound` instead. */
|
|
53
|
-
type Outbound = LoginPosDeviceWithPhoneSecurity$Outbound;
|
|
54
|
-
}
|
|
55
|
-
export declare function loginPosDeviceWithPhoneSecurityToJSON(loginPosDeviceWithPhoneSecurity: LoginPosDeviceWithPhoneSecurity): string;
|
|
56
|
-
export declare function loginPosDeviceWithPhoneSecurityFromJSON(jsonString: string): SafeParseResult<LoginPosDeviceWithPhoneSecurity, SDKValidationError>;
|
|
57
|
-
/** @internal */
|
|
58
|
-
export declare const LoginPosDeviceWithPhoneRequestBody$inboundSchema: z.ZodType<LoginPosDeviceWithPhoneRequestBody, z.ZodTypeDef, unknown>;
|
|
59
|
-
/** @internal */
|
|
60
|
-
export type LoginPosDeviceWithPhoneRequestBody$Outbound = {
|
|
61
|
-
device_id: string;
|
|
62
|
-
phone: string;
|
|
63
|
-
country_code: string;
|
|
64
|
-
};
|
|
65
|
-
/** @internal */
|
|
66
|
-
export declare const LoginPosDeviceWithPhoneRequestBody$outboundSchema: z.ZodType<LoginPosDeviceWithPhoneRequestBody$Outbound, z.ZodTypeDef, LoginPosDeviceWithPhoneRequestBody>;
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
70
|
-
*/
|
|
71
|
-
export declare namespace LoginPosDeviceWithPhoneRequestBody$ {
|
|
72
|
-
/** @deprecated use `LoginPosDeviceWithPhoneRequestBody$inboundSchema` instead. */
|
|
73
|
-
const inboundSchema: z.ZodType<LoginPosDeviceWithPhoneRequestBody, z.ZodTypeDef, unknown>;
|
|
74
|
-
/** @deprecated use `LoginPosDeviceWithPhoneRequestBody$outboundSchema` instead. */
|
|
75
|
-
const outboundSchema: z.ZodType<LoginPosDeviceWithPhoneRequestBody$Outbound, z.ZodTypeDef, LoginPosDeviceWithPhoneRequestBody>;
|
|
76
|
-
/** @deprecated use `LoginPosDeviceWithPhoneRequestBody$Outbound` instead. */
|
|
77
|
-
type Outbound = LoginPosDeviceWithPhoneRequestBody$Outbound;
|
|
78
|
-
}
|
|
79
|
-
export declare function loginPosDeviceWithPhoneRequestBodyToJSON(loginPosDeviceWithPhoneRequestBody: LoginPosDeviceWithPhoneRequestBody): string;
|
|
80
|
-
export declare function loginPosDeviceWithPhoneRequestBodyFromJSON(jsonString: string): SafeParseResult<LoginPosDeviceWithPhoneRequestBody, SDKValidationError>;
|
|
81
|
-
/** @internal */
|
|
82
|
-
export declare const LoginPosDeviceWithPhoneOtpAction$inboundSchema: z.ZodNativeEnum<typeof LoginPosDeviceWithPhoneOtpAction>;
|
|
83
|
-
/** @internal */
|
|
84
|
-
export declare const LoginPosDeviceWithPhoneOtpAction$outboundSchema: z.ZodNativeEnum<typeof LoginPosDeviceWithPhoneOtpAction>;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
-
*/
|
|
89
|
-
export declare namespace LoginPosDeviceWithPhoneOtpAction$ {
|
|
90
|
-
/** @deprecated use `LoginPosDeviceWithPhoneOtpAction$inboundSchema` instead. */
|
|
91
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
92
|
-
readonly Login: "login";
|
|
93
|
-
}>;
|
|
94
|
-
/** @deprecated use `LoginPosDeviceWithPhoneOtpAction$outboundSchema` instead. */
|
|
95
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
96
|
-
readonly Login: "login";
|
|
97
|
-
}>;
|
|
98
|
-
}
|
|
99
|
-
/** @internal */
|
|
100
|
-
export declare const LoginPosDeviceWithPhoneContent$inboundSchema: z.ZodType<LoginPosDeviceWithPhoneContent, z.ZodTypeDef, unknown>;
|
|
101
|
-
/** @internal */
|
|
102
|
-
export type LoginPosDeviceWithPhoneContent$Outbound = {
|
|
103
|
-
otp_token: string;
|
|
104
|
-
otp_action: string;
|
|
105
|
-
};
|
|
106
|
-
/** @internal */
|
|
107
|
-
export declare const LoginPosDeviceWithPhoneContent$outboundSchema: z.ZodType<LoginPosDeviceWithPhoneContent$Outbound, z.ZodTypeDef, LoginPosDeviceWithPhoneContent>;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
111
|
-
*/
|
|
112
|
-
export declare namespace LoginPosDeviceWithPhoneContent$ {
|
|
113
|
-
/** @deprecated use `LoginPosDeviceWithPhoneContent$inboundSchema` instead. */
|
|
114
|
-
const inboundSchema: z.ZodType<LoginPosDeviceWithPhoneContent, z.ZodTypeDef, unknown>;
|
|
115
|
-
/** @deprecated use `LoginPosDeviceWithPhoneContent$outboundSchema` instead. */
|
|
116
|
-
const outboundSchema: z.ZodType<LoginPosDeviceWithPhoneContent$Outbound, z.ZodTypeDef, LoginPosDeviceWithPhoneContent>;
|
|
117
|
-
/** @deprecated use `LoginPosDeviceWithPhoneContent$Outbound` instead. */
|
|
118
|
-
type Outbound = LoginPosDeviceWithPhoneContent$Outbound;
|
|
119
|
-
}
|
|
120
|
-
export declare function loginPosDeviceWithPhoneContentToJSON(loginPosDeviceWithPhoneContent: LoginPosDeviceWithPhoneContent): string;
|
|
121
|
-
export declare function loginPosDeviceWithPhoneContentFromJSON(jsonString: string): SafeParseResult<LoginPosDeviceWithPhoneContent, SDKValidationError>;
|
|
122
|
-
/** @internal */
|
|
123
|
-
export declare const LoginPosDeviceWithPhoneResponseBody$inboundSchema: z.ZodType<LoginPosDeviceWithPhoneResponseBody, z.ZodTypeDef, unknown>;
|
|
124
|
-
/** @internal */
|
|
125
|
-
export type LoginPosDeviceWithPhoneResponseBody$Outbound = {
|
|
126
|
-
message: string;
|
|
127
|
-
success: string;
|
|
128
|
-
content: LoginPosDeviceWithPhoneContent$Outbound;
|
|
129
|
-
};
|
|
130
|
-
/** @internal */
|
|
131
|
-
export declare const LoginPosDeviceWithPhoneResponseBody$outboundSchema: z.ZodType<LoginPosDeviceWithPhoneResponseBody$Outbound, z.ZodTypeDef, LoginPosDeviceWithPhoneResponseBody>;
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
135
|
-
*/
|
|
136
|
-
export declare namespace LoginPosDeviceWithPhoneResponseBody$ {
|
|
137
|
-
/** @deprecated use `LoginPosDeviceWithPhoneResponseBody$inboundSchema` instead. */
|
|
138
|
-
const inboundSchema: z.ZodType<LoginPosDeviceWithPhoneResponseBody, z.ZodTypeDef, unknown>;
|
|
139
|
-
/** @deprecated use `LoginPosDeviceWithPhoneResponseBody$outboundSchema` instead. */
|
|
140
|
-
const outboundSchema: z.ZodType<LoginPosDeviceWithPhoneResponseBody$Outbound, z.ZodTypeDef, LoginPosDeviceWithPhoneResponseBody>;
|
|
141
|
-
/** @deprecated use `LoginPosDeviceWithPhoneResponseBody$Outbound` instead. */
|
|
142
|
-
type Outbound = LoginPosDeviceWithPhoneResponseBody$Outbound;
|
|
143
|
-
}
|
|
144
|
-
export declare function loginPosDeviceWithPhoneResponseBodyToJSON(loginPosDeviceWithPhoneResponseBody: LoginPosDeviceWithPhoneResponseBody): string;
|
|
145
|
-
export declare function loginPosDeviceWithPhoneResponseBodyFromJSON(jsonString: string): SafeParseResult<LoginPosDeviceWithPhoneResponseBody, SDKValidationError>;
|
|
146
|
-
//# sourceMappingURL=loginposdevicewithphone.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginposdevicewithphone.d.ts","sourceRoot":"","sources":["../../../src/models/operations/loginposdevicewithphone.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAA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xE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAKnC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oCAAoC,CAAC;IACpD,mFAAmF;IAC5E,MAAM,aAAa,uEACyB,CAAC;IACpD,oFAAoF;IAC7E,MAAM,cAAc,4GACyB,CAAC;IACrD,8EAA8E;IAC9E,KAAY,QAAQ,GAAG,4CAA4C,CAAC;CACrE;AAED,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AAED,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod";
|
|
5
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
export const LoginPosDeviceWithPhoneOtpAction = {
|
|
8
|
-
Login: "login",
|
|
9
|
-
};
|
|
10
|
-
/** @internal */
|
|
11
|
-
export const LoginPosDeviceWithPhoneSecurity$inboundSchema = z.object({
|
|
12
|
-
"X-Api-Key": z.string(),
|
|
13
|
-
}).transform((v) => {
|
|
14
|
-
return remap$(v, {
|
|
15
|
-
"X-Api-Key": "xApiKey",
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
/** @internal */
|
|
19
|
-
export const LoginPosDeviceWithPhoneSecurity$outboundSchema = z.object({
|
|
20
|
-
xApiKey: z.string(),
|
|
21
|
-
}).transform((v) => {
|
|
22
|
-
return remap$(v, {
|
|
23
|
-
xApiKey: "X-Api-Key",
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export var LoginPosDeviceWithPhoneSecurity$;
|
|
31
|
-
(function (LoginPosDeviceWithPhoneSecurity$) {
|
|
32
|
-
/** @deprecated use `LoginPosDeviceWithPhoneSecurity$inboundSchema` instead. */
|
|
33
|
-
LoginPosDeviceWithPhoneSecurity$.inboundSchema = LoginPosDeviceWithPhoneSecurity$inboundSchema;
|
|
34
|
-
/** @deprecated use `LoginPosDeviceWithPhoneSecurity$outboundSchema` instead. */
|
|
35
|
-
LoginPosDeviceWithPhoneSecurity$.outboundSchema = LoginPosDeviceWithPhoneSecurity$outboundSchema;
|
|
36
|
-
})(LoginPosDeviceWithPhoneSecurity$ || (LoginPosDeviceWithPhoneSecurity$ = {}));
|
|
37
|
-
export function loginPosDeviceWithPhoneSecurityToJSON(loginPosDeviceWithPhoneSecurity) {
|
|
38
|
-
return JSON.stringify(LoginPosDeviceWithPhoneSecurity$outboundSchema.parse(loginPosDeviceWithPhoneSecurity));
|
|
39
|
-
}
|
|
40
|
-
export function loginPosDeviceWithPhoneSecurityFromJSON(jsonString) {
|
|
41
|
-
return safeParse(jsonString, (x) => LoginPosDeviceWithPhoneSecurity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoginPosDeviceWithPhoneSecurity' from JSON`);
|
|
42
|
-
}
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const LoginPosDeviceWithPhoneRequestBody$inboundSchema = z.object({
|
|
45
|
-
device_id: z.string(),
|
|
46
|
-
phone: z.string(),
|
|
47
|
-
country_code: z.string().default("+91"),
|
|
48
|
-
}).transform((v) => {
|
|
49
|
-
return remap$(v, {
|
|
50
|
-
"device_id": "deviceId",
|
|
51
|
-
"country_code": "countryCode",
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
/** @internal */
|
|
55
|
-
export const LoginPosDeviceWithPhoneRequestBody$outboundSchema = z.object({
|
|
56
|
-
deviceId: z.string(),
|
|
57
|
-
phone: z.string(),
|
|
58
|
-
countryCode: z.string().default("+91"),
|
|
59
|
-
}).transform((v) => {
|
|
60
|
-
return remap$(v, {
|
|
61
|
-
deviceId: "device_id",
|
|
62
|
-
countryCode: "country_code",
|
|
63
|
-
});
|
|
64
|
-
});
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
|
-
*/
|
|
69
|
-
export var LoginPosDeviceWithPhoneRequestBody$;
|
|
70
|
-
(function (LoginPosDeviceWithPhoneRequestBody$) {
|
|
71
|
-
/** @deprecated use `LoginPosDeviceWithPhoneRequestBody$inboundSchema` instead. */
|
|
72
|
-
LoginPosDeviceWithPhoneRequestBody$.inboundSchema = LoginPosDeviceWithPhoneRequestBody$inboundSchema;
|
|
73
|
-
/** @deprecated use `LoginPosDeviceWithPhoneRequestBody$outboundSchema` instead. */
|
|
74
|
-
LoginPosDeviceWithPhoneRequestBody$.outboundSchema = LoginPosDeviceWithPhoneRequestBody$outboundSchema;
|
|
75
|
-
})(LoginPosDeviceWithPhoneRequestBody$ || (LoginPosDeviceWithPhoneRequestBody$ = {}));
|
|
76
|
-
export function loginPosDeviceWithPhoneRequestBodyToJSON(loginPosDeviceWithPhoneRequestBody) {
|
|
77
|
-
return JSON.stringify(LoginPosDeviceWithPhoneRequestBody$outboundSchema.parse(loginPosDeviceWithPhoneRequestBody));
|
|
78
|
-
}
|
|
79
|
-
export function loginPosDeviceWithPhoneRequestBodyFromJSON(jsonString) {
|
|
80
|
-
return safeParse(jsonString, (x) => LoginPosDeviceWithPhoneRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoginPosDeviceWithPhoneRequestBody' from JSON`);
|
|
81
|
-
}
|
|
82
|
-
/** @internal */
|
|
83
|
-
export const LoginPosDeviceWithPhoneOtpAction$inboundSchema = z.nativeEnum(LoginPosDeviceWithPhoneOtpAction);
|
|
84
|
-
/** @internal */
|
|
85
|
-
export const LoginPosDeviceWithPhoneOtpAction$outboundSchema = LoginPosDeviceWithPhoneOtpAction$inboundSchema;
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
89
|
-
*/
|
|
90
|
-
export var LoginPosDeviceWithPhoneOtpAction$;
|
|
91
|
-
(function (LoginPosDeviceWithPhoneOtpAction$) {
|
|
92
|
-
/** @deprecated use `LoginPosDeviceWithPhoneOtpAction$inboundSchema` instead. */
|
|
93
|
-
LoginPosDeviceWithPhoneOtpAction$.inboundSchema = LoginPosDeviceWithPhoneOtpAction$inboundSchema;
|
|
94
|
-
/** @deprecated use `LoginPosDeviceWithPhoneOtpAction$outboundSchema` instead. */
|
|
95
|
-
LoginPosDeviceWithPhoneOtpAction$.outboundSchema = LoginPosDeviceWithPhoneOtpAction$outboundSchema;
|
|
96
|
-
})(LoginPosDeviceWithPhoneOtpAction$ || (LoginPosDeviceWithPhoneOtpAction$ = {}));
|
|
97
|
-
/** @internal */
|
|
98
|
-
export const LoginPosDeviceWithPhoneContent$inboundSchema = z.object({
|
|
99
|
-
otp_token: z.string(),
|
|
100
|
-
otp_action: LoginPosDeviceWithPhoneOtpAction$inboundSchema,
|
|
101
|
-
}).transform((v) => {
|
|
102
|
-
return remap$(v, {
|
|
103
|
-
"otp_token": "otpToken",
|
|
104
|
-
"otp_action": "otpAction",
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
/** @internal */
|
|
108
|
-
export const LoginPosDeviceWithPhoneContent$outboundSchema = z.object({
|
|
109
|
-
otpToken: z.string(),
|
|
110
|
-
otpAction: LoginPosDeviceWithPhoneOtpAction$outboundSchema,
|
|
111
|
-
}).transform((v) => {
|
|
112
|
-
return remap$(v, {
|
|
113
|
-
otpToken: "otp_token",
|
|
114
|
-
otpAction: "otp_action",
|
|
115
|
-
});
|
|
116
|
-
});
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
120
|
-
*/
|
|
121
|
-
export var LoginPosDeviceWithPhoneContent$;
|
|
122
|
-
(function (LoginPosDeviceWithPhoneContent$) {
|
|
123
|
-
/** @deprecated use `LoginPosDeviceWithPhoneContent$inboundSchema` instead. */
|
|
124
|
-
LoginPosDeviceWithPhoneContent$.inboundSchema = LoginPosDeviceWithPhoneContent$inboundSchema;
|
|
125
|
-
/** @deprecated use `LoginPosDeviceWithPhoneContent$outboundSchema` instead. */
|
|
126
|
-
LoginPosDeviceWithPhoneContent$.outboundSchema = LoginPosDeviceWithPhoneContent$outboundSchema;
|
|
127
|
-
})(LoginPosDeviceWithPhoneContent$ || (LoginPosDeviceWithPhoneContent$ = {}));
|
|
128
|
-
export function loginPosDeviceWithPhoneContentToJSON(loginPosDeviceWithPhoneContent) {
|
|
129
|
-
return JSON.stringify(LoginPosDeviceWithPhoneContent$outboundSchema.parse(loginPosDeviceWithPhoneContent));
|
|
130
|
-
}
|
|
131
|
-
export function loginPosDeviceWithPhoneContentFromJSON(jsonString) {
|
|
132
|
-
return safeParse(jsonString, (x) => LoginPosDeviceWithPhoneContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoginPosDeviceWithPhoneContent' from JSON`);
|
|
133
|
-
}
|
|
134
|
-
/** @internal */
|
|
135
|
-
export const LoginPosDeviceWithPhoneResponseBody$inboundSchema = z.object({
|
|
136
|
-
message: z.string(),
|
|
137
|
-
success: z.string(),
|
|
138
|
-
content: z.lazy(() => LoginPosDeviceWithPhoneContent$inboundSchema),
|
|
139
|
-
});
|
|
140
|
-
/** @internal */
|
|
141
|
-
export const LoginPosDeviceWithPhoneResponseBody$outboundSchema = z.object({
|
|
142
|
-
message: z.string(),
|
|
143
|
-
success: z.string(),
|
|
144
|
-
content: z.lazy(() => LoginPosDeviceWithPhoneContent$outboundSchema),
|
|
145
|
-
});
|
|
146
|
-
/**
|
|
147
|
-
* @internal
|
|
148
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
149
|
-
*/
|
|
150
|
-
export var LoginPosDeviceWithPhoneResponseBody$;
|
|
151
|
-
(function (LoginPosDeviceWithPhoneResponseBody$) {
|
|
152
|
-
/** @deprecated use `LoginPosDeviceWithPhoneResponseBody$inboundSchema` instead. */
|
|
153
|
-
LoginPosDeviceWithPhoneResponseBody$.inboundSchema = LoginPosDeviceWithPhoneResponseBody$inboundSchema;
|
|
154
|
-
/** @deprecated use `LoginPosDeviceWithPhoneResponseBody$outboundSchema` instead. */
|
|
155
|
-
LoginPosDeviceWithPhoneResponseBody$.outboundSchema = LoginPosDeviceWithPhoneResponseBody$outboundSchema;
|
|
156
|
-
})(LoginPosDeviceWithPhoneResponseBody$ || (LoginPosDeviceWithPhoneResponseBody$ = {}));
|
|
157
|
-
export function loginPosDeviceWithPhoneResponseBodyToJSON(loginPosDeviceWithPhoneResponseBody) {
|
|
158
|
-
return JSON.stringify(LoginPosDeviceWithPhoneResponseBody$outboundSchema.parse(loginPosDeviceWithPhoneResponseBody));
|
|
159
|
-
}
|
|
160
|
-
export function loginPosDeviceWithPhoneResponseBodyFromJSON(jsonString) {
|
|
161
|
-
return safeParse(jsonString, (x) => LoginPosDeviceWithPhoneResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoginPosDeviceWithPhoneResponseBody' from JSON`);
|
|
162
|
-
}
|
|
163
|
-
//# sourceMappingURL=loginposdevicewithphone.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginposdevicewithphone.js","sourceRoot":"","sources":["../../../src/models/operations/loginposdevicewithphone.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAqBjD,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,KAAK,EAAE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,CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,2CAA2C,CACzD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
export type LoginPosDeviceWithWhatsappSecurity = {
|
|
6
|
-
xApiKey: string;
|
|
7
|
-
};
|
|
8
|
-
export type LoginPosDeviceWithWhatsappRequestBody = {
|
|
9
|
-
deviceId: string;
|
|
10
|
-
/**
|
|
11
|
-
* 10 digit phone number without country code linked with WhatsApp.
|
|
12
|
-
*/
|
|
13
|
-
phone: string;
|
|
14
|
-
/**
|
|
15
|
-
* Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
16
|
-
*/
|
|
17
|
-
countryCode?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
export declare const LoginPosDeviceWithWhatsappOtpAction: {
|
|
20
|
-
readonly Login: "login";
|
|
21
|
-
};
|
|
22
|
-
export type LoginPosDeviceWithWhatsappOtpAction = ClosedEnum<typeof LoginPosDeviceWithWhatsappOtpAction>;
|
|
23
|
-
export type LoginPosDeviceWithWhatsappContent = {
|
|
24
|
-
otpToken: string;
|
|
25
|
-
otpAction: LoginPosDeviceWithWhatsappOtpAction;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* OK
|
|
29
|
-
*/
|
|
30
|
-
export type LoginPosDeviceWithWhatsappResponseBody = {
|
|
31
|
-
message: string;
|
|
32
|
-
success: string;
|
|
33
|
-
content: LoginPosDeviceWithWhatsappContent;
|
|
34
|
-
};
|
|
35
|
-
/** @internal */
|
|
36
|
-
export declare const LoginPosDeviceWithWhatsappSecurity$inboundSchema: z.ZodType<LoginPosDeviceWithWhatsappSecurity, z.ZodTypeDef, unknown>;
|
|
37
|
-
/** @internal */
|
|
38
|
-
export type LoginPosDeviceWithWhatsappSecurity$Outbound = {
|
|
39
|
-
"X-Api-Key": string;
|
|
40
|
-
};
|
|
41
|
-
/** @internal */
|
|
42
|
-
export declare const LoginPosDeviceWithWhatsappSecurity$outboundSchema: z.ZodType<LoginPosDeviceWithWhatsappSecurity$Outbound, z.ZodTypeDef, LoginPosDeviceWithWhatsappSecurity>;
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
-
*/
|
|
47
|
-
export declare namespace LoginPosDeviceWithWhatsappSecurity$ {
|
|
48
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappSecurity$inboundSchema` instead. */
|
|
49
|
-
const inboundSchema: z.ZodType<LoginPosDeviceWithWhatsappSecurity, z.ZodTypeDef, unknown>;
|
|
50
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappSecurity$outboundSchema` instead. */
|
|
51
|
-
const outboundSchema: z.ZodType<LoginPosDeviceWithWhatsappSecurity$Outbound, z.ZodTypeDef, LoginPosDeviceWithWhatsappSecurity>;
|
|
52
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappSecurity$Outbound` instead. */
|
|
53
|
-
type Outbound = LoginPosDeviceWithWhatsappSecurity$Outbound;
|
|
54
|
-
}
|
|
55
|
-
export declare function loginPosDeviceWithWhatsappSecurityToJSON(loginPosDeviceWithWhatsappSecurity: LoginPosDeviceWithWhatsappSecurity): string;
|
|
56
|
-
export declare function loginPosDeviceWithWhatsappSecurityFromJSON(jsonString: string): SafeParseResult<LoginPosDeviceWithWhatsappSecurity, SDKValidationError>;
|
|
57
|
-
/** @internal */
|
|
58
|
-
export declare const LoginPosDeviceWithWhatsappRequestBody$inboundSchema: z.ZodType<LoginPosDeviceWithWhatsappRequestBody, z.ZodTypeDef, unknown>;
|
|
59
|
-
/** @internal */
|
|
60
|
-
export type LoginPosDeviceWithWhatsappRequestBody$Outbound = {
|
|
61
|
-
device_id: string;
|
|
62
|
-
phone: string;
|
|
63
|
-
country_code: string;
|
|
64
|
-
};
|
|
65
|
-
/** @internal */
|
|
66
|
-
export declare const LoginPosDeviceWithWhatsappRequestBody$outboundSchema: z.ZodType<LoginPosDeviceWithWhatsappRequestBody$Outbound, z.ZodTypeDef, LoginPosDeviceWithWhatsappRequestBody>;
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
70
|
-
*/
|
|
71
|
-
export declare namespace LoginPosDeviceWithWhatsappRequestBody$ {
|
|
72
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappRequestBody$inboundSchema` instead. */
|
|
73
|
-
const inboundSchema: z.ZodType<LoginPosDeviceWithWhatsappRequestBody, z.ZodTypeDef, unknown>;
|
|
74
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappRequestBody$outboundSchema` instead. */
|
|
75
|
-
const outboundSchema: z.ZodType<LoginPosDeviceWithWhatsappRequestBody$Outbound, z.ZodTypeDef, LoginPosDeviceWithWhatsappRequestBody>;
|
|
76
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappRequestBody$Outbound` instead. */
|
|
77
|
-
type Outbound = LoginPosDeviceWithWhatsappRequestBody$Outbound;
|
|
78
|
-
}
|
|
79
|
-
export declare function loginPosDeviceWithWhatsappRequestBodyToJSON(loginPosDeviceWithWhatsappRequestBody: LoginPosDeviceWithWhatsappRequestBody): string;
|
|
80
|
-
export declare function loginPosDeviceWithWhatsappRequestBodyFromJSON(jsonString: string): SafeParseResult<LoginPosDeviceWithWhatsappRequestBody, SDKValidationError>;
|
|
81
|
-
/** @internal */
|
|
82
|
-
export declare const LoginPosDeviceWithWhatsappOtpAction$inboundSchema: z.ZodNativeEnum<typeof LoginPosDeviceWithWhatsappOtpAction>;
|
|
83
|
-
/** @internal */
|
|
84
|
-
export declare const LoginPosDeviceWithWhatsappOtpAction$outboundSchema: z.ZodNativeEnum<typeof LoginPosDeviceWithWhatsappOtpAction>;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
-
*/
|
|
89
|
-
export declare namespace LoginPosDeviceWithWhatsappOtpAction$ {
|
|
90
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappOtpAction$inboundSchema` instead. */
|
|
91
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
92
|
-
readonly Login: "login";
|
|
93
|
-
}>;
|
|
94
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappOtpAction$outboundSchema` instead. */
|
|
95
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
96
|
-
readonly Login: "login";
|
|
97
|
-
}>;
|
|
98
|
-
}
|
|
99
|
-
/** @internal */
|
|
100
|
-
export declare const LoginPosDeviceWithWhatsappContent$inboundSchema: z.ZodType<LoginPosDeviceWithWhatsappContent, z.ZodTypeDef, unknown>;
|
|
101
|
-
/** @internal */
|
|
102
|
-
export type LoginPosDeviceWithWhatsappContent$Outbound = {
|
|
103
|
-
otp_token: string;
|
|
104
|
-
otp_action: string;
|
|
105
|
-
};
|
|
106
|
-
/** @internal */
|
|
107
|
-
export declare const LoginPosDeviceWithWhatsappContent$outboundSchema: z.ZodType<LoginPosDeviceWithWhatsappContent$Outbound, z.ZodTypeDef, LoginPosDeviceWithWhatsappContent>;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
111
|
-
*/
|
|
112
|
-
export declare namespace LoginPosDeviceWithWhatsappContent$ {
|
|
113
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappContent$inboundSchema` instead. */
|
|
114
|
-
const inboundSchema: z.ZodType<LoginPosDeviceWithWhatsappContent, z.ZodTypeDef, unknown>;
|
|
115
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappContent$outboundSchema` instead. */
|
|
116
|
-
const outboundSchema: z.ZodType<LoginPosDeviceWithWhatsappContent$Outbound, z.ZodTypeDef, LoginPosDeviceWithWhatsappContent>;
|
|
117
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappContent$Outbound` instead. */
|
|
118
|
-
type Outbound = LoginPosDeviceWithWhatsappContent$Outbound;
|
|
119
|
-
}
|
|
120
|
-
export declare function loginPosDeviceWithWhatsappContentToJSON(loginPosDeviceWithWhatsappContent: LoginPosDeviceWithWhatsappContent): string;
|
|
121
|
-
export declare function loginPosDeviceWithWhatsappContentFromJSON(jsonString: string): SafeParseResult<LoginPosDeviceWithWhatsappContent, SDKValidationError>;
|
|
122
|
-
/** @internal */
|
|
123
|
-
export declare const LoginPosDeviceWithWhatsappResponseBody$inboundSchema: z.ZodType<LoginPosDeviceWithWhatsappResponseBody, z.ZodTypeDef, unknown>;
|
|
124
|
-
/** @internal */
|
|
125
|
-
export type LoginPosDeviceWithWhatsappResponseBody$Outbound = {
|
|
126
|
-
message: string;
|
|
127
|
-
success: string;
|
|
128
|
-
content: LoginPosDeviceWithWhatsappContent$Outbound;
|
|
129
|
-
};
|
|
130
|
-
/** @internal */
|
|
131
|
-
export declare const LoginPosDeviceWithWhatsappResponseBody$outboundSchema: z.ZodType<LoginPosDeviceWithWhatsappResponseBody$Outbound, z.ZodTypeDef, LoginPosDeviceWithWhatsappResponseBody>;
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
135
|
-
*/
|
|
136
|
-
export declare namespace LoginPosDeviceWithWhatsappResponseBody$ {
|
|
137
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappResponseBody$inboundSchema` instead. */
|
|
138
|
-
const inboundSchema: z.ZodType<LoginPosDeviceWithWhatsappResponseBody, z.ZodTypeDef, unknown>;
|
|
139
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappResponseBody$outboundSchema` instead. */
|
|
140
|
-
const outboundSchema: z.ZodType<LoginPosDeviceWithWhatsappResponseBody$Outbound, z.ZodTypeDef, LoginPosDeviceWithWhatsappResponseBody>;
|
|
141
|
-
/** @deprecated use `LoginPosDeviceWithWhatsappResponseBody$Outbound` instead. */
|
|
142
|
-
type Outbound = LoginPosDeviceWithWhatsappResponseBody$Outbound;
|
|
143
|
-
}
|
|
144
|
-
export declare function loginPosDeviceWithWhatsappResponseBodyToJSON(loginPosDeviceWithWhatsappResponseBody: LoginPosDeviceWithWhatsappResponseBody): string;
|
|
145
|
-
export declare function loginPosDeviceWithWhatsappResponseBodyFromJSON(jsonString: string): SafeParseResult<LoginPosDeviceWithWhatsappResponseBody, SDKValidationError>;
|
|
146
|
-
//# sourceMappingURL=loginposdevicewithwhatsapp.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginposdevicewithwhatsapp.d.ts","sourceRoot":"","sources":["../../../src/models/operations/loginposdevicewithwhatsapp.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kCAAkC,GAAG;IAC/C,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,G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