@redotech/redo-api-schema 2.2.43 → 2.2.45

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 CHANGED
@@ -18,7 +18,7 @@ export interface paths {
18
18
  get: operations["Return get"];
19
19
  parameters: {
20
20
  path: {
21
- storeId: components["parameters"]["store-id.param"];
21
+ returnId: components["parameters"]["return-id.param"];
22
22
  };
23
23
  };
24
24
  };
@@ -123,7 +123,7 @@ export interface paths {
123
123
 
124
124
  export interface webhooks {
125
125
  "return": {
126
- /** Return event [Webhook] */
126
+ /** Return event */
127
127
  post: operations["Webhook return event"];
128
128
  };
129
129
  }
@@ -186,20 +186,27 @@ export interface components {
186
186
  }]>;
187
187
  /**
188
188
  * Problem details
189
- * @description See [RFC 7807 Section 3](https://datatracker.ietf.org/doc/html/rfc7807#section-3).
189
+ * @description Problem details. See [RFC 7807 Section 3](https://datatracker.ietf.org/doc/html/rfc7807#section-3).
190
190
  */
191
191
  "error.schema": {
192
- /** @description A human-readable explanation specific to this occurrence of the problem. */
192
+ /**
193
+ * Detail
194
+ * @description Human-readable description of the problem.
195
+ */
193
196
  detail?: string;
194
- /** @description A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. */
197
+ /**
198
+ * Format: uri-reference
199
+ * @description A URI reference that identifies this problem.
200
+ */
195
201
  instance?: string;
196
- /** @description The HTTP status code ([[RFC7231], Section 6](https://datatracker.ietf.org/doc/html/rfc7231#section-6)) generated by the origin server for this occurrence of the problem. */
197
- status?: number;
198
- /** @description A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [[RFC7231], Section 3.4](https://datatracker.ietf.org/doc/html/rfc7231#section-3.4)). */
202
+ /**
203
+ * Title
204
+ * @description Human-readable summary of the problem type.
205
+ */
199
206
  title?: string;
200
207
  /**
201
208
  * Format: uri-reference
202
- * @description A URI reference [[RFC3986](https://datatracker.ietf.org/doc/html/rfc3986)] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [[W3C.REC-html5-20141028](https://datatracker.ietf.org/doc/html/rfc7807#ref-W3C.REC-html5-20141028)]). When this member is not present, its value is assumed to be "about:blank".
209
+ * @description A URI reference that identifies the problem type.
203
210
  * @default about:blank
204
211
  */
205
212
  type?: string;
@@ -718,7 +725,7 @@ export interface operations {
718
725
  "Return get": {
719
726
  parameters: {
720
727
  path: {
721
- storeId: components["parameters"]["store-id.param"];
728
+ returnId: components["parameters"]["return-id.param"];
722
729
  };
723
730
  };
724
731
  responses: {
@@ -1062,16 +1069,9 @@ export interface operations {
1062
1069
  };
1063
1070
  };
1064
1071
  };
1065
- /** Return event [Webhook] */
1072
+ /** Return event */
1066
1073
  "Webhook return event": {
1067
- /**
1068
- * @description Return event webhook.
1069
- *
1070
- * <!-- theme: warning -->
1071
- * > #### Note
1072
- * >
1073
- * > This is not an actual Redo API endpoint, but a webhook.
1074
- */
1074
+ /** @description Return event webhook. */
1075
1075
  requestBody: {
1076
1076
  content: {
1077
1077
  "application/json": {
package/lib/openapi.yaml CHANGED
@@ -133,23 +133,23 @@ components:
133
133
  type: object
134
134
  title: Comment
135
135
  error.schema:
136
- description: See [RFC 7807 Section 3](https://datatracker.ietf.org/doc/html/rfc7807#section-3).
136
+ description: Problem details. See [RFC 7807 Section 3](https://datatracker.ietf.org/doc/html/rfc7807#section-3).
137
137
  properties:
138
138
  detail:
139
- description: A human-readable explanation specific to this occurrence of the problem.
139
+ description: Human-readable description of the problem.
140
+ title: Detail
140
141
  type: string
141
142
  instance:
142
- description: A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
143
+ description: A URI reference that identifies this problem.
144
+ format: uri-reference
143
145
  type: string
144
- status:
145
- description: The HTTP status code ([[RFC7231], Section 6](https://datatracker.ietf.org/doc/html/rfc7231#section-6)) generated by the origin server for this occurrence of the problem.
146
- type: number
147
146
  title:
148
- description: A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [[RFC7231], Section 3.4](https://datatracker.ietf.org/doc/html/rfc7231#section-3.4)).
147
+ description: Human-readable summary of the problem type.
148
+ title: Title
149
149
  type: string
150
150
  type:
151
151
  default: about:blank
152
- description: A URI reference [[RFC3986](https://datatracker.ietf.org/doc/html/rfc3986)] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [[W3C.REC-html5-20141028](https://datatracker.ietf.org/doc/html/rfc7807#ref-W3C.REC-html5-20141028)]). When this member is not present, its value is assumed to be "about:blank".
152
+ description: A URI reference that identifies the problem type.
153
153
  format: uri-reference
154
154
  type: string
155
155
  title: Problem details
@@ -794,7 +794,7 @@ paths:
794
794
  tags:
795
795
  - Returns
796
796
  parameters:
797
- - $ref: '#/components/parameters/store-id.param'
797
+ - $ref: '#/components/parameters/return-id.param'
798
798
  summary: Return
799
799
  /returns/{returnId}/comments:
800
800
  description: Return comment.
@@ -1166,11 +1166,6 @@ webhooks:
1166
1166
  type: object
1167
1167
  description: |
1168
1168
  Return event webhook.
1169
-
1170
- <!-- theme: warning -->
1171
- > #### Note
1172
- >
1173
- > This is not an actual Redo API endpoint, but a webhook.
1174
1169
  required: true
1175
1170
  responses:
1176
1171
  2xx:
@@ -1179,7 +1174,7 @@ webhooks:
1179
1174
  description: Error. The event will be retried multiple times and then discarded.
1180
1175
  security:
1181
1176
  - UserBearer: []
1182
- summary: Return event [Webhook]
1177
+ summary: Return event
1183
1178
  tags:
1184
1179
  - Returns
1185
- summary: Return event [Webhook]
1180
+ summary: Return event
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  ]
32
32
  }
33
33
  },
34
- "version": "2.2.43"
34
+ "version": "2.2.45"
35
35
  }