diff --git a/sdks/node/src/resources/AccountLinks.ts b/sdks/node/src/resources/AccountLinks.ts index c99e5bd..37f8d82 100644 --- a/sdks/node/src/resources/AccountLinks.ts +++ b/sdks/node/src/resources/AccountLinks.ts @@ -2,10 +2,10 @@ import { BaseResource } from './Base'; import { AccountLink } from '@zoneless/shared-types'; import type { CreateAccountLinkInput } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/account-links + * @see https://docs.zoneless.com/account-links */ export class AccountLinks extends BaseResource { - /** @see https://zoneless.com/docs/account-links/create */ + /** @see https://docs.zoneless.com/account-links/create */ async create(params: CreateAccountLinkInput): Promise { return this.client.Post('/account_links', params); } diff --git a/sdks/node/src/resources/Accounts.ts b/sdks/node/src/resources/Accounts.ts index 4fe06c5..cc3cb7d 100644 --- a/sdks/node/src/resources/Accounts.ts +++ b/sdks/node/src/resources/Accounts.ts @@ -29,7 +29,7 @@ import { ApplyDateFilter } from '../utils'; import { Persons } from './Persons'; import { LoginLinks } from './LoginLinks'; /** - * @see https://zoneless.com/docs/accounts + * @see https://docs.zoneless.com/accounts */ export class Accounts extends BaseResource { private readonly externalAccounts: ExternalAccounts; @@ -43,7 +43,7 @@ export class Accounts extends BaseResource { this.loginLinks = new LoginLinks(client); } - /** @see https://zoneless.com/docs/accounts/create */ + /** @see https://docs.zoneless.com/accounts/create */ async create( params: CreateAccountInput = {}, options?: RequestExtraOptions @@ -51,17 +51,17 @@ export class Accounts extends BaseResource { return this.client.Post('/accounts', params, options); } - /** @see https://zoneless.com/docs/accounts/retrieve */ + /** @see https://docs.zoneless.com/accounts/retrieve */ async retrieve(id: string, options?: RequestExtraOptions): Promise { return this.client.Get(`/accounts/${id}`, undefined, options); } - /** @see https://zoneless.com/docs/accounts/retrieve */ + /** @see https://docs.zoneless.com/accounts/retrieve */ async retrieveMe(options?: RequestExtraOptions): Promise { return this.client.Get('/accounts/me', undefined, options); } - /** @see https://zoneless.com/docs/accounts/update */ + /** @see https://docs.zoneless.com/accounts/update */ async update( id: string, params: UpdateAccountInput, @@ -70,7 +70,7 @@ export class Accounts extends BaseResource { return this.client.Post(`/accounts/${id}`, params, options); } - /** @see https://zoneless.com/docs/accounts/delete */ + /** @see https://docs.zoneless.com/accounts/delete */ async del( id: string, options?: RequestExtraOptions @@ -82,7 +82,7 @@ export class Accounts extends BaseResource { ); } - /** @see https://zoneless.com/docs/accounts/list */ + /** @see https://docs.zoneless.com/accounts/list */ async list( params: ListAccountsInput = {}, options?: RequestExtraOptions @@ -98,7 +98,7 @@ export class Accounts extends BaseResource { return this.client.Get>('/accounts', query, options); } - /** @see https://zoneless.com/docs/accounts/reject */ + /** @see https://docs.zoneless.com/accounts/reject */ async reject( id: string, params: RejectAccountInput, @@ -111,7 +111,7 @@ export class Accounts extends BaseResource { // External Accounts (Wallets) // ============================================ - /** @see https://zoneless.com/docs/external-wallets/create */ + /** @see https://docs.zoneless.com/external-wallets/create */ async createExternalAccount( accountId: string, params: CreateExternalWalletInput @@ -119,7 +119,7 @@ export class Accounts extends BaseResource { return this.externalAccounts.create(accountId, params); } - /** @see https://zoneless.com/docs/external-wallets/retrieve */ + /** @see https://docs.zoneless.com/external-wallets/retrieve */ async retrieveExternalAccount( accountId: string, externalAccountId: string @@ -127,7 +127,7 @@ export class Accounts extends BaseResource { return this.externalAccounts.retrieve(accountId, externalAccountId); } - /** @see https://zoneless.com/docs/external-wallets/update */ + /** @see https://docs.zoneless.com/external-wallets/update */ async updateExternalAccount( accountId: string, externalAccountId: string, @@ -136,7 +136,7 @@ export class Accounts extends BaseResource { return this.externalAccounts.update(accountId, externalAccountId, params); } - /** @see https://zoneless.com/docs/external-wallets/delete */ + /** @see https://docs.zoneless.com/external-wallets/delete */ async deleteExternalAccount( accountId: string, externalAccountId: string @@ -144,7 +144,7 @@ export class Accounts extends BaseResource { return this.externalAccounts.del(accountId, externalAccountId); } - /** @see https://zoneless.com/docs/external-wallets/list */ + /** @see https://docs.zoneless.com/external-wallets/list */ async listExternalAccounts( accountId: string, params: ListExternalWalletsInput = {} @@ -156,7 +156,7 @@ export class Accounts extends BaseResource { // Persons // ============================================ - /** @see https://zoneless.com/docs/persons/create */ + /** @see https://docs.zoneless.com/persons/create */ async createPerson( accountId: string, params: CreatePersonInput = {} @@ -164,12 +164,12 @@ export class Accounts extends BaseResource { return this.persons.create(accountId, params); } - /** @see https://zoneless.com/docs/persons/retrieve */ + /** @see https://docs.zoneless.com/persons/retrieve */ async retrievePerson(accountId: string, personId: string): Promise { return this.persons.retrieve(accountId, personId); } - /** @see https://zoneless.com/docs/persons/update */ + /** @see https://docs.zoneless.com/persons/update */ async updatePerson( accountId: string, personId: string, @@ -178,7 +178,7 @@ export class Accounts extends BaseResource { return this.persons.update(accountId, personId, params); } - /** @see https://zoneless.com/docs/persons/delete */ + /** @see https://docs.zoneless.com/persons/delete */ async deletePerson( accountId: string, personId: string @@ -186,7 +186,7 @@ export class Accounts extends BaseResource { return this.persons.del(accountId, personId); } - /** @see https://zoneless.com/docs/persons/list */ + /** @see https://docs.zoneless.com/persons/list */ async listPersons( accountId: string, params: ListPersonsInput = {} @@ -198,7 +198,7 @@ export class Accounts extends BaseResource { // Login Links // ============================================ - /** @see https://zoneless.com/docs/login-links/create */ + /** @see https://docs.zoneless.com/login-links/create */ async createLoginLink(accountId: string): Promise { return this.loginLinks.create(accountId); } diff --git a/sdks/node/src/resources/Balance.ts b/sdks/node/src/resources/Balance.ts index 4cacce9..a942497 100644 --- a/sdks/node/src/resources/Balance.ts +++ b/sdks/node/src/resources/Balance.ts @@ -5,10 +5,10 @@ import { Balance } from '@zoneless/shared-types'; export type RetrieveBalanceOptions = RequestExtraOptions; /** - * @see https://zoneless.com/docs/balance + * @see https://docs.zoneless.com/balance */ export class BalanceResource extends BaseResource { - /** @see https://zoneless.com/docs/balance/retrieve */ + /** @see https://docs.zoneless.com/balance/retrieve */ async retrieve(options?: RequestExtraOptions): Promise { return this.client.Get('/balance', undefined, options); } diff --git a/sdks/node/src/resources/BalanceTransactions.ts b/sdks/node/src/resources/BalanceTransactions.ts index a511670..a77d8ca 100644 --- a/sdks/node/src/resources/BalanceTransactions.ts +++ b/sdks/node/src/resources/BalanceTransactions.ts @@ -9,10 +9,10 @@ export interface BalanceTransactionRequestOptions { } /** - * @see https://zoneless.com/docs/balance-transactions + * @see https://docs.zoneless.com/balance-transactions */ export class BalanceTransactions extends BaseResource { - /** @see https://zoneless.com/docs/balance-transactions/retrieve */ + /** @see https://docs.zoneless.com/balance-transactions/retrieve */ async retrieve( id: string, options: BalanceTransactionRequestOptions = {} @@ -25,7 +25,7 @@ export class BalanceTransactions extends BaseResource { ); } - /** @see https://zoneless.com/docs/balance-transactions/list */ + /** @see https://docs.zoneless.com/balance-transactions/list */ async list( params: ListBalanceTransactionsInput = {}, options: BalanceTransactionRequestOptions = {} diff --git a/sdks/node/src/resources/Billing.ts b/sdks/node/src/resources/Billing.ts index 4bda440..93e813e 100644 --- a/sdks/node/src/resources/Billing.ts +++ b/sdks/node/src/resources/Billing.ts @@ -9,14 +9,14 @@ import type { RunBillingForPlatformInput } from '../generated/Inputs'; * exposed here — it requires a special operator key. * * @zoneless_extension - * @see https://zoneless.com/docs/billing + * @see https://docs.zoneless.com/billing */ export class Billing extends BaseResource { /** * Run one billing pass for the authenticated platform: process due renewals * and invoice retries. * - * @see https://zoneless.com/docs/billing/run_for_platform + * @see https://docs.zoneless.com/billing/run_for_platform */ async runForPlatform( params: RunBillingForPlatformInput = {} @@ -30,7 +30,7 @@ export class Billing extends BaseResource { * The monitor is disabled by default for multi-instance deployments; prefer * `runForPlatform` via cron / Cloud Scheduler instead. * - * @see https://zoneless.com/docs/billing/monitor/status + * @see https://docs.zoneless.com/billing/monitor/status */ async monitorStatus(): Promise { return this.client.Get('/billing/monitor/status'); diff --git a/sdks/node/src/resources/Charges.ts b/sdks/node/src/resources/Charges.ts index 9b92d01..54cdd1a 100644 --- a/sdks/node/src/resources/Charges.ts +++ b/sdks/node/src/resources/Charges.ts @@ -10,20 +10,20 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/charges + * @see https://docs.zoneless.com/charges */ export class Charges extends BaseResource { - /** @see https://zoneless.com/docs/charges/create */ + /** @see https://docs.zoneless.com/charges/create */ async create(params: CreateChargeInput): Promise { return this.client.Post('/charges', params); } - /** @see https://zoneless.com/docs/charges/update */ + /** @see https://docs.zoneless.com/charges/update */ async update(id: string, params: UpdateChargeInput): Promise { return this.client.Post(`/charges/${id}`, params); } - /** @see https://zoneless.com/docs/charges/retrieve */ + /** @see https://docs.zoneless.com/charges/retrieve */ async retrieve( id: string, params: RetrieveChargeInput = {} @@ -31,7 +31,7 @@ export class Charges extends BaseResource { return this.client.Get(`/charges/${id}`, params); } - /** @see https://zoneless.com/docs/charges/list */ + /** @see https://docs.zoneless.com/charges/list */ async list(params: ListChargesInput = {}): Promise> { return this.client.Get>( '/charges', @@ -41,7 +41,7 @@ export class Charges extends BaseResource { /** * Capture the payment of an existing, uncaptured charge. - * @see https://zoneless.com/docs/charges/capture + * @see https://docs.zoneless.com/charges/capture */ async capture(id: string, params: CaptureChargeInput = {}): Promise { return this.client.Post(`/charges/${id}/capture`, params); diff --git a/sdks/node/src/resources/Checkout.ts b/sdks/node/src/resources/Checkout.ts index 163e612..90f247f 100644 --- a/sdks/node/src/resources/Checkout.ts +++ b/sdks/node/src/resources/Checkout.ts @@ -4,7 +4,7 @@ import { CheckoutSessions } from './CheckoutSessions'; /** * Checkout API namespace. * - * @see https://zoneless.com/docs/checkout/sessions + * @see https://docs.zoneless.com/checkout/sessions */ export class Checkout { /** Checkout Sessions API resource */ diff --git a/sdks/node/src/resources/CheckoutSessions.ts b/sdks/node/src/resources/CheckoutSessions.ts index 84ff1df..20c5bb0 100644 --- a/sdks/node/src/resources/CheckoutSessions.ts +++ b/sdks/node/src/resources/CheckoutSessions.ts @@ -16,15 +16,15 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/checkout/sessions + * @see https://docs.zoneless.com/checkout/sessions */ export class CheckoutSessions extends BaseResource { - /** @see https://zoneless.com/docs/checkout/sessions/create */ + /** @see https://docs.zoneless.com/checkout/sessions/create */ async create(params: CreateCheckoutSessionInput): Promise { return this.client.Post('/checkout/sessions', params); } - /** @see https://zoneless.com/docs/checkout/sessions/update */ + /** @see https://docs.zoneless.com/checkout/sessions/update */ async update( id: string, params: UpdateCheckoutSessionInput @@ -35,7 +35,7 @@ export class CheckoutSessions extends BaseResource { ); } - /** @see https://zoneless.com/docs/checkout/sessions/retrieve */ + /** @see https://docs.zoneless.com/checkout/sessions/retrieve */ async retrieve( id: string, params: RetrieveCheckoutSessionInput = {} @@ -43,7 +43,7 @@ export class CheckoutSessions extends BaseResource { return this.client.Get(`/checkout/sessions/${id}`, params); } - /** @see https://zoneless.com/docs/checkout/sessions/expire */ + /** @see https://docs.zoneless.com/checkout/sessions/expire */ async expire( id: string, params: ExpireCheckoutSessionInput = {} @@ -54,7 +54,7 @@ export class CheckoutSessions extends BaseResource { ); } - /** @see https://zoneless.com/docs/checkout/sessions/list-line-items */ + /** @see https://docs.zoneless.com/checkout/sessions/list-line-items */ async listLineItems( id: string, params: ListCheckoutSessionLineItemsInput = {} @@ -65,7 +65,7 @@ export class CheckoutSessions extends BaseResource { ); } - /** @see https://zoneless.com/docs/checkout/sessions/list */ + /** @see https://docs.zoneless.com/checkout/sessions/list */ async list( params: ListCheckoutSessionsInput = {} ): Promise> { @@ -90,7 +90,7 @@ export class CheckoutSessions extends BaseResource { ); } - /** @see https://zoneless.com/docs/checkout/sessions/delete */ + /** @see https://docs.zoneless.com/checkout/sessions/delete */ async del(customerId: string): Promise { return this.client.Delete( `/checkout/sessions/${customerId}` diff --git a/sdks/node/src/resources/Customers.ts b/sdks/node/src/resources/Customers.ts index acdbb58..80b06b5 100644 --- a/sdks/node/src/resources/Customers.ts +++ b/sdks/node/src/resources/Customers.ts @@ -13,20 +13,20 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/customers + * @see https://docs.zoneless.com/customers */ export class Customers extends BaseResource { - /** @see https://zoneless.com/docs/customers/create */ + /** @see https://docs.zoneless.com/customers/create */ async create(params: CreateCustomerInput): Promise { return this.client.Post('/customers', params); } - /** @see https://zoneless.com/docs/customers/update */ + /** @see https://docs.zoneless.com/customers/update */ async update(id: string, params: UpdateCustomerInput): Promise { return this.client.Post(`/customers/${id}`, params); } - /** @see https://zoneless.com/docs/customers/retrieve */ + /** @see https://docs.zoneless.com/customers/retrieve */ async retrieve( id: string, params: RetrieveCustomerInput = {} @@ -34,7 +34,7 @@ export class Customers extends BaseResource { return this.client.Get(`/customers/${id}`, params); } - /** @see https://zoneless.com/docs/customers/list */ + /** @see https://docs.zoneless.com/customers/list */ async list(params: ListCustomersInput = {}): Promise> { const query: ListQuery = { limit: params.limit, @@ -46,7 +46,7 @@ export class Customers extends BaseResource { return this.client.Get>(`/customers`, query); } - /** @see https://zoneless.com/docs/customers/delete */ + /** @see https://docs.zoneless.com/customers/delete */ async del(customerId: string): Promise { return this.client.Delete(`/customers/${customerId}`); } diff --git a/sdks/node/src/resources/Events.ts b/sdks/node/src/resources/Events.ts index 0e1bca2..53b082e 100644 --- a/sdks/node/src/resources/Events.ts +++ b/sdks/node/src/resources/Events.ts @@ -4,15 +4,15 @@ import { Event, ListResponse } from '@zoneless/shared-types'; import type { ListEventsInput } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/events + * @see https://docs.zoneless.com/events */ export class Events extends BaseResource { - /** @see https://zoneless.com/docs/events/retrieve */ + /** @see https://docs.zoneless.com/events/retrieve */ async retrieve(id: string): Promise { return this.client.Get(`/events/${id}`); } - /** @see https://zoneless.com/docs/events/list */ + /** @see https://docs.zoneless.com/events/list */ async list(params: ListEventsInput = {}): Promise> { const query = this.BuildQuery(params); return this.client.Get>('/events', query); diff --git a/sdks/node/src/resources/ExternalAccounts.ts b/sdks/node/src/resources/ExternalAccounts.ts index 45b1089..4d19f07 100644 --- a/sdks/node/src/resources/ExternalAccounts.ts +++ b/sdks/node/src/resources/ExternalAccounts.ts @@ -15,10 +15,10 @@ export interface ExternalWalletDeletedResponse { /** * External Accounts (Wallets) API resource. * External wallets are Solana wallet addresses for receiving USDC payouts. - * @see https://zoneless.com/docs/external-wallets + * @see https://docs.zoneless.com/external-wallets */ export class ExternalAccounts extends BaseResource { - /** @see https://zoneless.com/docs/external-wallets/create */ + /** @see https://docs.zoneless.com/external-wallets/create */ async create( accountId: string, params: CreateExternalWalletInput @@ -29,7 +29,7 @@ export class ExternalAccounts extends BaseResource { ); } - /** @see https://zoneless.com/docs/external-wallets/retrieve */ + /** @see https://docs.zoneless.com/external-wallets/retrieve */ async retrieve( accountId: string, externalAccountId: string @@ -39,7 +39,7 @@ export class ExternalAccounts extends BaseResource { ); } - /** @see https://zoneless.com/docs/external-wallets/update */ + /** @see https://docs.zoneless.com/external-wallets/update */ async update( accountId: string, externalAccountId: string, @@ -51,7 +51,7 @@ export class ExternalAccounts extends BaseResource { ); } - /** @see https://zoneless.com/docs/external-wallets/delete */ + /** @see https://docs.zoneless.com/external-wallets/delete */ async del( accountId: string, externalAccountId: string @@ -61,7 +61,7 @@ export class ExternalAccounts extends BaseResource { ); } - /** @see https://zoneless.com/docs/external-wallets/list */ + /** @see https://docs.zoneless.com/external-wallets/list */ async list( accountId: string, params: ListExternalWalletsInput = {} diff --git a/sdks/node/src/resources/Identity.ts b/sdks/node/src/resources/Identity.ts index 56c883b..fc7c987 100644 --- a/sdks/node/src/resources/Identity.ts +++ b/sdks/node/src/resources/Identity.ts @@ -2,7 +2,7 @@ import { HttpClient } from '../HttpClient'; import { IdentityVerificationSessions } from './IdentityVerificationSessions'; /** - * @see https://zoneless.com/docs/identity/verification_sessions + * @see https://docs.zoneless.com/identity/verification_sessions */ export class Identity { readonly verificationSessions: IdentityVerificationSessions; diff --git a/sdks/node/src/resources/IdentityVerificationSessions.ts b/sdks/node/src/resources/IdentityVerificationSessions.ts index 69c54e7..f12afe8 100644 --- a/sdks/node/src/resources/IdentityVerificationSessions.ts +++ b/sdks/node/src/resources/IdentityVerificationSessions.ts @@ -11,7 +11,7 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/identity/verification_sessions + * @see https://docs.zoneless.com/identity/verification_sessions */ export class IdentityVerificationSessions extends BaseResource { async create( diff --git a/sdks/node/src/resources/InvoiceItems.ts b/sdks/node/src/resources/InvoiceItems.ts index 107c126..09ac8cd 100644 --- a/sdks/node/src/resources/InvoiceItems.ts +++ b/sdks/node/src/resources/InvoiceItems.ts @@ -13,15 +13,15 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/invoiceitems + * @see https://docs.zoneless.com/invoiceitems */ export class InvoiceItems extends BaseResource { - /** @see https://zoneless.com/docs/invoiceitems/create */ + /** @see https://docs.zoneless.com/invoiceitems/create */ async create(params: CreateInvoiceItemInput): Promise { return this.client.Post('/invoiceitems', params); } - /** @see https://zoneless.com/docs/invoiceitems/update */ + /** @see https://docs.zoneless.com/invoiceitems/update */ async update( id: string, params: UpdateInvoiceItemInput @@ -29,7 +29,7 @@ export class InvoiceItems extends BaseResource { return this.client.Post(`/invoiceitems/${id}`, params); } - /** @see https://zoneless.com/docs/invoiceitems/retrieve */ + /** @see https://docs.zoneless.com/invoiceitems/retrieve */ async retrieve( id: string, params: RetrieveInvoiceItemInput = {} @@ -37,7 +37,7 @@ export class InvoiceItems extends BaseResource { return this.client.Get(`/invoiceitems/${id}`, params); } - /** @see https://zoneless.com/docs/invoiceitems/list */ + /** @see https://docs.zoneless.com/invoiceitems/list */ async list( params: ListInvoiceItemsInput = {} ): Promise> { @@ -50,7 +50,7 @@ export class InvoiceItems extends BaseResource { /** * Deletes an invoice item. Only possible when not attached to an invoice, * or when attached to a draft invoice. - * @see https://zoneless.com/docs/invoiceitems/delete + * @see https://docs.zoneless.com/invoiceitems/delete */ async del(id: string): Promise { return this.client.Delete(`/invoiceitems/${id}`); diff --git a/sdks/node/src/resources/Invoices.ts b/sdks/node/src/resources/Invoices.ts index 152d453..939f8ac 100644 --- a/sdks/node/src/resources/Invoices.ts +++ b/sdks/node/src/resources/Invoices.ts @@ -13,20 +13,20 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/invoices + * @see https://docs.zoneless.com/invoices */ export class Invoices extends BaseResource { - /** @see https://zoneless.com/docs/invoices/create */ + /** @see https://docs.zoneless.com/invoices/create */ async create(params: CreateInvoiceInput): Promise { return this.client.Post('/invoices', params); } - /** @see https://zoneless.com/docs/invoices/update */ + /** @see https://docs.zoneless.com/invoices/update */ async update(id: string, params: UpdateInvoiceInput): Promise { return this.client.Post(`/invoices/${id}`, params); } - /** @see https://zoneless.com/docs/invoices/retrieve */ + /** @see https://docs.zoneless.com/invoices/retrieve */ async retrieve( id: string, params: RetrieveInvoiceInput = {} @@ -34,7 +34,7 @@ export class Invoices extends BaseResource { return this.client.Get(`/invoices/${id}`, params); } - /** @see https://zoneless.com/docs/invoices/list */ + /** @see https://docs.zoneless.com/invoices/list */ async list(params: ListInvoicesInput = {}): Promise> { return this.client.Get>( '/invoices', @@ -44,7 +44,7 @@ export class Invoices extends BaseResource { /** * Permanently deletes a one-off invoice draft. This cannot be undone. - * @see https://zoneless.com/docs/invoices/delete + * @see https://docs.zoneless.com/invoices/delete */ async del(id: string): Promise { return this.client.Delete(`/invoices/${id}`); @@ -52,7 +52,7 @@ export class Invoices extends BaseResource { /** * Finalize a draft invoice manually. - * @see https://zoneless.com/docs/invoices/finalize + * @see https://docs.zoneless.com/invoices/finalize */ async finalizeInvoice( id: string, @@ -63,7 +63,7 @@ export class Invoices extends BaseResource { /** * Mark an invoice as uncollectible. - * @see https://zoneless.com/docs/invoices/mark_uncollectible + * @see https://docs.zoneless.com/invoices/mark_uncollectible */ async markUncollectible( id: string, @@ -77,7 +77,7 @@ export class Invoices extends BaseResource { /** * Attempt payment on an invoice outside of the normal collection schedule. - * @see https://zoneless.com/docs/invoices/pay + * @see https://docs.zoneless.com/invoices/pay */ async pay(id: string, params: PayInvoiceInput = {}): Promise { return this.client.Post(`/invoices/${id}/pay`, params); @@ -85,7 +85,7 @@ export class Invoices extends BaseResource { /** * Mark a finalized invoice as void. This cannot be undone. - * @see https://zoneless.com/docs/invoices/void + * @see https://docs.zoneless.com/invoices/void */ async voidInvoice( id: string, diff --git a/sdks/node/src/resources/LoginLinks.ts b/sdks/node/src/resources/LoginLinks.ts index 75e912b..a98fffd 100644 --- a/sdks/node/src/resources/LoginLinks.ts +++ b/sdks/node/src/resources/LoginLinks.ts @@ -1,10 +1,10 @@ import { BaseResource } from './Base'; import { LoginLink } from '@zoneless/shared-types'; /** - * @see https://zoneless.com/docs/login-links + * @see https://docs.zoneless.com/login-links */ export class LoginLinks extends BaseResource { - /** @see https://zoneless.com/docs/login-links/create */ + /** @see https://docs.zoneless.com/login-links/create */ async create(account: string): Promise { return this.client.Post(`/accounts/${account}/login_links`, {}); } diff --git a/sdks/node/src/resources/PaymentIntents.ts b/sdks/node/src/resources/PaymentIntents.ts index c90f25e..adb6db5 100644 --- a/sdks/node/src/resources/PaymentIntents.ts +++ b/sdks/node/src/resources/PaymentIntents.ts @@ -15,15 +15,15 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/payment_intents + * @see https://docs.zoneless.com/payment_intents */ export class PaymentIntents extends BaseResource { - /** @see https://zoneless.com/docs/payment_intents/create */ + /** @see https://docs.zoneless.com/payment_intents/create */ async create(params: CreatePaymentIntentInput): Promise { return this.client.Post('/payment_intents', params); } - /** @see https://zoneless.com/docs/payment_intents/update */ + /** @see https://docs.zoneless.com/payment_intents/update */ async update( id: string, params: UpdatePaymentIntentInput @@ -31,7 +31,7 @@ export class PaymentIntents extends BaseResource { return this.client.Post(`/payment_intents/${id}`, params); } - /** @see https://zoneless.com/docs/payment_intents/retrieve */ + /** @see https://docs.zoneless.com/payment_intents/retrieve */ async retrieve( id: string, params: RetrievePaymentIntentInput = {} @@ -39,7 +39,7 @@ export class PaymentIntents extends BaseResource { return this.client.Get(`/payment_intents/${id}`, params); } - /** @see https://zoneless.com/docs/payment_intents/list */ + /** @see https://docs.zoneless.com/payment_intents/list */ async list( params: ListPaymentIntentsInput = {} ): Promise> { @@ -51,7 +51,7 @@ export class PaymentIntents extends BaseResource { /** * Lists amount_details line items for a PaymentIntent. - * @see https://zoneless.com/docs/payment_intents/amount_details_line_items + * @see https://docs.zoneless.com/payment_intents/amount_details_line_items */ async listAmountDetailsLineItems( id: string, @@ -65,7 +65,7 @@ export class PaymentIntents extends BaseResource { /** * Cancels a PaymentIntent. - * @see https://zoneless.com/docs/payment_intents/cancel + * @see https://docs.zoneless.com/payment_intents/cancel */ async cancel( id: string, diff --git a/sdks/node/src/resources/PaymentLinks.ts b/sdks/node/src/resources/PaymentLinks.ts index 9f6adbd..96d4100 100644 --- a/sdks/node/src/resources/PaymentLinks.ts +++ b/sdks/node/src/resources/PaymentLinks.ts @@ -12,15 +12,15 @@ import type { UpdatePaymentLinkInput, } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/payment_links + * @see https://docs.zoneless.com/payment_links */ export class PaymentLinks extends BaseResource { - /** @see https://zoneless.com/docs/payment_links/create */ + /** @see https://docs.zoneless.com/payment_links/create */ async create(params: CreatePaymentLinkInput): Promise { return this.client.Post('/payment_links', params); } - /** @see https://zoneless.com/docs/payment_links/update */ + /** @see https://docs.zoneless.com/payment_links/update */ async update( id: string, params: UpdatePaymentLinkInput @@ -28,7 +28,7 @@ export class PaymentLinks extends BaseResource { return this.client.Post(`/payment_links/${id}`, params); } - /** @see https://zoneless.com/docs/payment_links/retrieve */ + /** @see https://docs.zoneless.com/payment_links/retrieve */ async retrieve( id: string, params: RetrievePaymentLinkInput = {} @@ -36,7 +36,7 @@ export class PaymentLinks extends BaseResource { return this.client.Get(`/payment_links/${id}`, params); } - /** @see https://zoneless.com/docs/payment_links/list */ + /** @see https://docs.zoneless.com/payment_links/list */ async list( params: ListPaymentLinksInput = {} ): Promise> { @@ -50,7 +50,7 @@ export class PaymentLinks extends BaseResource { * When retrieving a payment link, you can optionally retrieve information * about the line items with `expand[]=line_items`. You can also retrieve * them separately with this method. - * @see https://zoneless.com/docs/payment_links/line_items + * @see https://docs.zoneless.com/payment_links/line_items */ async listLineItems( id: string, diff --git a/sdks/node/src/resources/Payouts.ts b/sdks/node/src/resources/Payouts.ts index 60db0a0..b0beac3 100644 --- a/sdks/node/src/resources/Payouts.ts +++ b/sdks/node/src/resources/Payouts.ts @@ -19,10 +19,10 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/payouts + * @see https://docs.zoneless.com/payouts */ export class Payouts extends BaseResource { - /** @see https://zoneless.com/docs/payouts/create */ + /** @see https://docs.zoneless.com/payouts/create */ async create( params: CreatePayoutInput, options?: RequestExtraOptions @@ -30,12 +30,12 @@ export class Payouts extends BaseResource { return this.client.Post('/payouts', params, options); } - /** @see https://zoneless.com/docs/payouts/retrieve */ + /** @see https://docs.zoneless.com/payouts/retrieve */ async retrieve(id: string, options?: RequestExtraOptions): Promise { return this.client.Get(`/payouts/${id}`, undefined, options); } - /** @see https://zoneless.com/docs/payouts/update */ + /** @see https://docs.zoneless.com/payouts/update */ async update( id: string, params: UpdatePayoutInput, @@ -44,7 +44,7 @@ export class Payouts extends BaseResource { return this.client.Post(`/payouts/${id}`, params, options); } - /** @see https://zoneless.com/docs/payouts/list */ + /** @see https://docs.zoneless.com/payouts/list */ async list( params: ListPayoutsInput = {}, options?: RequestExtraOptions @@ -53,7 +53,7 @@ export class Payouts extends BaseResource { return this.client.Get>('/payouts', query, options); } - /** @see https://zoneless.com/docs/payouts/cancel */ + /** @see https://docs.zoneless.com/payouts/cancel */ async cancel(id: string, options?: RequestExtraOptions): Promise { return this.client.Post(`/payouts/${id}/cancel`, {}, options); } @@ -74,7 +74,7 @@ export class Payouts extends BaseResource { * console.log(buildResult.unsigned_transaction); // Base64 transaction * ``` * - * @see https://zoneless.com/docs/payouts/build + * @see https://docs.zoneless.com/payouts/build */ async build( params: BuildPayoutsBatchInput, @@ -104,7 +104,7 @@ export class Payouts extends BaseResource { * console.log(result.signature); // Solana transaction signature * ``` * - * @see https://zoneless.com/docs/payouts/broadcast + * @see https://docs.zoneless.com/payouts/broadcast */ async broadcast( params: BroadcastPayoutsBatchInput, @@ -144,7 +144,7 @@ export class Payouts extends BaseResource { * } * ``` * - * @see https://zoneless.com/docs/payouts/process-batch + * @see https://docs.zoneless.com/payouts/process-batch */ async processBatch( secretKey: string, @@ -226,7 +226,7 @@ export class Payouts extends BaseResource { * console.log(`Processed ${totalProcessed} payouts in ${results.length} batches`); * ``` * - * @see https://zoneless.com/docs/payouts/process-all + * @see https://docs.zoneless.com/payouts/process-all */ async processAll( secretKey: string, @@ -278,7 +278,7 @@ export class Payouts extends BaseResource { * }); * ``` * - * @see https://zoneless.com/docs/payouts/sign + * @see https://docs.zoneless.com/payouts/sign */ sign(unsignedTransaction: string, secretKey: string): string { return this.SignTransaction(unsignedTransaction, secretKey); diff --git a/sdks/node/src/resources/Persons.ts b/sdks/node/src/resources/Persons.ts index 11f8ae5..8c298d0 100644 --- a/sdks/node/src/resources/Persons.ts +++ b/sdks/node/src/resources/Persons.ts @@ -8,10 +8,10 @@ import type { /** * Persons API resource. * Persons represent individuals associated with an account's legal entity. - * @see https://zoneless.com/docs/persons + * @see https://docs.zoneless.com/persons */ export class Persons extends BaseResource { - /** @see https://zoneless.com/docs/persons/create */ + /** @see https://docs.zoneless.com/persons/create */ async create( accountId: string, params: CreatePersonInput = {} @@ -19,14 +19,14 @@ export class Persons extends BaseResource { return this.client.Post(`/accounts/${accountId}/persons`, params); } - /** @see https://zoneless.com/docs/persons/retrieve */ + /** @see https://docs.zoneless.com/persons/retrieve */ async retrieve(accountId: string, personId: string): Promise { return this.client.Get( `/accounts/${accountId}/persons/${personId}` ); } - /** @see https://zoneless.com/docs/persons/update */ + /** @see https://docs.zoneless.com/persons/update */ async update( accountId: string, personId: string, @@ -38,14 +38,14 @@ export class Persons extends BaseResource { ); } - /** @see https://zoneless.com/docs/persons/delete */ + /** @see https://docs.zoneless.com/persons/delete */ async del(accountId: string, personId: string): Promise { return this.client.Delete( `/accounts/${accountId}/persons/${personId}` ); } - /** @see https://zoneless.com/docs/persons/list */ + /** @see https://docs.zoneless.com/persons/list */ async list( accountId: string, params: ListPersonsInput = {} diff --git a/sdks/node/src/resources/Prices.ts b/sdks/node/src/resources/Prices.ts index 77beb2e..ea98f0c 100644 --- a/sdks/node/src/resources/Prices.ts +++ b/sdks/node/src/resources/Prices.ts @@ -9,25 +9,25 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/prices + * @see https://docs.zoneless.com/prices */ export class Prices extends BaseResource { - /** @see https://zoneless.com/docs/prices/create */ + /** @see https://docs.zoneless.com/prices/create */ async create(params: CreatePriceInput): Promise { return this.client.Post('/prices', params); } - /** @see https://zoneless.com/docs/prices/update */ + /** @see https://docs.zoneless.com/prices/update */ async update(id: string, params: UpdatePriceInput): Promise { return this.client.Post(`/prices/${id}`, params); } - /** @see https://zoneless.com/docs/prices/retrieve */ + /** @see https://docs.zoneless.com/prices/retrieve */ async retrieve(id: string, params: RetrievePriceInput = {}): Promise { return this.client.Get(`/prices/${id}`, params); } - /** @see https://zoneless.com/docs/prices/list */ + /** @see https://docs.zoneless.com/prices/list */ async list(params: ListPricesInput = {}): Promise> { const query: ListQuery = { limit: params.limit, diff --git a/sdks/node/src/resources/Products.ts b/sdks/node/src/resources/Products.ts index 8f58988..6d6bbfd 100644 --- a/sdks/node/src/resources/Products.ts +++ b/sdks/node/src/resources/Products.ts @@ -9,20 +9,20 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/products + * @see https://docs.zoneless.com/products */ export class Products extends BaseResource { - /** @see https://zoneless.com/docs/products/create */ + /** @see https://docs.zoneless.com/products/create */ async create(params: CreateProductInput): Promise { return this.client.Post('/products', params); } - /** @see https://zoneless.com/docs/products/update */ + /** @see https://docs.zoneless.com/products/update */ async update(id: string, params: UpdateProductInput): Promise { return this.client.Post(`/products/${id}`, params); } - /** @see https://zoneless.com/docs/products/retrieve */ + /** @see https://docs.zoneless.com/products/retrieve */ async retrieve( id: string, params: RetrieveProductInput = {} @@ -30,12 +30,12 @@ export class Products extends BaseResource { return this.client.Get(`/products/${id}`, params); } - /** @see https://zoneless.com/docs/products/delete */ + /** @see https://docs.zoneless.com/products/delete */ async del(id: string): Promise { return this.client.Delete(`/products/${id}`); } - /** @see https://zoneless.com/docs/products/list */ + /** @see https://docs.zoneless.com/products/list */ async list(params: ListProductsInput = {}): Promise> { const query: ListQuery = { limit: params.limit, diff --git a/sdks/node/src/resources/SubscriptionItems.ts b/sdks/node/src/resources/SubscriptionItems.ts index 7572539..9311bb8 100644 --- a/sdks/node/src/resources/SubscriptionItems.ts +++ b/sdks/node/src/resources/SubscriptionItems.ts @@ -13,15 +13,15 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/subscriptionitems + * @see https://docs.zoneless.com/subscriptionitems */ export class SubscriptionItems extends BaseResource { - /** @see https://zoneless.com/docs/subscriptionitems/create */ + /** @see https://docs.zoneless.com/subscriptionitems/create */ async create(params: CreateSubscriptionItemInput): Promise { return this.client.Post('/subscription_items', params); } - /** @see https://zoneless.com/docs/subscriptionitems/update */ + /** @see https://docs.zoneless.com/subscriptionitems/update */ async update( id: string, params: UpdateSubscriptionItemInput @@ -32,7 +32,7 @@ export class SubscriptionItems extends BaseResource { ); } - /** @see https://zoneless.com/docs/subscriptionitems/retrieve */ + /** @see https://docs.zoneless.com/subscriptionitems/retrieve */ async retrieve( id: string, params: RetrieveSubscriptionItemInput = {} @@ -43,7 +43,7 @@ export class SubscriptionItems extends BaseResource { ); } - /** @see https://zoneless.com/docs/subscriptionitems/list */ + /** @see https://docs.zoneless.com/subscriptionitems/list */ async list( params: ListSubscriptionItemsInput ): Promise> { @@ -55,7 +55,7 @@ export class SubscriptionItems extends BaseResource { /** * Deletes a subscription item. - * @see https://zoneless.com/docs/subscriptionitems/delete + * @see https://docs.zoneless.com/subscriptionitems/delete */ async del( id: string, diff --git a/sdks/node/src/resources/Subscriptions.ts b/sdks/node/src/resources/Subscriptions.ts index 550d939..4a0a0c8 100644 --- a/sdks/node/src/resources/Subscriptions.ts +++ b/sdks/node/src/resources/Subscriptions.ts @@ -12,15 +12,15 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/subscriptions + * @see https://docs.zoneless.com/subscriptions */ export class Subscriptions extends BaseResource { - /** @see https://zoneless.com/docs/subscriptions/create */ + /** @see https://docs.zoneless.com/subscriptions/create */ async create(params: CreateSubscriptionInput): Promise { return this.client.Post('/subscriptions', params); } - /** @see https://zoneless.com/docs/subscriptions/update */ + /** @see https://docs.zoneless.com/subscriptions/update */ async update( id: string, params: UpdateSubscriptionInput @@ -28,7 +28,7 @@ export class Subscriptions extends BaseResource { return this.client.Post(`/subscriptions/${id}`, params); } - /** @see https://zoneless.com/docs/subscriptions/retrieve */ + /** @see https://docs.zoneless.com/subscriptions/retrieve */ async retrieve( id: string, params: RetrieveSubscriptionInput = {} @@ -36,7 +36,7 @@ export class Subscriptions extends BaseResource { return this.client.Get(`/subscriptions/${id}`, params); } - /** @see https://zoneless.com/docs/subscriptions/list */ + /** @see https://docs.zoneless.com/subscriptions/list */ async list( params: ListSubscriptionsInput = {} ): Promise> { @@ -48,7 +48,7 @@ export class Subscriptions extends BaseResource { /** * Cancels a customer's subscription immediately. - * @see https://zoneless.com/docs/subscriptions/cancel + * @see https://docs.zoneless.com/subscriptions/cancel */ async cancel( id: string, @@ -59,7 +59,7 @@ export class Subscriptions extends BaseResource { /** * Upgrades the `billing_mode` of an existing subscription to `flexible`. - * @see https://zoneless.com/docs/subscriptions/migrate + * @see https://docs.zoneless.com/subscriptions/migrate */ async migrate( id: string, @@ -73,7 +73,7 @@ export class Subscriptions extends BaseResource { /** * Resumes a paused subscription. - * @see https://zoneless.com/docs/subscriptions/resume + * @see https://docs.zoneless.com/subscriptions/resume */ async resume( id: string, diff --git a/sdks/node/src/resources/TopUps.ts b/sdks/node/src/resources/TopUps.ts index df2b7a2..938c906 100644 --- a/sdks/node/src/resources/TopUps.ts +++ b/sdks/node/src/resources/TopUps.ts @@ -12,36 +12,36 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/topups + * @see https://docs.zoneless.com/topups */ export class TopUps extends BaseResource { - /** @see https://zoneless.com/docs/topups/create */ + /** @see https://docs.zoneless.com/topups/create */ async create(params: CreateTopUpInput): Promise { return this.client.Post('/topups', params); } - /** @see https://zoneless.com/docs/topups/retrieve */ + /** @see https://docs.zoneless.com/topups/retrieve */ async retrieve(id: string): Promise { return this.client.Get(`/topups/${id}`); } - /** @see https://zoneless.com/docs/topups/update */ + /** @see https://docs.zoneless.com/topups/update */ async update(id: string, params: UpdateTopUpInput): Promise { return this.client.Post(`/topups/${id}`, params); } - /** @see https://zoneless.com/docs/topups/list */ + /** @see https://docs.zoneless.com/topups/list */ async list(params: ListTopUpsInput = {}): Promise> { const query = this.BuildQuery(params); return this.client.Get>('/topups', query); } - /** @see https://zoneless.com/docs/topups/cancel */ + /** @see https://docs.zoneless.com/topups/cancel */ async cancel(id: string): Promise { return this.client.Post(`/topups/${id}/cancel`, {}); } - /** @see https://zoneless.com/docs/topups/check-deposits */ + /** @see https://docs.zoneless.com/topups/check-deposits */ async checkDeposits(): Promise { return this.client.Post( '/topups/check-deposits', diff --git a/sdks/node/src/resources/Transfers.ts b/sdks/node/src/resources/Transfers.ts index bb2a00e..d8a17e0 100644 --- a/sdks/node/src/resources/Transfers.ts +++ b/sdks/node/src/resources/Transfers.ts @@ -9,10 +9,10 @@ import type { } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/transfers + * @see https://docs.zoneless.com/transfers */ export class Transfers extends BaseResource { - /** @see https://zoneless.com/docs/transfers/create */ + /** @see https://docs.zoneless.com/transfers/create */ async create( params: CreateTransferInput, options?: RequestExtraOptions @@ -20,12 +20,12 @@ export class Transfers extends BaseResource { return this.client.Post('/transfers', params, options); } - /** @see https://zoneless.com/docs/transfers/retrieve */ + /** @see https://docs.zoneless.com/transfers/retrieve */ async retrieve(id: string, options?: RequestExtraOptions): Promise { return this.client.Get(`/transfers/${id}`, undefined, options); } - /** @see https://zoneless.com/docs/transfers/update */ + /** @see https://docs.zoneless.com/transfers/update */ async update( id: string, params: UpdateTransferInput, @@ -34,7 +34,7 @@ export class Transfers extends BaseResource { return this.client.Post(`/transfers/${id}`, params, options); } - /** @see https://zoneless.com/docs/transfers/list */ + /** @see https://docs.zoneless.com/transfers/list */ async list( params: ListTransfersInput = {}, options?: RequestExtraOptions diff --git a/sdks/node/src/resources/WebhookEndpoints.ts b/sdks/node/src/resources/WebhookEndpoints.ts index 63f8655..c0d3a16 100644 --- a/sdks/node/src/resources/WebhookEndpoints.ts +++ b/sdks/node/src/resources/WebhookEndpoints.ts @@ -10,20 +10,20 @@ import type { ListWebhookEndpointsInput, } from '../generated/Inputs'; /** - * @see https://zoneless.com/docs/webhook-endpoints + * @see https://docs.zoneless.com/webhook-endpoints */ export class WebhookEndpoints extends BaseResource { - /** @see https://zoneless.com/docs/webhook-endpoints/create */ + /** @see https://docs.zoneless.com/webhook-endpoints/create */ async create(params: CreateWebhookEndpointInput): Promise { return this.client.Post('/webhook_endpoints', params); } - /** @see https://zoneless.com/docs/webhook-endpoints/retrieve */ + /** @see https://docs.zoneless.com/webhook-endpoints/retrieve */ async retrieve(id: string): Promise { return this.client.Get(`/webhook_endpoints/${id}`); } - /** @see https://zoneless.com/docs/webhook-endpoints/update */ + /** @see https://docs.zoneless.com/webhook-endpoints/update */ async update( id: string, params: UpdateWebhookEndpointInput @@ -34,14 +34,14 @@ export class WebhookEndpoints extends BaseResource { ); } - /** @see https://zoneless.com/docs/webhook-endpoints/delete */ + /** @see https://docs.zoneless.com/webhook-endpoints/delete */ async del(id: string): Promise { return this.client.Delete( `/webhook_endpoints/${id}` ); } - /** @see https://zoneless.com/docs/webhook-endpoints/list */ + /** @see https://docs.zoneless.com/webhook-endpoints/list */ async list( params: ListWebhookEndpointsInput = {} ): Promise> {