@vindentech/api-client 0.3.0-next.7 โ 0.3.0-next.71
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/dist/client.d.ts +2 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/generated/_all.d.ts +82 -0
- package/dist/generated/_all.d.ts.map +1 -1
- package/dist/generated/_all.js +82 -0
- package/dist/generated/_all.js.map +1 -1
- package/dist/generated/_permissions.d.ts +1496 -35
- package/dist/generated/_permissions.d.ts.map +1 -1
- package/dist/generated/_permissions.js +368 -1
- package/dist/generated/_permissions.js.map +1 -1
- package/dist/generated/account-credits/account-credits.d.ts +18 -17
- package/dist/generated/account-credits/account-credits.d.ts.map +1 -1
- package/dist/generated/account-credits/account-credits.js +28 -3
- package/dist/generated/account-credits/account-credits.js.map +1 -1
- package/dist/generated/addresses/addresses.d.ts +87 -0
- package/dist/generated/addresses/addresses.d.ts.map +1 -0
- package/dist/generated/addresses/addresses.js +100 -0
- package/dist/generated/addresses/addresses.js.map +1 -0
- package/dist/generated/articles/articles.d.ts +16 -15
- package/dist/generated/articles/articles.d.ts.map +1 -1
- package/dist/generated/articles/articles.js +37 -3
- package/dist/generated/articles/articles.js.map +1 -1
- package/dist/generated/billable-event-types/billable-event-types.d.ts +7 -6
- package/dist/generated/billable-event-types/billable-event-types.d.ts.map +1 -1
- package/dist/generated/billable-event-types/billable-event-types.js +4 -0
- package/dist/generated/billable-event-types/billable-event-types.js.map +1 -1
- package/dist/generated/billable-events/billable-events.d.ts +59 -0
- package/dist/generated/billable-events/billable-events.d.ts.map +1 -0
- package/dist/generated/billable-events/billable-events.js +61 -0
- package/dist/generated/billable-events/billable-events.js.map +1 -0
- package/dist/generated/billable-events-webhook/billable-events-webhook.d.ts +7 -6
- package/dist/generated/billable-events-webhook/billable-events-webhook.d.ts.map +1 -1
- package/dist/generated/billable-events-webhook/billable-events-webhook.js +14 -1
- package/dist/generated/billable-events-webhook/billable-events-webhook.js.map +1 -1
- package/dist/generated/billing-accounts/billing-accounts.d.ts +16 -15
- package/dist/generated/billing-accounts/billing-accounts.d.ts.map +1 -1
- package/dist/generated/billing-accounts/billing-accounts.js +37 -3
- package/dist/generated/billing-accounts/billing-accounts.js.map +1 -1
- package/dist/generated/billing-frequencies/billing-frequencies.d.ts +24 -0
- package/dist/generated/billing-frequencies/billing-frequencies.d.ts.map +1 -0
- package/dist/generated/billing-frequencies/billing-frequencies.js +23 -0
- package/dist/generated/billing-frequencies/billing-frequencies.js.map +1 -0
- package/dist/generated/billing-model-templates/billing-model-templates.d.ts +7 -6
- package/dist/generated/billing-model-templates/billing-model-templates.d.ts.map +1 -1
- package/dist/generated/billing-model-templates/billing-model-templates.js +4 -0
- package/dist/generated/billing-model-templates/billing-model-templates.js.map +1 -1
- package/dist/generated/binding-plans/binding-plans.d.ts +74 -10
- package/dist/generated/binding-plans/binding-plans.d.ts.map +1 -1
- package/dist/generated/binding-plans/binding-plans.js +91 -2
- package/dist/generated/binding-plans/binding-plans.js.map +1 -1
- package/dist/generated/bookings/bookings.d.ts +52 -0
- package/dist/generated/bookings/bookings.d.ts.map +1 -0
- package/dist/generated/bookings/bookings.js +55 -0
- package/dist/generated/bookings/bookings.js.map +1 -0
- package/dist/generated/capacity/capacity.d.ts +136 -0
- package/dist/generated/capacity/capacity.d.ts.map +1 -0
- package/dist/generated/capacity/capacity.js +175 -0
- package/dist/generated/capacity/capacity.js.map +1 -0
- package/dist/generated/carrier-bookings/carrier-bookings.d.ts +24 -0
- package/dist/generated/carrier-bookings/carrier-bookings.d.ts.map +1 -0
- package/dist/generated/carrier-bookings/carrier-bookings.js +23 -0
- package/dist/generated/carrier-bookings/carrier-bookings.js.map +1 -0
- package/dist/generated/carrier-methods/carrier-methods.d.ts +38 -0
- package/dist/generated/carrier-methods/carrier-methods.d.ts.map +1 -0
- package/dist/generated/carrier-methods/carrier-methods.js +41 -0
- package/dist/generated/carrier-methods/carrier-methods.js.map +1 -0
- package/dist/generated/carriers/carriers.d.ts +150 -0
- package/dist/generated/carriers/carriers.d.ts.map +1 -0
- package/dist/generated/carriers/carriers.js +196 -0
- package/dist/generated/carriers/carriers.js.map +1 -0
- package/dist/generated/carts/carts.d.ts +136 -0
- package/dist/generated/carts/carts.d.ts.map +1 -0
- package/dist/generated/carts/carts.js +183 -0
- package/dist/generated/carts/carts.js.map +1 -0
- package/dist/generated/categories/categories.d.ts +24 -0
- package/dist/generated/categories/categories.d.ts.map +1 -0
- package/dist/generated/categories/categories.js +16 -0
- package/dist/generated/categories/categories.js.map +1 -0
- package/dist/generated/check-in/check-in.d.ts +66 -0
- package/dist/generated/check-in/check-in.d.ts.map +1 -0
- package/dist/generated/check-in/check-in.js +102 -0
- package/dist/generated/check-in/check-in.js.map +1 -0
- package/dist/generated/checkout/checkout.d.ts +45 -0
- package/dist/generated/checkout/checkout.d.ts.map +1 -0
- package/dist/generated/checkout/checkout.js +43 -0
- package/dist/generated/checkout/checkout.js.map +1 -0
- package/dist/generated/client-config/client-config.d.ts +31 -0
- package/dist/generated/client-config/client-config.d.ts.map +1 -0
- package/dist/generated/client-config/client-config.js +22 -0
- package/dist/generated/client-config/client-config.js.map +1 -0
- package/dist/generated/container-types/container-types.d.ts +31 -0
- package/dist/generated/container-types/container-types.d.ts.map +1 -0
- package/dist/generated/container-types/container-types.js +26 -0
- package/dist/generated/container-types/container-types.js.map +1 -0
- package/dist/generated/containers/containers.d.ts +101 -0
- package/dist/generated/containers/containers.d.ts.map +1 -0
- package/dist/generated/containers/containers.js +114 -0
- package/dist/generated/containers/containers.js.map +1 -0
- package/dist/generated/coupons/coupons.d.ts +100 -22
- package/dist/generated/coupons/coupons.d.ts.map +1 -1
- package/dist/generated/coupons/coupons.js +142 -5
- package/dist/generated/coupons/coupons.js.map +1 -1
- package/dist/generated/damage-reports/damage-reports.d.ts +94 -0
- package/dist/generated/damage-reports/damage-reports.d.ts.map +1 -0
- package/dist/generated/damage-reports/damage-reports.js +115 -0
- package/dist/generated/damage-reports/damage-reports.js.map +1 -0
- package/dist/generated/discount-rules/discount-rules.d.ts +10 -9
- package/dist/generated/discount-rules/discount-rules.d.ts.map +1 -1
- package/dist/generated/discount-rules/discount-rules.js +19 -2
- package/dist/generated/discount-rules/discount-rules.js.map +1 -1
- package/dist/generated/employee-assignments/employee-assignments.d.ts +153 -0
- package/dist/generated/employee-assignments/employee-assignments.d.ts.map +1 -0
- package/dist/generated/employee-assignments/employee-assignments.js +121 -0
- package/dist/generated/employee-assignments/employee-assignments.js.map +1 -0
- package/dist/generated/files/files.d.ts +24 -0
- package/dist/generated/files/files.d.ts.map +1 -0
- package/dist/generated/files/files.js +27 -0
- package/dist/generated/files/files.js.map +1 -0
- package/dist/generated/folders/folders.d.ts +101 -0
- package/dist/generated/folders/folders.d.ts.map +1 -0
- package/dist/generated/folders/folders.js +125 -0
- package/dist/generated/folders/folders.js.map +1 -0
- package/dist/generated/forklift/forklift.d.ts +213 -0
- package/dist/generated/forklift/forklift.d.ts.map +1 -0
- package/dist/generated/forklift/forklift.js +162 -0
- package/dist/generated/forklift/forklift.js.map +1 -0
- package/dist/generated/fortnox-o-auth/fortnox-o-auth.d.ts +7 -6
- package/dist/generated/fortnox-o-auth/fortnox-o-auth.d.ts.map +1 -1
- package/dist/generated/fortnox-o-auth/fortnox-o-auth.js +4 -0
- package/dist/generated/fortnox-o-auth/fortnox-o-auth.js.map +1 -1
- package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.d.ts +7 -6
- package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.d.ts.map +1 -1
- package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.js +4 -0
- package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.js.map +1 -1
- package/dist/generated/hasura-user-webhook/hasura-user-webhook.d.ts +7 -6
- package/dist/generated/hasura-user-webhook/hasura-user-webhook.d.ts.map +1 -1
- package/dist/generated/hasura-user-webhook/hasura-user-webhook.js +4 -0
- package/dist/generated/hasura-user-webhook/hasura-user-webhook.js.map +1 -1
- package/dist/generated/health/health.d.ts +7 -6
- package/dist/generated/health/health.d.ts.map +1 -1
- package/dist/generated/health/health.js +4 -0
- package/dist/generated/health/health.js.map +1 -1
- package/dist/generated/index.schemas.d.ts +13519 -1128
- package/dist/generated/index.schemas.d.ts.map +1 -1
- package/dist/generated/index.schemas.js +1676 -19
- package/dist/generated/index.schemas.js.map +1 -1
- package/dist/generated/integration-requests/integration-requests.d.ts +24 -0
- package/dist/generated/integration-requests/integration-requests.d.ts.map +1 -0
- package/dist/generated/integration-requests/integration-requests.js +23 -0
- package/dist/generated/integration-requests/integration-requests.js.map +1 -0
- package/dist/generated/integrations/integrations.d.ts +62 -19
- package/dist/generated/integrations/integrations.d.ts.map +1 -1
- package/dist/generated/integrations/integrations.js +93 -2
- package/dist/generated/integrations/integrations.js.map +1 -1
- package/dist/generated/invoice-basis-rows/invoice-basis-rows.d.ts +24 -0
- package/dist/generated/invoice-basis-rows/invoice-basis-rows.d.ts.map +1 -0
- package/dist/generated/invoice-basis-rows/invoice-basis-rows.js +23 -0
- package/dist/generated/invoice-basis-rows/invoice-basis-rows.js.map +1 -0
- package/dist/generated/invoice-details/invoice-details.d.ts +60 -0
- package/dist/generated/invoice-details/invoice-details.d.ts.map +1 -0
- package/dist/generated/invoice-details/invoice-details.js +39 -0
- package/dist/generated/invoice-details/invoice-details.js.map +1 -0
- package/dist/generated/invoices/invoices.d.ts +49 -27
- package/dist/generated/invoices/invoices.d.ts.map +1 -1
- package/dist/generated/invoices/invoices.js +92 -5
- package/dist/generated/invoices/invoices.js.map +1 -1
- package/dist/generated/items/items.d.ts +59 -0
- package/dist/generated/items/items.d.ts.map +1 -0
- package/dist/generated/items/items.js +68 -0
- package/dist/generated/items/items.js.map +1 -0
- package/dist/generated/lookups/lookups.d.ts +24 -0
- package/dist/generated/lookups/lookups.d.ts.map +1 -0
- package/dist/generated/lookups/lookups.js +23 -0
- package/dist/generated/lookups/lookups.js.map +1 -0
- package/dist/generated/manual-billing-line/manual-billing-line.d.ts +24 -0
- package/dist/generated/manual-billing-line/manual-billing-line.d.ts.map +1 -0
- package/dist/generated/manual-billing-line/manual-billing-line.js +27 -0
- package/dist/generated/manual-billing-line/manual-billing-line.js.map +1 -0
- package/dist/generated/me/me.d.ts +90 -7
- package/dist/generated/me/me.d.ts.map +1 -1
- package/dist/generated/me/me.js +91 -0
- package/dist/generated/me/me.js.map +1 -1
- package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts +45 -0
- package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts.map +1 -0
- package/dist/generated/me-notification-preferences/me-notification-preferences.js +40 -0
- package/dist/generated/me-notification-preferences/me-notification-preferences.js.map +1 -0
- package/dist/generated/merchandise/merchandise.d.ts +158 -0
- package/dist/generated/merchandise/merchandise.d.ts.map +1 -0
- package/dist/generated/merchandise/merchandise.js +168 -0
- package/dist/generated/merchandise/merchandise.js.map +1 -0
- package/dist/generated/merchandise-checkout/merchandise-checkout.d.ts +38 -0
- package/dist/generated/merchandise-checkout/merchandise-checkout.d.ts.map +1 -0
- package/dist/generated/merchandise-checkout/merchandise-checkout.js +48 -0
- package/dist/generated/merchandise-checkout/merchandise-checkout.js.map +1 -0
- package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.d.ts +84 -0
- package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.d.ts.map +1 -0
- package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.js +85 -0
- package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.js.map +1 -0
- package/dist/generated/move-adjust/move-adjust.d.ts +38 -0
- package/dist/generated/move-adjust/move-adjust.d.ts.map +1 -0
- package/dist/generated/move-adjust/move-adjust.js +52 -0
- package/dist/generated/move-adjust/move-adjust.js.map +1 -0
- package/dist/generated/notification-debug/notification-debug.d.ts +35 -0
- package/dist/generated/notification-debug/notification-debug.d.ts.map +1 -0
- package/dist/generated/notification-debug/notification-debug.js +26 -0
- package/dist/generated/notification-debug/notification-debug.js.map +1 -0
- package/dist/generated/notification-dispatches/notification-dispatches.d.ts +102 -0
- package/dist/generated/notification-dispatches/notification-dispatches.d.ts.map +1 -0
- package/dist/generated/notification-dispatches/notification-dispatches.js +72 -0
- package/dist/generated/notification-dispatches/notification-dispatches.js.map +1 -0
- package/dist/generated/notification-events/notification-events.d.ts +45 -0
- package/dist/generated/notification-events/notification-events.d.ts.map +1 -0
- package/dist/generated/notification-events/notification-events.js +43 -0
- package/dist/generated/notification-events/notification-events.js.map +1 -0
- package/dist/generated/notification-health/notification-health.d.ts +24 -0
- package/dist/generated/notification-health/notification-health.d.ts.map +1 -0
- package/dist/generated/notification-health/notification-health.js +16 -0
- package/dist/generated/notification-health/notification-health.js.map +1 -0
- package/dist/generated/notification-preferences/notification-preferences.d.ts +56 -0
- package/dist/generated/notification-preferences/notification-preferences.d.ts.map +1 -0
- package/dist/generated/notification-preferences/notification-preferences.js +46 -0
- package/dist/generated/notification-preferences/notification-preferences.js.map +1 -0
- package/dist/generated/notification-requests/notification-requests.d.ts +52 -0
- package/dist/generated/notification-requests/notification-requests.d.ts.map +1 -0
- package/dist/generated/notification-requests/notification-requests.js +28 -0
- package/dist/generated/notification-requests/notification-requests.js.map +1 -0
- package/dist/generated/notification-rules/notification-rules.d.ts +187 -0
- package/dist/generated/notification-rules/notification-rules.d.ts.map +1 -0
- package/dist/generated/notification-rules/notification-rules.js +147 -0
- package/dist/generated/notification-rules/notification-rules.js.map +1 -0
- package/dist/generated/notification-settings/notification-settings.d.ts +73 -0
- package/dist/generated/notification-settings/notification-settings.d.ts.map +1 -0
- package/dist/generated/notification-settings/notification-settings.js +90 -0
- package/dist/generated/notification-settings/notification-settings.js.map +1 -0
- package/dist/generated/notification-templates/notification-templates.d.ts +352 -0
- package/dist/generated/notification-templates/notification-templates.d.ts.map +1 -0
- package/dist/generated/notification-templates/notification-templates.js +245 -0
- package/dist/generated/notification-templates/notification-templates.js.map +1 -0
- package/dist/generated/order-groups/order-groups.d.ts +38 -0
- package/dist/generated/order-groups/order-groups.d.ts.map +1 -0
- package/dist/generated/order-groups/order-groups.js +37 -0
- package/dist/generated/order-groups/order-groups.js.map +1 -0
- package/dist/generated/orders/orders.d.ts +248 -9
- package/dist/generated/orders/orders.d.ts.map +1 -1
- package/dist/generated/orders/orders.js +428 -4
- package/dist/generated/orders/orders.js.map +1 -1
- package/dist/generated/org-contacts/org-contacts.d.ts +66 -0
- package/dist/generated/org-contacts/org-contacts.d.ts.map +1 -0
- package/dist/generated/org-contacts/org-contacts.js +87 -0
- package/dist/generated/org-contacts/org-contacts.js.map +1 -0
- package/dist/generated/organization-contracts/organization-contracts.d.ts +60 -0
- package/dist/generated/organization-contracts/organization-contracts.d.ts.map +1 -0
- package/dist/generated/organization-contracts/organization-contracts.js +39 -0
- package/dist/generated/organization-contracts/organization-contracts.js.map +1 -0
- package/dist/generated/organization-members/organization-members.d.ts +164 -0
- package/dist/generated/organization-members/organization-members.d.ts.map +1 -0
- package/dist/generated/organization-members/organization-members.js +113 -0
- package/dist/generated/organization-members/organization-members.js.map +1 -0
- package/dist/generated/organization-settings/organization-settings.d.ts +38 -0
- package/dist/generated/organization-settings/organization-settings.d.ts.map +1 -0
- package/dist/generated/organization-settings/organization-settings.js +41 -0
- package/dist/generated/organization-settings/organization-settings.js.map +1 -0
- package/dist/generated/organizations/organizations.d.ts +94 -0
- package/dist/generated/organizations/organizations.d.ts.map +1 -0
- package/dist/generated/organizations/organizations.js +129 -0
- package/dist/generated/organizations/organizations.js.map +1 -0
- package/dist/generated/outbound/outbound.d.ts +52 -0
- package/dist/generated/outbound/outbound.d.ts.map +1 -0
- package/dist/generated/outbound/outbound.js +77 -0
- package/dist/generated/outbound/outbound.js.map +1 -0
- package/dist/generated/payment-instruments/payment-instruments.d.ts +59 -5
- package/dist/generated/payment-instruments/payment-instruments.d.ts.map +1 -1
- package/dist/generated/payment-instruments/payment-instruments.js +45 -0
- package/dist/generated/payment-instruments/payment-instruments.js.map +1 -1
- package/dist/generated/payment-methods/payment-methods.d.ts +24 -0
- package/dist/generated/payment-methods/payment-methods.d.ts.map +1 -0
- package/dist/generated/payment-methods/payment-methods.js +23 -0
- package/dist/generated/payment-methods/payment-methods.js.map +1 -0
- package/dist/generated/payment-terms/payment-terms.d.ts +24 -0
- package/dist/generated/payment-terms/payment-terms.d.ts.map +1 -0
- package/dist/generated/payment-terms/payment-terms.js +23 -0
- package/dist/generated/payment-terms/payment-terms.js.map +1 -0
- package/dist/generated/pickup-label/pickup-label.d.ts +24 -0
- package/dist/generated/pickup-label/pickup-label.d.ts.map +1 -0
- package/dist/generated/pickup-label/pickup-label.js +16 -0
- package/dist/generated/pickup-label/pickup-label.js.map +1 -0
- package/dist/generated/pods/pods.d.ts +122 -0
- package/dist/generated/pods/pods.d.ts.map +1 -0
- package/dist/generated/pods/pods.js +172 -0
- package/dist/generated/pods/pods.js.map +1 -0
- package/dist/generated/positions/positions.d.ts +136 -0
- package/dist/generated/positions/positions.d.ts.map +1 -0
- package/dist/generated/positions/positions.js +141 -0
- package/dist/generated/positions/positions.js.map +1 -0
- package/dist/generated/posti-integration-mode/posti-integration-mode.d.ts +45 -0
- package/dist/generated/posti-integration-mode/posti-integration-mode.d.ts.map +1 -0
- package/dist/generated/posti-integration-mode/posti-integration-mode.js +40 -0
- package/dist/generated/posti-integration-mode/posti-integration-mode.js.map +1 -0
- package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.d.ts +49 -0
- package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.d.ts.map +1 -0
- package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.js +40 -0
- package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.js.map +1 -0
- package/dist/generated/posti-wms-ops/posti-wms-ops.d.ts +24 -0
- package/dist/generated/posti-wms-ops/posti-wms-ops.d.ts.map +1 -0
- package/dist/generated/posti-wms-ops/posti-wms-ops.js +16 -0
- package/dist/generated/posti-wms-ops/posti-wms-ops.js.map +1 -0
- package/dist/generated/price-lists/price-lists.d.ts +73 -23
- package/dist/generated/price-lists/price-lists.d.ts.map +1 -1
- package/dist/generated/price-lists/price-lists.js +104 -6
- package/dist/generated/price-lists/price-lists.js.map +1 -1
- package/dist/generated/price-suggestion/price-suggestion.d.ts +24 -0
- package/dist/generated/price-suggestion/price-suggestion.d.ts.map +1 -0
- package/dist/generated/price-suggestion/price-suggestion.js +23 -0
- package/dist/generated/price-suggestion/price-suggestion.js.map +1 -0
- package/dist/generated/pricing-rules/pricing-rules.d.ts +81 -10
- package/dist/generated/pricing-rules/pricing-rules.d.ts.map +1 -1
- package/dist/generated/pricing-rules/pricing-rules.js +106 -2
- package/dist/generated/pricing-rules/pricing-rules.js.map +1 -1
- package/dist/generated/products/products.d.ts +158 -0
- package/dist/generated/products/products.d.ts.map +1 -0
- package/dist/generated/products/products.js +198 -0
- package/dist/generated/products/products.js.map +1 -0
- package/dist/generated/provider-switch/provider-switch.d.ts +9 -8
- package/dist/generated/provider-switch/provider-switch.d.ts.map +1 -1
- package/dist/generated/provider-switch/provider-switch.js +28 -2
- package/dist/generated/provider-switch/provider-switch.js.map +1 -1
- package/dist/generated/receive/receive.d.ts +66 -0
- package/dist/generated/receive/receive.d.ts.map +1 -0
- package/dist/generated/receive/receive.js +102 -0
- package/dist/generated/receive/receive.js.map +1 -0
- package/dist/generated/recurring-fee-configs/recurring-fee-configs.d.ts +66 -0
- package/dist/generated/recurring-fee-configs/recurring-fee-configs.d.ts.map +1 -0
- package/dist/generated/recurring-fee-configs/recurring-fee-configs.js +87 -0
- package/dist/generated/recurring-fee-configs/recurring-fee-configs.js.map +1 -0
- package/dist/generated/route-stops/route-stops.d.ts +66 -0
- package/dist/generated/route-stops/route-stops.d.ts.map +1 -0
- package/dist/generated/route-stops/route-stops.js +102 -0
- package/dist/generated/route-stops/route-stops.js.map +1 -0
- package/dist/generated/routes/routes.d.ts +220 -0
- package/dist/generated/routes/routes.d.ts.map +1 -0
- package/dist/generated/routes/routes.js +340 -0
- package/dist/generated/routes/routes.js.map +1 -0
- package/dist/generated/sales-orders/sales-orders.d.ts +38 -0
- package/dist/generated/sales-orders/sales-orders.d.ts.map +1 -0
- package/dist/generated/sales-orders/sales-orders.js +37 -0
- package/dist/generated/sales-orders/sales-orders.js.map +1 -0
- package/dist/generated/sender-identities/sender-identities.d.ts +137 -0
- package/dist/generated/sender-identities/sender-identities.d.ts.map +1 -0
- package/dist/generated/sender-identities/sender-identities.js +110 -0
- package/dist/generated/sender-identities/sender-identities.js.map +1 -0
- package/dist/generated/service-catalog/service-catalog.d.ts +24 -0
- package/dist/generated/service-catalog/service-catalog.d.ts.map +1 -0
- package/dist/generated/service-catalog/service-catalog.js +16 -0
- package/dist/generated/service-catalog/service-catalog.js.map +1 -0
- package/dist/generated/service-points/service-points.d.ts +35 -0
- package/dist/generated/service-points/service-points.d.ts.map +1 -0
- package/dist/generated/service-points/service-points.js +22 -0
- package/dist/generated/service-points/service-points.js.map +1 -0
- package/dist/generated/service-zones/service-zones.d.ts +94 -0
- package/dist/generated/service-zones/service-zones.d.ts.map +1 -0
- package/dist/generated/service-zones/service-zones.js +122 -0
- package/dist/generated/service-zones/service-zones.js.map +1 -0
- package/dist/generated/sessions/sessions.d.ts +24 -0
- package/dist/generated/sessions/sessions.d.ts.map +1 -0
- package/dist/generated/sessions/sessions.js +16 -0
- package/dist/generated/sessions/sessions.js.map +1 -0
- package/dist/generated/shipments/shipments.d.ts +24 -0
- package/dist/generated/shipments/shipments.d.ts.map +1 -0
- package/dist/generated/shipments/shipments.js +16 -0
- package/dist/generated/shipments/shipments.js.map +1 -0
- package/dist/generated/slot-configs/slot-configs.d.ts +80 -0
- package/dist/generated/slot-configs/slot-configs.d.ts.map +1 -0
- package/dist/generated/slot-configs/slot-configs.js +112 -0
- package/dist/generated/slot-configs/slot-configs.js.map +1 -0
- package/dist/generated/stripe-webhook/stripe-webhook.d.ts +7 -6
- package/dist/generated/stripe-webhook/stripe-webhook.d.ts.map +1 -1
- package/dist/generated/stripe-webhook/stripe-webhook.js +4 -0
- package/dist/generated/stripe-webhook/stripe-webhook.js.map +1 -1
- package/dist/generated/subscription-configs/subscription-configs.d.ts +12 -11
- package/dist/generated/subscription-configs/subscription-configs.d.ts.map +1 -1
- package/dist/generated/subscription-configs/subscription-configs.js +32 -2
- package/dist/generated/subscription-configs/subscription-configs.js.map +1 -1
- package/dist/generated/suppressions/suppressions.d.ts +92 -0
- package/dist/generated/suppressions/suppressions.d.ts.map +1 -0
- package/dist/generated/suppressions/suppressions.js +92 -0
- package/dist/generated/suppressions/suppressions.js.map +1 -0
- package/dist/generated/sync-dimensions/sync-dimensions.d.ts +24 -0
- package/dist/generated/sync-dimensions/sync-dimensions.d.ts.map +1 -0
- package/dist/generated/sync-dimensions/sync-dimensions.js +27 -0
- package/dist/generated/sync-dimensions/sync-dimensions.js.map +1 -0
- package/dist/generated/tenant-config/tenant-config.d.ts +25 -10
- package/dist/generated/tenant-config/tenant-config.d.ts.map +1 -1
- package/dist/generated/tenant-config/tenant-config.js +43 -1
- package/dist/generated/tenant-config/tenant-config.js.map +1 -1
- package/dist/generated/tenant-maintenance/tenant-maintenance.d.ts +38 -0
- package/dist/generated/tenant-maintenance/tenant-maintenance.d.ts.map +1 -0
- package/dist/generated/tenant-maintenance/tenant-maintenance.js +41 -0
- package/dist/generated/tenant-maintenance/tenant-maintenance.js.map +1 -0
- package/dist/generated/tenant-modules/tenant-modules.d.ts +38 -0
- package/dist/generated/tenant-modules/tenant-modules.d.ts.map +1 -0
- package/dist/generated/tenant-modules/tenant-modules.js +41 -0
- package/dist/generated/tenant-modules/tenant-modules.js.map +1 -0
- package/dist/generated/tenant-services/tenant-services.d.ts +66 -0
- package/dist/generated/tenant-services/tenant-services.d.ts.map +1 -0
- package/dist/generated/tenant-services/tenant-services.js +80 -0
- package/dist/generated/tenant-services/tenant-services.js.map +1 -0
- package/dist/generated/transport-leg-booking/transport-leg-booking.d.ts +38 -0
- package/dist/generated/transport-leg-booking/transport-leg-booking.d.ts.map +1 -0
- package/dist/generated/transport-leg-booking/transport-leg-booking.js +41 -0
- package/dist/generated/transport-leg-booking/transport-leg-booking.js.map +1 -0
- package/dist/generated/transport-legs/transport-legs.d.ts +178 -0
- package/dist/generated/transport-legs/transport-legs.d.ts.map +1 -0
- package/dist/generated/transport-legs/transport-legs.js +287 -0
- package/dist/generated/transport-legs/transport-legs.js.map +1 -0
- package/dist/generated/transport-options/transport-options.d.ts +73 -0
- package/dist/generated/transport-options/transport-options.d.ts.map +1 -0
- package/dist/generated/transport-options/transport-options.js +86 -0
- package/dist/generated/transport-options/transport-options.js.map +1 -0
- package/dist/generated/transport-services/transport-services.d.ts +122 -0
- package/dist/generated/transport-services/transport-services.d.ts.map +1 -0
- package/dist/generated/transport-services/transport-services.js +150 -0
- package/dist/generated/transport-services/transport-services.js.map +1 -0
- package/dist/generated/units-of-measure/units-of-measure.d.ts +9 -8
- package/dist/generated/units-of-measure/units-of-measure.d.ts.map +1 -1
- package/dist/generated/units-of-measure/units-of-measure.js +9 -1
- package/dist/generated/units-of-measure/units-of-measure.js.map +1 -1
- package/dist/generated/unsubscribe/unsubscribe.d.ts +56 -0
- package/dist/generated/unsubscribe/unsubscribe.d.ts.map +1 -0
- package/dist/generated/unsubscribe/unsubscribe.js +39 -0
- package/dist/generated/unsubscribe/unsubscribe.js.map +1 -0
- package/dist/generated/users/users.d.ts +99 -0
- package/dist/generated/users/users.d.ts.map +1 -0
- package/dist/generated/users/users.js +95 -0
- package/dist/generated/users/users.js.map +1 -0
- package/dist/generated/warehouse-orders/warehouse-orders.d.ts +164 -0
- package/dist/generated/warehouse-orders/warehouse-orders.d.ts.map +1 -0
- package/dist/generated/warehouse-orders/warehouse-orders.js +251 -0
- package/dist/generated/warehouse-orders/warehouse-orders.js.map +1 -0
- package/dist/generated/warehouses/warehouses.d.ts +217 -0
- package/dist/generated/warehouses/warehouses.d.ts.map +1 -0
- package/dist/generated/warehouses/warehouses.js +238 -0
- package/dist/generated/warehouses/warehouses.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/permissions.d.ts +10 -3
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +11 -4
- package/dist/permissions.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-debug.js","sourceRoot":"","sources":["../../../src/generated/notification-debug/notification-debug.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA0B/C,MAAM,CAAC,MAAM,2CAA2C,GAAG,GAAG,EAAE;IAK9D,OAAO,iCAAiC,CAAA;AAC1C,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,KAAK,EAAE,WAAwB,EAAE,OAA2C,EAA0D,EAAE;IAEzL,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAAgD,2CAA2C,EAAE,EAC7G;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;KAClC,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval ๐บ
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Vinden Core API
|
|
5
|
+
* Core API for the Vinden Platform
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { NotificationDispatchDetailDto, NotificationDispatchesControllerListV1Params, PaginatedNotificationDispatchesDto, ResendBatchDto, ResendBatchResultDto, ResendResultDto } from '../index.schemas.js';
|
|
9
|
+
import { customFetch } from '../../mutator.js';
|
|
10
|
+
export type notificationDispatchesControllerListV1Response200 = {
|
|
11
|
+
data: PaginatedNotificationDispatchesDto;
|
|
12
|
+
status: 200;
|
|
13
|
+
};
|
|
14
|
+
export type notificationDispatchesControllerListV1Response400 = {
|
|
15
|
+
data: void;
|
|
16
|
+
status: 400;
|
|
17
|
+
};
|
|
18
|
+
export type notificationDispatchesControllerListV1ResponseSuccess = (notificationDispatchesControllerListV1Response200) & {
|
|
19
|
+
headers: Headers;
|
|
20
|
+
};
|
|
21
|
+
export type notificationDispatchesControllerListV1ResponseError = (notificationDispatchesControllerListV1Response400) & {
|
|
22
|
+
headers: Headers;
|
|
23
|
+
};
|
|
24
|
+
export type notificationDispatchesControllerListV1Response = (notificationDispatchesControllerListV1ResponseSuccess | notificationDispatchesControllerListV1ResponseError);
|
|
25
|
+
export declare const getNotificationDispatchesControllerListV1Url: (params?: NotificationDispatchesControllerListV1Params) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Over the monthly-partitioned dispatch table, so the createdFrom/createdTo range is always bounded โ it defaults to the last 30 days and an invalid or inverted range is `400 date_range_required`. Test-sends are hidden unless `isTest=true`. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
28
|
+
* @summary List message dispatches
|
|
29
|
+
*/
|
|
30
|
+
export declare const notificationDispatchesControllerListV1: (params?: NotificationDispatchesControllerListV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<notificationDispatchesControllerListV1Response>;
|
|
31
|
+
export type notificationDispatchesControllerGetByIdV1Response200 = {
|
|
32
|
+
data: NotificationDispatchDetailDto;
|
|
33
|
+
status: 200;
|
|
34
|
+
};
|
|
35
|
+
export type notificationDispatchesControllerGetByIdV1Response404 = {
|
|
36
|
+
data: void;
|
|
37
|
+
status: 404;
|
|
38
|
+
};
|
|
39
|
+
export type notificationDispatchesControllerGetByIdV1ResponseSuccess = (notificationDispatchesControllerGetByIdV1Response200) & {
|
|
40
|
+
headers: Headers;
|
|
41
|
+
};
|
|
42
|
+
export type notificationDispatchesControllerGetByIdV1ResponseError = (notificationDispatchesControllerGetByIdV1Response404) & {
|
|
43
|
+
headers: Headers;
|
|
44
|
+
};
|
|
45
|
+
export type notificationDispatchesControllerGetByIdV1Response = (notificationDispatchesControllerGetByIdV1ResponseSuccess | notificationDispatchesControllerGetByIdV1ResponseError);
|
|
46
|
+
export declare const getNotificationDispatchesControllerGetByIdV1Url: (id: string) => string;
|
|
47
|
+
/**
|
|
48
|
+
* Adds `resolutionReason` (why this address was chosen) and the provider `deliveryEvents` timeline. `renderedBody` is returned only when the tenant enabled body storage and the row is inside the 90-day scrub window โ otherwise `bodyRetained` is false and the body is null. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
49
|
+
* @summary Get one dispatch with its delivery timeline
|
|
50
|
+
*/
|
|
51
|
+
export declare const notificationDispatchesControllerGetByIdV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<notificationDispatchesControllerGetByIdV1Response>;
|
|
52
|
+
export type notificationDispatchesControllerResendBatchV1Response202 = {
|
|
53
|
+
data: ResendBatchResultDto;
|
|
54
|
+
status: 202;
|
|
55
|
+
};
|
|
56
|
+
export type notificationDispatchesControllerResendBatchV1Response400 = {
|
|
57
|
+
data: void;
|
|
58
|
+
status: 400;
|
|
59
|
+
};
|
|
60
|
+
export type notificationDispatchesControllerResendBatchV1Response409 = {
|
|
61
|
+
data: void;
|
|
62
|
+
status: 409;
|
|
63
|
+
};
|
|
64
|
+
export type notificationDispatchesControllerResendBatchV1ResponseSuccess = (notificationDispatchesControllerResendBatchV1Response202) & {
|
|
65
|
+
headers: Headers;
|
|
66
|
+
};
|
|
67
|
+
export type notificationDispatchesControllerResendBatchV1ResponseError = (notificationDispatchesControllerResendBatchV1Response400 | notificationDispatchesControllerResendBatchV1Response409) & {
|
|
68
|
+
headers: Headers;
|
|
69
|
+
};
|
|
70
|
+
export type notificationDispatchesControllerResendBatchV1Response = (notificationDispatchesControllerResendBatchV1ResponseSuccess | notificationDispatchesControllerResendBatchV1ResponseError);
|
|
71
|
+
export declare const getNotificationDispatchesControllerResendBatchV1Url: () => string;
|
|
72
|
+
/**
|
|
73
|
+
* Transient `failed` rows only โ `render_failed`, bounced and suppressed rows need their cause fixed first (04 ยง11). Capped, and re-counted server-side: if the filter no longer matches the number the operator confirmed, the batch is refused with the fresh count rather than sent. Each row is cloned through the same gate a single resend runs, so a now-suppressed address lands terminal instead of being mailed. Audited as an admin action. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
74
|
+
* @summary Resend a batch of transient failures
|
|
75
|
+
*/
|
|
76
|
+
export declare const notificationDispatchesControllerResendBatchV1: (resendBatchDto: ResendBatchDto, options?: Parameters<typeof customFetch>[1]) => Promise<notificationDispatchesControllerResendBatchV1Response>;
|
|
77
|
+
export type notificationDispatchesControllerResendV1Response202 = {
|
|
78
|
+
data: ResendResultDto;
|
|
79
|
+
status: 202;
|
|
80
|
+
};
|
|
81
|
+
export type notificationDispatchesControllerResendV1Response404 = {
|
|
82
|
+
data: void;
|
|
83
|
+
status: 404;
|
|
84
|
+
};
|
|
85
|
+
export type notificationDispatchesControllerResendV1Response409 = {
|
|
86
|
+
data: void;
|
|
87
|
+
status: 409;
|
|
88
|
+
};
|
|
89
|
+
export type notificationDispatchesControllerResendV1ResponseSuccess = (notificationDispatchesControllerResendV1Response202) & {
|
|
90
|
+
headers: Headers;
|
|
91
|
+
};
|
|
92
|
+
export type notificationDispatchesControllerResendV1ResponseError = (notificationDispatchesControllerResendV1Response404 | notificationDispatchesControllerResendV1Response409) & {
|
|
93
|
+
headers: Headers;
|
|
94
|
+
};
|
|
95
|
+
export type notificationDispatchesControllerResendV1Response = (notificationDispatchesControllerResendV1ResponseSuccess | notificationDispatchesControllerResendV1ResponseError);
|
|
96
|
+
export declare const getNotificationDispatchesControllerResendV1Url: (id: string) => string;
|
|
97
|
+
/**
|
|
98
|
+
* Clones a TERMINAL dispatch into a new row โ the original is never mutated (02 ยง7.2) โ re-rendering from the currently published template version and re-running the send-time gate. A resend to an address that has since been suppressed or opted out is created as a terminal row and reported as such: this endpoint cannot punch through a hard block. Audited as an admin action. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
99
|
+
* @summary Resend one dispatch
|
|
100
|
+
*/
|
|
101
|
+
export declare const notificationDispatchesControllerResendV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<notificationDispatchesControllerResendV1Response>;
|
|
102
|
+
//# sourceMappingURL=notification-dispatches.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-dispatches.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-dispatches/notification-dispatches.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { customFetch } from '../../mutator.js';
|
|
2
|
+
export const getNotificationDispatchesControllerListV1Url = (params) => {
|
|
3
|
+
const normalizedParams = new URLSearchParams();
|
|
4
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
5
|
+
if (value !== undefined) {
|
|
6
|
+
normalizedParams.append(key, value === null ? 'null' : String(value));
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
const stringifiedParams = normalizedParams.toString();
|
|
10
|
+
return stringifiedParams.length > 0 ? `/v1/notification-dispatches?${stringifiedParams}` : `/v1/notification-dispatches`;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Over the monthly-partitioned dispatch table, so the createdFrom/createdTo range is always bounded โ it defaults to the last 30 days and an invalid or inverted range is `400 date_range_required`. Test-sends are hidden unless `isTest=true`. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
14
|
+
* @summary List message dispatches
|
|
15
|
+
*/
|
|
16
|
+
export const notificationDispatchesControllerListV1 = async (params, options) => {
|
|
17
|
+
return customFetch(getNotificationDispatchesControllerListV1Url(params), {
|
|
18
|
+
...options,
|
|
19
|
+
method: 'GET'
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
export const getNotificationDispatchesControllerGetByIdV1Url = (id) => {
|
|
23
|
+
return `/v1/notification-dispatches/${id}`;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Adds `resolutionReason` (why this address was chosen) and the provider `deliveryEvents` timeline. `renderedBody` is returned only when the tenant enabled body storage and the row is inside the 90-day scrub window โ otherwise `bodyRetained` is false and the body is null. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
27
|
+
* @summary Get one dispatch with its delivery timeline
|
|
28
|
+
*/
|
|
29
|
+
export const notificationDispatchesControllerGetByIdV1 = async (id, options) => {
|
|
30
|
+
return customFetch(getNotificationDispatchesControllerGetByIdV1Url(id), {
|
|
31
|
+
...options,
|
|
32
|
+
method: 'GET'
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
export const getNotificationDispatchesControllerResendBatchV1Url = () => {
|
|
36
|
+
return `/v1/notification-dispatches/resend-batch`;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Transient `failed` rows only โ `render_failed`, bounced and suppressed rows need their cause fixed first (04 ยง11). Capped, and re-counted server-side: if the filter no longer matches the number the operator confirmed, the batch is refused with the fresh count rather than sent. Each row is cloned through the same gate a single resend runs, so a now-suppressed address lands terminal instead of being mailed. Audited as an admin action. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
40
|
+
* @summary Resend a batch of transient failures
|
|
41
|
+
*/
|
|
42
|
+
export const notificationDispatchesControllerResendBatchV1 = async (resendBatchDto, options) => {
|
|
43
|
+
const getHeaders = (h) => {
|
|
44
|
+
if (!h)
|
|
45
|
+
return {};
|
|
46
|
+
if (h instanceof Headers)
|
|
47
|
+
return Object.fromEntries(h.entries());
|
|
48
|
+
if (Array.isArray(h))
|
|
49
|
+
return Object.fromEntries(h);
|
|
50
|
+
return h;
|
|
51
|
+
};
|
|
52
|
+
return customFetch(getNotificationDispatchesControllerResendBatchV1Url(), {
|
|
53
|
+
...options,
|
|
54
|
+
method: 'POST',
|
|
55
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
56
|
+
body: JSON.stringify(resendBatchDto)
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
export const getNotificationDispatchesControllerResendV1Url = (id) => {
|
|
60
|
+
return `/v1/notification-dispatches/${id}/resend`;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Clones a TERMINAL dispatch into a new row โ the original is never mutated (02 ยง7.2) โ re-rendering from the currently published template version and re-running the send-time gate. A resend to an address that has since been suppressed or opted out is created as a terminal row and reported as such: this endpoint cannot punch through a hard block. Audited as an admin action. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
64
|
+
* @summary Resend one dispatch
|
|
65
|
+
*/
|
|
66
|
+
export const notificationDispatchesControllerResendV1 = async (id, options) => {
|
|
67
|
+
return customFetch(getNotificationDispatchesControllerResendV1Url(id), {
|
|
68
|
+
...options,
|
|
69
|
+
method: 'POST'
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=notification-dispatches.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-dispatches.js","sourceRoot":"","sources":["../../../src/generated/notification-dispatches/notification-dispatches.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAqB/C,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,MAAqD,EAAG,EAAE;IACrH,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;QACvE,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,+BAA+B,iBAAiB,EAAE,CAAC,CAAC,CAAC,6BAA6B,CAAA;AAC1H,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,KAAK,EAAE,MAAqD,EAAE,OAA2C,EAA2D,EAAE;IAE1N,OAAO,WAAW,CAAiD,4CAA4C,CAAC,MAAM,CAAC,EACvH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AAsBH,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK7E,OAAO,+BAA+B,EAAE,EAAE,CAAA;AAC5C,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,EAAE,EAAU,EAAE,OAA2C,EAA8D,EAAE;IAErL,OAAO,WAAW,CAAoD,+CAA+C,CAAC,EAAE,CAAC,EACzH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AA2BH,MAAM,CAAC,MAAM,mDAAmD,GAAG,GAAG,EAAE;IAKtE,OAAO,0CAA0C,CAAA;AACnD,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAG,KAAK,EAAE,cAA8B,EAAE,OAA2C,EAAkE,EAAE;IAE/M,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAAwD,mDAAmD,EAAE,EAC7H;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC;KACrC,CACF,CAAC;AAAA,CAAC,CAAA;AA2BH,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK5E,OAAO,+BAA+B,EAAE,SAAS,CAAA;AACnD,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,KAAK,EAAE,EAAU,EAAE,OAA2C,EAA6D,EAAE;IAEnL,OAAO,WAAW,CAAmD,8CAA8C,CAAC,EAAE,CAAC,EACvH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;KAGf,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval ๐บ
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Vinden Core API
|
|
5
|
+
* Core API for the Vinden Platform
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { NotificationEventDto, NotificationEventSummaryDto, NotificationEventsControllerGetByKeyV1Params, NotificationEventsControllerListV1Params } from '../index.schemas.js';
|
|
9
|
+
import { customFetch } from '../../mutator.js';
|
|
10
|
+
export type notificationEventsControllerListV1Response200 = {
|
|
11
|
+
data: NotificationEventSummaryDto[];
|
|
12
|
+
status: 200;
|
|
13
|
+
};
|
|
14
|
+
export type notificationEventsControllerListV1ResponseSuccess = (notificationEventsControllerListV1Response200) & {
|
|
15
|
+
headers: Headers;
|
|
16
|
+
};
|
|
17
|
+
export type notificationEventsControllerListV1Response = (notificationEventsControllerListV1ResponseSuccess);
|
|
18
|
+
export declare const getNotificationEventsControllerListV1Url: (params?: NotificationEventsControllerListV1Params) => string;
|
|
19
|
+
/**
|
|
20
|
+
* One row per (eventKey, version) so a deprecated version and its successor are both visible. Bounded platform reference data โ a raw array, not a pagination envelope. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
21
|
+
* @summary List the platform event catalog
|
|
22
|
+
*/
|
|
23
|
+
export declare const notificationEventsControllerListV1: (params?: NotificationEventsControllerListV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<notificationEventsControllerListV1Response>;
|
|
24
|
+
export type notificationEventsControllerGetByKeyV1Response200 = {
|
|
25
|
+
data: NotificationEventDto;
|
|
26
|
+
status: 200;
|
|
27
|
+
};
|
|
28
|
+
export type notificationEventsControllerGetByKeyV1Response404 = {
|
|
29
|
+
data: void;
|
|
30
|
+
status: 404;
|
|
31
|
+
};
|
|
32
|
+
export type notificationEventsControllerGetByKeyV1ResponseSuccess = (notificationEventsControllerGetByKeyV1Response200) & {
|
|
33
|
+
headers: Headers;
|
|
34
|
+
};
|
|
35
|
+
export type notificationEventsControllerGetByKeyV1ResponseError = (notificationEventsControllerGetByKeyV1Response404) & {
|
|
36
|
+
headers: Headers;
|
|
37
|
+
};
|
|
38
|
+
export type notificationEventsControllerGetByKeyV1Response = (notificationEventsControllerGetByKeyV1ResponseSuccess | notificationEventsControllerGetByKeyV1ResponseError);
|
|
39
|
+
export declare const getNotificationEventsControllerGetByKeyV1Url: (eventKey: string, params?: NotificationEventsControllerGetByKeyV1Params) => string;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the ACTIVE version by default โ the one a new rule or template would pin. `?version=N` addresses any version, including a retired one, so a rule still bound to it stays inspectable. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
42
|
+
* @summary Get one event with its contract
|
|
43
|
+
*/
|
|
44
|
+
export declare const notificationEventsControllerGetByKeyV1: (eventKey: string, params?: NotificationEventsControllerGetByKeyV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<notificationEventsControllerGetByKeyV1Response>;
|
|
45
|
+
//# sourceMappingURL=notification-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-events.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-events/notification-events.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,2BAA2B,EAC3B,4CAA4C,EAC5C,wCAAwC,EACzC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,6CAA6C,GAAG;IAC1D,IAAI,EAAE,2BAA2B,EAAE,CAAA;IACnC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,iDAAiD,GAAG,CAAC,6CAA6C,CAAC,GAAG;IAChH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,0CAA0C,GAAG,CAAC,iDAAiD,CAAC,CAAA;AAE5G,eAAO,MAAM,wCAAwC,GAAI,SAAS,wCAAwC,WAazG,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,kCAAkC,GAAU,SAAS,wCAAwC,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,0CAA0C,CASzM,CAAA;AAGH,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,qDAAqD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACxH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,mDAAmD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACtH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,8CAA8C,GAAG,CAAC,qDAAqD,GAAG,mDAAmD,CAAC,CAAA;AAE1K,eAAO,MAAM,4CAA4C,GAAI,UAAU,MAAM,EACzE,SAAS,4CAA4C,WAaxD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,sCAAsC,GAAU,UAAU,MAAM,EACzE,SAAS,4CAA4C,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,8CAA8C,CAS5J,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { customFetch } from '../../mutator.js';
|
|
2
|
+
;
|
|
3
|
+
export const getNotificationEventsControllerListV1Url = (params) => {
|
|
4
|
+
const normalizedParams = new URLSearchParams();
|
|
5
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
6
|
+
if (value !== undefined) {
|
|
7
|
+
normalizedParams.append(key, value === null ? 'null' : String(value));
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
const stringifiedParams = normalizedParams.toString();
|
|
11
|
+
return stringifiedParams.length > 0 ? `/v1/notification-events?${stringifiedParams}` : `/v1/notification-events`;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* One row per (eventKey, version) so a deprecated version and its successor are both visible. Bounded platform reference data โ a raw array, not a pagination envelope. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
15
|
+
* @summary List the platform event catalog
|
|
16
|
+
*/
|
|
17
|
+
export const notificationEventsControllerListV1 = async (params, options) => {
|
|
18
|
+
return customFetch(getNotificationEventsControllerListV1Url(params), {
|
|
19
|
+
...options,
|
|
20
|
+
method: 'GET'
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
export const getNotificationEventsControllerGetByKeyV1Url = (eventKey, params) => {
|
|
24
|
+
const normalizedParams = new URLSearchParams();
|
|
25
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
26
|
+
if (value !== undefined) {
|
|
27
|
+
normalizedParams.append(key, value === null ? 'null' : String(value));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
const stringifiedParams = normalizedParams.toString();
|
|
31
|
+
return stringifiedParams.length > 0 ? `/v1/notification-events/${eventKey}?${stringifiedParams}` : `/v1/notification-events/${eventKey}`;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Returns the ACTIVE version by default โ the one a new rule or template would pin. `?version=N` addresses any version, including a retired one, so a rule still bound to it stays inspectable. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
35
|
+
* @summary Get one event with its contract
|
|
36
|
+
*/
|
|
37
|
+
export const notificationEventsControllerGetByKeyV1 = async (eventKey, params, options) => {
|
|
38
|
+
return customFetch(getNotificationEventsControllerGetByKeyV1Url(eventKey, params), {
|
|
39
|
+
...options,
|
|
40
|
+
method: 'GET'
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=notification-events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-events.js","sourceRoot":"","sources":["../../../src/generated/notification-events/notification-events.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,wCAAwC,GAAG,CAAC,MAAiD,EAAG,EAAE;IAC7G,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;QACvE,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,2BAA2B,iBAAiB,EAAE,CAAC,CAAC,CAAC,yBAAyB,CAAA;AAClH,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,KAAK,EAAE,MAAiD,EAAE,OAA2C,EAAuD,EAAE;IAE9M,OAAO,WAAW,CAA6C,wCAAwC,CAAC,MAAM,CAAC,EAC/G;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AAsBH,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,QAAgB,EACzE,MAAqD,EAAG,EAAE;IAC5D,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;QACvE,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,2BAA2B,QAAQ,IAAI,iBAAiB,EAAE,CAAC,CAAC,CAAC,2BAA2B,QAAQ,EAAE,CAAA;AAC1I,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,KAAK,EAAE,QAAgB,EACzE,MAAqD,EAAE,OAA2C,EAA2D,EAAE;IAEjK,OAAO,WAAW,CAAiD,4CAA4C,CAAC,QAAQ,EAAC,MAAM,CAAC,EAChI;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval ๐บ
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Vinden Core API
|
|
5
|
+
* Core API for the Vinden Platform
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { NotificationHealthDto } from '../index.schemas.js';
|
|
9
|
+
import { customFetch } from '../../mutator.js';
|
|
10
|
+
export type notificationHealthControllerGetV1Response200 = {
|
|
11
|
+
data: NotificationHealthDto;
|
|
12
|
+
status: 200;
|
|
13
|
+
};
|
|
14
|
+
export type notificationHealthControllerGetV1ResponseSuccess = (notificationHealthControllerGetV1Response200) & {
|
|
15
|
+
headers: Headers;
|
|
16
|
+
};
|
|
17
|
+
export type notificationHealthControllerGetV1Response = (notificationHealthControllerGetV1ResponseSuccess);
|
|
18
|
+
export declare const getNotificationHealthControllerGetV1Url: () => string;
|
|
19
|
+
/**
|
|
20
|
+
* Rolling bounce / complaint / render-failure rates and suppression growth over 7- and 30-day windows, computed from the existing dispatch and suppression tables. A rate is null (not zero) when its window had no qualifying sends. Test-sends are excluded throughout. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
21
|
+
* @summary Per-tenant notification health
|
|
22
|
+
*/
|
|
23
|
+
export declare const notificationHealthControllerGetV1: (options?: Parameters<typeof customFetch>[1]) => Promise<notificationHealthControllerGetV1Response>;
|
|
24
|
+
//# sourceMappingURL=notification-health.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-health.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-health/notification-health.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,4CAA4C,GAAG;IACzD,IAAI,EAAE,qBAAqB,CAAA;IAC3B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,gDAAgD,GAAG,CAAC,4CAA4C,CAAC,GAAG;IAC9G,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,yCAAyC,GAAG,CAAC,gDAAgD,CAAC,CAAA;AAE1G,eAAO,MAAM,uCAAuC,cAMnD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,iCAAiC,GAAW,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,yCAAyC,CASrJ,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { customFetch } from '../../mutator.js';
|
|
2
|
+
;
|
|
3
|
+
export const getNotificationHealthControllerGetV1Url = () => {
|
|
4
|
+
return `/v1/notification-health`;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Rolling bounce / complaint / render-failure rates and suppression growth over 7- and 30-day windows, computed from the existing dispatch and suppression tables. A rate is null (not zero) when its window had no qualifying sends. Test-sends are excluded throughout. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
8
|
+
* @summary Per-tenant notification health
|
|
9
|
+
*/
|
|
10
|
+
export const notificationHealthControllerGetV1 = async (options) => {
|
|
11
|
+
return customFetch(getNotificationHealthControllerGetV1Url(), {
|
|
12
|
+
...options,
|
|
13
|
+
method: 'GET'
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=notification-health.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-health.js","sourceRoot":"","sources":["../../../src/generated/notification-health/notification-health.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,uCAAuC,GAAG,GAAG,EAAE;IAK1D,OAAO,yBAAyB,CAAA;AAClC,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,KAAK,EAAG,OAA2C,EAAsD,EAAE;IAE1J,OAAO,WAAW,CAA4C,uCAAuC,EAAE,EACvG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval ๐บ
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Vinden Core API
|
|
5
|
+
* Core API for the Vinden Platform
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { NotificationPreferencesControllerSearchV1Params, PreferenceDto, UpsertPreferenceDto } from '../index.schemas.js';
|
|
9
|
+
import { customFetch } from '../../mutator.js';
|
|
10
|
+
export type notificationPreferencesControllerSearchV1Response200 = {
|
|
11
|
+
data: PreferenceDto[];
|
|
12
|
+
status: 200;
|
|
13
|
+
};
|
|
14
|
+
export type notificationPreferencesControllerSearchV1Response400 = {
|
|
15
|
+
data: void;
|
|
16
|
+
status: 400;
|
|
17
|
+
};
|
|
18
|
+
export type notificationPreferencesControllerSearchV1ResponseSuccess = (notificationPreferencesControllerSearchV1Response200) & {
|
|
19
|
+
headers: Headers;
|
|
20
|
+
};
|
|
21
|
+
export type notificationPreferencesControllerSearchV1ResponseError = (notificationPreferencesControllerSearchV1Response400) & {
|
|
22
|
+
headers: Headers;
|
|
23
|
+
};
|
|
24
|
+
export type notificationPreferencesControllerSearchV1Response = (notificationPreferencesControllerSearchV1ResponseSuccess | notificationPreferencesControllerSearchV1ResponseError);
|
|
25
|
+
export declare const getNotificationPreferencesControllerSearchV1Url: (params?: NotificationPreferencesControllerSearchV1Params) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Exactly one of `userSub` or `address` is required. Default is opt-IN, so an empty array means the subject receives everything โ not that the subject is unknown. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
28
|
+
* @summary Search a subject's notification preferences
|
|
29
|
+
*/
|
|
30
|
+
export declare const notificationPreferencesControllerSearchV1: (params?: NotificationPreferencesControllerSearchV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<notificationPreferencesControllerSearchV1Response>;
|
|
31
|
+
export type notificationPreferencesControllerUpsertV1Response200 = {
|
|
32
|
+
data: PreferenceDto[];
|
|
33
|
+
status: 200;
|
|
34
|
+
};
|
|
35
|
+
export type notificationPreferencesControllerUpsertV1Response400 = {
|
|
36
|
+
data: void;
|
|
37
|
+
status: 400;
|
|
38
|
+
};
|
|
39
|
+
export type notificationPreferencesControllerUpsertV1Response404 = {
|
|
40
|
+
data: void;
|
|
41
|
+
status: 404;
|
|
42
|
+
};
|
|
43
|
+
export type notificationPreferencesControllerUpsertV1ResponseSuccess = (notificationPreferencesControllerUpsertV1Response200) & {
|
|
44
|
+
headers: Headers;
|
|
45
|
+
};
|
|
46
|
+
export type notificationPreferencesControllerUpsertV1ResponseError = (notificationPreferencesControllerUpsertV1Response400 | notificationPreferencesControllerUpsertV1Response404) & {
|
|
47
|
+
headers: Headers;
|
|
48
|
+
};
|
|
49
|
+
export type notificationPreferencesControllerUpsertV1Response = (notificationPreferencesControllerUpsertV1ResponseSuccess | notificationPreferencesControllerUpsertV1ResponseError);
|
|
50
|
+
export declare const getNotificationPreferencesControllerUpsertV1Url: () => string;
|
|
51
|
+
/**
|
|
52
|
+
* Staff surface: the server forces `source='admin'`, so the trail records that a staff member made this choice rather than the recipient. Upsert on (subject, category, channel) โ a second write of the same choice updates rather than duplicating. An opt-out the send path would ignore (`security`/`system`, or category-level `billing`) is rejected rather than stored. Audited as an admin action. Returns the subject's full effective set. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
53
|
+
* @summary Upsert a subject's notification preference on their behalf
|
|
54
|
+
*/
|
|
55
|
+
export declare const notificationPreferencesControllerUpsertV1: (upsertPreferenceDto: UpsertPreferenceDto, options?: Parameters<typeof customFetch>[1]) => Promise<notificationPreferencesControllerUpsertV1Response>;
|
|
56
|
+
//# sourceMappingURL=notification-preferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-preferences.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-preferences/notification-preferences.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,+CAA+C,EAC/C,aAAa,EACb,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC9H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,sDAAsD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC5H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG,CAAC,wDAAwD,GAAG,sDAAsD,CAAC,CAAA;AAEnL,eAAO,MAAM,+CAA+C,GAAI,SAAS,+CAA+C,WAavH,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,yCAAyC,GAAU,SAAS,+CAA+C,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,iDAAiD,CAS9N,CAAA;AAGH,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC9H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,sDAAsD,GAAG,CAAC,oDAAoD,GAAG,oDAAoD,CAAC,GAAG;IACnL,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG,CAAC,wDAAwD,GAAG,sDAAsD,CAAC,CAAA;AAEnL,eAAO,MAAM,+CAA+C,cAM3D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,yCAAyC,GAAU,qBAAqB,mBAAmB,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,iDAAiD,CAe9M,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { customFetch } from '../../mutator.js';
|
|
2
|
+
export const getNotificationPreferencesControllerSearchV1Url = (params) => {
|
|
3
|
+
const normalizedParams = new URLSearchParams();
|
|
4
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
5
|
+
if (value !== undefined) {
|
|
6
|
+
normalizedParams.append(key, value === null ? 'null' : String(value));
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
const stringifiedParams = normalizedParams.toString();
|
|
10
|
+
return stringifiedParams.length > 0 ? `/v1/notification-preferences?${stringifiedParams}` : `/v1/notification-preferences`;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Exactly one of `userSub` or `address` is required. Default is opt-IN, so an empty array means the subject receives everything โ not that the subject is unknown. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
14
|
+
* @summary Search a subject's notification preferences
|
|
15
|
+
*/
|
|
16
|
+
export const notificationPreferencesControllerSearchV1 = async (params, options) => {
|
|
17
|
+
return customFetch(getNotificationPreferencesControllerSearchV1Url(params), {
|
|
18
|
+
...options,
|
|
19
|
+
method: 'GET'
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
export const getNotificationPreferencesControllerUpsertV1Url = () => {
|
|
23
|
+
return `/v1/notification-preferences`;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Staff surface: the server forces `source='admin'`, so the trail records that a staff member made this choice rather than the recipient. Upsert on (subject, category, channel) โ a second write of the same choice updates rather than duplicating. An opt-out the send path would ignore (`security`/`system`, or category-level `billing`) is rejected rather than stored. Audited as an admin action. Returns the subject's full effective set. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
27
|
+
* @summary Upsert a subject's notification preference on their behalf
|
|
28
|
+
*/
|
|
29
|
+
export const notificationPreferencesControllerUpsertV1 = async (upsertPreferenceDto, options) => {
|
|
30
|
+
const getHeaders = (h) => {
|
|
31
|
+
if (!h)
|
|
32
|
+
return {};
|
|
33
|
+
if (h instanceof Headers)
|
|
34
|
+
return Object.fromEntries(h.entries());
|
|
35
|
+
if (Array.isArray(h))
|
|
36
|
+
return Object.fromEntries(h);
|
|
37
|
+
return h;
|
|
38
|
+
};
|
|
39
|
+
return customFetch(getNotificationPreferencesControllerUpsertV1Url(), {
|
|
40
|
+
...options,
|
|
41
|
+
method: 'PUT',
|
|
42
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
43
|
+
body: JSON.stringify(upsertPreferenceDto)
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=notification-preferences.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-preferences.js","sourceRoot":"","sources":["../../../src/generated/notification-preferences/notification-preferences.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAqB/C,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,MAAwD,EAAG,EAAE;IAC3H,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;QACvE,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,gCAAgC,iBAAiB,EAAE,CAAC,CAAC,CAAC,8BAA8B,CAAA;AAC5H,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,EAAE,MAAwD,EAAE,OAA2C,EAA8D,EAAE;IAEnO,OAAO,WAAW,CAAoD,+CAA+C,CAAC,MAAM,CAAC,EAC7H;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AA2BH,MAAM,CAAC,MAAM,+CAA+C,GAAG,GAAG,EAAE;IAKlE,OAAO,8BAA8B,CAAA;AACvC,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,EAAE,mBAAwC,EAAE,OAA2C,EAA8D,EAAE;IAEjN,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAAoD,+CAA+C,EAAE,EACrH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC;KAC1C,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval ๐บ
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Vinden Core API
|
|
5
|
+
* Core API for the Vinden Platform
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { NotificationRequestDto, ReprocessResultDto } from '../index.schemas.js';
|
|
9
|
+
import { customFetch } from '../../mutator.js';
|
|
10
|
+
export type notificationRequestsControllerGetByIdV1Response200 = {
|
|
11
|
+
data: NotificationRequestDto;
|
|
12
|
+
status: 200;
|
|
13
|
+
};
|
|
14
|
+
export type notificationRequestsControllerGetByIdV1Response404 = {
|
|
15
|
+
data: void;
|
|
16
|
+
status: 404;
|
|
17
|
+
};
|
|
18
|
+
export type notificationRequestsControllerGetByIdV1ResponseSuccess = (notificationRequestsControllerGetByIdV1Response200) & {
|
|
19
|
+
headers: Headers;
|
|
20
|
+
};
|
|
21
|
+
export type notificationRequestsControllerGetByIdV1ResponseError = (notificationRequestsControllerGetByIdV1Response404) & {
|
|
22
|
+
headers: Headers;
|
|
23
|
+
};
|
|
24
|
+
export type notificationRequestsControllerGetByIdV1Response = (notificationRequestsControllerGetByIdV1ResponseSuccess | notificationRequestsControllerGetByIdV1ResponseError);
|
|
25
|
+
export declare const getNotificationRequestsControllerGetByIdV1Url: (id: string) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Request success is not dispatch success: a `fanned_out` request whose dispatches all bounced is a complete success at its own level, which is what `dispatchStatusCounts` shows. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
28
|
+
* @summary Get one notification request with its dispatch rollup
|
|
29
|
+
*/
|
|
30
|
+
export declare const notificationRequestsControllerGetByIdV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<notificationRequestsControllerGetByIdV1Response>;
|
|
31
|
+
export type notificationRequestsControllerReprocessV1Response202 = {
|
|
32
|
+
data: ReprocessResultDto;
|
|
33
|
+
status: 202;
|
|
34
|
+
};
|
|
35
|
+
export type notificationRequestsControllerReprocessV1Response404 = {
|
|
36
|
+
data: void;
|
|
37
|
+
status: 404;
|
|
38
|
+
};
|
|
39
|
+
export type notificationRequestsControllerReprocessV1ResponseSuccess = (notificationRequestsControllerReprocessV1Response202) & {
|
|
40
|
+
headers: Headers;
|
|
41
|
+
};
|
|
42
|
+
export type notificationRequestsControllerReprocessV1ResponseError = (notificationRequestsControllerReprocessV1Response404) & {
|
|
43
|
+
headers: Headers;
|
|
44
|
+
};
|
|
45
|
+
export type notificationRequestsControllerReprocessV1Response = (notificationRequestsControllerReprocessV1ResponseSuccess | notificationRequestsControllerReprocessV1ResponseError);
|
|
46
|
+
export declare const getNotificationRequestsControllerReprocessV1Url: (id: string) => string;
|
|
47
|
+
/**
|
|
48
|
+
* Creates a NEW request for the same event whose idempotency key is the original's plus a reprocess nonce โ which is what makes it fan out again instead of being deduped away by the consumer's UNIQUE (03 ยง6). The original request is never mutated. Audited as an admin action. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
49
|
+
* @summary Re-fan an event after a fix
|
|
50
|
+
*/
|
|
51
|
+
export declare const notificationRequestsControllerReprocessV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<notificationRequestsControllerReprocessV1Response>;
|
|
52
|
+
//# sourceMappingURL=notification-requests.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-requests.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-requests/notification-requests.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,kDAAkD,GAAG;IAC/D,IAAI,EAAE,sBAAsB,CAAA;IAC5B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,kDAAkD,GAAG;IAC/D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,sDAAsD,GAAG,CAAC,kDAAkD,CAAC,GAAG;IAC1H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,oDAAoD,GAAG,CAAC,kDAAkD,CAAC,GAAG;IACxH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,+CAA+C,GAAG,CAAC,sDAAsD,GAAG,oDAAoD,CAAC,CAAA;AAE7K,eAAO,MAAM,6CAA6C,GAAI,IAAI,MAAM,WAMvE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uCAAuC,GAAU,IAAI,MAAM,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,+CAA+C,CAS5K,CAAA;AAGH,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,kBAAkB,CAAA;IACxB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC9H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,sDAAsD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC5H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG,CAAC,wDAAwD,GAAG,sDAAsD,CAAC,CAAA;AAEnL,eAAO,MAAM,+CAA+C,GAAI,IAAI,MAAM,WAMzE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,yCAAyC,GAAU,IAAI,MAAM,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,iDAAiD,CAShL,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { customFetch } from '../../mutator.js';
|
|
2
|
+
export const getNotificationRequestsControllerGetByIdV1Url = (id) => {
|
|
3
|
+
return `/v1/notification-requests/${id}`;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Request success is not dispatch success: a `fanned_out` request whose dispatches all bounced is a complete success at its own level, which is what `dispatchStatusCounts` shows. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
7
|
+
* @summary Get one notification request with its dispatch rollup
|
|
8
|
+
*/
|
|
9
|
+
export const notificationRequestsControllerGetByIdV1 = async (id, options) => {
|
|
10
|
+
return customFetch(getNotificationRequestsControllerGetByIdV1Url(id), {
|
|
11
|
+
...options,
|
|
12
|
+
method: 'GET'
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
export const getNotificationRequestsControllerReprocessV1Url = (id) => {
|
|
16
|
+
return `/v1/notification-requests/${id}/reprocess`;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Creates a NEW request for the same event whose idempotency key is the original's plus a reprocess nonce โ which is what makes it fan out again instead of being deduped away by the consumer's UNIQUE (03 ยง6). The original request is never mutated. Audited as an admin action. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
20
|
+
* @summary Re-fan an event after a fix
|
|
21
|
+
*/
|
|
22
|
+
export const notificationRequestsControllerReprocessV1 = async (id, options) => {
|
|
23
|
+
return customFetch(getNotificationRequestsControllerReprocessV1Url(id), {
|
|
24
|
+
...options,
|
|
25
|
+
method: 'POST'
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=notification-requests.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-requests.js","sourceRoot":"","sources":["../../../src/generated/notification-requests/notification-requests.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAqB/C,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK3E,OAAO,6BAA6B,EAAE,EAAE,CAAA;AAC1C,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,KAAK,EAAE,EAAU,EAAE,OAA2C,EAA4D,EAAE;IAEjL,OAAO,WAAW,CAAkD,6CAA6C,CAAC,EAAE,CAAC,EACrH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AAsBH,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK7E,OAAO,6BAA6B,EAAE,YAAY,CAAA;AACpD,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,EAAE,EAAU,EAAE,OAA2C,EAA8D,EAAE;IAErL,OAAO,WAAW,CAAoD,+CAA+C,CAAC,EAAE,CAAC,EACzH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;KAGf,CACF,CAAC;AAAA,CAAC,CAAA"}
|