@snagsolutions/sdk 0.1.0-alpha.23 → 0.1.0-alpha.230
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/CHANGELOG.md +10 -259
- package/LICENSE +1 -1
- package/README.md +126 -64
- 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 +202 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +202 -0
- package/client.d.ts.map +1 -0
- package/client.js +478 -0
- package/client.js.map +1 -0
- package/client.mjs +474 -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 +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.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 +1 -46
- package/error.d.ts.map +1 -1
- package/error.js +3 -110
- package/error.js.map +1 -1
- package/error.mjs +1 -96
- package/error.mjs.map +1 -1
- package/index.d.mts +6 -132
- package/index.d.mts.map +1 -0
- package/index.d.ts +5 -131
- package/index.d.ts.map +1 -1
- package/index.js +12 -129
- package/index.js.map +1 -1
- package/index.mjs +5 -102
- package/index.mjs.map +1 -1
- 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 +1 -0
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/formats.js +4 -2
- package/internal/qs/formats.js.map +1 -1
- package/internal/qs/formats.mjs +2 -1
- package/internal/qs/formats.mjs.map +1 -1
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.js +16 -19
- package/internal/qs/stringify.js.map +1 -1
- package/internal/qs/stringify.mjs +17 -19
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.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 +1 -0
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.js +22 -21
- package/internal/qs/utils.js.map +1 -1
- package/internal/qs/utils.mjs +12 -12
- package/internal/qs/utils.mjs.map +1 -1
- 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 +104 -69
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +1 -5
- package/resource.d.ts.map +1 -1
- package/resource.js +3 -8
- package/resource.js.map +1 -1
- package/resource.mjs +1 -6
- package/resource.mjs.map +1 -1
- package/resources/assets.d.mts +65 -0
- package/resources/assets.d.mts.map +1 -0
- package/resources/assets.d.ts +20 -5
- package/resources/assets.d.ts.map +1 -1
- package/resources/assets.js +9 -1
- package/resources/assets.js.map +1 -1
- package/resources/assets.mjs +9 -1
- package/resources/assets.mjs.map +1 -1
- package/resources/auctions/auctions.d.mts +368 -0
- package/resources/auctions/auctions.d.mts.map +1 -0
- package/resources/auctions/auctions.d.ts +368 -0
- package/resources/auctions/auctions.d.ts.map +1 -0
- package/resources/auctions/auctions.js +54 -0
- package/resources/auctions/auctions.js.map +1 -0
- package/resources/auctions/auctions.mjs +49 -0
- package/resources/auctions/auctions.mjs.map +1 -0
- package/resources/auctions/index.d.mts +3 -0
- package/resources/auctions/index.d.mts.map +1 -0
- package/resources/auctions/index.d.ts +3 -0
- package/resources/auctions/index.d.ts.map +1 -0
- package/resources/auctions/index.js +9 -0
- package/resources/auctions/index.js.map +1 -0
- package/resources/auctions/index.mjs +4 -0
- package/resources/auctions/index.mjs.map +1 -0
- package/resources/auctions/website-user-attributes/index.d.mts +3 -0
- package/resources/auctions/website-user-attributes/index.d.mts.map +1 -0
- package/resources/auctions/website-user-attributes/index.d.ts +3 -0
- package/resources/auctions/website-user-attributes/index.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes/index.js +9 -0
- package/resources/auctions/website-user-attributes/index.js.map +1 -0
- package/resources/auctions/website-user-attributes/index.mjs +4 -0
- package/resources/auctions/website-user-attributes/index.mjs.map +1 -0
- package/resources/auctions/website-user-attributes/values.d.mts +127 -0
- package/resources/auctions/website-user-attributes/values.d.mts.map +1 -0
- package/resources/auctions/website-user-attributes/values.d.ts +127 -0
- package/resources/auctions/website-user-attributes/values.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes/values.js +49 -0
- package/resources/auctions/website-user-attributes/values.js.map +1 -0
- package/resources/auctions/website-user-attributes/values.mjs +45 -0
- package/resources/auctions/website-user-attributes/values.mjs.map +1 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.d.mts +136 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.d.mts.map +1 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.d.ts +136 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.js +60 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.js.map +1 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.mjs +55 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.mjs.map +1 -0
- package/resources/auctions/website-user-attributes.d.mts +2 -0
- package/resources/auctions/website-user-attributes.d.mts.map +1 -0
- package/resources/auctions/website-user-attributes.d.ts +2 -0
- package/resources/auctions/website-user-attributes.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes.js +6 -0
- package/resources/auctions/website-user-attributes.js.map +1 -0
- package/resources/auctions/website-user-attributes.mjs +3 -0
- package/resources/auctions/website-user-attributes.mjs.map +1 -0
- package/resources/auctions.d.mts +2 -0
- package/resources/auctions.d.mts.map +1 -0
- package/resources/auctions.d.ts +1 -133
- package/resources/auctions.d.ts.map +1 -1
- package/resources/auctions.js +2 -22
- package/resources/auctions.js.map +1 -1
- package/resources/auctions.mjs +1 -20
- package/resources/auctions.mjs.map +1 -1
- package/resources/auth.d.mts +53 -0
- package/resources/auth.d.mts.map +1 -0
- package/resources/auth.d.ts +20 -7
- package/resources/auth.d.ts.map +1 -1
- package/resources/auth.js +6 -6
- package/resources/auth.js.map +1 -1
- package/resources/auth.mjs +6 -6
- package/resources/auth.mjs.map +1 -1
- package/resources/index.d.mts +10 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +4 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -2
- package/resources/index.mjs.map +1 -1
- package/resources/loyalty/account-streaks.d.mts +97 -0
- package/resources/loyalty/account-streaks.d.mts.map +1 -0
- package/resources/loyalty/account-streaks.d.ts +97 -0
- package/resources/loyalty/account-streaks.d.ts.map +1 -0
- package/resources/loyalty/account-streaks.js +24 -0
- package/resources/loyalty/account-streaks.js.map +1 -0
- package/resources/loyalty/account-streaks.mjs +20 -0
- package/resources/loyalty/account-streaks.mjs.map +1 -0
- package/resources/loyalty/accounts.d.mts +238 -0
- package/resources/loyalty/accounts.d.mts.map +1 -0
- package/resources/loyalty/accounts.d.ts +66 -22
- package/resources/loyalty/accounts.d.ts.map +1 -1
- package/resources/loyalty/accounts.js +25 -6
- package/resources/loyalty/accounts.js.map +1 -1
- package/resources/loyalty/accounts.mjs +25 -6
- package/resources/loyalty/accounts.mjs.map +1 -1
- package/resources/loyalty/badges.d.mts +1398 -0
- package/resources/loyalty/badges.d.mts.map +1 -0
- package/resources/loyalty/badges.d.ts +675 -147
- package/resources/loyalty/badges.d.ts.map +1 -1
- package/resources/loyalty/badges.js +63 -19
- package/resources/loyalty/badges.js.map +1 -1
- package/resources/loyalty/badges.mjs +63 -19
- package/resources/loyalty/badges.mjs.map +1 -1
- package/resources/loyalty/currencies.d.mts +272 -0
- package/resources/loyalty/currencies.d.mts.map +1 -0
- package/resources/loyalty/currencies.d.ts +26 -6
- package/resources/loyalty/currencies.d.ts.map +1 -1
- package/resources/loyalty/currencies.js +20 -1
- package/resources/loyalty/currencies.js.map +1 -1
- package/resources/loyalty/currencies.mjs +20 -1
- package/resources/loyalty/currencies.mjs.map +1 -1
- package/resources/loyalty/index.d.mts +13 -0
- package/resources/loyalty/index.d.mts.map +1 -0
- package/resources/loyalty/index.d.ts +3 -3
- package/resources/loyalty/index.d.ts.map +1 -1
- package/resources/loyalty/index.js +5 -5
- package/resources/loyalty/index.js.map +1 -1
- package/resources/loyalty/index.mjs +2 -2
- package/resources/loyalty/index.mjs.map +1 -1
- package/resources/loyalty/loyalty.d.mts +50 -0
- package/resources/loyalty/loyalty.d.mts.map +1 -0
- package/resources/loyalty/loyalty.d.ts +10 -10
- package/resources/loyalty/loyalty.d.ts.map +1 -1
- package/resources/loyalty/loyalty.js +17 -39
- package/resources/loyalty/loyalty.js.map +1 -1
- package/resources/loyalty/loyalty.mjs +7 -7
- package/resources/loyalty/loyalty.mjs.map +1 -1
- package/resources/loyalty/multipliers.d.mts +221 -0
- package/resources/loyalty/multipliers.d.mts.map +1 -0
- package/resources/loyalty/multipliers.d.ts +47 -11
- package/resources/loyalty/multipliers.d.ts.map +1 -1
- package/resources/loyalty/multipliers.js +48 -13
- package/resources/loyalty/multipliers.js.map +1 -1
- package/resources/loyalty/multipliers.mjs +48 -13
- package/resources/loyalty/multipliers.mjs.map +1 -1
- package/resources/loyalty/questions-responses.d.mts +148 -0
- package/resources/loyalty/questions-responses.d.mts.map +1 -0
- package/resources/loyalty/questions-responses.d.ts +60 -9
- package/resources/loyalty/questions-responses.d.ts.map +1 -1
- package/resources/loyalty/questions-responses.js +20 -5
- package/resources/loyalty/questions-responses.js.map +1 -1
- package/resources/loyalty/questions-responses.mjs +20 -5
- package/resources/loyalty/questions-responses.mjs.map +1 -1
- package/resources/loyalty/questions.d.mts +205 -0
- package/resources/loyalty/questions.d.mts.map +1 -0
- package/resources/loyalty/questions.d.ts +66 -11
- package/resources/loyalty/questions.d.ts.map +1 -1
- package/resources/loyalty/questions.js +42 -2
- package/resources/loyalty/questions.js.map +1 -1
- package/resources/loyalty/questions.mjs +42 -2
- package/resources/loyalty/questions.mjs.map +1 -1
- package/resources/loyalty/rule-edits.d.mts +3165 -0
- package/resources/loyalty/rule-edits.d.mts.map +1 -0
- package/resources/loyalty/rule-edits.d.ts +2847 -12
- package/resources/loyalty/rule-edits.d.ts.map +1 -1
- package/resources/loyalty/rule-edits.js +17 -2
- package/resources/loyalty/rule-edits.js.map +1 -1
- package/resources/loyalty/rule-edits.mjs +17 -2
- package/resources/loyalty/rule-edits.mjs.map +1 -1
- package/resources/loyalty/rule-groups.d.mts +826 -0
- package/resources/loyalty/rule-groups.d.mts.map +1 -0
- package/resources/loyalty/rule-groups.d.ts +286 -64
- package/resources/loyalty/rule-groups.d.ts.map +1 -1
- package/resources/loyalty/rule-groups.js +42 -10
- package/resources/loyalty/rule-groups.js.map +1 -1
- package/resources/loyalty/rule-groups.mjs +42 -10
- package/resources/loyalty/rule-groups.mjs.map +1 -1
- package/resources/loyalty/rules.d.mts +4543 -0
- package/resources/loyalty/rules.d.mts.map +1 -0
- package/resources/loyalty/rules.d.ts +2305 -374
- package/resources/loyalty/rules.d.ts.map +1 -1
- package/resources/loyalty/rules.js +75 -14
- package/resources/loyalty/rules.js.map +1 -1
- package/resources/loyalty/rules.mjs +75 -14
- package/resources/loyalty/rules.mjs.map +1 -1
- package/resources/loyalty/transactions/index.d.mts +4 -0
- package/resources/loyalty/transactions/index.d.mts.map +1 -0
- package/resources/loyalty/transactions/index.d.ts +4 -0
- package/resources/loyalty/transactions/index.d.ts.map +1 -0
- package/resources/loyalty/transactions/index.js +11 -0
- package/resources/loyalty/transactions/index.js.map +1 -0
- package/resources/loyalty/transactions/index.mjs +5 -0
- package/resources/loyalty/transactions/index.mjs.map +1 -0
- package/resources/loyalty/transactions/posts.d.mts +145 -0
- package/resources/loyalty/transactions/posts.d.mts.map +1 -0
- package/resources/loyalty/transactions/posts.d.ts +145 -0
- package/resources/loyalty/transactions/posts.d.ts.map +1 -0
- package/resources/loyalty/transactions/posts.js +40 -0
- package/resources/loyalty/transactions/posts.js.map +1 -0
- package/resources/loyalty/transactions/posts.mjs +36 -0
- package/resources/loyalty/transactions/posts.mjs.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.d.mts +121 -0
- package/resources/loyalty/transactions/rule-statuses.d.mts.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.d.ts +121 -0
- package/resources/loyalty/transactions/rule-statuses.d.ts.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.js +35 -0
- package/resources/loyalty/transactions/rule-statuses.js.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.mjs +31 -0
- package/resources/loyalty/transactions/rule-statuses.mjs.map +1 -0
- package/resources/loyalty/transactions/transactions.d.mts +564 -0
- package/resources/loyalty/transactions/transactions.d.mts.map +1 -0
- package/resources/loyalty/transactions/transactions.d.ts +564 -0
- package/resources/loyalty/transactions/transactions.d.ts.map +1 -0
- package/resources/loyalty/transactions/transactions.js +94 -0
- package/resources/loyalty/transactions/transactions.js.map +1 -0
- package/resources/loyalty/transactions/transactions.mjs +89 -0
- package/resources/loyalty/transactions/transactions.mjs.map +1 -0
- package/resources/loyalty/transactions.d.mts +2 -0
- package/resources/loyalty/transactions.d.mts.map +1 -0
- package/resources/loyalty/transactions.d.ts +1 -248
- package/resources/loyalty/transactions.d.ts.map +1 -1
- package/resources/loyalty/transactions.js +2 -18
- package/resources/loyalty/transactions.js.map +1 -1
- package/resources/loyalty/transactions.mjs +1 -16
- package/resources/loyalty/transactions.mjs.map +1 -1
- package/resources/loyalty.d.mts +2 -0
- package/resources/loyalty.d.mts.map +1 -0
- package/resources/loyalty.d.ts.map +1 -1
- package/resources/loyalty.js +2 -15
- package/resources/loyalty.js.map +1 -1
- package/resources/minting/allowlist.d.mts +85 -0
- package/resources/minting/allowlist.d.mts.map +1 -0
- package/resources/minting/allowlist.d.ts +85 -0
- package/resources/minting/allowlist.d.ts.map +1 -0
- package/resources/minting/allowlist.js +42 -0
- package/resources/minting/allowlist.js.map +1 -0
- package/resources/minting/allowlist.mjs +38 -0
- package/resources/minting/allowlist.mjs.map +1 -0
- package/resources/minting/contracts.d.mts +165 -0
- package/resources/minting/contracts.d.mts.map +1 -0
- package/resources/minting/contracts.d.ts +165 -0
- package/resources/minting/contracts.d.ts.map +1 -0
- package/resources/minting/contracts.js +34 -0
- package/resources/minting/contracts.js.map +1 -0
- package/resources/minting/contracts.mjs +30 -0
- package/resources/minting/contracts.mjs.map +1 -0
- package/resources/minting/index.d.mts +5 -0
- package/resources/minting/index.d.mts.map +1 -0
- package/resources/minting/index.d.ts +5 -0
- package/resources/minting/index.d.ts.map +1 -0
- package/resources/minting/index.js +13 -0
- package/resources/minting/index.js.map +1 -0
- package/resources/minting/index.mjs +6 -0
- package/resources/minting/index.mjs.map +1 -0
- package/resources/minting/minting.d.mts +143 -0
- package/resources/minting/minting.d.mts.map +1 -0
- package/resources/minting/minting.d.ts +143 -0
- package/resources/minting/minting.d.ts.map +1 -0
- package/resources/minting/minting.js +57 -0
- package/resources/minting/minting.js.map +1 -0
- package/resources/minting/minting.mjs +52 -0
- package/resources/minting/minting.mjs.map +1 -0
- package/resources/minting/status.d.mts +45 -0
- package/resources/minting/status.d.mts.map +1 -0
- package/resources/minting/status.d.ts +45 -0
- package/resources/minting/status.d.ts.map +1 -0
- package/resources/minting/status.js +34 -0
- package/resources/minting/status.js.map +1 -0
- package/resources/minting/status.mjs +30 -0
- package/resources/minting/status.mjs.map +1 -0
- package/resources/minting.d.mts +2 -0
- package/resources/minting.d.mts.map +1 -0
- package/resources/minting.d.ts +1 -94
- package/resources/minting.d.ts.map +1 -1
- package/resources/minting.js +2 -11
- package/resources/minting.js.map +1 -1
- package/resources/minting.mjs +1 -9
- package/resources/minting.mjs.map +1 -1
- package/resources/referral/index.d.mts +3 -0
- package/resources/referral/index.d.mts.map +1 -0
- package/resources/referral/index.d.ts.map +1 -1
- package/resources/referral/referral.d.mts +41 -0
- package/resources/referral/referral.d.mts.map +1 -0
- package/resources/referral/referral.d.ts +15 -5
- package/resources/referral/referral.d.ts.map +1 -1
- package/resources/referral/referral.js +14 -30
- package/resources/referral/referral.js.map +1 -1
- package/resources/referral/referral.mjs +12 -6
- package/resources/referral/referral.mjs.map +1 -1
- package/resources/referral/users.d.mts +84 -0
- package/resources/referral/users.d.mts.map +1 -0
- package/resources/referral/users.d.ts +33 -6
- package/resources/referral/users.d.ts.map +1 -1
- package/resources/referral/users.js +14 -2
- package/resources/referral/users.js.map +1 -1
- package/resources/referral/users.mjs +14 -2
- package/resources/referral/users.mjs.map +1 -1
- package/resources/referral.d.mts +2 -0
- package/resources/referral.d.mts.map +1 -0
- package/resources/referral.d.ts.map +1 -1
- package/resources/referral.js +2 -15
- package/resources/referral.js.map +1 -1
- package/resources/token-claims.d.mts +159 -0
- package/resources/token-claims.d.mts.map +1 -0
- package/resources/token-claims.d.ts +159 -0
- package/resources/token-claims.d.ts.map +1 -0
- package/resources/token-claims.js +46 -0
- package/resources/token-claims.js.map +1 -0
- package/resources/token-claims.mjs +42 -0
- package/resources/token-claims.mjs.map +1 -0
- package/resources/users/index.d.mts +3 -0
- package/resources/users/index.d.mts.map +1 -0
- package/resources/users/index.d.ts +1 -1
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/index.js.map +1 -1
- package/resources/users/index.mjs.map +1 -1
- package/resources/users/metadatas.d.mts +174 -0
- package/resources/users/metadatas.d.mts.map +1 -0
- package/resources/users/metadatas.d.ts +41 -9
- package/resources/users/metadatas.d.ts.map +1 -1
- package/resources/users/metadatas.js +17 -8
- package/resources/users/metadatas.js.map +1 -1
- package/resources/users/metadatas.mjs +17 -8
- package/resources/users/metadatas.mjs.map +1 -1
- package/resources/users/users.d.mts +465 -0
- package/resources/users/users.d.mts.map +1 -0
- package/resources/users/users.d.ts +206 -45
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js +69 -30
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs +67 -6
- package/resources/users/users.mjs.map +1 -1
- package/resources/users.d.mts +2 -0
- package/resources/users.d.mts.map +1 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +2 -15
- package/resources/users.js.map +1 -1
- package/resources/websites/index.d.mts +4 -0
- package/resources/websites/index.d.mts.map +1 -0
- package/resources/websites/index.d.ts.map +1 -1
- package/resources/websites/website-collections.d.mts +95 -0
- package/resources/websites/website-collections.d.mts.map +1 -0
- package/resources/websites/website-collections.d.ts +27 -5
- package/resources/websites/website-collections.d.ts.map +1 -1
- package/resources/websites/website-collections.js +24 -2
- package/resources/websites/website-collections.js.map +1 -1
- package/resources/websites/website-collections.mjs +24 -2
- package/resources/websites/website-collections.mjs.map +1 -1
- package/resources/websites/website-user-roles.d.mts +97 -0
- package/resources/websites/website-user-roles.d.mts.map +1 -0
- package/resources/websites/website-user-roles.d.ts +29 -5
- package/resources/websites/website-user-roles.d.ts.map +1 -1
- package/resources/websites/website-user-roles.js +24 -1
- package/resources/websites/website-user-roles.js.map +1 -1
- package/resources/websites/website-user-roles.mjs +24 -1
- package/resources/websites/website-user-roles.mjs.map +1 -1
- package/resources/websites/websites.d.mts +329 -0
- package/resources/websites/websites.d.mts.map +1 -0
- package/resources/websites/websites.d.ts +123 -5
- package/resources/websites/websites.d.ts.map +1 -1
- package/resources/websites/websites.js +20 -30
- package/resources/websites/websites.js.map +1 -1
- package/resources/websites/websites.mjs +17 -5
- package/resources/websites/websites.mjs.map +1 -1
- package/resources/websites.d.mts +2 -0
- package/resources/websites.d.mts.map +1 -0
- package/resources/websites.d.ts.map +1 -1
- package/resources/websites.js +2 -15
- package/resources/websites.js.map +1 -1
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/src/api-promise.ts +2 -0
- package/src/client.ts +868 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -130
- package/src/index.ts +5 -264
- 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/formats.ts +2 -1
- package/src/internal/qs/stringify.ts +17 -20
- package/src/internal/qs/utils.ts +14 -14
- 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/resource.ts +2 -11
- package/src/resources/assets.ts +22 -9
- package/src/resources/auctions/auctions.ts +553 -0
- package/src/resources/auctions/index.ts +19 -0
- package/src/resources/auctions/website-user-attributes/index.ts +18 -0
- package/src/resources/auctions/website-user-attributes/values.ts +171 -0
- package/src/resources/auctions/website-user-attributes/website-user-attributes.ts +205 -0
- package/src/resources/auctions/website-user-attributes.ts +3 -0
- package/src/resources/auctions.ts +1 -207
- package/src/resources/auth.ts +39 -23
- package/src/resources/index.ts +34 -2
- package/src/resources/loyalty/account-streaks.ts +129 -0
- package/src/resources/loyalty/accounts.ts +75 -32
- package/src/resources/loyalty/badges.ts +812 -199
- package/src/resources/loyalty/currencies.ts +26 -6
- package/src/resources/loyalty/index.ts +13 -2
- package/src/resources/loyalty/loyalty.ts +31 -13
- package/src/resources/loyalty/multipliers.ts +61 -38
- package/src/resources/loyalty/questions-responses.ts +72 -20
- package/src/resources/loyalty/questions.ts +73 -13
- package/src/resources/loyalty/rule-edits.ts +4126 -106
- package/src/resources/loyalty/rule-groups.ts +469 -98
- package/src/resources/loyalty/rules.ts +3500 -407
- package/src/resources/loyalty/transactions/index.ts +29 -0
- package/src/resources/loyalty/transactions/posts.ts +213 -0
- package/src/resources/loyalty/transactions/rule-statuses.ts +171 -0
- package/src/resources/loyalty/transactions/transactions.ts +904 -0
- package/src/resources/loyalty/transactions.ts +1 -440
- package/src/resources/minting/allowlist.ts +114 -0
- package/src/resources/minting/contracts.ts +403 -0
- package/src/resources/minting/index.ts +29 -0
- package/src/resources/minting/minting.ts +275 -0
- package/src/resources/minting/status.ts +68 -0
- package/src/resources/minting.ts +1 -157
- package/src/resources/referral/referral.ts +20 -15
- package/src/resources/referral/users.ts +43 -8
- package/src/resources/token-claims.ts +294 -0
- package/src/resources/users/index.ts +4 -0
- package/src/resources/users/metadatas.ts +70 -22
- package/src/resources/users/users.ts +268 -53
- package/src/resources/websites/website-collections.ts +49 -7
- package/src/resources/websites/website-user-roles.ts +32 -9
- package/src/resources/websites/websites.ts +149 -12
- package/src/tsconfig.json +2 -2
- package/src/uploads.ts +2 -255
- package/src/version.ts +1 -1
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +1 -74
- package/uploads.d.ts.map +1 -1
- package/uploads.js +3 -168
- package/uploads.js.map +1 -1
- package/uploads.mjs +1 -157
- package/uploads.mjs.map +1 -1
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/_shims/MultipartBody.d.ts +0 -9
- package/_shims/MultipartBody.d.ts.map +0 -1
- package/_shims/MultipartBody.js +0 -16
- package/_shims/MultipartBody.js.map +0 -1
- package/_shims/MultipartBody.mjs +0 -12
- package/_shims/MultipartBody.mjs.map +0 -1
- package/_shims/README.md +0 -46
- package/_shims/auto/runtime-bun.d.ts +0 -5
- package/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/_shims/auto/runtime-bun.js +0 -21
- package/_shims/auto/runtime-bun.js.map +0 -1
- package/_shims/auto/runtime-bun.mjs +0 -2
- package/_shims/auto/runtime-bun.mjs.map +0 -1
- package/_shims/auto/runtime-node.d.ts +0 -5
- package/_shims/auto/runtime-node.d.ts.map +0 -1
- package/_shims/auto/runtime-node.js +0 -21
- package/_shims/auto/runtime-node.js.map +0 -1
- package/_shims/auto/runtime-node.mjs +0 -2
- package/_shims/auto/runtime-node.mjs.map +0 -1
- package/_shims/auto/runtime.d.ts +0 -5
- package/_shims/auto/runtime.d.ts.map +0 -1
- package/_shims/auto/runtime.js +0 -21
- package/_shims/auto/runtime.js.map +0 -1
- package/_shims/auto/runtime.mjs +0 -2
- package/_shims/auto/runtime.mjs.map +0 -1
- package/_shims/auto/types-node.d.ts +0 -5
- package/_shims/auto/types-node.d.ts.map +0 -1
- package/_shims/auto/types-node.js +0 -21
- package/_shims/auto/types-node.js.map +0 -1
- package/_shims/auto/types-node.mjs +0 -2
- package/_shims/auto/types-node.mjs.map +0 -1
- package/_shims/auto/types.d.ts +0 -101
- package/_shims/auto/types.js +0 -3
- package/_shims/auto/types.mjs +0 -3
- package/_shims/bun-runtime.d.ts +0 -6
- package/_shims/bun-runtime.d.ts.map +0 -1
- package/_shims/bun-runtime.js +0 -14
- package/_shims/bun-runtime.js.map +0 -1
- package/_shims/bun-runtime.mjs +0 -10
- package/_shims/bun-runtime.mjs.map +0 -1
- package/_shims/index.d.ts +0 -83
- package/_shims/index.js +0 -17
- package/_shims/index.mjs +0 -11
- package/_shims/manual-types.d.ts +0 -12
- package/_shims/manual-types.js +0 -3
- package/_shims/manual-types.mjs +0 -3
- package/_shims/node-runtime.d.ts +0 -3
- package/_shims/node-runtime.d.ts.map +0 -1
- package/_shims/node-runtime.js +0 -89
- package/_shims/node-runtime.js.map +0 -1
- package/_shims/node-runtime.mjs +0 -56
- package/_shims/node-runtime.mjs.map +0 -1
- package/_shims/node-types.d.ts +0 -42
- package/_shims/node-types.js +0 -3
- package/_shims/node-types.mjs +0 -3
- package/_shims/registry.d.ts +0 -37
- package/_shims/registry.d.ts.map +0 -1
- package/_shims/registry.js +0 -41
- package/_shims/registry.js.map +0 -1
- package/_shims/registry.mjs +0 -37
- package/_shims/registry.mjs.map +0 -1
- package/_shims/web-runtime.d.ts +0 -5
- package/_shims/web-runtime.d.ts.map +0 -1
- package/_shims/web-runtime.js +0 -78
- package/_shims/web-runtime.js.map +0 -1
- package/_shims/web-runtime.mjs +0 -71
- package/_shims/web-runtime.mjs.map +0 -1
- package/_shims/web-types.d.ts +0 -83
- package/_shims/web-types.js +0 -3
- package/_shims/web-types.mjs +0 -3
- package/core.d.ts +0 -241
- package/core.d.ts.map +0 -1
- package/core.js +0 -917
- package/core.js.map +0 -1
- package/core.mjs +0 -885
- package/core.mjs.map +0 -1
- package/resources/loyalty/rule-chains.d.ts +0 -34
- package/resources/loyalty/rule-chains.d.ts.map +0 -1
- package/resources/loyalty/rule-chains.js +0 -15
- package/resources/loyalty/rule-chains.js.map +0 -1
- package/resources/loyalty/rule-chains.mjs +0 -11
- package/resources/loyalty/rule-chains.mjs.map +0 -1
- package/shims/node.d.ts +0 -30
- package/shims/node.d.ts.map +0 -1
- package/shims/node.js +0 -31
- package/shims/node.js.map +0 -1
- package/shims/node.mjs +0 -5
- package/shims/node.mjs.map +0 -1
- package/shims/web.d.ts +0 -26
- package/shims/web.d.ts.map +0 -1
- package/shims/web.js +0 -31
- package/shims/web.js.map +0 -1
- package/shims/web.mjs +0 -5
- package/shims/web.mjs.map +0 -1
- package/src/_shims/MultipartBody.ts +0 -9
- package/src/_shims/README.md +0 -46
- package/src/_shims/auto/runtime-bun.ts +0 -4
- package/src/_shims/auto/runtime-node.ts +0 -4
- package/src/_shims/auto/runtime.ts +0 -4
- package/src/_shims/auto/types-node.ts +0 -4
- package/src/_shims/auto/types.d.ts +0 -101
- package/src/_shims/auto/types.js +0 -3
- package/src/_shims/auto/types.mjs +0 -3
- package/src/_shims/bun-runtime.ts +0 -14
- package/src/_shims/index.d.ts +0 -83
- package/src/_shims/index.js +0 -17
- package/src/_shims/index.mjs +0 -11
- package/src/_shims/manual-types.d.ts +0 -12
- package/src/_shims/manual-types.js +0 -3
- package/src/_shims/manual-types.mjs +0 -3
- package/src/_shims/node-runtime.ts +0 -81
- package/src/_shims/node-types.d.ts +0 -42
- package/src/_shims/node-types.js +0 -3
- package/src/_shims/node-types.mjs +0 -3
- package/src/_shims/registry.ts +0 -67
- package/src/_shims/web-runtime.ts +0 -103
- package/src/_shims/web-types.d.ts +0 -83
- package/src/_shims/web-types.js +0 -3
- package/src/_shims/web-types.mjs +0 -3
- package/src/core.ts +0 -1214
- package/src/resources/loyalty/rule-chains.ts +0 -45
- package/src/shims/node.ts +0 -50
- package/src/shims/web.ts +0 -50
package/CHANGELOG.md
CHANGED
|
@@ -1,279 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.0-alpha.
|
|
3
|
+
## 0.1.0-alpha.230 (2026-02-10)
|
|
4
4
|
|
|
5
|
-
Full Changelog: [v0.1.0-alpha.
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.229...v0.1.0-alpha.230](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.229...v0.1.0-alpha.230)
|
|
6
6
|
|
|
7
7
|
### Features
|
|
8
8
|
|
|
9
|
-
* **api:**
|
|
9
|
+
* **api:** open api update ([809b17b](https://github.com/Snag-Solutions/node-sdk/commit/809b17b7d61858a813dc805d0ce291d06770f0e4))
|
|
10
10
|
|
|
11
|
-
## 0.1.0-alpha.
|
|
12
|
-
|
|
13
|
-
Full Changelog: [v0.1.0-alpha.21...v0.1.0-alpha.22](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.21...v0.1.0-alpha.22)
|
|
14
|
-
|
|
15
|
-
### Features
|
|
16
|
-
|
|
17
|
-
* **api:** open api update ([#213](https://github.com/Snag-Solutions/node-sdk/issues/213)) ([ed35297](https://github.com/Snag-Solutions/node-sdk/commit/ed35297b80161f0884ec9774a748325f40f9ad88))
|
|
18
|
-
|
|
19
|
-
## 0.1.0-alpha.21 (2025-03-28)
|
|
20
|
-
|
|
21
|
-
Full Changelog: [v0.1.0-alpha.20...v0.1.0-alpha.21](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.20...v0.1.0-alpha.21)
|
|
22
|
-
|
|
23
|
-
### Features
|
|
24
|
-
|
|
25
|
-
* **api:** open api update ([#210](https://github.com/Snag-Solutions/node-sdk/issues/210)) ([396b332](https://github.com/Snag-Solutions/node-sdk/commit/396b3323774f3625f9dfdc86761bd50b2ea56dd8))
|
|
26
|
-
|
|
27
|
-
## 0.1.0-alpha.20 (2025-03-28)
|
|
28
|
-
|
|
29
|
-
Full Changelog: [v0.1.0-alpha.19...v0.1.0-alpha.20](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.19...v0.1.0-alpha.20)
|
|
30
|
-
|
|
31
|
-
### Features
|
|
32
|
-
|
|
33
|
-
* **api:** api update ([#207](https://github.com/Snag-Solutions/node-sdk/issues/207)) ([25209ea](https://github.com/Snag-Solutions/node-sdk/commit/25209eadb7b79756365fba81ca578f7e2ec06ba6))
|
|
34
|
-
|
|
35
|
-
## 0.1.0-alpha.19 (2025-03-28)
|
|
36
|
-
|
|
37
|
-
Full Changelog: [v0.1.0-alpha.18...v0.1.0-alpha.19](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.18...v0.1.0-alpha.19)
|
|
38
|
-
|
|
39
|
-
### Features
|
|
40
|
-
|
|
41
|
-
* **api:** open api update ([#204](https://github.com/Snag-Solutions/node-sdk/issues/204)) ([a03b88d](https://github.com/Snag-Solutions/node-sdk/commit/a03b88d62767a9fcd90061dc122246471578429e))
|
|
42
|
-
|
|
43
|
-
## 0.1.0-alpha.18 (2025-03-28)
|
|
44
|
-
|
|
45
|
-
Full Changelog: [v0.1.0-alpha.17...v0.1.0-alpha.18](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.17...v0.1.0-alpha.18)
|
|
46
|
-
|
|
47
|
-
### Features
|
|
48
|
-
|
|
49
|
-
* **api:** manual updates ([#201](https://github.com/Snag-Solutions/node-sdk/issues/201)) ([98ffe0b](https://github.com/Snag-Solutions/node-sdk/commit/98ffe0b626323e2c0e00d2b938c4de526faee19f))
|
|
50
|
-
|
|
51
|
-
## 0.1.0-alpha.17 (2025-03-28)
|
|
52
|
-
|
|
53
|
-
Full Changelog: [v0.1.0-alpha.16...v0.1.0-alpha.17](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.16...v0.1.0-alpha.17)
|
|
54
|
-
|
|
55
|
-
### Features
|
|
56
|
-
|
|
57
|
-
* **api:** manual updates ([#198](https://github.com/Snag-Solutions/node-sdk/issues/198)) ([e7112eb](https://github.com/Snag-Solutions/node-sdk/commit/e7112eb20f9999bdf4513511ef8da16c7101328f))
|
|
58
|
-
|
|
59
|
-
## 0.1.0-alpha.16 (2025-03-28)
|
|
60
|
-
|
|
61
|
-
Full Changelog: [v0.1.0-alpha.15...v0.1.0-alpha.16](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.15...v0.1.0-alpha.16)
|
|
62
|
-
|
|
63
|
-
### Features
|
|
64
|
-
|
|
65
|
-
* **api:** manual updates ([#195](https://github.com/Snag-Solutions/node-sdk/issues/195)) ([312da2e](https://github.com/Snag-Solutions/node-sdk/commit/312da2e5e60c388d1a5051fe7557fec9fd326b3d))
|
|
66
|
-
|
|
67
|
-
## 0.1.0-alpha.15 (2025-03-28)
|
|
68
|
-
|
|
69
|
-
Full Changelog: [v0.1.0-alpha.14...v0.1.0-alpha.15](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.14...v0.1.0-alpha.15)
|
|
70
|
-
|
|
71
|
-
### Features
|
|
72
|
-
|
|
73
|
-
* **api:** api update ([9db71a8](https://github.com/Snag-Solutions/node-sdk/commit/9db71a8a336cad149a6dee626aab19542bb4c269))
|
|
74
|
-
* **api:** manual updates ([2fc7269](https://github.com/Snag-Solutions/node-sdk/commit/2fc7269c5b2e9b0bd92daef6674bcc69df5146da))
|
|
75
|
-
* **api:** manual updates ([0762ae6](https://github.com/Snag-Solutions/node-sdk/commit/0762ae6de81aec708b7f52f4ffabaa0402f8bb9e))
|
|
76
|
-
* **api:** manual updates ([#184](https://github.com/Snag-Solutions/node-sdk/issues/184)) ([17322ff](https://github.com/Snag-Solutions/node-sdk/commit/17322ff407b4be58a3480caa09ebf4003ceb4c82))
|
|
77
|
-
* **api:** manual updates ([#186](https://github.com/Snag-Solutions/node-sdk/issues/186)) ([15df7ea](https://github.com/Snag-Solutions/node-sdk/commit/15df7ea7963f1b3055a0b2cabd9ca05f6bbcd3a0))
|
|
78
|
-
* **api:** manual updates ([#187](https://github.com/Snag-Solutions/node-sdk/issues/187)) ([885252c](https://github.com/Snag-Solutions/node-sdk/commit/885252c933cbbc3c6252b7732c79ffc9988ecc40))
|
|
79
|
-
* **api:** manual updates ([#188](https://github.com/Snag-Solutions/node-sdk/issues/188)) ([f1876d2](https://github.com/Snag-Solutions/node-sdk/commit/f1876d20a25c454f66a6b2995dcadd50b69e18f3))
|
|
80
|
-
* **api:** manual updates ([#189](https://github.com/Snag-Solutions/node-sdk/issues/189)) ([136e91b](https://github.com/Snag-Solutions/node-sdk/commit/136e91be906bcc4db9ffe56d8a9829e12c0bdfdd))
|
|
81
|
-
* **api:** manual updates ([#191](https://github.com/Snag-Solutions/node-sdk/issues/191)) ([1e38dd4](https://github.com/Snag-Solutions/node-sdk/commit/1e38dd4bf56fed4acc2b7af1f962ee2e5e90281d))
|
|
82
|
-
* **api:** open api update ([3cedd3a](https://github.com/Snag-Solutions/node-sdk/commit/3cedd3aad63131914204154fd95d73e988dce3ea))
|
|
83
|
-
* **api:** open api update ([#190](https://github.com/Snag-Solutions/node-sdk/issues/190)) ([dfa1302](https://github.com/Snag-Solutions/node-sdk/commit/dfa13021f8f81105d5fdcb477b83f48b2c9cc0d0))
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
### Chores
|
|
87
|
-
|
|
88
|
-
* go live ([#182](https://github.com/Snag-Solutions/node-sdk/issues/182)) ([12b2834](https://github.com/Snag-Solutions/node-sdk/commit/12b2834a5b6d8083b826b34f62b397c99efc4edd))
|
|
89
|
-
* sync repo ([4dbe8ed](https://github.com/Snag-Solutions/node-sdk/commit/4dbe8edf05d35b926b97ac54543544e23d0bf0c4))
|
|
90
|
-
* update SDK settings ([#183](https://github.com/Snag-Solutions/node-sdk/issues/183)) ([7241769](https://github.com/Snag-Solutions/node-sdk/commit/7241769a40ae875b5ea525935ec8bbcd58677a0b))
|
|
91
|
-
|
|
92
|
-
## 0.1.0-alpha.14 (2025-03-04)
|
|
93
|
-
|
|
94
|
-
Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)
|
|
95
|
-
|
|
96
|
-
### Features
|
|
97
|
-
|
|
98
|
-
* **api:** api update ([#113](https://github.com/Snag-Solutions/node-sdk/issues/113)) ([7b22f6d](https://github.com/Snag-Solutions/node-sdk/commit/7b22f6dc19c2790059df91275b9f005f75e585eb))
|
|
99
|
-
* **api:** api update ([#116](https://github.com/Snag-Solutions/node-sdk/issues/116)) ([49d5ec1](https://github.com/Snag-Solutions/node-sdk/commit/49d5ec13a70f3d7167fd24a2103f5f1d5ef82fe0))
|
|
100
|
-
* **api:** api update ([#119](https://github.com/Snag-Solutions/node-sdk/issues/119)) ([352c998](https://github.com/Snag-Solutions/node-sdk/commit/352c998a44006a4b441e30249995f824df992f54))
|
|
101
|
-
* **api:** api update ([#122](https://github.com/Snag-Solutions/node-sdk/issues/122)) ([40d7797](https://github.com/Snag-Solutions/node-sdk/commit/40d77976bad778ae3f9dda115c117df5c2b0fcf8))
|
|
102
|
-
* **api:** api update ([#123](https://github.com/Snag-Solutions/node-sdk/issues/123)) ([b165255](https://github.com/Snag-Solutions/node-sdk/commit/b1652556767548121e2b9a6866eb67e5a5092a2e))
|
|
103
|
-
* **api:** api update ([#125](https://github.com/Snag-Solutions/node-sdk/issues/125)) ([1ecfaba](https://github.com/Snag-Solutions/node-sdk/commit/1ecfaba5c59f9427703478d9634d40421fa4778a))
|
|
104
|
-
* **api:** api update ([#126](https://github.com/Snag-Solutions/node-sdk/issues/126)) ([2d91502](https://github.com/Snag-Solutions/node-sdk/commit/2d915022abc2316684b2b4b808c703b6946ec4c1))
|
|
105
|
-
* **api:** api update ([#130](https://github.com/Snag-Solutions/node-sdk/issues/130)) ([b83eef2](https://github.com/Snag-Solutions/node-sdk/commit/b83eef21a458c3e244f09abe6f9e37b3f8046f88))
|
|
106
|
-
* **api:** api update ([#131](https://github.com/Snag-Solutions/node-sdk/issues/131)) ([27924b3](https://github.com/Snag-Solutions/node-sdk/commit/27924b3a164f93ff03ea10e4d01fd1482bd96878))
|
|
107
|
-
* **api:** api update ([#134](https://github.com/Snag-Solutions/node-sdk/issues/134)) ([95cb142](https://github.com/Snag-Solutions/node-sdk/commit/95cb142031f21744873bc16c5c96203c7a45d688))
|
|
108
|
-
* **api:** manual updates ([#136](https://github.com/Snag-Solutions/node-sdk/issues/136)) ([e216c85](https://github.com/Snag-Solutions/node-sdk/commit/e216c85b407adaa055baf44bc144bad49eacae92))
|
|
109
|
-
* **api:** open api update ([#112](https://github.com/Snag-Solutions/node-sdk/issues/112)) ([b54d088](https://github.com/Snag-Solutions/node-sdk/commit/b54d08880fd075ae7c1c3e4b46998159a1353d74))
|
|
110
|
-
* **api:** open api update ([#114](https://github.com/Snag-Solutions/node-sdk/issues/114)) ([1e5919a](https://github.com/Snag-Solutions/node-sdk/commit/1e5919af64bdcfa8693b923bf5d0c508e46f0511))
|
|
111
|
-
* **api:** open api update ([#115](https://github.com/Snag-Solutions/node-sdk/issues/115)) ([15058b1](https://github.com/Snag-Solutions/node-sdk/commit/15058b1dba2109a3389977ac6b300b9d24ec566f))
|
|
112
|
-
* **api:** open api update ([#117](https://github.com/Snag-Solutions/node-sdk/issues/117)) ([39d1db6](https://github.com/Snag-Solutions/node-sdk/commit/39d1db673d4e7e2233fe573e6fdadeb57efa807d))
|
|
113
|
-
* **api:** open api update ([#118](https://github.com/Snag-Solutions/node-sdk/issues/118)) ([45d4b4b](https://github.com/Snag-Solutions/node-sdk/commit/45d4b4b7d9f995929fd948e94ed5075429a98f14))
|
|
114
|
-
* **api:** open api update ([#120](https://github.com/Snag-Solutions/node-sdk/issues/120)) ([be69e9f](https://github.com/Snag-Solutions/node-sdk/commit/be69e9f39785eebf584ed20df63d3c5920d12646))
|
|
115
|
-
* **api:** open api update ([#121](https://github.com/Snag-Solutions/node-sdk/issues/121)) ([2a4d94b](https://github.com/Snag-Solutions/node-sdk/commit/2a4d94bb0ca881f72668e470b9c45e5ae7e61d8c))
|
|
116
|
-
* **api:** open api update ([#124](https://github.com/Snag-Solutions/node-sdk/issues/124)) ([e733b06](https://github.com/Snag-Solutions/node-sdk/commit/e733b06b96d397655843d7bbf020a28d0527daea))
|
|
117
|
-
* **api:** open api update ([#128](https://github.com/Snag-Solutions/node-sdk/issues/128)) ([f77dcfb](https://github.com/Snag-Solutions/node-sdk/commit/f77dcfb820b65dd4095e88a5c7e4476ee9ee22b2))
|
|
118
|
-
* **api:** open api update ([#129](https://github.com/Snag-Solutions/node-sdk/issues/129)) ([8940ee9](https://github.com/Snag-Solutions/node-sdk/commit/8940ee9041a17c096b0306cea509e1b5dcef6c7a))
|
|
119
|
-
* **api:** open api update ([#133](https://github.com/Snag-Solutions/node-sdk/issues/133)) ([bc17b3f](https://github.com/Snag-Solutions/node-sdk/commit/bc17b3fa6ceaf2924b03e7e9b1f1f2462d471327))
|
|
120
|
-
* **api:** open api update ([#135](https://github.com/Snag-Solutions/node-sdk/issues/135)) ([41a93d9](https://github.com/Snag-Solutions/node-sdk/commit/41a93d941dba7d40502c1ef28daa387965e0896c))
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
### Chores
|
|
124
|
-
|
|
125
|
-
* **internal:** fix devcontainers setup ([#127](https://github.com/Snag-Solutions/node-sdk/issues/127)) ([05365bd](https://github.com/Snag-Solutions/node-sdk/commit/05365bd6d319a82b01396c9dd6a5098ccb60432d))
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
### Documentation
|
|
129
|
-
|
|
130
|
-
* update URLs from stainlessapi.com to stainless.com ([#132](https://github.com/Snag-Solutions/node-sdk/issues/132)) ([4f8844e](https://github.com/Snag-Solutions/node-sdk/commit/4f8844ea2ec5b0bc5dfe129a6ce6e5d50909c026))
|
|
131
|
-
|
|
132
|
-
## 0.1.0-alpha.13 (2025-01-19)
|
|
133
|
-
|
|
134
|
-
Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
|
|
135
|
-
|
|
136
|
-
### Features
|
|
137
|
-
|
|
138
|
-
* **api:** open api update ([#77](https://github.com/Snag-Solutions/node-sdk/issues/77)) ([a1a3ffe](https://github.com/Snag-Solutions/node-sdk/commit/a1a3ffe3ef9195d55e153e45aab9642922f46f5e))
|
|
139
|
-
|
|
140
|
-
## 0.1.0-alpha.12 (2025-01-19)
|
|
141
|
-
|
|
142
|
-
Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)
|
|
143
|
-
|
|
144
|
-
### Features
|
|
145
|
-
|
|
146
|
-
* **api:** open api update ([#74](https://github.com/Snag-Solutions/node-sdk/issues/74)) ([d663764](https://github.com/Snag-Solutions/node-sdk/commit/d6637641448a98a54fdaefbcf24dff9f070d8c55))
|
|
147
|
-
|
|
148
|
-
## 0.1.0-alpha.11 (2025-01-19)
|
|
149
|
-
|
|
150
|
-
Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
|
|
151
|
-
|
|
152
|
-
### Chores
|
|
153
|
-
|
|
154
|
-
* update SDK settings ([#69](https://github.com/Snag-Solutions/node-sdk/issues/69)) ([5558d09](https://github.com/Snag-Solutions/node-sdk/commit/5558d09c342935eb2dafa1821349b4c2088768c9))
|
|
155
|
-
* update SDK settings ([#71](https://github.com/Snag-Solutions/node-sdk/issues/71)) ([f13dc92](https://github.com/Snag-Solutions/node-sdk/commit/f13dc9266757e82b1398cc4ebd0a4c01b0b8269d))
|
|
156
|
-
|
|
157
|
-
## 0.1.0-alpha.10 (2025-01-19)
|
|
158
|
-
|
|
159
|
-
Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)
|
|
160
|
-
|
|
161
|
-
### Features
|
|
162
|
-
|
|
163
|
-
* **api:** manual updates ([#64](https://github.com/Snag-Solutions/node-sdk/issues/64)) ([2c0c72d](https://github.com/Snag-Solutions/node-sdk/commit/2c0c72dee71d170cdb81f33ef4c4eb6c16aef78d))
|
|
11
|
+
## 0.1.0-alpha.229 (2026-02-09)
|
|
164
12
|
|
|
13
|
+
Full Changelog: [v0.1.0-alpha.228...v0.1.0-alpha.229](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.228...v0.1.0-alpha.229)
|
|
165
14
|
|
|
166
15
|
### Chores
|
|
167
16
|
|
|
168
|
-
* update SDK settings ([
|
|
169
|
-
|
|
170
|
-
## 0.1.0-alpha.9 (2025-01-19)
|
|
171
|
-
|
|
172
|
-
Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)
|
|
173
|
-
|
|
174
|
-
### Features
|
|
175
|
-
|
|
176
|
-
* **api:** api update ([#42](https://github.com/Snag-Solutions/node-sdk/issues/42)) ([b0021f7](https://github.com/Snag-Solutions/node-sdk/commit/b0021f77372bdb6c401836f6d8f91cf46e94b43a))
|
|
177
|
-
* **api:** api update ([#43](https://github.com/Snag-Solutions/node-sdk/issues/43)) ([d772569](https://github.com/Snag-Solutions/node-sdk/commit/d77256957b5441ca8878ff871bf331c5a301daf1))
|
|
178
|
-
* **api:** api update ([#44](https://github.com/Snag-Solutions/node-sdk/issues/44)) ([5f8c1af](https://github.com/Snag-Solutions/node-sdk/commit/5f8c1af21d44360eacede294efedba2749a6f628))
|
|
179
|
-
* **api:** api update ([#51](https://github.com/Snag-Solutions/node-sdk/issues/51)) ([c87475e](https://github.com/Snag-Solutions/node-sdk/commit/c87475e7497c1da9281cfb2eeb151c79e0d50cbe))
|
|
180
|
-
* **api:** api update ([#57](https://github.com/Snag-Solutions/node-sdk/issues/57)) ([4e9eba0](https://github.com/Snag-Solutions/node-sdk/commit/4e9eba027a7eabfb59ddc76890248ce3ded772e6))
|
|
181
|
-
* **api:** api update ([#58](https://github.com/Snag-Solutions/node-sdk/issues/58)) ([1cf1d9a](https://github.com/Snag-Solutions/node-sdk/commit/1cf1d9ac7f86c59c57538640e4738ba83fcf2bfd))
|
|
182
|
-
* **api:** open api update ([#50](https://github.com/Snag-Solutions/node-sdk/issues/50)) ([048be25](https://github.com/Snag-Solutions/node-sdk/commit/048be2501cf994253d36866b246670d01f7ef498))
|
|
183
|
-
* **api:** open api update ([#52](https://github.com/Snag-Solutions/node-sdk/issues/52)) ([6502084](https://github.com/Snag-Solutions/node-sdk/commit/6502084a0297431c2014c7c0d1eefafbe78d890b))
|
|
184
|
-
* **api:** open api update ([#54](https://github.com/Snag-Solutions/node-sdk/issues/54)) ([e6a4548](https://github.com/Snag-Solutions/node-sdk/commit/e6a4548754a6b4a6da6517bdf8151197f77e3c19))
|
|
185
|
-
* **api:** open api update ([#55](https://github.com/Snag-Solutions/node-sdk/issues/55)) ([3483621](https://github.com/Snag-Solutions/node-sdk/commit/3483621ad5e35def2e10c24efcc342307b9798f9))
|
|
186
|
-
* **api:** open api update ([#56](https://github.com/Snag-Solutions/node-sdk/issues/56)) ([0015403](https://github.com/Snag-Solutions/node-sdk/commit/001540368909a3e6de6ce184f6429b6301c09c1b))
|
|
187
|
-
* **api:** open api update ([#60](https://github.com/Snag-Solutions/node-sdk/issues/60)) ([d37c04c](https://github.com/Snag-Solutions/node-sdk/commit/d37c04ce76de779286620f25d04d3e0fa210c2bb))
|
|
188
|
-
* **api:** open api update ([#61](https://github.com/Snag-Solutions/node-sdk/issues/61)) ([7be2c09](https://github.com/Snag-Solutions/node-sdk/commit/7be2c09e28bf47e47092e4c850fe660487fac97a))
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
### Chores
|
|
192
|
-
|
|
193
|
-
* **internal:** codegen related update ([#46](https://github.com/Snag-Solutions/node-sdk/issues/46)) ([6b97e9f](https://github.com/Snag-Solutions/node-sdk/commit/6b97e9fa2b3f40e8143c38edf2fd5bae1f15990d))
|
|
194
|
-
* **internal:** codegen related update ([#48](https://github.com/Snag-Solutions/node-sdk/issues/48)) ([7be5577](https://github.com/Snag-Solutions/node-sdk/commit/7be5577a10139def97777fe3fc9183b16d2150a0))
|
|
195
|
-
* **internal:** codegen related update ([#59](https://github.com/Snag-Solutions/node-sdk/issues/59)) ([78785ea](https://github.com/Snag-Solutions/node-sdk/commit/78785ea055d6d49313a79cd204174e1d039ddf7d))
|
|
196
|
-
* **internal:** codegen related update ([#62](https://github.com/Snag-Solutions/node-sdk/issues/62)) ([78e6c12](https://github.com/Snag-Solutions/node-sdk/commit/78e6c12c11eeda88894bd87a79e8332a54d18ab8))
|
|
197
|
-
* **internal:** fix some typos ([#45](https://github.com/Snag-Solutions/node-sdk/issues/45)) ([0f0d61a](https://github.com/Snag-Solutions/node-sdk/commit/0f0d61af3d255360727f9681ea48f5eaa1a47193))
|
|
198
|
-
* **internal:** fix some typos ([#47](https://github.com/Snag-Solutions/node-sdk/issues/47)) ([47dc89e](https://github.com/Snag-Solutions/node-sdk/commit/47dc89e909ac05b5ce0e6eb8016b9b1049072889))
|
|
199
|
-
* **internal:** fix some typos ([#49](https://github.com/Snag-Solutions/node-sdk/issues/49)) ([1e0446a](https://github.com/Snag-Solutions/node-sdk/commit/1e0446a04c2ed791e7bfb00943e4ac80d6cd6923))
|
|
200
|
-
* **internal:** update isAbsoluteURL ([#41](https://github.com/Snag-Solutions/node-sdk/issues/41)) ([df5ec7b](https://github.com/Snag-Solutions/node-sdk/commit/df5ec7bf4980e406e1392f99ba18c1fb7fcc00f5))
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
### Documentation
|
|
204
|
-
|
|
205
|
-
* minor formatting changes ([#53](https://github.com/Snag-Solutions/node-sdk/issues/53)) ([62eb4c8](https://github.com/Snag-Solutions/node-sdk/commit/62eb4c8e6c0a73b41bd111f0e1677f92b93c3236))
|
|
206
|
-
|
|
207
|
-
## 0.1.0-alpha.8 (2024-11-23)
|
|
208
|
-
|
|
209
|
-
Full Changelog: [v0.1.0-alpha.7...v0.1.0-alpha.8](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.7...v0.1.0-alpha.8)
|
|
210
|
-
|
|
211
|
-
### Features
|
|
212
|
-
|
|
213
|
-
* **api:** api update ([#26](https://github.com/Snag-Solutions/node-sdk/issues/26)) ([c441b0f](https://github.com/Snag-Solutions/node-sdk/commit/c441b0f481a94634e5ed71f7781400ef9660cdd1))
|
|
214
|
-
|
|
215
|
-
## 0.1.0-alpha.7 (2024-11-23)
|
|
216
|
-
|
|
217
|
-
Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.6...v0.1.0-alpha.7)
|
|
218
|
-
|
|
219
|
-
### Features
|
|
220
|
-
|
|
221
|
-
* **api:** api update ([#22](https://github.com/Snag-Solutions/node-sdk/issues/22)) ([94c9533](https://github.com/Snag-Solutions/node-sdk/commit/94c95332c7650bb2b1e8b2fd011ebf39cbdca231))
|
|
222
|
-
* **api:** manual updates ([#24](https://github.com/Snag-Solutions/node-sdk/issues/24)) ([633af8d](https://github.com/Snag-Solutions/node-sdk/commit/633af8d21132d89b01159066c4eecffbf323b697))
|
|
223
|
-
|
|
224
|
-
## 0.1.0-alpha.6 (2024-11-22)
|
|
225
|
-
|
|
226
|
-
Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
|
|
227
|
-
|
|
228
|
-
### Features
|
|
229
|
-
|
|
230
|
-
* **api:** api update ([#20](https://github.com/Snag-Solutions/node-sdk/issues/20)) ([59e9c60](https://github.com/Snag-Solutions/node-sdk/commit/59e9c6025caccfba9dde465af795beff514a9dbd))
|
|
231
|
-
* **api:** manual updates ([#17](https://github.com/Snag-Solutions/node-sdk/issues/17)) ([cf16f38](https://github.com/Snag-Solutions/node-sdk/commit/cf16f38e8ef707c5a7770b54c0d7d0d051882077))
|
|
232
|
-
|
|
233
|
-
## 0.1.0-alpha.5 (2024-11-22)
|
|
234
|
-
|
|
235
|
-
Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
|
|
236
|
-
|
|
237
|
-
### Features
|
|
238
|
-
|
|
239
|
-
* **api:** api update ([#13](https://github.com/Snag-Solutions/node-sdk/issues/13)) ([b691782](https://github.com/Snag-Solutions/node-sdk/commit/b69178269f9d182d2ea7105f8b1024a0c3880134))
|
|
240
|
-
* **api:** api update ([#15](https://github.com/Snag-Solutions/node-sdk/issues/15)) ([ec14b9d](https://github.com/Snag-Solutions/node-sdk/commit/ec14b9d0964f8beceda60a09fd2c9c2cfffd17da))
|
|
241
|
-
* **api:** api update ([#16](https://github.com/Snag-Solutions/node-sdk/issues/16)) ([3123dc6](https://github.com/Snag-Solutions/node-sdk/commit/3123dc6e29d239580f6d3a800801f9ad50dbabc5))
|
|
242
|
-
|
|
243
|
-
## 0.1.0-alpha.4 (2024-11-22)
|
|
244
|
-
|
|
245
|
-
Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
|
|
246
|
-
|
|
247
|
-
### Features
|
|
248
|
-
|
|
249
|
-
* **api:** manual updates ([#10](https://github.com/Snag-Solutions/node-sdk/issues/10)) ([5ff680b](https://github.com/Snag-Solutions/node-sdk/commit/5ff680b93da06a8f6c5c1b0fce4927e844e38d4e))
|
|
250
|
-
|
|
251
|
-
## 0.1.0-alpha.3 (2024-11-22)
|
|
252
|
-
|
|
253
|
-
Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
|
|
254
|
-
|
|
255
|
-
### Chores
|
|
256
|
-
|
|
257
|
-
* update SDK settings ([#7](https://github.com/Snag-Solutions/node-sdk/issues/7)) ([04be237](https://github.com/Snag-Solutions/node-sdk/commit/04be23720196035f4dfe147fd0a7fd92385438f2))
|
|
258
|
-
|
|
259
|
-
## 0.1.0-alpha.2 (2024-11-22)
|
|
260
|
-
|
|
261
|
-
Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
|
|
262
|
-
|
|
263
|
-
### Features
|
|
264
|
-
|
|
265
|
-
* **api:** api update ([#4](https://github.com/Snag-Solutions/node-sdk/issues/4)) ([496a04f](https://github.com/Snag-Solutions/node-sdk/commit/496a04fa714d9a9f474504b8b95e217c40c60b50))
|
|
17
|
+
* update SDK settings ([93c1400](https://github.com/Snag-Solutions/node-sdk/commit/93c1400a6f17d633f02fc6064107f5f7d1e193ec))
|
|
266
18
|
|
|
267
|
-
## 0.1.0-alpha.
|
|
19
|
+
## 0.1.0-alpha.228 (2026-02-09)
|
|
268
20
|
|
|
269
|
-
Full Changelog: [v0.0
|
|
21
|
+
Full Changelog: [v0.1.0-alpha.227...v0.1.0-alpha.228](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.227...v0.1.0-alpha.228)
|
|
270
22
|
|
|
271
23
|
### Features
|
|
272
24
|
|
|
273
|
-
* **api:**
|
|
25
|
+
* **api:** manual updates ([96c1460](https://github.com/Snag-Solutions/node-sdk/commit/96c14601067bd1e9ca0bb6fd7141e1f3671324d3))
|
|
274
26
|
|
|
275
27
|
|
|
276
28
|
### Chores
|
|
277
29
|
|
|
278
|
-
*
|
|
279
|
-
* update SDK settings ([cb45f83](https://github.com/Snag-Solutions/node-sdk/commit/cb45f83f653ab83ecf062e3bead73f7335bfd0ac))
|
|
30
|
+
* sync repo ([ff6444b](https://github.com/Snag-Solutions/node-sdk/commit/ff6444b274115c37b467dbf653428ace3a179a48))
|
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2026 Snag Solutions
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Snag Solutions
|
|
1
|
+
# Snag Solutions TypeScript API Library
|
|
2
2
|
|
|
3
|
-
[](https://npmjs.org/package/@snagsolutions/sdk) 
|
|
3
|
+
[>)](https://npmjs.org/package/@snagsolutions/sdk) 
|
|
4
4
|
|
|
5
5
|
This library provides convenient access to the Snag Solutions REST API from server-side TypeScript or JavaScript.
|
|
6
6
|
|
|
@@ -26,13 +26,9 @@ const client = new SnagSolutions({
|
|
|
26
26
|
apiKey: process.env['X_API_KEY'], // This is the default and can be omitted
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
const response = await client.assets.createAsset({ fileName: 'REPLACE_ME' });
|
|
29
|
+
const response = await client.assets.createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 });
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
main();
|
|
31
|
+
console.log(response.signedUrl);
|
|
36
32
|
```
|
|
37
33
|
|
|
38
34
|
### Request & Response types
|
|
@@ -47,12 +43,8 @@ const client = new SnagSolutions({
|
|
|
47
43
|
apiKey: process.env['X_API_KEY'], // This is the default and can be omitted
|
|
48
44
|
});
|
|
49
45
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
const response: SnagSolutions.AssetCreateAssetResponse = await client.assets.createAsset(params);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
main();
|
|
46
|
+
const params: SnagSolutions.AssetCreateAssetParams = { fileName: 'REPLACE_ME', fileSize: 1024 };
|
|
47
|
+
const response: SnagSolutions.AssetCreateAssetResponse = await client.assets.createAsset(params);
|
|
56
48
|
```
|
|
57
49
|
|
|
58
50
|
Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
|
|
@@ -65,8 +57,9 @@ a subclass of `APIError` will be thrown:
|
|
|
65
57
|
|
|
66
58
|
<!-- prettier-ignore -->
|
|
67
59
|
```ts
|
|
68
|
-
|
|
69
|
-
|
|
60
|
+
const response = await client.assets
|
|
61
|
+
.createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 })
|
|
62
|
+
.catch(async (err) => {
|
|
70
63
|
if (err instanceof SnagSolutions.APIError) {
|
|
71
64
|
console.log(err.status); // 400
|
|
72
65
|
console.log(err.name); // BadRequestError
|
|
@@ -75,12 +68,9 @@ async function main() {
|
|
|
75
68
|
throw err;
|
|
76
69
|
}
|
|
77
70
|
});
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
main();
|
|
81
71
|
```
|
|
82
72
|
|
|
83
|
-
Error codes are as
|
|
73
|
+
Error codes are as follows:
|
|
84
74
|
|
|
85
75
|
| Status Code | Error Type |
|
|
86
76
|
| ----------- | -------------------------- |
|
|
@@ -109,7 +99,7 @@ const client = new SnagSolutions({
|
|
|
109
99
|
});
|
|
110
100
|
|
|
111
101
|
// Or, configure per-request:
|
|
112
|
-
await client.assets.createAsset({ fileName: 'REPLACE_ME' }, {
|
|
102
|
+
await client.assets.createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 }, {
|
|
113
103
|
maxRetries: 5,
|
|
114
104
|
});
|
|
115
105
|
```
|
|
@@ -126,7 +116,7 @@ const client = new SnagSolutions({
|
|
|
126
116
|
});
|
|
127
117
|
|
|
128
118
|
// Override per-request:
|
|
129
|
-
await client.assets.createAsset({ fileName: 'REPLACE_ME' }, {
|
|
119
|
+
await client.assets.createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 }, {
|
|
130
120
|
timeout: 5 * 1000,
|
|
131
121
|
});
|
|
132
122
|
```
|
|
@@ -140,24 +130,81 @@ Note that requests which time out will be [retried twice by default](#retries).
|
|
|
140
130
|
### Accessing raw Response data (e.g., headers)
|
|
141
131
|
|
|
142
132
|
The "raw" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.
|
|
133
|
+
This method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.
|
|
143
134
|
|
|
144
135
|
You can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.
|
|
136
|
+
Unlike `.asResponse()` this method consumes the body, returning once it is parsed.
|
|
145
137
|
|
|
146
138
|
<!-- prettier-ignore -->
|
|
147
139
|
```ts
|
|
148
140
|
const client = new SnagSolutions();
|
|
149
141
|
|
|
150
|
-
const response = await client.assets
|
|
142
|
+
const response = await client.assets
|
|
143
|
+
.createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 })
|
|
144
|
+
.asResponse();
|
|
151
145
|
console.log(response.headers.get('X-My-Header'));
|
|
152
146
|
console.log(response.statusText); // access the underlying Response object
|
|
153
147
|
|
|
154
148
|
const { data: response, response: raw } = await client.assets
|
|
155
|
-
.createAsset({ fileName: 'REPLACE_ME' })
|
|
149
|
+
.createAsset({ fileName: 'REPLACE_ME', fileSize: 1024 })
|
|
156
150
|
.withResponse();
|
|
157
151
|
console.log(raw.headers.get('X-My-Header'));
|
|
158
152
|
console.log(response.signedUrl);
|
|
159
153
|
```
|
|
160
154
|
|
|
155
|
+
### Logging
|
|
156
|
+
|
|
157
|
+
> [!IMPORTANT]
|
|
158
|
+
> All log messages are intended for debugging only. The format and content of log messages
|
|
159
|
+
> may change between releases.
|
|
160
|
+
|
|
161
|
+
#### Log levels
|
|
162
|
+
|
|
163
|
+
The log level can be configured in two ways:
|
|
164
|
+
|
|
165
|
+
1. Via the `SNAG_SOLUTIONS_LOG` environment variable
|
|
166
|
+
2. Using the `logLevel` client option (overrides the environment variable if set)
|
|
167
|
+
|
|
168
|
+
```ts
|
|
169
|
+
import SnagSolutions from '@snagsolutions/sdk';
|
|
170
|
+
|
|
171
|
+
const client = new SnagSolutions({
|
|
172
|
+
logLevel: 'debug', // Show all log messages
|
|
173
|
+
});
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Available log levels, from most to least verbose:
|
|
177
|
+
|
|
178
|
+
- `'debug'` - Show debug messages, info, warnings, and errors
|
|
179
|
+
- `'info'` - Show info messages, warnings, and errors
|
|
180
|
+
- `'warn'` - Show warnings and errors (default)
|
|
181
|
+
- `'error'` - Show only errors
|
|
182
|
+
- `'off'` - Disable all logging
|
|
183
|
+
|
|
184
|
+
At the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.
|
|
185
|
+
Some authentication-related headers are redacted, but sensitive data in request and response bodies
|
|
186
|
+
may still be visible.
|
|
187
|
+
|
|
188
|
+
#### Custom logger
|
|
189
|
+
|
|
190
|
+
By default, this library logs to `globalThis.console`. You can also provide a custom logger.
|
|
191
|
+
Most logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.
|
|
192
|
+
|
|
193
|
+
When providing a custom logger, the `logLevel` option still controls which messages are emitted, messages
|
|
194
|
+
below the configured level will not be sent to your logger.
|
|
195
|
+
|
|
196
|
+
```ts
|
|
197
|
+
import SnagSolutions from '@snagsolutions/sdk';
|
|
198
|
+
import pino from 'pino';
|
|
199
|
+
|
|
200
|
+
const logger = pino();
|
|
201
|
+
|
|
202
|
+
const client = new SnagSolutions({
|
|
203
|
+
logger: logger.child({ name: 'SnagSolutions' }),
|
|
204
|
+
logLevel: 'debug', // Send all messages to pino, allowing it to filter
|
|
205
|
+
});
|
|
206
|
+
```
|
|
207
|
+
|
|
161
208
|
### Making custom/undocumented requests
|
|
162
209
|
|
|
163
210
|
This library is typed for convenient access to the documented API. If you need to access undocumented
|
|
@@ -182,9 +229,8 @@ parameter. This library doesn't validate at runtime that the request matches the
|
|
|
182
229
|
send will be sent as-is.
|
|
183
230
|
|
|
184
231
|
```ts
|
|
185
|
-
client.
|
|
186
|
-
|
|
187
|
-
bar: 12,
|
|
232
|
+
client.assets.createAsset({
|
|
233
|
+
// ...
|
|
188
234
|
// @ts-expect-error baz is not yet public
|
|
189
235
|
baz: 'undocumented option',
|
|
190
236
|
});
|
|
@@ -204,69 +250,85 @@ validate or strip extra properties from the response from the API.
|
|
|
204
250
|
|
|
205
251
|
### Customizing the fetch client
|
|
206
252
|
|
|
207
|
-
By default, this library
|
|
253
|
+
By default, this library expects a global `fetch` function is defined.
|
|
208
254
|
|
|
209
|
-
If you
|
|
210
|
-
(for example, if you are running Node with `--experimental-fetch` or using NextJS which polyfills with `undici`),
|
|
211
|
-
add the following import before your first import `from "SnagSolutions"`:
|
|
255
|
+
If you want to use a different `fetch` function, you can either polyfill the global:
|
|
212
256
|
|
|
213
257
|
```ts
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
import SnagSolutions from '@snagsolutions/sdk';
|
|
258
|
+
import fetch from 'my-fetch';
|
|
259
|
+
|
|
260
|
+
globalThis.fetch = fetch;
|
|
218
261
|
```
|
|
219
262
|
|
|
220
|
-
|
|
221
|
-
|
|
263
|
+
Or pass it to the client:
|
|
264
|
+
|
|
265
|
+
```ts
|
|
266
|
+
import SnagSolutions from '@snagsolutions/sdk';
|
|
267
|
+
import fetch from 'my-fetch';
|
|
268
|
+
|
|
269
|
+
const client = new SnagSolutions({ fetch });
|
|
270
|
+
```
|
|
222
271
|
|
|
223
|
-
###
|
|
272
|
+
### Fetch options
|
|
224
273
|
|
|
225
|
-
|
|
226
|
-
which can be used to inspect or alter the `Request` or `Response` before/after each request:
|
|
274
|
+
If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
|
|
227
275
|
|
|
228
276
|
```ts
|
|
229
|
-
import { fetch } from 'undici'; // as one example
|
|
230
277
|
import SnagSolutions from '@snagsolutions/sdk';
|
|
231
278
|
|
|
232
279
|
const client = new SnagSolutions({
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
const response = await fetch(url, init);
|
|
236
|
-
console.log('Got response', response);
|
|
237
|
-
return response;
|
|
280
|
+
fetchOptions: {
|
|
281
|
+
// `RequestInit` options
|
|
238
282
|
},
|
|
239
283
|
});
|
|
240
284
|
```
|
|
241
285
|
|
|
242
|
-
|
|
243
|
-
This is intended for debugging purposes only and may change in the future without notice.
|
|
286
|
+
#### Configuring proxies
|
|
244
287
|
|
|
245
|
-
|
|
288
|
+
To modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy
|
|
289
|
+
options to requests:
|
|
246
290
|
|
|
247
|
-
|
|
291
|
+
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
|
|
248
292
|
|
|
249
|
-
|
|
293
|
+
```ts
|
|
294
|
+
import SnagSolutions from '@snagsolutions/sdk';
|
|
295
|
+
import * as undici from 'undici';
|
|
296
|
+
|
|
297
|
+
const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
|
|
298
|
+
const client = new SnagSolutions({
|
|
299
|
+
fetchOptions: {
|
|
300
|
+
dispatcher: proxyAgent,
|
|
301
|
+
},
|
|
302
|
+
});
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
|
|
250
306
|
|
|
251
|
-
<!-- prettier-ignore -->
|
|
252
307
|
```ts
|
|
253
|
-
import
|
|
254
|
-
import { HttpsProxyAgent } from 'https-proxy-agent';
|
|
308
|
+
import SnagSolutions from '@snagsolutions/sdk';
|
|
255
309
|
|
|
256
|
-
// Configure the default for all requests:
|
|
257
310
|
const client = new SnagSolutions({
|
|
258
|
-
|
|
311
|
+
fetchOptions: {
|
|
312
|
+
proxy: 'http://localhost:8888',
|
|
313
|
+
},
|
|
259
314
|
});
|
|
315
|
+
```
|
|
260
316
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
317
|
+
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
|
|
318
|
+
|
|
319
|
+
```ts
|
|
320
|
+
import SnagSolutions from 'npm:@snagsolutions/sdk';
|
|
321
|
+
|
|
322
|
+
const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
|
|
323
|
+
const client = new SnagSolutions({
|
|
324
|
+
fetchOptions: {
|
|
325
|
+
client: httpClient,
|
|
266
326
|
},
|
|
267
|
-
);
|
|
327
|
+
});
|
|
268
328
|
```
|
|
269
329
|
|
|
330
|
+
## Frequently Asked Questions
|
|
331
|
+
|
|
270
332
|
## Semantic versioning
|
|
271
333
|
|
|
272
334
|
This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
|
|
@@ -281,12 +343,12 @@ We are keen for your feedback; please open an [issue](https://www.github.com/Sna
|
|
|
281
343
|
|
|
282
344
|
## Requirements
|
|
283
345
|
|
|
284
|
-
TypeScript >= 4.
|
|
346
|
+
TypeScript >= 4.9 is supported.
|
|
285
347
|
|
|
286
348
|
The following runtimes are supported:
|
|
287
349
|
|
|
288
350
|
- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)
|
|
289
|
-
- Node.js
|
|
351
|
+
- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
|
|
290
352
|
- Deno v1.28.0 or higher.
|
|
291
353
|
- Bun 1.0 or later.
|
|
292
354
|
- Cloudflare Workers.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-promise.d.mts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
|
package/api-promise.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-promise.d.ts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
|
package/api-promise.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("./internal/tslib.js");
|
|
4
|
+
/** @deprecated Import from ./core/api-promise instead */
|
|
5
|
+
tslib_1.__exportStar(require("./core/api-promise.js"), exports);
|
|
6
|
+
//# sourceMappingURL=api-promise.js.map
|