rehive 3.1.4 → 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 -506
- 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,1732 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
export type ClientOptions = {
|
|
4
|
+
baseUrl: 'https://notification.services.rehive.com/api/' | (string & {});
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* This serializer can be used if only a `status` is required in the response.
|
|
9
|
+
*/
|
|
10
|
+
export type ActionResponse = {
|
|
11
|
+
status?: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Serialize the activation data, should be a token that represents an admin
|
|
16
|
+
* user.
|
|
17
|
+
*/
|
|
18
|
+
export type Activate = {
|
|
19
|
+
token: string;
|
|
20
|
+
readonly id: string;
|
|
21
|
+
readonly name: string;
|
|
22
|
+
readonly system_email: string;
|
|
23
|
+
readonly secret: string;
|
|
24
|
+
readonly push_enabled: boolean;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Serialize company, update and delete.
|
|
29
|
+
*/
|
|
30
|
+
export type AdminCompany = {
|
|
31
|
+
readonly id: string;
|
|
32
|
+
readonly secret: string;
|
|
33
|
+
push_enabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* * `test` - Test
|
|
36
|
+
* * `production` - Production
|
|
37
|
+
*/
|
|
38
|
+
mode: 'test' | 'production';
|
|
39
|
+
quotas: Quotas;
|
|
40
|
+
bimi_selector_header?: string | null;
|
|
41
|
+
name?: string | null;
|
|
42
|
+
website?: string | null;
|
|
43
|
+
system_email?: string | null;
|
|
44
|
+
support_email?: string | null;
|
|
45
|
+
contact_email?: string | null;
|
|
46
|
+
logo?: string | null;
|
|
47
|
+
icon?: string | null;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export type AdminCompanyResponse = {
|
|
51
|
+
status?: string;
|
|
52
|
+
data?: AdminCompany;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Serialize notifications, create, update and delete.
|
|
57
|
+
*/
|
|
58
|
+
export type AdminCreateUpdateNotification = {
|
|
59
|
+
readonly id: number;
|
|
60
|
+
/**
|
|
61
|
+
* * `email` - email
|
|
62
|
+
* * `sms` - sms
|
|
63
|
+
* * `push` - push
|
|
64
|
+
* * `system` - system
|
|
65
|
+
*/
|
|
66
|
+
type?: 'email' | 'sms' | 'push' | 'system' | '' | null;
|
|
67
|
+
name: string;
|
|
68
|
+
subject?: string | null;
|
|
69
|
+
description?: string | null;
|
|
70
|
+
readonly company: string;
|
|
71
|
+
html_message?: string | null;
|
|
72
|
+
text_message?: string | null;
|
|
73
|
+
sms_message?: string | null;
|
|
74
|
+
push_message?: string | null;
|
|
75
|
+
enabled?: boolean;
|
|
76
|
+
preference_enabled?: boolean;
|
|
77
|
+
event?: string | null;
|
|
78
|
+
to_email?: string | null;
|
|
79
|
+
to_mobile?: string | null;
|
|
80
|
+
to_user?: string | null;
|
|
81
|
+
expression?: string | null;
|
|
82
|
+
from_email?: string | null;
|
|
83
|
+
system_enabled?: boolean;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Serialize notifications, create, update and delete.
|
|
88
|
+
*/
|
|
89
|
+
export type AdminCredential = {
|
|
90
|
+
readonly id: number;
|
|
91
|
+
/**
|
|
92
|
+
* * `twilio` - twilio
|
|
93
|
+
* * `sendgrid` - sendgrid
|
|
94
|
+
*/
|
|
95
|
+
credential_type: 'twilio' | 'sendgrid';
|
|
96
|
+
credentials?: {
|
|
97
|
+
[key: string]: unknown;
|
|
98
|
+
};
|
|
99
|
+
readonly created: number;
|
|
100
|
+
readonly updated: number;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export type AdminCredentialResponse = {
|
|
104
|
+
status?: string;
|
|
105
|
+
data?: AdminCredential;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Serialize notification logs.
|
|
110
|
+
*/
|
|
111
|
+
export type AdminLog = {
|
|
112
|
+
readonly id: number;
|
|
113
|
+
readonly notification: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* * `email` - email
|
|
116
|
+
* * `sms` - sms
|
|
117
|
+
* * `push` - push
|
|
118
|
+
* * `system` - system
|
|
119
|
+
*/
|
|
120
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
121
|
+
readonly user: string | null;
|
|
122
|
+
recipient: string;
|
|
123
|
+
readonly text_message: string | null;
|
|
124
|
+
readonly html_message: string | null;
|
|
125
|
+
readonly sms_message: string | null;
|
|
126
|
+
readonly push_message: string | null;
|
|
127
|
+
sent?: boolean;
|
|
128
|
+
received?: boolean | null;
|
|
129
|
+
error_message?: string | null;
|
|
130
|
+
readonly created: number;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export type AdminLogResponse = {
|
|
134
|
+
status?: string;
|
|
135
|
+
data?: AdminLog;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Serialize log sending.
|
|
140
|
+
*/
|
|
141
|
+
export type AdminLogSend = {
|
|
142
|
+
recipient?: string;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Serialize notifications, create, update and delete.
|
|
147
|
+
*/
|
|
148
|
+
export type AdminNotification = {
|
|
149
|
+
readonly id: number;
|
|
150
|
+
/**
|
|
151
|
+
* * `email` - email
|
|
152
|
+
* * `sms` - sms
|
|
153
|
+
* * `push` - push
|
|
154
|
+
* * `system` - system
|
|
155
|
+
*/
|
|
156
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
157
|
+
template?: AdminReducedTemplate | null;
|
|
158
|
+
name: string;
|
|
159
|
+
subject?: string | null;
|
|
160
|
+
description?: string | null;
|
|
161
|
+
readonly company: string;
|
|
162
|
+
html_message?: string | null;
|
|
163
|
+
text_message?: string | null;
|
|
164
|
+
sms_message?: string | null;
|
|
165
|
+
push_message?: string | null;
|
|
166
|
+
enabled?: boolean;
|
|
167
|
+
preference_enabled?: boolean;
|
|
168
|
+
readonly event: string;
|
|
169
|
+
to_email?: string | null;
|
|
170
|
+
to_mobile?: string | null;
|
|
171
|
+
to_user?: string | null;
|
|
172
|
+
expression?: string | null;
|
|
173
|
+
from_email?: string | null;
|
|
174
|
+
layout?: ReducedNotificationLayout;
|
|
175
|
+
system_enabled?: boolean;
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export type AdminNotificationResponse = {
|
|
179
|
+
status?: string;
|
|
180
|
+
data?: AdminNotification;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* A ModelSerializer that takes additional arguments for
|
|
185
|
+
* "fields", "omit" and "expand" in order to
|
|
186
|
+
* control which fields are displayed, and whether to replace simple
|
|
187
|
+
* values with complex, nested serializations
|
|
188
|
+
*/
|
|
189
|
+
export type AdminReducedTemplate = {
|
|
190
|
+
id: string;
|
|
191
|
+
default?: boolean;
|
|
192
|
+
deletable?: boolean;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Serialize templates.
|
|
197
|
+
*/
|
|
198
|
+
export type AdminTemplate = {
|
|
199
|
+
id: string;
|
|
200
|
+
/**
|
|
201
|
+
* * `email` - email
|
|
202
|
+
* * `sms` - sms
|
|
203
|
+
* * `push` - push
|
|
204
|
+
* * `system` - system
|
|
205
|
+
*/
|
|
206
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
207
|
+
name: string;
|
|
208
|
+
subject: string;
|
|
209
|
+
description?: string | null;
|
|
210
|
+
html_message?: string | null;
|
|
211
|
+
text_message?: string | null;
|
|
212
|
+
sms_message?: string | null;
|
|
213
|
+
push_message?: string | null;
|
|
214
|
+
enabled?: boolean;
|
|
215
|
+
preference_enabled?: boolean;
|
|
216
|
+
readonly event: string;
|
|
217
|
+
to_email?: string | null;
|
|
218
|
+
to_mobile?: string | null;
|
|
219
|
+
to_user?: string | null;
|
|
220
|
+
expression?: string | null;
|
|
221
|
+
layout: ReducedLayoutTemplate;
|
|
222
|
+
default?: boolean;
|
|
223
|
+
deletable?: boolean;
|
|
224
|
+
readonly created: number;
|
|
225
|
+
readonly updated: number;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
export type AdminTemplateResponse = {
|
|
229
|
+
status?: string;
|
|
230
|
+
data?: AdminTemplate;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Trigger a notification.
|
|
235
|
+
*/
|
|
236
|
+
export type AdminTriggerNotification = {
|
|
237
|
+
data?: {
|
|
238
|
+
[key: string]: unknown;
|
|
239
|
+
} | null;
|
|
240
|
+
users?: Array<string> | null;
|
|
241
|
+
groups?: Array<string> | null;
|
|
242
|
+
readonly id: string;
|
|
243
|
+
/**
|
|
244
|
+
* * `pending` - pending
|
|
245
|
+
* * `processing` - processing
|
|
246
|
+
* * `completed` - completed
|
|
247
|
+
* * `failed` - failed
|
|
248
|
+
*/
|
|
249
|
+
status: 'pending' | 'processing' | 'completed' | 'failed';
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Serialize the deactivation data, should be a token that represents an admin
|
|
254
|
+
* user.
|
|
255
|
+
*/
|
|
256
|
+
export type Deactivate = {
|
|
257
|
+
token: string;
|
|
258
|
+
purge?: boolean;
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* A ModelSerializer that takes additional arguments for
|
|
263
|
+
* "fields", "omit" and "expand" in order to
|
|
264
|
+
* control which fields are displayed, and whether to replace simple
|
|
265
|
+
* values with complex, nested serializations
|
|
266
|
+
*/
|
|
267
|
+
export type LayoutTemplate = {
|
|
268
|
+
readonly id: string;
|
|
269
|
+
readonly name: string;
|
|
270
|
+
readonly description: string | null;
|
|
271
|
+
/**
|
|
272
|
+
* * `email` - email
|
|
273
|
+
* * `sms` - sms
|
|
274
|
+
* * `push` - push
|
|
275
|
+
* * `system` - system
|
|
276
|
+
*/
|
|
277
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
278
|
+
readonly html_layout: string | null;
|
|
279
|
+
readonly text_layout: string | null;
|
|
280
|
+
readonly sms_layout: string | null;
|
|
281
|
+
readonly push_layout: string | null;
|
|
282
|
+
readonly created: number;
|
|
283
|
+
readonly updated: number;
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
export type LayoutTemplateResponse = {
|
|
287
|
+
status?: string;
|
|
288
|
+
data?: LayoutTemplate;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* A ModelSerializer that takes additional arguments for
|
|
293
|
+
* "fields", "omit" and "expand" in order to
|
|
294
|
+
* control which fields are displayed, and whether to replace simple
|
|
295
|
+
* values with complex, nested serializations
|
|
296
|
+
*/
|
|
297
|
+
export type NotificationLayout = {
|
|
298
|
+
readonly id: string;
|
|
299
|
+
name: string;
|
|
300
|
+
description?: string | null;
|
|
301
|
+
/**
|
|
302
|
+
* * `email` - email
|
|
303
|
+
* * `sms` - sms
|
|
304
|
+
* * `push` - push
|
|
305
|
+
* * `system` - system
|
|
306
|
+
*/
|
|
307
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
308
|
+
html_layout?: string | null;
|
|
309
|
+
text_layout?: string | null;
|
|
310
|
+
sms_layout?: string | null;
|
|
311
|
+
push_layout?: string | null;
|
|
312
|
+
readonly created: number;
|
|
313
|
+
readonly updated: number;
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
export type NotificationLayoutResponse = {
|
|
317
|
+
status?: string;
|
|
318
|
+
data?: NotificationLayout;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
export type PaginatedAdminCredentialList = {
|
|
322
|
+
count?: number;
|
|
323
|
+
next?: string | null;
|
|
324
|
+
previous?: string | null;
|
|
325
|
+
results?: Array<AdminCredential>;
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
export type PaginatedAdminCredentialListResponse = {
|
|
329
|
+
status?: string;
|
|
330
|
+
data?: PaginatedAdminCredentialList;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
export type PaginatedAdminLogList = {
|
|
334
|
+
count?: number;
|
|
335
|
+
next?: string | null;
|
|
336
|
+
previous?: string | null;
|
|
337
|
+
results?: Array<AdminLog>;
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
export type PaginatedAdminLogListResponse = {
|
|
341
|
+
status?: string;
|
|
342
|
+
data?: PaginatedAdminLogList;
|
|
343
|
+
};
|
|
344
|
+
|
|
345
|
+
export type PaginatedAdminNotificationList = {
|
|
346
|
+
count?: number;
|
|
347
|
+
next?: string | null;
|
|
348
|
+
previous?: string | null;
|
|
349
|
+
results?: Array<AdminNotification>;
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
export type PaginatedAdminNotificationListResponse = {
|
|
353
|
+
status?: string;
|
|
354
|
+
data?: PaginatedAdminNotificationList;
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
export type PaginatedAdminTemplateList = {
|
|
358
|
+
count?: number;
|
|
359
|
+
next?: string | null;
|
|
360
|
+
previous?: string | null;
|
|
361
|
+
results?: Array<AdminTemplate>;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
export type PaginatedAdminTemplateListResponse = {
|
|
365
|
+
status?: string;
|
|
366
|
+
data?: PaginatedAdminTemplateList;
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
export type PaginatedLayoutTemplateList = {
|
|
370
|
+
count?: number;
|
|
371
|
+
next?: string | null;
|
|
372
|
+
previous?: string | null;
|
|
373
|
+
results?: Array<LayoutTemplate>;
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
export type PaginatedLayoutTemplateListResponse = {
|
|
377
|
+
status?: string;
|
|
378
|
+
data?: PaginatedLayoutTemplateList;
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
export type PaginatedNotificationLayoutList = {
|
|
382
|
+
count?: number;
|
|
383
|
+
next?: string | null;
|
|
384
|
+
previous?: string | null;
|
|
385
|
+
results?: Array<NotificationLayout>;
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
export type PaginatedNotificationLayoutListResponse = {
|
|
389
|
+
status?: string;
|
|
390
|
+
data?: PaginatedNotificationLayoutList;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
export type PaginatedUserLogList = {
|
|
394
|
+
count?: number;
|
|
395
|
+
next?: string | null;
|
|
396
|
+
previous?: string | null;
|
|
397
|
+
results?: Array<UserLog>;
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
export type PaginatedUserLogListResponse = {
|
|
401
|
+
status?: string;
|
|
402
|
+
data?: PaginatedUserLogList;
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
export type PaginatedUserNotificationList = {
|
|
406
|
+
count?: number;
|
|
407
|
+
next?: string | null;
|
|
408
|
+
previous?: string | null;
|
|
409
|
+
results?: Array<UserNotification>;
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
export type PaginatedUserNotificationListResponse = {
|
|
413
|
+
status?: string;
|
|
414
|
+
data?: PaginatedUserNotificationList;
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Serialize company, update and delete.
|
|
419
|
+
*/
|
|
420
|
+
export type PatchedAdminCompany = {
|
|
421
|
+
readonly id?: string;
|
|
422
|
+
readonly secret?: string;
|
|
423
|
+
push_enabled?: boolean;
|
|
424
|
+
/**
|
|
425
|
+
* * `test` - Test
|
|
426
|
+
* * `production` - Production
|
|
427
|
+
*/
|
|
428
|
+
mode?: 'test' | 'production';
|
|
429
|
+
quotas?: Quotas;
|
|
430
|
+
bimi_selector_header?: string | null;
|
|
431
|
+
name?: string | null;
|
|
432
|
+
website?: string | null;
|
|
433
|
+
system_email?: string | null;
|
|
434
|
+
support_email?: string | null;
|
|
435
|
+
contact_email?: string | null;
|
|
436
|
+
logo?: string | null;
|
|
437
|
+
icon?: string | null;
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Serialize notifications, create, update and delete.
|
|
442
|
+
*/
|
|
443
|
+
export type PatchedAdminCreateUpdateNotification = {
|
|
444
|
+
readonly id?: number;
|
|
445
|
+
/**
|
|
446
|
+
* * `email` - email
|
|
447
|
+
* * `sms` - sms
|
|
448
|
+
* * `push` - push
|
|
449
|
+
* * `system` - system
|
|
450
|
+
*/
|
|
451
|
+
type?: 'email' | 'sms' | 'push' | 'system' | '' | null;
|
|
452
|
+
name?: string;
|
|
453
|
+
subject?: string | null;
|
|
454
|
+
description?: string | null;
|
|
455
|
+
readonly company?: string;
|
|
456
|
+
html_message?: string | null;
|
|
457
|
+
text_message?: string | null;
|
|
458
|
+
sms_message?: string | null;
|
|
459
|
+
push_message?: string | null;
|
|
460
|
+
enabled?: boolean;
|
|
461
|
+
preference_enabled?: boolean;
|
|
462
|
+
event?: string | null;
|
|
463
|
+
to_email?: string | null;
|
|
464
|
+
to_mobile?: string | null;
|
|
465
|
+
to_user?: string | null;
|
|
466
|
+
expression?: string | null;
|
|
467
|
+
from_email?: string | null;
|
|
468
|
+
system_enabled?: boolean;
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Serialize notifications, create, update and delete.
|
|
473
|
+
*/
|
|
474
|
+
export type PatchedAdminCredential = {
|
|
475
|
+
readonly id?: number;
|
|
476
|
+
/**
|
|
477
|
+
* * `twilio` - twilio
|
|
478
|
+
* * `sendgrid` - sendgrid
|
|
479
|
+
*/
|
|
480
|
+
credential_type?: 'twilio' | 'sendgrid';
|
|
481
|
+
credentials?: {
|
|
482
|
+
[key: string]: unknown;
|
|
483
|
+
};
|
|
484
|
+
readonly created?: number;
|
|
485
|
+
readonly updated?: number;
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* A ModelSerializer that takes additional arguments for
|
|
490
|
+
* "fields", "omit" and "expand" in order to
|
|
491
|
+
* control which fields are displayed, and whether to replace simple
|
|
492
|
+
* values with complex, nested serializations
|
|
493
|
+
*/
|
|
494
|
+
export type PatchedNotificationLayout = {
|
|
495
|
+
readonly id?: string;
|
|
496
|
+
name?: string;
|
|
497
|
+
description?: string | null;
|
|
498
|
+
/**
|
|
499
|
+
* * `email` - email
|
|
500
|
+
* * `sms` - sms
|
|
501
|
+
* * `push` - push
|
|
502
|
+
* * `system` - system
|
|
503
|
+
*/
|
|
504
|
+
type?: 'email' | 'sms' | 'push' | 'system';
|
|
505
|
+
html_layout?: string | null;
|
|
506
|
+
text_layout?: string | null;
|
|
507
|
+
sms_layout?: string | null;
|
|
508
|
+
push_layout?: string | null;
|
|
509
|
+
readonly created?: number;
|
|
510
|
+
readonly updated?: number;
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Serialize notification logs for users (masked values only).
|
|
515
|
+
*/
|
|
516
|
+
export type PatchedUserLog = {
|
|
517
|
+
readonly id?: number;
|
|
518
|
+
readonly notification?: string | null;
|
|
519
|
+
/**
|
|
520
|
+
* * `email` - email
|
|
521
|
+
* * `sms` - sms
|
|
522
|
+
* * `push` - push
|
|
523
|
+
* * `system` - system
|
|
524
|
+
*/
|
|
525
|
+
type?: 'email' | 'sms' | 'push' | 'system';
|
|
526
|
+
readonly subject?: string | null;
|
|
527
|
+
readonly text_message?: string | null;
|
|
528
|
+
readonly html_message?: string | null;
|
|
529
|
+
readonly sms_message?: string | null;
|
|
530
|
+
readonly push_message?: string | null;
|
|
531
|
+
readonly created?: number;
|
|
532
|
+
readonly updated?: string;
|
|
533
|
+
received?: boolean;
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Serialize notifications update. Actually updates the notification
|
|
538
|
+
* preference instead.
|
|
539
|
+
*/
|
|
540
|
+
export type PatchedUserUpdateNotification = {
|
|
541
|
+
enabled?: boolean;
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
export type Quotas = {
|
|
545
|
+
readonly sms: number;
|
|
546
|
+
readonly email: number;
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* A ModelSerializer that takes additional arguments for
|
|
551
|
+
* "fields", "omit" and "expand" in order to
|
|
552
|
+
* control which fields are displayed, and whether to replace simple
|
|
553
|
+
* values with complex, nested serializations
|
|
554
|
+
*/
|
|
555
|
+
export type ReducedLayoutTemplate = {
|
|
556
|
+
readonly id: string;
|
|
557
|
+
name: string;
|
|
558
|
+
description?: string | null;
|
|
559
|
+
readonly created: number;
|
|
560
|
+
readonly updated: number;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* A ModelSerializer that takes additional arguments for
|
|
565
|
+
* "fields", "omit" and "expand" in order to
|
|
566
|
+
* control which fields are displayed, and whether to replace simple
|
|
567
|
+
* values with complex, nested serializations
|
|
568
|
+
*/
|
|
569
|
+
export type ReducedNotificationLayout = {
|
|
570
|
+
readonly id: string;
|
|
571
|
+
name: string;
|
|
572
|
+
description?: string | null;
|
|
573
|
+
readonly created: number;
|
|
574
|
+
readonly updated: number;
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Serialize notification logs for users (masked values only).
|
|
579
|
+
*/
|
|
580
|
+
export type UserLog = {
|
|
581
|
+
readonly id: number;
|
|
582
|
+
readonly notification: string | null;
|
|
583
|
+
/**
|
|
584
|
+
* * `email` - email
|
|
585
|
+
* * `sms` - sms
|
|
586
|
+
* * `push` - push
|
|
587
|
+
* * `system` - system
|
|
588
|
+
*/
|
|
589
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
590
|
+
readonly subject: string | null;
|
|
591
|
+
readonly text_message: string | null;
|
|
592
|
+
readonly html_message: string | null;
|
|
593
|
+
readonly sms_message: string | null;
|
|
594
|
+
readonly push_message: string | null;
|
|
595
|
+
readonly created: number;
|
|
596
|
+
readonly updated: string;
|
|
597
|
+
received: boolean;
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
export type UserLogResponse = {
|
|
601
|
+
status?: string;
|
|
602
|
+
data?: UserLog;
|
|
603
|
+
};
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Serialize notifications.
|
|
607
|
+
*/
|
|
608
|
+
export type UserNotification = {
|
|
609
|
+
readonly id: number;
|
|
610
|
+
name: string;
|
|
611
|
+
description?: string | null;
|
|
612
|
+
readonly event: string;
|
|
613
|
+
readonly type: string;
|
|
614
|
+
readonly enabled: boolean;
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
export type UserNotificationResponse = {
|
|
618
|
+
status?: string;
|
|
619
|
+
data?: UserNotification;
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* Serialize notifications update. Actually updates the notification
|
|
624
|
+
* preference instead.
|
|
625
|
+
*/
|
|
626
|
+
export type UserUpdateNotification = {
|
|
627
|
+
enabled: boolean;
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Validate and serialize the webhook data. The secret key and company are
|
|
632
|
+
* used to identify a specific company.
|
|
633
|
+
*/
|
|
634
|
+
export type Webhook = {
|
|
635
|
+
id: string;
|
|
636
|
+
event: string;
|
|
637
|
+
company: string;
|
|
638
|
+
data: {
|
|
639
|
+
[key: string]: unknown;
|
|
640
|
+
};
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* Serialize company, update and delete.
|
|
645
|
+
*/
|
|
646
|
+
export type AdminCompanyWritable = {
|
|
647
|
+
push_enabled?: boolean;
|
|
648
|
+
bimi_selector_header?: string | null;
|
|
649
|
+
name?: string | null;
|
|
650
|
+
website?: string | null;
|
|
651
|
+
system_email?: string | null;
|
|
652
|
+
support_email?: string | null;
|
|
653
|
+
contact_email?: string | null;
|
|
654
|
+
logo?: string | null;
|
|
655
|
+
icon?: string | null;
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
export type AdminCompanyResponseWritable = {
|
|
659
|
+
status?: string;
|
|
660
|
+
data?: AdminCompanyWritable;
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* Serialize notifications, create, update and delete.
|
|
665
|
+
*/
|
|
666
|
+
export type AdminCreateUpdateNotificationWritable = {
|
|
667
|
+
/**
|
|
668
|
+
* * `email` - email
|
|
669
|
+
* * `sms` - sms
|
|
670
|
+
* * `push` - push
|
|
671
|
+
* * `system` - system
|
|
672
|
+
*/
|
|
673
|
+
type?: 'email' | 'sms' | 'push' | 'system' | '' | null;
|
|
674
|
+
template?: string | null;
|
|
675
|
+
name: string;
|
|
676
|
+
subject?: string | null;
|
|
677
|
+
description?: string | null;
|
|
678
|
+
html_message?: string | null;
|
|
679
|
+
text_message?: string | null;
|
|
680
|
+
sms_message?: string | null;
|
|
681
|
+
push_message?: string | null;
|
|
682
|
+
enabled?: boolean;
|
|
683
|
+
preference_enabled?: boolean;
|
|
684
|
+
event?: string | null;
|
|
685
|
+
to_email?: string | null;
|
|
686
|
+
to_mobile?: string | null;
|
|
687
|
+
to_user?: string | null;
|
|
688
|
+
expression?: string | null;
|
|
689
|
+
from_email?: string | null;
|
|
690
|
+
layout?: string | null;
|
|
691
|
+
system_enabled?: boolean;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Serialize notifications, create, update and delete.
|
|
696
|
+
*/
|
|
697
|
+
export type AdminCredentialWritable = {
|
|
698
|
+
/**
|
|
699
|
+
* * `twilio` - twilio
|
|
700
|
+
* * `sendgrid` - sendgrid
|
|
701
|
+
*/
|
|
702
|
+
credential_type: 'twilio' | 'sendgrid';
|
|
703
|
+
credentials?: {
|
|
704
|
+
[key: string]: unknown;
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
|
|
708
|
+
export type AdminCredentialResponseWritable = {
|
|
709
|
+
status?: string;
|
|
710
|
+
data?: AdminCredentialWritable;
|
|
711
|
+
};
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* Serialize notification logs.
|
|
715
|
+
*/
|
|
716
|
+
export type AdminLogWritable = {
|
|
717
|
+
recipient: string;
|
|
718
|
+
sent?: boolean;
|
|
719
|
+
received?: boolean | null;
|
|
720
|
+
error_message?: string | null;
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
export type AdminLogResponseWritable = {
|
|
724
|
+
status?: string;
|
|
725
|
+
data?: AdminLogWritable;
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Serialize notifications, create, update and delete.
|
|
730
|
+
*/
|
|
731
|
+
export type AdminNotificationWritable = {
|
|
732
|
+
template?: AdminReducedTemplate | null;
|
|
733
|
+
name: string;
|
|
734
|
+
subject?: string | null;
|
|
735
|
+
description?: string | null;
|
|
736
|
+
html_message?: string | null;
|
|
737
|
+
text_message?: string | null;
|
|
738
|
+
sms_message?: string | null;
|
|
739
|
+
push_message?: string | null;
|
|
740
|
+
enabled?: boolean;
|
|
741
|
+
preference_enabled?: boolean;
|
|
742
|
+
to_email?: string | null;
|
|
743
|
+
to_mobile?: string | null;
|
|
744
|
+
to_user?: string | null;
|
|
745
|
+
expression?: string | null;
|
|
746
|
+
from_email?: string | null;
|
|
747
|
+
layout?: ReducedNotificationLayoutWritable;
|
|
748
|
+
system_enabled?: boolean;
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
export type AdminNotificationResponseWritable = {
|
|
752
|
+
status?: string;
|
|
753
|
+
data?: AdminNotificationWritable;
|
|
754
|
+
};
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Serialize templates.
|
|
758
|
+
*/
|
|
759
|
+
export type AdminTemplateWritable = {
|
|
760
|
+
id: string;
|
|
761
|
+
/**
|
|
762
|
+
* * `email` - email
|
|
763
|
+
* * `sms` - sms
|
|
764
|
+
* * `push` - push
|
|
765
|
+
* * `system` - system
|
|
766
|
+
*/
|
|
767
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
768
|
+
name: string;
|
|
769
|
+
subject: string;
|
|
770
|
+
description?: string | null;
|
|
771
|
+
html_message?: string | null;
|
|
772
|
+
text_message?: string | null;
|
|
773
|
+
sms_message?: string | null;
|
|
774
|
+
push_message?: string | null;
|
|
775
|
+
enabled?: boolean;
|
|
776
|
+
preference_enabled?: boolean;
|
|
777
|
+
to_email?: string | null;
|
|
778
|
+
to_mobile?: string | null;
|
|
779
|
+
to_user?: string | null;
|
|
780
|
+
expression?: string | null;
|
|
781
|
+
default?: boolean;
|
|
782
|
+
deletable?: boolean;
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
export type AdminTemplateResponseWritable = {
|
|
786
|
+
status?: string;
|
|
787
|
+
data?: AdminTemplateWritable;
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
export type LayoutTemplateResponseWritable = {
|
|
791
|
+
status?: string;
|
|
792
|
+
};
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* A ModelSerializer that takes additional arguments for
|
|
796
|
+
* "fields", "omit" and "expand" in order to
|
|
797
|
+
* control which fields are displayed, and whether to replace simple
|
|
798
|
+
* values with complex, nested serializations
|
|
799
|
+
*/
|
|
800
|
+
export type NotificationLayoutWritable = {
|
|
801
|
+
name: string;
|
|
802
|
+
description?: string | null;
|
|
803
|
+
/**
|
|
804
|
+
* * `email` - email
|
|
805
|
+
* * `sms` - sms
|
|
806
|
+
* * `push` - push
|
|
807
|
+
* * `system` - system
|
|
808
|
+
*/
|
|
809
|
+
type: 'email' | 'sms' | 'push' | 'system';
|
|
810
|
+
html_layout?: string | null;
|
|
811
|
+
text_layout?: string | null;
|
|
812
|
+
sms_layout?: string | null;
|
|
813
|
+
push_layout?: string | null;
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
export type NotificationLayoutResponseWritable = {
|
|
817
|
+
status?: string;
|
|
818
|
+
data?: NotificationLayoutWritable;
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
export type PaginatedAdminCredentialListWritable = {
|
|
822
|
+
count?: number;
|
|
823
|
+
next?: string | null;
|
|
824
|
+
previous?: string | null;
|
|
825
|
+
results?: Array<AdminCredentialWritable>;
|
|
826
|
+
};
|
|
827
|
+
|
|
828
|
+
export type PaginatedAdminCredentialListResponseWritable = {
|
|
829
|
+
status?: string;
|
|
830
|
+
data?: PaginatedAdminCredentialListWritable;
|
|
831
|
+
};
|
|
832
|
+
|
|
833
|
+
export type PaginatedAdminLogListWritable = {
|
|
834
|
+
count?: number;
|
|
835
|
+
next?: string | null;
|
|
836
|
+
previous?: string | null;
|
|
837
|
+
results?: Array<AdminLogWritable>;
|
|
838
|
+
};
|
|
839
|
+
|
|
840
|
+
export type PaginatedAdminLogListResponseWritable = {
|
|
841
|
+
status?: string;
|
|
842
|
+
data?: PaginatedAdminLogListWritable;
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
export type PaginatedAdminNotificationListWritable = {
|
|
846
|
+
count?: number;
|
|
847
|
+
next?: string | null;
|
|
848
|
+
previous?: string | null;
|
|
849
|
+
results?: Array<AdminNotificationWritable>;
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
export type PaginatedAdminNotificationListResponseWritable = {
|
|
853
|
+
status?: string;
|
|
854
|
+
data?: PaginatedAdminNotificationListWritable;
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
export type PaginatedAdminTemplateListWritable = {
|
|
858
|
+
count?: number;
|
|
859
|
+
next?: string | null;
|
|
860
|
+
previous?: string | null;
|
|
861
|
+
results?: Array<AdminTemplateWritable>;
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
export type PaginatedAdminTemplateListResponseWritable = {
|
|
865
|
+
status?: string;
|
|
866
|
+
data?: PaginatedAdminTemplateListWritable;
|
|
867
|
+
};
|
|
868
|
+
|
|
869
|
+
export type PaginatedLayoutTemplateListWritable = {
|
|
870
|
+
count?: number;
|
|
871
|
+
next?: string | null;
|
|
872
|
+
previous?: string | null;
|
|
873
|
+
results?: Array<unknown>;
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
export type PaginatedLayoutTemplateListResponseWritable = {
|
|
877
|
+
status?: string;
|
|
878
|
+
data?: PaginatedLayoutTemplateListWritable;
|
|
879
|
+
};
|
|
880
|
+
|
|
881
|
+
export type PaginatedNotificationLayoutListWritable = {
|
|
882
|
+
count?: number;
|
|
883
|
+
next?: string | null;
|
|
884
|
+
previous?: string | null;
|
|
885
|
+
results?: Array<NotificationLayoutWritable>;
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
export type PaginatedNotificationLayoutListResponseWritable = {
|
|
889
|
+
status?: string;
|
|
890
|
+
data?: PaginatedNotificationLayoutListWritable;
|
|
891
|
+
};
|
|
892
|
+
|
|
893
|
+
export type PaginatedUserLogListWritable = {
|
|
894
|
+
count?: number;
|
|
895
|
+
next?: string | null;
|
|
896
|
+
previous?: string | null;
|
|
897
|
+
results?: Array<UserLogWritable>;
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
export type PaginatedUserLogListResponseWritable = {
|
|
901
|
+
status?: string;
|
|
902
|
+
data?: PaginatedUserLogListWritable;
|
|
903
|
+
};
|
|
904
|
+
|
|
905
|
+
export type PaginatedUserNotificationListWritable = {
|
|
906
|
+
count?: number;
|
|
907
|
+
next?: string | null;
|
|
908
|
+
previous?: string | null;
|
|
909
|
+
results?: Array<UserNotificationWritable>;
|
|
910
|
+
};
|
|
911
|
+
|
|
912
|
+
export type PaginatedUserNotificationListResponseWritable = {
|
|
913
|
+
status?: string;
|
|
914
|
+
data?: PaginatedUserNotificationListWritable;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Serialize company, update and delete.
|
|
919
|
+
*/
|
|
920
|
+
export type PatchedAdminCompanyWritable = {
|
|
921
|
+
push_enabled?: boolean;
|
|
922
|
+
bimi_selector_header?: string | null;
|
|
923
|
+
name?: string | null;
|
|
924
|
+
website?: string | null;
|
|
925
|
+
system_email?: string | null;
|
|
926
|
+
support_email?: string | null;
|
|
927
|
+
contact_email?: string | null;
|
|
928
|
+
logo?: string | null;
|
|
929
|
+
icon?: string | null;
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Serialize notifications, create, update and delete.
|
|
934
|
+
*/
|
|
935
|
+
export type PatchedAdminCreateUpdateNotificationWritable = {
|
|
936
|
+
/**
|
|
937
|
+
* * `email` - email
|
|
938
|
+
* * `sms` - sms
|
|
939
|
+
* * `push` - push
|
|
940
|
+
* * `system` - system
|
|
941
|
+
*/
|
|
942
|
+
type?: 'email' | 'sms' | 'push' | 'system' | '' | null;
|
|
943
|
+
template?: string | null;
|
|
944
|
+
name?: string;
|
|
945
|
+
subject?: string | null;
|
|
946
|
+
description?: string | null;
|
|
947
|
+
html_message?: string | null;
|
|
948
|
+
text_message?: string | null;
|
|
949
|
+
sms_message?: string | null;
|
|
950
|
+
push_message?: string | null;
|
|
951
|
+
enabled?: boolean;
|
|
952
|
+
preference_enabled?: boolean;
|
|
953
|
+
event?: string | null;
|
|
954
|
+
to_email?: string | null;
|
|
955
|
+
to_mobile?: string | null;
|
|
956
|
+
to_user?: string | null;
|
|
957
|
+
expression?: string | null;
|
|
958
|
+
from_email?: string | null;
|
|
959
|
+
layout?: string | null;
|
|
960
|
+
system_enabled?: boolean;
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* Serialize notifications, create, update and delete.
|
|
965
|
+
*/
|
|
966
|
+
export type PatchedAdminCredentialWritable = {
|
|
967
|
+
/**
|
|
968
|
+
* * `twilio` - twilio
|
|
969
|
+
* * `sendgrid` - sendgrid
|
|
970
|
+
*/
|
|
971
|
+
credential_type?: 'twilio' | 'sendgrid';
|
|
972
|
+
credentials?: {
|
|
973
|
+
[key: string]: unknown;
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* A ModelSerializer that takes additional arguments for
|
|
979
|
+
* "fields", "omit" and "expand" in order to
|
|
980
|
+
* control which fields are displayed, and whether to replace simple
|
|
981
|
+
* values with complex, nested serializations
|
|
982
|
+
*/
|
|
983
|
+
export type PatchedNotificationLayoutWritable = {
|
|
984
|
+
name?: string;
|
|
985
|
+
description?: string | null;
|
|
986
|
+
/**
|
|
987
|
+
* * `email` - email
|
|
988
|
+
* * `sms` - sms
|
|
989
|
+
* * `push` - push
|
|
990
|
+
* * `system` - system
|
|
991
|
+
*/
|
|
992
|
+
type?: 'email' | 'sms' | 'push' | 'system';
|
|
993
|
+
html_layout?: string | null;
|
|
994
|
+
text_layout?: string | null;
|
|
995
|
+
sms_layout?: string | null;
|
|
996
|
+
push_layout?: string | null;
|
|
997
|
+
};
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Serialize notification logs for users (masked values only).
|
|
1001
|
+
*/
|
|
1002
|
+
export type PatchedUserLogWritable = {
|
|
1003
|
+
received?: boolean;
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* A ModelSerializer that takes additional arguments for
|
|
1008
|
+
* "fields", "omit" and "expand" in order to
|
|
1009
|
+
* control which fields are displayed, and whether to replace simple
|
|
1010
|
+
* values with complex, nested serializations
|
|
1011
|
+
*/
|
|
1012
|
+
export type ReducedLayoutTemplateWritable = {
|
|
1013
|
+
name: string;
|
|
1014
|
+
description?: string | null;
|
|
1015
|
+
};
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* A ModelSerializer that takes additional arguments for
|
|
1019
|
+
* "fields", "omit" and "expand" in order to
|
|
1020
|
+
* control which fields are displayed, and whether to replace simple
|
|
1021
|
+
* values with complex, nested serializations
|
|
1022
|
+
*/
|
|
1023
|
+
export type ReducedNotificationLayoutWritable = {
|
|
1024
|
+
name: string;
|
|
1025
|
+
description?: string | null;
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* Serialize notification logs for users (masked values only).
|
|
1030
|
+
*/
|
|
1031
|
+
export type UserLogWritable = {
|
|
1032
|
+
received: boolean;
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
export type UserLogResponseWritable = {
|
|
1036
|
+
status?: string;
|
|
1037
|
+
data?: UserLogWritable;
|
|
1038
|
+
};
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* Serialize notifications.
|
|
1042
|
+
*/
|
|
1043
|
+
export type UserNotificationWritable = {
|
|
1044
|
+
name: string;
|
|
1045
|
+
description?: string | null;
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
export type UserNotificationResponseWritable = {
|
|
1049
|
+
status?: string;
|
|
1050
|
+
data?: UserNotificationWritable;
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
export type ActivateCreateData = {
|
|
1054
|
+
body: Activate;
|
|
1055
|
+
path?: never;
|
|
1056
|
+
query?: never;
|
|
1057
|
+
url: '/activate/';
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
export type ActivateCreateResponses = {
|
|
1061
|
+
200: ActionResponse;
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
export type ActivateCreateResponse = ActivateCreateResponses[keyof ActivateCreateResponses];
|
|
1065
|
+
|
|
1066
|
+
export type AdminCompanyRetrieveData = {
|
|
1067
|
+
body?: never;
|
|
1068
|
+
path?: never;
|
|
1069
|
+
query?: never;
|
|
1070
|
+
url: '/admin/company/';
|
|
1071
|
+
};
|
|
1072
|
+
|
|
1073
|
+
export type AdminCompanyRetrieveResponses = {
|
|
1074
|
+
200: AdminCompanyResponse;
|
|
1075
|
+
};
|
|
1076
|
+
|
|
1077
|
+
export type AdminCompanyRetrieveResponse = AdminCompanyRetrieveResponses[keyof AdminCompanyRetrieveResponses];
|
|
1078
|
+
|
|
1079
|
+
export type AdminCompanyPartialUpdateData = {
|
|
1080
|
+
body?: PatchedAdminCompanyWritable;
|
|
1081
|
+
path?: never;
|
|
1082
|
+
query?: never;
|
|
1083
|
+
url: '/admin/company/';
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
export type AdminCompanyPartialUpdateResponses = {
|
|
1087
|
+
200: AdminCompanyResponse;
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
export type AdminCompanyPartialUpdateResponse = AdminCompanyPartialUpdateResponses[keyof AdminCompanyPartialUpdateResponses];
|
|
1091
|
+
|
|
1092
|
+
export type AdminCompanyUpdateData = {
|
|
1093
|
+
body?: AdminCompanyWritable;
|
|
1094
|
+
path?: never;
|
|
1095
|
+
query?: never;
|
|
1096
|
+
url: '/admin/company/';
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
export type AdminCompanyUpdateResponses = {
|
|
1100
|
+
200: AdminCompanyResponse;
|
|
1101
|
+
};
|
|
1102
|
+
|
|
1103
|
+
export type AdminCompanyUpdateResponse = AdminCompanyUpdateResponses[keyof AdminCompanyUpdateResponses];
|
|
1104
|
+
|
|
1105
|
+
export type AdminCredentialsListData = {
|
|
1106
|
+
body?: never;
|
|
1107
|
+
path?: never;
|
|
1108
|
+
query?: {
|
|
1109
|
+
/**
|
|
1110
|
+
* A page number within the paginated result set.
|
|
1111
|
+
*/
|
|
1112
|
+
page?: number;
|
|
1113
|
+
/**
|
|
1114
|
+
* Number of results to return per page.
|
|
1115
|
+
*/
|
|
1116
|
+
page_size?: number;
|
|
1117
|
+
};
|
|
1118
|
+
url: '/admin/credentials/';
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
export type AdminCredentialsListResponses = {
|
|
1122
|
+
200: PaginatedAdminCredentialListResponse;
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
export type AdminCredentialsListResponse = AdminCredentialsListResponses[keyof AdminCredentialsListResponses];
|
|
1126
|
+
|
|
1127
|
+
export type AdminCredentialsCreateData = {
|
|
1128
|
+
body: AdminCredentialWritable;
|
|
1129
|
+
path?: never;
|
|
1130
|
+
query?: never;
|
|
1131
|
+
url: '/admin/credentials/';
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
export type AdminCredentialsCreateResponses = {
|
|
1135
|
+
201: AdminCredentialResponse;
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
export type AdminCredentialsCreateResponse = AdminCredentialsCreateResponses[keyof AdminCredentialsCreateResponses];
|
|
1139
|
+
|
|
1140
|
+
export type AdminCredentialsDestroyData = {
|
|
1141
|
+
body?: never;
|
|
1142
|
+
path: {
|
|
1143
|
+
credential_id: string;
|
|
1144
|
+
};
|
|
1145
|
+
query?: never;
|
|
1146
|
+
url: '/admin/credentials/{credential_id}/';
|
|
1147
|
+
};
|
|
1148
|
+
|
|
1149
|
+
export type AdminCredentialsDestroyResponses = {
|
|
1150
|
+
200: AdminCredentialResponse;
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
export type AdminCredentialsDestroyResponse = AdminCredentialsDestroyResponses[keyof AdminCredentialsDestroyResponses];
|
|
1154
|
+
|
|
1155
|
+
export type AdminCredentialsRetrieveData = {
|
|
1156
|
+
body?: never;
|
|
1157
|
+
path: {
|
|
1158
|
+
credential_id: string;
|
|
1159
|
+
};
|
|
1160
|
+
query?: never;
|
|
1161
|
+
url: '/admin/credentials/{credential_id}/';
|
|
1162
|
+
};
|
|
1163
|
+
|
|
1164
|
+
export type AdminCredentialsRetrieveResponses = {
|
|
1165
|
+
200: AdminCredentialResponse;
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
export type AdminCredentialsRetrieveResponse = AdminCredentialsRetrieveResponses[keyof AdminCredentialsRetrieveResponses];
|
|
1169
|
+
|
|
1170
|
+
export type AdminCredentialsPartialUpdateData = {
|
|
1171
|
+
body?: PatchedAdminCredentialWritable;
|
|
1172
|
+
path: {
|
|
1173
|
+
credential_id: string;
|
|
1174
|
+
};
|
|
1175
|
+
query?: never;
|
|
1176
|
+
url: '/admin/credentials/{credential_id}/';
|
|
1177
|
+
};
|
|
1178
|
+
|
|
1179
|
+
export type AdminCredentialsPartialUpdateResponses = {
|
|
1180
|
+
200: AdminCredentialResponse;
|
|
1181
|
+
};
|
|
1182
|
+
|
|
1183
|
+
export type AdminCredentialsPartialUpdateResponse = AdminCredentialsPartialUpdateResponses[keyof AdminCredentialsPartialUpdateResponses];
|
|
1184
|
+
|
|
1185
|
+
export type AdminCredentialsUpdateData = {
|
|
1186
|
+
body: AdminCredentialWritable;
|
|
1187
|
+
path: {
|
|
1188
|
+
credential_id: string;
|
|
1189
|
+
};
|
|
1190
|
+
query?: never;
|
|
1191
|
+
url: '/admin/credentials/{credential_id}/';
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
export type AdminCredentialsUpdateResponses = {
|
|
1195
|
+
200: AdminCredentialResponse;
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1198
|
+
export type AdminCredentialsUpdateResponse = AdminCredentialsUpdateResponses[keyof AdminCredentialsUpdateResponses];
|
|
1199
|
+
|
|
1200
|
+
export type AdminLayoutTemplatesListData = {
|
|
1201
|
+
body?: never;
|
|
1202
|
+
path?: never;
|
|
1203
|
+
query?: {
|
|
1204
|
+
name?: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* A page number within the paginated result set.
|
|
1207
|
+
*/
|
|
1208
|
+
page?: number;
|
|
1209
|
+
/**
|
|
1210
|
+
* Number of results to return per page.
|
|
1211
|
+
*/
|
|
1212
|
+
page_size?: number;
|
|
1213
|
+
type?: string;
|
|
1214
|
+
};
|
|
1215
|
+
url: '/admin/layout-templates/';
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
export type AdminLayoutTemplatesListResponses = {
|
|
1219
|
+
200: PaginatedLayoutTemplateListResponse;
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1222
|
+
export type AdminLayoutTemplatesListResponse = AdminLayoutTemplatesListResponses[keyof AdminLayoutTemplatesListResponses];
|
|
1223
|
+
|
|
1224
|
+
export type AdminLayoutTemplatesRetrieveData = {
|
|
1225
|
+
body?: never;
|
|
1226
|
+
path: {
|
|
1227
|
+
id: string;
|
|
1228
|
+
};
|
|
1229
|
+
query?: never;
|
|
1230
|
+
url: '/admin/layout-templates/{id}/';
|
|
1231
|
+
};
|
|
1232
|
+
|
|
1233
|
+
export type AdminLayoutTemplatesRetrieveResponses = {
|
|
1234
|
+
200: LayoutTemplateResponse;
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1237
|
+
export type AdminLayoutTemplatesRetrieveResponse = AdminLayoutTemplatesRetrieveResponses[keyof AdminLayoutTemplatesRetrieveResponses];
|
|
1238
|
+
|
|
1239
|
+
export type AdminLayoutsListData = {
|
|
1240
|
+
body?: never;
|
|
1241
|
+
path?: never;
|
|
1242
|
+
query?: {
|
|
1243
|
+
name?: string;
|
|
1244
|
+
/**
|
|
1245
|
+
* A page number within the paginated result set.
|
|
1246
|
+
*/
|
|
1247
|
+
page?: number;
|
|
1248
|
+
/**
|
|
1249
|
+
* Number of results to return per page.
|
|
1250
|
+
*/
|
|
1251
|
+
page_size?: number;
|
|
1252
|
+
type?: string;
|
|
1253
|
+
};
|
|
1254
|
+
url: '/admin/layouts/';
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1257
|
+
export type AdminLayoutsListResponses = {
|
|
1258
|
+
200: PaginatedNotificationLayoutListResponse;
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1261
|
+
export type AdminLayoutsListResponse = AdminLayoutsListResponses[keyof AdminLayoutsListResponses];
|
|
1262
|
+
|
|
1263
|
+
export type AdminLayoutsCreateData = {
|
|
1264
|
+
body: NotificationLayoutWritable;
|
|
1265
|
+
path?: never;
|
|
1266
|
+
query?: never;
|
|
1267
|
+
url: '/admin/layouts/';
|
|
1268
|
+
};
|
|
1269
|
+
|
|
1270
|
+
export type AdminLayoutsCreateResponses = {
|
|
1271
|
+
201: NotificationLayoutResponse;
|
|
1272
|
+
};
|
|
1273
|
+
|
|
1274
|
+
export type AdminLayoutsCreateResponse = AdminLayoutsCreateResponses[keyof AdminLayoutsCreateResponses];
|
|
1275
|
+
|
|
1276
|
+
export type AdminLayoutsDestroyData = {
|
|
1277
|
+
body?: never;
|
|
1278
|
+
path: {
|
|
1279
|
+
id: string;
|
|
1280
|
+
};
|
|
1281
|
+
query?: never;
|
|
1282
|
+
url: '/admin/layouts/{id}/';
|
|
1283
|
+
};
|
|
1284
|
+
|
|
1285
|
+
export type AdminLayoutsDestroyResponses = {
|
|
1286
|
+
200: NotificationLayoutResponse;
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
export type AdminLayoutsDestroyResponse = AdminLayoutsDestroyResponses[keyof AdminLayoutsDestroyResponses];
|
|
1290
|
+
|
|
1291
|
+
export type AdminLayoutsRetrieveData = {
|
|
1292
|
+
body?: never;
|
|
1293
|
+
path: {
|
|
1294
|
+
id: string;
|
|
1295
|
+
};
|
|
1296
|
+
query?: never;
|
|
1297
|
+
url: '/admin/layouts/{id}/';
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
export type AdminLayoutsRetrieveResponses = {
|
|
1301
|
+
200: NotificationLayoutResponse;
|
|
1302
|
+
};
|
|
1303
|
+
|
|
1304
|
+
export type AdminLayoutsRetrieveResponse = AdminLayoutsRetrieveResponses[keyof AdminLayoutsRetrieveResponses];
|
|
1305
|
+
|
|
1306
|
+
export type AdminLayoutsPartialUpdateData = {
|
|
1307
|
+
body?: PatchedNotificationLayoutWritable;
|
|
1308
|
+
path: {
|
|
1309
|
+
id: string;
|
|
1310
|
+
};
|
|
1311
|
+
query?: never;
|
|
1312
|
+
url: '/admin/layouts/{id}/';
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
export type AdminLayoutsPartialUpdateResponses = {
|
|
1316
|
+
200: NotificationLayoutResponse;
|
|
1317
|
+
};
|
|
1318
|
+
|
|
1319
|
+
export type AdminLayoutsPartialUpdateResponse = AdminLayoutsPartialUpdateResponses[keyof AdminLayoutsPartialUpdateResponses];
|
|
1320
|
+
|
|
1321
|
+
export type AdminLayoutsUpdateData = {
|
|
1322
|
+
body: NotificationLayoutWritable;
|
|
1323
|
+
path: {
|
|
1324
|
+
id: string;
|
|
1325
|
+
};
|
|
1326
|
+
query?: never;
|
|
1327
|
+
url: '/admin/layouts/{id}/';
|
|
1328
|
+
};
|
|
1329
|
+
|
|
1330
|
+
export type AdminLayoutsUpdateResponses = {
|
|
1331
|
+
200: NotificationLayoutResponse;
|
|
1332
|
+
};
|
|
1333
|
+
|
|
1334
|
+
export type AdminLayoutsUpdateResponse = AdminLayoutsUpdateResponses[keyof AdminLayoutsUpdateResponses];
|
|
1335
|
+
|
|
1336
|
+
export type AdminLogsListData = {
|
|
1337
|
+
body?: never;
|
|
1338
|
+
path?: never;
|
|
1339
|
+
query?: {
|
|
1340
|
+
created__gt?: string;
|
|
1341
|
+
created__lt?: string;
|
|
1342
|
+
notification?: string;
|
|
1343
|
+
notification__name?: string;
|
|
1344
|
+
notification__name__contains?: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* A page number within the paginated result set.
|
|
1347
|
+
*/
|
|
1348
|
+
page?: number;
|
|
1349
|
+
/**
|
|
1350
|
+
* Number of results to return per page.
|
|
1351
|
+
*/
|
|
1352
|
+
page_size?: number;
|
|
1353
|
+
received?: boolean;
|
|
1354
|
+
recipient?: string;
|
|
1355
|
+
recipient__contains?: string;
|
|
1356
|
+
sent?: boolean;
|
|
1357
|
+
type?: string;
|
|
1358
|
+
type__in?: string;
|
|
1359
|
+
};
|
|
1360
|
+
url: '/admin/logs/';
|
|
1361
|
+
};
|
|
1362
|
+
|
|
1363
|
+
export type AdminLogsListResponses = {
|
|
1364
|
+
200: PaginatedAdminLogListResponse;
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1367
|
+
export type AdminLogsListResponse = AdminLogsListResponses[keyof AdminLogsListResponses];
|
|
1368
|
+
|
|
1369
|
+
export type AdminLogsRetrieveData = {
|
|
1370
|
+
body?: never;
|
|
1371
|
+
path: {
|
|
1372
|
+
log_id: string;
|
|
1373
|
+
};
|
|
1374
|
+
query?: never;
|
|
1375
|
+
url: '/admin/logs/{log_id}/';
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
export type AdminLogsRetrieveResponses = {
|
|
1379
|
+
200: AdminLogResponse;
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
export type AdminLogsRetrieveResponse = AdminLogsRetrieveResponses[keyof AdminLogsRetrieveResponses];
|
|
1383
|
+
|
|
1384
|
+
export type AdminLogsSendCreateData = {
|
|
1385
|
+
body?: AdminLogSend;
|
|
1386
|
+
path: {
|
|
1387
|
+
log_id: string;
|
|
1388
|
+
};
|
|
1389
|
+
query?: never;
|
|
1390
|
+
url: '/admin/logs/{log_id}/send/';
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
export type AdminLogsSendCreateResponses = {
|
|
1394
|
+
200: ActionResponse;
|
|
1395
|
+
};
|
|
1396
|
+
|
|
1397
|
+
export type AdminLogsSendCreateResponse = AdminLogsSendCreateResponses[keyof AdminLogsSendCreateResponses];
|
|
1398
|
+
|
|
1399
|
+
export type AdminNotificationsListData = {
|
|
1400
|
+
body?: never;
|
|
1401
|
+
path?: never;
|
|
1402
|
+
query?: {
|
|
1403
|
+
event?: string;
|
|
1404
|
+
layout?: string;
|
|
1405
|
+
name?: string;
|
|
1406
|
+
/**
|
|
1407
|
+
* A page number within the paginated result set.
|
|
1408
|
+
*/
|
|
1409
|
+
page?: number;
|
|
1410
|
+
/**
|
|
1411
|
+
* Number of results to return per page.
|
|
1412
|
+
*/
|
|
1413
|
+
page_size?: number;
|
|
1414
|
+
type?: string;
|
|
1415
|
+
};
|
|
1416
|
+
url: '/admin/notifications/';
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
|
+
export type AdminNotificationsListResponses = {
|
|
1420
|
+
200: PaginatedAdminNotificationListResponse;
|
|
1421
|
+
};
|
|
1422
|
+
|
|
1423
|
+
export type AdminNotificationsListResponse = AdminNotificationsListResponses[keyof AdminNotificationsListResponses];
|
|
1424
|
+
|
|
1425
|
+
export type AdminNotificationsCreateData = {
|
|
1426
|
+
body: AdminCreateUpdateNotificationWritable;
|
|
1427
|
+
path?: never;
|
|
1428
|
+
query?: never;
|
|
1429
|
+
url: '/admin/notifications/';
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
export type AdminNotificationsCreateResponses = {
|
|
1433
|
+
201: AdminNotificationResponse;
|
|
1434
|
+
};
|
|
1435
|
+
|
|
1436
|
+
export type AdminNotificationsCreateResponse = AdminNotificationsCreateResponses[keyof AdminNotificationsCreateResponses];
|
|
1437
|
+
|
|
1438
|
+
export type AdminNotificationsDestroyData = {
|
|
1439
|
+
body?: never;
|
|
1440
|
+
path: {
|
|
1441
|
+
notification_id: string;
|
|
1442
|
+
};
|
|
1443
|
+
query?: never;
|
|
1444
|
+
url: '/admin/notifications/{notification_id}/';
|
|
1445
|
+
};
|
|
1446
|
+
|
|
1447
|
+
export type AdminNotificationsDestroyResponses = {
|
|
1448
|
+
200: AdminNotificationResponse;
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
export type AdminNotificationsDestroyResponse = AdminNotificationsDestroyResponses[keyof AdminNotificationsDestroyResponses];
|
|
1452
|
+
|
|
1453
|
+
export type AdminNotificationsRetrieveData = {
|
|
1454
|
+
body?: never;
|
|
1455
|
+
path: {
|
|
1456
|
+
notification_id: string;
|
|
1457
|
+
};
|
|
1458
|
+
query?: never;
|
|
1459
|
+
url: '/admin/notifications/{notification_id}/';
|
|
1460
|
+
};
|
|
1461
|
+
|
|
1462
|
+
export type AdminNotificationsRetrieveResponses = {
|
|
1463
|
+
200: AdminNotificationResponse;
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1466
|
+
export type AdminNotificationsRetrieveResponse = AdminNotificationsRetrieveResponses[keyof AdminNotificationsRetrieveResponses];
|
|
1467
|
+
|
|
1468
|
+
export type AdminNotificationsPartialUpdateData = {
|
|
1469
|
+
body?: PatchedAdminCreateUpdateNotificationWritable;
|
|
1470
|
+
path: {
|
|
1471
|
+
notification_id: string;
|
|
1472
|
+
};
|
|
1473
|
+
query?: never;
|
|
1474
|
+
url: '/admin/notifications/{notification_id}/';
|
|
1475
|
+
};
|
|
1476
|
+
|
|
1477
|
+
export type AdminNotificationsPartialUpdateResponses = {
|
|
1478
|
+
200: AdminNotificationResponse;
|
|
1479
|
+
};
|
|
1480
|
+
|
|
1481
|
+
export type AdminNotificationsPartialUpdateResponse = AdminNotificationsPartialUpdateResponses[keyof AdminNotificationsPartialUpdateResponses];
|
|
1482
|
+
|
|
1483
|
+
export type AdminNotificationsUpdateData = {
|
|
1484
|
+
body: AdminCreateUpdateNotificationWritable;
|
|
1485
|
+
path: {
|
|
1486
|
+
notification_id: string;
|
|
1487
|
+
};
|
|
1488
|
+
query?: never;
|
|
1489
|
+
url: '/admin/notifications/{notification_id}/';
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
export type AdminNotificationsUpdateResponses = {
|
|
1493
|
+
200: AdminNotificationResponse;
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1496
|
+
export type AdminNotificationsUpdateResponse = AdminNotificationsUpdateResponses[keyof AdminNotificationsUpdateResponses];
|
|
1497
|
+
|
|
1498
|
+
export type AdminNotificationsTriggerCreateData = {
|
|
1499
|
+
body?: AdminTriggerNotification;
|
|
1500
|
+
path: {
|
|
1501
|
+
notification_id: string;
|
|
1502
|
+
};
|
|
1503
|
+
query?: never;
|
|
1504
|
+
url: '/admin/notifications/{notification_id}/trigger/';
|
|
1505
|
+
};
|
|
1506
|
+
|
|
1507
|
+
export type AdminNotificationsTriggerCreateResponses = {
|
|
1508
|
+
200: ActionResponse;
|
|
1509
|
+
};
|
|
1510
|
+
|
|
1511
|
+
export type AdminNotificationsTriggerCreateResponse = AdminNotificationsTriggerCreateResponses[keyof AdminNotificationsTriggerCreateResponses];
|
|
1512
|
+
|
|
1513
|
+
export type AdminTemplatesListData = {
|
|
1514
|
+
body?: never;
|
|
1515
|
+
path?: never;
|
|
1516
|
+
query?: {
|
|
1517
|
+
event?: string;
|
|
1518
|
+
layout?: string;
|
|
1519
|
+
name?: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* A page number within the paginated result set.
|
|
1522
|
+
*/
|
|
1523
|
+
page?: number;
|
|
1524
|
+
/**
|
|
1525
|
+
* Number of results to return per page.
|
|
1526
|
+
*/
|
|
1527
|
+
page_size?: number;
|
|
1528
|
+
type?: string;
|
|
1529
|
+
};
|
|
1530
|
+
url: '/admin/templates/';
|
|
1531
|
+
};
|
|
1532
|
+
|
|
1533
|
+
export type AdminTemplatesListResponses = {
|
|
1534
|
+
200: PaginatedAdminTemplateListResponse;
|
|
1535
|
+
};
|
|
1536
|
+
|
|
1537
|
+
export type AdminTemplatesListResponse = AdminTemplatesListResponses[keyof AdminTemplatesListResponses];
|
|
1538
|
+
|
|
1539
|
+
export type AdminTemplatesRetrieveData = {
|
|
1540
|
+
body?: never;
|
|
1541
|
+
path: {
|
|
1542
|
+
template_id: string;
|
|
1543
|
+
};
|
|
1544
|
+
query?: never;
|
|
1545
|
+
url: '/admin/templates/{template_id}/';
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
export type AdminTemplatesRetrieveResponses = {
|
|
1549
|
+
200: AdminTemplateResponse;
|
|
1550
|
+
};
|
|
1551
|
+
|
|
1552
|
+
export type AdminTemplatesRetrieveResponse = AdminTemplatesRetrieveResponses[keyof AdminTemplatesRetrieveResponses];
|
|
1553
|
+
|
|
1554
|
+
export type AdminWebhookCreateData = {
|
|
1555
|
+
body: Webhook;
|
|
1556
|
+
path?: never;
|
|
1557
|
+
query?: never;
|
|
1558
|
+
url: '/admin/webhook/';
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
export type AdminWebhookCreateResponses = {
|
|
1562
|
+
200: ActionResponse;
|
|
1563
|
+
};
|
|
1564
|
+
|
|
1565
|
+
export type AdminWebhookCreateResponse = AdminWebhookCreateResponses[keyof AdminWebhookCreateResponses];
|
|
1566
|
+
|
|
1567
|
+
export type DeactivateCreateData = {
|
|
1568
|
+
body: Deactivate;
|
|
1569
|
+
path?: never;
|
|
1570
|
+
query?: never;
|
|
1571
|
+
url: '/deactivate/';
|
|
1572
|
+
};
|
|
1573
|
+
|
|
1574
|
+
export type DeactivateCreateResponses = {
|
|
1575
|
+
200: ActionResponse;
|
|
1576
|
+
};
|
|
1577
|
+
|
|
1578
|
+
export type DeactivateCreateResponse = DeactivateCreateResponses[keyof DeactivateCreateResponses];
|
|
1579
|
+
|
|
1580
|
+
export type UserLogsListData = {
|
|
1581
|
+
body?: never;
|
|
1582
|
+
path?: never;
|
|
1583
|
+
query?: {
|
|
1584
|
+
created__gt?: string;
|
|
1585
|
+
created__lt?: string;
|
|
1586
|
+
/**
|
|
1587
|
+
* A page number within the paginated result set.
|
|
1588
|
+
*/
|
|
1589
|
+
page?: number;
|
|
1590
|
+
/**
|
|
1591
|
+
* Number of results to return per page.
|
|
1592
|
+
*/
|
|
1593
|
+
page_size?: number;
|
|
1594
|
+
received?: boolean;
|
|
1595
|
+
};
|
|
1596
|
+
url: '/user/logs/';
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
export type UserLogsListResponses = {
|
|
1600
|
+
200: PaginatedUserLogListResponse;
|
|
1601
|
+
};
|
|
1602
|
+
|
|
1603
|
+
export type UserLogsListResponse = UserLogsListResponses[keyof UserLogsListResponses];
|
|
1604
|
+
|
|
1605
|
+
export type UserLogsRetrieveData = {
|
|
1606
|
+
body?: never;
|
|
1607
|
+
path: {
|
|
1608
|
+
log_id: string;
|
|
1609
|
+
};
|
|
1610
|
+
query?: never;
|
|
1611
|
+
url: '/user/logs/{log_id}/';
|
|
1612
|
+
};
|
|
1613
|
+
|
|
1614
|
+
export type UserLogsRetrieveResponses = {
|
|
1615
|
+
200: UserLogResponse;
|
|
1616
|
+
};
|
|
1617
|
+
|
|
1618
|
+
export type UserLogsRetrieveResponse = UserLogsRetrieveResponses[keyof UserLogsRetrieveResponses];
|
|
1619
|
+
|
|
1620
|
+
export type UserLogsPartialUpdateData = {
|
|
1621
|
+
body?: PatchedUserLogWritable;
|
|
1622
|
+
path: {
|
|
1623
|
+
log_id: string;
|
|
1624
|
+
};
|
|
1625
|
+
query?: never;
|
|
1626
|
+
url: '/user/logs/{log_id}/';
|
|
1627
|
+
};
|
|
1628
|
+
|
|
1629
|
+
export type UserLogsPartialUpdateResponses = {
|
|
1630
|
+
200: UserLogResponse;
|
|
1631
|
+
};
|
|
1632
|
+
|
|
1633
|
+
export type UserLogsPartialUpdateResponse = UserLogsPartialUpdateResponses[keyof UserLogsPartialUpdateResponses];
|
|
1634
|
+
|
|
1635
|
+
export type UserLogsUpdateData = {
|
|
1636
|
+
body: UserLogWritable;
|
|
1637
|
+
path: {
|
|
1638
|
+
log_id: string;
|
|
1639
|
+
};
|
|
1640
|
+
query?: never;
|
|
1641
|
+
url: '/user/logs/{log_id}/';
|
|
1642
|
+
};
|
|
1643
|
+
|
|
1644
|
+
export type UserLogsUpdateResponses = {
|
|
1645
|
+
200: UserLogResponse;
|
|
1646
|
+
};
|
|
1647
|
+
|
|
1648
|
+
export type UserLogsUpdateResponse = UserLogsUpdateResponses[keyof UserLogsUpdateResponses];
|
|
1649
|
+
|
|
1650
|
+
export type UserNotificationsListData = {
|
|
1651
|
+
body?: never;
|
|
1652
|
+
path?: never;
|
|
1653
|
+
query?: {
|
|
1654
|
+
event?: string;
|
|
1655
|
+
layout?: string;
|
|
1656
|
+
name?: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* A page number within the paginated result set.
|
|
1659
|
+
*/
|
|
1660
|
+
page?: number;
|
|
1661
|
+
/**
|
|
1662
|
+
* Number of results to return per page.
|
|
1663
|
+
*/
|
|
1664
|
+
page_size?: number;
|
|
1665
|
+
type?: string;
|
|
1666
|
+
};
|
|
1667
|
+
url: '/user/notifications/';
|
|
1668
|
+
};
|
|
1669
|
+
|
|
1670
|
+
export type UserNotificationsListResponses = {
|
|
1671
|
+
200: PaginatedUserNotificationListResponse;
|
|
1672
|
+
};
|
|
1673
|
+
|
|
1674
|
+
export type UserNotificationsListResponse = UserNotificationsListResponses[keyof UserNotificationsListResponses];
|
|
1675
|
+
|
|
1676
|
+
export type UserNotificationsRetrieveData = {
|
|
1677
|
+
body?: never;
|
|
1678
|
+
path: {
|
|
1679
|
+
notification_id: string;
|
|
1680
|
+
};
|
|
1681
|
+
query?: never;
|
|
1682
|
+
url: '/user/notifications/{notification_id}/';
|
|
1683
|
+
};
|
|
1684
|
+
|
|
1685
|
+
export type UserNotificationsRetrieveResponses = {
|
|
1686
|
+
200: UserNotificationResponse;
|
|
1687
|
+
};
|
|
1688
|
+
|
|
1689
|
+
export type UserNotificationsRetrieveResponse = UserNotificationsRetrieveResponses[keyof UserNotificationsRetrieveResponses];
|
|
1690
|
+
|
|
1691
|
+
export type UserNotificationsPartialUpdateData = {
|
|
1692
|
+
body?: PatchedUserUpdateNotification;
|
|
1693
|
+
path: {
|
|
1694
|
+
notification_id: string;
|
|
1695
|
+
};
|
|
1696
|
+
query?: never;
|
|
1697
|
+
url: '/user/notifications/{notification_id}/';
|
|
1698
|
+
};
|
|
1699
|
+
|
|
1700
|
+
export type UserNotificationsPartialUpdateResponses = {
|
|
1701
|
+
200: UserNotificationResponse;
|
|
1702
|
+
};
|
|
1703
|
+
|
|
1704
|
+
export type UserNotificationsPartialUpdateResponse = UserNotificationsPartialUpdateResponses[keyof UserNotificationsPartialUpdateResponses];
|
|
1705
|
+
|
|
1706
|
+
export type UserNotificationsUpdateData = {
|
|
1707
|
+
body: UserUpdateNotification;
|
|
1708
|
+
path: {
|
|
1709
|
+
notification_id: string;
|
|
1710
|
+
};
|
|
1711
|
+
query?: never;
|
|
1712
|
+
url: '/user/notifications/{notification_id}/';
|
|
1713
|
+
};
|
|
1714
|
+
|
|
1715
|
+
export type UserNotificationsUpdateResponses = {
|
|
1716
|
+
200: UserNotificationResponse;
|
|
1717
|
+
};
|
|
1718
|
+
|
|
1719
|
+
export type UserNotificationsUpdateResponse = UserNotificationsUpdateResponses[keyof UserNotificationsUpdateResponses];
|
|
1720
|
+
|
|
1721
|
+
export type WebhookCreateData = {
|
|
1722
|
+
body: Webhook;
|
|
1723
|
+
path?: never;
|
|
1724
|
+
query?: never;
|
|
1725
|
+
url: '/webhook/';
|
|
1726
|
+
};
|
|
1727
|
+
|
|
1728
|
+
export type WebhookCreateResponses = {
|
|
1729
|
+
200: ActionResponse;
|
|
1730
|
+
};
|
|
1731
|
+
|
|
1732
|
+
export type WebhookCreateResponse = WebhookCreateResponses[keyof WebhookCreateResponses];
|