rehive 3.1.3 → 4.0.0
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/README.md +211 -494
- package/dist/admin.d.mts +31284 -0
- package/dist/admin.d.ts +31284 -0
- package/dist/admin.js +1 -0
- package/dist/admin.mjs +1 -0
- package/dist/auth.d.mts +23 -0
- package/dist/auth.d.ts +23 -0
- package/dist/auth.js +1 -0
- package/dist/auth.mjs +1 -0
- package/dist/chunk-53JJUQ4V.js +1 -0
- package/dist/chunk-5MRX4DHT.js +1 -0
- package/dist/chunk-7WWCXCY2.mjs +1 -0
- package/dist/chunk-HF5XDXOU.mjs +1 -0
- package/dist/chunk-NFN3B6SG.mjs +1 -0
- package/dist/chunk-OEIQFP6T.js +1 -0
- package/dist/chunk-Q2ZX3WFY.mjs +7 -0
- package/dist/chunk-QWQ6ZENI.js +1 -0
- package/dist/chunk-RKDIBDG6.js +7 -0
- package/dist/chunk-S4QKN5WW.mjs +1 -0
- package/dist/chunk-UYUMXTPF.js +7 -0
- package/dist/chunk-V277OEVY.mjs +7 -0
- package/dist/create-api-client-BMeX50D6.d.ts +25 -0
- package/dist/create-api-client-BrsH1l8c.d.mts +25 -0
- package/dist/create-auth-UTklIOTc.d.mts +18340 -0
- package/dist/create-auth-UTklIOTc.d.ts +18340 -0
- package/dist/extensions/alchemy.d.mts +1114 -0
- package/dist/extensions/alchemy.d.ts +1114 -0
- package/dist/extensions/alchemy.js +7 -0
- package/dist/extensions/alchemy.mjs +7 -0
- package/dist/extensions/app.d.mts +2042 -0
- package/dist/extensions/app.d.ts +2042 -0
- package/dist/extensions/app.js +7 -0
- package/dist/extensions/app.mjs +7 -0
- package/dist/extensions/billing.d.mts +828 -0
- package/dist/extensions/billing.d.ts +828 -0
- package/dist/extensions/billing.js +7 -0
- package/dist/extensions/billing.mjs +7 -0
- package/dist/extensions/bridge.d.mts +2028 -0
- package/dist/extensions/bridge.d.ts +2028 -0
- package/dist/extensions/bridge.js +7 -0
- package/dist/extensions/bridge.mjs +7 -0
- package/dist/extensions/builder.d.mts +542 -0
- package/dist/extensions/builder.d.ts +542 -0
- package/dist/extensions/builder.js +7 -0
- package/dist/extensions/builder.mjs +7 -0
- package/dist/extensions/business.d.mts +8972 -0
- package/dist/extensions/business.d.ts +8972 -0
- package/dist/extensions/business.js +7 -0
- package/dist/extensions/business.mjs +7 -0
- package/dist/extensions/conversion.d.mts +2786 -0
- package/dist/extensions/conversion.d.ts +2786 -0
- package/dist/extensions/conversion.js +7 -0
- package/dist/extensions/conversion.mjs +7 -0
- package/dist/extensions/mass-send.d.mts +1294 -0
- package/dist/extensions/mass-send.d.ts +1294 -0
- package/dist/extensions/mass-send.js +7 -0
- package/dist/extensions/mass-send.mjs +7 -0
- package/dist/extensions/notifications.d.mts +2035 -0
- package/dist/extensions/notifications.d.ts +2035 -0
- package/dist/extensions/notifications.js +7 -0
- package/dist/extensions/notifications.mjs +7 -0
- package/dist/extensions/payment-requests.d.mts +3746 -0
- package/dist/extensions/payment-requests.d.ts +3746 -0
- package/dist/extensions/payment-requests.js +7 -0
- package/dist/extensions/payment-requests.mjs +7 -0
- package/dist/extensions/products.d.mts +10092 -0
- package/dist/extensions/products.d.ts +10092 -0
- package/dist/extensions/products.js +7 -0
- package/dist/extensions/products.mjs +7 -0
- package/dist/extensions/rain.d.mts +1896 -0
- package/dist/extensions/rain.d.ts +1896 -0
- package/dist/extensions/rain.js +7 -0
- package/dist/extensions/rain.mjs +7 -0
- package/dist/extensions/rewards.d.mts +2038 -0
- package/dist/extensions/rewards.d.ts +2038 -0
- package/dist/extensions/rewards.js +7 -0
- package/dist/extensions/rewards.mjs +7 -0
- package/dist/extensions/stellar-testnet.d.mts +3922 -0
- package/dist/extensions/stellar-testnet.d.ts +3922 -0
- package/dist/extensions/stellar-testnet.js +7 -0
- package/dist/extensions/stellar-testnet.mjs +7 -0
- package/dist/extensions/stellar.d.mts +3922 -0
- package/dist/extensions/stellar.d.ts +3922 -0
- package/dist/extensions/stellar.js +7 -0
- package/dist/extensions/stellar.mjs +7 -0
- package/dist/index.d.mts +6 -61050
- package/dist/index.d.ts +6 -61050
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.d.mts +8 -61087
- package/dist/react.d.ts +8 -61087
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/user.d.mts +1347 -0
- package/dist/user.d.ts +1347 -0
- package/dist/user.js +1 -0
- package/dist/user.mjs +1 -0
- package/package.json +99 -32
- package/src/auth/core/storage-adapters.ts +58 -0
- package/src/auth/create-auth.ts +563 -0
- package/src/auth/index.ts +4 -0
- package/src/auth/types/index.ts +28 -0
- package/src/extensions/alchemy/create-api.ts +13 -0
- package/src/extensions/alchemy/index.ts +3 -0
- package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/alchemy/openapi-ts/client/index.ts +25 -0
- package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/alchemy/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/alchemy/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/alchemy/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/alchemy/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/alchemy/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/alchemy/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/alchemy/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/alchemy/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/alchemy/openapi-ts/index.ts +4 -0
- package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +179 -0
- package/src/extensions/alchemy/openapi-ts/types.gen.ts +851 -0
- package/src/extensions/app/create-api.ts +13 -0
- package/src/extensions/app/index.ts +3 -0
- package/src/extensions/app/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/app/openapi-ts/client/index.ts +25 -0
- package/src/extensions/app/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/app/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/app/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/app/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/app/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/app/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/app/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/app/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/app/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/app/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/app/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/app/openapi-ts/index.ts +4 -0
- package/src/extensions/app/openapi-ts/sdk.gen.ts +539 -0
- package/src/extensions/app/openapi-ts/types.gen.ts +1702 -0
- package/src/extensions/billing/create-api.ts +13 -0
- package/src/extensions/billing/index.ts +3 -0
- package/src/extensions/billing/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/billing/openapi-ts/client/index.ts +25 -0
- package/src/extensions/billing/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/billing/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/billing/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/billing/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/billing/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/billing/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/billing/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/billing/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/billing/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/billing/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/billing/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/billing/openapi-ts/index.ts +4 -0
- package/src/extensions/billing/openapi-ts/sdk.gen.ts +155 -0
- package/src/extensions/billing/openapi-ts/types.gen.ts +508 -0
- package/src/extensions/bridge/create-api.ts +13 -0
- package/src/extensions/bridge/index.ts +3 -0
- package/src/extensions/bridge/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/bridge/openapi-ts/client/index.ts +25 -0
- package/src/extensions/bridge/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/bridge/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/bridge/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/bridge/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/bridge/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/bridge/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/bridge/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/bridge/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/bridge/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/bridge/openapi-ts/index.ts +4 -0
- package/src/extensions/bridge/openapi-ts/sdk.gen.ts +383 -0
- package/src/extensions/bridge/openapi-ts/types.gen.ts +1855 -0
- package/src/extensions/builder/create-api.ts +13 -0
- package/src/extensions/builder/index.ts +3 -0
- package/src/extensions/builder/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/builder/openapi-ts/client/index.ts +25 -0
- package/src/extensions/builder/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/builder/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/builder/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/builder/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/builder/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/builder/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/builder/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/builder/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/builder/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/builder/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/builder/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/builder/openapi-ts/index.ts +4 -0
- package/src/extensions/builder/openapi-ts/sdk.gen.ts +60 -0
- package/src/extensions/builder/openapi-ts/types.gen.ts +215 -0
- package/src/extensions/business/create-api.ts +13 -0
- package/src/extensions/business/index.ts +3 -0
- package/src/extensions/business/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/business/openapi-ts/client/index.ts +25 -0
- package/src/extensions/business/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/business/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/business/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/business/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/business/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/business/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/business/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/business/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/business/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/business/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/business/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/business/openapi-ts/index.ts +4 -0
- package/src/extensions/business/openapi-ts/sdk.gen.ts +903 -0
- package/src/extensions/business/openapi-ts/types.gen.ts +8718 -0
- package/src/extensions/conversion/create-api.ts +13 -0
- package/src/extensions/conversion/index.ts +3 -0
- package/src/extensions/conversion/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/conversion/openapi-ts/client/index.ts +25 -0
- package/src/extensions/conversion/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/conversion/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/conversion/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/conversion/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/conversion/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/conversion/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/conversion/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/conversion/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/conversion/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/conversion/openapi-ts/index.ts +4 -0
- package/src/extensions/conversion/openapi-ts/sdk.gen.ts +684 -0
- package/src/extensions/conversion/openapi-ts/types.gen.ts +2467 -0
- package/src/extensions/mass-send/create-api.ts +13 -0
- package/src/extensions/mass-send/index.ts +3 -0
- package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/mass-send/openapi-ts/client/index.ts +25 -0
- package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/mass-send/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/mass-send/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/mass-send/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/mass-send/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/mass-send/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/mass-send/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/mass-send/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/mass-send/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/mass-send/openapi-ts/index.ts +4 -0
- package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +270 -0
- package/src/extensions/mass-send/openapi-ts/types.gen.ts +988 -0
- package/src/extensions/notifications/create-api.ts +13 -0
- package/src/extensions/notifications/index.ts +3 -0
- package/src/extensions/notifications/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/notifications/openapi-ts/client/index.ts +25 -0
- package/src/extensions/notifications/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/notifications/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/notifications/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/notifications/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/notifications/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/notifications/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/notifications/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/notifications/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/notifications/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/notifications/openapi-ts/index.ts +4 -0
- package/src/extensions/notifications/openapi-ts/sdk.gen.ts +450 -0
- package/src/extensions/notifications/openapi-ts/types.gen.ts +1732 -0
- package/src/extensions/payment-requests/create-api.ts +13 -0
- package/src/extensions/payment-requests/index.ts +3 -0
- package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/payment-requests/openapi-ts/client/index.ts +25 -0
- package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/payment-requests/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/payment-requests/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/payment-requests/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/payment-requests/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/payment-requests/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/payment-requests/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/payment-requests/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/payment-requests/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/payment-requests/openapi-ts/index.ts +4 -0
- package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +845 -0
- package/src/extensions/payment-requests/openapi-ts/types.gen.ts +3415 -0
- package/src/extensions/products/create-api.ts +13 -0
- package/src/extensions/products/index.ts +3 -0
- package/src/extensions/products/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/products/openapi-ts/client/index.ts +25 -0
- package/src/extensions/products/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/products/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/products/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/products/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/products/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/products/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/products/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/products/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/products/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/products/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/products/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/products/openapi-ts/index.ts +4 -0
- package/src/extensions/products/openapi-ts/sdk.gen.ts +2619 -0
- package/src/extensions/products/openapi-ts/types.gen.ts +9717 -0
- package/src/extensions/rain/create-api.ts +13 -0
- package/src/extensions/rain/index.ts +3 -0
- package/src/extensions/rain/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/rain/openapi-ts/client/index.ts +25 -0
- package/src/extensions/rain/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/rain/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/rain/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/rain/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/rain/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/rain/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/rain/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/rain/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/rain/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/rain/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/rain/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/rain/openapi-ts/index.ts +4 -0
- package/src/extensions/rain/openapi-ts/sdk.gen.ts +227 -0
- package/src/extensions/rain/openapi-ts/types.gen.ts +1660 -0
- package/src/extensions/rewards/create-api.ts +13 -0
- package/src/extensions/rewards/index.ts +3 -0
- package/src/extensions/rewards/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/rewards/openapi-ts/client/index.ts +25 -0
- package/src/extensions/rewards/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/rewards/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/rewards/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/rewards/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/rewards/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/rewards/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/rewards/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/rewards/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/rewards/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/rewards/openapi-ts/index.ts +4 -0
- package/src/extensions/rewards/openapi-ts/sdk.gen.ts +345 -0
- package/src/extensions/rewards/openapi-ts/types.gen.ts +1718 -0
- package/src/extensions/stellar/create-api.ts +13 -0
- package/src/extensions/stellar/index.ts +3 -0
- package/src/extensions/stellar/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/stellar/openapi-ts/client/index.ts +25 -0
- package/src/extensions/stellar/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/stellar/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/stellar/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/stellar/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/stellar/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/stellar/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/stellar/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/stellar/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/stellar/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/stellar/openapi-ts/index.ts +4 -0
- package/src/extensions/stellar/openapi-ts/sdk.gen.ts +1049 -0
- package/src/extensions/stellar/openapi-ts/types.gen.ts +3543 -0
- package/src/extensions/stellar-testnet/create-api.ts +13 -0
- package/src/extensions/stellar-testnet/index.ts +3 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/index.ts +25 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/stellar-testnet/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/stellar-testnet/openapi-ts/index.ts +4 -0
- package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +1049 -0
- package/src/extensions/stellar-testnet/openapi-ts/types.gen.ts +3543 -0
- package/src/platform/admin/create-api.ts +11 -0
- package/src/platform/admin/index.ts +3 -42
- package/src/platform/admin/openapi-ts/client/client.gen.ts +288 -0
- package/src/platform/admin/openapi-ts/client/index.ts +25 -0
- package/src/platform/admin/openapi-ts/client/types.gen.ts +213 -0
- package/src/platform/admin/openapi-ts/client/utils.gen.ts +316 -0
- package/src/platform/admin/openapi-ts/client.gen.ts +16 -0
- package/src/platform/admin/openapi-ts/core/auth.gen.ts +41 -0
- package/src/platform/admin/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/platform/admin/openapi-ts/core/params.gen.ts +169 -0
- package/src/platform/admin/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/platform/admin/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/platform/admin/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/platform/admin/openapi-ts/core/types.gen.ts +104 -0
- package/src/platform/admin/openapi-ts/core/utils.gen.ts +140 -0
- package/src/platform/admin/openapi-ts/index.ts +4 -0
- package/src/platform/admin/openapi-ts/sdk.gen.ts +3975 -0
- package/src/platform/admin/openapi-ts/types.gen.ts +31193 -0
- package/src/platform/user/create-api.ts +11 -0
- package/src/platform/user/index.ts +3 -42
- package/src/platform/user/openapi-ts/client/client.gen.ts +288 -0
- package/src/platform/user/openapi-ts/client/index.ts +25 -0
- package/src/platform/user/openapi-ts/client/types.gen.ts +213 -0
- package/src/platform/user/openapi-ts/client/utils.gen.ts +316 -0
- package/src/platform/user/openapi-ts/client.gen.ts +16 -0
- package/src/platform/user/openapi-ts/core/auth.gen.ts +41 -0
- package/src/platform/user/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/platform/user/openapi-ts/core/params.gen.ts +169 -0
- package/src/platform/user/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/platform/user/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/platform/user/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/platform/user/openapi-ts/core/types.gen.ts +104 -0
- package/src/platform/user/openapi-ts/core/utils.gen.ts +140 -0
- package/src/platform/user/openapi-ts/index.ts +4 -0
- package/src/platform/user/openapi-ts/sdk.gen.ts +2090 -0
- package/src/platform/user/openapi-ts/types.gen.ts +19540 -0
- package/src/shared/api-utils.ts +22 -0
- package/src/shared/bind-sdk.ts +48 -0
- package/src/shared/create-api-client.ts +54 -0
- package/src/extensions/app/http-client.ts +0 -1
- package/src/extensions/app/rehive-app-api.ts +0 -1827
- package/src/extensions/bridge/rehive-bridge-api.ts +0 -1436
- package/src/extensions/business/rehive-business-api.ts +0 -9480
- package/src/extensions/conversion/rehive-conversion-api.ts +0 -3054
- package/src/extensions/mass-send/rehive-mass-send-api.ts +0 -1061
- package/src/extensions/notifications/rehive-notifications-api.ts +0 -1964
- package/src/extensions/payment-requests/rehive-payment-requests-api.ts +0 -4026
- package/src/extensions/products/rehive-products-api.ts +0 -13107
- package/src/extensions/rewards/rehive-rewards-api.ts +0 -2139
- package/src/extensions/stellar/rehive-stellar-api.ts +0 -4219
- package/src/extensions/stellar-testnet/rehive-stellar-testnet-api.ts +0 -4219
- package/src/platform/admin/rehive-platform-admin-api.ts +0 -35075
- package/src/platform/user/rehive-platform-user-api.ts +0 -21554
|
@@ -0,0 +1,2035 @@
|
|
|
1
|
+
import { A as ApiFactoryConfig, B as BoundSdk } from '../create-api-client-BrsH1l8c.mjs';
|
|
2
|
+
import '../create-auth-UTklIOTc.mjs';
|
|
3
|
+
|
|
4
|
+
type AuthToken = string | undefined;
|
|
5
|
+
interface Auth {
|
|
6
|
+
/**
|
|
7
|
+
* Which part of the request do we use to send the auth?
|
|
8
|
+
*
|
|
9
|
+
* @default 'header'
|
|
10
|
+
*/
|
|
11
|
+
in?: 'header' | 'query' | 'cookie';
|
|
12
|
+
/**
|
|
13
|
+
* Header or query parameter name.
|
|
14
|
+
*
|
|
15
|
+
* @default 'Authorization'
|
|
16
|
+
*/
|
|
17
|
+
name?: string;
|
|
18
|
+
scheme?: 'basic' | 'bearer';
|
|
19
|
+
type: 'apiKey' | 'http';
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface SerializerOptions<T> {
|
|
23
|
+
/**
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
explode: boolean;
|
|
27
|
+
style: T;
|
|
28
|
+
}
|
|
29
|
+
type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
|
|
30
|
+
type ObjectStyle = 'form' | 'deepObject';
|
|
31
|
+
|
|
32
|
+
type QuerySerializer = (query: Record<string, unknown>) => string;
|
|
33
|
+
type BodySerializer = (body: any) => any;
|
|
34
|
+
type QuerySerializerOptionsObject = {
|
|
35
|
+
allowReserved?: boolean;
|
|
36
|
+
array?: Partial<SerializerOptions<ArrayStyle>>;
|
|
37
|
+
object?: Partial<SerializerOptions<ObjectStyle>>;
|
|
38
|
+
};
|
|
39
|
+
type QuerySerializerOptions = QuerySerializerOptionsObject & {
|
|
40
|
+
/**
|
|
41
|
+
* Per-parameter serialization overrides. When provided, these settings
|
|
42
|
+
* override the global array/object settings for specific parameter names.
|
|
43
|
+
*/
|
|
44
|
+
parameters?: Record<string, QuerySerializerOptionsObject>;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
|
|
48
|
+
type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
|
|
49
|
+
/**
|
|
50
|
+
* Returns the final request URL.
|
|
51
|
+
*/
|
|
52
|
+
buildUrl: BuildUrlFn;
|
|
53
|
+
getConfig: () => Config;
|
|
54
|
+
request: RequestFn;
|
|
55
|
+
setConfig: (config: Config) => Config;
|
|
56
|
+
} & {
|
|
57
|
+
[K in HttpMethod]: MethodFn;
|
|
58
|
+
} & ([SseFn] extends [never] ? {
|
|
59
|
+
sse?: never;
|
|
60
|
+
} : {
|
|
61
|
+
sse: {
|
|
62
|
+
[K in HttpMethod]: SseFn;
|
|
63
|
+
};
|
|
64
|
+
});
|
|
65
|
+
interface Config$1 {
|
|
66
|
+
/**
|
|
67
|
+
* Auth token or a function returning auth token. The resolved value will be
|
|
68
|
+
* added to the request payload as defined by its `security` array.
|
|
69
|
+
*/
|
|
70
|
+
auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
|
|
71
|
+
/**
|
|
72
|
+
* A function for serializing request body parameter. By default,
|
|
73
|
+
* {@link JSON.stringify()} will be used.
|
|
74
|
+
*/
|
|
75
|
+
bodySerializer?: BodySerializer | null;
|
|
76
|
+
/**
|
|
77
|
+
* An object containing any HTTP headers that you want to pre-populate your
|
|
78
|
+
* `Headers` object with.
|
|
79
|
+
*
|
|
80
|
+
* {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
|
|
81
|
+
*/
|
|
82
|
+
headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
|
|
83
|
+
/**
|
|
84
|
+
* The request method.
|
|
85
|
+
*
|
|
86
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
|
|
87
|
+
*/
|
|
88
|
+
method?: Uppercase<HttpMethod>;
|
|
89
|
+
/**
|
|
90
|
+
* A function for serializing request query parameters. By default, arrays
|
|
91
|
+
* will be exploded in form style, objects will be exploded in deepObject
|
|
92
|
+
* style, and reserved characters are percent-encoded.
|
|
93
|
+
*
|
|
94
|
+
* This method will have no effect if the native `paramsSerializer()` Axios
|
|
95
|
+
* API function is used.
|
|
96
|
+
*
|
|
97
|
+
* {@link https://swagger.io/docs/specification/serialization/#query View examples}
|
|
98
|
+
*/
|
|
99
|
+
querySerializer?: QuerySerializer | QuerySerializerOptions;
|
|
100
|
+
/**
|
|
101
|
+
* A function validating request data. This is useful if you want to ensure
|
|
102
|
+
* the request conforms to the desired shape, so it can be safely sent to
|
|
103
|
+
* the server.
|
|
104
|
+
*/
|
|
105
|
+
requestValidator?: (data: unknown) => Promise<unknown>;
|
|
106
|
+
/**
|
|
107
|
+
* A function transforming response data before it's returned. This is useful
|
|
108
|
+
* for post-processing data, e.g. converting ISO strings into Date objects.
|
|
109
|
+
*/
|
|
110
|
+
responseTransformer?: (data: unknown) => Promise<unknown>;
|
|
111
|
+
/**
|
|
112
|
+
* A function validating response data. This is useful if you want to ensure
|
|
113
|
+
* the response conforms to the desired shape, so it can be safely passed to
|
|
114
|
+
* the transformers and returned to the user.
|
|
115
|
+
*/
|
|
116
|
+
responseValidator?: (data: unknown) => Promise<unknown>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
|
|
120
|
+
/**
|
|
121
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
122
|
+
* fetch instance.
|
|
123
|
+
*
|
|
124
|
+
* @default globalThis.fetch
|
|
125
|
+
*/
|
|
126
|
+
fetch?: typeof fetch;
|
|
127
|
+
/**
|
|
128
|
+
* Implementing clients can call request interceptors inside this hook.
|
|
129
|
+
*/
|
|
130
|
+
onRequest?: (url: string, init: RequestInit) => Promise<Request>;
|
|
131
|
+
/**
|
|
132
|
+
* Callback invoked when a network or parsing error occurs during streaming.
|
|
133
|
+
*
|
|
134
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
135
|
+
*
|
|
136
|
+
* @param error The error that occurred.
|
|
137
|
+
*/
|
|
138
|
+
onSseError?: (error: unknown) => void;
|
|
139
|
+
/**
|
|
140
|
+
* Callback invoked when an event is streamed from the server.
|
|
141
|
+
*
|
|
142
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
143
|
+
*
|
|
144
|
+
* @param event Event streamed from the server.
|
|
145
|
+
* @returns Nothing (void).
|
|
146
|
+
*/
|
|
147
|
+
onSseEvent?: (event: StreamEvent<TData>) => void;
|
|
148
|
+
serializedBody?: RequestInit['body'];
|
|
149
|
+
/**
|
|
150
|
+
* Default retry delay in milliseconds.
|
|
151
|
+
*
|
|
152
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
153
|
+
*
|
|
154
|
+
* @default 3000
|
|
155
|
+
*/
|
|
156
|
+
sseDefaultRetryDelay?: number;
|
|
157
|
+
/**
|
|
158
|
+
* Maximum number of retry attempts before giving up.
|
|
159
|
+
*/
|
|
160
|
+
sseMaxRetryAttempts?: number;
|
|
161
|
+
/**
|
|
162
|
+
* Maximum retry delay in milliseconds.
|
|
163
|
+
*
|
|
164
|
+
* Applies only when exponential backoff is used.
|
|
165
|
+
*
|
|
166
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
167
|
+
*
|
|
168
|
+
* @default 30000
|
|
169
|
+
*/
|
|
170
|
+
sseMaxRetryDelay?: number;
|
|
171
|
+
/**
|
|
172
|
+
* Optional sleep function for retry backoff.
|
|
173
|
+
*
|
|
174
|
+
* Defaults to using `setTimeout`.
|
|
175
|
+
*/
|
|
176
|
+
sseSleepFn?: (ms: number) => Promise<void>;
|
|
177
|
+
url: string;
|
|
178
|
+
};
|
|
179
|
+
interface StreamEvent<TData = unknown> {
|
|
180
|
+
data: TData;
|
|
181
|
+
event?: string;
|
|
182
|
+
id?: string;
|
|
183
|
+
retry?: number;
|
|
184
|
+
}
|
|
185
|
+
type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
|
|
186
|
+
stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
|
|
190
|
+
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
|
|
191
|
+
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
|
|
192
|
+
declare class Interceptors<Interceptor> {
|
|
193
|
+
fns: Array<Interceptor | null>;
|
|
194
|
+
clear(): void;
|
|
195
|
+
eject(id: number | Interceptor): void;
|
|
196
|
+
exists(id: number | Interceptor): boolean;
|
|
197
|
+
getInterceptorIndex(id: number | Interceptor): number;
|
|
198
|
+
update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
|
|
199
|
+
use(fn: Interceptor): number;
|
|
200
|
+
}
|
|
201
|
+
interface Middleware<Req, Res, Err, Options> {
|
|
202
|
+
error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
|
|
203
|
+
request: Interceptors<ReqInterceptor<Req, Options>>;
|
|
204
|
+
response: Interceptors<ResInterceptor<Res, Req, Options>>;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
type ResponseStyle = 'data' | 'fields';
|
|
208
|
+
interface Config<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
|
|
209
|
+
/**
|
|
210
|
+
* Base URL for all requests made by this client.
|
|
211
|
+
*/
|
|
212
|
+
baseUrl?: T['baseUrl'];
|
|
213
|
+
/**
|
|
214
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
215
|
+
* fetch instance.
|
|
216
|
+
*
|
|
217
|
+
* @default globalThis.fetch
|
|
218
|
+
*/
|
|
219
|
+
fetch?: typeof fetch;
|
|
220
|
+
/**
|
|
221
|
+
* Please don't use the Fetch client for Next.js applications. The `next`
|
|
222
|
+
* options won't have any effect.
|
|
223
|
+
*
|
|
224
|
+
* Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
|
|
225
|
+
*/
|
|
226
|
+
next?: never;
|
|
227
|
+
/**
|
|
228
|
+
* Return the response data parsed in a specified format. By default, `auto`
|
|
229
|
+
* will infer the appropriate method from the `Content-Type` response header.
|
|
230
|
+
* You can override this behavior with any of the {@link Body} methods.
|
|
231
|
+
* Select `stream` if you don't want to parse response data at all.
|
|
232
|
+
*
|
|
233
|
+
* @default 'auto'
|
|
234
|
+
*/
|
|
235
|
+
parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
|
|
236
|
+
/**
|
|
237
|
+
* Should we return only data or multiple fields (data, error, response, etc.)?
|
|
238
|
+
*
|
|
239
|
+
* @default 'fields'
|
|
240
|
+
*/
|
|
241
|
+
responseStyle?: ResponseStyle;
|
|
242
|
+
/**
|
|
243
|
+
* Throw an error instead of returning it in the response?
|
|
244
|
+
*
|
|
245
|
+
* @default false
|
|
246
|
+
*/
|
|
247
|
+
throwOnError?: T['throwOnError'];
|
|
248
|
+
}
|
|
249
|
+
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'data', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
|
|
250
|
+
responseStyle: TResponseStyle;
|
|
251
|
+
throwOnError: ThrowOnError;
|
|
252
|
+
}>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
253
|
+
/**
|
|
254
|
+
* Any body that you want to add to your request.
|
|
255
|
+
*
|
|
256
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
|
|
257
|
+
*/
|
|
258
|
+
body?: unknown;
|
|
259
|
+
path?: Record<string, unknown>;
|
|
260
|
+
query?: Record<string, unknown>;
|
|
261
|
+
/**
|
|
262
|
+
* Security mechanism(s) to use for the request.
|
|
263
|
+
*/
|
|
264
|
+
security?: ReadonlyArray<Auth>;
|
|
265
|
+
url: Url;
|
|
266
|
+
}
|
|
267
|
+
interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'data', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
|
|
268
|
+
serializedBody?: string;
|
|
269
|
+
}
|
|
270
|
+
type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'data'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
|
|
271
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
272
|
+
request: Request;
|
|
273
|
+
response: Response;
|
|
274
|
+
}> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
|
|
275
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
276
|
+
error: undefined;
|
|
277
|
+
} | {
|
|
278
|
+
data: undefined;
|
|
279
|
+
error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
|
|
280
|
+
}) & {
|
|
281
|
+
request: Request;
|
|
282
|
+
response: Response;
|
|
283
|
+
}>;
|
|
284
|
+
interface ClientOptions$1 {
|
|
285
|
+
baseUrl?: string;
|
|
286
|
+
responseStyle?: ResponseStyle;
|
|
287
|
+
throwOnError?: boolean;
|
|
288
|
+
}
|
|
289
|
+
type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
290
|
+
type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
|
|
291
|
+
type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
292
|
+
type BuildUrlFn = <TData extends {
|
|
293
|
+
body?: unknown;
|
|
294
|
+
path?: Record<string, unknown>;
|
|
295
|
+
query?: Record<string, unknown>;
|
|
296
|
+
url: string;
|
|
297
|
+
}>(options: TData & Options$1<TData>) => string;
|
|
298
|
+
type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
|
|
299
|
+
interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
|
|
300
|
+
};
|
|
301
|
+
interface TDataShape {
|
|
302
|
+
body?: unknown;
|
|
303
|
+
headers?: unknown;
|
|
304
|
+
path?: unknown;
|
|
305
|
+
query?: unknown;
|
|
306
|
+
url: string;
|
|
307
|
+
}
|
|
308
|
+
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
309
|
+
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'data'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
310
|
+
|
|
311
|
+
type ClientOptions = {
|
|
312
|
+
baseUrl: 'https://notification.services.rehive.com/api/' | (string & {});
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* This serializer can be used if only a `status` is required in the response.
|
|
316
|
+
*/
|
|
317
|
+
type ActionResponse = {
|
|
318
|
+
status?: string;
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Serialize the activation data, should be a token that represents an admin
|
|
322
|
+
* user.
|
|
323
|
+
*/
|
|
324
|
+
type Activate = {
|
|
325
|
+
token: string;
|
|
326
|
+
readonly id: string;
|
|
327
|
+
readonly name: string;
|
|
328
|
+
readonly system_email: string;
|
|
329
|
+
readonly secret: string;
|
|
330
|
+
readonly push_enabled: boolean;
|
|
331
|
+
};
|
|
332
|
+
/**
|
|
333
|
+
* Serialize company, update and delete.
|
|
334
|
+
*/
|
|
335
|
+
type AdminCompany = {
|
|
336
|
+
readonly id: string;
|
|
337
|
+
readonly secret: string;
|
|
338
|
+
push_enabled?: boolean;
|
|
339
|
+
/**
|
|
340
|
+
* * `test` - Test
|
|
341
|
+
* * `production` - Production
|
|
342
|
+
*/
|
|
343
|
+
mode: 'test' | 'production';
|
|
344
|
+
quotas: Quotas;
|
|
345
|
+
bimi_selector_header?: string | null;
|
|
346
|
+
name?: string | null;
|
|
347
|
+
website?: string | null;
|
|
348
|
+
system_email?: string | null;
|
|
349
|
+
support_email?: string | null;
|
|
350
|
+
contact_email?: string | null;
|
|
351
|
+
logo?: string | null;
|
|
352
|
+
icon?: string | null;
|
|
353
|
+
};
|
|
354
|
+
type AdminCompanyResponse = {
|
|
355
|
+
status?: string;
|
|
356
|
+
data?: AdminCompany;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Serialize notifications, create, update and delete.
|
|
360
|
+
*/
|
|
361
|
+
type AdminCreateUpdateNotification = {
|
|
362
|
+
readonly id: number;
|
|
363
|
+
/**
|
|
364
|
+
* * `email` - email
|
|
365
|
+
* * `sms` - sms
|
|
366
|
+
* * `push` - push
|
|
367
|
+
* * `system` - system
|
|
368
|
+
*/
|
|
369
|
+
type?: 'email' | 'sms' | 'push' | 'system' | '' | null;
|
|
370
|
+
name: string;
|
|
371
|
+
subject?: string | null;
|
|
372
|
+
description?: string | null;
|
|
373
|
+
readonly company: string;
|
|
374
|
+
html_message?: string | null;
|
|
375
|
+
text_message?: string | null;
|
|
376
|
+
sms_message?: string | null;
|
|
377
|
+
push_message?: string | null;
|
|
378
|
+
enabled?: boolean;
|
|
379
|
+
preference_enabled?: boolean;
|
|
380
|
+
event?: string | null;
|
|
381
|
+
to_email?: string | null;
|
|
382
|
+
to_mobile?: string | null;
|
|
383
|
+
to_user?: string | null;
|
|
384
|
+
expression?: string | null;
|
|
385
|
+
from_email?: string | null;
|
|
386
|
+
system_enabled?: boolean;
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* Serialize notifications, create, update and delete.
|
|
390
|
+
*/
|
|
391
|
+
type AdminCredential = {
|
|
392
|
+
readonly id: number;
|
|
393
|
+
/**
|
|
394
|
+
* * `twilio` - twilio
|
|
395
|
+
* * `sendgrid` - sendgrid
|
|
396
|
+
*/
|
|
397
|
+
credential_type: 'twilio' | 'sendgrid';
|
|
398
|
+
credentials?: {
|
|
399
|
+
[key: string]: unknown;
|
|
400
|
+
};
|
|
401
|
+
readonly created: number;
|
|
402
|
+
readonly updated: number;
|
|
403
|
+
};
|
|
404
|
+
type AdminCredentialResponse = {
|
|
405
|
+
status?: string;
|
|
406
|
+
data?: AdminCredential;
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* Serialize notification logs.
|
|
410
|
+
*/
|
|
411
|
+
type AdminLog = {
|
|
412
|
+
readonly id: number;
|
|
413
|
+
readonly notification: string | null;
|
|
414
|
+
/**
|
|
415
|
+
* * `email` - email
|
|
416
|
+
* * `sms` - sms
|
|
417
|
+
* * `push` - push
|
|
418
|
+
* * `system` - system
|
|
419
|
+
*/
|
|
420
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
421
|
+
readonly user: string | null;
|
|
422
|
+
recipient: string;
|
|
423
|
+
readonly text_message: string | null;
|
|
424
|
+
readonly html_message: string | null;
|
|
425
|
+
readonly sms_message: string | null;
|
|
426
|
+
readonly push_message: string | null;
|
|
427
|
+
sent?: boolean;
|
|
428
|
+
received?: boolean | null;
|
|
429
|
+
error_message?: string | null;
|
|
430
|
+
readonly created: number;
|
|
431
|
+
};
|
|
432
|
+
type AdminLogResponse = {
|
|
433
|
+
status?: string;
|
|
434
|
+
data?: AdminLog;
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* Serialize log sending.
|
|
438
|
+
*/
|
|
439
|
+
type AdminLogSend = {
|
|
440
|
+
recipient?: string;
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* Serialize notifications, create, update and delete.
|
|
444
|
+
*/
|
|
445
|
+
type AdminNotification = {
|
|
446
|
+
readonly id: number;
|
|
447
|
+
/**
|
|
448
|
+
* * `email` - email
|
|
449
|
+
* * `sms` - sms
|
|
450
|
+
* * `push` - push
|
|
451
|
+
* * `system` - system
|
|
452
|
+
*/
|
|
453
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
454
|
+
template?: AdminReducedTemplate | null;
|
|
455
|
+
name: string;
|
|
456
|
+
subject?: string | null;
|
|
457
|
+
description?: string | null;
|
|
458
|
+
readonly company: string;
|
|
459
|
+
html_message?: string | null;
|
|
460
|
+
text_message?: string | null;
|
|
461
|
+
sms_message?: string | null;
|
|
462
|
+
push_message?: string | null;
|
|
463
|
+
enabled?: boolean;
|
|
464
|
+
preference_enabled?: boolean;
|
|
465
|
+
readonly event: string;
|
|
466
|
+
to_email?: string | null;
|
|
467
|
+
to_mobile?: string | null;
|
|
468
|
+
to_user?: string | null;
|
|
469
|
+
expression?: string | null;
|
|
470
|
+
from_email?: string | null;
|
|
471
|
+
layout?: ReducedNotificationLayout;
|
|
472
|
+
system_enabled?: boolean;
|
|
473
|
+
};
|
|
474
|
+
type AdminNotificationResponse = {
|
|
475
|
+
status?: string;
|
|
476
|
+
data?: AdminNotification;
|
|
477
|
+
};
|
|
478
|
+
/**
|
|
479
|
+
* A ModelSerializer that takes additional arguments for
|
|
480
|
+
* "fields", "omit" and "expand" in order to
|
|
481
|
+
* control which fields are displayed, and whether to replace simple
|
|
482
|
+
* values with complex, nested serializations
|
|
483
|
+
*/
|
|
484
|
+
type AdminReducedTemplate = {
|
|
485
|
+
id: string;
|
|
486
|
+
default?: boolean;
|
|
487
|
+
deletable?: boolean;
|
|
488
|
+
};
|
|
489
|
+
/**
|
|
490
|
+
* Serialize templates.
|
|
491
|
+
*/
|
|
492
|
+
type AdminTemplate = {
|
|
493
|
+
id: string;
|
|
494
|
+
/**
|
|
495
|
+
* * `email` - email
|
|
496
|
+
* * `sms` - sms
|
|
497
|
+
* * `push` - push
|
|
498
|
+
* * `system` - system
|
|
499
|
+
*/
|
|
500
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
501
|
+
name: string;
|
|
502
|
+
subject: string;
|
|
503
|
+
description?: string | null;
|
|
504
|
+
html_message?: string | null;
|
|
505
|
+
text_message?: string | null;
|
|
506
|
+
sms_message?: string | null;
|
|
507
|
+
push_message?: string | null;
|
|
508
|
+
enabled?: boolean;
|
|
509
|
+
preference_enabled?: boolean;
|
|
510
|
+
readonly event: string;
|
|
511
|
+
to_email?: string | null;
|
|
512
|
+
to_mobile?: string | null;
|
|
513
|
+
to_user?: string | null;
|
|
514
|
+
expression?: string | null;
|
|
515
|
+
layout: ReducedLayoutTemplate;
|
|
516
|
+
default?: boolean;
|
|
517
|
+
deletable?: boolean;
|
|
518
|
+
readonly created: number;
|
|
519
|
+
readonly updated: number;
|
|
520
|
+
};
|
|
521
|
+
type AdminTemplateResponse = {
|
|
522
|
+
status?: string;
|
|
523
|
+
data?: AdminTemplate;
|
|
524
|
+
};
|
|
525
|
+
/**
|
|
526
|
+
* Trigger a notification.
|
|
527
|
+
*/
|
|
528
|
+
type AdminTriggerNotification = {
|
|
529
|
+
data?: {
|
|
530
|
+
[key: string]: unknown;
|
|
531
|
+
} | null;
|
|
532
|
+
users?: Array<string> | null;
|
|
533
|
+
groups?: Array<string> | null;
|
|
534
|
+
readonly id: string;
|
|
535
|
+
/**
|
|
536
|
+
* * `pending` - pending
|
|
537
|
+
* * `processing` - processing
|
|
538
|
+
* * `completed` - completed
|
|
539
|
+
* * `failed` - failed
|
|
540
|
+
*/
|
|
541
|
+
status: 'pending' | 'processing' | 'completed' | 'failed';
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* Serialize the deactivation data, should be a token that represents an admin
|
|
545
|
+
* user.
|
|
546
|
+
*/
|
|
547
|
+
type Deactivate = {
|
|
548
|
+
token: string;
|
|
549
|
+
purge?: boolean;
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* A ModelSerializer that takes additional arguments for
|
|
553
|
+
* "fields", "omit" and "expand" in order to
|
|
554
|
+
* control which fields are displayed, and whether to replace simple
|
|
555
|
+
* values with complex, nested serializations
|
|
556
|
+
*/
|
|
557
|
+
type LayoutTemplate = {
|
|
558
|
+
readonly id: string;
|
|
559
|
+
readonly name: string;
|
|
560
|
+
readonly description: string | null;
|
|
561
|
+
/**
|
|
562
|
+
* * `email` - email
|
|
563
|
+
* * `sms` - sms
|
|
564
|
+
* * `push` - push
|
|
565
|
+
* * `system` - system
|
|
566
|
+
*/
|
|
567
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
568
|
+
readonly html_layout: string | null;
|
|
569
|
+
readonly text_layout: string | null;
|
|
570
|
+
readonly sms_layout: string | null;
|
|
571
|
+
readonly push_layout: string | null;
|
|
572
|
+
readonly created: number;
|
|
573
|
+
readonly updated: number;
|
|
574
|
+
};
|
|
575
|
+
type LayoutTemplateResponse = {
|
|
576
|
+
status?: string;
|
|
577
|
+
data?: LayoutTemplate;
|
|
578
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* A ModelSerializer that takes additional arguments for
|
|
581
|
+
* "fields", "omit" and "expand" in order to
|
|
582
|
+
* control which fields are displayed, and whether to replace simple
|
|
583
|
+
* values with complex, nested serializations
|
|
584
|
+
*/
|
|
585
|
+
type NotificationLayout = {
|
|
586
|
+
readonly id: string;
|
|
587
|
+
name: string;
|
|
588
|
+
description?: string | null;
|
|
589
|
+
/**
|
|
590
|
+
* * `email` - email
|
|
591
|
+
* * `sms` - sms
|
|
592
|
+
* * `push` - push
|
|
593
|
+
* * `system` - system
|
|
594
|
+
*/
|
|
595
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
596
|
+
html_layout?: string | null;
|
|
597
|
+
text_layout?: string | null;
|
|
598
|
+
sms_layout?: string | null;
|
|
599
|
+
push_layout?: string | null;
|
|
600
|
+
readonly created: number;
|
|
601
|
+
readonly updated: number;
|
|
602
|
+
};
|
|
603
|
+
type NotificationLayoutResponse = {
|
|
604
|
+
status?: string;
|
|
605
|
+
data?: NotificationLayout;
|
|
606
|
+
};
|
|
607
|
+
type PaginatedAdminCredentialList = {
|
|
608
|
+
count?: number;
|
|
609
|
+
next?: string | null;
|
|
610
|
+
previous?: string | null;
|
|
611
|
+
results?: Array<AdminCredential>;
|
|
612
|
+
};
|
|
613
|
+
type PaginatedAdminCredentialListResponse = {
|
|
614
|
+
status?: string;
|
|
615
|
+
data?: PaginatedAdminCredentialList;
|
|
616
|
+
};
|
|
617
|
+
type PaginatedAdminLogList = {
|
|
618
|
+
count?: number;
|
|
619
|
+
next?: string | null;
|
|
620
|
+
previous?: string | null;
|
|
621
|
+
results?: Array<AdminLog>;
|
|
622
|
+
};
|
|
623
|
+
type PaginatedAdminLogListResponse = {
|
|
624
|
+
status?: string;
|
|
625
|
+
data?: PaginatedAdminLogList;
|
|
626
|
+
};
|
|
627
|
+
type PaginatedAdminNotificationList = {
|
|
628
|
+
count?: number;
|
|
629
|
+
next?: string | null;
|
|
630
|
+
previous?: string | null;
|
|
631
|
+
results?: Array<AdminNotification>;
|
|
632
|
+
};
|
|
633
|
+
type PaginatedAdminNotificationListResponse = {
|
|
634
|
+
status?: string;
|
|
635
|
+
data?: PaginatedAdminNotificationList;
|
|
636
|
+
};
|
|
637
|
+
type PaginatedAdminTemplateList = {
|
|
638
|
+
count?: number;
|
|
639
|
+
next?: string | null;
|
|
640
|
+
previous?: string | null;
|
|
641
|
+
results?: Array<AdminTemplate>;
|
|
642
|
+
};
|
|
643
|
+
type PaginatedAdminTemplateListResponse = {
|
|
644
|
+
status?: string;
|
|
645
|
+
data?: PaginatedAdminTemplateList;
|
|
646
|
+
};
|
|
647
|
+
type PaginatedLayoutTemplateList = {
|
|
648
|
+
count?: number;
|
|
649
|
+
next?: string | null;
|
|
650
|
+
previous?: string | null;
|
|
651
|
+
results?: Array<LayoutTemplate>;
|
|
652
|
+
};
|
|
653
|
+
type PaginatedLayoutTemplateListResponse = {
|
|
654
|
+
status?: string;
|
|
655
|
+
data?: PaginatedLayoutTemplateList;
|
|
656
|
+
};
|
|
657
|
+
type PaginatedNotificationLayoutList = {
|
|
658
|
+
count?: number;
|
|
659
|
+
next?: string | null;
|
|
660
|
+
previous?: string | null;
|
|
661
|
+
results?: Array<NotificationLayout>;
|
|
662
|
+
};
|
|
663
|
+
type PaginatedNotificationLayoutListResponse = {
|
|
664
|
+
status?: string;
|
|
665
|
+
data?: PaginatedNotificationLayoutList;
|
|
666
|
+
};
|
|
667
|
+
type PaginatedUserLogList = {
|
|
668
|
+
count?: number;
|
|
669
|
+
next?: string | null;
|
|
670
|
+
previous?: string | null;
|
|
671
|
+
results?: Array<UserLog>;
|
|
672
|
+
};
|
|
673
|
+
type PaginatedUserLogListResponse = {
|
|
674
|
+
status?: string;
|
|
675
|
+
data?: PaginatedUserLogList;
|
|
676
|
+
};
|
|
677
|
+
type PaginatedUserNotificationList = {
|
|
678
|
+
count?: number;
|
|
679
|
+
next?: string | null;
|
|
680
|
+
previous?: string | null;
|
|
681
|
+
results?: Array<UserNotification>;
|
|
682
|
+
};
|
|
683
|
+
type PaginatedUserNotificationListResponse = {
|
|
684
|
+
status?: string;
|
|
685
|
+
data?: PaginatedUserNotificationList;
|
|
686
|
+
};
|
|
687
|
+
/**
|
|
688
|
+
* Serialize company, update and delete.
|
|
689
|
+
*/
|
|
690
|
+
type PatchedAdminCompany = {
|
|
691
|
+
readonly id?: string;
|
|
692
|
+
readonly secret?: string;
|
|
693
|
+
push_enabled?: boolean;
|
|
694
|
+
/**
|
|
695
|
+
* * `test` - Test
|
|
696
|
+
* * `production` - Production
|
|
697
|
+
*/
|
|
698
|
+
mode?: 'test' | 'production';
|
|
699
|
+
quotas?: Quotas;
|
|
700
|
+
bimi_selector_header?: string | null;
|
|
701
|
+
name?: string | null;
|
|
702
|
+
website?: string | null;
|
|
703
|
+
system_email?: string | null;
|
|
704
|
+
support_email?: string | null;
|
|
705
|
+
contact_email?: string | null;
|
|
706
|
+
logo?: string | null;
|
|
707
|
+
icon?: string | null;
|
|
708
|
+
};
|
|
709
|
+
/**
|
|
710
|
+
* Serialize notifications, create, update and delete.
|
|
711
|
+
*/
|
|
712
|
+
type PatchedAdminCreateUpdateNotification = {
|
|
713
|
+
readonly id?: number;
|
|
714
|
+
/**
|
|
715
|
+
* * `email` - email
|
|
716
|
+
* * `sms` - sms
|
|
717
|
+
* * `push` - push
|
|
718
|
+
* * `system` - system
|
|
719
|
+
*/
|
|
720
|
+
type?: 'email' | 'sms' | 'push' | 'system' | '' | null;
|
|
721
|
+
name?: string;
|
|
722
|
+
subject?: string | null;
|
|
723
|
+
description?: string | null;
|
|
724
|
+
readonly company?: string;
|
|
725
|
+
html_message?: string | null;
|
|
726
|
+
text_message?: string | null;
|
|
727
|
+
sms_message?: string | null;
|
|
728
|
+
push_message?: string | null;
|
|
729
|
+
enabled?: boolean;
|
|
730
|
+
preference_enabled?: boolean;
|
|
731
|
+
event?: string | null;
|
|
732
|
+
to_email?: string | null;
|
|
733
|
+
to_mobile?: string | null;
|
|
734
|
+
to_user?: string | null;
|
|
735
|
+
expression?: string | null;
|
|
736
|
+
from_email?: string | null;
|
|
737
|
+
system_enabled?: boolean;
|
|
738
|
+
};
|
|
739
|
+
/**
|
|
740
|
+
* Serialize notifications, create, update and delete.
|
|
741
|
+
*/
|
|
742
|
+
type PatchedAdminCredential = {
|
|
743
|
+
readonly id?: number;
|
|
744
|
+
/**
|
|
745
|
+
* * `twilio` - twilio
|
|
746
|
+
* * `sendgrid` - sendgrid
|
|
747
|
+
*/
|
|
748
|
+
credential_type?: 'twilio' | 'sendgrid';
|
|
749
|
+
credentials?: {
|
|
750
|
+
[key: string]: unknown;
|
|
751
|
+
};
|
|
752
|
+
readonly created?: number;
|
|
753
|
+
readonly updated?: number;
|
|
754
|
+
};
|
|
755
|
+
/**
|
|
756
|
+
* A ModelSerializer that takes additional arguments for
|
|
757
|
+
* "fields", "omit" and "expand" in order to
|
|
758
|
+
* control which fields are displayed, and whether to replace simple
|
|
759
|
+
* values with complex, nested serializations
|
|
760
|
+
*/
|
|
761
|
+
type PatchedNotificationLayout = {
|
|
762
|
+
readonly id?: string;
|
|
763
|
+
name?: string;
|
|
764
|
+
description?: string | null;
|
|
765
|
+
/**
|
|
766
|
+
* * `email` - email
|
|
767
|
+
* * `sms` - sms
|
|
768
|
+
* * `push` - push
|
|
769
|
+
* * `system` - system
|
|
770
|
+
*/
|
|
771
|
+
type?: 'email' | 'sms' | 'push' | 'system';
|
|
772
|
+
html_layout?: string | null;
|
|
773
|
+
text_layout?: string | null;
|
|
774
|
+
sms_layout?: string | null;
|
|
775
|
+
push_layout?: string | null;
|
|
776
|
+
readonly created?: number;
|
|
777
|
+
readonly updated?: number;
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* Serialize notification logs for users (masked values only).
|
|
781
|
+
*/
|
|
782
|
+
type PatchedUserLog = {
|
|
783
|
+
readonly id?: number;
|
|
784
|
+
readonly notification?: string | null;
|
|
785
|
+
/**
|
|
786
|
+
* * `email` - email
|
|
787
|
+
* * `sms` - sms
|
|
788
|
+
* * `push` - push
|
|
789
|
+
* * `system` - system
|
|
790
|
+
*/
|
|
791
|
+
type?: 'email' | 'sms' | 'push' | 'system';
|
|
792
|
+
readonly subject?: string | null;
|
|
793
|
+
readonly text_message?: string | null;
|
|
794
|
+
readonly html_message?: string | null;
|
|
795
|
+
readonly sms_message?: string | null;
|
|
796
|
+
readonly push_message?: string | null;
|
|
797
|
+
readonly created?: number;
|
|
798
|
+
readonly updated?: string;
|
|
799
|
+
received?: boolean;
|
|
800
|
+
};
|
|
801
|
+
/**
|
|
802
|
+
* Serialize notifications update. Actually updates the notification
|
|
803
|
+
* preference instead.
|
|
804
|
+
*/
|
|
805
|
+
type PatchedUserUpdateNotification = {
|
|
806
|
+
enabled?: boolean;
|
|
807
|
+
};
|
|
808
|
+
type Quotas = {
|
|
809
|
+
readonly sms: number;
|
|
810
|
+
readonly email: number;
|
|
811
|
+
};
|
|
812
|
+
/**
|
|
813
|
+
* A ModelSerializer that takes additional arguments for
|
|
814
|
+
* "fields", "omit" and "expand" in order to
|
|
815
|
+
* control which fields are displayed, and whether to replace simple
|
|
816
|
+
* values with complex, nested serializations
|
|
817
|
+
*/
|
|
818
|
+
type ReducedLayoutTemplate = {
|
|
819
|
+
readonly id: string;
|
|
820
|
+
name: string;
|
|
821
|
+
description?: string | null;
|
|
822
|
+
readonly created: number;
|
|
823
|
+
readonly updated: number;
|
|
824
|
+
};
|
|
825
|
+
/**
|
|
826
|
+
* A ModelSerializer that takes additional arguments for
|
|
827
|
+
* "fields", "omit" and "expand" in order to
|
|
828
|
+
* control which fields are displayed, and whether to replace simple
|
|
829
|
+
* values with complex, nested serializations
|
|
830
|
+
*/
|
|
831
|
+
type ReducedNotificationLayout = {
|
|
832
|
+
readonly id: string;
|
|
833
|
+
name: string;
|
|
834
|
+
description?: string | null;
|
|
835
|
+
readonly created: number;
|
|
836
|
+
readonly updated: number;
|
|
837
|
+
};
|
|
838
|
+
/**
|
|
839
|
+
* Serialize notification logs for users (masked values only).
|
|
840
|
+
*/
|
|
841
|
+
type UserLog = {
|
|
842
|
+
readonly id: number;
|
|
843
|
+
readonly notification: string | null;
|
|
844
|
+
/**
|
|
845
|
+
* * `email` - email
|
|
846
|
+
* * `sms` - sms
|
|
847
|
+
* * `push` - push
|
|
848
|
+
* * `system` - system
|
|
849
|
+
*/
|
|
850
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
851
|
+
readonly subject: string | null;
|
|
852
|
+
readonly text_message: string | null;
|
|
853
|
+
readonly html_message: string | null;
|
|
854
|
+
readonly sms_message: string | null;
|
|
855
|
+
readonly push_message: string | null;
|
|
856
|
+
readonly created: number;
|
|
857
|
+
readonly updated: string;
|
|
858
|
+
received: boolean;
|
|
859
|
+
};
|
|
860
|
+
type UserLogResponse = {
|
|
861
|
+
status?: string;
|
|
862
|
+
data?: UserLog;
|
|
863
|
+
};
|
|
864
|
+
/**
|
|
865
|
+
* Serialize notifications.
|
|
866
|
+
*/
|
|
867
|
+
type UserNotification = {
|
|
868
|
+
readonly id: number;
|
|
869
|
+
name: string;
|
|
870
|
+
description?: string | null;
|
|
871
|
+
readonly event: string;
|
|
872
|
+
readonly type: string;
|
|
873
|
+
readonly enabled: boolean;
|
|
874
|
+
};
|
|
875
|
+
type UserNotificationResponse = {
|
|
876
|
+
status?: string;
|
|
877
|
+
data?: UserNotification;
|
|
878
|
+
};
|
|
879
|
+
/**
|
|
880
|
+
* Serialize notifications update. Actually updates the notification
|
|
881
|
+
* preference instead.
|
|
882
|
+
*/
|
|
883
|
+
type UserUpdateNotification = {
|
|
884
|
+
enabled: boolean;
|
|
885
|
+
};
|
|
886
|
+
/**
|
|
887
|
+
* Validate and serialize the webhook data. The secret key and company are
|
|
888
|
+
* used to identify a specific company.
|
|
889
|
+
*/
|
|
890
|
+
type Webhook = {
|
|
891
|
+
id: string;
|
|
892
|
+
event: string;
|
|
893
|
+
company: string;
|
|
894
|
+
data: {
|
|
895
|
+
[key: string]: unknown;
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* Serialize company, update and delete.
|
|
900
|
+
*/
|
|
901
|
+
type AdminCompanyWritable = {
|
|
902
|
+
push_enabled?: boolean;
|
|
903
|
+
bimi_selector_header?: string | null;
|
|
904
|
+
name?: string | null;
|
|
905
|
+
website?: string | null;
|
|
906
|
+
system_email?: string | null;
|
|
907
|
+
support_email?: string | null;
|
|
908
|
+
contact_email?: string | null;
|
|
909
|
+
logo?: string | null;
|
|
910
|
+
icon?: string | null;
|
|
911
|
+
};
|
|
912
|
+
type AdminCompanyResponseWritable = {
|
|
913
|
+
status?: string;
|
|
914
|
+
data?: AdminCompanyWritable;
|
|
915
|
+
};
|
|
916
|
+
/**
|
|
917
|
+
* Serialize notifications, create, update and delete.
|
|
918
|
+
*/
|
|
919
|
+
type AdminCreateUpdateNotificationWritable = {
|
|
920
|
+
/**
|
|
921
|
+
* * `email` - email
|
|
922
|
+
* * `sms` - sms
|
|
923
|
+
* * `push` - push
|
|
924
|
+
* * `system` - system
|
|
925
|
+
*/
|
|
926
|
+
type?: 'email' | 'sms' | 'push' | 'system' | '' | null;
|
|
927
|
+
template?: string | null;
|
|
928
|
+
name: string;
|
|
929
|
+
subject?: string | null;
|
|
930
|
+
description?: string | null;
|
|
931
|
+
html_message?: string | null;
|
|
932
|
+
text_message?: string | null;
|
|
933
|
+
sms_message?: string | null;
|
|
934
|
+
push_message?: string | null;
|
|
935
|
+
enabled?: boolean;
|
|
936
|
+
preference_enabled?: boolean;
|
|
937
|
+
event?: string | null;
|
|
938
|
+
to_email?: string | null;
|
|
939
|
+
to_mobile?: string | null;
|
|
940
|
+
to_user?: string | null;
|
|
941
|
+
expression?: string | null;
|
|
942
|
+
from_email?: string | null;
|
|
943
|
+
layout?: string | null;
|
|
944
|
+
system_enabled?: boolean;
|
|
945
|
+
};
|
|
946
|
+
/**
|
|
947
|
+
* Serialize notifications, create, update and delete.
|
|
948
|
+
*/
|
|
949
|
+
type AdminCredentialWritable = {
|
|
950
|
+
/**
|
|
951
|
+
* * `twilio` - twilio
|
|
952
|
+
* * `sendgrid` - sendgrid
|
|
953
|
+
*/
|
|
954
|
+
credential_type: 'twilio' | 'sendgrid';
|
|
955
|
+
credentials?: {
|
|
956
|
+
[key: string]: unknown;
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
type AdminCredentialResponseWritable = {
|
|
960
|
+
status?: string;
|
|
961
|
+
data?: AdminCredentialWritable;
|
|
962
|
+
};
|
|
963
|
+
/**
|
|
964
|
+
* Serialize notification logs.
|
|
965
|
+
*/
|
|
966
|
+
type AdminLogWritable = {
|
|
967
|
+
recipient: string;
|
|
968
|
+
sent?: boolean;
|
|
969
|
+
received?: boolean | null;
|
|
970
|
+
error_message?: string | null;
|
|
971
|
+
};
|
|
972
|
+
type AdminLogResponseWritable = {
|
|
973
|
+
status?: string;
|
|
974
|
+
data?: AdminLogWritable;
|
|
975
|
+
};
|
|
976
|
+
/**
|
|
977
|
+
* Serialize notifications, create, update and delete.
|
|
978
|
+
*/
|
|
979
|
+
type AdminNotificationWritable = {
|
|
980
|
+
template?: AdminReducedTemplate | null;
|
|
981
|
+
name: string;
|
|
982
|
+
subject?: string | null;
|
|
983
|
+
description?: string | null;
|
|
984
|
+
html_message?: string | null;
|
|
985
|
+
text_message?: string | null;
|
|
986
|
+
sms_message?: string | null;
|
|
987
|
+
push_message?: string | null;
|
|
988
|
+
enabled?: boolean;
|
|
989
|
+
preference_enabled?: boolean;
|
|
990
|
+
to_email?: string | null;
|
|
991
|
+
to_mobile?: string | null;
|
|
992
|
+
to_user?: string | null;
|
|
993
|
+
expression?: string | null;
|
|
994
|
+
from_email?: string | null;
|
|
995
|
+
layout?: ReducedNotificationLayoutWritable;
|
|
996
|
+
system_enabled?: boolean;
|
|
997
|
+
};
|
|
998
|
+
type AdminNotificationResponseWritable = {
|
|
999
|
+
status?: string;
|
|
1000
|
+
data?: AdminNotificationWritable;
|
|
1001
|
+
};
|
|
1002
|
+
/**
|
|
1003
|
+
* Serialize templates.
|
|
1004
|
+
*/
|
|
1005
|
+
type AdminTemplateWritable = {
|
|
1006
|
+
id: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* * `email` - email
|
|
1009
|
+
* * `sms` - sms
|
|
1010
|
+
* * `push` - push
|
|
1011
|
+
* * `system` - system
|
|
1012
|
+
*/
|
|
1013
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
1014
|
+
name: string;
|
|
1015
|
+
subject: string;
|
|
1016
|
+
description?: string | null;
|
|
1017
|
+
html_message?: string | null;
|
|
1018
|
+
text_message?: string | null;
|
|
1019
|
+
sms_message?: string | null;
|
|
1020
|
+
push_message?: string | null;
|
|
1021
|
+
enabled?: boolean;
|
|
1022
|
+
preference_enabled?: boolean;
|
|
1023
|
+
to_email?: string | null;
|
|
1024
|
+
to_mobile?: string | null;
|
|
1025
|
+
to_user?: string | null;
|
|
1026
|
+
expression?: string | null;
|
|
1027
|
+
default?: boolean;
|
|
1028
|
+
deletable?: boolean;
|
|
1029
|
+
};
|
|
1030
|
+
type AdminTemplateResponseWritable = {
|
|
1031
|
+
status?: string;
|
|
1032
|
+
data?: AdminTemplateWritable;
|
|
1033
|
+
};
|
|
1034
|
+
type LayoutTemplateResponseWritable = {
|
|
1035
|
+
status?: string;
|
|
1036
|
+
};
|
|
1037
|
+
/**
|
|
1038
|
+
* A ModelSerializer that takes additional arguments for
|
|
1039
|
+
* "fields", "omit" and "expand" in order to
|
|
1040
|
+
* control which fields are displayed, and whether to replace simple
|
|
1041
|
+
* values with complex, nested serializations
|
|
1042
|
+
*/
|
|
1043
|
+
type NotificationLayoutWritable = {
|
|
1044
|
+
name: string;
|
|
1045
|
+
description?: string | null;
|
|
1046
|
+
/**
|
|
1047
|
+
* * `email` - email
|
|
1048
|
+
* * `sms` - sms
|
|
1049
|
+
* * `push` - push
|
|
1050
|
+
* * `system` - system
|
|
1051
|
+
*/
|
|
1052
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
1053
|
+
html_layout?: string | null;
|
|
1054
|
+
text_layout?: string | null;
|
|
1055
|
+
sms_layout?: string | null;
|
|
1056
|
+
push_layout?: string | null;
|
|
1057
|
+
};
|
|
1058
|
+
type NotificationLayoutResponseWritable = {
|
|
1059
|
+
status?: string;
|
|
1060
|
+
data?: NotificationLayoutWritable;
|
|
1061
|
+
};
|
|
1062
|
+
type PaginatedAdminCredentialListWritable = {
|
|
1063
|
+
count?: number;
|
|
1064
|
+
next?: string | null;
|
|
1065
|
+
previous?: string | null;
|
|
1066
|
+
results?: Array<AdminCredentialWritable>;
|
|
1067
|
+
};
|
|
1068
|
+
type PaginatedAdminCredentialListResponseWritable = {
|
|
1069
|
+
status?: string;
|
|
1070
|
+
data?: PaginatedAdminCredentialListWritable;
|
|
1071
|
+
};
|
|
1072
|
+
type PaginatedAdminLogListWritable = {
|
|
1073
|
+
count?: number;
|
|
1074
|
+
next?: string | null;
|
|
1075
|
+
previous?: string | null;
|
|
1076
|
+
results?: Array<AdminLogWritable>;
|
|
1077
|
+
};
|
|
1078
|
+
type PaginatedAdminLogListResponseWritable = {
|
|
1079
|
+
status?: string;
|
|
1080
|
+
data?: PaginatedAdminLogListWritable;
|
|
1081
|
+
};
|
|
1082
|
+
type PaginatedAdminNotificationListWritable = {
|
|
1083
|
+
count?: number;
|
|
1084
|
+
next?: string | null;
|
|
1085
|
+
previous?: string | null;
|
|
1086
|
+
results?: Array<AdminNotificationWritable>;
|
|
1087
|
+
};
|
|
1088
|
+
type PaginatedAdminNotificationListResponseWritable = {
|
|
1089
|
+
status?: string;
|
|
1090
|
+
data?: PaginatedAdminNotificationListWritable;
|
|
1091
|
+
};
|
|
1092
|
+
type PaginatedAdminTemplateListWritable = {
|
|
1093
|
+
count?: number;
|
|
1094
|
+
next?: string | null;
|
|
1095
|
+
previous?: string | null;
|
|
1096
|
+
results?: Array<AdminTemplateWritable>;
|
|
1097
|
+
};
|
|
1098
|
+
type PaginatedAdminTemplateListResponseWritable = {
|
|
1099
|
+
status?: string;
|
|
1100
|
+
data?: PaginatedAdminTemplateListWritable;
|
|
1101
|
+
};
|
|
1102
|
+
type PaginatedLayoutTemplateListWritable = {
|
|
1103
|
+
count?: number;
|
|
1104
|
+
next?: string | null;
|
|
1105
|
+
previous?: string | null;
|
|
1106
|
+
results?: Array<unknown>;
|
|
1107
|
+
};
|
|
1108
|
+
type PaginatedLayoutTemplateListResponseWritable = {
|
|
1109
|
+
status?: string;
|
|
1110
|
+
data?: PaginatedLayoutTemplateListWritable;
|
|
1111
|
+
};
|
|
1112
|
+
type PaginatedNotificationLayoutListWritable = {
|
|
1113
|
+
count?: number;
|
|
1114
|
+
next?: string | null;
|
|
1115
|
+
previous?: string | null;
|
|
1116
|
+
results?: Array<NotificationLayoutWritable>;
|
|
1117
|
+
};
|
|
1118
|
+
type PaginatedNotificationLayoutListResponseWritable = {
|
|
1119
|
+
status?: string;
|
|
1120
|
+
data?: PaginatedNotificationLayoutListWritable;
|
|
1121
|
+
};
|
|
1122
|
+
type PaginatedUserLogListWritable = {
|
|
1123
|
+
count?: number;
|
|
1124
|
+
next?: string | null;
|
|
1125
|
+
previous?: string | null;
|
|
1126
|
+
results?: Array<UserLogWritable>;
|
|
1127
|
+
};
|
|
1128
|
+
type PaginatedUserLogListResponseWritable = {
|
|
1129
|
+
status?: string;
|
|
1130
|
+
data?: PaginatedUserLogListWritable;
|
|
1131
|
+
};
|
|
1132
|
+
type PaginatedUserNotificationListWritable = {
|
|
1133
|
+
count?: number;
|
|
1134
|
+
next?: string | null;
|
|
1135
|
+
previous?: string | null;
|
|
1136
|
+
results?: Array<UserNotificationWritable>;
|
|
1137
|
+
};
|
|
1138
|
+
type PaginatedUserNotificationListResponseWritable = {
|
|
1139
|
+
status?: string;
|
|
1140
|
+
data?: PaginatedUserNotificationListWritable;
|
|
1141
|
+
};
|
|
1142
|
+
/**
|
|
1143
|
+
* Serialize company, update and delete.
|
|
1144
|
+
*/
|
|
1145
|
+
type PatchedAdminCompanyWritable = {
|
|
1146
|
+
push_enabled?: boolean;
|
|
1147
|
+
bimi_selector_header?: string | null;
|
|
1148
|
+
name?: string | null;
|
|
1149
|
+
website?: string | null;
|
|
1150
|
+
system_email?: string | null;
|
|
1151
|
+
support_email?: string | null;
|
|
1152
|
+
contact_email?: string | null;
|
|
1153
|
+
logo?: string | null;
|
|
1154
|
+
icon?: string | null;
|
|
1155
|
+
};
|
|
1156
|
+
/**
|
|
1157
|
+
* Serialize notifications, create, update and delete.
|
|
1158
|
+
*/
|
|
1159
|
+
type PatchedAdminCreateUpdateNotificationWritable = {
|
|
1160
|
+
/**
|
|
1161
|
+
* * `email` - email
|
|
1162
|
+
* * `sms` - sms
|
|
1163
|
+
* * `push` - push
|
|
1164
|
+
* * `system` - system
|
|
1165
|
+
*/
|
|
1166
|
+
type?: 'email' | 'sms' | 'push' | 'system' | '' | null;
|
|
1167
|
+
template?: string | null;
|
|
1168
|
+
name?: string;
|
|
1169
|
+
subject?: string | null;
|
|
1170
|
+
description?: string | null;
|
|
1171
|
+
html_message?: string | null;
|
|
1172
|
+
text_message?: string | null;
|
|
1173
|
+
sms_message?: string | null;
|
|
1174
|
+
push_message?: string | null;
|
|
1175
|
+
enabled?: boolean;
|
|
1176
|
+
preference_enabled?: boolean;
|
|
1177
|
+
event?: string | null;
|
|
1178
|
+
to_email?: string | null;
|
|
1179
|
+
to_mobile?: string | null;
|
|
1180
|
+
to_user?: string | null;
|
|
1181
|
+
expression?: string | null;
|
|
1182
|
+
from_email?: string | null;
|
|
1183
|
+
layout?: string | null;
|
|
1184
|
+
system_enabled?: boolean;
|
|
1185
|
+
};
|
|
1186
|
+
/**
|
|
1187
|
+
* Serialize notifications, create, update and delete.
|
|
1188
|
+
*/
|
|
1189
|
+
type PatchedAdminCredentialWritable = {
|
|
1190
|
+
/**
|
|
1191
|
+
* * `twilio` - twilio
|
|
1192
|
+
* * `sendgrid` - sendgrid
|
|
1193
|
+
*/
|
|
1194
|
+
credential_type?: 'twilio' | 'sendgrid';
|
|
1195
|
+
credentials?: {
|
|
1196
|
+
[key: string]: unknown;
|
|
1197
|
+
};
|
|
1198
|
+
};
|
|
1199
|
+
/**
|
|
1200
|
+
* A ModelSerializer that takes additional arguments for
|
|
1201
|
+
* "fields", "omit" and "expand" in order to
|
|
1202
|
+
* control which fields are displayed, and whether to replace simple
|
|
1203
|
+
* values with complex, nested serializations
|
|
1204
|
+
*/
|
|
1205
|
+
type PatchedNotificationLayoutWritable = {
|
|
1206
|
+
name?: string;
|
|
1207
|
+
description?: string | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* * `email` - email
|
|
1210
|
+
* * `sms` - sms
|
|
1211
|
+
* * `push` - push
|
|
1212
|
+
* * `system` - system
|
|
1213
|
+
*/
|
|
1214
|
+
type?: 'email' | 'sms' | 'push' | 'system';
|
|
1215
|
+
html_layout?: string | null;
|
|
1216
|
+
text_layout?: string | null;
|
|
1217
|
+
sms_layout?: string | null;
|
|
1218
|
+
push_layout?: string | null;
|
|
1219
|
+
};
|
|
1220
|
+
/**
|
|
1221
|
+
* Serialize notification logs for users (masked values only).
|
|
1222
|
+
*/
|
|
1223
|
+
type PatchedUserLogWritable = {
|
|
1224
|
+
received?: boolean;
|
|
1225
|
+
};
|
|
1226
|
+
/**
|
|
1227
|
+
* A ModelSerializer that takes additional arguments for
|
|
1228
|
+
* "fields", "omit" and "expand" in order to
|
|
1229
|
+
* control which fields are displayed, and whether to replace simple
|
|
1230
|
+
* values with complex, nested serializations
|
|
1231
|
+
*/
|
|
1232
|
+
type ReducedLayoutTemplateWritable = {
|
|
1233
|
+
name: string;
|
|
1234
|
+
description?: string | null;
|
|
1235
|
+
};
|
|
1236
|
+
/**
|
|
1237
|
+
* A ModelSerializer that takes additional arguments for
|
|
1238
|
+
* "fields", "omit" and "expand" in order to
|
|
1239
|
+
* control which fields are displayed, and whether to replace simple
|
|
1240
|
+
* values with complex, nested serializations
|
|
1241
|
+
*/
|
|
1242
|
+
type ReducedNotificationLayoutWritable = {
|
|
1243
|
+
name: string;
|
|
1244
|
+
description?: string | null;
|
|
1245
|
+
};
|
|
1246
|
+
/**
|
|
1247
|
+
* Serialize notification logs for users (masked values only).
|
|
1248
|
+
*/
|
|
1249
|
+
type UserLogWritable = {
|
|
1250
|
+
received: boolean;
|
|
1251
|
+
};
|
|
1252
|
+
type UserLogResponseWritable = {
|
|
1253
|
+
status?: string;
|
|
1254
|
+
data?: UserLogWritable;
|
|
1255
|
+
};
|
|
1256
|
+
/**
|
|
1257
|
+
* Serialize notifications.
|
|
1258
|
+
*/
|
|
1259
|
+
type UserNotificationWritable = {
|
|
1260
|
+
name: string;
|
|
1261
|
+
description?: string | null;
|
|
1262
|
+
};
|
|
1263
|
+
type UserNotificationResponseWritable = {
|
|
1264
|
+
status?: string;
|
|
1265
|
+
data?: UserNotificationWritable;
|
|
1266
|
+
};
|
|
1267
|
+
type ActivateCreateData = {
|
|
1268
|
+
body: Activate;
|
|
1269
|
+
path?: never;
|
|
1270
|
+
query?: never;
|
|
1271
|
+
url: '/activate/';
|
|
1272
|
+
};
|
|
1273
|
+
type ActivateCreateResponses = {
|
|
1274
|
+
200: ActionResponse;
|
|
1275
|
+
};
|
|
1276
|
+
type ActivateCreateResponse = ActivateCreateResponses[keyof ActivateCreateResponses];
|
|
1277
|
+
type AdminCompanyRetrieveData = {
|
|
1278
|
+
body?: never;
|
|
1279
|
+
path?: never;
|
|
1280
|
+
query?: never;
|
|
1281
|
+
url: '/admin/company/';
|
|
1282
|
+
};
|
|
1283
|
+
type AdminCompanyRetrieveResponses = {
|
|
1284
|
+
200: AdminCompanyResponse;
|
|
1285
|
+
};
|
|
1286
|
+
type AdminCompanyRetrieveResponse = AdminCompanyRetrieveResponses[keyof AdminCompanyRetrieveResponses];
|
|
1287
|
+
type AdminCompanyPartialUpdateData = {
|
|
1288
|
+
body?: PatchedAdminCompanyWritable;
|
|
1289
|
+
path?: never;
|
|
1290
|
+
query?: never;
|
|
1291
|
+
url: '/admin/company/';
|
|
1292
|
+
};
|
|
1293
|
+
type AdminCompanyPartialUpdateResponses = {
|
|
1294
|
+
200: AdminCompanyResponse;
|
|
1295
|
+
};
|
|
1296
|
+
type AdminCompanyPartialUpdateResponse = AdminCompanyPartialUpdateResponses[keyof AdminCompanyPartialUpdateResponses];
|
|
1297
|
+
type AdminCompanyUpdateData = {
|
|
1298
|
+
body?: AdminCompanyWritable;
|
|
1299
|
+
path?: never;
|
|
1300
|
+
query?: never;
|
|
1301
|
+
url: '/admin/company/';
|
|
1302
|
+
};
|
|
1303
|
+
type AdminCompanyUpdateResponses = {
|
|
1304
|
+
200: AdminCompanyResponse;
|
|
1305
|
+
};
|
|
1306
|
+
type AdminCompanyUpdateResponse = AdminCompanyUpdateResponses[keyof AdminCompanyUpdateResponses];
|
|
1307
|
+
type AdminCredentialsListData = {
|
|
1308
|
+
body?: never;
|
|
1309
|
+
path?: never;
|
|
1310
|
+
query?: {
|
|
1311
|
+
/**
|
|
1312
|
+
* A page number within the paginated result set.
|
|
1313
|
+
*/
|
|
1314
|
+
page?: number;
|
|
1315
|
+
/**
|
|
1316
|
+
* Number of results to return per page.
|
|
1317
|
+
*/
|
|
1318
|
+
page_size?: number;
|
|
1319
|
+
};
|
|
1320
|
+
url: '/admin/credentials/';
|
|
1321
|
+
};
|
|
1322
|
+
type AdminCredentialsListResponses = {
|
|
1323
|
+
200: PaginatedAdminCredentialListResponse;
|
|
1324
|
+
};
|
|
1325
|
+
type AdminCredentialsListResponse = AdminCredentialsListResponses[keyof AdminCredentialsListResponses];
|
|
1326
|
+
type AdminCredentialsCreateData = {
|
|
1327
|
+
body: AdminCredentialWritable;
|
|
1328
|
+
path?: never;
|
|
1329
|
+
query?: never;
|
|
1330
|
+
url: '/admin/credentials/';
|
|
1331
|
+
};
|
|
1332
|
+
type AdminCredentialsCreateResponses = {
|
|
1333
|
+
201: AdminCredentialResponse;
|
|
1334
|
+
};
|
|
1335
|
+
type AdminCredentialsCreateResponse = AdminCredentialsCreateResponses[keyof AdminCredentialsCreateResponses];
|
|
1336
|
+
type AdminCredentialsDestroyData = {
|
|
1337
|
+
body?: never;
|
|
1338
|
+
path: {
|
|
1339
|
+
credential_id: string;
|
|
1340
|
+
};
|
|
1341
|
+
query?: never;
|
|
1342
|
+
url: '/admin/credentials/{credential_id}/';
|
|
1343
|
+
};
|
|
1344
|
+
type AdminCredentialsDestroyResponses = {
|
|
1345
|
+
200: AdminCredentialResponse;
|
|
1346
|
+
};
|
|
1347
|
+
type AdminCredentialsDestroyResponse = AdminCredentialsDestroyResponses[keyof AdminCredentialsDestroyResponses];
|
|
1348
|
+
type AdminCredentialsRetrieveData = {
|
|
1349
|
+
body?: never;
|
|
1350
|
+
path: {
|
|
1351
|
+
credential_id: string;
|
|
1352
|
+
};
|
|
1353
|
+
query?: never;
|
|
1354
|
+
url: '/admin/credentials/{credential_id}/';
|
|
1355
|
+
};
|
|
1356
|
+
type AdminCredentialsRetrieveResponses = {
|
|
1357
|
+
200: AdminCredentialResponse;
|
|
1358
|
+
};
|
|
1359
|
+
type AdminCredentialsRetrieveResponse = AdminCredentialsRetrieveResponses[keyof AdminCredentialsRetrieveResponses];
|
|
1360
|
+
type AdminCredentialsPartialUpdateData = {
|
|
1361
|
+
body?: PatchedAdminCredentialWritable;
|
|
1362
|
+
path: {
|
|
1363
|
+
credential_id: string;
|
|
1364
|
+
};
|
|
1365
|
+
query?: never;
|
|
1366
|
+
url: '/admin/credentials/{credential_id}/';
|
|
1367
|
+
};
|
|
1368
|
+
type AdminCredentialsPartialUpdateResponses = {
|
|
1369
|
+
200: AdminCredentialResponse;
|
|
1370
|
+
};
|
|
1371
|
+
type AdminCredentialsPartialUpdateResponse = AdminCredentialsPartialUpdateResponses[keyof AdminCredentialsPartialUpdateResponses];
|
|
1372
|
+
type AdminCredentialsUpdateData = {
|
|
1373
|
+
body: AdminCredentialWritable;
|
|
1374
|
+
path: {
|
|
1375
|
+
credential_id: string;
|
|
1376
|
+
};
|
|
1377
|
+
query?: never;
|
|
1378
|
+
url: '/admin/credentials/{credential_id}/';
|
|
1379
|
+
};
|
|
1380
|
+
type AdminCredentialsUpdateResponses = {
|
|
1381
|
+
200: AdminCredentialResponse;
|
|
1382
|
+
};
|
|
1383
|
+
type AdminCredentialsUpdateResponse = AdminCredentialsUpdateResponses[keyof AdminCredentialsUpdateResponses];
|
|
1384
|
+
type AdminLayoutTemplatesListData = {
|
|
1385
|
+
body?: never;
|
|
1386
|
+
path?: never;
|
|
1387
|
+
query?: {
|
|
1388
|
+
name?: string;
|
|
1389
|
+
/**
|
|
1390
|
+
* A page number within the paginated result set.
|
|
1391
|
+
*/
|
|
1392
|
+
page?: number;
|
|
1393
|
+
/**
|
|
1394
|
+
* Number of results to return per page.
|
|
1395
|
+
*/
|
|
1396
|
+
page_size?: number;
|
|
1397
|
+
type?: string;
|
|
1398
|
+
};
|
|
1399
|
+
url: '/admin/layout-templates/';
|
|
1400
|
+
};
|
|
1401
|
+
type AdminLayoutTemplatesListResponses = {
|
|
1402
|
+
200: PaginatedLayoutTemplateListResponse;
|
|
1403
|
+
};
|
|
1404
|
+
type AdminLayoutTemplatesListResponse = AdminLayoutTemplatesListResponses[keyof AdminLayoutTemplatesListResponses];
|
|
1405
|
+
type AdminLayoutTemplatesRetrieveData = {
|
|
1406
|
+
body?: never;
|
|
1407
|
+
path: {
|
|
1408
|
+
id: string;
|
|
1409
|
+
};
|
|
1410
|
+
query?: never;
|
|
1411
|
+
url: '/admin/layout-templates/{id}/';
|
|
1412
|
+
};
|
|
1413
|
+
type AdminLayoutTemplatesRetrieveResponses = {
|
|
1414
|
+
200: LayoutTemplateResponse;
|
|
1415
|
+
};
|
|
1416
|
+
type AdminLayoutTemplatesRetrieveResponse = AdminLayoutTemplatesRetrieveResponses[keyof AdminLayoutTemplatesRetrieveResponses];
|
|
1417
|
+
type AdminLayoutsListData = {
|
|
1418
|
+
body?: never;
|
|
1419
|
+
path?: never;
|
|
1420
|
+
query?: {
|
|
1421
|
+
name?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* A page number within the paginated result set.
|
|
1424
|
+
*/
|
|
1425
|
+
page?: number;
|
|
1426
|
+
/**
|
|
1427
|
+
* Number of results to return per page.
|
|
1428
|
+
*/
|
|
1429
|
+
page_size?: number;
|
|
1430
|
+
type?: string;
|
|
1431
|
+
};
|
|
1432
|
+
url: '/admin/layouts/';
|
|
1433
|
+
};
|
|
1434
|
+
type AdminLayoutsListResponses = {
|
|
1435
|
+
200: PaginatedNotificationLayoutListResponse;
|
|
1436
|
+
};
|
|
1437
|
+
type AdminLayoutsListResponse = AdminLayoutsListResponses[keyof AdminLayoutsListResponses];
|
|
1438
|
+
type AdminLayoutsCreateData = {
|
|
1439
|
+
body: NotificationLayoutWritable;
|
|
1440
|
+
path?: never;
|
|
1441
|
+
query?: never;
|
|
1442
|
+
url: '/admin/layouts/';
|
|
1443
|
+
};
|
|
1444
|
+
type AdminLayoutsCreateResponses = {
|
|
1445
|
+
201: NotificationLayoutResponse;
|
|
1446
|
+
};
|
|
1447
|
+
type AdminLayoutsCreateResponse = AdminLayoutsCreateResponses[keyof AdminLayoutsCreateResponses];
|
|
1448
|
+
type AdminLayoutsDestroyData = {
|
|
1449
|
+
body?: never;
|
|
1450
|
+
path: {
|
|
1451
|
+
id: string;
|
|
1452
|
+
};
|
|
1453
|
+
query?: never;
|
|
1454
|
+
url: '/admin/layouts/{id}/';
|
|
1455
|
+
};
|
|
1456
|
+
type AdminLayoutsDestroyResponses = {
|
|
1457
|
+
200: NotificationLayoutResponse;
|
|
1458
|
+
};
|
|
1459
|
+
type AdminLayoutsDestroyResponse = AdminLayoutsDestroyResponses[keyof AdminLayoutsDestroyResponses];
|
|
1460
|
+
type AdminLayoutsRetrieveData = {
|
|
1461
|
+
body?: never;
|
|
1462
|
+
path: {
|
|
1463
|
+
id: string;
|
|
1464
|
+
};
|
|
1465
|
+
query?: never;
|
|
1466
|
+
url: '/admin/layouts/{id}/';
|
|
1467
|
+
};
|
|
1468
|
+
type AdminLayoutsRetrieveResponses = {
|
|
1469
|
+
200: NotificationLayoutResponse;
|
|
1470
|
+
};
|
|
1471
|
+
type AdminLayoutsRetrieveResponse = AdminLayoutsRetrieveResponses[keyof AdminLayoutsRetrieveResponses];
|
|
1472
|
+
type AdminLayoutsPartialUpdateData = {
|
|
1473
|
+
body?: PatchedNotificationLayoutWritable;
|
|
1474
|
+
path: {
|
|
1475
|
+
id: string;
|
|
1476
|
+
};
|
|
1477
|
+
query?: never;
|
|
1478
|
+
url: '/admin/layouts/{id}/';
|
|
1479
|
+
};
|
|
1480
|
+
type AdminLayoutsPartialUpdateResponses = {
|
|
1481
|
+
200: NotificationLayoutResponse;
|
|
1482
|
+
};
|
|
1483
|
+
type AdminLayoutsPartialUpdateResponse = AdminLayoutsPartialUpdateResponses[keyof AdminLayoutsPartialUpdateResponses];
|
|
1484
|
+
type AdminLayoutsUpdateData = {
|
|
1485
|
+
body: NotificationLayoutWritable;
|
|
1486
|
+
path: {
|
|
1487
|
+
id: string;
|
|
1488
|
+
};
|
|
1489
|
+
query?: never;
|
|
1490
|
+
url: '/admin/layouts/{id}/';
|
|
1491
|
+
};
|
|
1492
|
+
type AdminLayoutsUpdateResponses = {
|
|
1493
|
+
200: NotificationLayoutResponse;
|
|
1494
|
+
};
|
|
1495
|
+
type AdminLayoutsUpdateResponse = AdminLayoutsUpdateResponses[keyof AdminLayoutsUpdateResponses];
|
|
1496
|
+
type AdminLogsListData = {
|
|
1497
|
+
body?: never;
|
|
1498
|
+
path?: never;
|
|
1499
|
+
query?: {
|
|
1500
|
+
created__gt?: string;
|
|
1501
|
+
created__lt?: string;
|
|
1502
|
+
notification?: string;
|
|
1503
|
+
notification__name?: string;
|
|
1504
|
+
notification__name__contains?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* A page number within the paginated result set.
|
|
1507
|
+
*/
|
|
1508
|
+
page?: number;
|
|
1509
|
+
/**
|
|
1510
|
+
* Number of results to return per page.
|
|
1511
|
+
*/
|
|
1512
|
+
page_size?: number;
|
|
1513
|
+
received?: boolean;
|
|
1514
|
+
recipient?: string;
|
|
1515
|
+
recipient__contains?: string;
|
|
1516
|
+
sent?: boolean;
|
|
1517
|
+
type?: string;
|
|
1518
|
+
type__in?: string;
|
|
1519
|
+
};
|
|
1520
|
+
url: '/admin/logs/';
|
|
1521
|
+
};
|
|
1522
|
+
type AdminLogsListResponses = {
|
|
1523
|
+
200: PaginatedAdminLogListResponse;
|
|
1524
|
+
};
|
|
1525
|
+
type AdminLogsListResponse = AdminLogsListResponses[keyof AdminLogsListResponses];
|
|
1526
|
+
type AdminLogsRetrieveData = {
|
|
1527
|
+
body?: never;
|
|
1528
|
+
path: {
|
|
1529
|
+
log_id: string;
|
|
1530
|
+
};
|
|
1531
|
+
query?: never;
|
|
1532
|
+
url: '/admin/logs/{log_id}/';
|
|
1533
|
+
};
|
|
1534
|
+
type AdminLogsRetrieveResponses = {
|
|
1535
|
+
200: AdminLogResponse;
|
|
1536
|
+
};
|
|
1537
|
+
type AdminLogsRetrieveResponse = AdminLogsRetrieveResponses[keyof AdminLogsRetrieveResponses];
|
|
1538
|
+
type AdminLogsSendCreateData = {
|
|
1539
|
+
body?: AdminLogSend;
|
|
1540
|
+
path: {
|
|
1541
|
+
log_id: string;
|
|
1542
|
+
};
|
|
1543
|
+
query?: never;
|
|
1544
|
+
url: '/admin/logs/{log_id}/send/';
|
|
1545
|
+
};
|
|
1546
|
+
type AdminLogsSendCreateResponses = {
|
|
1547
|
+
200: ActionResponse;
|
|
1548
|
+
};
|
|
1549
|
+
type AdminLogsSendCreateResponse = AdminLogsSendCreateResponses[keyof AdminLogsSendCreateResponses];
|
|
1550
|
+
type AdminNotificationsListData = {
|
|
1551
|
+
body?: never;
|
|
1552
|
+
path?: never;
|
|
1553
|
+
query?: {
|
|
1554
|
+
event?: string;
|
|
1555
|
+
layout?: string;
|
|
1556
|
+
name?: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* A page number within the paginated result set.
|
|
1559
|
+
*/
|
|
1560
|
+
page?: number;
|
|
1561
|
+
/**
|
|
1562
|
+
* Number of results to return per page.
|
|
1563
|
+
*/
|
|
1564
|
+
page_size?: number;
|
|
1565
|
+
type?: string;
|
|
1566
|
+
};
|
|
1567
|
+
url: '/admin/notifications/';
|
|
1568
|
+
};
|
|
1569
|
+
type AdminNotificationsListResponses = {
|
|
1570
|
+
200: PaginatedAdminNotificationListResponse;
|
|
1571
|
+
};
|
|
1572
|
+
type AdminNotificationsListResponse = AdminNotificationsListResponses[keyof AdminNotificationsListResponses];
|
|
1573
|
+
type AdminNotificationsCreateData = {
|
|
1574
|
+
body: AdminCreateUpdateNotificationWritable;
|
|
1575
|
+
path?: never;
|
|
1576
|
+
query?: never;
|
|
1577
|
+
url: '/admin/notifications/';
|
|
1578
|
+
};
|
|
1579
|
+
type AdminNotificationsCreateResponses = {
|
|
1580
|
+
201: AdminNotificationResponse;
|
|
1581
|
+
};
|
|
1582
|
+
type AdminNotificationsCreateResponse = AdminNotificationsCreateResponses[keyof AdminNotificationsCreateResponses];
|
|
1583
|
+
type AdminNotificationsDestroyData = {
|
|
1584
|
+
body?: never;
|
|
1585
|
+
path: {
|
|
1586
|
+
notification_id: string;
|
|
1587
|
+
};
|
|
1588
|
+
query?: never;
|
|
1589
|
+
url: '/admin/notifications/{notification_id}/';
|
|
1590
|
+
};
|
|
1591
|
+
type AdminNotificationsDestroyResponses = {
|
|
1592
|
+
200: AdminNotificationResponse;
|
|
1593
|
+
};
|
|
1594
|
+
type AdminNotificationsDestroyResponse = AdminNotificationsDestroyResponses[keyof AdminNotificationsDestroyResponses];
|
|
1595
|
+
type AdminNotificationsRetrieveData = {
|
|
1596
|
+
body?: never;
|
|
1597
|
+
path: {
|
|
1598
|
+
notification_id: string;
|
|
1599
|
+
};
|
|
1600
|
+
query?: never;
|
|
1601
|
+
url: '/admin/notifications/{notification_id}/';
|
|
1602
|
+
};
|
|
1603
|
+
type AdminNotificationsRetrieveResponses = {
|
|
1604
|
+
200: AdminNotificationResponse;
|
|
1605
|
+
};
|
|
1606
|
+
type AdminNotificationsRetrieveResponse = AdminNotificationsRetrieveResponses[keyof AdminNotificationsRetrieveResponses];
|
|
1607
|
+
type AdminNotificationsPartialUpdateData = {
|
|
1608
|
+
body?: PatchedAdminCreateUpdateNotificationWritable;
|
|
1609
|
+
path: {
|
|
1610
|
+
notification_id: string;
|
|
1611
|
+
};
|
|
1612
|
+
query?: never;
|
|
1613
|
+
url: '/admin/notifications/{notification_id}/';
|
|
1614
|
+
};
|
|
1615
|
+
type AdminNotificationsPartialUpdateResponses = {
|
|
1616
|
+
200: AdminNotificationResponse;
|
|
1617
|
+
};
|
|
1618
|
+
type AdminNotificationsPartialUpdateResponse = AdminNotificationsPartialUpdateResponses[keyof AdminNotificationsPartialUpdateResponses];
|
|
1619
|
+
type AdminNotificationsUpdateData = {
|
|
1620
|
+
body: AdminCreateUpdateNotificationWritable;
|
|
1621
|
+
path: {
|
|
1622
|
+
notification_id: string;
|
|
1623
|
+
};
|
|
1624
|
+
query?: never;
|
|
1625
|
+
url: '/admin/notifications/{notification_id}/';
|
|
1626
|
+
};
|
|
1627
|
+
type AdminNotificationsUpdateResponses = {
|
|
1628
|
+
200: AdminNotificationResponse;
|
|
1629
|
+
};
|
|
1630
|
+
type AdminNotificationsUpdateResponse = AdminNotificationsUpdateResponses[keyof AdminNotificationsUpdateResponses];
|
|
1631
|
+
type AdminNotificationsTriggerCreateData = {
|
|
1632
|
+
body?: AdminTriggerNotification;
|
|
1633
|
+
path: {
|
|
1634
|
+
notification_id: string;
|
|
1635
|
+
};
|
|
1636
|
+
query?: never;
|
|
1637
|
+
url: '/admin/notifications/{notification_id}/trigger/';
|
|
1638
|
+
};
|
|
1639
|
+
type AdminNotificationsTriggerCreateResponses = {
|
|
1640
|
+
200: ActionResponse;
|
|
1641
|
+
};
|
|
1642
|
+
type AdminNotificationsTriggerCreateResponse = AdminNotificationsTriggerCreateResponses[keyof AdminNotificationsTriggerCreateResponses];
|
|
1643
|
+
type AdminTemplatesListData = {
|
|
1644
|
+
body?: never;
|
|
1645
|
+
path?: never;
|
|
1646
|
+
query?: {
|
|
1647
|
+
event?: string;
|
|
1648
|
+
layout?: string;
|
|
1649
|
+
name?: string;
|
|
1650
|
+
/**
|
|
1651
|
+
* A page number within the paginated result set.
|
|
1652
|
+
*/
|
|
1653
|
+
page?: number;
|
|
1654
|
+
/**
|
|
1655
|
+
* Number of results to return per page.
|
|
1656
|
+
*/
|
|
1657
|
+
page_size?: number;
|
|
1658
|
+
type?: string;
|
|
1659
|
+
};
|
|
1660
|
+
url: '/admin/templates/';
|
|
1661
|
+
};
|
|
1662
|
+
type AdminTemplatesListResponses = {
|
|
1663
|
+
200: PaginatedAdminTemplateListResponse;
|
|
1664
|
+
};
|
|
1665
|
+
type AdminTemplatesListResponse = AdminTemplatesListResponses[keyof AdminTemplatesListResponses];
|
|
1666
|
+
type AdminTemplatesRetrieveData = {
|
|
1667
|
+
body?: never;
|
|
1668
|
+
path: {
|
|
1669
|
+
template_id: string;
|
|
1670
|
+
};
|
|
1671
|
+
query?: never;
|
|
1672
|
+
url: '/admin/templates/{template_id}/';
|
|
1673
|
+
};
|
|
1674
|
+
type AdminTemplatesRetrieveResponses = {
|
|
1675
|
+
200: AdminTemplateResponse;
|
|
1676
|
+
};
|
|
1677
|
+
type AdminTemplatesRetrieveResponse = AdminTemplatesRetrieveResponses[keyof AdminTemplatesRetrieveResponses];
|
|
1678
|
+
type AdminWebhookCreateData = {
|
|
1679
|
+
body: Webhook;
|
|
1680
|
+
path?: never;
|
|
1681
|
+
query?: never;
|
|
1682
|
+
url: '/admin/webhook/';
|
|
1683
|
+
};
|
|
1684
|
+
type AdminWebhookCreateResponses = {
|
|
1685
|
+
200: ActionResponse;
|
|
1686
|
+
};
|
|
1687
|
+
type AdminWebhookCreateResponse = AdminWebhookCreateResponses[keyof AdminWebhookCreateResponses];
|
|
1688
|
+
type DeactivateCreateData = {
|
|
1689
|
+
body: Deactivate;
|
|
1690
|
+
path?: never;
|
|
1691
|
+
query?: never;
|
|
1692
|
+
url: '/deactivate/';
|
|
1693
|
+
};
|
|
1694
|
+
type DeactivateCreateResponses = {
|
|
1695
|
+
200: ActionResponse;
|
|
1696
|
+
};
|
|
1697
|
+
type DeactivateCreateResponse = DeactivateCreateResponses[keyof DeactivateCreateResponses];
|
|
1698
|
+
type UserLogsListData = {
|
|
1699
|
+
body?: never;
|
|
1700
|
+
path?: never;
|
|
1701
|
+
query?: {
|
|
1702
|
+
created__gt?: string;
|
|
1703
|
+
created__lt?: string;
|
|
1704
|
+
/**
|
|
1705
|
+
* A page number within the paginated result set.
|
|
1706
|
+
*/
|
|
1707
|
+
page?: number;
|
|
1708
|
+
/**
|
|
1709
|
+
* Number of results to return per page.
|
|
1710
|
+
*/
|
|
1711
|
+
page_size?: number;
|
|
1712
|
+
received?: boolean;
|
|
1713
|
+
};
|
|
1714
|
+
url: '/user/logs/';
|
|
1715
|
+
};
|
|
1716
|
+
type UserLogsListResponses = {
|
|
1717
|
+
200: PaginatedUserLogListResponse;
|
|
1718
|
+
};
|
|
1719
|
+
type UserLogsListResponse = UserLogsListResponses[keyof UserLogsListResponses];
|
|
1720
|
+
type UserLogsRetrieveData = {
|
|
1721
|
+
body?: never;
|
|
1722
|
+
path: {
|
|
1723
|
+
log_id: string;
|
|
1724
|
+
};
|
|
1725
|
+
query?: never;
|
|
1726
|
+
url: '/user/logs/{log_id}/';
|
|
1727
|
+
};
|
|
1728
|
+
type UserLogsRetrieveResponses = {
|
|
1729
|
+
200: UserLogResponse;
|
|
1730
|
+
};
|
|
1731
|
+
type UserLogsRetrieveResponse = UserLogsRetrieveResponses[keyof UserLogsRetrieveResponses];
|
|
1732
|
+
type UserLogsPartialUpdateData = {
|
|
1733
|
+
body?: PatchedUserLogWritable;
|
|
1734
|
+
path: {
|
|
1735
|
+
log_id: string;
|
|
1736
|
+
};
|
|
1737
|
+
query?: never;
|
|
1738
|
+
url: '/user/logs/{log_id}/';
|
|
1739
|
+
};
|
|
1740
|
+
type UserLogsPartialUpdateResponses = {
|
|
1741
|
+
200: UserLogResponse;
|
|
1742
|
+
};
|
|
1743
|
+
type UserLogsPartialUpdateResponse = UserLogsPartialUpdateResponses[keyof UserLogsPartialUpdateResponses];
|
|
1744
|
+
type UserLogsUpdateData = {
|
|
1745
|
+
body: UserLogWritable;
|
|
1746
|
+
path: {
|
|
1747
|
+
log_id: string;
|
|
1748
|
+
};
|
|
1749
|
+
query?: never;
|
|
1750
|
+
url: '/user/logs/{log_id}/';
|
|
1751
|
+
};
|
|
1752
|
+
type UserLogsUpdateResponses = {
|
|
1753
|
+
200: UserLogResponse;
|
|
1754
|
+
};
|
|
1755
|
+
type UserLogsUpdateResponse = UserLogsUpdateResponses[keyof UserLogsUpdateResponses];
|
|
1756
|
+
type UserNotificationsListData = {
|
|
1757
|
+
body?: never;
|
|
1758
|
+
path?: never;
|
|
1759
|
+
query?: {
|
|
1760
|
+
event?: string;
|
|
1761
|
+
layout?: string;
|
|
1762
|
+
name?: string;
|
|
1763
|
+
/**
|
|
1764
|
+
* A page number within the paginated result set.
|
|
1765
|
+
*/
|
|
1766
|
+
page?: number;
|
|
1767
|
+
/**
|
|
1768
|
+
* Number of results to return per page.
|
|
1769
|
+
*/
|
|
1770
|
+
page_size?: number;
|
|
1771
|
+
type?: string;
|
|
1772
|
+
};
|
|
1773
|
+
url: '/user/notifications/';
|
|
1774
|
+
};
|
|
1775
|
+
type UserNotificationsListResponses = {
|
|
1776
|
+
200: PaginatedUserNotificationListResponse;
|
|
1777
|
+
};
|
|
1778
|
+
type UserNotificationsListResponse = UserNotificationsListResponses[keyof UserNotificationsListResponses];
|
|
1779
|
+
type UserNotificationsRetrieveData = {
|
|
1780
|
+
body?: never;
|
|
1781
|
+
path: {
|
|
1782
|
+
notification_id: string;
|
|
1783
|
+
};
|
|
1784
|
+
query?: never;
|
|
1785
|
+
url: '/user/notifications/{notification_id}/';
|
|
1786
|
+
};
|
|
1787
|
+
type UserNotificationsRetrieveResponses = {
|
|
1788
|
+
200: UserNotificationResponse;
|
|
1789
|
+
};
|
|
1790
|
+
type UserNotificationsRetrieveResponse = UserNotificationsRetrieveResponses[keyof UserNotificationsRetrieveResponses];
|
|
1791
|
+
type UserNotificationsPartialUpdateData = {
|
|
1792
|
+
body?: PatchedUserUpdateNotification;
|
|
1793
|
+
path: {
|
|
1794
|
+
notification_id: string;
|
|
1795
|
+
};
|
|
1796
|
+
query?: never;
|
|
1797
|
+
url: '/user/notifications/{notification_id}/';
|
|
1798
|
+
};
|
|
1799
|
+
type UserNotificationsPartialUpdateResponses = {
|
|
1800
|
+
200: UserNotificationResponse;
|
|
1801
|
+
};
|
|
1802
|
+
type UserNotificationsPartialUpdateResponse = UserNotificationsPartialUpdateResponses[keyof UserNotificationsPartialUpdateResponses];
|
|
1803
|
+
type UserNotificationsUpdateData = {
|
|
1804
|
+
body: UserUpdateNotification;
|
|
1805
|
+
path: {
|
|
1806
|
+
notification_id: string;
|
|
1807
|
+
};
|
|
1808
|
+
query?: never;
|
|
1809
|
+
url: '/user/notifications/{notification_id}/';
|
|
1810
|
+
};
|
|
1811
|
+
type UserNotificationsUpdateResponses = {
|
|
1812
|
+
200: UserNotificationResponse;
|
|
1813
|
+
};
|
|
1814
|
+
type UserNotificationsUpdateResponse = UserNotificationsUpdateResponses[keyof UserNotificationsUpdateResponses];
|
|
1815
|
+
type WebhookCreateData = {
|
|
1816
|
+
body: Webhook;
|
|
1817
|
+
path?: never;
|
|
1818
|
+
query?: never;
|
|
1819
|
+
url: '/webhook/';
|
|
1820
|
+
};
|
|
1821
|
+
type WebhookCreateResponses = {
|
|
1822
|
+
200: ActionResponse;
|
|
1823
|
+
};
|
|
1824
|
+
type WebhookCreateResponse = WebhookCreateResponses[keyof WebhookCreateResponses];
|
|
1825
|
+
|
|
1826
|
+
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
1827
|
+
/**
|
|
1828
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
1829
|
+
* individual options. This might be also useful if you want to implement a
|
|
1830
|
+
* custom client.
|
|
1831
|
+
*/
|
|
1832
|
+
client?: Client;
|
|
1833
|
+
/**
|
|
1834
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
1835
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
1836
|
+
*/
|
|
1837
|
+
meta?: Record<string, unknown>;
|
|
1838
|
+
};
|
|
1839
|
+
/**
|
|
1840
|
+
* Activate service
|
|
1841
|
+
*/
|
|
1842
|
+
declare const activateCreate: <ThrowOnError extends boolean = false>(options: Options<ActivateCreateData, ThrowOnError>) => RequestResult<ActivateCreateResponses, unknown, ThrowOnError, "data">;
|
|
1843
|
+
/**
|
|
1844
|
+
* Retrieve company
|
|
1845
|
+
*/
|
|
1846
|
+
declare const adminCompanyRetrieve: <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyRetrieveData, ThrowOnError>) => RequestResult<AdminCompanyRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1847
|
+
/**
|
|
1848
|
+
* Partially update company
|
|
1849
|
+
*/
|
|
1850
|
+
declare const adminCompanyPartialUpdate: <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyPartialUpdateData, ThrowOnError>) => RequestResult<AdminCompanyPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1851
|
+
/**
|
|
1852
|
+
* Update company
|
|
1853
|
+
*/
|
|
1854
|
+
declare const adminCompanyUpdate: <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyUpdateData, ThrowOnError>) => RequestResult<AdminCompanyUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1855
|
+
/**
|
|
1856
|
+
* List credentials
|
|
1857
|
+
*/
|
|
1858
|
+
declare const adminCredentialsList: <ThrowOnError extends boolean = false>(options?: Options<AdminCredentialsListData, ThrowOnError>) => RequestResult<AdminCredentialsListResponses, unknown, ThrowOnError, "data">;
|
|
1859
|
+
/**
|
|
1860
|
+
* Create credential
|
|
1861
|
+
*/
|
|
1862
|
+
declare const adminCredentialsCreate: <ThrowOnError extends boolean = false>(options: Options<AdminCredentialsCreateData, ThrowOnError>) => RequestResult<AdminCredentialsCreateResponses, unknown, ThrowOnError, "data">;
|
|
1863
|
+
/**
|
|
1864
|
+
* Delete credential
|
|
1865
|
+
*/
|
|
1866
|
+
declare const adminCredentialsDestroy: <ThrowOnError extends boolean = false>(options: Options<AdminCredentialsDestroyData, ThrowOnError>) => RequestResult<AdminCredentialsDestroyResponses, unknown, ThrowOnError, "data">;
|
|
1867
|
+
/**
|
|
1868
|
+
* Retrieve credential
|
|
1869
|
+
*/
|
|
1870
|
+
declare const adminCredentialsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminCredentialsRetrieveData, ThrowOnError>) => RequestResult<AdminCredentialsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1871
|
+
/**
|
|
1872
|
+
* Partially update credential
|
|
1873
|
+
*/
|
|
1874
|
+
declare const adminCredentialsPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminCredentialsPartialUpdateData, ThrowOnError>) => RequestResult<AdminCredentialsPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1875
|
+
/**
|
|
1876
|
+
* Update credential
|
|
1877
|
+
*/
|
|
1878
|
+
declare const adminCredentialsUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminCredentialsUpdateData, ThrowOnError>) => RequestResult<AdminCredentialsUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1879
|
+
/**
|
|
1880
|
+
* List layout templates
|
|
1881
|
+
*/
|
|
1882
|
+
declare const adminLayoutTemplatesList: <ThrowOnError extends boolean = false>(options?: Options<AdminLayoutTemplatesListData, ThrowOnError>) => RequestResult<AdminLayoutTemplatesListResponses, unknown, ThrowOnError, "data">;
|
|
1883
|
+
/**
|
|
1884
|
+
* Retrieve layout template
|
|
1885
|
+
*/
|
|
1886
|
+
declare const adminLayoutTemplatesRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminLayoutTemplatesRetrieveData, ThrowOnError>) => RequestResult<AdminLayoutTemplatesRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1887
|
+
/**
|
|
1888
|
+
* List layouts
|
|
1889
|
+
*/
|
|
1890
|
+
declare const adminLayoutsList: <ThrowOnError extends boolean = false>(options?: Options<AdminLayoutsListData, ThrowOnError>) => RequestResult<AdminLayoutsListResponses, unknown, ThrowOnError, "data">;
|
|
1891
|
+
/**
|
|
1892
|
+
* Create layout
|
|
1893
|
+
*/
|
|
1894
|
+
declare const adminLayoutsCreate: <ThrowOnError extends boolean = false>(options: Options<AdminLayoutsCreateData, ThrowOnError>) => RequestResult<AdminLayoutsCreateResponses, unknown, ThrowOnError, "data">;
|
|
1895
|
+
/**
|
|
1896
|
+
* Delete layout
|
|
1897
|
+
*/
|
|
1898
|
+
declare const adminLayoutsDestroy: <ThrowOnError extends boolean = false>(options: Options<AdminLayoutsDestroyData, ThrowOnError>) => RequestResult<AdminLayoutsDestroyResponses, unknown, ThrowOnError, "data">;
|
|
1899
|
+
/**
|
|
1900
|
+
* Retrieve layout
|
|
1901
|
+
*/
|
|
1902
|
+
declare const adminLayoutsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminLayoutsRetrieveData, ThrowOnError>) => RequestResult<AdminLayoutsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1903
|
+
/**
|
|
1904
|
+
* Partially update layout
|
|
1905
|
+
*/
|
|
1906
|
+
declare const adminLayoutsPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminLayoutsPartialUpdateData, ThrowOnError>) => RequestResult<AdminLayoutsPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1907
|
+
/**
|
|
1908
|
+
* Update layout
|
|
1909
|
+
*/
|
|
1910
|
+
declare const adminLayoutsUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminLayoutsUpdateData, ThrowOnError>) => RequestResult<AdminLayoutsUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1911
|
+
/**
|
|
1912
|
+
* List logs
|
|
1913
|
+
*/
|
|
1914
|
+
declare const adminLogsList: <ThrowOnError extends boolean = false>(options?: Options<AdminLogsListData, ThrowOnError>) => RequestResult<AdminLogsListResponses, unknown, ThrowOnError, "data">;
|
|
1915
|
+
/**
|
|
1916
|
+
* Retrieve log
|
|
1917
|
+
*/
|
|
1918
|
+
declare const adminLogsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminLogsRetrieveData, ThrowOnError>) => RequestResult<AdminLogsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1919
|
+
/**
|
|
1920
|
+
* Send notification
|
|
1921
|
+
*/
|
|
1922
|
+
declare const adminLogsSendCreate: <ThrowOnError extends boolean = false>(options: Options<AdminLogsSendCreateData, ThrowOnError>) => RequestResult<AdminLogsSendCreateResponses, unknown, ThrowOnError, "data">;
|
|
1923
|
+
/**
|
|
1924
|
+
* List notifications
|
|
1925
|
+
*/
|
|
1926
|
+
declare const adminNotificationsList: <ThrowOnError extends boolean = false>(options?: Options<AdminNotificationsListData, ThrowOnError>) => RequestResult<AdminNotificationsListResponses, unknown, ThrowOnError, "data">;
|
|
1927
|
+
/**
|
|
1928
|
+
* Create notification
|
|
1929
|
+
*/
|
|
1930
|
+
declare const adminNotificationsCreate: <ThrowOnError extends boolean = false>(options: Options<AdminNotificationsCreateData, ThrowOnError>) => RequestResult<AdminNotificationsCreateResponses, unknown, ThrowOnError, "data">;
|
|
1931
|
+
/**
|
|
1932
|
+
* Delete notification
|
|
1933
|
+
*/
|
|
1934
|
+
declare const adminNotificationsDestroy: <ThrowOnError extends boolean = false>(options: Options<AdminNotificationsDestroyData, ThrowOnError>) => RequestResult<AdminNotificationsDestroyResponses, unknown, ThrowOnError, "data">;
|
|
1935
|
+
/**
|
|
1936
|
+
* Retrieve notification
|
|
1937
|
+
*/
|
|
1938
|
+
declare const adminNotificationsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminNotificationsRetrieveData, ThrowOnError>) => RequestResult<AdminNotificationsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1939
|
+
/**
|
|
1940
|
+
* Partially update notification
|
|
1941
|
+
*/
|
|
1942
|
+
declare const adminNotificationsPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminNotificationsPartialUpdateData, ThrowOnError>) => RequestResult<AdminNotificationsPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1943
|
+
/**
|
|
1944
|
+
* Update notification
|
|
1945
|
+
*/
|
|
1946
|
+
declare const adminNotificationsUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminNotificationsUpdateData, ThrowOnError>) => RequestResult<AdminNotificationsUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1947
|
+
/**
|
|
1948
|
+
* Trigger notification
|
|
1949
|
+
*/
|
|
1950
|
+
declare const adminNotificationsTriggerCreate: <ThrowOnError extends boolean = false>(options: Options<AdminNotificationsTriggerCreateData, ThrowOnError>) => RequestResult<AdminNotificationsTriggerCreateResponses, unknown, ThrowOnError, "data">;
|
|
1951
|
+
/**
|
|
1952
|
+
* List templates
|
|
1953
|
+
*/
|
|
1954
|
+
declare const adminTemplatesList: <ThrowOnError extends boolean = false>(options?: Options<AdminTemplatesListData, ThrowOnError>) => RequestResult<AdminTemplatesListResponses, unknown, ThrowOnError, "data">;
|
|
1955
|
+
/**
|
|
1956
|
+
* Retrieve template
|
|
1957
|
+
*/
|
|
1958
|
+
declare const adminTemplatesRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminTemplatesRetrieveData, ThrowOnError>) => RequestResult<AdminTemplatesRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1959
|
+
declare const adminWebhookCreate: <ThrowOnError extends boolean = false>(options: Options<AdminWebhookCreateData, ThrowOnError>) => RequestResult<AdminWebhookCreateResponses, unknown, ThrowOnError, "data">;
|
|
1960
|
+
/**
|
|
1961
|
+
* Deactivate service
|
|
1962
|
+
*/
|
|
1963
|
+
declare const deactivateCreate: <ThrowOnError extends boolean = false>(options: Options<DeactivateCreateData, ThrowOnError>) => RequestResult<DeactivateCreateResponses, unknown, ThrowOnError, "data">;
|
|
1964
|
+
declare const userLogsList: <ThrowOnError extends boolean = false>(options?: Options<UserLogsListData, ThrowOnError>) => RequestResult<UserLogsListResponses, unknown, ThrowOnError, "data">;
|
|
1965
|
+
declare const userLogsRetrieve: <ThrowOnError extends boolean = false>(options: Options<UserLogsRetrieveData, ThrowOnError>) => RequestResult<UserLogsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1966
|
+
declare const userLogsPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<UserLogsPartialUpdateData, ThrowOnError>) => RequestResult<UserLogsPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1967
|
+
declare const userLogsUpdate: <ThrowOnError extends boolean = false>(options: Options<UserLogsUpdateData, ThrowOnError>) => RequestResult<UserLogsUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1968
|
+
/**
|
|
1969
|
+
* List notifications
|
|
1970
|
+
*/
|
|
1971
|
+
declare const userNotificationsList: <ThrowOnError extends boolean = false>(options?: Options<UserNotificationsListData, ThrowOnError>) => RequestResult<UserNotificationsListResponses, unknown, ThrowOnError, "data">;
|
|
1972
|
+
/**
|
|
1973
|
+
* Retrieve notification
|
|
1974
|
+
*/
|
|
1975
|
+
declare const userNotificationsRetrieve: <ThrowOnError extends boolean = false>(options: Options<UserNotificationsRetrieveData, ThrowOnError>) => RequestResult<UserNotificationsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1976
|
+
/**
|
|
1977
|
+
* Partially update notification
|
|
1978
|
+
*/
|
|
1979
|
+
declare const userNotificationsPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<UserNotificationsPartialUpdateData, ThrowOnError>) => RequestResult<UserNotificationsPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1980
|
+
/**
|
|
1981
|
+
* Update notification
|
|
1982
|
+
*/
|
|
1983
|
+
declare const userNotificationsUpdate: <ThrowOnError extends boolean = false>(options: Options<UserNotificationsUpdateData, ThrowOnError>) => RequestResult<UserNotificationsUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1984
|
+
declare const webhookCreate: <ThrowOnError extends boolean = false>(options: Options<WebhookCreateData, ThrowOnError>) => RequestResult<WebhookCreateResponses, unknown, ThrowOnError, "data">;
|
|
1985
|
+
|
|
1986
|
+
type sdk_Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options<TData, ThrowOnError>;
|
|
1987
|
+
declare const sdk_activateCreate: typeof activateCreate;
|
|
1988
|
+
declare const sdk_adminCompanyPartialUpdate: typeof adminCompanyPartialUpdate;
|
|
1989
|
+
declare const sdk_adminCompanyRetrieve: typeof adminCompanyRetrieve;
|
|
1990
|
+
declare const sdk_adminCompanyUpdate: typeof adminCompanyUpdate;
|
|
1991
|
+
declare const sdk_adminCredentialsCreate: typeof adminCredentialsCreate;
|
|
1992
|
+
declare const sdk_adminCredentialsDestroy: typeof adminCredentialsDestroy;
|
|
1993
|
+
declare const sdk_adminCredentialsList: typeof adminCredentialsList;
|
|
1994
|
+
declare const sdk_adminCredentialsPartialUpdate: typeof adminCredentialsPartialUpdate;
|
|
1995
|
+
declare const sdk_adminCredentialsRetrieve: typeof adminCredentialsRetrieve;
|
|
1996
|
+
declare const sdk_adminCredentialsUpdate: typeof adminCredentialsUpdate;
|
|
1997
|
+
declare const sdk_adminLayoutTemplatesList: typeof adminLayoutTemplatesList;
|
|
1998
|
+
declare const sdk_adminLayoutTemplatesRetrieve: typeof adminLayoutTemplatesRetrieve;
|
|
1999
|
+
declare const sdk_adminLayoutsCreate: typeof adminLayoutsCreate;
|
|
2000
|
+
declare const sdk_adminLayoutsDestroy: typeof adminLayoutsDestroy;
|
|
2001
|
+
declare const sdk_adminLayoutsList: typeof adminLayoutsList;
|
|
2002
|
+
declare const sdk_adminLayoutsPartialUpdate: typeof adminLayoutsPartialUpdate;
|
|
2003
|
+
declare const sdk_adminLayoutsRetrieve: typeof adminLayoutsRetrieve;
|
|
2004
|
+
declare const sdk_adminLayoutsUpdate: typeof adminLayoutsUpdate;
|
|
2005
|
+
declare const sdk_adminLogsList: typeof adminLogsList;
|
|
2006
|
+
declare const sdk_adminLogsRetrieve: typeof adminLogsRetrieve;
|
|
2007
|
+
declare const sdk_adminLogsSendCreate: typeof adminLogsSendCreate;
|
|
2008
|
+
declare const sdk_adminNotificationsCreate: typeof adminNotificationsCreate;
|
|
2009
|
+
declare const sdk_adminNotificationsDestroy: typeof adminNotificationsDestroy;
|
|
2010
|
+
declare const sdk_adminNotificationsList: typeof adminNotificationsList;
|
|
2011
|
+
declare const sdk_adminNotificationsPartialUpdate: typeof adminNotificationsPartialUpdate;
|
|
2012
|
+
declare const sdk_adminNotificationsRetrieve: typeof adminNotificationsRetrieve;
|
|
2013
|
+
declare const sdk_adminNotificationsTriggerCreate: typeof adminNotificationsTriggerCreate;
|
|
2014
|
+
declare const sdk_adminNotificationsUpdate: typeof adminNotificationsUpdate;
|
|
2015
|
+
declare const sdk_adminTemplatesList: typeof adminTemplatesList;
|
|
2016
|
+
declare const sdk_adminTemplatesRetrieve: typeof adminTemplatesRetrieve;
|
|
2017
|
+
declare const sdk_adminWebhookCreate: typeof adminWebhookCreate;
|
|
2018
|
+
declare const sdk_deactivateCreate: typeof deactivateCreate;
|
|
2019
|
+
declare const sdk_userLogsList: typeof userLogsList;
|
|
2020
|
+
declare const sdk_userLogsPartialUpdate: typeof userLogsPartialUpdate;
|
|
2021
|
+
declare const sdk_userLogsRetrieve: typeof userLogsRetrieve;
|
|
2022
|
+
declare const sdk_userLogsUpdate: typeof userLogsUpdate;
|
|
2023
|
+
declare const sdk_userNotificationsList: typeof userNotificationsList;
|
|
2024
|
+
declare const sdk_userNotificationsPartialUpdate: typeof userNotificationsPartialUpdate;
|
|
2025
|
+
declare const sdk_userNotificationsRetrieve: typeof userNotificationsRetrieve;
|
|
2026
|
+
declare const sdk_userNotificationsUpdate: typeof userNotificationsUpdate;
|
|
2027
|
+
declare const sdk_webhookCreate: typeof webhookCreate;
|
|
2028
|
+
declare namespace sdk {
|
|
2029
|
+
export { type sdk_Options as Options, sdk_activateCreate as activateCreate, sdk_adminCompanyPartialUpdate as adminCompanyPartialUpdate, sdk_adminCompanyRetrieve as adminCompanyRetrieve, sdk_adminCompanyUpdate as adminCompanyUpdate, sdk_adminCredentialsCreate as adminCredentialsCreate, sdk_adminCredentialsDestroy as adminCredentialsDestroy, sdk_adminCredentialsList as adminCredentialsList, sdk_adminCredentialsPartialUpdate as adminCredentialsPartialUpdate, sdk_adminCredentialsRetrieve as adminCredentialsRetrieve, sdk_adminCredentialsUpdate as adminCredentialsUpdate, sdk_adminLayoutTemplatesList as adminLayoutTemplatesList, sdk_adminLayoutTemplatesRetrieve as adminLayoutTemplatesRetrieve, sdk_adminLayoutsCreate as adminLayoutsCreate, sdk_adminLayoutsDestroy as adminLayoutsDestroy, sdk_adminLayoutsList as adminLayoutsList, sdk_adminLayoutsPartialUpdate as adminLayoutsPartialUpdate, sdk_adminLayoutsRetrieve as adminLayoutsRetrieve, sdk_adminLayoutsUpdate as adminLayoutsUpdate, sdk_adminLogsList as adminLogsList, sdk_adminLogsRetrieve as adminLogsRetrieve, sdk_adminLogsSendCreate as adminLogsSendCreate, sdk_adminNotificationsCreate as adminNotificationsCreate, sdk_adminNotificationsDestroy as adminNotificationsDestroy, sdk_adminNotificationsList as adminNotificationsList, sdk_adminNotificationsPartialUpdate as adminNotificationsPartialUpdate, sdk_adminNotificationsRetrieve as adminNotificationsRetrieve, sdk_adminNotificationsTriggerCreate as adminNotificationsTriggerCreate, sdk_adminNotificationsUpdate as adminNotificationsUpdate, sdk_adminTemplatesList as adminTemplatesList, sdk_adminTemplatesRetrieve as adminTemplatesRetrieve, sdk_adminWebhookCreate as adminWebhookCreate, sdk_deactivateCreate as deactivateCreate, sdk_userLogsList as userLogsList, sdk_userLogsPartialUpdate as userLogsPartialUpdate, sdk_userLogsRetrieve as userLogsRetrieve, sdk_userLogsUpdate as userLogsUpdate, sdk_userNotificationsList as userNotificationsList, sdk_userNotificationsPartialUpdate as userNotificationsPartialUpdate, sdk_userNotificationsRetrieve as userNotificationsRetrieve, sdk_userNotificationsUpdate as userNotificationsUpdate, sdk_webhookCreate as webhookCreate };
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
type NotificationsApi = BoundSdk<typeof sdk>;
|
|
2033
|
+
declare function createNotificationsApi(config: ApiFactoryConfig): NotificationsApi;
|
|
2034
|
+
|
|
2035
|
+
export { type ActionResponse, type Activate, type ActivateCreateData, type ActivateCreateResponse, type ActivateCreateResponses, type AdminCompany, type AdminCompanyPartialUpdateData, type AdminCompanyPartialUpdateResponse, type AdminCompanyPartialUpdateResponses, type AdminCompanyResponse, type AdminCompanyResponseWritable, type AdminCompanyRetrieveData, type AdminCompanyRetrieveResponse, type AdminCompanyRetrieveResponses, type AdminCompanyUpdateData, type AdminCompanyUpdateResponse, type AdminCompanyUpdateResponses, type AdminCompanyWritable, type AdminCreateUpdateNotification, type AdminCreateUpdateNotificationWritable, type AdminCredential, type AdminCredentialResponse, type AdminCredentialResponseWritable, type AdminCredentialWritable, type AdminCredentialsCreateData, type AdminCredentialsCreateResponse, type AdminCredentialsCreateResponses, type AdminCredentialsDestroyData, type AdminCredentialsDestroyResponse, type AdminCredentialsDestroyResponses, type AdminCredentialsListData, type AdminCredentialsListResponse, type AdminCredentialsListResponses, type AdminCredentialsPartialUpdateData, type AdminCredentialsPartialUpdateResponse, type AdminCredentialsPartialUpdateResponses, type AdminCredentialsRetrieveData, type AdminCredentialsRetrieveResponse, type AdminCredentialsRetrieveResponses, type AdminCredentialsUpdateData, type AdminCredentialsUpdateResponse, type AdminCredentialsUpdateResponses, type AdminLayoutTemplatesListData, type AdminLayoutTemplatesListResponse, type AdminLayoutTemplatesListResponses, type AdminLayoutTemplatesRetrieveData, type AdminLayoutTemplatesRetrieveResponse, type AdminLayoutTemplatesRetrieveResponses, type AdminLayoutsCreateData, type AdminLayoutsCreateResponse, type AdminLayoutsCreateResponses, type AdminLayoutsDestroyData, type AdminLayoutsDestroyResponse, type AdminLayoutsDestroyResponses, type AdminLayoutsListData, type AdminLayoutsListResponse, type AdminLayoutsListResponses, type AdminLayoutsPartialUpdateData, type AdminLayoutsPartialUpdateResponse, type AdminLayoutsPartialUpdateResponses, type AdminLayoutsRetrieveData, type AdminLayoutsRetrieveResponse, type AdminLayoutsRetrieveResponses, type AdminLayoutsUpdateData, type AdminLayoutsUpdateResponse, type AdminLayoutsUpdateResponses, type AdminLog, type AdminLogResponse, type AdminLogResponseWritable, type AdminLogSend, type AdminLogWritable, type AdminLogsListData, type AdminLogsListResponse, type AdminLogsListResponses, type AdminLogsRetrieveData, type AdminLogsRetrieveResponse, type AdminLogsRetrieveResponses, type AdminLogsSendCreateData, type AdminLogsSendCreateResponse, type AdminLogsSendCreateResponses, type AdminNotification, type AdminNotificationResponse, type AdminNotificationResponseWritable, type AdminNotificationWritable, type AdminNotificationsCreateData, type AdminNotificationsCreateResponse, type AdminNotificationsCreateResponses, type AdminNotificationsDestroyData, type AdminNotificationsDestroyResponse, type AdminNotificationsDestroyResponses, type AdminNotificationsListData, type AdminNotificationsListResponse, type AdminNotificationsListResponses, type AdminNotificationsPartialUpdateData, type AdminNotificationsPartialUpdateResponse, type AdminNotificationsPartialUpdateResponses, type AdminNotificationsRetrieveData, type AdminNotificationsRetrieveResponse, type AdminNotificationsRetrieveResponses, type AdminNotificationsTriggerCreateData, type AdminNotificationsTriggerCreateResponse, type AdminNotificationsTriggerCreateResponses, type AdminNotificationsUpdateData, type AdminNotificationsUpdateResponse, type AdminNotificationsUpdateResponses, type AdminReducedTemplate, type AdminTemplate, type AdminTemplateResponse, type AdminTemplateResponseWritable, type AdminTemplateWritable, type AdminTemplatesListData, type AdminTemplatesListResponse, type AdminTemplatesListResponses, type AdminTemplatesRetrieveData, type AdminTemplatesRetrieveResponse, type AdminTemplatesRetrieveResponses, type AdminTriggerNotification, type AdminWebhookCreateData, type AdminWebhookCreateResponse, type AdminWebhookCreateResponses, type ClientOptions, type Deactivate, type DeactivateCreateData, type DeactivateCreateResponse, type DeactivateCreateResponses, type LayoutTemplate, type LayoutTemplateResponse, type LayoutTemplateResponseWritable, type NotificationLayout, type NotificationLayoutResponse, type NotificationLayoutResponseWritable, type NotificationLayoutWritable, type NotificationsApi, type PaginatedAdminCredentialList, type PaginatedAdminCredentialListResponse, type PaginatedAdminCredentialListResponseWritable, type PaginatedAdminCredentialListWritable, type PaginatedAdminLogList, type PaginatedAdminLogListResponse, type PaginatedAdminLogListResponseWritable, type PaginatedAdminLogListWritable, type PaginatedAdminNotificationList, type PaginatedAdminNotificationListResponse, type PaginatedAdminNotificationListResponseWritable, type PaginatedAdminNotificationListWritable, type PaginatedAdminTemplateList, type PaginatedAdminTemplateListResponse, type PaginatedAdminTemplateListResponseWritable, type PaginatedAdminTemplateListWritable, type PaginatedLayoutTemplateList, type PaginatedLayoutTemplateListResponse, type PaginatedLayoutTemplateListResponseWritable, type PaginatedLayoutTemplateListWritable, type PaginatedNotificationLayoutList, type PaginatedNotificationLayoutListResponse, type PaginatedNotificationLayoutListResponseWritable, type PaginatedNotificationLayoutListWritable, type PaginatedUserLogList, type PaginatedUserLogListResponse, type PaginatedUserLogListResponseWritable, type PaginatedUserLogListWritable, type PaginatedUserNotificationList, type PaginatedUserNotificationListResponse, type PaginatedUserNotificationListResponseWritable, type PaginatedUserNotificationListWritable, type PatchedAdminCompany, type PatchedAdminCompanyWritable, type PatchedAdminCreateUpdateNotification, type PatchedAdminCreateUpdateNotificationWritable, type PatchedAdminCredential, type PatchedAdminCredentialWritable, type PatchedNotificationLayout, type PatchedNotificationLayoutWritable, type PatchedUserLog, type PatchedUserLogWritable, type PatchedUserUpdateNotification, type Quotas, type ReducedLayoutTemplate, type ReducedLayoutTemplateWritable, type ReducedNotificationLayout, type ReducedNotificationLayoutWritable, type UserLog, type UserLogResponse, type UserLogResponseWritable, type UserLogWritable, type UserLogsListData, type UserLogsListResponse, type UserLogsListResponses, type UserLogsPartialUpdateData, type UserLogsPartialUpdateResponse, type UserLogsPartialUpdateResponses, type UserLogsRetrieveData, type UserLogsRetrieveResponse, type UserLogsRetrieveResponses, type UserLogsUpdateData, type UserLogsUpdateResponse, type UserLogsUpdateResponses, type UserNotification, type UserNotificationResponse, type UserNotificationResponseWritable, type UserNotificationWritable, type UserNotificationsListData, type UserNotificationsListResponse, type UserNotificationsListResponses, type UserNotificationsPartialUpdateData, type UserNotificationsPartialUpdateResponse, type UserNotificationsPartialUpdateResponses, type UserNotificationsRetrieveData, type UserNotificationsRetrieveResponse, type UserNotificationsRetrieveResponses, type UserNotificationsUpdateData, type UserNotificationsUpdateResponse, type UserNotificationsUpdateResponses, type UserUpdateNotification, type Webhook, type WebhookCreateData, type WebhookCreateResponse, type WebhookCreateResponses, createNotificationsApi };
|