ce-storefront 0.0.4 → 0.0.5

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 (88) hide show
  1. package/README.md +6 -0
  2. package/docs/sdks/customersapi/README.md +234 -0
  3. package/funcs/customersAPIGetCustomersId.d.ts +15 -0
  4. package/funcs/customersAPIGetCustomersId.d.ts.map +1 -0
  5. package/funcs/customersAPIGetCustomersId.js +93 -0
  6. package/funcs/customersAPIGetCustomersId.js.map +1 -0
  7. package/funcs/customersAPIPostCustomers.d.ts +17 -0
  8. package/funcs/customersAPIPostCustomers.d.ts.map +1 -0
  9. package/funcs/customersAPIPostCustomers.js +96 -0
  10. package/funcs/customersAPIPostCustomers.js.map +1 -0
  11. package/funcs/customersAPIPutCustomersId.d.ts +16 -0
  12. package/funcs/customersAPIPutCustomersId.d.ts.map +1 -0
  13. package/funcs/customersAPIPutCustomersId.js +98 -0
  14. package/funcs/customersAPIPutCustomersId.js.map +1 -0
  15. package/lib/config.d.ts +2 -2
  16. package/lib/config.js +2 -2
  17. package/models/components/business.d.ts +31 -0
  18. package/models/components/business.d.ts.map +1 -0
  19. package/models/components/business.js +71 -0
  20. package/models/components/business.js.map +1 -0
  21. package/models/components/cart.d.ts +1 -1
  22. package/models/components/cart.d.ts.map +1 -1
  23. package/models/components/cart.js +5 -5
  24. package/models/components/cart.js.map +1 -1
  25. package/models/components/createcustomer.d.ts +29 -0
  26. package/models/components/createcustomer.d.ts.map +1 -0
  27. package/models/components/createcustomer.js +54 -0
  28. package/models/components/createcustomer.js.map +1 -0
  29. package/models/components/{customeraddress.d.ts → customeraddressinput.d.ts} +29 -29
  30. package/models/components/customeraddressinput.d.ts.map +1 -0
  31. package/models/components/{customeraddress.js → customeraddressinput.js} +30 -30
  32. package/models/components/customeraddressinput.js.map +1 -0
  33. package/models/components/customerdetail.d.ts +51 -0
  34. package/models/components/customerdetail.d.ts.map +1 -0
  35. package/models/components/customerdetail.js +88 -0
  36. package/models/components/customerdetail.js.map +1 -0
  37. package/models/components/index.d.ts +5 -1
  38. package/models/components/index.d.ts.map +1 -1
  39. package/models/components/index.js +5 -1
  40. package/models/components/index.js.map +1 -1
  41. package/models/components/orderdetail.d.ts +1 -1
  42. package/models/components/orderdetail.d.ts.map +1 -1
  43. package/models/components/orderdetail.js +5 -5
  44. package/models/components/orderdetail.js.map +1 -1
  45. package/models/components/updatecustomer.d.ts +26 -0
  46. package/models/components/updatecustomer.d.ts.map +1 -0
  47. package/models/components/updatecustomer.js +51 -0
  48. package/models/components/updatecustomer.js.map +1 -0
  49. package/models/operations/getcustomersid.d.ts +82 -0
  50. package/models/operations/getcustomersid.d.ts.map +1 -0
  51. package/models/operations/getcustomersid.js +106 -0
  52. package/models/operations/getcustomersid.js.map +1 -0
  53. package/models/operations/index.d.ts +3 -0
  54. package/models/operations/index.d.ts.map +1 -1
  55. package/models/operations/index.js +3 -0
  56. package/models/operations/index.js.map +1 -1
  57. package/models/operations/postcustomers.d.ts +56 -0
  58. package/models/operations/postcustomers.d.ts.map +1 -0
  59. package/models/operations/postcustomers.js +87 -0
  60. package/models/operations/postcustomers.js.map +1 -0
  61. package/models/operations/putcustomersid.d.ts +84 -0
  62. package/models/operations/putcustomersid.d.ts.map +1 -0
  63. package/models/operations/putcustomersid.js +120 -0
  64. package/models/operations/putcustomersid.js.map +1 -0
  65. package/package.json +1 -1
  66. package/sdk/customersapi.d.ts +22 -0
  67. package/sdk/customersapi.d.ts.map +1 -1
  68. package/sdk/customersapi.js +30 -0
  69. package/sdk/customersapi.js.map +1 -1
  70. package/src/funcs/customersAPIGetCustomersId.ts +124 -0
  71. package/src/funcs/customersAPIPostCustomers.ts +133 -0
  72. package/src/funcs/customersAPIPutCustomersId.ts +136 -0
  73. package/src/lib/config.ts +2 -2
  74. package/src/models/components/business.ts +64 -0
  75. package/src/models/components/cart.ts +1 -1
  76. package/src/models/components/createcustomer.ts +58 -0
  77. package/src/models/components/customerdetail.ts +109 -0
  78. package/src/models/components/index.ts +5 -1
  79. package/src/models/components/orderdetail.ts +1 -1
  80. package/src/models/components/updatecustomer.ts +48 -0
  81. package/src/models/operations/getcustomersid.ts +153 -0
  82. package/src/models/operations/index.ts +3 -0
  83. package/src/models/operations/postcustomers.ts +110 -0
  84. package/src/models/operations/putcustomersid.ts +169 -0
  85. package/src/sdk/customersapi.ts +43 -0
  86. package/models/components/customeraddress.d.ts.map +0 -1
  87. package/models/components/customeraddress.js.map +0 -1
  88. package/src/models/components/{customeraddress.ts → customeraddressinput.ts} +46 -46
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.GetCustomersIdResponseBody$ = exports.GetCustomersIdResponseBody$outboundSchema = exports.GetCustomersIdResponseBody$inboundSchema = exports.GetCustomersIdContent$ = exports.GetCustomersIdContent$outboundSchema = exports.GetCustomersIdContent$inboundSchema = exports.GetCustomersIdRequest$ = exports.GetCustomersIdRequest$outboundSchema = exports.GetCustomersIdRequest$inboundSchema = void 0;
30
+ const primitives_js_1 = require("../../lib/primitives.js");
31
+ const components = __importStar(require("../components/index.js"));
32
+ const z = __importStar(require("zod"));
33
+ /** @internal */
34
+ exports.GetCustomersIdRequest$inboundSchema = z.object({
35
+ id: z.string(),
36
+ });
37
+ /** @internal */
38
+ exports.GetCustomersIdRequest$outboundSchema = z.object({
39
+ id: z.string(),
40
+ });
41
+ /**
42
+ * @internal
43
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
44
+ */
45
+ var GetCustomersIdRequest$;
46
+ (function (GetCustomersIdRequest$) {
47
+ /** @deprecated use `GetCustomersIdRequest$inboundSchema` instead. */
48
+ GetCustomersIdRequest$.inboundSchema = exports.GetCustomersIdRequest$inboundSchema;
49
+ /** @deprecated use `GetCustomersIdRequest$outboundSchema` instead. */
50
+ GetCustomersIdRequest$.outboundSchema = exports.GetCustomersIdRequest$outboundSchema;
51
+ })(GetCustomersIdRequest$ || (exports.GetCustomersIdRequest$ = GetCustomersIdRequest$ = {}));
52
+ /** @internal */
53
+ exports.GetCustomersIdContent$inboundSchema = z
54
+ .object({
55
+ customer_detail: components.CustomerDetail$inboundSchema.optional(),
56
+ })
57
+ .transform((v) => {
58
+ return (0, primitives_js_1.remap)(v, {
59
+ customer_detail: "customerDetail",
60
+ });
61
+ });
62
+ /** @internal */
63
+ exports.GetCustomersIdContent$outboundSchema = z
64
+ .object({
65
+ customerDetail: components.CustomerDetail$outboundSchema.optional(),
66
+ })
67
+ .transform((v) => {
68
+ return (0, primitives_js_1.remap)(v, {
69
+ customerDetail: "customer_detail",
70
+ });
71
+ });
72
+ /**
73
+ * @internal
74
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
75
+ */
76
+ var GetCustomersIdContent$;
77
+ (function (GetCustomersIdContent$) {
78
+ /** @deprecated use `GetCustomersIdContent$inboundSchema` instead. */
79
+ GetCustomersIdContent$.inboundSchema = exports.GetCustomersIdContent$inboundSchema;
80
+ /** @deprecated use `GetCustomersIdContent$outboundSchema` instead. */
81
+ GetCustomersIdContent$.outboundSchema = exports.GetCustomersIdContent$outboundSchema;
82
+ })(GetCustomersIdContent$ || (exports.GetCustomersIdContent$ = GetCustomersIdContent$ = {}));
83
+ /** @internal */
84
+ exports.GetCustomersIdResponseBody$inboundSchema = z.object({
85
+ message: z.string().optional(),
86
+ success: z.boolean().optional(),
87
+ content: z.lazy(() => exports.GetCustomersIdContent$inboundSchema).optional(),
88
+ });
89
+ /** @internal */
90
+ exports.GetCustomersIdResponseBody$outboundSchema = z.object({
91
+ message: z.string().optional(),
92
+ success: z.boolean().optional(),
93
+ content: z.lazy(() => exports.GetCustomersIdContent$outboundSchema).optional(),
94
+ });
95
+ /**
96
+ * @internal
97
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
98
+ */
99
+ var GetCustomersIdResponseBody$;
100
+ (function (GetCustomersIdResponseBody$) {
101
+ /** @deprecated use `GetCustomersIdResponseBody$inboundSchema` instead. */
102
+ GetCustomersIdResponseBody$.inboundSchema = exports.GetCustomersIdResponseBody$inboundSchema;
103
+ /** @deprecated use `GetCustomersIdResponseBody$outboundSchema` instead. */
104
+ GetCustomersIdResponseBody$.outboundSchema = exports.GetCustomersIdResponseBody$outboundSchema;
105
+ })(GetCustomersIdResponseBody$ || (exports.GetCustomersIdResponseBody$ = GetCustomersIdResponseBody$ = {}));
106
+ //# sourceMappingURL=getcustomersid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getcustomersid.js","sourceRoot":"","sources":["../../src/models/operations/getcustomersid.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,mEAAqD;AACrD,uCAAyB;AAsBzB,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,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AAM,CAAC;IACT,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2CAAmC,CAAC,CAAC,QAAQ,EAAE;CACxE,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACT,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4CAAoC,CAAC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IACxC,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG5E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C"}
@@ -17,6 +17,7 @@ export * from "./getcommoncountriesisocodestates.js";
17
17
  export * from "./getcoupons.js";
