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,81 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import { encodeJSON } from "../lib/encodings.js";
5
- import * as M from "../lib/matchers.js";
6
- import { compactMap } from "../lib/primitives.js";
7
- import { safeParse } from "../lib/schemas.js";
8
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
9
- import { pathToFunc } from "../lib/url.js";
10
- import * as operations from "../models/operations/index.js";
11
- import { APIPromise } from "../types/async.js";
12
- /**
13
- * Refresh POS access token
14
- *
15
- * @remarks
16
- * Refresh POS access token
17
- */
18
- export function posRefreshPosAccessToken(client, request, options) {
19
- return new APIPromise($do(client, request, options));
20
- }
21
- async function $do(client, request, options) {
22
- const parsed = safeParse(request, (value) => operations.RefreshPosAccessTokenRequestBody$outboundSchema.optional()
23
- .parse(value), "Input validation failed");
24
- if (!parsed.ok) {
25
- return [parsed, { status: "invalid" }];
26
- }
27
- const payload = parsed.value;
28
- const body = payload === undefined
29
- ? null
30
- : encodeJSON("body", payload, { explode: true });
31
- const path = pathToFunc("/pos/auth/refresh-token")();
32
- const headers = new Headers(compactMap({
33
- "Content-Type": "application/json",
34
- Accept: "application/json",
35
- }));
36
- const secConfig = await extractSecurity(client._options.authorization);
37
- const securityInput = secConfig == null ? {} : { authorization: secConfig };
38
- const requestSecurity = resolveGlobalSecurity(securityInput);
39
- const context = {
40
- options: client._options,
41
- baseURL: options?.serverURL ?? client._baseURL ?? "",
42
- operationID: "refresh-pos-access-token",
43
- oAuth2Scopes: [],
44
- resolvedSecurity: requestSecurity,
45
- securitySource: client._options.authorization,
46
- retryConfig: options?.retries
47
- || client._options.retryConfig
48
- || { strategy: "none" },
49
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
50
- };
51
- const requestRes = client._createRequest(context, {
52
- security: requestSecurity,
53
- method: "POST",
54
- baseURL: options?.serverURL,
55
- path: path,
56
- headers: headers,
57
- body: body,
58
- userAgent: client._options.userAgent,
59
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
60
- }, options);
61
- if (!requestRes.ok) {
62
- return [requestRes, { status: "invalid" }];
63
- }
64
- const req = requestRes.value;
65
- const doResult = await client._do(req, {
66
- context,
67
- errorCodes: ["4XX", "5XX"],
68
- retryConfig: context.retryConfig,
69
- retryCodes: context.retryCodes,
70
- });
71
- if (!doResult.ok) {
72
- return [doResult, { status: "request-error", request: req }];
73
- }
74
- const response = doResult.value;
75
- const [result] = await M.match(M.json(200, operations.RefreshPosAccessTokenResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
76
- if (!result.ok) {
77
- return [result, { status: "complete", request: req, response }];
78
- }
79
- return [result, { status: "complete", request: req, response }];
80
- }
81
- //# sourceMappingURL=posRefreshPosAccessToken.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"posRefreshPosAccessToken.js","sourceRoot":"","sources":["../../src/funcs/posRefreshPosAccessToken.ts"],"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 -1,17 +0,0 @@
1
- import { CeStorefrontCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { CeStorefrontError } from "../models/errors/cestorefronterror.js";
4
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
6
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
- import * as operations from "../models/operations/index.js";
8
- import { APIPromise } from "../types/async.js";
9
- import { Result } from "../types/fp.js";
10
- /**
11
- * Add/update/delete cart item
12
- *
13
- * @remarks
14
- * Add/update item to cart. To delete item from cart, pass quantity = 0
15
- */
16
- export declare function posUpdatePosCart(client: CeStorefrontCore, request: operations.UpdatePosCartRequest, options?: RequestOptions): APIPromise<Result<operations.UpdatePosCartResponseBody, CeStorefrontError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
17
- //# sourceMappingURL=posUpdatePosCart.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"posUpdatePosCart.d.ts","sourceRoot":"","sources":["../../src/funcs/posUpdatePosCart.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,yBAAyB,EAClC,iBAAiB,GACjB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -1,84 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import { encodeJSON, encodeSimple } from "../lib/encodings.js";
5
- import * as M from "../lib/matchers.js";
6
- import { compactMap } from "../lib/primitives.js";
7
- import { safeParse } from "../lib/schemas.js";
8
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
9
- import { pathToFunc } from "../lib/url.js";
10
- import * as operations from "../models/operations/index.js";
11
- import { APIPromise } from "../types/async.js";
12
- /**
13
- * Add/update/delete cart item
14
- *
15
- * @remarks
16
- * Add/update item to cart. To delete item from cart, pass quantity = 0
17
- */
18
- export function posUpdatePosCart(client, request, options) {
19
- return new APIPromise($do(client, request, options));
20
- }
21
- async function $do(client, request, options) {
22
- const parsed = safeParse(request, (value) => operations.UpdatePosCartRequest$outboundSchema.parse(value), "Input validation failed");
23
- if (!parsed.ok) {
24
- return [parsed, { status: "invalid" }];
25
- }
26
- const payload = parsed.value;
27
- const body = encodeJSON("body", payload.RequestBody, { explode: true });
28
- const pathParams = {
29
- id: encodeSimple("id", payload.id, {
30
- explode: false,
31
- charEncoding: "percent",
32
- }),
33
- };
34
- const path = pathToFunc("/pos/carts/{id}/items")(pathParams);
35
- const headers = new Headers(compactMap({
36
- "Content-Type": "application/json",
37
- Accept: "application/json",
38
- }));
39
- const secConfig = await extractSecurity(client._options.authorization);
40
- const securityInput = secConfig == null ? {} : { authorization: secConfig };
41
- const requestSecurity = resolveGlobalSecurity(securityInput);
42
- const context = {
43
- options: client._options,
44
- baseURL: options?.serverURL ?? client._baseURL ?? "",
45
- operationID: "update-pos-cart",
46
- oAuth2Scopes: [],
47
- resolvedSecurity: requestSecurity,
48
- securitySource: client._options.authorization,
49
- retryConfig: options?.retries
50
- || client._options.retryConfig
51
- || { strategy: "none" },
52
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
53
- };
54
- const requestRes = client._createRequest(context, {
55
- security: requestSecurity,
56
- method: "POST",
57
- baseURL: options?.serverURL,
58
- path: path,
59
- headers: headers,
60
- body: body,
61
- userAgent: client._options.userAgent,
62
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
63
- }, options);
64
- if (!requestRes.ok) {
65
- return [requestRes, { status: "invalid" }];
66
- }
67
- const req = requestRes.value;
68
- const doResult = await client._do(req, {
69
- context,
70
- errorCodes: ["4XX", "5XX"],
71
- retryConfig: context.retryConfig,
72
- retryCodes: context.retryCodes,
73
- });
74
- if (!doResult.ok) {
75
- return [doResult, { status: "request-error", request: req }];
76
- }
77
- const response = doResult.value;
78
- const [result] = await M.match(M.json(200, operations.UpdatePosCartResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
79
- if (!result.ok) {
80
- return [result, { status: "complete", request: req, response }];
81
- }
82
- return [result, { status: "complete", request: req, response }];
83
- }
84
- //# sourceMappingURL=posUpdatePosCart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"posUpdatePosCart.js","sourceRoot":"","sources":["../../src/funcs/posUpdatePosCart.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAA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../models/errors/cestorefronterror.js";
4
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
6
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
- import * as operations from "../models/operations/index.js";
8
- import { APIPromise } from "../types/async.js";
9
- import { Result } from "../types/fp.js";
10
- /**
11
- * Verify OTP
12
- *
13
- * @remarks
14
- * Verify POS login otp.
15
- */
16
- export declare function posVerifyPosLoginOtp(client: CeStorefrontCore, security: operations.VerifyPosLoginOtpSecurity, request?: operations.VerifyPosLoginOtpRequestBody | undefined, options?: RequestOptions): APIPromise<Result<operations.VerifyPosLoginOtpResponseBody, CeStorefrontError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
17
- //# sourceMappingURL=posVerifyPosLoginOtp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"posVerifyPosLoginOtp.d.ts","sourceRoot":"","sources":["../../src/funcs/posVerifyPosLoginOtp.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,gBAAgB,EACxB,QAAQ,EAAE,UAAU,CAAC,yBAAyB,EAC9C,OAAO,CAAC,EAAE,UAAU,CAAC,4BAA4B,GAAG,SAAS,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,6BAA6B,EACtC,iBAAiB,GACjB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAOA"}
@@ -1,84 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import { encodeJSON } from "../lib/encodings.js";
5
- import * as M from "../lib/matchers.js";
6
- import { compactMap } from "../lib/primitives.js";
7
- import { safeParse } from "../lib/schemas.js";
8
- import { resolveSecurity } from "../lib/security.js";
9
- import { pathToFunc } from "../lib/url.js";
10
- import * as operations from "../models/operations/index.js";
11
- import { APIPromise } from "../types/async.js";
12
- /**
13
- * Verify OTP
14
- *
15
- * @remarks
16
- * Verify POS login otp.
17
- */
18
- export function posVerifyPosLoginOtp(client, security, request, options) {
19
- return new APIPromise($do(client, security, request, options));
20
- }
21
- async function $do(client, security, request, options) {
22
- const parsed = safeParse(request, (value) => operations.VerifyPosLoginOtpRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
23
- if (!parsed.ok) {
24
- return [parsed, { status: "invalid" }];
25
- }
26
- const payload = parsed.value;
27
- const body = payload === undefined
28
- ? null
29
- : encodeJSON("body", payload, { explode: true });
30
- const path = pathToFunc("/pos/auth/verify-otp")();
31
- const headers = new Headers(compactMap({
32
- "Content-Type": "application/json",
33
- Accept: "application/json",
34
- }));
35
- const requestSecurity = resolveSecurity([
36
- {
37
- fieldName: "X-Api-Key",
38
- type: "apiKey:header",
39
- value: security?.xApiKey,
40
- },
41
- ]);
42
- const context = {
43
- options: client._options,
44
- baseURL: options?.serverURL ?? client._baseURL ?? "",
45
- operationID: "verify-pos-login-otp",
46
- oAuth2Scopes: null,
47
- resolvedSecurity: requestSecurity,
48
- securitySource: security,
49
- retryConfig: options?.retries
50
- || client._options.retryConfig
51
- || { strategy: "none" },
52
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
53
- };
54
- const requestRes = client._createRequest(context, {
55
- security: requestSecurity,
56
- method: "POST",
57
- baseURL: options?.serverURL,
58
- path: path,
59
- headers: headers,
60
- body: body,
61
- userAgent: client._options.userAgent,
62
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
63
- }, options);
64
- if (!requestRes.ok) {
65
- return [requestRes, { status: "invalid" }];
66
- }
67
- const req = requestRes.value;
68
- const doResult = await client._do(req, {
69
- context,
70
- errorCodes: ["4XX", "5XX"],
71
- retryConfig: context.retryConfig,
72
- retryCodes: context.retryCodes,
73
- });
74
- if (!doResult.ok) {
75
- return [doResult, { status: "request-error", request: req }];
76
- }
77
- const response = doResult.value;
78
- const [result] = await M.match(M.json(200, operations.VerifyPosLoginOtpResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
79
- if (!result.ok) {
80
- return [result, { status: "complete", request: req, response }];
81
- }
82
- return [result, { status: "complete", request: req, response }];
83
- }
84
- //# sourceMappingURL=posVerifyPosLoginOtp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"posVerifyPosLoginOtp.js","sourceRoot":"","sources":["../../src/funcs/posVerifyPosLoginOtp.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,UA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WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,2CAA2C,CAAC,EACnE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -1,71 +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 declare const DeviceType: {
6
- readonly POSTerminal: "POS Terminal";
7
- };
8
- export type DeviceType = ClosedEnum<typeof DeviceType>;
9
- export type PosDevice = {
10
- id?: string | undefined;
11
- name?: string | undefined;
12
- deviceType?: DeviceType | undefined;
13
- /**
14
- * A Device ID for an app.
15
- */
16
- externalDeviceId?: string | undefined;
17
- manufacturer?: string | undefined;
18
- modelNumber?: string | undefined;
19
- macAddress?: string | null | undefined;
20
- locationId?: string | undefined;
21
- locationName?: string | undefined;
22
- };
23
- /** @internal */
24
- export declare const DeviceType$inboundSchema: z.ZodNativeEnum<typeof DeviceType>;
25
- /** @internal */
26
- export declare const DeviceType$outboundSchema: z.ZodNativeEnum<typeof DeviceType>;
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 DeviceType$ {
32
- /** @deprecated use `DeviceType$inboundSchema` instead. */
33
- const inboundSchema: z.ZodNativeEnum<{
34
- readonly POSTerminal: "POS Terminal";
35
- }>;
36
- /** @deprecated use `DeviceType$outboundSchema` instead. */
37
- const outboundSchema: z.ZodNativeEnum<{
38
- readonly POSTerminal: "POS Terminal";
39
- }>;
40
- }
41
- /** @internal */
42
- export declare const PosDevice$inboundSchema: z.ZodType<PosDevice, z.ZodTypeDef, unknown>;
43
- /** @internal */
44
- export type PosDevice$Outbound = {
45
- id?: string | undefined;
46
- name?: string | undefined;
47
- device_type?: string | undefined;
48
- external_device_id?: string | undefined;
49
- manufacturer?: string | undefined;
50
- model_number?: string | undefined;
51
- mac_address?: string | null | undefined;
52
- location_id?: string | undefined;
53
- location_name?: string | undefined;
54
- };
55
- /** @internal */
56
- export declare const PosDevice$outboundSchema: z.ZodType<PosDevice$Outbound, z.ZodTypeDef, PosDevice>;
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 declare namespace PosDevice$ {
62
- /** @deprecated use `PosDevice$inboundSchema` instead. */
63
- const inboundSchema: z.ZodType<PosDevice, z.ZodTypeDef, unknown>;
64
- /** @deprecated use `PosDevice$outboundSchema` instead. */
65
- const outboundSchema: z.ZodType<PosDevice$Outbound, z.ZodTypeDef, PosDevice>;
66
- /** @deprecated use `PosDevice$Outbound` instead. */
67
- type Outbound = PosDevice$Outbound;
68
- }
69
- export declare function posDeviceToJSON(posDevice: PosDevice): string;
70
- export declare function posDeviceFromJSON(jsonString: string): SafeParseResult<PosDevice, SDKValidationError>;
71
- //# sourceMappingURL=posdevice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"posdevice.d.ts","sourceRoot":"","sources":["../../../src/models/components/posdevice.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,eAAO,MAAM,UAAU;;CAEb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAEvD,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,UAAU,CAC/C,CAAC;AAE1B,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,UAAU,CAC/C,CAAC;AAE3B;;;GAGG;AACH,yBAAiB,WAAW,CAAC;IAC3B,0DAA0D;IACnD,MAAM,a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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 DeviceType = {
8
- POSTerminal: "POS Terminal",
9
- };
10
- /** @internal */
11
- export const DeviceType$inboundSchema = z
12
- .nativeEnum(DeviceType);
13
- /** @internal */
14
- export const DeviceType$outboundSchema = DeviceType$inboundSchema;
15
- /**
16
- * @internal
17
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
18
- */
19
- export var DeviceType$;
20
- (function (DeviceType$) {
21
- /** @deprecated use `DeviceType$inboundSchema` instead. */
22
- DeviceType$.inboundSchema = DeviceType$inboundSchema;
23
- /** @deprecated use `DeviceType$outboundSchema` instead. */
24
- DeviceType$.outboundSchema = DeviceType$outboundSchema;
25
- })(DeviceType$ || (DeviceType$ = {}));
26
- /** @internal */
27
- export const PosDevice$inboundSchema = z.object({
28
- id: z.string().optional(),
29
- name: z.string().optional(),
30
- device_type: DeviceType$inboundSchema.optional(),
31
- external_device_id: z.string().optional(),
32
- manufacturer: z.string().optional(),
33
- model_number: z.string().optional(),
34
- mac_address: z.nullable(z.string()).optional(),
35
- location_id: z.string().optional(),
36
- location_name: z.string().optional(),
37
- }).transform((v) => {
38
- return remap$(v, {
39
- "device_type": "deviceType",
40
- "external_device_id": "externalDeviceId",
41
- "model_number": "modelNumber",
42
- "mac_address": "macAddress",
43
- "location_id": "locationId",
44
- "location_name": "locationName",
45
- });
46
- });
47
- /** @internal */
48
- export const PosDevice$outboundSchema = z.object({
49
- id: z.string().optional(),
50
- name: z.string().optional(),
51
- deviceType: DeviceType$outboundSchema.optional(),
52
- externalDeviceId: z.string().optional(),
53
- manufacturer: z.string().optional(),
54
- modelNumber: z.string().optional(),
55
- macAddress: z.nullable(z.string()).optional(),
56
- locationId: z.string().optional(),
57
- locationName: z.string().optional(),
58
- }).transform((v) => {
59
- return remap$(v, {
60
- deviceType: "device_type",
61
- externalDeviceId: "external_device_id",
62
- modelNumber: "model_number",
63
- macAddress: "mac_address",
64
- locationId: "location_id",
65
- locationName: "location_name",
66
- });
67
- });
68
- /**
69
- * @internal
70
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
71
- */
72
- export var PosDevice$;
73
- (function (PosDevice$) {
74
- /** @deprecated use `PosDevice$inboundSchema` instead. */
75
- PosDevice$.inboundSchema = PosDevice$inboundSchema;
76
- /** @deprecated use `PosDevice$outboundSchema` instead. */
77
- PosDevice$.outboundSchema = PosDevice$outboundSchema;
78
- })(PosDevice$ || (PosDevice$ = {}));
79
- export function posDeviceToJSON(posDevice) {
80
- return JSON.stringify(PosDevice$outboundSchema.parse(posDevice));
81
- }
82
- export function posDeviceFromJSON(jsonString) {
83
- return safeParse(jsonString, (x) => PosDevice$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PosDevice' from JSON`);
84
- }
85
- //# sourceMappingURL=posdevice.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"posdevice.js","sourceRoot":"","sources":["../../../src/models/components/posdevice.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;AAKjD,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,WAAW,EAAE,cAAc;CACnB,CAAC;AAkBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GAAuC,CAAC;KAC1E,UAAU,CAAC,UAAU,CAAC,CAAC;AAE1B,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GACpC,wBAAwB,CAAC;AAE3B;;;GAGG;AACH,MAAM,KAAW,WAAW,CAK3B;AALD,WAAiB,WAAW;IAC1B,0DAA0D;IAC7C,yBAAa,GAAG,wBAAwB,CAAC;IACtD,2DAA2D;IAC9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uC,CACxC,CAAC;AACJ,CAAC"}
@@ -1,124 +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 Device = {
5
- id?: string | undefined;
6
- name?: string | undefined;
7
- };
8
- export type Location = {
9
- id?: string | undefined;
10
- name?: string | undefined;
11
- };
12
- export type Role = {
13
- id?: string | undefined;
14
- name?: string | undefined;
15
- };
16
- export type PosUser = {
17
- id?: string | undefined;
18
- firstName?: string | undefined;
19
- lastName?: string | null | undefined;
20
- phone?: string | undefined;
21
- email?: string | undefined;
22
- device?: Device | undefined;
23
- location?: Location | undefined;
24
- role?: Role | undefined;
25
- };
26
- /** @internal */
27
- export declare const Device$inboundSchema: z.ZodType<Device, z.ZodTypeDef, unknown>;
28
- /** @internal */
29
- export type Device$Outbound = {
30
- id?: string | undefined;
31
- name?: string | undefined;
32
- };
33
- /** @internal */
34
- export declare const Device$outboundSchema: z.ZodType<Device$Outbound, z.ZodTypeDef, Device>;
35
- /**
36
- * @internal
37
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
38
- */
39
- export declare namespace Device$ {
40
- /** @deprecated use `Device$inboundSchema` instead. */
41
- const inboundSchema: z.ZodType<Device, z.ZodTypeDef, unknown>;
42
- /** @deprecated use `Device$outboundSchema` instead. */
43
- const outboundSchema: z.ZodType<Device$Outbound, z.ZodTypeDef, Device>;
44
- /** @deprecated use `Device$Outbound` instead. */
45
- type Outbound = Device$Outbound;
46
- }
47
- export declare function deviceToJSON(device: Device): string;
48
- export declare function deviceFromJSON(jsonString: string): SafeParseResult<Device, SDKValidationError>;
49
- /** @internal */
50
- export declare const Location$inboundSchema: z.ZodType<Location, z.ZodTypeDef, unknown>;
51
- /** @internal */
52
- export type Location$Outbound = {
53
- id?: string | undefined;
54
- name?: string | undefined;
55
- };
56
- /** @internal */
57
- export declare const Location$outboundSchema: z.ZodType<Location$Outbound, z.ZodTypeDef, Location>;
58
- /**
59
- * @internal
60
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
61
- */
62
- export declare namespace Location$ {
63
- /** @deprecated use `Location$inboundSchema` instead. */
64
- const inboundSchema: z.ZodType<Location, z.ZodTypeDef, unknown>;
65
- /** @deprecated use `Location$outboundSchema` instead. */
66
- const outboundSchema: z.ZodType<Location$Outbound, z.ZodTypeDef, Location>;
67
- /** @deprecated use `Location$Outbound` instead. */
68
- type Outbound = Location$Outbound;
69
- }
70
- export declare function locationToJSON(location: Location): string;
71
- export declare function locationFromJSON(jsonString: string): SafeParseResult<Location, SDKValidationError>;
72
- /** @internal */
73
- export declare const Role$inboundSchema: z.ZodType<Role, z.ZodTypeDef, unknown>;
74
- /** @internal */
75
- export type Role$Outbound = {
76
- id?: string | undefined;
77
- name?: string | undefined;
78
- };
79
- /** @internal */
80
- export declare const Role$outboundSchema: z.ZodType<Role$Outbound, z.ZodTypeDef, Role>;
81
- /**
82
- * @internal
83
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
84
- */
85
- export declare namespace Role$ {
86
- /** @deprecated use `Role$inboundSchema` instead. */
87
- const inboundSchema: z.ZodType<Role, z.ZodTypeDef, unknown>;
88
- /** @deprecated use `Role$outboundSchema` instead. */
89
- const outboundSchema: z.ZodType<Role$Outbound, z.ZodTypeDef, Role>;
90
- /** @deprecated use `Role$Outbound` instead. */
91
- type Outbound = Role$Outbound;
92
- }
93
- export declare function roleToJSON(role: Role): string;
94
- export declare function roleFromJSON(jsonString: string): SafeParseResult<Role, SDKValidationError>;
95
- /** @internal */
96
- export declare const PosUser$inboundSchema: z.ZodType<PosUser, z.ZodTypeDef, unknown>;
97
- /** @internal */
98
- export type PosUser$Outbound = {
99
- id?: string | undefined;
100
- first_name?: string | undefined;
101
- last_name?: string | null | undefined;
102
- phone?: string | undefined;
103
- email?: string | undefined;
104
- device?: Device$Outbound | undefined;
105
- location?: Location$Outbound | undefined;
106
- role?: Role$Outbound | undefined;
107
- };
108
- /** @internal */
109
- export declare const PosUser$outboundSchema: z.ZodType<PosUser$Outbound, z.ZodTypeDef, PosUser>;
110
- /**
111
- * @internal
112
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
113
- */
114
- export declare namespace PosUser$ {
115
- /** @deprecated use `PosUser$inboundSchema` instead. */
116
- const inboundSchema: z.ZodType<PosUser, z.ZodTypeDef, unknown>;
117
- /** @deprecated use `PosUser$outboundSchema` instead. */
118
- const outboundSchema: z.ZodType<PosUser$Outbound, z.ZodTypeDef, PosUser>;
119
- /** @deprecated use `PosUser$Outbound` instead. */
120
- type Outbound = PosUser$Outbound;
121
- }
122
- export declare function posUserToJSON(posUser: PosUser): string;
123
- export declare function posUserFromJSON(jsonString: string): SafeParseResult<PosUser, SDKValidationError>;
124
- //# sourceMappingURL=posuser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"posuser.d.ts","sourceRoot":"","sources":["../../../src/models/components/posuser.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,MAAM,GAAG;IACnB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,OAAO,GAA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