@shopware/api-client 1.0.1 → 1.0.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.
- package/README.md +4 -2
- package/api-types/adminApiSchema.overrides.json +4 -0
- package/api-types/adminApiTypes.d.ts +581 -581
- package/api-types/storeApiSchema.overrides.json +124 -0
- package/api-types/storeApiTypes.d.ts +613 -629
- package/api-types/storeApiTypes.overrides.ts +0 -19
- package/dist/index.d.cts +1208 -1210
- package/dist/index.d.mts +1208 -1210
- package/dist/index.d.ts +1208 -1210
- package/package.json +6 -6
|
@@ -109,25 +109,6 @@ export type operations = {
|
|
|
109
109
|
response: components["schemas"]["Customer"];
|
|
110
110
|
responseCode: 200;
|
|
111
111
|
};
|
|
112
|
-
"addLineItem post /checkout/cart/line-item": {
|
|
113
|
-
contentType?: "application/json";
|
|
114
|
-
accept?: "application/json";
|
|
115
|
-
headers?: {
|
|
116
|
-
/** Instructs Shopware to return the response in the given language. */
|
|
117
|
-
"sw-language-id"?: string;
|
|
118
|
-
};
|
|
119
|
-
body: {
|
|
120
|
-
// TODO: [OpenAPI][addLineItem] - add proper request body type with required fields
|
|
121
|
-
items: Array<{
|
|
122
|
-
id?: string; // TODO: [OpenAPI][addLineItem] - check if this is used at all?
|
|
123
|
-
referencedId: string;
|
|
124
|
-
quantity?: number;
|
|
125
|
-
type: "product" | "promotion" | "custom" | "credit"; // TODO: [OpenAPI][addLineItem] - add proper type -> see also #456
|
|
126
|
-
}>;
|
|
127
|
-
};
|
|
128
|
-
response: components["schemas"]["Cart"];
|
|
129
|
-
responseCode: 200;
|
|
130
|
-
};
|
|
131
112
|
"updateLineItem patch /checkout/cart/line-item": {
|
|
132
113
|
contentType?: "application/json";
|
|
133
114
|
accept?: "application/json";
|