18
18
  export * from "./getcrosssell.js";
19
19
  export * from "./getcustomeraddressid.js";
20
+ export * from "./getcustomersid.js";
20
21
  export * from "./getcustomersuseridreviews.js";
21
22
  export * from "./getloyaltypoint.js";
22
23
  export * from "./getloyaltypointactivity.js";
@@ -65,6 +66,7 @@ export * from "./postcartitemid.js";
65
66
  export * from "./postcartsid.js";
66
67
  export * from "./postcheckoutredeemgiftcard.js";
67
68
  export * from "./postcreditbalance.js";
69
+ export * from "./postcustomers.js";
68
70
  export * from "./postcustomersnewslettersubscription.js";
69
71
  export * from "./postloyaltypoints.js";
70
72
  export * from "./postorder.js";
@@ -78,4 +80,5 @@ export * from "./putauthuseriddeactivate.js";
78
80
  export * from "./putauthuseridnotificationpreferences.js";
79
81
  export * from "./putauthuseridprofileimage.js";
80
82
  export * from "./putcustomeraddressid.js";
83
+ export * from "./putcustomersid.js";
81
84
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,mCAAmC,CAAC;AAClD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,+CAA+C,CAAC;AAC9D,cAAc,sCAAsC,CAAC;AACrD,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAA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,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0CAA0C,CAAC;AACzD,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC"}
@@ -36,6 +36,7 @@ __exportStar(require("./getcommoncountriesisocodestates.js"), exports);
36
36
  __exportStar(require("./getcoupons.js"), exports);
