Closed digitalParkour closed 2 years ago
I see there are response models for the OrderCheckout integration type, such as models OrderCalculateResponse and ShipEstimateResponse.
It may be helpful to also include the request object types, CalculateOrderPayload, etc.
Similarly to cover the OpenIDConnect type models: OpenIDConnectIntegrationEvent CreateUserResponse SyncUserResponse
Models Reference: https://ordercloud.io/knowledge-base/sso-via-openid-connect
This would support leveraging the nextJs api routes as the middleware and consolidate the definitions across tools and implementations. There is already a type created in the catalyst project that may be better added to this project. (https://github.com/ordercloud-api/ordercloud-javascript-catalyst/blob/main/lib/Types/OrderCalculatePayload.ts)
Cheers
@digitalParkour thanks for the suggestion. We'll get those models and a few others that aren't included in the OpenAPI spec added.
Added in v4.6.5
I see there are response models for the OrderCheckout integration type, such as models OrderCalculateResponse and ShipEstimateResponse.
It may be helpful to also include the request object types, CalculateOrderPayload, etc.
Similarly to cover the OpenIDConnect type models: OpenIDConnectIntegrationEvent CreateUserResponse SyncUserResponse
Models Reference: https://ordercloud.io/knowledge-base/sso-via-openid-connect
This would support leveraging the nextJs api routes as the middleware and consolidate the definitions across tools and implementations. There is already a type created in the catalyst project that may be better added to this project. (https://github.com/ordercloud-api/ordercloud-javascript-catalyst/blob/main/lib/Types/OrderCalculatePayload.ts)
Cheers