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.
Files changed (118) hide show
  1. package/README.md +2 -21
  2. package/esm/lib/config.d.ts +2 -2
  3. package/esm/lib/config.js +2 -2
  4. package/esm/models/components/index.d.ts +0 -2
  5. package/esm/models/components/index.d.ts.map +1 -1
  6. package/esm/models/components/index.js +0 -2
  7. package/esm/models/components/index.js.map +1 -1
  8. package/esm/models/operations/index.d.ts +0 -8
  9. package/esm/models/operations/index.d.ts.map +1 -1
  10. package/esm/models/operations/index.js +0 -8
  11. package/esm/models/operations/index.js.map +1 -1
  12. package/esm/sdk/sdk.d.ts +0 -3
  13. package/esm/sdk/sdk.d.ts.map +1 -1
  14. package/esm/sdk/sdk.js +0 -4
  15. package/esm/sdk/sdk.js.map +1 -1
  16. package/examples/package-lock.json +1 -1
  17. package/jsr.json +1 -1
  18. package/package.json +1 -1
  19. package/src/lib/config.ts +2 -2
  20. package/src/models/components/index.ts +0 -2
  21. package/src/models/operations/index.ts +0 -8
  22. package/src/sdk/sdk.ts +0 -6
  23. package/docs/sdks/pos/README.md +0 -610
  24. package/esm/funcs/posCreatePosCart.d.ts +0 -17
  25. package/esm/funcs/posCreatePosCart.d.ts.map +0 -1
  26. package/esm/funcs/posCreatePosCart.js +0 -80
  27. package/esm/funcs/posCreatePosCart.js.map +0 -1
  28. package/esm/funcs/posLoginPosDeviceWithEmail.d.ts +0 -17
  29. package/esm/funcs/posLoginPosDeviceWithEmail.d.ts.map +0 -1
  30. package/esm/funcs/posLoginPosDeviceWithEmail.js +0 -85
  31. package/esm/funcs/posLoginPosDeviceWithEmail.js.map +0 -1
  32. package/esm/funcs/posLoginPosDeviceWithPhone.d.ts +0 -17
  33. package/esm/funcs/posLoginPosDeviceWithPhone.d.ts.map +0 -1
  34. package/esm/funcs/posLoginPosDeviceWithPhone.js +0 -85
  35. package/esm/funcs/posLoginPosDeviceWithPhone.js.map +0 -1
  36. package/esm/funcs/posLoginPosDeviceWithWhatsapp.d.ts +0 -17
  37. package/esm/funcs/posLoginPosDeviceWithWhatsapp.d.ts.map +0 -1
  38. package/esm/funcs/posLoginPosDeviceWithWhatsapp.js +0 -85
  39. package/esm/funcs/posLoginPosDeviceWithWhatsapp.js.map +0 -1
  40. package/esm/funcs/posPairPosDevice.d.ts +0 -17
  41. package/esm/funcs/posPairPosDevice.d.ts.map +0 -1
  42. package/esm/funcs/posPairPosDevice.js +0 -84
  43. package/esm/funcs/posPairPosDevice.js.map +0 -1
  44. package/esm/funcs/posRefreshPosAccessToken.d.ts +0 -17
  45. package/esm/funcs/posRefreshPosAccessToken.d.ts.map +0 -1
  46. package/esm/funcs/posRefreshPosAccessToken.js +0 -81
  47. package/esm/funcs/posRefreshPosAccessToken.js.map +0 -1
  48. package/esm/funcs/posUpdatePosCart.d.ts +0 -17
  49. package/esm/funcs/posUpdatePosCart.d.ts.map +0 -1
  50. package/esm/funcs/posUpdatePosCart.js +0 -84
  51. package/esm/funcs/posUpdatePosCart.js.map +0 -1
  52. package/esm/funcs/posVerifyPosLoginOtp.d.ts +0 -17
  53. package/esm/funcs/posVerifyPosLoginOtp.d.ts.map +0 -1
  54. package/esm/funcs/posVerifyPosLoginOtp.js +0 -84
  55. package/esm/funcs/posVerifyPosLoginOtp.js.map +0 -1
  56. package/esm/models/components/posdevice.d.ts +0 -71
  57. package/esm/models/components/posdevice.d.ts.map +0 -1
  58. package/esm/models/components/posdevice.js +0 -85
  59. package/esm/models/components/posdevice.js.map +0 -1
  60. package/esm/models/components/posuser.d.ts +0 -124
  61. package/esm/models/components/posuser.d.ts.map +0 -1
  62. package/esm/models/components/posuser.js +0 -139
  63. package/esm/models/components/posuser.js.map +0 -1
  64. package/esm/models/operations/createposcart.d.ts +0 -90
  65. package/esm/models/operations/createposcart.d.ts.map +0 -1
  66. package/esm/models/operations/createposcart.js +0 -86
  67. package/esm/models/operations/createposcart.js.map +0 -1
  68. package/esm/models/operations/loginposdevicewithemail.d.ts +0 -138
  69. package/esm/models/operations/loginposdevicewithemail.d.ts.map +0 -1
  70. package/esm/models/operations/loginposdevicewithemail.js +0 -159
  71. package/esm/models/operations/loginposdevicewithemail.js.map +0 -1
  72. package/esm/models/operations/loginposdevicewithphone.d.ts +0 -146
  73. package/esm/models/operations/loginposdevicewithphone.d.ts.map +0 -1
  74. package/esm/models/operations/loginposdevicewithphone.js +0 -163
  75. package/esm/models/operations/loginposdevicewithphone.js.map +0 -1
  76. package/esm/models/operations/loginposdevicewithwhatsapp.d.ts +0 -146
  77. package/esm/models/operations/loginposdevicewithwhatsapp.d.ts.map +0 -1
  78. package/esm/models/operations/loginposdevicewithwhatsapp.js +0 -163
  79. package/esm/models/operations/loginposdevicewithwhatsapp.js.map +0 -1
  80. package/esm/models/operations/pairposdevice.d.ts +0 -112
  81. package/esm/models/operations/pairposdevice.d.ts.map +0 -1
  82. package/esm/models/operations/pairposdevice.js +0 -128
  83. package/esm/models/operations/pairposdevice.js.map +0 -1
  84. package/esm/models/operations/refreshposaccesstoken.d.ts +0 -88
  85. package/esm/models/operations/refreshposaccesstoken.d.ts.map +0 -1
  86. package/esm/models/operations/refreshposaccesstoken.js +0 -106
  87. package/esm/models/operations/refreshposaccesstoken.js.map +0 -1
  88. package/esm/models/operations/updateposcart.d.ts +0 -120
  89. package/esm/models/operations/updateposcart.d.ts.map +0 -1
  90. package/esm/models/operations/updateposcart.js +0 -122
  91. package/esm/models/operations/updateposcart.js.map +0 -1
  92. package/esm/models/operations/verifyposloginotp.d.ts +0 -158
  93. package/esm/models/operations/verifyposloginotp.d.ts.map +0 -1
  94. package/esm/models/operations/verifyposloginotp.js +0 -169
  95. package/esm/models/operations/verifyposloginotp.js.map +0 -1
  96. package/esm/sdk/pos.d.ts +0 -61
  97. package/esm/sdk/pos.d.ts.map +0 -1
  98. package/esm/sdk/pos.js +0 -88
  99. package/esm/sdk/pos.js.map +0 -1
  100. package/src/funcs/posCreatePosCart.ts +0 -165
  101. package/src/funcs/posLoginPosDeviceWithEmail.ts +0 -173
  102. package/src/funcs/posLoginPosDeviceWithPhone.ts +0 -173
  103. package/src/funcs/posLoginPosDeviceWithWhatsapp.ts +0 -176
  104. package/src/funcs/posPairPosDevice.ts +0 -174
  105. package/src/funcs/posRefreshPosAccessToken.ts +0 -164
  106. package/src/funcs/posUpdatePosCart.ts +0 -167
  107. package/src/funcs/posVerifyPosLoginOtp.ts +0 -174
  108. package/src/models/components/posdevice.ts +0 -141
  109. package/src/models/components/posuser.ts +0 -263
  110. package/src/models/operations/createposcart.ts +0 -197
  111. package/src/models/operations/loginposdevicewithemail.ts +0 -328
  112. package/src/models/operations/loginposdevicewithphone.ts +0 -340
  113. package/src/models/operations/loginposdevicewithwhatsapp.ts +0 -347
  114. package/src/models/operations/pairposdevice.ts +0 -269
  115. package/src/models/operations/refreshposaccesstoken.ts +0 -223
  116. package/src/models/operations/updateposcart.ts +0 -271
  117. package/src/models/operations/verifyposloginotp.ts +0 -345
  118. package/src/sdk/pos.ts +0 -163