37
37
  __exportStar(require("./getcrosssell.js"), exports);
38
38
  __exportStar(require("./getcustomeraddressid.js"), exports);
39
+ __exportStar(require("./getcustomersid.js"), exports);
39
40
  __exportStar(require("./getcustomersuseridreviews.js"), exports);
40
41
  __exportStar(require("./getloyaltypoint.js"), exports);
41
42
  __exportStar(require("./getloyaltypointactivity.js"), exports);
@@ -84,6 +85,7 @@ __exportStar(require("./postcartitemid.js"), exports);
84
85
  __exportStar(require("./postcartsid.js"), exports);
85
86
  __exportStar(require("./postcheckoutredeemgiftcard.js"), exports);
86
87
  __exportStar(require("./postcreditbalance.js"), exports);
88
+ __exportStar(require("./postcustomers.js"), exports);
87
89
  __exportStar(require("./postcustomersnewslettersubscription.js"), exports);
88
90
  __exportStar(require("./postloyaltypoints.js"), exports);
89
91
  __exportStar(require("./postorder.js"), exports);
@@ -97,4 +99,5 @@ __exportStar(require("./putauthuseriddeactivate.js"), exports);
97
99
  __exportStar(require("./putauthuseridnotificationpreferences.js"), exports);
98
100
  __exportStar(require("./putauthuseridprofileimage.js"), exports);
99
101
  __exportStar(require("./putcustomeraddressid.js"), exports);
