diff --git a/.changeset/rare-dragons-sing.md b/.changeset/rare-dragons-sing.md new file mode 100644 index 00000000..16f579d1 --- /dev/null +++ b/.changeset/rare-dragons-sing.md @@ -0,0 +1,5 @@ +--- +'@interledger/open-payments': minor +--- + +Making interact property optional for grant requests diff --git a/packages/open-payments/src/types.ts b/packages/open-payments/src/types.ts index 834dd0ee..8a3b4c2d 100644 --- a/packages/open-payments/src/types.ts +++ b/packages/open-payments/src/types.ts @@ -76,7 +76,7 @@ export type Grant = { export type GrantRequest = { access_token: ASOperations['post-request']['requestBody']['content']['application/json']['access_token'] client: ASOperations['post-request']['requestBody']['content']['application/json']['client'] - interact: ASOperations['post-request']['requestBody']['content']['application/json']['interact'] + interact?: ASOperations['post-request']['requestBody']['content']['application/json']['interact'] } export type GrantContinuationRequest = { interact_ref: ASOperations['post-continue']['requestBody']['content']['application/json']['interact_ref']