ce-storefront 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +2 -2
  2. package/docs/sdks/carts/README.md +43 -43
  3. package/esm/funcs/{cartsCreateCheckoutAddress.d.ts → cartsCreateCartAddress.d.ts} +2 -2
  4. package/esm/funcs/cartsCreateCartAddress.d.ts.map +1 -0
  5. package/esm/funcs/{cartsCreateCheckoutAddress.js → cartsCreateCartAddress.js} +7 -9
  6. package/esm/funcs/cartsCreateCartAddress.js.map +1 -0
  7. package/esm/lib/config.d.ts +2 -2
  8. package/esm/lib/config.js +2 -2
  9. package/esm/models/operations/createcartaddress.d.ts +183 -0
  10. package/esm/models/operations/createcartaddress.d.ts.map +1 -0
  11. package/esm/models/operations/{createcheckoutaddress.js → createcartaddress.js} +56 -56
  12. package/esm/models/operations/createcartaddress.js.map +1 -0
  13. package/esm/models/operations/index.d.ts +1 -1
  14. package/esm/models/operations/index.d.ts.map +1 -1
  15. package/esm/models/operations/index.js +1 -1
  16. package/esm/models/operations/index.js.map +1 -1
  17. package/esm/sdk/carts.d.ts +1 -1
  18. package/esm/sdk/carts.d.ts.map +1 -1
  19. package/esm/sdk/carts.js +3 -3
  20. package/esm/sdk/carts.js.map +1 -1
  21. package/jsr.json +1 -1
  22. package/package.json +1 -1
  23. package/src/funcs/{cartsCreateCheckoutAddress.ts → cartsCreateCartAddress.ts} +9 -12
  24. package/src/lib/config.ts +2 -2
  25. package/src/models/operations/{createcheckoutaddress.ts → createcartaddress.ts} +91 -96
  26. package/src/models/operations/index.ts +1 -1
  27. package/src/sdk/carts.ts +5 -5
  28. package/esm/funcs/cartsCreateCheckoutAddress.d.ts.map +0 -1
  29. package/esm/funcs/cartsCreateCheckoutAddress.js.map +0 -1
  30. package/esm/models/operations/createcheckoutaddress.d.ts +0 -183
  31. package/esm/models/operations/createcheckoutaddress.d.ts.map +0 -1
  32. package/esm/models/operations/createcheckoutaddress.js.map +0 -1