102
+ __exportStar(require("./putcustomersid.js"), exports);
100
103
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,oEAAkD;AAClD,oDAAkC;AAClC,2DAAyC;AACzC,+DAA6C;AAC7C,2DAAyC;AACzC,2DAAyC;AACzC,sDAAoC;AACpC,kDAAgC;AAChC,yDAAuC;AACvC,qDAAmC;AACnC,4EAA0D;AAC1D,iEAA+C;AAC/C,+CAA6B;AAC7B,0DAAwC;AACxC,gFAA8D;AAC9D,uEAAqD;AACrD,kDAAgC;AAChC,oDAAkC;AAClC,4DAA0C;AAC1C,iEAA+C;AAC/C,uDAAqC;AACrC,+DAA6C;AAC7C,iDAA+B;AAC/B,mDAAiC;AACjC,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,iEAA+C;AAC/C,yDAAuC;AACvC,mDAAiC;AACjC,6DAA2C;AAC3C,4DAA0C;AAC1C,+DAA6C;AAC7C,0DAAwC;AACxC,qDAAmC;AACnC,8DAA4C;AAC5C,wEAAsD;AACtD,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,oDAAkC;AAClC,mDAAiC;AACjC,wDAAsC;AACtC,yDAAuC;AACvC,8DAA4C;AAC5C,8DAA4C;AAC5C,2DAAyC;AACzC,0DAAwC;AACxC,6DAA2C;AAC3C,0DAAwC;AACxC,6DAA2C;AAC3C,sDAAoC;AACpC,4DAA0C;AAC1C,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,6EAA2D;AAC3D,kEAAgD;AAChD,kEAAgD;AAChD,yDAAuC;AACvC,uDAAqC;AACrC,sDAAoC;AACpC,mDAAiC;AACjC,kEAAgD;AAChD,yDAAuC;AACvC,2EAAyD;AACzD,yDAAuC;AACvC,iDAA+B;AAC/B,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,+DAA6C;AAC7C,qDAAmC;AACnC,qDAAmC;AACnC,+DAA6C;AAC7C,4EAA0D;AAC1D,iEAA+C;AAC/C,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,oEAAkD;AAClD,oDAAkC;AAClC,2DAAyC;AACzC,+DAA6C;AAC7C,2DAAyC;AACzC,2DAAyC;AACzC,sDAAoC;AACpC,kDAAgC;AAChC,yDAAuC;AACvC,qDAAmC;AACnC,4EAA0D;AAC1D,iEAA+C;AAC/C,+CAA6B;AAC7B,0DAAwC;AACxC,gFAA8D;AAC9D,uEAAqD;AACrD,kDAAgC;AAChC,oDAAkC;AAClC,4DAA0C;AAC1C,sDAAoC;AACpC,iEAA+C;AAC/C,uDAAqC;AACrC,+DAA6C;AAC7C,iDAA+B;AAC/B,mDAAiC;AACjC,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,iEAA+C;AAC/C,yDAAuC;AACvC,mDAAiC;AACjC,6DAA2C;AAC3C,4DAA0C;AAC1C,+DAA6C;AAC7C,0DAAwC;AACxC,qDAAmC;AACnC,8DAA4C;AAC5C,wEAAsD;AACtD,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,oDAAkC;AAClC,mDAAiC;AACjC,wDAAsC;AACtC,yDAAuC;AACvC,8DAA4C;AAC5C,8DAA4C;AAC5C,2DAAyC;AACzC,0DAAwC;AACxC,6DAA2C;AAC3C,0DAAwC;AACxC,6DAA2C;AAC3C,sDAAoC;AACpC,4DAA0C;AAC1C,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,6EAA2D;AAC3D,kEAAgD;AAChD,kEAAgD;AAChD,yDAAuC;AACvC,uDAAqC;AACrC,sDAAoC;AACpC,mDAAiC;AACjC,kEAAgD;AAChD,yDAAuC;AACvC,qDAAmC;AACnC,2EAAyD;AACzD,yDAAuC;AACvC,iDAA+B;AAC/B,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,+DAA6C;AAC7C,qDAAmC;AACnC,qDAAmC;AACnC,+DAA6C;AAC7C,4EAA0D;AAC1D,iEAA+C;AAC/C,4DAA0C;AAC1C,sDAAoC"}
@@ -0,0 +1,56 @@
1
+ import * as components from "../components/index.js";
2
+ import * as z from "zod";
3
+ export type PostCustomersContent = {
4
+ customerDetail?: components.CustomerDetail | undefined;
5
+ };
6
+ /**
7
+ * OK
8
+ */
9
+ export type PostCustomersResponseBody = {
10
+ message?: string | undefined;
11
+ success?: boolean | undefined;
12
+ content?: PostCustomersContent | undefined;
13
+ };
14
+ /** @internal */
15
+ export declare const PostCustomersContent$inboundSchema: z.ZodType<PostCustomersContent, z.ZodTypeDef, unknown>;
16
+ /** @internal */
17
+ export type PostCustomersContent$Outbound = {
18
+ customer_detail?: components.CustomerDetail$Outbound | undefined;
19
+ };
20
+ /** @internal */
21
+ export declare const PostCustomersContent$outboundSchema: z.ZodType<PostCustomersContent$Outbound, z.ZodTypeDef, PostCustomersContent>;
22
+ /**
23
+ * @internal
24
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
25
+ */
26
+ export declare namespace PostCustomersContent$ {
27
+ /** @deprecated use `PostCustomersContent$inboundSchema` instead. */
28
+ const inboundSchema: z.ZodType<PostCustomersContent, z.ZodTypeDef, unknown>;
29
+ /** @deprecated use `PostCustomersContent$outboundSchema` instead. */
30
+ const outboundSchema: z.ZodType<PostCustomersContent$Outbound, z.ZodTypeDef, PostCustomersContent>;
31
+ /** @deprecated use `PostCustomersContent$Outbound` instead. */
32
+ type Outbound = PostCustomersContent$Outbound;
33
+ }
34
+ /** @internal */
35
+ export declare const PostCustomersResponseBody$inboundSchema: z.ZodType<PostCustomersResponseBody, z.ZodTypeDef, unknown>;
36
+ /** @internal */
37
+ export type PostCustomersResponseBody$Outbound = {
38
+ message?: string | undefined;
39
+ success?: boolean | undefined;
40
+ content?: PostCustomersContent$Outbound | undefined;
41
+ };
42
+ /** @internal */
43
+ export declare const PostCustomersResponseBody$outboundSchema: z.ZodType<PostCustomersResponseBody$Outbound, z.ZodTypeDef, PostCustomersResponseBody>;
44
+ /**
45
+ * @internal
46
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
+ */
48
+ export declare namespace PostCustomersResponseBody$ {
49
+ /** @deprecated use `PostCustomersResponseBody$inboundSchema` instead. */
50
+ const inboundSchema: z.ZodType<PostCustomersResponseBody, z.ZodTypeDef, unknown>;
51
+ /** @deprecated use `PostCustomersResponseBody$outboundSchema` instead. */
52
+ const outboundSchema: z.ZodType<PostCustomersResponseBody$Outbound, z.ZodTypeDef, PostCustomersResponseBody>;
53
+ /** @deprecated use `PostCustomersResponseBody$Outbound` instead. */
54
+ type Outbound = PostCustomersResponseBody$Outbound;
55
+ }
56
+ //# sourceMappingURL=postcustomers.d.ts.map
@@ -0,0 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AAkC,GAAG;IAC7C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC5D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAK3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IACxC,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC7D"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PostCustomersResponseBody$ = exports.PostCustomersResponseBody$outboundSchema = exports.PostCustomersResponseBody$inboundSchema = exports.PostCustomersContent$ = exports.PostCustomersContent$outboundSchema = exports.PostCustomersContent$inboundSchema = void 0;
30
+ const primitives_js_1 = require("../../lib/primitives.js");
31
+ const components = __importStar(require("../components/index.js"));
32
+ const z = __importStar(require("zod"));
33
+ /** @internal */
34
+ exports.PostCustomersContent$inboundSchema = z
35
+ .object({
36
+ customer_detail: components.CustomerDetail$inboundSchema.optional(),
37
+ })
38
+ .transform((v) => {
39
+ return (0, primitives_js_1.remap)(v, {
40
+ customer_detail: "customerDetail",
41
+ });
42
+ });
43
+ /** @internal */
44
+ exports.PostCustomersContent$outboundSchema = z
45
+ .object({
46
+ customerDetail: components.CustomerDetail$outboundSchema.optional(),
47
+ })
48
+ .transform((v) => {
49
+ return (0, primitives_js_1.remap)(v, {
50
+ customerDetail: "customer_detail",
51
+ });
52
+ });
53
+ /**
54
+ * @internal
55
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
56
+ */
57
+ var PostCustomersContent$;
58
+ (function (PostCustomersContent$) {
59
+ /** @deprecated use `PostCustomersContent$inboundSchema` instead. */
60
+ PostCustomersContent$.inboundSchema = exports.PostCustomersContent$inboundSchema;
61
+ /** @deprecated use `PostCustomersContent$outboundSchema` instead. */
62
+ PostCustomersContent$.outboundSchema = exports.PostCustomersContent$outboundSchema;
63
+ })(PostCustomersContent$ || (exports.PostCustomersContent$ = PostCustomersContent$ = {}));
64
+ /** @internal */
65
+ exports.PostCustomersResponseBody$inboundSchema = z.object({
66
+ message: z.string().optional(),
67
+ success: z.boolean().optional(),
68
+ content: z.lazy(() => exports.PostCustomersContent$inboundSchema).optional(),
69
+ });
70
+ /** @internal */
71
+ exports.PostCustomersResponseBody$outboundSchema = z.object({
72
+ message: z.string().optional(),
73
+ success: z.boolean().optional(),
74
+ content: z.lazy(() => exports.PostCustomersContent$outboundSchema).optional(),
75
+ });
76
+ /**
77
+ * @internal
78
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
79
+ */
80
+ var PostCustomersResponseBody$;
81
+ (function (PostCustomersResponseBody$) {
82
+ /** @deprecated use `PostCustomersResponseBody$inboundSchema` instead. */
83
+ PostCustomersResponseBody$.inboundSchema = exports.PostCustomersResponseBody$inboundSchema;
84
+ /** @deprecated use `PostCustomersResponseBody$outboundSchema` instead. */
85
+ PostCustomersResponseBody$.outboundSchema = exports.PostCustomersResponseBody$outboundSchema;
86
+ })(PostCustomersResponseBody$ || (exports.PostCustomersResponseBody$ = PostCustomersResponseBody$ = {}));
87
+ //# sourceMappingURL=postcustomers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postcustomers.js","sourceRoot":"","sources":["../../src/models/operations/postcustomers.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,mEAAqD;AACrD,uCAAyB;AAezB,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC;KACA,MAAM,CAAC;IACJ,eAAe,EAAE,UAAU,CAAC,4BAA4B,CAAC,QAAQ,EAAE;CACtE,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,eAAe,EAAE,gBAAgB;KACpC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAOP,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC;KACA,MAAM,CAAC;IACJ,cAAc,EAAE,UAAU,CAAC,6BAA6B,CAAC,QAAQ,EAAE;CACtE,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,cAAc,EAAE,iBAAiB;KACpC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEP;;;GAGG;AACH,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IAClC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,2CAAmC,CAAC;AAGtE,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC;AAED,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACT,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,0CAAkC,CAAC,CAAC,QAAQ,EAAE;CACvE,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACT,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2CAAmC,CAAC,CAAC,QAAQ,EAAE;CACxE,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACvC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAG3E,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}
@@ -0,0 +1,84 @@
1
+ import * as components from "../components/index.js";
2
+ import * as z from "zod";
3
+ export type PutCustomersIdRequest = {
4
+ /**
5
+ * Customer id
6
+ */
7
+ id: string;
8
+ updateCustomer?: components.UpdateCustomer | undefined;
9
+ };
10
+ export type PutCustomersIdContent = {
11
+ customerDetail?: components.CustomerDetail | undefined;
12
+ };
13
+ /**
14
+ * OK
15
+ */
16
+ export type PutCustomersIdResponseBody = {
17
+ message?: string | undefined;
18
+ success?: boolean | undefined;
19
+ content?: PutCustomersIdContent | undefined;
20
+ };
21
+ /** @internal */
22
+ export declare const PutCustomersIdRequest$inboundSchema: z.ZodType<PutCustomersIdRequest, z.ZodTypeDef, unknown>;
23
+ /** @internal */
24
+ export type PutCustomersIdRequest$Outbound = {
25
+ id: string;
26
+ UpdateCustomer?: components.UpdateCustomer$Outbound | undefined;
27
+ };
28
+ /** @internal */
29
+ export declare const PutCustomersIdRequest$outboundSchema: z.ZodType<PutCustomersIdRequest$Outbound, z.ZodTypeDef, PutCustomersIdRequest>;
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 PutCustomersIdRequest$ {
35
+ /** @deprecated use `PutCustomersIdRequest$inboundSchema` instead. */
36
+ const inboundSchema: z.ZodType<PutCustomersIdRequest, z.ZodTypeDef, unknown>;
37
+ /** @deprecated use `PutCustomersIdRequest$outboundSchema` instead. */
38
+ const outboundSchema: z.ZodType<PutCustomersIdRequest$Outbound, z.ZodTypeDef, PutCustomersIdRequest>;
39
+ /** @deprecated use `PutCustomersIdRequest$Outbound` instead. */
40
+ type Outbound = PutCustomersIdRequest$Outbound;
41
+ }
42
+ /** @internal */
43
+ export declare const PutCustomersIdContent$inboundSchema: z.ZodType<PutCustomersIdContent, z.ZodTypeDef, unknown>;
44
+ /** @internal */
45
+ export type PutCustomersIdContent$Outbound = {
46
+ customer_detail?: components.CustomerDetail$Outbound | undefined;
47
+ };
48
+ /** @internal */
49
+ export declare const PutCustomersIdContent$outboundSchema: z.ZodType<PutCustomersIdContent$Outbound, z.ZodTypeDef, PutCustomersIdContent>;
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 PutCustomersIdContent$ {
55
+ /** @deprecated use `PutCustomersIdContent$inboundSchema` instead. */
56
+ const inboundSchema: z.ZodType<PutCustomersIdContent, z.ZodTypeDef, unknown>;
57
+ /** @deprecated use `PutCustomersIdContent$outboundSchema` instead. */
58
+ const outboundSchema: z.ZodType<PutCustomersIdContent$Outbound, z.ZodTypeDef, PutCustomersIdContent>;
59
+ /** @deprecated use `PutCustomersIdContent$Outbound` instead. */
60
+ type Outbound = PutCustomersIdContent$Outbound;
61
+ }
62
+ /** @internal */
63
+ export declare const PutCustomersIdResponseBody$inboundSchema: z.ZodType<PutCustomersIdResponseBody, z.ZodTypeDef, unknown>;
64
+ /** @internal */
65
+ export type PutCustomersIdResponseBody$Outbound = {
66
+ message?: string | undefined;
67
+ success?: boolean | undefined;
68
+ content?: PutCustomersIdContent$Outbound | undefined;
69
+ };
70
+ /** @internal */
71
+ export declare const PutCustomersIdResponseBody$outboundSchema: z.ZodType<PutCustomersIdResponseBody$Outbound, z.ZodTypeDef, PutCustomersIdResponseBody>;
72
+ /**
73
+ * @internal
74
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
75
+ */
76
+ export declare namespace PutCustomersIdResponseBody$ {
77
+ /** @deprecated use `PutCustomersIdResponseBody$inboundSchema` instead. */
78
+ const inboundSchema: z.ZodType<PutCustomersIdResponseBody, z.ZodTypeDef, unknown>;
79
+ /** @deprecated use `PutCustomersIdResponseBody$outboundSchema` instead. */
80
+ const outboundSchema: z.ZodType<PutCustomersIdResponseBody$Outbound, z.ZodTypeDef, PutCustomersIdResponseBody>;
81
+ /** @deprecated use `PutCustomersIdResponseBody$Outbound` instead. */
82
+ type Outbound = PutCustomersIdResponseBody$Outbound;
83
+ }
84
+ //# sourceMappingURL=putcustomersid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"putcustomersid.d.ts","sourceRoot":"","sources":["../../src/models/operations/putcustomersid.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,CAAC,MAAM,K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MAAM,8BAA8B,GAAG;IACzC,eAAe,CAAC,EAAE,UAAU,CAAC,uBAAuB,GAAG,SAAS,CAAC;CACpE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CACxD,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CASnB,CAAC;AAEP;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACpC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACzD;AAED,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC5D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKT,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAC9C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC7D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAK5B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IACzC,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC9D"}
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PutCustomersIdResponseBody$ = exports.PutCustomersIdResponseBody$outboundSchema = exports.PutCustomersIdResponseBody$inboundSchema = exports.PutCustomersIdContent$ = exports.PutCustomersIdContent$outboundSchema = exports.PutCustomersIdContent$inboundSchema = exports.PutCustomersIdRequest$ = exports.PutCustomersIdRequest$outboundSchema = exports.PutCustomersIdRequest$inboundSchema = void 0;
30
+ const primitives_js_1 = require("../../lib/primitives.js");
31
+ const components = __importStar(require("../components/index.js"));
32
+ const z = __importStar(require("zod"));
33
+ /** @internal */
34
+ exports.PutCustomersIdRequest$inboundSchema = z
35
+ .object({
36
+ id: z.string(),
37
+ UpdateCustomer: components.UpdateCustomer$inboundSchema.optional(),
38
+ })
39
+ .transform((v) => {
40
+ return (0, primitives_js_1.remap)(v, {
41
+ UpdateCustomer: "updateCustomer",
42
+ });
43
+ });
44
+ /** @internal */
45
+ exports.PutCustomersIdRequest$outboundSchema = z
46
+ .object({
47
+ id: z.string(),
48
+ updateCustomer: components.UpdateCustomer$outboundSchema.optional(),
49
+ })
50
+ .transform((v) => {
51
+ return (0, primitives_js_1.remap)(v, {
52
+ updateCustomer: "UpdateCustomer",
53
+ });
54
+ });
55
+ /**
56
+ * @internal
57
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
+ */
59
+ var PutCustomersIdRequest$;
60
+ (function (PutCustomersIdRequest$) {
61
+ /** @deprecated use `PutCustomersIdRequest$inboundSchema` instead. */
62
+ PutCustomersIdRequest$.inboundSchema = exports.PutCustomersIdRequest$inboundSchema;
63
+ /** @deprecated use `PutCustomersIdRequest$outboundSchema` instead. */
64
+ PutCustomersIdRequest$.outboundSchema = exports.PutCustomersIdRequest$outboundSchema;
65
+ })(PutCustomersIdRequest$ || (exports.PutCustomersIdRequest$ = PutCustomersIdRequest$ = {}));
66
+ /** @internal */
67
+ exports.PutCustomersIdContent$inboundSchema = z
68
+ .object({
69
+ customer_detail: components.CustomerDetail$inboundSchema.optional(),
70
+ })
71
+ .transform((v) => {
72
+ return (0, primitives_js_1.remap)(v, {
73
+ customer_detail: "customerDetail",
74
+ });
75
+ });
76
+ /** @internal */
77
+ exports.PutCustomersIdContent$outboundSchema = z
78
+ .object({
79
+ customerDetail: components.CustomerDetail$outboundSchema.optional(),
80
+ })
81
+ .transform((v) => {
82
+ return (0, primitives_js_1.remap)(v, {
83
+ customerDetail: "customer_detail",
84
+ });
85
+ });
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
+ var PutCustomersIdContent$;
91
+ (function (PutCustomersIdContent$) {
92
+ /** @deprecated use `PutCustomersIdContent$inboundSchema` instead. */
93
+ PutCustomersIdContent$.inboundSchema = exports.PutCustomersIdContent$inboundSchema;
94
+ /** @deprecated use `PutCustomersIdContent$outboundSchema` instead. */
95
+ PutCustomersIdContent$.outboundSchema = exports.PutCustomersIdContent$outboundSchema;
96
+ })(PutCustomersIdContent$ || (exports.PutCustomersIdContent$ = PutCustomersIdContent$ = {}));
97
+ /** @internal */
98
+ exports.PutCustomersIdResponseBody$inboundSchema = z.object({
99
+ message: z.string().optional(),
100
+ success: z.boolean().optional(),
101
+ content: z.lazy(() => exports.PutCustomersIdContent$inboundSchema).optional(),
102
+ });
103
+ /** @internal */
104
+ exports.PutCustomersIdResponseBody$outboundSchema = z.object({
105
+ message: z.string().optional(),
106
+ success: z.boolean().optional(),
107
+ content: z.lazy(() => exports.PutCustomersIdContent$outboundSchema).optional(),
108
+ });
109
+ /**
110
+ * @internal
111
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
112
+ */
113
+ var PutCustomersIdResponseBody$;
114
+ (function (PutCustomersIdResponseBody$) {
115
+ /** @deprecated use `PutCustomersIdResponseBody$inboundSchema` instead. */
116
+ PutCustomersIdResponseBody$.inboundSchema = exports.PutCustomersIdResponseBody$inboundSchema;
117
+ /** @deprecated use `PutCustomersIdResponseBody$outboundSchema` instead. */
118
+ PutCustomersIdResponseBody$.outboundSchema = exports.PutCustomersIdResponseBody$outboundSchema;
119
+ })(PutCustomersIdResponseBody$ || (exports.PutCustomersIdResponseBody$ = PutCustomersIdResponseBody$ = {}));
120
+ //# sourceMappingURL=putcustomersid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"putcustomersid.js","sourceRoot":"","sources":["../../src/models/operations/putcustomersid.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,mEAAqD;AACrD,uCAAyB;AAuBzB,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC;KACA,MAAM,CAAC;IACJ,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,cAAc,EAAE,UAAU,CAAC,4BAA4B,CAAC,QAAQ,EAAE;CACrE,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,cAAc,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E;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGvE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACT,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2CAAmC,CAAC,CAAC,QAAQ,EAAE;CACxE,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACT,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4CAAoC,CAAC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IACxC,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG5E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ce-storefront",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "author": "Speakeasy",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
@@ -1,4 +1,5 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
+ import * as components from "../models/components/index.js";
2
3
  import * as operations from "../models/operations/index.js";
