@redotech/redo-api-schema 2.2.161 → 2.2.162
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/lib/openapi.d.ts +52 -2
- package/lib/openapi.yaml +47 -0
- package/package.json +1 -1
package/lib/openapi.d.ts
CHANGED
|
@@ -1005,7 +1005,10 @@ export interface components {
|
|
|
1005
1005
|
priceTotal: components["schemas"]["money.schema"];
|
|
1006
1006
|
/** @description Product. */
|
|
1007
1007
|
product: {
|
|
1008
|
-
/**
|
|
1008
|
+
/**
|
|
1009
|
+
* ID
|
|
1010
|
+
* @description Identifier of the product.
|
|
1011
|
+
*/
|
|
1009
1012
|
id: string;
|
|
1010
1013
|
};
|
|
1011
1014
|
/**
|
|
@@ -1015,7 +1018,10 @@ export interface components {
|
|
|
1015
1018
|
quantity: number;
|
|
1016
1019
|
/** @description Variant. */
|
|
1017
1020
|
variant: {
|
|
1018
|
-
/**
|
|
1021
|
+
/**
|
|
1022
|
+
* ID
|
|
1023
|
+
* @description Identifier of the variant.
|
|
1024
|
+
*/
|
|
1019
1025
|
id: string;
|
|
1020
1026
|
};
|
|
1021
1027
|
}[];
|
|
@@ -1024,6 +1030,50 @@ export interface components {
|
|
|
1024
1030
|
* @description Total price.
|
|
1025
1031
|
*/
|
|
1026
1032
|
priceTotal?: components["schemas"]["money.schema"];
|
|
1033
|
+
/**
|
|
1034
|
+
* Products
|
|
1035
|
+
* @description Product information.
|
|
1036
|
+
*/
|
|
1037
|
+
products?: {
|
|
1038
|
+
/**
|
|
1039
|
+
* ID
|
|
1040
|
+
* @description Identifier of the product.
|
|
1041
|
+
*/
|
|
1042
|
+
id: string;
|
|
1043
|
+
}[];
|
|
1044
|
+
/**
|
|
1045
|
+
* Variants
|
|
1046
|
+
* @description Variant information.
|
|
1047
|
+
*/
|
|
1048
|
+
variants?: {
|
|
1049
|
+
/**
|
|
1050
|
+
* Height
|
|
1051
|
+
* @description Height of an item.
|
|
1052
|
+
*/
|
|
1053
|
+
height?: components["schemas"]["length.schema"];
|
|
1054
|
+
/**
|
|
1055
|
+
* ID
|
|
1056
|
+
* @description Identifier of the variant.
|
|
1057
|
+
*/
|
|
1058
|
+
id: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* Length
|
|
1061
|
+
* @description Length of an item.
|
|
1062
|
+
*/
|
|
1063
|
+
length?: components["schemas"]["length.schema"];
|
|
1064
|
+
/** Title */
|
|
1065
|
+
title?: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* Weight
|
|
1068
|
+
* @description Weight of an item.
|
|
1069
|
+
*/
|
|
1070
|
+
weight?: components["schemas"]["weight.schema"];
|
|
1071
|
+
/**
|
|
1072
|
+
* Width
|
|
1073
|
+
* @description Width of an item.
|
|
1074
|
+
*/
|
|
1075
|
+
width?: components["schemas"]["length.schema"];
|
|
1076
|
+
}[];
|
|
1027
1077
|
};
|
|
1028
1078
|
/**
|
|
1029
1079
|
* Storefront Customer
|
package/lib/openapi.yaml
CHANGED
|
@@ -1135,6 +1135,7 @@ components:
|
|
|
1135
1135
|
description: Product.
|
|
1136
1136
|
properties:
|
|
1137
1137
|
id:
|
|
1138
|
+
description: Identifier of the product.
|
|
1138
1139
|
title: ID
|
|
1139
1140
|
type: string
|
|
1140
1141
|
required:
|
|
@@ -1148,6 +1149,7 @@ components:
|
|
|
1148
1149
|
description: Variant.
|
|
1149
1150
|
properties:
|
|
1150
1151
|
id:
|
|
1152
|
+
description: Identifier of the variant.
|
|
1151
1153
|
title: ID
|
|
1152
1154
|
type: string
|
|
1153
1155
|
required:
|
|
@@ -1166,6 +1168,51 @@ components:
|
|
|
1166
1168
|
$ref: '#/components/schemas/money.schema'
|
|
1167
1169
|
description: Total price.
|
|
1168
1170
|
title: Price
|
|
1171
|
+
products:
|
|
1172
|
+
description: Product information.
|
|
1173
|
+
items:
|
|
1174
|
+
properties:
|
|
1175
|
+
id:
|
|
1176
|
+
description: Identifier of the product.
|
|
1177
|
+
title: ID
|
|
1178
|
+
type: string
|
|
1179
|
+
required:
|
|
1180
|
+
- id
|
|
1181
|
+
type: object
|
|
1182
|
+
title: Products
|
|
1183
|
+
type: array
|
|
1184
|
+
variants:
|
|
1185
|
+
description: Variant information.
|
|
1186
|
+
items:
|
|
1187
|
+
properties:
|
|
1188
|
+
height:
|
|
1189
|
+
$ref: '#/components/schemas/length.schema'
|
|
1190
|
+
description: Height of an item.
|
|
1191
|
+
title: Height
|
|
1192
|
+
id:
|
|
1193
|
+
description: Identifier of the variant.
|
|
1194
|
+
title: ID
|
|
1195
|
+
type: string
|
|
1196
|
+
length:
|
|
1197
|
+
$ref: '#/components/schemas/length.schema'
|
|
1198
|
+
description: Length of an item.
|
|
1199
|
+
title: Length
|
|
1200
|
+
title:
|
|
1201
|
+
title: Title
|
|
1202
|
+
type: string
|
|
1203
|
+
weight:
|
|
1204
|
+
$ref: '#/components/schemas/weight.schema'
|
|
1205
|
+
description: Weight of an item.
|
|
1206
|
+
title: Weight
|
|
1207
|
+
width:
|
|
1208
|
+
$ref: '#/components/schemas/length.schema'
|
|
1209
|
+
description: Width of an item.
|
|
1210
|
+
title: Width
|
|
1211
|
+
required:
|
|
1212
|
+
- id
|
|
1213
|
+
type: object
|
|
1214
|
+
title: Variants
|
|
1215
|
+
type: array
|
|
1169
1216
|
required:
|
|
1170
1217
|
- lineItems
|
|
1171
1218
|
title: Storefront Cart
|
package/package.json
CHANGED