diff --git a/openapi.yaml b/openapi.yaml index 63716f0..9492a47 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -303,6 +303,7 @@ components: category: type: "string" default: "TRANSACTION_CATEGORY" + description: "Only included if type is 2, 3, or 4" PushNotificationOnchainAddressGotUnconfirmedTransaction: allOf: # Combines PushNotificationBase and the inline model @@ -331,6 +332,7 @@ components: category: type: "string" default: "TRANSACTION_CATEGORY" + description: "Only included if type is 2, 3, or 4" PushNotificationTxidGotConfirmed: allOf: # Combines PushNotificationBase and the inline model @@ -351,6 +353,7 @@ components: category: type: "string" default: "TRANSACTION_CATEGORY" + description: "Only included if type is 2, 3, or 4" PushNotificationMessage: allOf: # Combines PushNotificationBase and the inline model diff --git a/src/openapi/api.ts b/src/openapi/api.ts index e26dbdc..0946894 100644 --- a/src/openapi/api.ts +++ b/src/openapi/api.ts @@ -363,7 +363,10 @@ export interface components { address: string; /** @description txid of the transaction where this address is one of the outputs */ txid: string; - /** @default TRANSACTION_CATEGORY */ + /** + * @description Only included if type is 2, 3, or 4 + * @default TRANSACTION_CATEGORY + */ category: string; }; PushNotificationOnchainAddressGotUnconfirmedTransaction: components["schemas"]["PushNotificationBase"] & { @@ -377,7 +380,10 @@ export interface components { address: string; /** @description txid of the transaction where this address is one of the outputs */ txid: string; - /** @default TRANSACTION_CATEGORY */ + /** + * @description Only included if type is 2, 3, or 4 + * @default TRANSACTION_CATEGORY + */ category: string; }; PushNotificationTxidGotConfirmed: components["schemas"]["PushNotificationBase"] & { @@ -387,7 +393,10 @@ export interface components { level?: "transactions"; /** @description txid of the transaction that got confirmed */ txid: string; - /** @default TRANSACTION_CATEGORY */ + /** + * @description Only included if type is 2, 3, or 4 + * @default TRANSACTION_CATEGORY + */ category: string; }; PushNotificationMessage: components["schemas"]["PushNotificationBase"] & {