3
4
  export declare class CustomersAPI extends ClientSDK {
4
5
  /**
@@ -8,5 +9,26 @@ export declare class CustomersAPI extends ClientSDK {
8
9
  * Retrieves a list of recommended products for a specified user based on their browsing history, past purchases, and indicated preferences. The recommended products are returned sorted by relevance, providing a personalized shopping experience for each user.
9
10
  */
10
11
  getRecommendedProducts(request: operations.GetRecommendedProductsRequest, options?: RequestOptions): Promise<operations.GetRecommendedProductsResponseBody>;
12
+ /**
13
+ * Create customer
14
+ *
15
+ * @remarks
16
+ * Create customer
17
+ */
18
+ postCustomers(request?: components.CreateCustomer | undefined, options?: RequestOptions): Promise<operations.PostCustomersResponseBody>;
19
+ /**
20
+ * Retrieve customer detail
21
+ *
22
+ * @remarks
23
+ * Retrieve customer detail.
24
+ */
25
+ getCustomersId(request: operations.GetCustomersIdRequest, options?: RequestOptions): Promise<operations.GetCustomersIdResponseBody>;
26
+ /**
27
+ * Update customer detail
28
+ *
29
+ * @remarks
30
+ * Update customer detail
31
+ */
32
+ putCustomersId(request: operations.PutCustomersIdRequest, options?: RequestOptions): Promise<operations.PutCustomersIdResponseBody>;
11
33
  }
