Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosrdz committed Oct 27, 2024
1 parent 5b93544 commit 124d1b7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
3 changes: 3 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
15 changes: 12 additions & 3 deletions src/openapi/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"] & {
Expand All @@ -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"] & {
Expand All @@ -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"] & {
Expand Down

0 comments on commit 124d1b7

Please sign in to comment.