@@ -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 LoginPosDeviceWithWhatsappOtpAction = {
8
- Login: "login",
9
- };
10
- /** @internal */
11
- export const LoginPosDeviceWithWhatsappSecurity$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 LoginPosDeviceWithWhatsappSecurity$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 LoginPosDeviceWithWhatsappSecurity$;
31
- (function (LoginPosDeviceWithWhatsappSecurity$) {
32
- /** @deprecated use `LoginPosDeviceWithWhatsappSecurity$inboundSchema` instead. */
33
- LoginPosDeviceWithWhatsappSecurity$.inboundSchema = LoginPosDeviceWithWhatsappSecurity$inboundSchema;
34
- /** @deprecated use `LoginPosDeviceWithWhatsappSecurity$outboundSchema` instead. */
35
- LoginPosDeviceWithWhatsappSecurity$.outboundSchema = LoginPosDeviceWithWhatsappSecurity$outboundSchema;
36
- })(LoginPosDeviceWithWhatsappSecurity$ || (LoginPosDeviceWithWhatsappSecurity$ = {}));
37
- export function loginPosDeviceWithWhatsappSecurityToJSON(loginPosDeviceWithWhatsappSecurity) {
38
- return JSON.stringify(LoginPosDeviceWithWhatsappSecurity$outboundSchema.parse(loginPosDeviceWithWhatsappSecurity));
39
- }
40
- export function loginPosDeviceWithWhatsappSecurityFromJSON(jsonString) {
41
- return safeParse(jsonString, (x) => LoginPosDeviceWithWhatsappSecurity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoginPosDeviceWithWhatsappSecurity' from JSON`);
42
- }
43
- /** @internal */
44
- export const LoginPosDeviceWithWhatsappRequestBody$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 LoginPosDeviceWithWhatsappRequestBody$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 LoginPosDeviceWithWhatsappRequestBody$;
70
- (function (LoginPosDeviceWithWhatsappRequestBody$) {
71
- /** @deprecated use `LoginPosDeviceWithWhatsappRequestBody$inboundSchema` instead. */
72
- LoginPosDeviceWithWhatsappRequestBody$.inboundSchema = LoginPosDeviceWithWhatsappRequestBody$inboundSchema;
73
- /** @deprecated use `LoginPosDeviceWithWhatsappRequestBody$outboundSchema` instead. */
74
- LoginPosDeviceWithWhatsappRequestBody$.outboundSchema = LoginPosDeviceWithWhatsappRequestBody$outboundSchema;
75
- })(LoginPosDeviceWithWhatsappRequestBody$ || (LoginPosDeviceWithWhatsappRequestBody$ = {}));
76
- export function loginPosDeviceWithWhatsappRequestBodyToJSON(loginPosDeviceWithWhatsappRequestBody) {
77
- return JSON.stringify(LoginPosDeviceWithWhatsappRequestBody$outboundSchema.parse(loginPosDeviceWithWhatsappRequestBody));
78
- }
79
- export function loginPosDeviceWithWhatsappRequestBodyFromJSON(jsonString) {
80
- return safeParse(jsonString, (x) => LoginPosDeviceWithWhatsappRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoginPosDeviceWithWhatsappRequestBody' from JSON`);
81
- }
82
- /** @internal */
83
- export const LoginPosDeviceWithWhatsappOtpAction$inboundSchema = z.nativeEnum(LoginPosDeviceWithWhatsappOtpAction);
84
- /** @internal */
85
- export const LoginPosDeviceWithWhatsappOtpAction$outboundSchema = LoginPosDeviceWithWhatsappOtpAction$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 LoginPosDeviceWithWhatsappOtpAction$;
91
- (function (LoginPosDeviceWithWhatsappOtpAction$) {
92
- /** @deprecated use `LoginPosDeviceWithWhatsappOtpAction$inboundSchema` instead. */
93
- LoginPosDeviceWithWhatsappOtpAction$.inboundSchema = LoginPosDeviceWithWhatsappOtpAction$inboundSchema;
94
- /** @deprecated use `LoginPosDeviceWithWhatsappOtpAction$outboundSchema` instead. */
95
- LoginPosDeviceWithWhatsappOtpAction$.outboundSchema = LoginPosDeviceWithWhatsappOtpAction$outboundSchema;
96
- })(LoginPosDeviceWithWhatsappOtpAction$ || (LoginPosDeviceWithWhatsappOtpAction$ = {}));
97
- /** @internal */
98
- export const LoginPosDeviceWithWhatsappContent$inboundSchema = z.object({
99
- otp_token: z.string(),
100
- otp_action: LoginPosDeviceWithWhatsappOtpAction$inboundSchema,
101
- }).transform((v) => {
102
- return remap$(v, {
103
- "otp_token": "otpToken",
104
- "otp_action": "otpAction",
105
- });
106
- });
107
- /** @internal */
108
- export const LoginPosDeviceWithWhatsappContent$outboundSchema = z.object({
109
- otpToken: z.string(),
110
- otpAction: LoginPosDeviceWithWhatsappOtpAction$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 LoginPosDeviceWithWhatsappContent$;
122
- (function (LoginPosDeviceWithWhatsappContent$) {
123
- /** @deprecated use `LoginPosDeviceWithWhatsappContent$inboundSchema` instead. */
124
- LoginPosDeviceWithWhatsappContent$.inboundSchema = LoginPosDeviceWithWhatsappContent$inboundSchema;
125
- /** @deprecated use `LoginPosDeviceWithWhatsappContent$outboundSchema` instead. */
126
- LoginPosDeviceWithWhatsappContent$.outboundSchema = LoginPosDeviceWithWhatsappContent$outboundSchema;
127
- })(LoginPosDeviceWithWhatsappContent$ || (LoginPosDeviceWithWhatsappContent$ = {}));
128
- export function loginPosDeviceWithWhatsappContentToJSON(loginPosDeviceWithWhatsappContent) {
129
- return JSON.stringify(LoginPosDeviceWithWhatsappContent$outboundSchema.parse(loginPosDeviceWithWhatsappContent));
130
- }
131
- export function loginPosDeviceWithWhatsappContentFromJSON(jsonString) {
132
- return safeParse(jsonString, (x) => LoginPosDeviceWithWhatsappContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoginPosDeviceWithWhatsappContent' from JSON`);
133
- }
134
- /** @internal */
135
- export const LoginPosDeviceWithWhatsappResponseBody$inboundSchema = z.object({
136
- message: z.string(),
137
- success: z.string(),
138
- content: z.lazy(() => LoginPosDeviceWithWhatsappContent$inboundSchema),
139
- });
140
- /** @internal */
141
- export const LoginPosDeviceWithWhatsappResponseBody$outboundSchema = z.object({
142
- message: z.string(),
143
- success: z.string(),
144
- content: z.lazy(() => LoginPosDeviceWithWhatsappContent$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 LoginPosDeviceWithWhatsappResponseBody$;
151
- (function (LoginPosDeviceWithWhatsappResponseBody$) {
152
- /** @deprecated use `LoginPosDeviceWithWhatsappResponseBody$inboundSchema` instead. */
153
- LoginPosDeviceWithWhatsappResponseBody$.inboundSchema = LoginPosDeviceWithWhatsappResponseBody$inboundSchema;
154
- /** @deprecated use `LoginPosDeviceWithWhatsappResponseBody$outboundSchema` instead. */
155
- LoginPosDeviceWithWhatsappResponseBody$.outboundSchema = LoginPosDeviceWithWhatsappResponseBody$outboundSchema;
156
- })(LoginPosDeviceWithWhatsappResponseBody$ || (LoginPosDeviceWithWhatsappResponseBody$ = {}));
157
- export function loginPosDeviceWithWhatsappResponseBodyToJSON(loginPosDeviceWithWhatsappResponseBody) {
158
- return JSON.stringify(LoginPosDeviceWithWhatsappResponseBody$outboundSchema.parse(loginPosDeviceWithWhatsappResponseBody));
159
- }
160
- export function loginPosDeviceWithWhatsappResponseBodyFromJSON(jsonString) {
161
- return safeParse(jsonString, (x) => LoginPosDeviceWithWhatsappResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoginPosDeviceWithWhatsappResponseBody' from JSON`);
162
- }
163
- //# sourceMappingURL=loginposdevicewithwhatsapp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loginposdevicewithwhatsapp.js","sourceRoot":"","sources":["../../../src/models/operations/loginposdevicewithwhatsapp.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC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;IAC1E,sDAAc,GACzB,qDAAqD,CAAC;AAG1D,CAAC,EATgB,uCAAuC,KAAvC,uCAAuC,QASvD;AAED,MAAM,UAAU,4CAA4C,CAC1D,sCACwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,qDAAqD,CAAC,KAAK,CACzD,sCAAsC,CACvC,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8CAA8C,CAC5D,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,oDAAoD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,oEAAoE,CACrE,CAAC;AACJ,CAAC"}
@@ -1,112 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import * as components from "../components/index.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type PairPosDeviceSecurity = {
6
- xApiKey: string;
7
- };
8
- export type PairPosDeviceRequestBody = {
9
- pairingCode: string;
10
- };
11
- export type PairPosDeviceContent = {
12
- device?: components.PosDevice | undefined;
13
- };
14
- /**
15
- * OK
16
- */
17
- export type PairPosDeviceResponseBody = {
18
- message?: string | undefined;
19
- success?: string | undefined;
20
- content?: PairPosDeviceContent | undefined;
21
- };
22
- /** @internal */
23
- export declare const PairPosDeviceSecurity$inboundSchema: z.ZodType<PairPosDeviceSecurity, z.ZodTypeDef, unknown>;
24
- /** @internal */
25
- export type PairPosDeviceSecurity$Outbound = {
26
- "X-Api-Key": string;
27
- };
28
- /** @internal */
29
- export declare const PairPosDeviceSecurity$outboundSchema: z.ZodType<PairPosDeviceSecurity$Outbound, z.ZodTypeDef, PairPosDeviceSecurity>;
30
- /**
31
- * @internal
32
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
33
- */
34
- export declare namespace PairPosDeviceSecurity$ {
35
- /** @deprecated use `PairPosDeviceSecurity$inboundSchema` instead. */
36
- const inboundSchema: z.ZodType<PairPosDeviceSecurity, z.ZodTypeDef, unknown>;
37
- /** @deprecated use `PairPosDeviceSecurity$outboundSchema` instead. */
38
- const outboundSchema: z.ZodType<PairPosDeviceSecurity$Outbound, z.ZodTypeDef, PairPosDeviceSecurity>;
39
- /** @deprecated use `PairPosDeviceSecurity$Outbound` instead. */
40
- type Outbound = PairPosDeviceSecurity$Outbound;
41
- }
42
- export declare function pairPosDeviceSecurityToJSON(pairPosDeviceSecurity: PairPosDeviceSecurity): string;
43
- export declare function pairPosDeviceSecurityFromJSON(jsonString: string): SafeParseResult<PairPosDeviceSecurity, SDKValidationError>;
44
- /** @internal */
45
- export declare const PairPosDeviceRequestBody$inboundSchema: z.ZodType<PairPosDeviceRequestBody, z.ZodTypeDef, unknown>;
46
- /** @internal */
47
- export type PairPosDeviceRequestBody$Outbound = {
48
- pairing_code: string;
49
- };
50
- /** @internal */
51
- export declare const PairPosDeviceRequestBody$outboundSchema: z.ZodType<PairPosDeviceRequestBody$Outbound, z.ZodTypeDef, PairPosDeviceRequestBody>;
52
- /**
53
- * @internal
54
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
- */
56
- export declare namespace PairPosDeviceRequestBody$ {
57
- /** @deprecated use `PairPosDeviceRequestBody$inboundSchema` instead. */
58
- const inboundSchema: z.ZodType<PairPosDeviceRequestBody, z.ZodTypeDef, unknown>;
59
- /** @deprecated use `PairPosDeviceRequestBody$outboundSchema` instead. */
60
- const outboundSchema: z.ZodType<PairPosDeviceRequestBody$Outbound, z.ZodTypeDef, PairPosDeviceRequestBody>;
61
- /** @deprecated use `PairPosDeviceRequestBody$Outbound` instead. */
62
- type Outbound = PairPosDeviceRequestBody$Outbound;
63
- }
64
- export declare function pairPosDeviceRequestBodyToJSON(pairPosDeviceRequestBody: PairPosDeviceRequestBody): string;
65
- export declare function pairPosDeviceRequestBodyFromJSON(jsonString: string): SafeParseResult<PairPosDeviceRequestBody, SDKValidationError>;
66
- /** @internal */
67
- export declare const PairPosDeviceContent$inboundSchema: z.ZodType<PairPosDeviceContent, z.ZodTypeDef, unknown>;
68
- /** @internal */
69
- export type PairPosDeviceContent$Outbound = {
70
- device?: components.PosDevice$Outbound | undefined;
71
- };
72
- /** @internal */
73
- export declare const PairPosDeviceContent$outboundSchema: z.ZodType<PairPosDeviceContent$Outbound, z.ZodTypeDef, PairPosDeviceContent>;
74
- /**
75
- * @internal
76
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
77
- */
78
- export declare namespace PairPosDeviceContent$ {
79
- /** @deprecated use `PairPosDeviceContent$inboundSchema` instead. */
80
- const inboundSchema: z.ZodType<PairPosDeviceContent, z.ZodTypeDef, unknown>;
81
- /** @deprecated use `PairPosDeviceContent$outboundSchema` instead. */
82
- const outboundSchema: z.ZodType<PairPosDeviceContent$Outbound, z.ZodTypeDef, PairPosDeviceContent>;
83
- /** @deprecated use `PairPosDeviceContent$Outbound` instead. */
84
- type Outbound = PairPosDeviceContent$Outbound;
85
- }
86
- export declare function pairPosDeviceContentToJSON(pairPosDeviceContent: PairPosDeviceContent): string;
87
- export declare function pairPosDeviceContentFromJSON(jsonString: string): SafeParseResult<PairPosDeviceContent, SDKValidationError>;
88
- /** @internal */
89
- export declare const PairPosDeviceResponseBody$inboundSchema: z.ZodType<PairPosDeviceResponseBody, z.ZodTypeDef, unknown>;
90
- /** @internal */
91
- export type PairPosDeviceResponseBody$Outbound = {
92
- message?: string | undefined;
93
- success?: string | undefined;
94
- content?: PairPosDeviceContent$Outbound | undefined;
95
- };
96
- /** @internal */
97
- export declare const PairPosDeviceResponseBody$outboundSchema: z.ZodType<PairPosDeviceResponseBody$Outbound, z.ZodTypeDef, PairPosDeviceResponseBody>;
98
- /**
99
- * @internal
100
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
101
- */
102
- export declare namespace PairPosDeviceResponseBody$ {
103
- /** @deprecated use `PairPosDeviceResponseBody$inboundSchema` instead. */
104
- const inboundSchema: z.ZodType<PairPosDeviceResponseBody, z.ZodTypeDef, unknown>;
105
- /** @deprecated use `PairPosDeviceResponseBody$outboundSchema` instead. */
106
- const outboundSchema: z.ZodType<PairPosDeviceResponseBody$Outbound, z.ZodTypeDef, PairPosDeviceResponseBody>;
107
- /** @deprecated use `PairPosDeviceResponseBody$Outbound` instead. */
108
- type Outbound = PairPosDeviceResponseBody$Outbound;
109
- }
110
- export declare function pairPosDeviceResponseBodyToJSON(pairPosDeviceResponseBody: PairPosDeviceResponseBody): string;
111
- export declare function pairPosDeviceResponseBodyFromJSON(jsonString: string): SafeParseResult<PairPosDeviceResponseBody, SDKValidationError>;
112
- //# sourceMappingURL=pairposdevice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pairposdevice.d.ts","sourceRoot":"","sources":["../../../src/models/operations/pairposdevice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,CAAC,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM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,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAKzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
@@ -1,128 +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
- import * as components from "../components/index.js";
8
- /** @internal */
9
- export const PairPosDeviceSecurity$inboundSchema = z.object({
10
- "X-Api-Key": z.string(),
11
- }).transform((v) => {
12
- return remap$(v, {
13
- "X-Api-Key": "xApiKey",
14
- });
15
- });
16
- /** @internal */
17
- export const PairPosDeviceSecurity$outboundSchema = z.object({
18
- xApiKey: z.string(),
19
- }).transform((v) => {
20
- return remap$(v, {
21
- xApiKey: "X-Api-Key",
22
- });
23
- });
24
- /**
25
- * @internal
26
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
27
- */
28
- export var PairPosDeviceSecurity$;
29
- (function (PairPosDeviceSecurity$) {
30
- /** @deprecated use `PairPosDeviceSecurity$inboundSchema` instead. */
31
- PairPosDeviceSecurity$.inboundSchema = PairPosDeviceSecurity$inboundSchema;
32
- /** @deprecated use `PairPosDeviceSecurity$outboundSchema` instead. */
33
- PairPosDeviceSecurity$.outboundSchema = PairPosDeviceSecurity$outboundSchema;
34
- })(PairPosDeviceSecurity$ || (PairPosDeviceSecurity$ = {}));
35
- export function pairPosDeviceSecurityToJSON(pairPosDeviceSecurity) {
36
- return JSON.stringify(PairPosDeviceSecurity$outboundSchema.parse(pairPosDeviceSecurity));
37
- }
38
- export function pairPosDeviceSecurityFromJSON(jsonString) {
39
- return safeParse(jsonString, (x) => PairPosDeviceSecurity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PairPosDeviceSecurity' from JSON`);
40
- }
41
- /** @internal */
42
- export const PairPosDeviceRequestBody$inboundSchema = z.object({
43
- pairing_code: z.string(),
44
- }).transform((v) => {
45
- return remap$(v, {
46
- "pairing_code": "pairingCode",
47
- });
48
- });
49
- /** @internal */
50
- export const PairPosDeviceRequestBody$outboundSchema = z.object({
51
- pairingCode: z.string(),
52
- }).transform((v) => {
53
- return remap$(v, {
54
- pairingCode: "pairing_code",
55
- });
56
- });
57
- /**
58
- * @internal
59
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
- */
61
- export var PairPosDeviceRequestBody$;
62
- (function (PairPosDeviceRequestBody$) {
63
- /** @deprecated use `PairPosDeviceRequestBody$inboundSchema` instead. */
64
- PairPosDeviceRequestBody$.inboundSchema = PairPosDeviceRequestBody$inboundSchema;
65
- /** @deprecated use `PairPosDeviceRequestBody$outboundSchema` instead. */
66
- PairPosDeviceRequestBody$.outboundSchema = PairPosDeviceRequestBody$outboundSchema;
67
- })(PairPosDeviceRequestBody$ || (PairPosDeviceRequestBody$ = {}));
68
- export function pairPosDeviceRequestBodyToJSON(pairPosDeviceRequestBody) {
69
- return JSON.stringify(PairPosDeviceRequestBody$outboundSchema.parse(pairPosDeviceRequestBody));
70
- }
71
- export function pairPosDeviceRequestBodyFromJSON(jsonString) {
72
- return safeParse(jsonString, (x) => PairPosDeviceRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PairPosDeviceRequestBody' from JSON`);
73
- }
74
- /** @internal */
75
- export const PairPosDeviceContent$inboundSchema = z.object({
76
- device: components.PosDevice$inboundSchema.optional(),
77
- });
78
- /** @internal */
79
- export const PairPosDeviceContent$outboundSchema = z.object({
80
- device: components.PosDevice$outboundSchema.optional(),
81
- });
82
- /**
83
- * @internal
84
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
85
- */
86
- export var PairPosDeviceContent$;
87
- (function (PairPosDeviceContent$) {
88
- /** @deprecated use `PairPosDeviceContent$inboundSchema` instead. */
89
- PairPosDeviceContent$.inboundSchema = PairPosDeviceContent$inboundSchema;
90
- /** @deprecated use `PairPosDeviceContent$outboundSchema` instead. */
91
- PairPosDeviceContent$.outboundSchema = PairPosDeviceContent$outboundSchema;
92
- })(PairPosDeviceContent$ || (PairPosDeviceContent$ = {}));
93
- export function pairPosDeviceContentToJSON(pairPosDeviceContent) {
94
- return JSON.stringify(PairPosDeviceContent$outboundSchema.parse(pairPosDeviceContent));
95
- }
96
- export function pairPosDeviceContentFromJSON(jsonString) {
97
- return safeParse(jsonString, (x) => PairPosDeviceContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PairPosDeviceContent' from JSON`);
98
- }
99
- /** @internal */
100
- export const PairPosDeviceResponseBody$inboundSchema = z.object({
101
- message: z.string().optional(),
102
- success: z.string().optional(),
103
- content: z.lazy(() => PairPosDeviceContent$inboundSchema).optional(),
104
- });
105
- /** @internal */
106
- export const PairPosDeviceResponseBody$outboundSchema = z.object({
107
- message: z.string().optional(),
108
- success: z.string().optional(),
109
- content: z.lazy(() => PairPosDeviceContent$outboundSchema).optional(),
110
- });
111
- /**
112
- * @internal
113
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
114
- */
115
- export var PairPosDeviceResponseBody$;
116
- (function (PairPosDeviceResponseBody$) {
117
- /** @deprecated use `PairPosDeviceResponseBody$inboundSchema` instead. */
118
- PairPosDeviceResponseBody$.inboundSchema = PairPosDeviceResponseBody$inboundSchema;
119
- /** @deprecated use `PairPosDeviceResponseBody$outboundSchema` instead. */
120
- PairPosDeviceResponseBody$.outboundSchema = PairPosDeviceResponseBody$outboundSchema;
121
- })(PairPosDeviceResponseBody$ || (PairPosDeviceResponseBody$ = {}));
122
- export function pairPosDeviceResponseBodyToJSON(pairPosDeviceResponseBody) {
123
- return JSON.stringify(PairPosDeviceResponseBody$outboundSchema.parse(pairPosDeviceResponseBody));
124
- }
125
- export function pairPosDeviceResponseBodyFromJSON(jsonString) {
126
- return safeParse(jsonString, (x) => PairPosDeviceResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PairPosDeviceResponseBody' from JSON`);
127
- }
128
- //# sourceMappingURL=pairposdevice.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pairposdevice.js","sourceRoot":"","sources":["../../../src/models/operations/pairposdevice.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;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAwBrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,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,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,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,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
@@ -1,88 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type RefreshPosAccessTokenRequestBody = {
5
- refreshToken: string;
6
- };
7
- export type RefreshPosAccessTokenContent = {
8
- accessToken?: string | undefined;
9
- refreshToken?: string | undefined;
10
- };
11
- /**
12
- * OK
13
- */
14
- export type RefreshPosAccessTokenResponseBody = {
15
- message?: string | undefined;
16
- success?: string | undefined;
17
- content?: RefreshPosAccessTokenContent | undefined;
18
- };
19
- /** @internal */
20
- export declare const RefreshPosAccessTokenRequestBody$inboundSchema: z.ZodType<RefreshPosAccessTokenRequestBody, z.ZodTypeDef, unknown>;
21
- /** @internal */
22
- export type RefreshPosAccessTokenRequestBody$Outbound = {
23
- refresh_token: string;
24
- };
25
- /** @internal */
26
- export declare const RefreshPosAccessTokenRequestBody$outboundSchema: z.ZodType<RefreshPosAccessTokenRequestBody$Outbound, z.ZodTypeDef, RefreshPosAccessTokenRequestBody>;
27
- /**
28
- * @internal
29
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
30
- */
31
- export declare namespace RefreshPosAccessTokenRequestBody$ {
32
- /** @deprecated use `RefreshPosAccessTokenRequestBody$inboundSchema` instead. */
33
- const inboundSchema: z.ZodType<RefreshPosAccessTokenRequestBody, z.ZodTypeDef, unknown>;
34
- /** @deprecated use `RefreshPosAccessTokenRequestBody$outboundSchema` instead. */
35
- const outboundSchema: z.ZodType<RefreshPosAccessTokenRequestBody$Outbound, z.ZodTypeDef, RefreshPosAccessTokenRequestBody>;
36
- /** @deprecated use `RefreshPosAccessTokenRequestBody$Outbound` instead. */
37
- type Outbound = RefreshPosAccessTokenRequestBody$Outbound;
38
- }
39
- export declare function refreshPosAccessTokenRequestBodyToJSON(refreshPosAccessTokenRequestBody: RefreshPosAccessTokenRequestBody): string;
40
- export declare function refreshPosAccessTokenRequestBodyFromJSON(jsonString: string): SafeParseResult<RefreshPosAccessTokenRequestBody, SDKValidationError>;
41
- /** @internal */
42
- export declare const RefreshPosAccessTokenContent$inboundSchema: z.ZodType<RefreshPosAccessTokenContent, z.ZodTypeDef, unknown>;
43
- /** @internal */
44
- export type RefreshPosAccessTokenContent$Outbound = {
45
- access_token?: string | undefined;
46
- refresh_token?: string | undefined;
47
- };
48
- /** @internal */
49
- export declare const RefreshPosAccessTokenContent$outboundSchema: z.ZodType<RefreshPosAccessTokenContent$Outbound, z.ZodTypeDef, RefreshPosAccessTokenContent>;
50
- /**
51
- * @internal
52
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
53
- */
54
- export declare namespace RefreshPosAccessTokenContent$ {
55
- /** @deprecated use `RefreshPosAccessTokenContent$inboundSchema` instead. */
56
- const inboundSchema: z.ZodType<RefreshPosAccessTokenContent, z.ZodTypeDef, unknown>;
57
- /** @deprecated use `RefreshPosAccessTokenContent$outboundSchema` instead. */
58
- const outboundSchema: z.ZodType<RefreshPosAccessTokenContent$Outbound, z.ZodTypeDef, RefreshPosAccessTokenContent>;
59
- /** @deprecated use `RefreshPosAccessTokenContent$Outbound` instead. */
60
- type Outbound = RefreshPosAccessTokenContent$Outbound;
61
- }
62
- export declare function refreshPosAccessTokenContentToJSON(refreshPosAccessTokenContent: RefreshPosAccessTokenContent): string;
63
- export declare function refreshPosAccessTokenContentFromJSON(jsonString: string): SafeParseResult<RefreshPosAccessTokenContent, SDKValidationError>;
64
- /** @internal */
65
- export declare const RefreshPosAccessTokenResponseBody$inboundSchema: z.ZodType<RefreshPosAccessTokenResponseBody, z.ZodTypeDef, unknown>;
66
- /** @internal */
67
- export type RefreshPosAccessTokenResponseBody$Outbound = {
68
- message?: string | undefined;
69
- success?: string | undefined;
70
- content?: RefreshPosAccessTokenContent$Outbound | undefined;
71
- };
72
- /** @internal */
73
- export declare const RefreshPosAccessTokenResponseBody$outboundSchema: z.ZodType<RefreshPosAccessTokenResponseBody$Outbound, z.ZodTypeDef, RefreshPosAccessTokenResponseBody>;
74
- /**
75
- * @internal
76
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
77
- */
78
- export declare namespace RefreshPosAccessTokenResponseBody$ {
79
- /** @deprecated use `RefreshPosAccessTokenResponseBody$inboundSchema` instead. */
80
- const inboundSchema: z.ZodType<RefreshPosAccessTokenResponseBody, z.ZodTypeDef, unknown>;
81
- /** @deprecated use `RefreshPosAccessTokenResponseBody$outboundSchema` instead. */
82
- const outboundSchema: z.ZodType<RefreshPosAccessTokenResponseBody$Outbound, z.ZodTypeDef, RefreshPosAccessTokenResponseBody>;
83
- /** @deprecated use `RefreshPosAccessTokenResponseBody$Outbound` instead. */
84
- type Outbound = RefreshPosAccessTokenResponseBody$Outbound;
85
- }
86
- export declare function refreshPosAccessTokenResponseBodyToJSON(refreshPosAccessTokenResponseBody: RefreshPosAccessTokenResponseBody): string;
87
- export declare function refreshPosAccessTokenResponseBodyFromJSON(jsonString: string): SafeParseResult<RefreshPosAccessTokenResponseBody, SDKValidationError>;
88
- //# sourceMappingURL=refreshposaccesstoken.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"refreshposaccesstoken.d.ts","sourceRoot":"","sources":["../../../src/models/operations/refreshposaccesstoken.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gCAAgC,GAAG;IAC7C,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,WAAW,CAA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;AAED,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
@@ -1,106 +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
- /** @internal */
8
- export const RefreshPosAccessTokenRequestBody$inboundSchema = z.object({
9
- refresh_token: z.string(),
10
- }).transform((v) => {
11
- return remap$(v, {
12
- "refresh_token": "refreshToken",
13
- });
14
- });
15
- /** @internal */
16
- export const RefreshPosAccessTokenRequestBody$outboundSchema = z.object({
17
- refreshToken: z.string(),
18
- }).transform((v) => {
19
- return remap$(v, {
20
- refreshToken: "refresh_token",
21
- });
22
- });
23
- /**
24
- * @internal
25
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
26
- */
27
- export var RefreshPosAccessTokenRequestBody$;
28
- (function (RefreshPosAccessTokenRequestBody$) {
29
- /** @deprecated use `RefreshPosAccessTokenRequestBody$inboundSchema` instead. */
30
- RefreshPosAccessTokenRequestBody$.inboundSchema = RefreshPosAccessTokenRequestBody$inboundSchema;
31
- /** @deprecated use `RefreshPosAccessTokenRequestBody$outboundSchema` instead. */
32
- RefreshPosAccessTokenRequestBody$.outboundSchema = RefreshPosAccessTokenRequestBody$outboundSchema;
33
- })(RefreshPosAccessTokenRequestBody$ || (RefreshPosAccessTokenRequestBody$ = {}));
34
- export function refreshPosAccessTokenRequestBodyToJSON(refreshPosAccessTokenRequestBody) {
35
- return JSON.stringify(RefreshPosAccessTokenRequestBody$outboundSchema.parse(refreshPosAccessTokenRequestBody));
36
- }
37
- export function refreshPosAccessTokenRequestBodyFromJSON(jsonString) {
38
- return safeParse(jsonString, (x) => RefreshPosAccessTokenRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshPosAccessTokenRequestBody' from JSON`);
39
- }
40
- /** @internal */
41
- export const RefreshPosAccessTokenContent$inboundSchema = z.object({
42
- access_token: z.string().optional(),
43
- refresh_token: z.string().optional(),
44
- }).transform((v) => {
45
- return remap$(v, {
46
- "access_token": "accessToken",
47
- "refresh_token": "refreshToken",
48
- });
49
- });
50
- /** @internal */
51
- export const RefreshPosAccessTokenContent$outboundSchema = z.object({
52
- accessToken: z.string().optional(),
53
- refreshToken: z.string().optional(),
54
- }).transform((v) => {
55
- return remap$(v, {
56
- accessToken: "access_token",
57
- refreshToken: "refresh_token",
58
- });
59
- });
60
- /**
61
- * @internal
62
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
- */
64
- export var RefreshPosAccessTokenContent$;
65
- (function (RefreshPosAccessTokenContent$) {
66
- /** @deprecated use `RefreshPosAccessTokenContent$inboundSchema` instead. */
67
- RefreshPosAccessTokenContent$.inboundSchema = RefreshPosAccessTokenContent$inboundSchema;
68
- /** @deprecated use `RefreshPosAccessTokenContent$outboundSchema` instead. */
69
- RefreshPosAccessTokenContent$.outboundSchema = RefreshPosAccessTokenContent$outboundSchema;
70
- })(RefreshPosAccessTokenContent$ || (RefreshPosAccessTokenContent$ = {}));
71
- export function refreshPosAccessTokenContentToJSON(refreshPosAccessTokenContent) {
72
- return JSON.stringify(RefreshPosAccessTokenContent$outboundSchema.parse(refreshPosAccessTokenContent));
73
- }
74
- export function refreshPosAccessTokenContentFromJSON(jsonString) {
75
- return safeParse(jsonString, (x) => RefreshPosAccessTokenContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshPosAccessTokenContent' from JSON`);
76
- }
77
- /** @internal */
78
- export const RefreshPosAccessTokenResponseBody$inboundSchema = z.object({
79
- message: z.string().optional(),
80
- success: z.string().optional(),
81
- content: z.lazy(() => RefreshPosAccessTokenContent$inboundSchema).optional(),
82
- });
83
- /** @internal */
84
- export const RefreshPosAccessTokenResponseBody$outboundSchema = z.object({
85
- message: z.string().optional(),
86
- success: z.string().optional(),
87
- content: z.lazy(() => RefreshPosAccessTokenContent$outboundSchema).optional(),
88
- });
89
- /**
90
- * @internal
91
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
92
- */
93
- export var RefreshPosAccessTokenResponseBody$;
94
- (function (RefreshPosAccessTokenResponseBody$) {
95
- /** @deprecated use `RefreshPosAccessTokenResponseBody$inboundSchema` instead. */
96
- RefreshPosAccessTokenResponseBody$.inboundSchema = RefreshPosAccessTokenResponseBody$inboundSchema;
97
- /** @deprecated use `RefreshPosAccessTokenResponseBody$outboundSchema` instead. */
98
- RefreshPosAccessTokenResponseBody$.outboundSchema = RefreshPosAccessTokenResponseBody$outboundSchema;
99
- })(RefreshPosAccessTokenResponseBody$ || (RefreshPosAccessTokenResponseBody$ = {}));
100
- export function refreshPosAccessTokenResponseBodyToJSON(refreshPosAccessTokenResponseBody) {
101
- return JSON.stringify(RefreshPosAccessTokenResponseBody$outboundSchema.parse(refreshPosAccessTokenResponseBody));
102
- }
103
- export function refreshPosAccessTokenResponseBodyFromJSON(jsonString) {
104
- return safeParse(jsonString, (x) => RefreshPosAccessTokenResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshPosAccessTokenResponseBody' from JSON`);
105
- }
106
- //# sourceMappingURL=refreshposaccesstoken.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"refreshposaccesstoken.js","sourceRoot":"","sources":["../../../src/models/operations/refreshposaccesstoken.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;AAsBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAA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