12
34
  //# sourceMappingURL=customersapi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customersapi.d.ts","sourceRoot":"","sources":["../src/sdk/customersapi.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,YAAa,SAAQ,SAAS;IACvC;;;;;OAKG;IACG,sBAAsB,CACxB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;CAG5D"}
1
+ {"version":3,"file":"customersapi.d.ts","sourceRoot":"","sources":["../src/sdk/customersapi.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,YAAa,SAAQ,SAAS;IACvC;;;;;OAKG;IACG,sBAAsB,CACxB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;IAIzD;;;;;OAKG;IACG,aAAa,CACf,OAAO,CAAC,EAAE,UAAU,CAAC,cAAc,GAAG,SAAS,EAC/C,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;IAIhD;;;;;OAKG;IACG,cAAc,CAChB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAIjD;;;;;OAKG;IACG,cAAc,CAChB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAGpD"}
@@ -4,7 +4,10 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CustomersAPI = void 0;
7
+ const customersAPIGetCustomersId_js_1 = require("../funcs/customersAPIGetCustomersId.js");
7
8
  const customersAPIGetRecommendedProducts_js_1 = require("../funcs/customersAPIGetRecommendedProducts.js");
9
+ const customersAPIPostCustomers_js_1 = require("../funcs/customersAPIPostCustomers.js");
10
+ const customersAPIPutCustomersId_js_1 = require("../funcs/customersAPIPutCustomersId.js");
8
11
  const sdks_js_1 = require("../lib/sdks.js");
9
12
  const fp_js_1 = require("../types/fp.js");
10
13
  class CustomersAPI extends sdks_js_1.ClientSDK {
@@ -17,6 +20,33 @@ class CustomersAPI extends sdks_js_1.ClientSDK {
17
20
  async getRecommendedProducts(request, options) {
18
21
  return (0, fp_js_1.unwrapAsync)((0, customersAPIGetRecommendedProducts_js_1.customersAPIGetRecommendedProducts)(this, request, options));
19
22
  }
23
+ /**
24
+ * Create customer
25
+ *
26
+ * @remarks
27
+ * Create customer
28
+ */
29
+ async postCustomers(request, options) {
30
+ return (0, fp_js_1.unwrapAsync)((0, customersAPIPostCustomers_js_1.customersAPIPostCustomers)(this, request, options));
31
+ }
32
+ /**
33
+ * Retrieve customer detail
34
+ *
35
+ * @remarks
36
+ * Retrieve customer detail.
37
+ */
38
+ async getCustomersId(request, options) {
39
+ return (0, fp_js_1.unwrapAsync)((0, customersAPIGetCustomersId_js_1.customersAPIGetCustomersId)(this, request, options));
40
+ }
41
+ /**
42
+ * Update customer detail
43
+ *
44
+ * @remarks
45
+ * Update customer detail
46
+ */
47
+ async putCustomersId(request, options) {
48
+ return (0, fp_js_1.unwrapAsync)((0, customersAPIPutCustomersId_js_1.customersAPIPutCustomersId)(this, request, options));
49
+ }
20
50
  }
21
51
  exports.CustomersAPI = CustomersAPI;
22
52
  //# sourceMappingURL=customersapi.js.map