package/README.md CHANGED
@@ -133,7 +133,7 @@ run();
133
133
  * [getUserCart](docs/sdks/carts/README.md#getusercart) - Retrieve cart using user id
134
134
  * [removeUserCart](docs/sdks/carts/README.md#removeusercart) - Delete cart using user id
135
135
  * [updateCart](docs/sdks/carts/README.md#updatecart) - Add/delete cart item
136
- * [createCheckoutAddress](docs/sdks/carts/README.md#createcheckoutaddress) - Update cart address
136
+ * [createCartAddress](docs/sdks/carts/README.md#createcartaddress) - Update cart address
137
137
  * [applyCoupon](docs/sdks/carts/README.md#applycoupon) - Apply coupon
138
138
  * [removeCoupon](docs/sdks/carts/README.md#removecoupon) - Remove coupon
139
139
 
@@ -215,7 +215,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
215
215
  - [`campaignsSubscribeNewsletter`](docs/sdks/campaigns/README.md#subscribenewsletter) - Subscribe to newsletter
216
216
  - [`cartsApplyCoupon`](docs/sdks/carts/README.md#applycoupon) - Apply coupon
217
217
  - [`cartsCreateCart`](docs/sdks/carts/README.md#createcart) - Create cart
218
- - [`cartsCreateCheckoutAddress`](docs/sdks/carts/README.md#createcheckoutaddress) - Update cart address
218
+ - [`cartsCreateCartAddress`](docs/sdks/carts/README.md#createcartaddress) - Update cart address
219
219
  - [`cartsDeleteCart`](docs/sdks/carts/README.md#deletecart) - Delete cart
220
220
  - [`cartsGetCart`](docs/sdks/carts/README.md#getcart) - Retrieve cart detail
221
221
  - [`cartsGetUserCart`](docs/sdks/carts/README.md#getusercart) - Retrieve cart using user id
@@ -11,7 +11,7 @@
11
11
  * [getUserCart](#getusercart) - Retrieve cart using user id
12
12
  * [removeUserCart](#removeusercart) - Delete cart using user id
13
13
  * [updateCart](#updatecart) - Add/delete cart item
14
- * [createCheckoutAddress](#createcheckoutaddress) - Update cart address
14
+ * [createCartAddress](#createcartaddress) - Update cart address
15
15
  * [applyCoupon](#applycoupon) - Apply coupon
16
16
  * [removeCoupon](#removecoupon) - Remove coupon
17
17
 
@@ -510,7 +510,7 @@ run();
510
510
  | errors.NotFound | 404 | application/json |
511
511
  | errors.CeError | 4XX, 5XX | \*/\* |
512
512
 
513
- ## createCheckoutAddress
513
+ ## createCartAddress
514
514
 
515
515
  Update billing and shipping address
516
516
 
@@ -524,39 +524,39 @@ const ceStorefront = new CeStorefront({
524
524
  });
525
525
 
526
526
  async function run() {
527
- const result = await ceStorefront.carts.createCheckoutAddress({
527
+ const result = await ceStorefront.carts.createCartAddress({
528
528
  id: "<id>",
529
529
  requestBody: {
530
530
  billingAddress: {
531
531
  id: "<id>",
532
- firstName: "Pasquale",
533
- lastName: "Fadel",
534
- countryCode: "ST",
535
- phone: "845-901-2987 x42469",
536
- email: "Kenya.Kuhlman@gmail.com",
537
- addressLine1: "48039 Sydnie Forge",
532
+ firstName: "Shane",
533
+ lastName: "Konopelski",
534
+ countryCode: "RW",
535
+ phone: "361-910-1801",
536
+ email: "Jamel_Hegmann@hotmail.com",
537
+ addressLine1: "32912 Stanton Fords",
538
538
  addressLine2: "-",
539
539
  landmark: "<value>",
540
540
  pincode: "<value>",
541
- city: "North Davonte",
542
- state: "Maryland",
543
- taxIdentificationNumber: "GB123456789",
541
+ city: "Suzannefort",
542
+ state: "Vermont",
543
+ taxIdentificationNumber: "123456789",
544
544
  businessName: "<value>",
545
545
  },
546
546
  shippingAddress: {
547
547
  id: "<id>",
548
- firstName: "Bonita",
549
- lastName: "Stracke",
550
- countryCode: "PL",
551
- phone: "740.937.5175",
552
- email: "Dewayne_Walter@gmail.com",
553
- addressLine1: "409 Bath Street",
548
+ firstName: "Kasandra",
549
+ lastName: "Sauer",
550
+ countryCode: "GY",
551
+ phone: "(582) 271-0084",
552
+ email: "Lera.Lindgren@yahoo.com",
553
+ addressLine1: "35385 Stanton Harbor",
554
554
  addressLine2: "-",
555
555
  landmark: "<value>",
556
556
  pincode: "<value>",
557
- city: "Fort Donnieside",
558
- state: "Colorado",
559
- taxIdentificationNumber: "IN27AAEPM0111C1ZQ",
557
+ city: "Jerrodworth",
558
+ state: "Oregon",
559
+ taxIdentificationNumber: "123456789",
560
560
  businessName: "<value>",
561
561
  },
562
562
  },
@@ -575,7 +575,7 @@ The standalone function version of this method:
575
575
 
576
576
  ```typescript
577
577
  import { CeStorefrontCore } from "ce-storefront/core.js";
578
- import { cartsCreateCheckoutAddress } from "ce-storefront/funcs/cartsCreateCheckoutAddress.js";
578
+ import { cartsCreateCartAddress } from "ce-storefront/funcs/cartsCreateCartAddress.js";
579
579
 
580
580
  // Use `CeStorefrontCore` for best tree-shaking performance.
581
581
  // You can create one instance of it to use across an application.
@@ -584,39 +584,39 @@ const ceStorefront = new CeStorefrontCore({
584
584
  });
585
585
 
586
586
  async function run() {
587
- const res = await cartsCreateCheckoutAddress(ceStorefront, {
587
+ const res = await cartsCreateCartAddress(ceStorefront, {
588
588
  id: "<id>",
589
589
  requestBody: {
590
590
  billingAddress: {
591
591
  id: "<id>",
592
- firstName: "Louie",
593
- lastName: "Walter",
594
- countryCode: "HR",
595
- phone: "322.312.5640 x6288",
596
- email: "Alexandro.Collins13@hotmail.com",
597
- addressLine1: "160 Schimmel Course",
592
+ firstName: "Pearl",
593
+ lastName: "Mohr",
594
+ countryCode: "TG",
595
+ phone: "282-955-7215",
596
+ email: "Dudley22@gmail.com",
597
+ addressLine1: "251 Cayla Oval",
598
598
  addressLine2: "-",
599
599
  landmark: "<value>",
600
600
  pincode: "<value>",
601
- city: "O'Connerport",
602
- state: "Arkansas",
603
- taxIdentificationNumber: "123456789",
601
+ city: "Lake Daryl",
602
+ state: "Virginia",
603
+ taxIdentificationNumber: "IN27AAEPM0111C1ZQ",
604
604
  businessName: "<value>",
605
605
  },
606
606
  shippingAddress: {
607
607
  id: "<id>",
608
- firstName: "Ardella",
609
- lastName: "Witting",
610
- countryCode: "PE",
611
- phone: "1-582-626-3699 x2999",
612
- email: "Georgette21@gmail.com",
613
- addressLine1: "70233 Steuber Shore",
608
+ firstName: "Samantha",
609
+ lastName: "Denesik",
610
+ countryCode: "ET",
611
+ phone: "(209) 532-8483 x4282",
612
+ email: "Kelley53@hotmail.com",
613
+ addressLine1: "7485 Conn Pike",
614
614
  addressLine2: "-",
615
615
  landmark: "<value>",
616
616
  pincode: "<value>",
617
- city: "Lake Stefanfield",
618
- state: "Oregon",
619
- taxIdentificationNumber: "IN27AAEPM0111C1ZQ",
617
+ city: "North Miami",
618
+ state: "Montana",
619
+ taxIdentificationNumber: "123456789",
620
620
  businessName: "<value>",
621
621
  },
622
622
  },
@@ -639,7 +639,7 @@ run();
639
639
 
640
640
  | Parameter | Type | Required | Description |
641
641
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
642
- | `request` | [operations.CreateCheckoutAddressRequest](../../models/operations/createcheckoutaddressrequest.md) | :heavy_check_mark: | The request object to use for the request. |
642
+ | `request` | [operations.CreateCartAddressRequest](../../models/operations/createcartaddressrequest.md) | :heavy_check_mark: | The request object to use for the request. |
643
643
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
644
644
  | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
645
645
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -647,7 +647,7 @@ run();
647
647
 
648
648
  ### Response
649
649
 
650
- **Promise\<[operations.CreateCheckoutAddressResponseBody](../../models/operations/createcheckoutaddressresponsebody.md)\>**
650
+ **Promise\<[operations.CreateCartAddressResponseBody](../../models/operations/createcartaddressresponsebody.md)\>**
651
651
 
652
652
  ### Errors
653
653
 
@@ -12,5 +12,5 @@ import { Result } from "../types/fp.js";
12
12
  * @remarks
13
13
  * Update billing and shipping address
14
14
  */
15
- export declare function cartsCreateCheckoutAddress(client: CeStorefrontCore, request: operations.CreateCheckoutAddressRequest, options?: RequestOptions): Promise<Result<operations.CreateCheckoutAddressResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
- //# sourceMappingURL=cartsCreateCheckoutAddress.d.ts.map
15
+ export declare function cartsCreateCartAddress(client: CeStorefrontCore, request: operations.CreateCartAddressRequest, options?: RequestOptions): Promise<Result<operations.CreateCartAddressResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
+ //# sourceMappingURL=cartsCreateCartAddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cartsCreateCartAddress.d.ts","sourceRoot":"","sources":["../../src/funcs/cartsCreateCartAddress.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,6BAA6B,EACtC,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,YAAY,GACnB,MAAM,CAAC,QAAQ,GACf,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAsGA"}
@@ -8,7 +8,7 @@ import { safeParse } from "../lib/schemas.js";
8
8
  import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
9
9
  import { pathToFunc } from "../lib/url.js";
10
10
  import * as errors from "../models/errors/index.js";
11
- import { CreateCheckoutAddressServerList } from "../models/operations/createcheckoutaddress.js";
11
+ import { CreateCartAddressServerList } from "../models/operations/createcartaddress.js";
12
12
  import * as operations from "../models/operations/index.js";
13
13
  /**
14
14
  * Update cart address
@@ -16,17 +16,15 @@ import * as operations from "../models/operations/index.js";
16
16
  * @remarks
17
17
  * Update billing and shipping address
18
18
  */
19
- export async function cartsCreateCheckoutAddress(client, request, options) {
20
- const parsed = safeParse(request, (value) => operations.CreateCheckoutAddressRequest$outboundSchema.parse(value), "Input validation failed");
19
+ export async function cartsCreateCartAddress(client, request, options) {
20
+ const parsed = safeParse(request, (value) => operations.CreateCartAddressRequest$outboundSchema.parse(value), "Input validation failed");
21
21
  if (!parsed.ok) {
22
22
  return parsed;
23
23
  }
24
24
  const payload = parsed.value;
25
25
  const body = encodeJSON("body", payload.RequestBody, { explode: true });
26
26
  const baseURL = options?.serverURL
27
- || pathToFunc(CreateCheckoutAddressServerList[0], {
28
- charEncoding: "percent",
29
- })({
27
+ || pathToFunc(CreateCartAddressServerList[0], { charEncoding: "percent" })({
30
28
  store_id: "x2yh61zw4k",
31
29
  });
32
30
  const pathParams = {
@@ -44,7 +42,7 @@ export async function cartsCreateCheckoutAddress(client, request, options) {
44
42
  const securityInput = secConfig == null ? {} : { authorization: secConfig };
45
43
  const requestSecurity = resolveGlobalSecurity(securityInput);
46
44
  const context = {
47
- operationID: "create-checkout-address",
45
+ operationID: "create-cart-address",
48
46
  oAuth2Scopes: [],
49
47
  resolvedSecurity: requestSecurity,
50
48
  securitySource: client._options.authorization,
@@ -79,10 +77,10 @@ export async function cartsCreateCheckoutAddress(client, request, options) {
79
77
  const responseFields = {
80
78
  HttpMeta: { Response: response, Request: req },
81
79
  };
82
- const [result] = await M.match(M.json(200, operations.CreateCheckoutAddressResponseBody$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr(401, errors.Unauthorized$inboundSchema), M.jsonErr(404, errors.NotFound$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, { extraFields: responseFields });
80
+ const [result] = await M.match(M.json(200, operations.CreateCartAddressResponseBody$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr(401, errors.Unauthorized$inboundSchema), M.jsonErr(404, errors.NotFound$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, { extraFields: responseFields });
83
81
  if (!result.ok) {
84
82
  return result;
85
83
  }
86
84
  return result;
87
85
  }
88
- //# sourceMappingURL=cartsCreateCheckoutAddress.js.map
86
+ //# sourceMappingURL=cartsCreateCartAddress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cartsCreateCartAddress.js","sourceRoot":"","sources":["../../src/funcs/cartsCreateCartAddress.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,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,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AC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAa5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,2CAA2C,CAAC,EACnE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,CAAC,EAC/C,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,0BAA0B,CAAC,EACjD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,sBAAsB,CAAC,EAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "1.0";
34
- readonly sdkVersion: "0.5.1";
34
+ readonly sdkVersion: "0.5.2";
35
35
  readonly genVersion: "2.500.5";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.5.1 2.500.5 1.0 ce-storefront";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.5.2 2.500.5 1.0 ce-storefront";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -40,8 +40,8 @@ export function serverURLFromOptions(options) {
40
40
  export const SDK_METADATA = {
41
41
  language: "typescript",
42
42
  openapiDocVersion: "1.0",
43
- sdkVersion: "0.5.1",
43
+ sdkVersion: "0.5.2",
44
44
  genVersion: "2.500.5",
45
- userAgent: "speakeasy-sdk/typescript 0.5.1 2.500.5 1.0 ce-storefront",
45
+ userAgent: "speakeasy-sdk/typescript 0.5.2 2.500.5 1.0 ce-storefront",
46
46
  };
47
47
  //# sourceMappingURL=config.js.map
@@ -0,0 +1,183 @@
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 declare const CreateCartAddressServerList: readonly ["https://staging.api.commercengine.io/api/v1/{store_id}/storefront", "https://prod.api.commercengine.io/api/v1/{store_id}/storefront"];
6
+ /**
7
+ * For guest checkout where address is not saved
8
+ */
9
+ export type GuestUser = {
10
+ billingAddress: components.CustomerAddressInput | null;
11
+ shippingAddress: components.CustomerAddressInput | null;
12
+ };
13
+ /**
14
+ * For registered users where address is previously added
15
+ */
16
+ export type RegisteredUser = {
17
+ billingAddressId: string;
18
+ shippingAddressId: string;
19
+ };
20
+ /**
21
+ * Update billing and shipping address during checkout
22
+ */
23
+ export type CreateCartAddressRequestBody = RegisteredUser | GuestUser;
24
+ export type CreateCartAddressRequest = {
25
+ /**
26
+ * Cart ID
27
+ */
28
+ id: string;
29
+ /**
30
+ * Update billing and shipping address during checkout
31
+ */
32
+ requestBody: RegisteredUser | GuestUser;
33
+ };
34
+ export type CreateCartAddressContent = {
35
+ /**
36
+ * This cart model is structured to capture a wide range of details, facilitating accurate representation and management of user shopping carts in an e-commerce platform.
37
+ */
38
+ cart: components.Cart;
39
+ };
40
+ /**
41
+ * OK
42
+ */
43
+ export type CreateCartAddressResponseBody = {
44
+ message: string;
45
+ success: boolean;
46
+ content: CreateCartAddressContent;
47
+ };
48
+ /** @internal */
49
+ export declare const GuestUser$inboundSchema: z.ZodType<GuestUser, z.ZodTypeDef, unknown>;
50
+ /** @internal */
51
+ export type GuestUser$Outbound = {
52
+ billing_address: components.CustomerAddressInput$Outbound | null;
53
+ shipping_address: components.CustomerAddressInput$Outbound | null;
54
+ };
55
+ /** @internal */
56
+ export declare const GuestUser$outboundSchema: z.ZodType<GuestUser$Outbound, z.ZodTypeDef, GuestUser>;
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 GuestUser$ {
62
+ /** @deprecated use `GuestUser$inboundSchema` instead. */
63
+ const inboundSchema: z.ZodType<GuestUser, z.ZodTypeDef, unknown>;
64
+ /** @deprecated use `GuestUser$outboundSchema` instead. */
65
+ const outboundSchema: z.ZodType<GuestUser$Outbound, z.ZodTypeDef, GuestUser>;
66
+ /** @deprecated use `GuestUser$Outbound` instead. */
67
+ type Outbound = GuestUser$Outbound;
68
+ }
69
+ export declare function guestUserToJSON(guestUser: GuestUser): string;
70
+ export declare function guestUserFromJSON(jsonString: string): SafeParseResult<GuestUser, SDKValidationError>;
71
+ /** @internal */
72
+ export declare const RegisteredUser$inboundSchema: z.ZodType<RegisteredUser, z.ZodTypeDef, unknown>;
73
+ /** @internal */
74
+ export type RegisteredUser$Outbound = {
75
+ billing_address_id: string;
76
+ shipping_address_id: string;
77
+ };
78
+ /** @internal */
79
+ export declare const RegisteredUser$outboundSchema: z.ZodType<RegisteredUser$Outbound, z.ZodTypeDef, RegisteredUser>;
80
+ /**
81
+ * @internal
82
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
83
+ */
84
+ export declare namespace RegisteredUser$ {
85
+ /** @deprecated use `RegisteredUser$inboundSchema` instead. */
86
+ const inboundSchema: z.ZodType<RegisteredUser, z.ZodTypeDef, unknown>;
87
+ /** @deprecated use `RegisteredUser$outboundSchema` instead. */
88
+ const outboundSchema: z.ZodType<RegisteredUser$Outbound, z.ZodTypeDef, RegisteredUser>;
89
+ /** @deprecated use `RegisteredUser$Outbound` instead. */
90
+ type Outbound = RegisteredUser$Outbound;
91
+ }
92
+ export declare function registeredUserToJSON(registeredUser: RegisteredUser): string;
93
+ export declare function registeredUserFromJSON(jsonString: string): SafeParseResult<RegisteredUser, SDKValidationError>;
94
+ /** @internal */
95
+ export declare const CreateCartAddressRequestBody$inboundSchema: z.ZodType<CreateCartAddressRequestBody, z.ZodTypeDef, unknown>;
96
+ /** @internal */
97
+ export type CreateCartAddressRequestBody$Outbound = RegisteredUser$Outbound | GuestUser$Outbound;
98
+ /** @internal */
99
+ export declare const CreateCartAddressRequestBody$outboundSchema: z.ZodType<CreateCartAddressRequestBody$Outbound, z.ZodTypeDef, CreateCartAddressRequestBody>;
100
+ /**
101
+ * @internal
102
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
103
+ */
104
+ export declare namespace CreateCartAddressRequestBody$ {
105
+ /** @deprecated use `CreateCartAddressRequestBody$inboundSchema` instead. */
106
+ const inboundSchema: z.ZodType<CreateCartAddressRequestBody, z.ZodTypeDef, unknown>;
107
+ /** @deprecated use `CreateCartAddressRequestBody$outboundSchema` instead. */
108
+ const outboundSchema: z.ZodType<CreateCartAddressRequestBody$Outbound, z.ZodTypeDef, CreateCartAddressRequestBody>;
109
+ /** @deprecated use `CreateCartAddressRequestBody$Outbound` instead. */
110
+ type Outbound = CreateCartAddressRequestBody$Outbound;
111
+ }
112
+ export declare function createCartAddressRequestBodyToJSON(createCartAddressRequestBody: CreateCartAddressRequestBody): string;
113
+ export declare function createCartAddressRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateCartAddressRequestBody, SDKValidationError>;
114
+ /** @internal */
115
+ export declare const CreateCartAddressRequest$inboundSchema: z.ZodType<CreateCartAddressRequest, z.ZodTypeDef, unknown>;
116
+ /** @internal */
117
+ export type CreateCartAddressRequest$Outbound = {
118
+ id: string;
119
+ RequestBody: RegisteredUser$Outbound | GuestUser$Outbound;
120
+ };
121
+ /** @internal */
122
+ export declare const CreateCartAddressRequest$outboundSchema: z.ZodType<CreateCartAddressRequest$Outbound, z.ZodTypeDef, CreateCartAddressRequest>;
123
+ /**
124
+ * @internal
125
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
126
+ */
127
+ export declare namespace CreateCartAddressRequest$ {
128
+ /** @deprecated use `CreateCartAddressRequest$inboundSchema` instead. */
129
+ const inboundSchema: z.ZodType<CreateCartAddressRequest, z.ZodTypeDef, unknown>;
130
+ /** @deprecated use `CreateCartAddressRequest$outboundSchema` instead. */
131
+ const outboundSchema: z.ZodType<CreateCartAddressRequest$Outbound, z.ZodTypeDef, CreateCartAddressRequest>;
132
+ /** @deprecated use `CreateCartAddressRequest$Outbound` instead. */
133
+ type Outbound = CreateCartAddressRequest$Outbound;
134
+ }
135
+ export declare function createCartAddressRequestToJSON(createCartAddressRequest: CreateCartAddressRequest): string;
136
+ export declare function createCartAddressRequestFromJSON(jsonString: string): SafeParseResult<CreateCartAddressRequest, SDKValidationError>;
137
+ /** @internal */
138
+ export declare const CreateCartAddressContent$inboundSchema: z.ZodType<CreateCartAddressContent, z.ZodTypeDef, unknown>;
139
+ /** @internal */
140
+ export type CreateCartAddressContent$Outbound = {
141
+ cart: components.Cart$Outbound;
142
+ };
143
+ /** @internal */
144
+ export declare const CreateCartAddressContent$outboundSchema: z.ZodType<CreateCartAddressContent$Outbound, z.ZodTypeDef, CreateCartAddressContent>;
145
+ /**
146
+ * @internal
147
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
148
+ */
149
+ export declare namespace CreateCartAddressContent$ {
150
+ /** @deprecated use `CreateCartAddressContent$inboundSchema` instead. */
151
+ const inboundSchema: z.ZodType<CreateCartAddressContent, z.ZodTypeDef, unknown>;
152
+ /** @deprecated use `CreateCartAddressContent$outboundSchema` instead. */
153
+ const outboundSchema: z.ZodType<CreateCartAddressContent$Outbound, z.ZodTypeDef, CreateCartAddressContent>;
154
+ /** @deprecated use `CreateCartAddressContent$Outbound` instead. */
155
+ type Outbound = CreateCartAddressContent$Outbound;
156
+ }
157
+ export declare function createCartAddressContentToJSON(createCartAddressContent: CreateCartAddressContent): string;
158
+ export declare function createCartAddressContentFromJSON(jsonString: string): SafeParseResult<CreateCartAddressContent, SDKValidationError>;
159
+ /** @internal */
160
+ export declare const CreateCartAddressResponseBody$inboundSchema: z.ZodType<CreateCartAddressResponseBody, z.ZodTypeDef, unknown>;
161
+ /** @internal */
162
+ export type CreateCartAddressResponseBody$Outbound = {
163
+ message: string;
164
+ success: boolean;
165
+ content: CreateCartAddressContent$Outbound;
166
+ };
167
+ /** @internal */
168
+ export declare const CreateCartAddressResponseBody$outboundSchema: z.ZodType<CreateCartAddressResponseBody$Outbound, z.ZodTypeDef, CreateCartAddressResponseBody>;
169
+ /**
170
+ * @internal
171
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
172
+ */
173
+ export declare namespace CreateCartAddressResponseBody$ {
174
+ /** @deprecated use `CreateCartAddressResponseBody$inboundSchema` instead. */
175
+ const inboundSchema: z.ZodType<CreateCartAddressResponseBody, z.ZodTypeDef, unknown>;
176
+ /** @deprecated use `CreateCartAddressResponseBody$outboundSchema` instead. */
177
+ const outboundSchema: z.ZodType<CreateCartAddressResponseBody$Outbound, z.ZodTypeDef, CreateCartAddressResponseBody>;
178
+ /** @deprecated use `CreateCartAddressResponseBody$Outbound` instead. */
179
+ type Outbound = CreateCartAddressResponseBody$Outbound;
180
+ }
181
+ export declare function createCartAddressResponseBodyToJSON(createCartAddressResponseBody: CreateCartAddressResponseBody): string;
182
+ export declare function createCartAddressResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateCartAddressResponseBody, SDKValidationError>;
183
+ //# sourceMappingURL=createcartaddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createcartadd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