Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating graphql objects in go-sdk #152

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 16 additions & 15 deletions objects/account.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import (
"encoding/json"
"time"

"github.com/lightsparkdev/go-sdk/requester"
)
import "time"

// Account This is an object representing the connected Lightspark account. You can retrieve this object to see your account information and objects tied to your account.
type Account struct {
Expand Down Expand Up @@ -734,11 +729,11 @@ func (obj Account) GetChannels(requester *requester.Requester, bitcoinNetwork Bi
return result, nil
}

func (obj Account) GetTransactions(requester *requester.Requester, first *int64, after *string, types *[]TransactionType, afterDate *time.Time, beforeDate *time.Time, bitcoinNetwork *BitcoinNetwork, lightningNodeId *string, statuses *[]TransactionStatus, excludeFailures *TransactionFailures) (*AccountToTransactionsConnection, error) {
query := `query FetchAccountToTransactionsConnection($entity_id: ID!, $first: Int, $after: String, $types: [TransactionType!], $after_date: DateTime, $before_date: DateTime, $bitcoin_network: BitcoinNetwork, $lightning_node_id: ID, $statuses: [TransactionStatus!], $exclude_failures: TransactionFailures) {
func (obj Account) GetTransactions(requester *requester.Requester, first *int64, after *string, types *[]TransactionType, afterDate *time.Time, beforeDate *time.Time, bitcoinNetwork *BitcoinNetwork, lightningNodeId *string, statuses *[]TransactionStatus, excludeFailures *TransactionFailures, maxAmount *CurrencyAmountInput, minAmount *CurrencyAmountInput) (*AccountToTransactionsConnection, error) {
query := `query FetchAccountToTransactionsConnection($entity_id: ID!, $first: Int, $after: String, $types: [TransactionType!], $after_date: DateTime, $before_date: DateTime, $bitcoin_network: BitcoinNetwork, $lightning_node_id: ID, $statuses: [TransactionStatus!], $exclude_failures: TransactionFailures, $max_amount: CurrencyAmountInput, $min_amount: CurrencyAmountInput) {
entity(id: $entity_id) {
... on Account {
transactions(, first: $first, after: $after, types: $types, after_date: $after_date, before_date: $before_date, bitcoin_network: $bitcoin_network, lightning_node_id: $lightning_node_id, statuses: $statuses, exclude_failures: $exclude_failures) {
transactions(, first: $first, after: $after, types: $types, after_date: $after_date, before_date: $before_date, bitcoin_network: $bitcoin_network, lightning_node_id: $lightning_node_id, statuses: $statuses, exclude_failures: $exclude_failures, max_amount: $max_amount, min_amount: $min_amount) {
__typename
account_to_transactions_connection_count: count
account_to_transactions_connection_page_info: page_info {
Expand Down Expand Up @@ -1337,6 +1332,8 @@ func (obj Account) GetTransactions(requester *requester.Requester, first *int64,
"lightning_node_id": lightningNodeId,
"statuses": statuses,
"exclude_failures": excludeFailures,
"max_amount": maxAmount,
"min_amount": minAmount,
}

response, err := requester.ExecuteGraphql(query, variables, nil)
Expand All @@ -1351,11 +1348,11 @@ func (obj Account) GetTransactions(requester *requester.Requester, first *int64,
return result, nil
}

func (obj Account) GetPaymentRequests(requester *requester.Requester, first *int64, after *string, afterDate *time.Time, beforeDate *time.Time, bitcoinNetwork *BitcoinNetwork, lightningNodeId *string) (*AccountToPaymentRequestsConnection, error) {
query := `query FetchAccountToPaymentRequestsConnection($entity_id: ID!, $first: Int, $after: String, $after_date: DateTime, $before_date: DateTime, $bitcoin_network: BitcoinNetwork, $lightning_node_id: ID) {
func (obj Account) GetPaymentRequests(requester *requester.Requester, first *int64, after *string, afterDate *time.Time, beforeDate *time.Time, bitcoinNetwork *BitcoinNetwork, lightningNodeId *string, maxAmount *CurrencyAmountInput, minAmount *CurrencyAmountInput) (*AccountToPaymentRequestsConnection, error) {
query := `query FetchAccountToPaymentRequestsConnection($entity_id: ID!, $first: Int, $after: String, $after_date: DateTime, $before_date: DateTime, $bitcoin_network: BitcoinNetwork, $lightning_node_id: ID, $max_amount: CurrencyAmountInput, $min_amount: CurrencyAmountInput) {
entity(id: $entity_id) {
... on Account {
payment_requests(, first: $first, after: $after, after_date: $after_date, before_date: $before_date, bitcoin_network: $bitcoin_network, lightning_node_id: $lightning_node_id) {
payment_requests(, first: $first, after: $after, after_date: $after_date, before_date: $before_date, bitcoin_network: $bitcoin_network, lightning_node_id: $lightning_node_id, max_amount: $max_amount, min_amount: $min_amount) {
__typename
account_to_payment_requests_connection_count: count
account_to_payment_requests_connection_page_info: page_info {
Expand Down Expand Up @@ -1688,6 +1685,8 @@ func (obj Account) GetPaymentRequests(requester *requester.Requester, first *int
"before_date": beforeDate,
"bitcoin_network": bitcoinNetwork,
"lightning_node_id": lightningNodeId,
"max_amount": maxAmount,
"min_amount": minAmount,
}

response, err := requester.ExecuteGraphql(query, variables, nil)
Expand All @@ -1702,11 +1701,11 @@ func (obj Account) GetPaymentRequests(requester *requester.Requester, first *int
return result, nil
}

func (obj Account) GetWithdrawalRequests(requester *requester.Requester, first *int64, after *string, bitcoinNetworks *[]BitcoinNetwork, statuses *[]WithdrawalRequestStatus, nodeIds *[]string, idempotencyKeys *[]string, afterDate *time.Time, beforeDate *time.Time) (*AccountToWithdrawalRequestsConnection, error) {
query := `query FetchAccountToWithdrawalRequestsConnection($entity_id: ID!, $first: Int, $after: String, $bitcoin_networks: [BitcoinNetwork!], $statuses: [WithdrawalRequestStatus!], $node_ids: [ID!], $idempotency_keys: [String!], $after_date: DateTime, $before_date: DateTime) {
func (obj Account) GetWithdrawalRequests(requester *requester.Requester, first *int64, after *string, bitcoinNetworks *[]BitcoinNetwork, statuses *[]WithdrawalRequestStatus, nodeIds *[]string, idempotencyKeys *[]string, afterDate *time.Time, beforeDate *time.Time, maxAmount *CurrencyAmountInput, minAmount *CurrencyAmountInput) (*AccountToWithdrawalRequestsConnection, error) {
query := `query FetchAccountToWithdrawalRequestsConnection($entity_id: ID!, $first: Int, $after: String, $bitcoin_networks: [BitcoinNetwork!], $statuses: [WithdrawalRequestStatus!], $node_ids: [ID!], $idempotency_keys: [String!], $after_date: DateTime, $before_date: DateTime, $max_amount: CurrencyAmountInput, $min_amount: CurrencyAmountInput) {
entity(id: $entity_id) {
... on Account {
withdrawal_requests(, first: $first, after: $after, bitcoin_networks: $bitcoin_networks, statuses: $statuses, node_ids: $node_ids, idempotency_keys: $idempotency_keys, after_date: $after_date, before_date: $before_date) {
withdrawal_requests(, first: $first, after: $after, bitcoin_networks: $bitcoin_networks, statuses: $statuses, node_ids: $node_ids, idempotency_keys: $idempotency_keys, after_date: $after_date, before_date: $before_date, max_amount: $max_amount, min_amount: $min_amount) {
__typename
account_to_withdrawal_requests_connection_count: count
account_to_withdrawal_requests_connection_page_info: page_info {
Expand Down Expand Up @@ -1785,6 +1784,8 @@ func (obj Account) GetWithdrawalRequests(requester *requester.Requester, first *
"idempotency_keys": idempotencyKeys,
"after_date": afterDate,
"before_date": beforeDate,
"max_amount": maxAmount,
"min_amount": minAmount,
}

response, err := requester.ExecuteGraphql(query, variables, nil)
Expand Down
2 changes: 0 additions & 2 deletions objects/account_to_nodes_connection.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "encoding/json"

// AccountToNodesConnection A connection between an account and the nodes it manages.
type AccountToNodesConnection struct {

Expand Down
2 changes: 0 additions & 2 deletions objects/account_to_payment_requests_connection.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "encoding/json"

type AccountToPaymentRequestsConnection struct {

// Count The total count of objects in this connection, using the current filters. It is different from the number of objects returned in the current page (in the `entities` field).
Expand Down
2 changes: 0 additions & 2 deletions objects/account_to_transactions_connection.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "encoding/json"

type AccountToTransactionsConnection struct {

// Count The total count of objects in this connection, using the current filters. It is different from the number of objects returned in the current page (in the `entities` field).
Expand Down
4 changes: 4 additions & 0 deletions objects/all_entities.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const (
... on LightsparkNodeWithRemoteSigning {
...LightsparkNodeWithRemoteSigningFragment
}
... on Offer {
...OfferFragment
}
... on OutgoingPayment {
...OutgoingPaymentFragment
}
Expand Down Expand Up @@ -90,6 +93,7 @@ const (
InvoiceFragment +
LightsparkNodeWithOSKFragment +
LightsparkNodeWithRemoteSigningFragment +
OfferFragment +
OutgoingPaymentFragment +
OutgoingPaymentAttemptFragment +
RoutingTransactionFragment +
Expand Down
5 changes: 0 additions & 5 deletions objects/audit_log_actor.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import (
"encoding/json"
"fmt"
)

// AuditLogActor Audit log actor who called the GraphQL mutation
type AuditLogActor interface {
Entity
Expand Down
1 change: 1 addition & 0 deletions objects/bitcoin_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package objects

import (
"encoding/json"
"strings"
)

// BitcoinNetwork This is an enum identifying a particular Bitcoin Network.
Expand Down
2 changes: 0 additions & 2 deletions objects/cancel_invoice_output.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "github.com/lightsparkdev/go-sdk/types"

// CancelInvoiceOutput The Invoice that was cancelled. If the invoice was already cancelled, the same invoice is returned.
type CancelInvoiceOutput struct {
Invoice types.EntityWrapper `json:"cancel_invoice_output_invoice"`

Check failure on line 6 in objects/cancel_invoice_output.go

View workflow job for this annotation

GitHub Actions / test

undefined: types
}

const (
Expand Down
8 changes: 1 addition & 7 deletions objects/channel.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import (
"encoding/json"
"time"

"github.com/lightsparkdev/go-sdk/requester"
"github.com/lightsparkdev/go-sdk/types"
)
import "time"

// Channel This is an object representing a channel on the Lightning Network. You can retrieve this object to get detailed information on a specific Lightning Network channel.
type Channel struct {
Expand All @@ -22,7 +16,7 @@
UpdatedAt time.Time `json:"channel_updated_at"`

// FundingTransaction The transaction that funded the channel upon channel opening.
FundingTransaction *types.EntityWrapper `json:"channel_funding_transaction"`

Check failure on line 19 in objects/channel.go

View workflow job for this annotation

GitHub Actions / test

undefined: types

// Capacity The total amount of funds in this channel, including the channel balance on the local node, the channel balance on the remote node and the on-chain fees to close the channel.
Capacity *CurrencyAmount `json:"channel_capacity"`
Expand Down Expand Up @@ -59,10 +53,10 @@
Fees *ChannelFees `json:"channel_fees"`

// RemoteNode If known, the remote node of the channel.
RemoteNode *types.EntityWrapper `json:"channel_remote_node"`

Check failure on line 56 in objects/channel.go

View workflow job for this annotation

GitHub Actions / test

undefined: types

// LocalNode The local Lightspark node of the channel.
LocalNode types.EntityWrapper `json:"channel_local_node"`

Check failure on line 59 in objects/channel.go

View workflow job for this annotation

GitHub Actions / test

undefined: types

// ShortChannelId The unique identifier of the channel on Lightning Network, which is the location in the chain that the channel was confirmed. The format is <block-height>:<tx-index>:<tx-output>.
ShortChannelId *string `json:"channel_short_channel_id"`
Expand Down
6 changes: 1 addition & 5 deletions objects/channel_closing_transaction.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, why is this being removed from all the objects?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah not sure why.. the generate command does this..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apparently goimports got removed from my laptop, but I definitely downloaded it before..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed this in new PR! Sorry for this

"time"

"github.com/lightsparkdev/go-sdk/types"
)
import "time"

// ChannelClosingTransaction This is an object representing a transaction which closes a channel on the Lightning Network. This operation allocates balances back to the local and remote nodes.
type ChannelClosingTransaction struct {
Expand Down Expand Up @@ -47,7 +43,7 @@
NumConfirmations *int64 `json:"channel_closing_transaction_num_confirmations"`

// Channel If known, the channel this transaction is closing.
Channel *types.EntityWrapper `json:"channel_closing_transaction_channel"`

Check failure on line 46 in objects/channel_closing_transaction.go

View workflow job for this annotation

GitHub Actions / test

undefined: types

// Typename The typename of the object
Typename string `json:"__typename"`
Expand Down
6 changes: 1 addition & 5 deletions objects/channel_opening_transaction.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import (
"time"

"github.com/lightsparkdev/go-sdk/types"
)
import "time"

// ChannelOpeningTransaction This is an object representing a transaction which opens a channel on the Lightning Network. This object occurs only for channels funded by the local Lightspark node.
type ChannelOpeningTransaction struct {
Expand Down Expand Up @@ -47,7 +43,7 @@
NumConfirmations *int64 `json:"channel_opening_transaction_num_confirmations"`

// Channel If known, the channel this transaction is opening.
Channel *types.EntityWrapper `json:"channel_opening_transaction_channel"`

Check failure on line 46 in objects/channel_opening_transaction.go

View workflow job for this annotation

GitHub Actions / test

undefined: types

// Typename The typename of the object
Typename string `json:"__typename"`
Expand Down
6 changes: 1 addition & 5 deletions objects/channel_snapshot.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import (
"time"

"github.com/lightsparkdev/go-sdk/types"
)
import "time"

type ChannelSnapshot struct {

Expand All @@ -28,7 +24,7 @@

Status *string `json:"channel_snapshot_status"`

Channel types.EntityWrapper `json:"channel_snapshot_channel"`

Check failure on line 27 in objects/channel_snapshot.go

View workflow job for this annotation

GitHub Actions / test

undefined: types

// Deprecated: Use channel.local_channel_reserve instead.
LocalChannelReserve *CurrencyAmount `json:"channel_snapshot_local_channel_reserve"`
Expand Down
1 change: 1 addition & 0 deletions objects/channel_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package objects

import (
"encoding/json"
"strings"
)

// ChannelStatus This is an enum representing the status of a channel on the Lightning Network.
Expand Down
2 changes: 0 additions & 2 deletions objects/claim_uma_invitation_output.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "github.com/lightsparkdev/go-sdk/types"

type ClaimUmaInvitationOutput struct {

// Invitation An UMA.ME invitation object.
Expand Down
2 changes: 0 additions & 2 deletions objects/claim_uma_invitation_with_incentives_output.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "github.com/lightsparkdev/go-sdk/types"

type ClaimUmaInvitationWithIncentivesOutput struct {

// Invitation An UMA.ME invitation object.
Expand Down
1 change: 1 addition & 0 deletions objects/compliance_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package objects

import (
"encoding/json"
"strings"
)

// ComplianceProvider This is an enum identifying a type of compliance provider.
Expand Down
5 changes: 0 additions & 5 deletions objects/connection.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import (
"encoding/json"
"fmt"
)

type Connection interface {

// GetCount The total count of objects in this connection, using the current filters. It is different from the number of objects returned in the current page (in the `entities` field).
Expand Down
2 changes: 0 additions & 2 deletions objects/create_invitation_with_incentives_output.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "github.com/lightsparkdev/go-sdk/types"

type CreateInvitationWithIncentivesOutput struct {

// Invitation The created invitation in the form of a string identifier.
Expand Down
2 changes: 0 additions & 2 deletions objects/create_invoice_output.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "github.com/lightsparkdev/go-sdk/types"

type CreateInvoiceOutput struct {
Invoice types.EntityWrapper `json:"create_invoice_output_invoice"`
}
Expand Down
2 changes: 0 additions & 2 deletions objects/create_node_wallet_address_output.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "github.com/lightsparkdev/go-sdk/types"

type CreateNodeWalletAddressOutput struct {
Node types.EntityWrapper `json:"create_node_wallet_address_output_node"`

Expand Down
14 changes: 14 additions & 0 deletions objects/create_offer_input.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

type CreateOfferInput struct {

// NodeId The node from which to create the offer.
NodeId string `json:"create_offer_input_node_id"`

// AmountMsats The amount for which the offer should be created, in millisatoshis. Setting the amount to 0 will allow the payer to specify an amount.
AmountMsats *int64 `json:"create_offer_input_amount_msats"`

// Description A short description of the offer.
Description *string `json:"create_offer_input_description"`
}
17 changes: 17 additions & 0 deletions objects/create_offer_output.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

type CreateOfferOutput struct {
Offer types.EntityWrapper `json:"create_offer_output_offer"`
}

const (
CreateOfferOutputFragment = `
fragment CreateOfferOutputFragment on CreateOfferOutput {
__typename
create_offer_output_offer: offer {
id
}
}
`
)
5 changes: 5 additions & 0 deletions objects/create_test_mode_invoice_input.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
package objects

type CreateTestModeInvoiceInput struct {

// LocalNodeId The local node from which to create the invoice.
LocalNodeId string `json:"create_test_mode_invoice_input_local_node_id"`

// AmountMsats The amount for which the invoice should be created, in millisatoshis. Setting the amount to 0 will allow the payer to specify an amount.
AmountMsats int64 `json:"create_test_mode_invoice_input_amount_msats"`

// Memo An optional memo to include in the invoice.
Memo *string `json:"create_test_mode_invoice_input_memo"`

// InvoiceType The type of invoice to create.
InvoiceType *InvoiceType `json:"create_test_mode_invoice_input_invoice_type"`
}
2 changes: 0 additions & 2 deletions objects/create_test_mode_paymentoutput.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "github.com/lightsparkdev/go-sdk/types"

// CreateTestModePaymentoutput This is an object identifying the output of a test mode payment. This object can be used to retrieve the associated payment made from a Test Mode Payment call.
type CreateTestModePaymentoutput struct {

Expand Down
2 changes: 0 additions & 2 deletions objects/create_uma_invitation_output.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "github.com/lightsparkdev/go-sdk/types"

type CreateUmaInvitationOutput struct {

// Invitation The created invitation in the form of a string identifier.
Expand Down
8 changes: 8 additions & 0 deletions objects/currency_amount_input.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

type CurrencyAmountInput struct {
Value int64 `json:"currency_amount_input_value"`

Unit CurrencyUnit `json:"currency_amount_input_unit"`
}
1 change: 1 addition & 0 deletions objects/currency_unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package objects

import (
"encoding/json"
"strings"
)

// CurrencyUnit This enum identifies the unit of currency associated with a CurrencyAmount.
Expand Down
2 changes: 0 additions & 2 deletions objects/daily_liquidity_forecast.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "github.com/lightsparkdev/go-sdk/types"

type DailyLiquidityForecast struct {

// Date The date for which this forecast was generated.
Expand Down
2 changes: 0 additions & 2 deletions objects/delete_api_token_output.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
package objects

import "github.com/lightsparkdev/go-sdk/types"

type DeleteApiTokenOutput struct {
Account types.EntityWrapper `json:"delete_api_token_output_account"`
}
Expand Down
Loading
Loading