@lightsparkdev/grid 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.DS_Store +0 -0
- package/CHANGELOG.md +85 -0
- package/LICENSE +201 -0
- package/README.md +516 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +302 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +302 -0
- package/client.d.ts.map +1 -0
- package/client.js +588 -0
- package/client.js.map +1 -0
- package/client.mjs +584 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +2055 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +2055 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +857 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +787 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +58 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +58 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +109 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +103 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +7 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +7 -0
- package/index.d.ts.map +1 -0
- package/index.js +86 -0
- package/index.js.map +1 -0
- package/index.mjs +8 -0
- package/index.mjs.map +1 -0
- package/internal/.DS_Store +0 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +86 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +80 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +147 -0
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/.DS_Store +0 -0
- package/resources/config.d.mts +130 -0
- package/resources/config.d.mts.map +1 -0
- package/resources/config.d.ts +130 -0
- package/resources/config.d.ts.map +1 -0
- package/resources/config.js +47 -0
- package/resources/config.js.map +1 -0
- package/resources/config.mjs +43 -0
- package/resources/config.mjs.map +1 -0
- package/resources/customers/bulk.d.mts +170 -0
- package/resources/customers/bulk.d.mts.map +1 -0
- package/resources/customers/bulk.d.ts +170 -0
- package/resources/customers/bulk.d.ts.map +1 -0
- package/resources/customers/bulk.js +103 -0
- package/resources/customers/bulk.js.map +1 -0
- package/resources/customers/bulk.mjs +99 -0
- package/resources/customers/bulk.mjs.map +1 -0
- package/resources/customers/customers.d.mts +1238 -0
- package/resources/customers/customers.d.mts.map +1 -0
- package/resources/customers/customers.d.ts +1238 -0
- package/resources/customers/customers.d.ts.map +1 -0
- package/resources/customers/customers.js +130 -0
- package/resources/customers/customers.js.map +1 -0
- package/resources/customers/customers.mjs +125 -0
- package/resources/customers/customers.mjs.map +1 -0
- package/resources/customers/external-accounts.d.mts +461 -0
- package/resources/customers/external-accounts.d.mts.map +1 -0
- package/resources/customers/external-accounts.d.ts +461 -0
- package/resources/customers/external-accounts.d.ts.map +1 -0
- package/resources/customers/external-accounts.js +83 -0
- package/resources/customers/external-accounts.js.map +1 -0
- package/resources/customers/external-accounts.mjs +79 -0
- package/resources/customers/external-accounts.mjs.map +1 -0
- package/resources/customers/index.d.mts +4 -0
- package/resources/customers/index.d.mts.map +1 -0
- package/resources/customers/index.d.ts +4 -0
- package/resources/customers/index.d.ts.map +1 -0
- package/resources/customers/index.js +11 -0
- package/resources/customers/index.js.map +1 -0
- package/resources/customers/index.mjs +5 -0
- package/resources/customers/index.mjs.map +1 -0
- package/resources/customers.d.mts +2 -0
- package/resources/customers.d.mts.map +1 -0
- package/resources/customers.d.ts +2 -0
- package/resources/customers.d.ts.map +1 -0
- package/resources/customers.js +6 -0
- package/resources/customers.js.map +1 -0
- package/resources/customers.mjs +3 -0
- package/resources/customers.mjs.map +1 -0
- package/resources/exchange-rates.d.mts +101 -0
- package/resources/exchange-rates.d.mts.map +1 -0
- package/resources/exchange-rates.d.ts +101 -0
- package/resources/exchange-rates.d.ts.map +1 -0
- package/resources/exchange-rates.js +23 -0
- package/resources/exchange-rates.js.map +1 -0
- package/resources/exchange-rates.mjs +19 -0
- package/resources/exchange-rates.mjs.map +1 -0
- package/resources/index.d.mts +16 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +16 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +35 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +17 -0
- package/resources/index.mjs.map +1 -0
- package/resources/invitations.d.mts +166 -0
- package/resources/invitations.d.mts.map +1 -0
- package/resources/invitations.d.ts +166 -0
- package/resources/invitations.d.ts.map +1 -0
- package/resources/invitations.js +83 -0
- package/resources/invitations.js.map +1 -0
- package/resources/invitations.mjs +79 -0
- package/resources/invitations.mjs.map +1 -0
- package/resources/plaid.d.mts +101 -0
- package/resources/plaid.d.mts.map +1 -0
- package/resources/plaid.d.ts +101 -0
- package/resources/plaid.d.ts.map +1 -0
- package/resources/plaid.js +64 -0
- package/resources/plaid.js.map +1 -0
- package/resources/plaid.mjs +60 -0
- package/resources/plaid.mjs.map +1 -0
- package/resources/platform/external-accounts.d.mts +111 -0
- package/resources/platform/external-accounts.d.mts.map +1 -0
- package/resources/platform/external-accounts.d.ts +111 -0
- package/resources/platform/external-accounts.d.ts.map +1 -0
- package/resources/platform/external-accounts.js +74 -0
- package/resources/platform/external-accounts.js.map +1 -0
- package/resources/platform/external-accounts.mjs +70 -0
- package/resources/platform/external-accounts.mjs.map +1 -0
- package/resources/platform/index.d.mts +3 -0
- package/resources/platform/index.d.mts.map +1 -0
- package/resources/platform/index.d.ts +3 -0
- package/resources/platform/index.d.ts.map +1 -0
- package/resources/platform/index.js +9 -0
- package/resources/platform/index.js.map +1 -0
- package/resources/platform/index.mjs +4 -0
- package/resources/platform/index.mjs.map +1 -0
- package/resources/platform/platform.d.mts +41 -0
- package/resources/platform/platform.d.mts.map +1 -0
- package/resources/platform/platform.d.ts +41 -0
- package/resources/platform/platform.d.ts.map +1 -0
- package/resources/platform/platform.js +34 -0
- package/resources/platform/platform.js.map +1 -0
- package/resources/platform/platform.mjs +29 -0
- package/resources/platform/platform.mjs.map +1 -0
- package/resources/platform.d.mts +2 -0
- package/resources/platform.d.mts.map +1 -0
- package/resources/platform.d.ts +2 -0
- package/resources/platform.d.ts.map +1 -0
- package/resources/platform.js +6 -0
- package/resources/platform.js.map +1 -0
- package/resources/platform.mjs +3 -0
- package/resources/platform.mjs.map +1 -0
- package/resources/quotes.d.mts +580 -0
- package/resources/quotes.d.mts.map +1 -0
- package/resources/quotes.d.ts +580 -0
- package/resources/quotes.d.ts.map +1 -0
- package/resources/quotes.js +122 -0
- package/resources/quotes.js.map +1 -0
- package/resources/quotes.mjs +118 -0
- package/resources/quotes.mjs.map +1 -0
- package/resources/receiver.d.mts +100 -0
- package/resources/receiver.d.mts.map +1 -0
- package/resources/receiver.d.ts +100 -0
- package/resources/receiver.d.ts.map +1 -0
- package/resources/receiver.js +27 -0
- package/resources/receiver.js.map +1 -0
- package/resources/receiver.mjs +23 -0
- package/resources/receiver.mjs.map +1 -0
- package/resources/sandbox/index.d.mts +4 -0
- package/resources/sandbox/index.d.mts.map +1 -0
- package/resources/sandbox/index.d.ts +4 -0
- package/resources/sandbox/index.d.ts.map +1 -0
- package/resources/sandbox/index.js +11 -0
- package/resources/sandbox/index.js.map +1 -0
- package/resources/sandbox/index.mjs +5 -0
- package/resources/sandbox/index.mjs.map +1 -0
- package/resources/sandbox/internal-accounts.d.mts +61 -0
- package/resources/sandbox/internal-accounts.d.mts.map +1 -0
- package/resources/sandbox/internal-accounts.d.ts +61 -0
- package/resources/sandbox/internal-accounts.d.ts.map +1 -0
- package/resources/sandbox/internal-accounts.js +29 -0
- package/resources/sandbox/internal-accounts.js.map +1 -0
- package/resources/sandbox/internal-accounts.mjs +25 -0
- package/resources/sandbox/internal-accounts.mjs.map +1 -0
- package/resources/sandbox/sandbox.d.mts +116 -0
- package/resources/sandbox/sandbox.d.mts.map +1 -0
- package/resources/sandbox/sandbox.d.ts +116 -0
- package/resources/sandbox/sandbox.d.ts.map +1 -0
- package/resources/sandbox/sandbox.js +37 -0
- package/resources/sandbox/sandbox.js.map +1 -0
- package/resources/sandbox/sandbox.mjs +32 -0
- package/resources/sandbox/sandbox.mjs.map +1 -0
- package/resources/sandbox/uma.d.mts +48 -0
- package/resources/sandbox/uma.d.mts.map +1 -0
- package/resources/sandbox/uma.d.ts +48 -0
- package/resources/sandbox/uma.d.ts.map +1 -0
- package/resources/sandbox/uma.js +27 -0
- package/resources/sandbox/uma.js.map +1 -0
- package/resources/sandbox/uma.mjs +23 -0
- package/resources/sandbox/uma.mjs.map +1 -0
- package/resources/sandbox.d.mts +2 -0
- package/resources/sandbox.d.mts.map +1 -0
- package/resources/sandbox.d.ts +2 -0
- package/resources/sandbox.d.ts.map +1 -0
- package/resources/sandbox.js +6 -0
- package/resources/sandbox.js.map +1 -0
- package/resources/sandbox.mjs +3 -0
- package/resources/sandbox.mjs.map +1 -0
- package/resources/tokens.d.mts +131 -0
- package/resources/tokens.d.mts.map +1 -0
- package/resources/tokens.d.ts +131 -0
- package/resources/tokens.d.ts.map +1 -0
- package/resources/tokens.js +67 -0
- package/resources/tokens.js.map +1 -0
- package/resources/tokens.mjs +63 -0
- package/resources/tokens.mjs.map +1 -0
- package/resources/transactions.d.mts +226 -0
- package/resources/transactions.d.mts.map +1 -0
- package/resources/transactions.d.ts +226 -0
- package/resources/transactions.d.ts.map +1 -0
- package/resources/transactions.js +71 -0
- package/resources/transactions.js.map +1 -0
- package/resources/transactions.mjs +67 -0
- package/resources/transactions.mjs.map +1 -0
- package/resources/transfer-in.d.mts +154 -0
- package/resources/transfer-in.d.mts.map +1 -0
- package/resources/transfer-in.d.ts +154 -0
- package/resources/transfer-in.d.ts.map +1 -0
- package/resources/transfer-in.js +42 -0
- package/resources/transfer-in.js.map +1 -0
- package/resources/transfer-in.mjs +38 -0
- package/resources/transfer-in.mjs.map +1 -0
- package/resources/transfer-out.d.mts +70 -0
- package/resources/transfer-out.d.mts.map +1 -0
- package/resources/transfer-out.d.ts +70 -0
- package/resources/transfer-out.d.ts.map +1 -0
- package/resources/transfer-out.js +40 -0
- package/resources/transfer-out.js.map +1 -0
- package/resources/transfer-out.mjs +36 -0
- package/resources/transfer-out.mjs.map +1 -0
- package/resources/uma-providers.d.mts +70 -0
- package/resources/uma-providers.d.mts.map +1 -0
- package/resources/uma-providers.d.ts +70 -0
- package/resources/uma-providers.d.ts.map +1 -0
- package/resources/uma-providers.js +21 -0
- package/resources/uma-providers.js.map +1 -0
- package/resources/uma-providers.mjs +17 -0
- package/resources/uma-providers.mjs.map +1 -0
- package/resources/webhooks.d.mts +27 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +27 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +15 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +11 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/.DS_Store +0 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +1111 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +2936 -0
- package/src/core/pagination.ts +173 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +76 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +56 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +127 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/lib/.keep +4 -0
- package/src/pagination.ts +2 -0
- package/src/resource.ts +2 -0
- package/src/resources/config.ts +178 -0
- package/src/resources/customers/bulk.ts +201 -0
- package/src/resources/customers/customers.ts +1687 -0
- package/src/resources/customers/external-accounts.ts +630 -0
- package/src/resources/customers/index.ts +51 -0
- package/src/resources/customers.ts +3 -0
- package/src/resources/exchange-rates.ts +127 -0
- package/src/resources/index.ts +104 -0
- package/src/resources/invitations.ts +207 -0
- package/src/resources/plaid.ts +128 -0
- package/src/resources/platform/external-accounts.ts +136 -0
- package/src/resources/platform/index.ts +13 -0
- package/src/resources/platform/platform.ts +70 -0
- package/src/resources/platform.ts +3 -0
- package/src/resources/quotes.ts +726 -0
- package/src/resources/receiver.ts +139 -0
- package/src/resources/sandbox/index.ts +10 -0
- package/src/resources/sandbox/internal-accounts.ts +82 -0
- package/src/resources/sandbox/sandbox.ts +159 -0
- package/src/resources/sandbox/uma.ts +61 -0
- package/src/resources/sandbox.ts +3 -0
- package/src/resources/tokens.ts +176 -0
- package/src/resources/transactions.ts +312 -0
- package/src/resources/transfer-in.ts +193 -0
- package/src/resources/transfer-out.ts +90 -0
- package/src/resources/uma-providers.ts +98 -0
- package/src/resources/webhooks.ts +35 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
package/client.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAAgB,KAAK,uBAAuB,EAAE,yBAAyB,EAAE;OACzE,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EACL,MAAM,EACN,kBAAkB,EAClB,qBAAqB,EACrB,cAAc,EACd,sBAAsB,EACvB;OACM,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,aAAa,EAAE;OACnE,EACL,cAAc,EACd,qBAAqB,EACrB,sBAAsB,EACtB,WAAW,EACX,aAAa,EACd;OACM,EACL,KAAK,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,4BAA4B,EAC7B;OACM,EACL,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,QAAQ,EACR,mBAAmB,EACnB,mBAAmB,EACnB,KAAK,EACL,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,MAAM,EACN,uBAAuB,EACxB;OACM,EACL,2BAA2B,EAC3B,cAAc,EACd,QAAQ,EACR,mCAAmC,EACnC,qCAAqC,EACrC,uBAAuB,EACvB,yBAAyB,EAC1B;OACM,EACL,QAAQ,EACR,0BAA0B,EAC1B,UAAU,EACV,iBAAiB,EACj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OAAO,EAAE,QAAQ,IAAI,QAAQ,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;IAEzF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
package/client.js
ADDED
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
var _LightsparkGrid_instances, _a, _LightsparkGrid_encoder, _LightsparkGrid_baseURLOverridden;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.LightsparkGrid = void 0;
|
|
6
|
+
const tslib_1 = require("./internal/tslib.js");
|
|
7
|
+
const uuid_1 = require("./internal/utils/uuid.js");
|
|
8
|
+
const values_1 = require("./internal/utils/values.js");
|
|
9
|
+
const sleep_1 = require("./internal/utils/sleep.js");
|
|
10
|
+
const errors_1 = require("./internal/errors.js");
|
|
11
|
+
const detect_platform_1 = require("./internal/detect-platform.js");
|
|
12
|
+
const Shims = tslib_1.__importStar(require("./internal/shims.js"));
|
|
13
|
+
const Opts = tslib_1.__importStar(require("./internal/request-options.js"));
|
|
14
|
+
const qs = tslib_1.__importStar(require("./internal/qs/index.js"));
|
|
15
|
+
const version_1 = require("./version.js");
|
|
16
|
+
const Errors = tslib_1.__importStar(require("./core/error.js"));
|
|
17
|
+
const Pagination = tslib_1.__importStar(require("./core/pagination.js"));
|
|
18
|
+
const Uploads = tslib_1.__importStar(require("./core/uploads.js"));
|
|
19
|
+
const API = tslib_1.__importStar(require("./resources/index.js"));
|
|
20
|
+
const api_promise_1 = require("./core/api-promise.js");
|
|
21
|
+
const config_1 = require("./resources/config.js");
|
|
22
|
+
const exchange_rates_1 = require("./resources/exchange-rates.js");
|
|
23
|
+
const invitations_1 = require("./resources/invitations.js");
|
|
24
|
+
const plaid_1 = require("./resources/plaid.js");
|
|
25
|
+
const quotes_1 = require("./resources/quotes.js");
|
|
26
|
+
const receiver_1 = require("./resources/receiver.js");
|
|
27
|
+
const tokens_1 = require("./resources/tokens.js");
|
|
28
|
+
const transactions_1 = require("./resources/transactions.js");
|
|
29
|
+
const transfer_in_1 = require("./resources/transfer-in.js");
|
|
30
|
+
const transfer_out_1 = require("./resources/transfer-out.js");
|
|
31
|
+
const uma_providers_1 = require("./resources/uma-providers.js");
|
|
32
|
+
const webhooks_1 = require("./resources/webhooks.js");
|
|
33
|
+
const customers_1 = require("./resources/customers/customers.js");
|
|
34
|
+
const platform_1 = require("./resources/platform/platform.js");
|
|
35
|
+
const sandbox_1 = require("./resources/sandbox/sandbox.js");
|
|
36
|
+
const headers_1 = require("./internal/headers.js");
|
|
37
|
+
const base64_1 = require("./internal/utils/base64.js");
|
|
38
|
+
const env_1 = require("./internal/utils/env.js");
|
|
39
|
+
const log_1 = require("./internal/utils/log.js");
|
|
40
|
+
const values_2 = require("./internal/utils/values.js");
|
|
41
|
+
/**
|
|
42
|
+
* API Client for interfacing with the Lightspark Grid API.
|
|
43
|
+
*/
|
|
44
|
+
class LightsparkGrid {
|
|
45
|
+
/**
|
|
46
|
+
* API Client for interfacing with the Lightspark Grid API.
|
|
47
|
+
*
|
|
48
|
+
* @param {string | undefined} [opts.username=process.env['GRID_CLIENT_ID'] ?? undefined]
|
|
49
|
+
* @param {string | undefined} [opts.password=process.env['GRID_CLIENT_SECRET'] ?? undefined]
|
|
50
|
+
* @param {string | null | undefined} [opts.webhookSignature=process.env['GRID_WEBHOOK_PUBKEY'] ?? null]
|
|
51
|
+
* @param {string} [opts.baseURL=process.env['LIGHTSPARK_GRID_BASE_URL'] ?? https://api.lightspark.com/grid/2025-10-13] - Override the default base URL for the API.
|
|
52
|
+
* @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
|
|
53
|
+
* @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
|
|
54
|
+
* @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
|
|
55
|
+
* @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
|
|
56
|
+
* @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
|
|
57
|
+
* @param {Record<string, string | undefined>} opts.defaultQuery - Default query parameters to include with every request to the API.
|
|
58
|
+
*/
|
|
59
|
+
constructor({ baseURL = (0, env_1.readEnv)('LIGHTSPARK_GRID_BASE_URL'), username = (0, env_1.readEnv)('GRID_CLIENT_ID'), password = (0, env_1.readEnv)('GRID_CLIENT_SECRET'), webhookSignature = (0, env_1.readEnv)('GRID_WEBHOOK_PUBKEY') ?? null, ...opts } = {}) {
|
|
60
|
+
_LightsparkGrid_instances.add(this);
|
|
61
|
+
_LightsparkGrid_encoder.set(this, void 0);
|
|
62
|
+
this.config = new API.Config(this);
|
|
63
|
+
this.customers = new API.Customers(this);
|
|
64
|
+
this.platform = new API.Platform(this);
|
|
65
|
+
this.plaid = new API.Plaid(this);
|
|
66
|
+
this.transferIn = new API.TransferIn(this);
|
|
67
|
+
this.transferOut = new API.TransferOut(this);
|
|
68
|
+
this.receiver = new API.Receiver(this);
|
|
69
|
+
this.quotes = new API.Quotes(this);
|
|
70
|
+
this.transactions = new API.Transactions(this);
|
|
71
|
+
this.webhooks = new API.Webhooks(this);
|
|
72
|
+
this.invitations = new API.Invitations(this);
|
|
73
|
+
this.sandbox = new API.Sandbox(this);
|
|
74
|
+
this.umaProviders = new API.UmaProviders(this);
|
|
75
|
+
this.tokens = new API.Tokens(this);
|
|
76
|
+
this.exchangeRates = new API.ExchangeRates(this);
|
|
77
|
+
if (username === undefined) {
|
|
78
|
+
throw new Errors.LightsparkGridError("The GRID_CLIENT_ID environment variable is missing or empty; either provide it, or instantiate the LightsparkGrid client with an username option, like new LightsparkGrid({ username: 'My Username' }).");
|
|
79
|
+
}
|
|
80
|
+
if (password === undefined) {
|
|
81
|
+
throw new Errors.LightsparkGridError("The GRID_CLIENT_SECRET environment variable is missing or empty; either provide it, or instantiate the LightsparkGrid client with an password option, like new LightsparkGrid({ password: 'My Password' }).");
|
|
82
|
+
}
|
|
83
|
+
const options = {
|
|
84
|
+
username,
|
|
85
|
+
password,
|
|
86
|
+
webhookSignature,
|
|
87
|
+
...opts,
|
|
88
|
+
baseURL: baseURL || `https://api.lightspark.com/grid/2025-10-13`,
|
|
89
|
+
};
|
|
90
|
+
this.baseURL = options.baseURL;
|
|
91
|
+
this.timeout = options.timeout ?? _a.DEFAULT_TIMEOUT /* 1 minute */;
|
|
92
|
+
this.logger = options.logger ?? console;
|
|
93
|
+
const defaultLogLevel = 'warn';
|
|
94
|
+
// Set default logLevel early so that we can log a warning in parseLogLevel.
|
|
95
|
+
this.logLevel = defaultLogLevel;
|
|
96
|
+
this.logLevel =
|
|
97
|
+
(0, log_1.parseLogLevel)(options.logLevel, 'ClientOptions.logLevel', this) ??
|
|
98
|
+
(0, log_1.parseLogLevel)((0, env_1.readEnv)('LIGHTSPARK_GRID_LOG'), "process.env['LIGHTSPARK_GRID_LOG']", this) ??
|
|
99
|
+
defaultLogLevel;
|
|
100
|
+
this.fetchOptions = options.fetchOptions;
|
|
101
|
+
this.maxRetries = options.maxRetries ?? 2;
|
|
102
|
+
this.fetch = options.fetch ?? Shims.getDefaultFetch();
|
|
103
|
+
tslib_1.__classPrivateFieldSet(this, _LightsparkGrid_encoder, Opts.FallbackEncoder, "f");
|
|
104
|
+
this._options = options;
|
|
105
|
+
this.username = username;
|
|
106
|
+
this.password = password;
|
|
107
|
+
this.webhookSignature = webhookSignature;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Create a new client instance re-using the same options given to the current client with optional overriding.
|
|
111
|
+
*/
|
|
112
|
+
withOptions(options) {
|
|
113
|
+
const client = new this.constructor({
|
|
114
|
+
...this._options,
|
|
115
|
+
baseURL: this.baseURL,
|
|
116
|
+
maxRetries: this.maxRetries,
|
|
117
|
+
timeout: this.timeout,
|
|
118
|
+
logger: this.logger,
|
|
119
|
+
logLevel: this.logLevel,
|
|
120
|
+
fetch: this.fetch,
|
|
121
|
+
fetchOptions: this.fetchOptions,
|
|
122
|
+
username: this.username,
|
|
123
|
+
password: this.password,
|
|
124
|
+
webhookSignature: this.webhookSignature,
|
|
125
|
+
...options,
|
|
126
|
+
});
|
|
127
|
+
return client;
|
|
128
|
+
}
|
|
129
|
+
defaultQuery() {
|
|
130
|
+
return this._options.defaultQuery;
|
|
131
|
+
}
|
|
132
|
+
validateHeaders({ values, nulls }) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
async authHeaders(opts) {
|
|
136
|
+
return (0, headers_1.buildHeaders)([await this.basicAuth(opts), await this.webhookSignatureAuth(opts)]);
|
|
137
|
+
}
|
|
138
|
+
async basicAuth(opts) {
|
|
139
|
+
if (!this.username) {
|
|
140
|
+
return undefined;
|
|
141
|
+
}
|
|
142
|
+
if (!this.password) {
|
|
143
|
+
return undefined;
|
|
144
|
+
}
|
|
145
|
+
const credentials = `${this.username}:${this.password}`;
|
|
146
|
+
const Authorization = `Basic ${(0, base64_1.toBase64)(credentials)}`;
|
|
147
|
+
return (0, headers_1.buildHeaders)([{ Authorization }]);
|
|
148
|
+
}
|
|
149
|
+
async webhookSignatureAuth(opts) {
|
|
150
|
+
if (this.webhookSignature == null) {
|
|
151
|
+
return undefined;
|
|
152
|
+
}
|
|
153
|
+
return (0, headers_1.buildHeaders)([{ 'X-Grid-Signature': this.webhookSignature }]);
|
|
154
|
+
}
|
|
155
|
+
stringifyQuery(query) {
|
|
156
|
+
return qs.stringify(query, { arrayFormat: 'comma' });
|
|
157
|
+
}
|
|
158
|
+
getUserAgent() {
|
|
159
|
+
return `${this.constructor.name}/JS ${version_1.VERSION}`;
|
|
160
|
+
}
|
|
161
|
+
defaultIdempotencyKey() {
|
|
162
|
+
return `stainless-node-retry-${(0, uuid_1.uuid4)()}`;
|
|
163
|
+
}
|
|
164
|
+
makeStatusError(status, error, message, headers) {
|
|
165
|
+
return Errors.APIError.generate(status, error, message, headers);
|
|
166
|
+
}
|
|
167
|
+
buildURL(path, query, defaultBaseURL) {
|
|
168
|
+
const baseURL = (!tslib_1.__classPrivateFieldGet(this, _LightsparkGrid_instances, "m", _LightsparkGrid_baseURLOverridden).call(this) && defaultBaseURL) || this.baseURL;
|
|
169
|
+
const url = (0, values_1.isAbsoluteURL)(path) ?
|
|
170
|
+
new URL(path)
|
|
171
|
+
: new URL(baseURL + (baseURL.endsWith('/') && path.startsWith('/') ? path.slice(1) : path));
|
|
172
|
+
const defaultQuery = this.defaultQuery();
|
|
173
|
+
if (!(0, values_2.isEmptyObj)(defaultQuery)) {
|
|
174
|
+
query = { ...defaultQuery, ...query };
|
|
175
|
+
}
|
|
176
|
+
if (typeof query === 'object' && query && !Array.isArray(query)) {
|
|
177
|
+
url.search = this.stringifyQuery(query);
|
|
178
|
+
}
|
|
179
|
+
return url.toString();
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Used as a callback for mutating the given `FinalRequestOptions` object.
|
|
183
|
+
*/
|
|
184
|
+
async prepareOptions(options) { }
|
|
185
|
+
/**
|
|
186
|
+
* Used as a callback for mutating the given `RequestInit` object.
|
|
187
|
+
*
|
|
188
|
+
* This is useful for cases where you want to add certain headers based off of
|
|
189
|
+
* the request properties, e.g. `method` or `url`.
|
|
190
|
+
*/
|
|
191
|
+
async prepareRequest(request, { url, options }) { }
|
|
192
|
+
get(path, opts) {
|
|
193
|
+
return this.methodRequest('get', path, opts);
|
|
194
|
+
}
|
|
195
|
+
post(path, opts) {
|
|
196
|
+
return this.methodRequest('post', path, opts);
|
|
197
|
+
}
|
|
198
|
+
patch(path, opts) {
|
|
199
|
+
return this.methodRequest('patch', path, opts);
|
|
200
|
+
}
|
|
201
|
+
put(path, opts) {
|
|
202
|
+
return this.methodRequest('put', path, opts);
|
|
203
|
+
}
|
|
204
|
+
delete(path, opts) {
|
|
205
|
+
return this.methodRequest('delete', path, opts);
|
|
206
|
+
}
|
|
207
|
+
methodRequest(method, path, opts) {
|
|
208
|
+
return this.request(Promise.resolve(opts).then((opts) => {
|
|
209
|
+
return { method, path, ...opts };
|
|
210
|
+
}));
|
|
211
|
+
}
|
|
212
|
+
request(options, remainingRetries = null) {
|
|
213
|
+
return new api_promise_1.APIPromise(this, this.makeRequest(options, remainingRetries, undefined));
|
|
214
|
+
}
|
|
215
|
+
async makeRequest(optionsInput, retriesRemaining, retryOfRequestLogID) {
|
|
216
|
+
const options = await optionsInput;
|
|
217
|
+
const maxRetries = options.maxRetries ?? this.maxRetries;
|
|
218
|
+
if (retriesRemaining == null) {
|
|
219
|
+
retriesRemaining = maxRetries;
|
|
220
|
+
}
|
|
221
|
+
await this.prepareOptions(options);
|
|
222
|
+
const { req, url, timeout } = await this.buildRequest(options, {
|
|
223
|
+
retryCount: maxRetries - retriesRemaining,
|
|
224
|
+
});
|
|
225
|
+
await this.prepareRequest(req, { url, options });
|
|
226
|
+
/** Not an API request ID, just for correlating local log entries. */
|
|
227
|
+
const requestLogID = 'log_' + ((Math.random() * (1 << 24)) | 0).toString(16).padStart(6, '0');
|
|
228
|
+
const retryLogStr = retryOfRequestLogID === undefined ? '' : `, retryOf: ${retryOfRequestLogID}`;
|
|
229
|
+
const startTime = Date.now();
|
|
230
|
+
(0, log_1.loggerFor)(this).debug(`[${requestLogID}] sending request`, (0, log_1.formatRequestDetails)({
|
|
231
|
+
retryOfRequestLogID,
|
|
232
|
+
method: options.method,
|
|
233
|
+
url,
|
|
234
|
+
options,
|
|
235
|
+
headers: req.headers,
|
|
236
|
+
}));
|
|
237
|
+
if (options.signal?.aborted) {
|
|
238
|
+
throw new Errors.APIUserAbortError();
|
|
239
|
+
}
|
|
240
|
+
const controller = new AbortController();
|
|
241
|
+
const response = await this.fetchWithTimeout(url, req, timeout, controller).catch(errors_1.castToError);
|
|
242
|
+
const headersTime = Date.now();
|
|
243
|
+
if (response instanceof globalThis.Error) {
|
|
244
|
+
const retryMessage = `retrying, ${retriesRemaining} attempts remaining`;
|
|
245
|
+
if (options.signal?.aborted) {
|
|
246
|
+
throw new Errors.APIUserAbortError();
|
|
247
|
+
}
|
|
248
|
+
// detect native connection timeout errors
|
|
249
|
+
// deno throws "TypeError: error sending request for url (https://example/): client error (Connect): tcp connect error: Operation timed out (os error 60): Operation timed out (os error 60)"
|
|
250
|
+
// undici throws "TypeError: fetch failed" with cause "ConnectTimeoutError: Connect Timeout Error (attempted address: example:443, timeout: 1ms)"
|
|
251
|
+
// others do not provide enough information to distinguish timeouts from other connection errors
|
|
252
|
+
const isTimeout = (0, errors_1.isAbortError)(response) ||
|
|
253
|
+
/timed? ?out/i.test(String(response) + ('cause' in response ? String(response.cause) : ''));
|
|
254
|
+
if (retriesRemaining) {
|
|
255
|
+
(0, log_1.loggerFor)(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - ${retryMessage}`);
|
|
256
|
+
(0, log_1.loggerFor)(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (${retryMessage})`, (0, log_1.formatRequestDetails)({
|
|
257
|
+
retryOfRequestLogID,
|
|
258
|
+
url,
|
|
259
|
+
durationMs: headersTime - startTime,
|
|
260
|
+
message: response.message,
|
|
261
|
+
}));
|
|
262
|
+
return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID);
|
|
263
|
+
}
|
|
264
|
+
(0, log_1.loggerFor)(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - error; no more retries left`);
|
|
265
|
+
(0, log_1.loggerFor)(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (error; no more retries left)`, (0, log_1.formatRequestDetails)({
|
|
266
|
+
retryOfRequestLogID,
|
|
267
|
+
url,
|
|
268
|
+
durationMs: headersTime - startTime,
|
|
269
|
+
message: response.message,
|
|
270
|
+
}));
|
|
271
|
+
if (isTimeout) {
|
|
272
|
+
throw new Errors.APIConnectionTimeoutError();
|
|
273
|
+
}
|
|
274
|
+
throw new Errors.APIConnectionError({ cause: response });
|
|
275
|
+
}
|
|
276
|
+
const responseInfo = `[${requestLogID}${retryLogStr}] ${req.method} ${url} ${response.ok ? 'succeeded' : 'failed'} with status ${response.status} in ${headersTime - startTime}ms`;
|
|
277
|
+
if (!response.ok) {
|
|
278
|
+
const shouldRetry = await this.shouldRetry(response);
|
|
279
|
+
if (retriesRemaining && shouldRetry) {
|
|
280
|
+
const retryMessage = `retrying, ${retriesRemaining} attempts remaining`;
|
|
281
|
+
// We don't need the body of this response.
|
|
282
|
+
await Shims.CancelReadableStream(response.body);
|
|
283
|
+
(0, log_1.loggerFor)(this).info(`${responseInfo} - ${retryMessage}`);
|
|
284
|
+
(0, log_1.loggerFor)(this).debug(`[${requestLogID}] response error (${retryMessage})`, (0, log_1.formatRequestDetails)({
|
|
285
|
+
retryOfRequestLogID,
|
|
286
|
+
url: response.url,
|
|
287
|
+
status: response.status,
|
|
288
|
+
headers: response.headers,
|
|
289
|
+
durationMs: headersTime - startTime,
|
|
290
|
+
}));
|
|
291
|
+
return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID, response.headers);
|
|
292
|
+
}
|
|
293
|
+
const retryMessage = shouldRetry ? `error; no more retries left` : `error; not retryable`;
|
|
294
|
+
(0, log_1.loggerFor)(this).info(`${responseInfo} - ${retryMessage}`);
|
|
295
|
+
const errText = await response.text().catch((err) => (0, errors_1.castToError)(err).message);
|
|
296
|
+
const errJSON = (0, values_1.safeJSON)(errText);
|
|
297
|
+
const errMessage = errJSON ? undefined : errText;
|
|
298
|
+
(0, log_1.loggerFor)(this).debug(`[${requestLogID}] response error (${retryMessage})`, (0, log_1.formatRequestDetails)({
|
|
299
|
+
retryOfRequestLogID,
|
|
300
|
+
url: response.url,
|
|
301
|
+
status: response.status,
|
|
302
|
+
headers: response.headers,
|
|
303
|
+
message: errMessage,
|
|
304
|
+
durationMs: Date.now() - startTime,
|
|
305
|
+
}));
|
|
306
|
+
const err = this.makeStatusError(response.status, errJSON, errMessage, response.headers);
|
|
307
|
+
throw err;
|
|
308
|
+
}
|
|
309
|
+
(0, log_1.loggerFor)(this).info(responseInfo);
|
|
310
|
+
(0, log_1.loggerFor)(this).debug(`[${requestLogID}] response start`, (0, log_1.formatRequestDetails)({
|
|
311
|
+
retryOfRequestLogID,
|
|
312
|
+
url: response.url,
|
|
313
|
+
status: response.status,
|
|
314
|
+
headers: response.headers,
|
|
315
|
+
durationMs: headersTime - startTime,
|
|
316
|
+
}));
|
|
317
|
+
return { response, options, controller, requestLogID, retryOfRequestLogID, startTime };
|
|
318
|
+
}
|
|
319
|
+
getAPIList(path, Page, opts) {
|
|
320
|
+
return this.requestAPIList(Page, opts && 'then' in opts ?
|
|
321
|
+
opts.then((opts) => ({ method: 'get', path, ...opts }))
|
|
322
|
+
: { method: 'get', path, ...opts });
|
|
323
|
+
}
|
|
324
|
+
requestAPIList(Page, options) {
|
|
325
|
+
const request = this.makeRequest(options, null, undefined);
|
|
326
|
+
return new Pagination.PagePromise(this, request, Page);
|
|
327
|
+
}
|
|
328
|
+
async fetchWithTimeout(url, init, ms, controller) {
|
|
329
|
+
const { signal, method, ...options } = init || {};
|
|
330
|
+
const abort = this._makeAbort(controller);
|
|
331
|
+
if (signal)
|
|
332
|
+
signal.addEventListener('abort', abort, { once: true });
|
|
333
|
+
const timeout = setTimeout(abort, ms);
|
|
334
|
+
const isReadableBody = (globalThis.ReadableStream && options.body instanceof globalThis.ReadableStream) ||
|
|
335
|
+
(typeof options.body === 'object' && options.body !== null && Symbol.asyncIterator in options.body);
|
|
336
|
+
const fetchOptions = {
|
|
337
|
+
signal: controller.signal,
|
|
338
|
+
...(isReadableBody ? { duplex: 'half' } : {}),
|
|
339
|
+
method: 'GET',
|
|
340
|
+
...options,
|
|
341
|
+
};
|
|
342
|
+
if (method) {
|
|
343
|
+
// Custom methods like 'patch' need to be uppercased
|
|
344
|
+
// See https://github.com/nodejs/undici/issues/2294
|
|
345
|
+
fetchOptions.method = method.toUpperCase();
|
|
346
|
+
}
|
|
347
|
+
try {
|
|
348
|
+
// use undefined this binding; fetch errors if bound to something else in browser/cloudflare
|
|
349
|
+
return await this.fetch.call(undefined, url, fetchOptions);
|
|
350
|
+
}
|
|
351
|
+
finally {
|
|
352
|
+
clearTimeout(timeout);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
async shouldRetry(response) {
|
|
356
|
+
// Note this is not a standard header.
|
|
357
|
+
const shouldRetryHeader = response.headers.get('x-should-retry');
|
|
358
|
+
// If the server explicitly says whether or not to retry, obey.
|
|
359
|
+
if (shouldRetryHeader === 'true')
|
|
360
|
+
return true;
|
|
361
|
+
if (shouldRetryHeader === 'false')
|
|
362
|
+
return false;
|
|
363
|
+
// Retry on request timeouts.
|
|
364
|
+
if (response.status === 408)
|
|
365
|
+
return true;
|
|
366
|
+
// Retry on lock timeouts.
|
|
367
|
+
if (response.status === 409)
|
|
368
|
+
return true;
|
|
369
|
+
// Retry on rate limits.
|
|
370
|
+
if (response.status === 429)
|
|
371
|
+
return true;
|
|
372
|
+
// Retry internal errors.
|
|
373
|
+
if (response.status >= 500)
|
|
374
|
+
return true;
|
|
375
|
+
return false;
|
|
376
|
+
}
|
|
377
|
+
async retryRequest(options, retriesRemaining, requestLogID, responseHeaders) {
|
|
378
|
+
let timeoutMillis;
|
|
379
|
+
// Note the `retry-after-ms` header may not be standard, but is a good idea and we'd like proactive support for it.
|
|
380
|
+
const retryAfterMillisHeader = responseHeaders?.get('retry-after-ms');
|
|
381
|
+
if (retryAfterMillisHeader) {
|
|
382
|
+
const timeoutMs = parseFloat(retryAfterMillisHeader);
|
|
383
|
+
if (!Number.isNaN(timeoutMs)) {
|
|
384
|
+
timeoutMillis = timeoutMs;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
// About the Retry-After header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
|
|
388
|
+
const retryAfterHeader = responseHeaders?.get('retry-after');
|
|
389
|
+
if (retryAfterHeader && !timeoutMillis) {
|
|
390
|
+
const timeoutSeconds = parseFloat(retryAfterHeader);
|
|
391
|
+
if (!Number.isNaN(timeoutSeconds)) {
|
|
392
|
+
timeoutMillis = timeoutSeconds * 1000;
|
|
393
|
+
}
|
|
394
|
+
else {
|
|
395
|
+
timeoutMillis = Date.parse(retryAfterHeader) - Date.now();
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
// If the API asks us to wait a certain amount of time (and it's a reasonable amount),
|
|
399
|
+
// just do what it says, but otherwise calculate a default
|
|
400
|
+
if (!(timeoutMillis && 0 <= timeoutMillis && timeoutMillis < 60 * 1000)) {
|
|
401
|
+
const maxRetries = options.maxRetries ?? this.maxRetries;
|
|
402
|
+
timeoutMillis = this.calculateDefaultRetryTimeoutMillis(retriesRemaining, maxRetries);
|
|
403
|
+
}
|
|
404
|
+
await (0, sleep_1.sleep)(timeoutMillis);
|
|
405
|
+
return this.makeRequest(options, retriesRemaining - 1, requestLogID);
|
|
406
|
+
}
|
|
407
|
+
calculateDefaultRetryTimeoutMillis(retriesRemaining, maxRetries) {
|
|
408
|
+
const initialRetryDelay = 0.5;
|
|
409
|
+
const maxRetryDelay = 8.0;
|
|
410
|
+
const numRetries = maxRetries - retriesRemaining;
|
|
411
|
+
// Apply exponential backoff, but not more than the max.
|
|
412
|
+
const sleepSeconds = Math.min(initialRetryDelay * Math.pow(2, numRetries), maxRetryDelay);
|
|
413
|
+
// Apply some jitter, take up to at most 25 percent of the retry time.
|
|
414
|
+
const jitter = 1 - Math.random() * 0.25;
|
|
415
|
+
return sleepSeconds * jitter * 1000;
|
|
416
|
+
}
|
|
417
|
+
async buildRequest(inputOptions, { retryCount = 0 } = {}) {
|
|
418
|
+
const options = { ...inputOptions };
|
|
419
|
+
const { method, path, query, defaultBaseURL } = options;
|
|
420
|
+
const url = this.buildURL(path, query, defaultBaseURL);
|
|
421
|
+
if ('timeout' in options)
|
|
422
|
+
(0, values_1.validatePositiveInteger)('timeout', options.timeout);
|
|
423
|
+
options.timeout = options.timeout ?? this.timeout;
|
|
424
|
+
const { bodyHeaders, body } = this.buildBody({ options });
|
|
425
|
+
const reqHeaders = await this.buildHeaders({ options: inputOptions, method, bodyHeaders, retryCount });
|
|
426
|
+
const req = {
|
|
427
|
+
method,
|
|
428
|
+
headers: reqHeaders,
|
|
429
|
+
...(options.signal && { signal: options.signal }),
|
|
430
|
+
...(globalThis.ReadableStream &&
|
|
431
|
+
body instanceof globalThis.ReadableStream && { duplex: 'half' }),
|
|
432
|
+
...(body && { body }),
|
|
433
|
+
...(this.fetchOptions ?? {}),
|
|
434
|
+
...(options.fetchOptions ?? {}),
|
|
435
|
+
};
|
|
436
|
+
return { req, url, timeout: options.timeout };
|
|
437
|
+
}
|
|
438
|
+
async buildHeaders({ options, method, bodyHeaders, retryCount, }) {
|
|
439
|
+
let idempotencyHeaders = {};
|
|
440
|
+
if (this.idempotencyHeader && method !== 'get') {
|
|
441
|
+
if (!options.idempotencyKey)
|
|
442
|
+
options.idempotencyKey = this.defaultIdempotencyKey();
|
|
443
|
+
idempotencyHeaders[this.idempotencyHeader] = options.idempotencyKey;
|
|
444
|
+
}
|
|
445
|
+
const headers = (0, headers_1.buildHeaders)([
|
|
446
|
+
idempotencyHeaders,
|
|
447
|
+
{
|
|
448
|
+
Accept: 'application/json',
|
|
449
|
+
'User-Agent': this.getUserAgent(),
|
|
450
|
+
'X-Stainless-Retry-Count': String(retryCount),
|
|
451
|
+
...(options.timeout ? { 'X-Stainless-Timeout': String(Math.trunc(options.timeout / 1000)) } : {}),
|
|
452
|
+
...(0, detect_platform_1.getPlatformHeaders)(),
|
|
453
|
+
},
|
|
454
|
+
await this.authHeaders(options),
|
|
455
|
+
this._options.defaultHeaders,
|
|
456
|
+
bodyHeaders,
|
|
457
|
+
options.headers,
|
|
458
|
+
]);
|
|
459
|
+
this.validateHeaders(headers);
|
|
460
|
+
return headers.values;
|
|
461
|
+
}
|
|
462
|
+
_makeAbort(controller) {
|
|
463
|
+
// note: we can't just inline this method inside `fetchWithTimeout()` because then the closure
|
|
464
|
+
// would capture all request options, and cause a memory leak.
|
|
465
|
+
return () => controller.abort();
|
|
466
|
+
}
|
|
467
|
+
buildBody({ options: { body, headers: rawHeaders } }) {
|
|
468
|
+
if (!body) {
|
|
469
|
+
return { bodyHeaders: undefined, body: undefined };
|
|
470
|
+
}
|
|
471
|
+
const headers = (0, headers_1.buildHeaders)([rawHeaders]);
|
|
472
|
+
if (
|
|
473
|
+
// Pass raw type verbatim
|
|
474
|
+
ArrayBuffer.isView(body) ||
|
|
475
|
+
body instanceof ArrayBuffer ||
|
|
476
|
+
body instanceof DataView ||
|
|
477
|
+
(typeof body === 'string' &&
|
|
478
|
+
// Preserve legacy string encoding behavior for now
|
|
479
|
+
headers.values.has('content-type')) ||
|
|
480
|
+
// `Blob` is superset of `File`
|
|
481
|
+
(globalThis.Blob && body instanceof globalThis.Blob) ||
|
|
482
|
+
// `FormData` -> `multipart/form-data`
|
|
483
|
+
body instanceof FormData ||
|
|
484
|
+
// `URLSearchParams` -> `application/x-www-form-urlencoded`
|
|
485
|
+
body instanceof URLSearchParams ||
|
|
486
|
+
// Send chunked stream (each chunk has own `length`)
|
|
487
|
+
(globalThis.ReadableStream && body instanceof globalThis.ReadableStream)) {
|
|
488
|
+
return { bodyHeaders: undefined, body: body };
|
|
489
|
+
}
|
|
490
|
+
else if (typeof body === 'object' &&
|
|
491
|
+
(Symbol.asyncIterator in body ||
|
|
492
|
+
(Symbol.iterator in body && 'next' in body && typeof body.next === 'function'))) {
|
|
493
|
+
return { bodyHeaders: undefined, body: Shims.ReadableStreamFrom(body) };
|
|
494
|
+
}
|
|
495
|
+
else {
|
|
496
|
+
return tslib_1.__classPrivateFieldGet(this, _LightsparkGrid_encoder, "f").call(this, { body, headers });
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
exports.LightsparkGrid = LightsparkGrid;
|
|
501
|
+
_a = LightsparkGrid, _LightsparkGrid_encoder = new WeakMap(), _LightsparkGrid_instances = new WeakSet(), _LightsparkGrid_baseURLOverridden = function _LightsparkGrid_baseURLOverridden() {
|
|
502
|
+
return this.baseURL !== 'https://api.lightspark.com/grid/2025-10-13';
|
|
503
|
+
};
|
|
504
|
+
LightsparkGrid.LightsparkGrid = _a;
|
|
505
|
+
LightsparkGrid.DEFAULT_TIMEOUT = 60000; // 1 minute
|
|
506
|
+
LightsparkGrid.LightsparkGridError = Errors.LightsparkGridError;
|
|
507
|
+
LightsparkGrid.APIError = Errors.APIError;
|
|
508
|
+
LightsparkGrid.APIConnectionError = Errors.APIConnectionError;
|
|
509
|
+
LightsparkGrid.APIConnectionTimeoutError = Errors.APIConnectionTimeoutError;
|
|
510
|
+
LightsparkGrid.APIUserAbortError = Errors.APIUserAbortError;
|
|
511
|
+
LightsparkGrid.Forbidden = Errors.Forbidden;
|
|
512
|
+
LightsparkGrid.SelfPayment = Errors.SelfPayment;
|
|
513
|
+
LightsparkGrid.InvalidInput = Errors.InvalidInput;
|
|
514
|
+
LightsparkGrid.InvalidNonce = Errors.InvalidNonce;
|
|
515
|
+
LightsparkGrid.Unauthorized = Errors.Unauthorized;
|
|
516
|
+
LightsparkGrid.UserNotReady = Errors.UserNotReady;
|
|
517
|
+
LightsparkGrid.UserNotFound = Errors.UserNotFound;
|
|
518
|
+
LightsparkGrid.NotFoundError = Errors.NotFoundError;
|
|
519
|
+
LightsparkGrid.ConflictError = Errors.ConflictError;
|
|
520
|
+
LightsparkGrid.InvalidAmount = Errors.InvalidAmount;
|
|
521
|
+
LightsparkGrid.QuoteNotFound = Errors.QuoteNotFound;
|
|
522
|
+
LightsparkGrid.TokenNotFound = Errors.TokenNotFound;
|
|
523
|
+
LightsparkGrid.InternalError = Errors.InternalError;
|
|
524
|
+
LightsparkGrid.RateLimitError = Errors.RateLimitError;
|
|
525
|
+
LightsparkGrid.NotImplemented = Errors.NotImplemented;
|
|
526
|
+
LightsparkGrid.BadRequestError = Errors.BadRequestError;
|
|
527
|
+
LightsparkGrid.InvalidReceiver = Errors.InvalidReceiver;
|
|
528
|
+
LightsparkGrid.InvalidCurrency = Errors.InvalidCurrency;
|
|
529
|
+
LightsparkGrid.CustomerDeleted = Errors.CustomerDeleted;
|
|
530
|
+
LightsparkGrid.GridSwitchError = Errors.GridSwitchError;
|
|
531
|
+
LightsparkGrid.CertChainInvalid = Errors.CertChainInvalid;
|
|
532
|
+
LightsparkGrid.CertChainExpired = Errors.CertChainExpired;
|
|
533
|
+
LightsparkGrid.AmountOutOfRange = Errors.AmountOutOfRange;
|
|
534
|
+
LightsparkGrid.InvalidTimestamp = Errors.InvalidTimestamp;
|
|
535
|
+
LightsparkGrid.InvalidSignature = Errors.InvalidSignature;
|
|
536
|
+
LightsparkGrid.UmaAddressExists = Errors.UmaAddressExists;
|
|
537
|
+
LightsparkGrid.InvalidUmaAddress = Errors.InvalidUmaAddress;
|
|
538
|
+
LightsparkGrid.SenderNotAccepted = Errors.SenderNotAccepted;
|
|
539
|
+
LightsparkGrid.ReferenceNotFound = Errors.ReferenceNotFound;
|
|
540
|
+
LightsparkGrid.QuoteRequestFailed = Errors.QuoteRequestFailed;
|
|
541
|
+
LightsparkGrid.InvalidBankAccount = Errors.InvalidBankAccount;
|
|
542
|
+
LightsparkGrid.InvitationNotFound = Errors.InvitationNotFound;
|
|
543
|
+
LightsparkGrid.AuthenticationError = Errors.AuthenticationError;
|
|
544
|
+
LightsparkGrid.InternalServerError = Errors.InternalServerError;
|
|
545
|
+
LightsparkGrid.InvitationCancelled = Errors.InvitationCancelled;
|
|
546
|
+
LightsparkGrid.InvalidPubkeyFormat = Errors.InvalidPubkeyFormat;
|
|
547
|
+
LightsparkGrid.LookupRequestFailed = Errors.LookupRequestFailed;
|
|
548
|
+
LightsparkGrid.TransactionNotFound = Errors.TransactionNotFound;
|
|
549
|
+
LightsparkGrid.PayreqRequestFailed = Errors.PayreqRequestFailed;
|
|
550
|
+
LightsparkGrid.LnurlpRequestFailed = Errors.LnurlpRequestFailed;
|
|
551
|
+
LightsparkGrid.InvalidRequestFormat = Errors.InvalidRequestFormat;
|
|
552
|
+
LightsparkGrid.WebhookDeliveryError = Errors.WebhookDeliveryError;
|
|
553
|
+
LightsparkGrid.PermissionDeniedError = Errors.PermissionDeniedError;
|
|
554
|
+
LightsparkGrid.InvalidPayreqResponse = Errors.InvalidPayreqResponse;
|
|
555
|
+
LightsparkGrid.WebhookEndpointNotSet = Errors.WebhookEndpointNotSet;
|
|
556
|
+
LightsparkGrid.VelocityLimitExceeded = Errors.VelocityLimitExceeded;
|
|
557
|
+
LightsparkGrid.LookupRequestNotFound = Errors.LookupRequestNotFound;
|
|
558
|
+
LightsparkGrid.BulkUploadJobNotFound = Errors.BulkUploadJobNotFound;
|
|
559
|
+
LightsparkGrid.UnsupportedUmaVersion = Errors.UnsupportedUmaVersion;
|
|
560
|
+
LightsparkGrid.CounterpartyNotAllowed = Errors.CounterpartyNotAllowed;
|
|
561
|
+
LightsparkGrid.NoCompatibleUmaVersion = Errors.NoCompatibleUmaVersion;
|
|
562
|
+
LightsparkGrid.UnprocessableEntityError = Errors.UnprocessableEntityError;
|
|
563
|
+
LightsparkGrid.MissingMandatoryUserInfo = Errors.MissingMandatoryUserInfo;
|
|
564
|
+
LightsparkGrid.InvitationAlreadyClaimed = Errors.InvitationAlreadyClaimed;
|
|
565
|
+
LightsparkGrid.InvitationsNotConfigured = Errors.InvitationsNotConfigured;
|
|
566
|
+
LightsparkGrid.ParsePayreqResponseError = Errors.ParsePayreqResponseError;
|
|
567
|
+
LightsparkGrid.ParseLnurlpResponseError = Errors.ParseLnurlpResponseError;
|
|
568
|
+
LightsparkGrid.MissingRequiredUmaParameters = Errors.MissingRequiredUmaParameters;
|
|
569
|
+
LightsparkGrid.CounterpartyPubkeyFetchError = Errors.CounterpartyPubkeyFetchError;
|
|
570
|
+
LightsparkGrid.UnrecognizedMandatoryPayeeDataKey = Errors.UnrecognizedMandatoryPayeeDataKey;
|
|
571
|
+
LightsparkGrid.TransactionNotPendingPlatformApproval = Errors.TransactionNotPendingPlatformApproval;
|
|
572
|
+
LightsparkGrid.toFile = Uploads.toFile;
|
|
573
|
+
LightsparkGrid.Config = config_1.Config;
|
|
574
|
+
LightsparkGrid.Customers = customers_1.Customers;
|
|
575
|
+
LightsparkGrid.Platform = platform_1.Platform;
|
|
576
|
+
LightsparkGrid.Plaid = plaid_1.Plaid;
|
|
577
|
+
LightsparkGrid.TransferIn = transfer_in_1.TransferIn;
|
|
578
|
+
LightsparkGrid.TransferOut = transfer_out_1.TransferOut;
|
|
579
|
+
LightsparkGrid.Receiver = receiver_1.Receiver;
|
|
580
|
+
LightsparkGrid.Quotes = quotes_1.Quotes;
|
|
581
|
+
LightsparkGrid.Transactions = transactions_1.Transactions;
|
|
582
|
+
LightsparkGrid.Webhooks = webhooks_1.Webhooks;
|
|
583
|
+
LightsparkGrid.Invitations = invitations_1.Invitations;
|
|
584
|
+
LightsparkGrid.Sandbox = sandbox_1.Sandbox;
|
|
585
|
+
LightsparkGrid.UmaProviders = uma_providers_1.UmaProviders;
|
|
586
|
+
LightsparkGrid.Tokens = tokens_1.Tokens;
|
|
587
|
+
LightsparkGrid.ExchangeRates = exchange_rates_1.ExchangeRates;
|
|
588
|
+
//# sourceMappingURL=client.js.map
|