@hexclave/shared 1.0.41 → 1.0.42
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/admin-interface-Y9EZqwD6.d.ts +379 -0
- package/dist/admin-interface-Y9EZqwD6.d.ts.map +1 -0
- package/dist/admin-metrics-bsOkw4YQ.d.ts +807 -0
- package/dist/admin-metrics-bsOkw4YQ.d.ts.map +1 -0
- package/dist/ai/image-limits.d.ts.map +1 -1
- package/dist/ai/image-limits.js +6 -7
- package/dist/ai/image-limits.js.map +1 -1
- package/dist/ai/llms/llms.d.ts.map +1 -1
- package/dist/ai/llms/llms.js +2 -4
- package/dist/ai/llms/llms.js.map +1 -1
- package/dist/ai/unified-prompts/reminders.js +3 -6
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +2 -5
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/brain.js +3 -6
- package/dist/ai/unified-prompts/skill-site-prompt-parts/brain.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/cli-help.js +3 -6
- package/dist/ai/unified-prompts/skill-site-prompt-parts/cli-help.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/config-docs.js +3 -6
- package/dist/ai/unified-prompts/skill-site-prompt-parts/config-docs.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/custom-components-instructions.js +3 -6
- package/dist/ai/unified-prompts/skill-site-prompt-parts/custom-components-instructions.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/dashboard-instructions.js +3 -6
- package/dist/ai/unified-prompts/skill-site-prompt-parts/dashboard-instructions.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.js +5 -6
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js +1 -2
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/openapi-specs.js +3 -6
- package/dist/ai/unified-prompts/skill-site-prompt-parts/openapi-specs.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/sdk-interface-source.js +3 -6
- package/dist/ai/unified-prompts/skill-site-prompt-parts/sdk-interface-source.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js +2 -4
- package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/analytics-IjkAsefy.d.ts +14 -0
- package/dist/analytics-IjkAsefy.d.ts.map +1 -0
- package/dist/apps/apps-config.d.ts.map +1 -1
- package/dist/apps/apps-config.js +2 -3
- package/dist/apps/apps-config.js.map +1 -1
- package/dist/apps/apps-ui.d.ts +1 -2
- package/dist/apps/apps-ui.d.ts.map +1 -1
- package/dist/apps/apps-ui.js +4 -5
- package/dist/apps/apps-ui.js.map +1 -1
- package/dist/client-interface-iIw4nU5k.d.ts +447 -0
- package/dist/client-interface-iIw4nU5k.d.ts.map +1 -0
- package/dist/config/db-sync-mappings.js +2 -3
- package/dist/config/db-sync-mappings.js.map +1 -1
- package/dist/config/format.d.ts +2 -61
- package/dist/config/format.js +2 -192
- package/dist/config/format.js.map +1 -1
- package/dist/config/migrate-catalogs-to-product-lines.d.ts.map +1 -1
- package/dist/config/migrate-catalogs-to-product-lines.js +2 -196
- package/dist/config/migrate-catalogs-to-product-lines.js.map +1 -1
- package/dist/config/schema-fuzzer.test.js +18 -172
- package/dist/config/schema-fuzzer.test.js.map +1 -1
- package/dist/config/schema.d.ts +2 -2328
- package/dist/config/schema.js +6 -351
- package/dist/config/schema.js.map +1 -1
- package/dist/config-authoring.d.ts +1 -1
- package/dist/config-authoring.d.ts.map +1 -1
- package/dist/config-authoring.js +2 -3
- package/dist/config-authoring.js.map +1 -1
- package/dist/config-authoring.test.js +1 -3
- package/dist/config-authoring.test.js.map +1 -1
- package/dist/config-eval.d.ts.map +1 -1
- package/dist/config-eval.js +4 -46
- package/dist/config-eval.js.map +1 -1
- package/dist/config-rendering.d.ts.map +1 -1
- package/dist/config-rendering.js +2 -48
- package/dist/config-rendering.js.map +1 -1
- package/dist/connected-accounts-D5CKe50A.d.ts +67 -0
- package/dist/connected-accounts-D5CKe50A.d.ts.map +1 -0
- package/dist/contact-channels-DW8yQxlc.d.ts +180 -0
- package/dist/contact-channels-DW8yQxlc.d.ts.map +1 -0
- package/dist/country-codes-CRWDroBE.d.ts +11 -0
- package/dist/country-codes-CRWDroBE.d.ts.map +1 -0
- package/dist/crud-CqmEW9s6.d.ts +98 -0
- package/dist/crud-CqmEW9s6.d.ts.map +1 -0
- package/dist/crud.d.ts +2 -98
- package/dist/crud.js +3 -71
- package/dist/crud.js.map +1 -1
- package/dist/currency-constants-Cq_q8twn.d.ts +45 -0
- package/dist/currency-constants-Cq_q8twn.d.ts.map +1 -0
- package/dist/current-user-BBoN3hsn.d.ts +284 -0
- package/dist/current-user-BBoN3hsn.d.ts.map +1 -0
- package/dist/dates-B6ne9iOR.d.ts +23 -0
- package/dist/dates-B6ne9iOR.d.ts.map +1 -0
- package/dist/email-outbox-B1wmVPRG.d.ts +1464 -0
- package/dist/{interface/crud/email-outbox.d.ts.map → email-outbox-B1wmVPRG.d.ts.map} +1 -1
- package/dist/emails-Ba4yEaCS.d.ts +40 -0
- package/dist/emails-Ba4yEaCS.d.ts.map +1 -0
- package/dist/errors-Cl-RUyed.d.ts +238 -0
- package/dist/errors-Cl-RUyed.d.ts.map +1 -0
- package/dist/esm/ai/image-limits.d.ts.map +1 -1
- package/dist/esm/ai/image-limits.js +5 -5
- package/dist/esm/ai/image-limits.js.map +1 -1
- package/dist/esm/ai/llms/llms.d.ts +1 -1
- package/dist/esm/ai/llms/llms.d.ts.map +1 -1
- package/dist/esm/ai/llms/llms.js +1 -2
- package/dist/esm/ai/llms/llms.js.map +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js +2 -3
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +25 -28
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/brain.js +1 -2
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/brain.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/cli-help.js +1 -2
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/cli-help.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/config-docs.js +1 -2
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/config-docs.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/custom-components-instructions.js +1 -2
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/custom-components-instructions.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/dashboard-instructions.js +1 -2
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/dashboard-instructions.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.js +2 -3
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/openapi-specs.js +1 -2
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/openapi-specs.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/sdk-interface-source.js +1 -2
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/sdk-interface-source.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js +1 -2
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/esm/apps/apps-config.d.ts.map +1 -1
- package/dist/esm/apps/apps-config.js +1 -1
- package/dist/esm/apps/apps-config.js.map +1 -1
- package/dist/esm/apps/apps-ui.d.ts +2 -3
- package/dist/esm/apps/apps-ui.d.ts.map +1 -1
- package/dist/esm/apps/apps-ui.js +2 -3
- package/dist/esm/apps/apps-ui.js.map +1 -1
- package/dist/esm/config/db-sync-mappings.js +1 -1
- package/dist/esm/config/db-sync-mappings.js.map +1 -1
- package/dist/esm/config/format.d.ts +1 -1
- package/dist/esm/config/format.d.ts.map +1 -1
- package/dist/esm/config/format.js +1 -190
- package/dist/esm/config/format.js.map +1 -1
- package/dist/esm/config/migrate-catalogs-to-product-lines.d.ts.map +1 -1
- package/dist/esm/config/migrate-catalogs-to-product-lines.js +1 -194
- package/dist/esm/config/migrate-catalogs-to-product-lines.js.map +1 -1
- package/dist/esm/config/schema-fuzzer.test.js +20 -173
- package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
- package/dist/esm/config/schema.d.ts +227 -228
- package/dist/esm/config/schema.d.ts.map +1 -1
- package/dist/esm/config/schema.js +2 -347
- package/dist/esm/config/schema.js.map +1 -1
- package/dist/esm/config-authoring.d.ts +1 -1
- package/dist/esm/config-authoring.d.ts.map +1 -1
- package/dist/esm/config-authoring.js +1 -1
- package/dist/esm/config-authoring.js.map +1 -1
- package/dist/esm/config-authoring.test.js +2 -3
- package/dist/esm/config-authoring.test.js.map +1 -1
- package/dist/esm/config-eval.d.ts +1 -1
- package/dist/esm/config-eval.d.ts.map +1 -1
- package/dist/esm/config-eval.js +1 -43
- package/dist/esm/config-eval.js.map +1 -1
- package/dist/esm/config-rendering.d.ts.map +1 -1
- package/dist/esm/config-rendering.js +1 -46
- package/dist/esm/config-rendering.js.map +1 -1
- package/dist/esm/crud.d.ts +1 -1
- package/dist/esm/crud.d.ts.map +1 -1
- package/dist/esm/crud.js +2 -69
- package/dist/esm/crud.js.map +1 -1
- package/dist/esm/helpers/emails.js +1 -2
- package/dist/esm/helpers/emails.js.map +1 -1
- package/dist/esm/helpers/init-prompt.d.ts.map +1 -1
- package/dist/esm/helpers/init-prompt.js +1 -2
- package/dist/esm/helpers/init-prompt.js.map +1 -1
- package/dist/esm/helpers/password.d.ts +1 -1
- package/dist/esm/helpers/password.d.ts.map +1 -1
- package/dist/esm/helpers/password.js +1 -2
- package/dist/esm/helpers/password.js.map +1 -1
- package/dist/esm/helpers/production-mode.d.ts +1 -1
- package/dist/esm/helpers/production-mode.d.ts.map +1 -1
- package/dist/esm/helpers/production-mode.js +1 -2
- package/dist/esm/helpers/production-mode.js.map +1 -1
- package/dist/esm/helpers/support-sla.d.ts.map +1 -1
- package/dist/esm/helpers/support-sla.js +1 -1
- package/dist/esm/helpers/support-sla.js.map +1 -1
- package/dist/esm/helpers/support-sla.test.js +2 -3
- package/dist/esm/helpers/support-sla.test.js.map +1 -1
- package/dist/esm/helpers/vault/client-side.d.ts.map +1 -1
- package/dist/esm/helpers/vault/client-side.js +1 -20
- package/dist/esm/helpers/vault/client-side.js.map +1 -1
- package/dist/esm/helpers/vault/server-side.js +1 -2
- package/dist/esm/helpers/vault/server-side.js.map +1 -1
- package/dist/esm/hooks/use-async-callback.d.ts.map +1 -1
- package/dist/esm/hooks/use-async-callback.js +1 -2
- package/dist/esm/hooks/use-async-callback.js.map +1 -1
- package/dist/esm/hooks/use-async-external-store.d.ts +1 -1
- package/dist/esm/hooks/use-async-external-store.d.ts.map +1 -1
- package/dist/esm/hooks/use-async-external-store.js +1 -2
- package/dist/esm/hooks/use-async-external-store.js.map +1 -1
- package/dist/esm/hooks/use-hash.js +1 -2
- package/dist/esm/hooks/use-hash.js.map +1 -1
- package/dist/esm/hooks/use-hover.d.ts.map +1 -1
- package/dist/esm/hooks/use-hover.js +1 -2
- package/dist/esm/hooks/use-hover.js.map +1 -1
- package/dist/esm/hooks/use-strict-memo.d.ts.map +1 -1
- package/dist/esm/hooks/use-strict-memo.js +1 -70
- package/dist/esm/hooks/use-strict-memo.js.map +1 -1
- package/dist/esm/index.d.ts +4 -4
- package/dist/esm/index.js +1 -2
- package/dist/esm/interface/admin-interface.d.ts +19 -19
- package/dist/esm/interface/admin-interface.d.ts.map +1 -1
- package/dist/esm/interface/admin-interface.js +2 -3
- package/dist/esm/interface/admin-interface.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +10 -10
- package/dist/esm/interface/admin-metrics.d.ts.map +1 -1
- package/dist/esm/interface/admin-metrics.js +1 -2
- package/dist/esm/interface/admin-metrics.js.map +1 -1
- package/dist/esm/interface/client-interface.d.ts +22 -22
- package/dist/esm/interface/client-interface.d.ts.map +1 -1
- package/dist/esm/interface/client-interface.js +32 -16
- package/dist/esm/interface/client-interface.js.map +1 -1
- package/dist/esm/interface/client-interface.test.js +84 -13
- package/dist/esm/interface/client-interface.test.js.map +1 -1
- package/dist/esm/interface/conversations.d.ts +8 -8
- package/dist/esm/interface/conversations.d.ts.map +1 -1
- package/dist/esm/interface/conversations.js +1 -2
- package/dist/esm/interface/conversations.js.map +1 -1
- package/dist/esm/interface/crud/analytics.d.ts.map +1 -1
- package/dist/esm/interface/crud/analytics.js +1 -1
- package/dist/esm/interface/crud/connected-accounts.d.ts +15 -17
- package/dist/esm/interface/crud/connected-accounts.d.ts.map +1 -1
- package/dist/esm/interface/crud/connected-accounts.js +1 -2
- package/dist/esm/interface/crud/connected-accounts.js.map +1 -1
- package/dist/esm/interface/crud/contact-channels.d.ts +24 -26
- package/dist/esm/interface/crud/contact-channels.d.ts.map +1 -1
- package/dist/esm/interface/crud/contact-channels.js +1 -2
- package/dist/esm/interface/crud/contact-channels.js.map +1 -1
- package/dist/esm/interface/crud/current-user.d.ts +22 -24
- package/dist/esm/interface/crud/current-user.d.ts.map +1 -1
- package/dist/esm/interface/crud/current-user.js +25 -29
- package/dist/esm/interface/crud/current-user.js.map +1 -1
- package/dist/esm/interface/crud/email-outbox.d.ts +30 -32
- package/dist/esm/interface/crud/email-outbox.d.ts.map +1 -1
- package/dist/esm/interface/crud/email-outbox.js +1 -2
- package/dist/esm/interface/crud/email-outbox.js.map +1 -1
- package/dist/esm/interface/crud/email-templates.d.ts +16 -18
- package/dist/esm/interface/crud/email-templates.d.ts.map +1 -1
- package/dist/esm/interface/crud/email-templates.js +1 -2
- package/dist/esm/interface/crud/email-templates.js.map +1 -1
- package/dist/esm/interface/crud/emails.d.ts +6 -8
- package/dist/esm/interface/crud/emails.d.ts.map +1 -1
- package/dist/esm/interface/crud/emails.js +1 -2
- package/dist/esm/interface/crud/emails.js.map +1 -1
- package/dist/esm/interface/crud/internal-api-keys.d.ts +16 -18
- package/dist/esm/interface/crud/internal-api-keys.d.ts.map +1 -1
- package/dist/esm/interface/crud/internal-api-keys.js +1 -2
- package/dist/esm/interface/crud/internal-api-keys.js.map +1 -1
- package/dist/esm/interface/crud/invoices.d.ts.map +1 -1
- package/dist/esm/interface/crud/invoices.js +1 -2
- package/dist/esm/interface/crud/invoices.js.map +1 -1
- package/dist/esm/interface/crud/items.d.ts +6 -8
- package/dist/esm/interface/crud/items.d.ts.map +1 -1
- package/dist/esm/interface/crud/items.js +12 -16
- package/dist/esm/interface/crud/items.js.map +1 -1
- package/dist/esm/interface/crud/notification-preferences.d.ts +6 -8
- package/dist/esm/interface/crud/notification-preferences.d.ts.map +1 -1
- package/dist/esm/interface/crud/notification-preferences.js +8 -12
- package/dist/esm/interface/crud/notification-preferences.js.map +1 -1
- package/dist/esm/interface/crud/oauth-providers.d.ts +24 -26
- package/dist/esm/interface/crud/oauth-providers.d.ts.map +1 -1
- package/dist/esm/interface/crud/oauth-providers.js +1 -2
- package/dist/esm/interface/crud/oauth-providers.js.map +1 -1
- package/dist/esm/interface/crud/products.d.ts +21 -22
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/products.js +3 -2
- package/dist/esm/interface/crud/products.js.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +5 -6
- package/dist/esm/interface/crud/project-api-keys.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.js +1 -2
- package/dist/esm/interface/crud/project-api-keys.js.map +1 -1
- package/dist/esm/interface/crud/project-permissions.d.ts +29 -31
- package/dist/esm/interface/crud/project-permissions.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-permissions.js +1 -2
- package/dist/esm/interface/crud/project-permissions.js.map +1 -1
- package/dist/esm/interface/crud/projects.d.ts +63 -65
- package/dist/esm/interface/crud/projects.d.ts.map +1 -1
- package/dist/esm/interface/crud/projects.js +3 -2
- package/dist/esm/interface/crud/projects.js.map +1 -1
- package/dist/esm/interface/crud/session-replays.d.ts.map +1 -1
- package/dist/esm/interface/crud/session-replays.js +1 -1
- package/dist/esm/interface/crud/sessions.d.ts +15 -17
- package/dist/esm/interface/crud/sessions.d.ts.map +1 -1
- package/dist/esm/interface/crud/sessions.js +1 -2
- package/dist/esm/interface/crud/sessions.js.map +1 -1
- package/dist/esm/interface/crud/sign-up-rules.d.ts.map +1 -1
- package/dist/esm/interface/crud/sign-up-rules.js +1 -1
- package/dist/esm/interface/crud/svix-token.d.ts +8 -10
- package/dist/esm/interface/crud/svix-token.d.ts.map +1 -1
- package/dist/esm/interface/crud/svix-token.js +1 -2
- package/dist/esm/interface/crud/svix-token.js.map +1 -1
- package/dist/esm/interface/crud/team-invitation-details.d.ts +6 -8
- package/dist/esm/interface/crud/team-invitation-details.d.ts.map +1 -1
- package/dist/esm/interface/crud/team-invitation-details.js +1 -2
- package/dist/esm/interface/crud/team-invitation-details.js.map +1 -1
- package/dist/esm/interface/crud/team-invitation.d.ts +7 -9
- package/dist/esm/interface/crud/team-invitation.d.ts.map +1 -1
- package/dist/esm/interface/crud/team-invitation.js +1 -2
- package/dist/esm/interface/crud/team-invitation.js.map +1 -1
- package/dist/esm/interface/crud/team-member-profiles.d.ts +36 -38
- package/dist/esm/interface/crud/team-member-profiles.d.ts.map +1 -1
- package/dist/esm/interface/crud/team-member-profiles.js +1 -2
- package/dist/esm/interface/crud/team-member-profiles.js.map +1 -1
- package/dist/esm/interface/crud/team-memberships.d.ts +14 -16
- package/dist/esm/interface/crud/team-memberships.d.ts.map +1 -1
- package/dist/esm/interface/crud/team-memberships.js +1 -2
- package/dist/esm/interface/crud/team-memberships.js.map +1 -1
- package/dist/esm/interface/crud/team-permissions.d.ts +29 -31
- package/dist/esm/interface/crud/team-permissions.d.ts.map +1 -1
- package/dist/esm/interface/crud/team-permissions.js +1 -2
- package/dist/esm/interface/crud/team-permissions.js.map +1 -1
- package/dist/esm/interface/crud/teams.d.ts +36 -38
- package/dist/esm/interface/crud/teams.d.ts.map +1 -1
- package/dist/esm/interface/crud/teams.js +2 -4
- package/dist/esm/interface/crud/teams.js.map +1 -1
- package/dist/esm/interface/crud/transactions.d.ts +14 -16
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/transactions.js +7 -13
- package/dist/esm/interface/crud/transactions.js.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +21 -22
- package/dist/esm/interface/crud/users.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.js +9 -5
- package/dist/esm/interface/crud/users.js.map +1 -1
- package/dist/esm/interface/handler-urls.d.ts +1 -1
- package/dist/esm/interface/handler-urls.d.ts.map +1 -1
- package/dist/esm/interface/handler-urls.js +1 -2
- package/dist/esm/interface/page-component-versions.d.ts +1 -1
- package/dist/esm/interface/page-component-versions.d.ts.map +1 -1
- package/dist/esm/interface/page-component-versions.js +1 -2
- package/dist/esm/interface/page-component-versions.js.map +1 -1
- package/dist/esm/interface/plan-usage.d.ts +1 -1
- package/dist/esm/interface/plan-usage.d.ts.map +1 -1
- package/dist/esm/interface/plan-usage.js +1 -2
- package/dist/esm/interface/plan-usage.js.map +1 -1
- package/dist/esm/interface/server-interface.d.ts +19 -19
- package/dist/esm/interface/server-interface.d.ts.map +1 -1
- package/dist/esm/interface/server-interface.js +2 -3
- package/dist/esm/interface/server-interface.js.map +1 -1
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/esm/interface/webhooks.d.ts.map +1 -1
- package/dist/esm/interface/webhooks.js +1 -2
- package/dist/esm/interface/webhooks.js.map +1 -1
- package/dist/esm/known-errors.d.ts +2 -2
- package/dist/esm/known-errors.d.ts.map +1 -1
- package/dist/esm/known-errors.js +10 -21
- package/dist/esm/known-errors.js.map +1 -1
- package/dist/esm/payments/payment-methods.d.ts.map +1 -1
- package/dist/esm/payments/payment-methods.js +1 -1
- package/dist/esm/payments/payment-methods.js.map +1 -1
- package/dist/esm/payments/stripe-limits.d.ts.map +1 -1
- package/dist/esm/payments/stripe-limits.js +1 -1
- package/dist/esm/payments/stripe-limits.js.map +1 -1
- package/dist/esm/plans.d.ts.map +1 -1
- package/dist/esm/plans.js +1 -1
- package/dist/esm/plans.js.map +1 -1
- package/dist/esm/schema-fields.d.ts +14 -14
- package/dist/esm/schema-fields.d.ts.map +1 -1
- package/dist/esm/schema-fields.js +3 -64
- package/dist/esm/schema-fields.js.map +1 -1
- package/dist/esm/sessions.d.ts +6 -6
- package/dist/esm/sessions.d.ts.map +1 -1
- package/dist/esm/sessions.js +1 -2
- package/dist/esm/sessions.js.map +1 -1
- package/dist/esm/sessions.test.js +2 -3
- package/dist/esm/sessions.test.js.map +1 -1
- package/dist/esm/utils/analytics-clickmap-overlay.d.ts.map +1 -1
- package/dist/esm/utils/analytics-clickmap-overlay.js +1 -1
- package/dist/esm/utils/api-keys.d.ts.map +1 -1
- package/dist/esm/utils/api-keys.js +1 -2
- package/dist/esm/utils/api-keys.js.map +1 -1
- package/dist/esm/utils/arrays.d.ts.map +1 -1
- package/dist/esm/utils/arrays.js +1 -470
- package/dist/esm/utils/arrays.js.map +1 -1
- package/dist/esm/utils/auth-methods.d.ts.map +1 -1
- package/dist/esm/utils/auth-methods.js +1 -1
- package/dist/esm/utils/auth-methods.js.map +1 -1
- package/dist/esm/utils/base64.d.ts.map +1 -1
- package/dist/esm/utils/base64.js +1 -10
- package/dist/esm/utils/base64.js.map +1 -1
- package/dist/esm/utils/booleans.d.ts.map +1 -1
- package/dist/esm/utils/booleans.js +1 -25
- package/dist/esm/utils/booleans.js.map +1 -1
- package/dist/esm/utils/browser-compat.d.ts.map +1 -1
- package/dist/esm/utils/browser-compat.js +1 -1
- package/dist/esm/utils/browser-compat.js.map +1 -1
- package/dist/esm/utils/bytes.d.ts.map +1 -1
- package/dist/esm/utils/bytes.js +3 -198
- package/dist/esm/utils/bytes.js.map +1 -1
- package/dist/esm/utils/caches.d.ts +1 -1
- package/dist/esm/utils/caches.d.ts.map +1 -1
- package/dist/esm/utils/caches.js +1 -27
- package/dist/esm/utils/caches.js.map +1 -1
- package/dist/esm/utils/cel-fields.d.ts.map +1 -1
- package/dist/esm/utils/cel-fields.js +1 -2
- package/dist/esm/utils/cel-fields.js.map +1 -1
- package/dist/esm/utils/cloud-hosts.d.ts.map +1 -1
- package/dist/esm/utils/cloud-hosts.js +1 -27
- package/dist/esm/utils/cloud-hosts.js.map +1 -1
- package/dist/esm/utils/compile-time.d.ts.map +1 -1
- package/dist/esm/utils/compile-time.js +1 -1
- package/dist/esm/utils/compile-time.js.map +1 -1
- package/dist/esm/utils/country-codes.d.ts.map +1 -1
- package/dist/esm/utils/country-codes.js +1 -16
- package/dist/esm/utils/country-codes.js.map +1 -1
- package/dist/esm/utils/crypto.d.ts.map +1 -1
- package/dist/esm/utils/crypto.js +3 -113
- package/dist/esm/utils/crypto.js.map +1 -1
- package/dist/esm/utils/currencies.d.ts +1 -1
- package/dist/esm/utils/currencies.d.ts.map +1 -1
- package/dist/esm/utils/currencies.js +2 -37
- package/dist/esm/utils/currencies.js.map +1 -1
- package/dist/esm/utils/currency-constants.d.ts.map +1 -1
- package/dist/esm/utils/currency-constants.js +1 -1
- package/dist/esm/utils/currency-constants.js.map +1 -1
- package/dist/esm/utils/dates.d.ts.map +1 -1
- package/dist/esm/utils/dates.js +1 -44
- package/dist/esm/utils/dates.js.map +1 -1
- package/dist/esm/utils/dev-env-state-path.d.ts.map +1 -1
- package/dist/esm/utils/dev-env-state-path.js +1 -2
- package/dist/esm/utils/dev-env-state-path.js.map +1 -1
- package/dist/esm/utils/dev-tool.d.ts.map +1 -1
- package/dist/esm/utils/dev-tool.js +1 -1
- package/dist/esm/utils/dom.d.ts.map +1 -1
- package/dist/esm/utils/dom.js +1 -1
- package/dist/esm/utils/dom.js.map +1 -1
- package/dist/esm/utils/elements-chain.d.ts.map +1 -1
- package/dist/esm/utils/elements-chain.js +5 -50
- package/dist/esm/utils/elements-chain.js.map +1 -1
- package/dist/esm/utils/env.d.ts.map +1 -1
- package/dist/esm/utils/env.js +1 -2
- package/dist/esm/utils/env.js.map +1 -1
- package/dist/esm/utils/env.test.js +2 -3
- package/dist/esm/utils/env.test.js.map +1 -1
- package/dist/esm/utils/errors.d.ts +1 -1
- package/dist/esm/utils/errors.d.ts.map +1 -1
- package/dist/esm/utils/errors.js +1 -2
- package/dist/esm/utils/errors.js.map +1 -1
- package/dist/esm/utils/esbuild.d.ts +1 -1
- package/dist/esm/utils/esbuild.d.ts.map +1 -1
- package/dist/esm/utils/esbuild.js +2 -3
- package/dist/esm/utils/esbuild.js.map +1 -1
- package/dist/esm/utils/featurebase.d.ts.map +1 -1
- package/dist/esm/utils/featurebase.js +1 -2
- package/dist/esm/utils/featurebase.js.map +1 -1
- package/dist/esm/utils/fs.d.ts.map +1 -1
- package/dist/esm/utils/fs.js +1 -2
- package/dist/esm/utils/fs.js.map +1 -1
- package/dist/esm/utils/functions.d.ts.map +1 -1
- package/dist/esm/utils/functions.js +1 -24
- package/dist/esm/utils/functions.js.map +1 -1
- package/dist/esm/utils/geo.d.ts.map +1 -1
- package/dist/esm/utils/geo.js +1 -2
- package/dist/esm/utils/geo.js.map +1 -1
- package/dist/esm/utils/globals.d.ts.map +1 -1
- package/dist/esm/utils/globals.js +1 -1
- package/dist/esm/utils/globals.js.map +1 -1
- package/dist/esm/utils/hashes.d.ts.map +1 -1
- package/dist/esm/utils/hashes.js +1 -2
- package/dist/esm/utils/hashes.js.map +1 -1
- package/dist/esm/utils/html.d.ts.map +1 -1
- package/dist/esm/utils/html.js +1 -19
- package/dist/esm/utils/html.js.map +1 -1
- package/dist/esm/utils/http.d.ts.map +1 -1
- package/dist/esm/utils/http.js +1 -19
- package/dist/esm/utils/http.js.map +1 -1
- package/dist/esm/utils/ips.d.ts.map +1 -1
- package/dist/esm/utils/ips.js +1 -25
- package/dist/esm/utils/ips.js.map +1 -1
- package/dist/esm/utils/json.d.ts +1 -1
- package/dist/esm/utils/json.d.ts.map +1 -1
- package/dist/esm/utils/json.js +1 -155
- package/dist/esm/utils/json.js.map +1 -1
- package/dist/esm/utils/jsx-editable-transpiler.d.ts.map +1 -1
- package/dist/esm/utils/jsx-editable-transpiler.js +1 -2
- package/dist/esm/utils/jsx-editable-transpiler.js.map +1 -1
- package/dist/esm/utils/jsx-editable-transpiler.test.js +2 -3
- package/dist/esm/utils/jsx-editable-transpiler.test.js.map +1 -1
- package/dist/esm/utils/jwt.d.ts.map +1 -1
- package/dist/esm/utils/jwt.js +1 -2
- package/dist/esm/utils/jwt.js.map +1 -1
- package/dist/esm/utils/locks.d.ts.map +1 -1
- package/dist/esm/utils/locks.js +1 -2
- package/dist/esm/utils/locks.js.map +1 -1
- package/dist/esm/utils/maps.d.ts.map +1 -1
- package/dist/esm/utils/maps.js +1 -111
- package/dist/esm/utils/maps.js.map +1 -1
- package/dist/esm/utils/math.d.ts.map +1 -1
- package/dist/esm/utils/math.js +1 -11
- package/dist/esm/utils/math.js.map +1 -1
- package/dist/esm/utils/monkey-patch.d.ts.map +1 -1
- package/dist/esm/utils/monkey-patch.js +2 -3
- package/dist/esm/utils/monkey-patch.js.map +1 -1
- package/dist/esm/utils/node-http.js +1 -2
- package/dist/esm/utils/node-http.js.map +1 -1
- package/dist/esm/utils/numbers.d.ts.map +1 -1
- package/dist/esm/utils/numbers.js +1 -45
- package/dist/esm/utils/numbers.js.map +1 -1
- package/dist/esm/utils/oauth.d.ts.map +1 -1
- package/dist/esm/utils/oauth.js +1 -1
- package/dist/esm/utils/oauth.js.map +1 -1
- package/dist/esm/utils/objects.d.ts.map +1 -1
- package/dist/esm/utils/objects.js +1 -622
- package/dist/esm/utils/objects.js.map +1 -1
- package/dist/esm/utils/paginated-lists.d.ts.map +1 -1
- package/dist/esm/utils/paginated-lists.js +1 -2
- package/dist/esm/utils/paginated-lists.js.map +1 -1
- package/dist/esm/utils/paginated-lists.test.js +2 -3
- package/dist/esm/utils/paginated-lists.test.js.map +1 -1
- package/dist/esm/utils/passkey.d.ts +1 -1
- package/dist/esm/utils/passkey.js +1 -1
- package/dist/esm/utils/promises.d.ts +1 -1
- package/dist/esm/utils/promises.d.ts.map +1 -1
- package/dist/esm/utils/promises.js +2 -161
- package/dist/esm/utils/promises.js.map +1 -1
- package/dist/esm/utils/proxies.d.ts.map +1 -1
- package/dist/esm/utils/proxies.js +1 -37
- package/dist/esm/utils/proxies.js.map +1 -1
- package/dist/esm/utils/react.d.ts.map +1 -1
- package/dist/esm/utils/react.js +1 -41
- package/dist/esm/utils/react.js.map +1 -1
- package/dist/esm/utils/redirect-urls.d.ts.map +1 -1
- package/dist/esm/utils/redirect-urls.js +2 -92
- package/dist/esm/utils/redirect-urls.js.map +1 -1
- package/dist/esm/utils/regex.js +1 -1
- package/dist/esm/utils/regex.js.map +1 -1
- package/dist/esm/utils/results.d.ts.map +1 -1
- package/dist/esm/utils/results.js +1 -213
- package/dist/esm/utils/results.js.map +1 -1
- package/dist/esm/utils/sentry.js +1 -1
- package/dist/esm/utils/sentry.js.map +1 -1
- package/dist/esm/utils/stores.d.ts +3 -3
- package/dist/esm/utils/stores.d.ts.map +1 -1
- package/dist/esm/utils/stores.js +1 -2
- package/dist/esm/utils/stores.js.map +1 -1
- package/dist/esm/utils/strings.d.ts.map +1 -1
- package/dist/esm/utils/strings.js +1 -251
- package/dist/esm/utils/strings.js.map +1 -1
- package/dist/esm/utils/strings.nicify.test.js +2 -3
- package/dist/esm/utils/strings.nicify.test.js.map +1 -1
- package/dist/esm/utils/telemetry.d.ts.map +1 -1
- package/dist/esm/utils/telemetry.js +1 -2
- package/dist/esm/utils/telemetry.js.map +1 -1
- package/dist/esm/utils/turnstile-browser.d.ts +1 -1
- package/dist/esm/utils/turnstile-browser.d.ts.map +1 -1
- package/dist/esm/utils/turnstile-browser.js +1 -2
- package/dist/esm/utils/turnstile-browser.js.map +1 -1
- package/dist/esm/utils/turnstile-flow.d.ts +1 -1
- package/dist/esm/utils/turnstile-flow.d.ts.map +1 -1
- package/dist/esm/utils/turnstile-flow.js +1 -2
- package/dist/esm/utils/turnstile-flow.js.map +1 -1
- package/dist/esm/utils/turnstile-flow.test.js +2 -3
- package/dist/esm/utils/turnstile-flow.test.js.map +1 -1
- package/dist/esm/utils/turnstile.d.ts.map +1 -1
- package/dist/esm/utils/turnstile.js +1 -1
- package/dist/esm/utils/turnstile.js.map +1 -1
- package/dist/esm/utils/typed-arrays.js +1 -2
- package/dist/esm/utils/typed-arrays.js.map +1 -1
- package/dist/esm/utils/types.d.ts +1 -1
- package/dist/esm/utils/types.d.ts.map +1 -1
- package/dist/esm/utils/types.js +1 -1
- package/dist/esm/utils/types.js.map +1 -1
- package/dist/esm/utils/unicode.d.ts.map +1 -1
- package/dist/esm/utils/unicode.js +1 -13
- package/dist/esm/utils/unicode.js.map +1 -1
- package/dist/esm/utils/urls.d.ts.map +1 -1
- package/dist/esm/utils/urls.js +1 -151
- package/dist/esm/utils/urls.js.map +1 -1
- package/dist/esm/utils/uuids.d.ts.map +1 -1
- package/dist/esm/utils/uuids.js +2 -26
- package/dist/esm/utils/uuids.js.map +1 -1
- package/dist/format-4JG1MGv5.d.ts +61 -0
- package/dist/format-4JG1MGv5.d.ts.map +1 -0
- package/dist/handler-urls-BHt3v8Ai.d.ts +70 -0
- package/dist/handler-urls-BHt3v8Ai.d.ts.map +1 -0
- package/dist/helpers/emails.js +2 -4
- package/dist/helpers/emails.js.map +1 -1
- package/dist/helpers/init-prompt.d.ts.map +1 -1
- package/dist/helpers/init-prompt.js +2 -4
- package/dist/helpers/init-prompt.js.map +1 -1
- package/dist/helpers/password.d.ts +1 -1
- package/dist/helpers/password.d.ts.map +1 -1
- package/dist/helpers/password.js +2 -4
- package/dist/helpers/password.js.map +1 -1
- package/dist/helpers/production-mode.d.ts +1 -1
- package/dist/helpers/production-mode.d.ts.map +1 -1
- package/dist/helpers/production-mode.js +2 -4
- package/dist/helpers/production-mode.js.map +1 -1
- package/dist/helpers/support-sla.d.ts.map +1 -1
- package/dist/helpers/support-sla.js +2 -3
- package/dist/helpers/support-sla.js.map +1 -1
- package/dist/helpers/support-sla.test.js +1 -3
- package/dist/helpers/support-sla.test.js.map +1 -1
- package/dist/helpers/vault/client-side.d.ts.map +1 -1
- package/dist/helpers/vault/client-side.js +2 -22
- package/dist/helpers/vault/client-side.js.map +1 -1
- package/dist/helpers/vault/server-side.js +2 -4
- package/dist/helpers/vault/server-side.js.map +1 -1
- package/dist/hooks/use-async-callback.d.ts.map +1 -1
- package/dist/hooks/use-async-callback.js +4 -5
- package/dist/hooks/use-async-callback.js.map +1 -1
- package/dist/hooks/use-async-external-store.d.ts +1 -1
- package/dist/hooks/use-async-external-store.d.ts.map +1 -1
- package/dist/hooks/use-async-external-store.js +2 -4
- package/dist/hooks/use-async-external-store.js.map +1 -1
- package/dist/hooks/use-hash.js +2 -4
- package/dist/hooks/use-hash.js.map +1 -1
- package/dist/hooks/use-hover.d.ts.map +1 -1
- package/dist/hooks/use-hover.js +2 -4
- package/dist/hooks/use-hover.js.map +1 -1
- package/dist/hooks/use-strict-memo.d.ts.map +1 -1
- package/dist/hooks/use-strict-memo.js +2 -72
- package/dist/hooks/use-strict-memo.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +27 -29
- package/dist/interface/admin-interface.d.ts +3 -379
- package/dist/interface/admin-interface.js +3 -5
- package/dist/interface/admin-interface.js.map +1 -1
- package/dist/interface/admin-metrics.d.ts +2 -807
- package/dist/interface/admin-metrics.js +2 -4
- package/dist/interface/admin-metrics.js.map +1 -1
- package/dist/interface/client-interface.d.ts +2 -447
- package/dist/interface/client-interface.js +33 -18
- package/dist/interface/client-interface.js.map +1 -1
- package/dist/interface/client-interface.test.js +83 -13
- package/dist/interface/client-interface.test.js.map +1 -1
- package/dist/interface/conversations.d.ts +8 -8
- package/dist/interface/conversations.d.ts.map +1 -1
- package/dist/interface/conversations.js +2 -4
- package/dist/interface/conversations.js.map +1 -1
- package/dist/interface/crud/analytics.d.ts +2 -14
- package/dist/interface/crud/connected-accounts.d.ts +2 -68
- package/dist/interface/crud/connected-accounts.js +2 -4
- package/dist/interface/crud/connected-accounts.js.map +1 -1
- package/dist/interface/crud/contact-channels.d.ts +2 -181
- package/dist/interface/crud/contact-channels.js +2 -4
- package/dist/interface/crud/contact-channels.js.map +1 -1
- package/dist/interface/crud/current-user.d.ts +2 -285
- package/dist/interface/crud/current-user.js +2 -4
- package/dist/interface/crud/current-user.js.map +1 -1
- package/dist/interface/crud/email-outbox.d.ts +2 -1465
- package/dist/interface/crud/email-outbox.js +4 -5
- package/dist/interface/crud/email-outbox.js.map +1 -1
- package/dist/interface/crud/email-templates.d.ts +15 -16
- package/dist/interface/crud/email-templates.d.ts.map +1 -1
- package/dist/interface/crud/email-templates.js +2 -4
- package/dist/interface/crud/email-templates.js.map +1 -1
- package/dist/interface/crud/emails.d.ts +2 -41
- package/dist/interface/crud/emails.js +4 -5
- package/dist/interface/crud/emails.js.map +1 -1
- package/dist/interface/crud/internal-api-keys.d.ts +2 -140
- package/dist/interface/crud/internal-api-keys.js +2 -4
- package/dist/interface/crud/internal-api-keys.js.map +1 -1
- package/dist/interface/crud/invoices.d.ts +2 -43
- package/dist/interface/crud/invoices.js +2 -4
- package/dist/interface/crud/invoices.js.map +1 -1
- package/dist/interface/crud/items.d.ts +2 -30
- package/dist/interface/crud/items.js +2 -4
- package/dist/interface/crud/items.js.map +1 -1
- package/dist/interface/crud/notification-preferences.d.ts +2 -38
- package/dist/interface/crud/notification-preferences.js +2 -4
- package/dist/interface/crud/notification-preferences.js.map +1 -1
- package/dist/interface/crud/oauth-providers.d.ts +2 -186
- package/dist/interface/crud/oauth-providers.js +2 -4
- package/dist/interface/crud/oauth-providers.js.map +1 -1
- package/dist/interface/crud/products.d.ts +2 -182
- package/dist/interface/crud/products.js +4 -4
- package/dist/interface/crud/products.js.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +2 -203
- package/dist/interface/crud/project-api-keys.js +2 -4
- package/dist/interface/crud/project-api-keys.js.map +1 -1
- package/dist/interface/crud/project-permissions.d.ts +2 -161
- package/dist/interface/crud/project-permissions.js +4 -5
- package/dist/interface/crud/project-permissions.js.map +1 -1
- package/dist/interface/crud/projects.d.ts +2 -901
- package/dist/interface/crud/projects.js +6 -5
- package/dist/interface/crud/projects.js.map +1 -1
- package/dist/interface/crud/session-replays.d.ts +2 -83
- package/dist/interface/crud/sessions.d.ts +2 -150
- package/dist/interface/crud/sessions.js +2 -4
- package/dist/interface/crud/sessions.js.map +1 -1
- package/dist/interface/crud/sign-up-rules.d.ts.map +1 -1
- package/dist/interface/crud/svix-token.d.ts +2 -31
- package/dist/interface/crud/svix-token.js +2 -4
- package/dist/interface/crud/svix-token.js.map +1 -1
- package/dist/interface/crud/team-invitation-details.d.ts +5 -6
- package/dist/interface/crud/team-invitation-details.d.ts.map +1 -1
- package/dist/interface/crud/team-invitation-details.js +4 -5
- package/dist/interface/crud/team-invitation-details.js.map +1 -1
- package/dist/interface/crud/team-invitation.d.ts +2 -54
- package/dist/interface/crud/team-invitation.js +4 -5
- package/dist/interface/crud/team-invitation.js.map +1 -1
- package/dist/interface/crud/team-member-profiles.d.ts +2 -286
- package/dist/interface/crud/team-member-profiles.js +4 -5
- package/dist/interface/crud/team-member-profiles.js.map +1 -1
- package/dist/interface/crud/team-memberships.d.ts +2 -75
- package/dist/interface/crud/team-memberships.js +2 -4
- package/dist/interface/crud/team-memberships.js.map +1 -1
- package/dist/interface/crud/team-permissions.d.ts +2 -169
- package/dist/interface/crud/team-permissions.js +4 -5
- package/dist/interface/crud/team-permissions.js.map +1 -1
- package/dist/interface/crud/teams.d.ts +2 -299
- package/dist/interface/crud/teams.js +5 -7
- package/dist/interface/crud/teams.js.map +1 -1
- package/dist/interface/crud/transactions.d.ts +2 -183
- package/dist/interface/crud/transactions.js +2 -4
- package/dist/interface/crud/transactions.js.map +1 -1
- package/dist/interface/crud/users.d.ts +2 -653
- package/dist/interface/crud/users.js +12 -8
- package/dist/interface/crud/users.js.map +1 -1
- package/dist/interface/handler-urls.d.ts +2 -51
- package/dist/interface/handler-urls.js +12 -14
- package/dist/interface/page-component-versions.d.ts +2 -25
- package/dist/interface/page-component-versions.js +2 -4
- package/dist/interface/page-component-versions.js.map +1 -1
- package/dist/interface/plan-usage.d.ts +2 -57
- package/dist/interface/plan-usage.js +2 -4
- package/dist/interface/plan-usage.js.map +1 -1
- package/dist/interface/server-interface.d.ts +2 -257
- package/dist/interface/server-interface.js +3 -5
- package/dist/interface/server-interface.js.map +1 -1
- package/dist/interface/webhooks.d.ts +2 -326
- package/dist/interface/webhooks.js +2 -4
- package/dist/interface/webhooks.js.map +1 -1
- package/dist/internal-api-keys-D8IYDodH.d.ts +139 -0
- package/dist/internal-api-keys-D8IYDodH.d.ts.map +1 -0
- package/dist/invoices-CHo9YKbI.d.ts +43 -0
- package/dist/invoices-CHo9YKbI.d.ts.map +1 -0
- package/dist/items-DlLSlVUD.d.ts +29 -0
- package/dist/items-DlLSlVUD.d.ts.map +1 -0
- package/dist/json-a1QIXu5z.d.ts +15 -0
- package/dist/json-a1QIXu5z.d.ts.map +1 -0
- package/dist/known-errors-Bm4a61wL.d.ts +575 -0
- package/dist/known-errors-Bm4a61wL.d.ts.map +1 -0
- package/dist/known-errors.d.ts +2 -575
- package/dist/known-errors.js +11 -23
- package/dist/known-errors.js.map +1 -1
- package/dist/notification-preferences-Bmzr_EOY.d.ts +37 -0
- package/dist/notification-preferences-Bmzr_EOY.d.ts.map +1 -0
- package/dist/oauth-providers-BMkKSSlA.d.ts +185 -0
- package/dist/oauth-providers-BMkKSSlA.d.ts.map +1 -0
- package/dist/objects-DkCkeBWE.d.ts +59 -0
- package/dist/objects-DkCkeBWE.d.ts.map +1 -0
- package/dist/passkey-CKg87UH-.d.ts +2 -0
- package/dist/payments/payment-methods.d.ts.map +1 -1
- package/dist/payments/payment-methods.js +2 -3
- package/dist/payments/payment-methods.js.map +1 -1
- package/dist/payments/stripe-limits.d.ts.map +1 -1
- package/dist/payments/stripe-limits.js +2 -3
- package/dist/payments/stripe-limits.js.map +1 -1
- package/dist/plan-usage-DfDoj5K4.d.ts +57 -0
- package/dist/plan-usage-DfDoj5K4.d.ts.map +1 -0
- package/dist/plans.d.ts.map +1 -1
- package/dist/plans.js +2 -3
- package/dist/plans.js.map +1 -1
- package/dist/products-Bs74ld-v.d.ts +182 -0
- package/dist/products-Bs74ld-v.d.ts.map +1 -0
- package/dist/project-api-keys--7V5X_UW.d.ts +203 -0
- package/dist/project-api-keys--7V5X_UW.d.ts.map +1 -0
- package/dist/project-permissions-kdi675F-.d.ts +160 -0
- package/dist/project-permissions-kdi675F-.d.ts.map +1 -0
- package/dist/projects-CFTNXRfG.d.ts +900 -0
- package/dist/projects-CFTNXRfG.d.ts.map +1 -0
- package/dist/results-DP3BzoL6.d.ts +70 -0
- package/dist/results-DP3BzoL6.d.ts.map +1 -0
- package/dist/{chunk-BE-pF4vm.js → rolldown-runtime-D6vf50IK.js} +12 -18
- package/dist/schema-CJwkGkdf.d.ts +2328 -0
- package/dist/schema-CJwkGkdf.d.ts.map +1 -0
- package/dist/schema-fields-DqGQ4kF7.d.ts +517 -0
- package/dist/schema-fields-DqGQ4kF7.d.ts.map +1 -0
- package/dist/schema-fields.d.ts +3 -518
- package/dist/schema-fields.js +21 -82
- package/dist/schema-fields.js.map +1 -1
- package/dist/server-interface-CgpxsLT_.d.ts +257 -0
- package/dist/server-interface-CgpxsLT_.d.ts.map +1 -0
- package/dist/session-replays-CXqhDpZq.d.ts +83 -0
- package/dist/session-replays-CXqhDpZq.d.ts.map +1 -0
- package/dist/sessions-B7Ko2Ldr.d.ts +149 -0
- package/dist/sessions-B7Ko2Ldr.d.ts.map +1 -0
- package/dist/sessions-d8qtvBUB.d.ts +175 -0
- package/dist/sessions-d8qtvBUB.d.ts.map +1 -0
- package/dist/sessions.d.ts +2 -175
- package/dist/sessions.js +4 -5
- package/dist/sessions.js.map +1 -1
- package/dist/sessions.test.js +1 -3
- package/dist/sessions.test.js.map +1 -1
- package/dist/strings-DWgkUybS.d.ts +76 -0
- package/dist/strings-DWgkUybS.d.ts.map +1 -0
- package/dist/svix-token-BsMrLGvy.d.ts +30 -0
- package/dist/svix-token-BsMrLGvy.d.ts.map +1 -0
- package/dist/team-invitation-Cyqt9oWw.d.ts +53 -0
- package/dist/team-invitation-Cyqt9oWw.d.ts.map +1 -0
- package/dist/team-member-profiles-BoDEqx-0.d.ts +285 -0
- package/dist/team-member-profiles-BoDEqx-0.d.ts.map +1 -0
- package/dist/team-memberships-DZHk2A5b.d.ts +74 -0
- package/dist/team-memberships-DZHk2A5b.d.ts.map +1 -0
- package/dist/team-permissions-DqOpaOWh.d.ts +168 -0
- package/dist/team-permissions-DqOpaOWh.d.ts.map +1 -0
- package/dist/teams-CQMcBnjM.d.ts +298 -0
- package/dist/teams-CQMcBnjM.d.ts.map +1 -0
- package/dist/transactions-DhnbvGH5.d.ts +182 -0
- package/dist/transactions-DhnbvGH5.d.ts.map +1 -0
- package/dist/types-DfTcxNtM.d.ts +77 -0
- package/dist/types-DfTcxNtM.d.ts.map +1 -0
- package/dist/users-DHNRwoSz.d.ts +653 -0
- package/dist/users-DHNRwoSz.d.ts.map +1 -0
- package/dist/utils/analytics-clickmap-overlay.d.ts.map +1 -1
- package/dist/utils/analytics-clickmap-overlay.js +2 -3
- package/dist/utils/analytics-clickmap-overlay.js.map +1 -1
- package/dist/utils/api-keys.d.ts.map +1 -1
- package/dist/utils/api-keys.js +4 -5
- package/dist/utils/api-keys.js.map +1 -1
- package/dist/utils/arrays.d.ts.map +1 -1
- package/dist/utils/arrays.js +2 -472
- package/dist/utils/arrays.js.map +1 -1
- package/dist/utils/auth-methods.d.ts.map +1 -1
- package/dist/utils/auth-methods.js +2 -3
- package/dist/utils/auth-methods.js.map +1 -1
- package/dist/utils/base64.d.ts.map +1 -1
- package/dist/utils/base64.js +2 -12
- package/dist/utils/base64.js.map +1 -1
- package/dist/utils/booleans.d.ts.map +1 -1
- package/dist/utils/booleans.js +2 -27
- package/dist/utils/booleans.js.map +1 -1
- package/dist/utils/browser-compat.d.ts.map +1 -1
- package/dist/utils/browser-compat.js +2 -3
- package/dist/utils/browser-compat.js.map +1 -1
- package/dist/utils/bytes.d.ts.map +1 -1
- package/dist/utils/bytes.js +4 -200
- package/dist/utils/bytes.js.map +1 -1
- package/dist/utils/caches.d.ts.map +1 -1
- package/dist/utils/caches.js +2 -29
- package/dist/utils/caches.js.map +1 -1
- package/dist/utils/cel-fields.d.ts.map +1 -1
- package/dist/utils/cel-fields.js +2 -4
- package/dist/utils/cel-fields.js.map +1 -1
- package/dist/utils/cloud-hosts.d.ts.map +1 -1
- package/dist/utils/cloud-hosts.js +2 -29
- package/dist/utils/cloud-hosts.js.map +1 -1
- package/dist/utils/compile-time.d.ts.map +1 -1
- package/dist/utils/compile-time.js +2 -3
- package/dist/utils/compile-time.js.map +1 -1
- package/dist/utils/country-codes.d.ts +2 -11
- package/dist/utils/country-codes.js +2 -18
- package/dist/utils/country-codes.js.map +1 -1
- package/dist/utils/crypto.d.ts.map +1 -1
- package/dist/utils/crypto.js +4 -115
- package/dist/utils/crypto.js.map +1 -1
- package/dist/utils/currencies.d.ts +1 -1
- package/dist/utils/currencies.d.ts.map +1 -1
- package/dist/utils/currencies.js +3 -39
- package/dist/utils/currencies.js.map +1 -1
- package/dist/utils/currency-constants.d.ts +2 -45
- package/dist/utils/currency-constants.js +2 -3
- package/dist/utils/currency-constants.js.map +1 -1
- package/dist/utils/dates.d.ts +2 -23
- package/dist/utils/dates.js +2 -46
- package/dist/utils/dates.js.map +1 -1
- package/dist/utils/dev-env-state-path.d.ts.map +1 -1
- package/dist/utils/dev-env-state-path.js +2 -4
- package/dist/utils/dev-env-state-path.js.map +1 -1
- package/dist/utils/dev-tool.d.ts.map +1 -1
- package/dist/utils/dev-tool.js +2 -3
- package/dist/utils/dev-tool.js.map +1 -1
- package/dist/utils/dom.d.ts.map +1 -1
- package/dist/utils/dom.js +2 -3
- package/dist/utils/dom.js.map +1 -1
- package/dist/utils/elements-chain.d.ts.map +1 -1
- package/dist/utils/elements-chain.js +6 -52
- package/dist/utils/elements-chain.js.map +1 -1
- package/dist/utils/env.d.ts.map +1 -1
- package/dist/utils/env.js +2 -4
- package/dist/utils/env.js.map +1 -1
- package/dist/utils/env.test.js +1 -3
- package/dist/utils/env.test.js.map +1 -1
- package/dist/utils/errors.d.ts +2 -238
- package/dist/utils/errors.js +2 -4
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/esbuild.d.ts +1 -1
- package/dist/utils/esbuild.d.ts.map +1 -1
- package/dist/utils/esbuild.js +5 -6
- package/dist/utils/esbuild.js.map +1 -1
- package/dist/utils/featurebase.d.ts.map +1 -1
- package/dist/utils/featurebase.js +2 -4
- package/dist/utils/featurebase.js.map +1 -1
- package/dist/utils/fs.d.ts.map +1 -1
- package/dist/utils/fs.js +5 -6
- package/dist/utils/fs.js.map +1 -1
- package/dist/utils/functions.d.ts.map +1 -1
- package/dist/utils/functions.js +2 -26
- package/dist/utils/functions.js.map +1 -1
- package/dist/utils/geo.d.ts.map +1 -1
- package/dist/utils/geo.js +2 -4
- package/dist/utils/geo.js.map +1 -1
- package/dist/utils/globals.d.ts.map +1 -1
- package/dist/utils/globals.js +2 -3
- package/dist/utils/globals.js.map +1 -1
- package/dist/utils/hashes.d.ts.map +1 -1
- package/dist/utils/hashes.js +4 -5
- package/dist/utils/hashes.js.map +1 -1
- package/dist/utils/html.d.ts.map +1 -1
- package/dist/utils/html.js +2 -21
- package/dist/utils/html.js.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/http.js +2 -21
- package/dist/utils/http.js.map +1 -1
- package/dist/utils/ips.d.ts.map +1 -1
- package/dist/utils/ips.js +4 -28
- package/dist/utils/ips.js.map +1 -1
- package/dist/utils/json.d.ts +2 -15
- package/dist/utils/json.js +2 -157
- package/dist/utils/json.js.map +1 -1
- package/dist/utils/jsx-editable-transpiler.d.ts.map +1 -1
- package/dist/utils/jsx-editable-transpiler.js +7 -8
- package/dist/utils/jsx-editable-transpiler.js.map +1 -1
- package/dist/utils/jsx-editable-transpiler.test.js +1 -3
- package/dist/utils/jsx-editable-transpiler.test.js.map +1 -1
- package/dist/utils/jwt.d.ts.map +1 -1
- package/dist/utils/jwt.js +6 -7
- package/dist/utils/jwt.js.map +1 -1
- package/dist/utils/locks.d.ts.map +1 -1
- package/dist/utils/locks.js +2 -4
- package/dist/utils/locks.js.map +1 -1
- package/dist/utils/maps.d.ts.map +1 -1
- package/dist/utils/maps.js +2 -113
- package/dist/utils/maps.js.map +1 -1
- package/dist/utils/math.d.ts.map +1 -1
- package/dist/utils/math.js +2 -13
- package/dist/utils/math.js.map +1 -1
- package/dist/utils/monkey-patch.d.ts.map +1 -1
- package/dist/utils/monkey-patch.js +3 -5
- package/dist/utils/monkey-patch.js.map +1 -1
- package/dist/utils/node-http.js +2 -4
- package/dist/utils/node-http.js.map +1 -1
- package/dist/utils/numbers.d.ts.map +1 -1
- package/dist/utils/numbers.js +2 -47
- package/dist/utils/numbers.js.map +1 -1
- package/dist/utils/oauth.d.ts.map +1 -1
- package/dist/utils/oauth.js +2 -3
- package/dist/utils/oauth.js.map +1 -1
- package/dist/utils/objects.d.ts +2 -59
- package/dist/utils/objects.js +2 -624
- package/dist/utils/objects.js.map +1 -1
- package/dist/utils/paginated-lists.d.ts.map +1 -1
- package/dist/utils/paginated-lists.js +2 -4
- package/dist/utils/paginated-lists.js.map +1 -1
- package/dist/utils/paginated-lists.test.js +1 -3
- package/dist/utils/paginated-lists.test.js.map +1 -1
- package/dist/utils/passkey.d.ts +2 -2
- package/dist/utils/promises.d.ts +1 -1
- package/dist/utils/promises.d.ts.map +1 -1
- package/dist/utils/promises.js +3 -163
- package/dist/utils/promises.js.map +1 -1
- package/dist/utils/proxies.d.ts.map +1 -1
- package/dist/utils/proxies.js +2 -39
- package/dist/utils/proxies.js.map +1 -1
- package/dist/utils/react.d.ts.map +1 -1
- package/dist/utils/react.js +4 -44
- package/dist/utils/react.js.map +1 -1
- package/dist/utils/redirect-urls.d.ts.map +1 -1
- package/dist/utils/redirect-urls.js +3 -94
- package/dist/utils/redirect-urls.js.map +1 -1
- package/dist/utils/regex.js +2 -3
- package/dist/utils/regex.js.map +1 -1
- package/dist/utils/results.d.ts +2 -70
- package/dist/utils/results.js +2 -215
- package/dist/utils/results.js.map +1 -1
- package/dist/utils/sentry.js +2 -3
- package/dist/utils/sentry.js.map +1 -1
- package/dist/utils/stores.d.ts +1 -1
- package/dist/utils/stores.d.ts.map +1 -1
- package/dist/utils/stores.js +2 -4
- package/dist/utils/stores.js.map +1 -1
- package/dist/utils/strings.d.ts +2 -76
- package/dist/utils/strings.js +2 -253
- package/dist/utils/strings.js.map +1 -1
- package/dist/utils/strings.nicify.test.js +1 -3
- package/dist/utils/strings.nicify.test.js.map +1 -1
- package/dist/utils/telemetry.d.ts.map +1 -1
- package/dist/utils/telemetry.js +2 -4
- package/dist/utils/telemetry.js.map +1 -1
- package/dist/utils/turnstile-browser.d.ts.map +1 -1
- package/dist/utils/turnstile-browser.js +2 -4
- package/dist/utils/turnstile-browser.js.map +1 -1
- package/dist/utils/turnstile-flow.d.ts.map +1 -1
- package/dist/utils/turnstile-flow.js +2 -4
- package/dist/utils/turnstile-flow.js.map +1 -1
- package/dist/utils/turnstile-flow.test.js +1 -3
- package/dist/utils/turnstile-flow.test.js.map +1 -1
- package/dist/utils/turnstile.d.ts.map +1 -1
- package/dist/utils/turnstile.js +2 -3
- package/dist/utils/turnstile.js.map +1 -1
- package/dist/utils/typed-arrays.js +2 -4
- package/dist/utils/typed-arrays.js.map +1 -1
- package/dist/utils/types.d.ts +2 -77
- package/dist/utils/types.js +2 -3
- package/dist/utils/types.js.map +1 -1
- package/dist/utils/unicode.d.ts.map +1 -1
- package/dist/utils/unicode.js +2 -15
- package/dist/utils/unicode.js.map +1 -1
- package/dist/utils/urls.d.ts.map +1 -1
- package/dist/utils/urls.js +2 -153
- package/dist/utils/urls.js.map +1 -1
- package/dist/utils/uuids.d.ts.map +1 -1
- package/dist/utils/uuids.js +3 -28
- package/dist/utils/uuids.js.map +1 -1
- package/dist/webhooks-8Ts1Clcb.d.ts +326 -0
- package/dist/webhooks-8Ts1Clcb.d.ts.map +1 -0
- package/package.json +2 -8
- package/src/interface/client-interface.test.ts +77 -12
- package/src/interface/client-interface.ts +9 -9
- package/dist/config/format.d.ts.map +0 -1
- package/dist/config/schema.d.ts.map +0 -1
- package/dist/crud.d.ts.map +0 -1
- package/dist/interface/admin-interface.d.ts.map +0 -1
- package/dist/interface/admin-metrics.d.ts.map +0 -1
- package/dist/interface/client-interface.d.ts.map +0 -1
- package/dist/interface/crud/analytics.d.ts.map +0 -1
- package/dist/interface/crud/connected-accounts.d.ts.map +0 -1
- package/dist/interface/crud/contact-channels.d.ts.map +0 -1
- package/dist/interface/crud/current-user.d.ts.map +0 -1
- package/dist/interface/crud/emails.d.ts.map +0 -1
- package/dist/interface/crud/internal-api-keys.d.ts.map +0 -1
- package/dist/interface/crud/invoices.d.ts.map +0 -1
- package/dist/interface/crud/items.d.ts.map +0 -1
- package/dist/interface/crud/notification-preferences.d.ts.map +0 -1
- package/dist/interface/crud/oauth-providers.d.ts.map +0 -1
- package/dist/interface/crud/products.d.ts.map +0 -1
- package/dist/interface/crud/project-api-keys.d.ts.map +0 -1
- package/dist/interface/crud/project-permissions.d.ts.map +0 -1
- package/dist/interface/crud/projects.d.ts.map +0 -1
- package/dist/interface/crud/session-replays.d.ts.map +0 -1
- package/dist/interface/crud/sessions.d.ts.map +0 -1
- package/dist/interface/crud/svix-token.d.ts.map +0 -1
- package/dist/interface/crud/team-invitation.d.ts.map +0 -1
- package/dist/interface/crud/team-member-profiles.d.ts.map +0 -1
- package/dist/interface/crud/team-memberships.d.ts.map +0 -1
- package/dist/interface/crud/team-permissions.d.ts.map +0 -1
- package/dist/interface/crud/teams.d.ts.map +0 -1
- package/dist/interface/crud/transactions.d.ts.map +0 -1
- package/dist/interface/crud/users.d.ts.map +0 -1
- package/dist/interface/handler-urls.d.ts.map +0 -1
- package/dist/interface/page-component-versions.d.ts.map +0 -1
- package/dist/interface/plan-usage.d.ts.map +0 -1
- package/dist/interface/server-interface.d.ts.map +0 -1
- package/dist/interface/webhooks.d.ts.map +0 -1
- package/dist/known-errors.d.ts.map +0 -1
- package/dist/schema-fields.d.ts.map +0 -1
- package/dist/sessions.d.ts.map +0 -1
- package/dist/utils/country-codes.d.ts.map +0 -1
- package/dist/utils/currency-constants.d.ts.map +0 -1
- package/dist/utils/dates.d.ts.map +0 -1
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/json.d.ts.map +0 -1
- package/dist/utils/objects.d.ts.map +0 -1
- package/dist/utils/results.d.ts.map +0 -1
- package/dist/utils/strings.d.ts.map +0 -1
- package/dist/utils/types.d.ts.map +0 -1
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as ______crud0 from "../../crud";
|
|
3
|
-
import { CrudTypeOf } from "../../crud";
|
|
1
|
+
import { CrudTypeOf } from "../../crud.js";
|
|
4
2
|
|
|
5
3
|
//#region src/interface/crud/internal-api-keys.d.ts
|
|
6
|
-
declare const internalApiKeysCreateInputSchema: yup
|
|
4
|
+
declare const internalApiKeysCreateInputSchema: import("yup").ObjectSchema<{
|
|
7
5
|
description: string;
|
|
8
6
|
expires_at_millis: number;
|
|
9
7
|
has_publishable_client_key: boolean;
|
|
10
8
|
has_secret_server_key: boolean;
|
|
11
9
|
has_super_secret_admin_key: boolean;
|
|
12
|
-
}, yup
|
|
10
|
+
}, import("yup").AnyObject, {
|
|
13
11
|
description: undefined;
|
|
14
12
|
expires_at_millis: undefined;
|
|
15
13
|
has_publishable_client_key: undefined;
|
|
16
14
|
has_secret_server_key: undefined;
|
|
17
15
|
has_super_secret_admin_key: undefined;
|
|
18
16
|
}, "">;
|
|
19
|
-
declare const internalApiKeysCreateOutputSchema: yup
|
|
17
|
+
declare const internalApiKeysCreateOutputSchema: import("yup").ObjectSchema<{
|
|
20
18
|
id: string;
|
|
21
19
|
description: string;
|
|
22
20
|
expires_at_millis: number;
|
|
@@ -26,7 +24,7 @@ declare const internalApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
|
26
24
|
publishable_client_key: string | undefined;
|
|
27
25
|
secret_server_key: string | undefined;
|
|
28
26
|
super_secret_admin_key: string | undefined;
|
|
29
|
-
}, yup
|
|
27
|
+
}, import("yup").AnyObject, {
|
|
30
28
|
id: undefined;
|
|
31
29
|
description: undefined;
|
|
32
30
|
expires_at_millis: undefined;
|
|
@@ -36,7 +34,7 @@ declare const internalApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
|
36
34
|
secret_server_key: undefined;
|
|
37
35
|
super_secret_admin_key: undefined;
|
|
38
36
|
}, "">;
|
|
39
|
-
declare const internalApiKeysCrudAdminObfuscatedReadSchema: yup
|
|
37
|
+
declare const internalApiKeysCrudAdminObfuscatedReadSchema: import("yup").ObjectSchema<{
|
|
40
38
|
id: string;
|
|
41
39
|
description: string;
|
|
42
40
|
expires_at_millis: number;
|
|
@@ -52,7 +50,7 @@ declare const internalApiKeysCrudAdminObfuscatedReadSchema: yup$1.ObjectSchema<{
|
|
|
52
50
|
super_secret_admin_key: {
|
|
53
51
|
last_four: string;
|
|
54
52
|
} | undefined;
|
|
55
|
-
}, yup
|
|
53
|
+
}, import("yup").AnyObject, {
|
|
56
54
|
id: undefined;
|
|
57
55
|
description: undefined;
|
|
58
56
|
expires_at_millis: undefined;
|
|
@@ -68,16 +66,16 @@ declare const internalApiKeysCrudAdminObfuscatedReadSchema: yup$1.ObjectSchema<{
|
|
|
68
66
|
last_four: undefined;
|
|
69
67
|
};
|
|
70
68
|
}, "">;
|
|
71
|
-
declare const internalApiKeysCrudAdminUpdateSchema: yup
|
|
69
|
+
declare const internalApiKeysCrudAdminUpdateSchema: import("yup").ObjectSchema<{
|
|
72
70
|
description: string | undefined;
|
|
73
71
|
revoked: boolean | undefined;
|
|
74
|
-
}, yup
|
|
72
|
+
}, import("yup").AnyObject, {
|
|
75
73
|
description: undefined;
|
|
76
74
|
revoked: undefined;
|
|
77
75
|
}, "">;
|
|
78
|
-
declare const internalApiKeysCrudAdminDeleteSchema: yup
|
|
79
|
-
declare const internalApiKeysCrud:
|
|
80
|
-
adminReadSchema: yup
|
|
76
|
+
declare const internalApiKeysCrudAdminDeleteSchema: import("yup").MixedSchema<{} | undefined, import("yup").AnyObject, undefined, "">;
|
|
77
|
+
declare const internalApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
78
|
+
adminReadSchema: import("yup").ObjectSchema<{
|
|
81
79
|
id: string;
|
|
82
80
|
description: string;
|
|
83
81
|
expires_at_millis: number;
|
|
@@ -93,7 +91,7 @@ declare const internalApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
93
91
|
super_secret_admin_key: {
|
|
94
92
|
last_four: string;
|
|
95
93
|
} | undefined;
|
|
96
|
-
}, yup
|
|
94
|
+
}, import("yup").AnyObject, {
|
|
97
95
|
id: undefined;
|
|
98
96
|
description: undefined;
|
|
99
97
|
expires_at_millis: undefined;
|
|
@@ -109,14 +107,14 @@ declare const internalApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
109
107
|
last_four: undefined;
|
|
110
108
|
};
|
|
111
109
|
}, "">;
|
|
112
|
-
adminUpdateSchema: yup
|
|
110
|
+
adminUpdateSchema: import("yup").ObjectSchema<{
|
|
113
111
|
description: string | undefined;
|
|
114
112
|
revoked: boolean | undefined;
|
|
115
|
-
}, yup
|
|
113
|
+
}, import("yup").AnyObject, {
|
|
116
114
|
description: undefined;
|
|
117
115
|
revoked: undefined;
|
|
118
116
|
}, "">;
|
|
119
|
-
adminDeleteSchema: yup
|
|
117
|
+
adminDeleteSchema: import("yup").MixedSchema<{} | undefined, import("yup").AnyObject, undefined, "">;
|
|
120
118
|
docs: {
|
|
121
119
|
adminList: {
|
|
122
120
|
hidden: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-api-keys.d.ts","names":[],"sources":["../../../../src/interface/crud/internal-api-keys.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"internal-api-keys.d.ts","names":[],"sources":["../../../../src/interface/crud/internal-api-keys.ts"],"mappings":";;;cAYa,gCAAA,gBAAgC,YAAA;;;;;;;;;;;;;cAQhC,iCAAA,gBAAiC,YAAA;;;;;;;;;;;;;;;;;;;;cAOjC,4CAAA,gBAA4C,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY5C,oCAAA,gBAAoC,YAAA;;;;;;;cAKpC,oCAAA,gBAAoC,WAAA,+BAAA,SAAA;AAAA,cAEpC,mBAAA,uBAAmB,qBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsBpB,mBAAA,GAAsB,UAAU,QAAQ,mBAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createCrud } from "../../crud.js";
|
|
2
2
|
import { yupBoolean, yupMixed, yupNumber, yupObject, yupString } from "../../schema-fields.js";
|
|
3
|
-
|
|
4
3
|
//#region src/interface/crud/internal-api-keys.ts
|
|
5
4
|
const baseInternalApiKeysReadSchema = yupObject({
|
|
6
5
|
id: yupString().defined(),
|
|
@@ -43,7 +42,7 @@ const internalApiKeysCrud = createCrud({
|
|
|
43
42
|
adminDelete: { hidden: true }
|
|
44
43
|
}
|
|
45
44
|
});
|
|
46
|
-
|
|
47
45
|
//#endregion
|
|
48
46
|
export { internalApiKeysCreateInputSchema, internalApiKeysCreateOutputSchema, internalApiKeysCrud, internalApiKeysCrudAdminDeleteSchema, internalApiKeysCrudAdminObfuscatedReadSchema, internalApiKeysCrudAdminUpdateSchema };
|
|
47
|
+
|
|
49
48
|
//# sourceMappingURL=internal-api-keys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-api-keys.js","names":[],"sources":["../../../../src/interface/crud/internal-api-keys.ts"],"sourcesContent":["import { CrudTypeOf, createCrud } from \"../../crud\";\nimport { yupBoolean, yupMixed, yupNumber, yupObject, yupString } from \"../../schema-fields\";\n\nconst baseInternalApiKeysReadSchema = yupObject({\n id: yupString().defined(),\n description: yupString().defined(),\n expires_at_millis: yupNumber().defined(),\n manually_revoked_at_millis: yupNumber().optional(),\n created_at_millis: yupNumber().defined(),\n});\n\n// Used for the result of the create endpoint\nexport const internalApiKeysCreateInputSchema = yupObject({\n description: yupString().defined(),\n expires_at_millis: yupNumber().defined(),\n has_publishable_client_key: yupBoolean().defined(),\n has_secret_server_key: yupBoolean().defined(),\n has_super_secret_admin_key: yupBoolean().defined(),\n});\n\nexport const internalApiKeysCreateOutputSchema = baseInternalApiKeysReadSchema.concat(yupObject({\n publishable_client_key: yupString().optional(),\n secret_server_key: yupString().optional(),\n super_secret_admin_key: yupString().optional(),\n}).defined());\n\n// Used for list, read and update endpoints after the initial creation\nexport const internalApiKeysCrudAdminObfuscatedReadSchema = baseInternalApiKeysReadSchema.concat(yupObject({\n publishable_client_key: yupObject({\n last_four: yupString().defined(),\n }).optional(),\n secret_server_key: yupObject({\n last_four: yupString().defined(),\n }).optional(),\n super_secret_admin_key: yupObject({\n last_four: yupString().defined(),\n }).optional(),\n}));\n\nexport const internalApiKeysCrudAdminUpdateSchema = yupObject({\n description: yupString().optional(),\n revoked: yupBoolean().oneOf([true]).optional(),\n}).defined();\n\nexport const internalApiKeysCrudAdminDeleteSchema = yupMixed();\n\nexport const internalApiKeysCrud = createCrud({\n adminReadSchema: internalApiKeysCrudAdminObfuscatedReadSchema,\n adminUpdateSchema: internalApiKeysCrudAdminUpdateSchema,\n adminDeleteSchema: internalApiKeysCrudAdminDeleteSchema,\n docs: {\n adminList: {\n hidden: true,\n },\n adminRead: {\n hidden: true,\n },\n adminCreate: {\n hidden: true,\n },\n adminUpdate: {\n hidden: true,\n },\n adminDelete: {\n hidden: true,\n },\n },\n});\nexport type InternalApiKeysCrud = CrudTypeOf<typeof internalApiKeysCrud>;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"internal-api-keys.js","names":[],"sources":["../../../../src/interface/crud/internal-api-keys.ts"],"sourcesContent":["import { CrudTypeOf, createCrud } from \"../../crud\";\nimport { yupBoolean, yupMixed, yupNumber, yupObject, yupString } from \"../../schema-fields\";\n\nconst baseInternalApiKeysReadSchema = yupObject({\n id: yupString().defined(),\n description: yupString().defined(),\n expires_at_millis: yupNumber().defined(),\n manually_revoked_at_millis: yupNumber().optional(),\n created_at_millis: yupNumber().defined(),\n});\n\n// Used for the result of the create endpoint\nexport const internalApiKeysCreateInputSchema = yupObject({\n description: yupString().defined(),\n expires_at_millis: yupNumber().defined(),\n has_publishable_client_key: yupBoolean().defined(),\n has_secret_server_key: yupBoolean().defined(),\n has_super_secret_admin_key: yupBoolean().defined(),\n});\n\nexport const internalApiKeysCreateOutputSchema = baseInternalApiKeysReadSchema.concat(yupObject({\n publishable_client_key: yupString().optional(),\n secret_server_key: yupString().optional(),\n super_secret_admin_key: yupString().optional(),\n}).defined());\n\n// Used for list, read and update endpoints after the initial creation\nexport const internalApiKeysCrudAdminObfuscatedReadSchema = baseInternalApiKeysReadSchema.concat(yupObject({\n publishable_client_key: yupObject({\n last_four: yupString().defined(),\n }).optional(),\n secret_server_key: yupObject({\n last_four: yupString().defined(),\n }).optional(),\n super_secret_admin_key: yupObject({\n last_four: yupString().defined(),\n }).optional(),\n}));\n\nexport const internalApiKeysCrudAdminUpdateSchema = yupObject({\n description: yupString().optional(),\n revoked: yupBoolean().oneOf([true]).optional(),\n}).defined();\n\nexport const internalApiKeysCrudAdminDeleteSchema = yupMixed();\n\nexport const internalApiKeysCrud = createCrud({\n adminReadSchema: internalApiKeysCrudAdminObfuscatedReadSchema,\n adminUpdateSchema: internalApiKeysCrudAdminUpdateSchema,\n adminDeleteSchema: internalApiKeysCrudAdminDeleteSchema,\n docs: {\n adminList: {\n hidden: true,\n },\n adminRead: {\n hidden: true,\n },\n adminCreate: {\n hidden: true,\n },\n adminUpdate: {\n hidden: true,\n },\n adminDelete: {\n hidden: true,\n },\n },\n});\nexport type InternalApiKeysCrud = CrudTypeOf<typeof internalApiKeysCrud>;\n"],"mappings":";;;AAGA,MAAM,gCAAgC,UAAU;CAC9C,IAAI,UAAU,CAAC,CAAC,QAAQ;CACxB,aAAa,UAAU,CAAC,CAAC,QAAQ;CACjC,mBAAmB,UAAU,CAAC,CAAC,QAAQ;CACvC,4BAA4B,UAAU,CAAC,CAAC,SAAS;CACjD,mBAAmB,UAAU,CAAC,CAAC,QAAQ;AACzC,CAAC;AAGD,MAAa,mCAAmC,UAAU;CACxD,aAAa,UAAU,CAAC,CAAC,QAAQ;CACjC,mBAAmB,UAAU,CAAC,CAAC,QAAQ;CACvC,4BAA4B,WAAW,CAAC,CAAC,QAAQ;CACjD,uBAAuB,WAAW,CAAC,CAAC,QAAQ;CAC5C,4BAA4B,WAAW,CAAC,CAAC,QAAQ;AACnD,CAAC;AAED,MAAa,oCAAoC,8BAA8B,OAAO,UAAU;CAC9F,wBAAwB,UAAU,CAAC,CAAC,SAAS;CAC7C,mBAAmB,UAAU,CAAC,CAAC,SAAS;CACxC,wBAAwB,UAAU,CAAC,CAAC,SAAS;AAC/C,CAAC,CAAC,CAAC,QAAQ,CAAC;AAGZ,MAAa,+CAA+C,8BAA8B,OAAO,UAAU;CACzG,wBAAwB,UAAU,EAChC,WAAW,UAAU,CAAC,CAAC,QAAQ,EACjC,CAAC,CAAC,CAAC,SAAS;CACZ,mBAAmB,UAAU,EAC3B,WAAW,UAAU,CAAC,CAAC,QAAQ,EACjC,CAAC,CAAC,CAAC,SAAS;CACZ,wBAAwB,UAAU,EAChC,WAAW,UAAU,CAAC,CAAC,QAAQ,EACjC,CAAC,CAAC,CAAC,SAAS;AACd,CAAC,CAAC;AAEF,MAAa,uCAAuC,UAAU;CAC5D,aAAa,UAAU,CAAC,CAAC,SAAS;CAClC,SAAS,WAAW,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;AAC/C,CAAC,CAAC,CAAC,QAAQ;AAEX,MAAa,uCAAuC,SAAS;AAE7D,MAAa,sBAAsB,WAAW;CAC5C,iBAAiB;CACjB,mBAAmB;CACnB,mBAAmB;CACnB,MAAM;EACJ,WAAW,EACT,QAAQ,KACV;EACA,WAAW,EACT,QAAQ,KACV;EACA,aAAa,EACX,QAAQ,KACV;EACA,aAAa,EACX,QAAQ,KACV;EACA,aAAa,EACX,QAAQ,KACV;CACF;AACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoices.d.ts","names":[],"sources":["../../../../src/interface/crud/invoices.ts"],"mappings":";;;cAWa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;;GAK1B,KAAA,CAAA,SAAA;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,
|
|
1
|
+
{"version":3,"file":"invoices.d.ts","names":[],"sources":["../../../../src/interface/crud/invoices.ts"],"mappings":";;;cAWa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;;GAK1B,KAAA,CAAA,SAAA;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAS,QAAQ,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;GAMnC,KAAA,CAAA,SAAA;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAS,QAAQ,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { yupArray, yupBoolean, yupNumber, yupObject, yupString } from "../../schema-fields.js";
|
|
2
|
-
|
|
3
2
|
//#region src/interface/crud/invoices.ts
|
|
4
3
|
const invoiceStatusSchema = yupString().oneOf([
|
|
5
4
|
"draft",
|
|
@@ -19,7 +18,7 @@ const customerInvoicesListResponseSchema = yupObject({
|
|
|
19
18
|
is_paginated: yupBoolean().oneOf([true]).defined(),
|
|
20
19
|
pagination: yupObject({ next_cursor: yupString().nullable().defined() }).defined()
|
|
21
20
|
}).defined();
|
|
22
|
-
|
|
23
21
|
//#endregion
|
|
24
22
|
export { customerInvoiceReadSchema, customerInvoicesListResponseSchema };
|
|
23
|
+
|
|
25
24
|
//# sourceMappingURL=invoices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoices.js","names":[],"sources":["../../../../src/interface/crud/invoices.ts"],"sourcesContent":["import type * as yup from \"yup\";\nimport { yupArray, yupBoolean, yupNumber, yupObject, yupString } from \"../../schema-fields\";\n\nconst invoiceStatusSchema = yupString().oneOf([\n \"draft\",\n \"open\",\n \"paid\",\n \"uncollectible\",\n \"void\",\n]).nullable().defined();\n\nexport const customerInvoiceReadSchema = yupObject({\n created_at_millis: yupNumber().defined(),\n status: invoiceStatusSchema,\n amount_total: yupNumber().integer().defined(),\n hosted_invoice_url: yupString().nullable().defined(),\n}).defined();\n\nexport type CustomerInvoiceRead = yup.InferType<typeof customerInvoiceReadSchema>;\n\nexport const customerInvoicesListResponseSchema = yupObject({\n items: yupArray(customerInvoiceReadSchema).defined(),\n is_paginated: yupBoolean().oneOf([true]).defined(),\n pagination: yupObject({\n next_cursor: yupString().nullable().defined(),\n }).defined(),\n}).defined();\n\nexport type CustomerInvoicesListResponse = yup.InferType<typeof customerInvoicesListResponseSchema>;\n\nexport type ListCustomerInvoicesOptions = {\n customer_type: \"user\" | \"team\",\n customer_id: string,\n cursor?: string,\n limit?: number,\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invoices.js","names":[],"sources":["../../../../src/interface/crud/invoices.ts"],"sourcesContent":["import type * as yup from \"yup\";\nimport { yupArray, yupBoolean, yupNumber, yupObject, yupString } from \"../../schema-fields\";\n\nconst invoiceStatusSchema = yupString().oneOf([\n \"draft\",\n \"open\",\n \"paid\",\n \"uncollectible\",\n \"void\",\n]).nullable().defined();\n\nexport const customerInvoiceReadSchema = yupObject({\n created_at_millis: yupNumber().defined(),\n status: invoiceStatusSchema,\n amount_total: yupNumber().integer().defined(),\n hosted_invoice_url: yupString().nullable().defined(),\n}).defined();\n\nexport type CustomerInvoiceRead = yup.InferType<typeof customerInvoiceReadSchema>;\n\nexport const customerInvoicesListResponseSchema = yupObject({\n items: yupArray(customerInvoiceReadSchema).defined(),\n is_paginated: yupBoolean().oneOf([true]).defined(),\n pagination: yupObject({\n next_cursor: yupString().nullable().defined(),\n }).defined(),\n}).defined();\n\nexport type CustomerInvoicesListResponse = yup.InferType<typeof customerInvoicesListResponseSchema>;\n\nexport type ListCustomerInvoicesOptions = {\n customer_type: \"user\" | \"team\",\n customer_id: string,\n cursor?: string,\n limit?: number,\n};\n"],"mappings":";;AAGA,MAAM,sBAAsB,UAAU,CAAC,CAAC,MAAM;CAC5C;CACA;CACA;CACA;CACA;AACF,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ;AAEtB,MAAa,4BAA4B,UAAU;CACjD,mBAAmB,UAAU,CAAC,CAAC,QAAQ;CACvC,QAAQ;CACR,cAAc,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;CAC5C,oBAAoB,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ;AACrD,CAAC,CAAC,CAAC,QAAQ;AAIX,MAAa,qCAAqC,UAAU;CAC1D,OAAO,SAAS,yBAAyB,CAAC,CAAC,QAAQ;CACnD,cAAc,WAAW,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ;CACjD,YAAY,UAAU,EACpB,aAAa,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,EAC9C,CAAC,CAAC,CAAC,QAAQ;AACb,CAAC,CAAC,CAAC,QAAQ"}
|
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as ______crud0 from "../../crud";
|
|
3
|
-
import { CrudTypeOf } from "../../crud";
|
|
1
|
+
import { CrudTypeOf } from "../../crud.js";
|
|
4
2
|
|
|
5
3
|
//#region src/interface/crud/items.d.ts
|
|
6
|
-
declare const itemCrud:
|
|
7
|
-
clientReadSchema: yup
|
|
4
|
+
declare const itemCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
5
|
+
clientReadSchema: import("yup").ObjectSchema<{
|
|
8
6
|
id: string;
|
|
9
7
|
display_name: string;
|
|
10
8
|
quantity: number;
|
|
11
|
-
}, yup
|
|
9
|
+
}, import("yup").AnyObject, {
|
|
12
10
|
id: undefined;
|
|
13
11
|
display_name: undefined;
|
|
14
12
|
quantity: undefined;
|
|
15
13
|
}, "">;
|
|
16
|
-
serverUpdateSchema: yup
|
|
14
|
+
serverUpdateSchema: import("yup").ObjectSchema<{
|
|
17
15
|
delta: number;
|
|
18
16
|
expires_at: string | undefined;
|
|
19
17
|
description: string | undefined;
|
|
20
18
|
allow_negative: boolean | undefined;
|
|
21
|
-
}, yup
|
|
19
|
+
}, import("yup").AnyObject, {
|
|
22
20
|
delta: undefined;
|
|
23
21
|
expires_at: undefined;
|
|
24
22
|
description: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"items.d.ts","names":[],"sources":["../../../../src/interface/crud/items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"items.d.ts","names":[],"sources":["../../../../src/interface/crud/items.ts"],"mappings":";;;cAkBa,QAAA,uBAAQ,qBAAA;;;;;;;;;;;;;;;;;;;;;;KAKT,QAAA,GAAW,UAAU,QAAQ,QAAA"}
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
import { createCrud } from "../../crud.js";
|
|
2
2
|
import { yupBoolean, yupNumber, yupObject, yupString } from "../../schema-fields.js";
|
|
3
|
-
|
|
4
|
-
//#region src/interface/crud/items.ts
|
|
5
|
-
const itemReadSchema = yupObject({
|
|
6
|
-
id: yupString().defined(),
|
|
7
|
-
display_name: yupString().defined(),
|
|
8
|
-
quantity: yupNumber().defined()
|
|
9
|
-
}).defined();
|
|
10
|
-
const itemUpdateSchema = yupObject({
|
|
11
|
-
delta: yupNumber().defined(),
|
|
12
|
-
expires_at: yupString().optional(),
|
|
13
|
-
description: yupString().optional(),
|
|
14
|
-
allow_negative: yupBoolean().optional()
|
|
15
|
-
}).defined();
|
|
16
3
|
const itemCrud = createCrud({
|
|
17
|
-
clientReadSchema:
|
|
18
|
-
|
|
4
|
+
clientReadSchema: yupObject({
|
|
5
|
+
id: yupString().defined(),
|
|
6
|
+
display_name: yupString().defined(),
|
|
7
|
+
quantity: yupNumber().defined()
|
|
8
|
+
}).defined(),
|
|
9
|
+
serverUpdateSchema: yupObject({
|
|
10
|
+
delta: yupNumber().defined(),
|
|
11
|
+
expires_at: yupString().optional(),
|
|
12
|
+
description: yupString().optional(),
|
|
13
|
+
allow_negative: yupBoolean().optional()
|
|
14
|
+
}).defined()
|
|
19
15
|
});
|
|
20
|
-
|
|
21
16
|
//#endregion
|
|
22
17
|
export { itemCrud };
|
|
18
|
+
|
|
23
19
|
//# sourceMappingURL=items.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"items.js","names":[],"sources":["../../../../src/interface/crud/items.ts"],"sourcesContent":["import { createCrud, CrudTypeOf } from \"../../crud\";\nimport { yupBoolean, yupNumber, yupObject, yupString } from \"../../schema-fields\";\n\n\nconst itemReadSchema = yupObject({\n id: yupString().defined(),\n display_name: yupString().defined(),\n quantity: yupNumber().defined(),\n}).defined();\n\nconst itemUpdateSchema = yupObject({\n delta: yupNumber().defined(),\n expires_at: yupString().optional(),\n description: yupString().optional(),\n allow_negative: yupBoolean().optional(),\n}).defined();\n\n\nexport const itemCrud = createCrud({\n clientReadSchema: itemReadSchema,\n serverUpdateSchema: itemUpdateSchema,\n});\n\nexport type ItemCrud = CrudTypeOf<typeof itemCrud>;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"items.js","names":[],"sources":["../../../../src/interface/crud/items.ts"],"sourcesContent":["import { createCrud, CrudTypeOf } from \"../../crud\";\nimport { yupBoolean, yupNumber, yupObject, yupString } from \"../../schema-fields\";\n\n\nconst itemReadSchema = yupObject({\n id: yupString().defined(),\n display_name: yupString().defined(),\n quantity: yupNumber().defined(),\n}).defined();\n\nconst itemUpdateSchema = yupObject({\n delta: yupNumber().defined(),\n expires_at: yupString().optional(),\n description: yupString().optional(),\n allow_negative: yupBoolean().optional(),\n}).defined();\n\n\nexport const itemCrud = createCrud({\n clientReadSchema: itemReadSchema,\n serverUpdateSchema: itemUpdateSchema,\n});\n\nexport type ItemCrud = CrudTypeOf<typeof itemCrud>;\n"],"mappings":";;AAkBA,MAAa,WAAW,WAAW;CACjC,kBAfqB,UAAU;EAC/B,IAAI,UAAU,CAAC,CAAC,QAAQ;EACxB,cAAc,UAAU,CAAC,CAAC,QAAQ;EAClC,UAAU,UAAU,CAAC,CAAC,QAAQ;CAChC,CAAC,CAAC,CAAC,QAWiB;CAClB,oBAVuB,UAAU;EACjC,OAAO,UAAU,CAAC,CAAC,QAAQ;EAC3B,YAAY,UAAU,CAAC,CAAC,SAAS;EACjC,aAAa,UAAU,CAAC,CAAC,SAAS;EAClC,gBAAgB,WAAW,CAAC,CAAC,SAAS;CACxC,CAAC,CAAC,CAAC,QAKmB;AACtB,CAAC"}
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as ______crud0 from "../../crud";
|
|
3
|
-
import { CrudTypeOf } from "../../crud";
|
|
1
|
+
import { CrudTypeOf } from "../../crud.js";
|
|
4
2
|
|
|
5
3
|
//#region src/interface/crud/notification-preferences.d.ts
|
|
6
|
-
declare const notificationPreferenceCrud:
|
|
7
|
-
clientReadSchema: yup
|
|
4
|
+
declare const notificationPreferenceCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
5
|
+
clientReadSchema: import("yup").ObjectSchema<{
|
|
8
6
|
notification_category_id: string;
|
|
9
7
|
notification_category_name: string;
|
|
10
8
|
enabled: boolean;
|
|
11
9
|
can_disable: boolean;
|
|
12
|
-
}, yup
|
|
10
|
+
}, import("yup").AnyObject, {
|
|
13
11
|
notification_category_id: undefined;
|
|
14
12
|
notification_category_name: undefined;
|
|
15
13
|
enabled: undefined;
|
|
16
14
|
can_disable: undefined;
|
|
17
15
|
}, "">;
|
|
18
|
-
clientUpdateSchema: yup
|
|
16
|
+
clientUpdateSchema: import("yup").ObjectSchema<{
|
|
19
17
|
enabled: boolean;
|
|
20
|
-
}, yup
|
|
18
|
+
}, import("yup").AnyObject, {
|
|
21
19
|
enabled: undefined;
|
|
22
20
|
}, "">;
|
|
23
21
|
docs: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-preferences.d.ts","names":[],"sources":["../../../../src/interface/crud/notification-preferences.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification-preferences.d.ts","names":[],"sources":["../../../../src/interface/crud/notification-preferences.ts"],"mappings":";;;cAea,0BAAA,uBAA0B,qBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiB3B,0BAAA,GAA6B,UAAU,QAAQ,0BAAA"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { createCrud } from "../../crud.js";
|
|
2
2
|
import { yupBoolean, yupObject, yupString } from "../../schema-fields.js";
|
|
3
|
-
|
|
4
|
-
//#region src/interface/crud/notification-preferences.ts
|
|
5
|
-
const notificationPreferenceReadSchema = yupObject({
|
|
6
|
-
notification_category_id: yupString().defined(),
|
|
7
|
-
notification_category_name: yupString().defined(),
|
|
8
|
-
enabled: yupBoolean().defined(),
|
|
9
|
-
can_disable: yupBoolean().defined()
|
|
10
|
-
}).defined();
|
|
11
|
-
const notificationPreferenceUpdateSchema = yupObject({ enabled: yupBoolean().defined() }).defined();
|
|
12
3
|
const notificationPreferenceCrud = createCrud({
|
|
13
|
-
clientReadSchema:
|
|
14
|
-
|
|
4
|
+
clientReadSchema: yupObject({
|
|
5
|
+
notification_category_id: yupString().defined(),
|
|
6
|
+
notification_category_name: yupString().defined(),
|
|
7
|
+
enabled: yupBoolean().defined(),
|
|
8
|
+
can_disable: yupBoolean().defined()
|
|
9
|
+
}).defined(),
|
|
10
|
+
clientUpdateSchema: yupObject({ enabled: yupBoolean().defined() }).defined(),
|
|
15
11
|
docs: {
|
|
16
12
|
clientList: {
|
|
17
13
|
summary: "List notification preferences",
|
|
@@ -25,7 +21,7 @@ const notificationPreferenceCrud = createCrud({
|
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
23
|
});
|
|
28
|
-
|
|
29
24
|
//#endregion
|
|
30
25
|
export { notificationPreferenceCrud };
|
|
26
|
+
|
|
31
27
|
//# sourceMappingURL=notification-preferences.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-preferences.js","names":[],"sources":["../../../../src/interface/crud/notification-preferences.ts"],"sourcesContent":["import { createCrud, CrudTypeOf } from \"../../crud\";\nimport { yupBoolean, yupObject, yupString } from \"../../schema-fields\";\n\n\nconst notificationPreferenceReadSchema = yupObject({\n notification_category_id: yupString().defined(),\n notification_category_name: yupString().defined(),\n enabled: yupBoolean().defined(),\n can_disable: yupBoolean().defined(),\n}).defined();\n\nconst notificationPreferenceUpdateSchema = yupObject({\n enabled: yupBoolean().defined(),\n}).defined();\n\nexport const notificationPreferenceCrud = createCrud({\n clientReadSchema: notificationPreferenceReadSchema,\n clientUpdateSchema: notificationPreferenceUpdateSchema,\n docs: {\n clientList: {\n summary: \"List notification preferences\",\n description: \"Get all notification preferences for a user, showing which notification categories are enabled or disabled.\",\n tags: [\"Emails\"],\n },\n clientUpdate: {\n summary: \"Update notification preference\",\n description: \"Enable or disable a specific notification category for a user.\",\n tags: [\"Emails\"],\n },\n },\n});\n\nexport type NotificationPreferenceCrud = CrudTypeOf<typeof notificationPreferenceCrud>;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification-preferences.js","names":[],"sources":["../../../../src/interface/crud/notification-preferences.ts"],"sourcesContent":["import { createCrud, CrudTypeOf } from \"../../crud\";\nimport { yupBoolean, yupObject, yupString } from \"../../schema-fields\";\n\n\nconst notificationPreferenceReadSchema = yupObject({\n notification_category_id: yupString().defined(),\n notification_category_name: yupString().defined(),\n enabled: yupBoolean().defined(),\n can_disable: yupBoolean().defined(),\n}).defined();\n\nconst notificationPreferenceUpdateSchema = yupObject({\n enabled: yupBoolean().defined(),\n}).defined();\n\nexport const notificationPreferenceCrud = createCrud({\n clientReadSchema: notificationPreferenceReadSchema,\n clientUpdateSchema: notificationPreferenceUpdateSchema,\n docs: {\n clientList: {\n summary: \"List notification preferences\",\n description: \"Get all notification preferences for a user, showing which notification categories are enabled or disabled.\",\n tags: [\"Emails\"],\n },\n clientUpdate: {\n summary: \"Update notification preference\",\n description: \"Enable or disable a specific notification category for a user.\",\n tags: [\"Emails\"],\n },\n },\n});\n\nexport type NotificationPreferenceCrud = CrudTypeOf<typeof notificationPreferenceCrud>;\n"],"mappings":";;AAeA,MAAa,6BAA6B,WAAW;CACnD,kBAZuC,UAAU;EACjD,0BAA0B,UAAU,CAAC,CAAC,QAAQ;EAC9C,4BAA4B,UAAU,CAAC,CAAC,QAAQ;EAChD,SAAS,WAAW,CAAC,CAAC,QAAQ;EAC9B,aAAa,WAAW,CAAC,CAAC,QAAQ;CACpC,CAAC,CAAC,CAAC,QAOiB;CAClB,oBANyC,UAAU,EACnD,SAAS,WAAW,CAAC,CAAC,QAAQ,EAChC,CAAC,CAAC,CAAC,QAImB;CACpB,MAAM;EACJ,YAAY;GACV,SAAS;GACT,aAAa;GACb,MAAM,CAAC,QAAQ;EACjB;EACA,cAAc;GACZ,SAAS;GACT,aAAa;GACb,MAAM,CAAC,QAAQ;EACjB;CACF;AACF,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as ______crud0 from "../../crud";
|
|
3
|
-
import { CrudTypeOf } from "../../crud";
|
|
1
|
+
import { CrudTypeOf } from "../../crud.js";
|
|
4
2
|
|
|
5
3
|
//#region src/interface/crud/oauth-providers.d.ts
|
|
6
|
-
declare const oauthProviderClientReadSchema: yup
|
|
4
|
+
declare const oauthProviderClientReadSchema: import("yup").ObjectSchema<{
|
|
7
5
|
user_id: string;
|
|
8
6
|
id: string;
|
|
9
7
|
email: string | undefined;
|
|
@@ -11,7 +9,7 @@ declare const oauthProviderClientReadSchema: yup$1.ObjectSchema<{
|
|
|
11
9
|
type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
12
10
|
allow_sign_in: boolean;
|
|
13
11
|
allow_connected_accounts: boolean;
|
|
14
|
-
}, yup
|
|
12
|
+
}, import("yup").AnyObject, {
|
|
15
13
|
user_id: undefined;
|
|
16
14
|
id: undefined;
|
|
17
15
|
email: undefined;
|
|
@@ -20,7 +18,7 @@ declare const oauthProviderClientReadSchema: yup$1.ObjectSchema<{
|
|
|
20
18
|
allow_sign_in: undefined;
|
|
21
19
|
allow_connected_accounts: undefined;
|
|
22
20
|
}, "">;
|
|
23
|
-
declare const oauthProviderServerReadSchema: yup
|
|
21
|
+
declare const oauthProviderServerReadSchema: import("yup").ObjectSchema<{
|
|
24
22
|
user_id: string;
|
|
25
23
|
id: string;
|
|
26
24
|
email: string | undefined;
|
|
@@ -30,7 +28,7 @@ declare const oauthProviderServerReadSchema: yup$1.ObjectSchema<{
|
|
|
30
28
|
allow_connected_accounts: boolean;
|
|
31
29
|
} & {
|
|
32
30
|
account_id: string;
|
|
33
|
-
}, yup
|
|
31
|
+
}, import("yup").AnyObject, {
|
|
34
32
|
user_id: undefined;
|
|
35
33
|
id: undefined;
|
|
36
34
|
email: undefined;
|
|
@@ -40,33 +38,33 @@ declare const oauthProviderServerReadSchema: yup$1.ObjectSchema<{
|
|
|
40
38
|
allow_connected_accounts: undefined;
|
|
41
39
|
account_id: undefined;
|
|
42
40
|
}, "">;
|
|
43
|
-
declare const oauthProviderCrudClientUpdateSchema: yup
|
|
41
|
+
declare const oauthProviderCrudClientUpdateSchema: import("yup").ObjectSchema<{
|
|
44
42
|
allow_sign_in: boolean | undefined;
|
|
45
43
|
allow_connected_accounts: boolean | undefined;
|
|
46
|
-
}, yup
|
|
44
|
+
}, import("yup").AnyObject, {
|
|
47
45
|
allow_sign_in: undefined;
|
|
48
46
|
allow_connected_accounts: undefined;
|
|
49
47
|
}, "">;
|
|
50
|
-
declare const oauthProviderCrudServerUpdateSchema: yup
|
|
48
|
+
declare const oauthProviderCrudServerUpdateSchema: import("yup").ObjectSchema<{
|
|
51
49
|
allow_sign_in: boolean | undefined;
|
|
52
50
|
allow_connected_accounts: boolean | undefined;
|
|
53
51
|
} & {
|
|
54
52
|
email: string | undefined;
|
|
55
53
|
account_id: string | undefined;
|
|
56
|
-
}, yup
|
|
54
|
+
}, import("yup").AnyObject, {
|
|
57
55
|
allow_sign_in: undefined;
|
|
58
56
|
allow_connected_accounts: undefined;
|
|
59
57
|
email: undefined;
|
|
60
58
|
account_id: undefined;
|
|
61
59
|
}, "">;
|
|
62
|
-
declare const oauthProviderCrudServerCreateSchema: yup
|
|
60
|
+
declare const oauthProviderCrudServerCreateSchema: import("yup").ObjectSchema<{
|
|
63
61
|
user_id: string;
|
|
64
62
|
provider_config_id: string;
|
|
65
63
|
email: string | undefined;
|
|
66
64
|
allow_sign_in: boolean;
|
|
67
65
|
allow_connected_accounts: boolean;
|
|
68
66
|
account_id: string;
|
|
69
|
-
}, yup
|
|
67
|
+
}, import("yup").AnyObject, {
|
|
70
68
|
user_id: undefined;
|
|
71
69
|
provider_config_id: undefined;
|
|
72
70
|
email: undefined;
|
|
@@ -74,9 +72,9 @@ declare const oauthProviderCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
|
74
72
|
allow_connected_accounts: undefined;
|
|
75
73
|
account_id: undefined;
|
|
76
74
|
}, "">;
|
|
77
|
-
declare const oauthProviderCrudClientDeleteSchema: yup
|
|
78
|
-
declare const oauthProviderCrud:
|
|
79
|
-
clientReadSchema: yup
|
|
75
|
+
declare const oauthProviderCrudClientDeleteSchema: import("yup").MixedSchema<{} | undefined, import("yup").AnyObject, undefined, "">;
|
|
76
|
+
declare const oauthProviderCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
77
|
+
clientReadSchema: import("yup").ObjectSchema<{
|
|
80
78
|
user_id: string;
|
|
81
79
|
id: string;
|
|
82
80
|
email: string | undefined;
|
|
@@ -84,7 +82,7 @@ declare const oauthProviderCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
84
82
|
type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
|
|
85
83
|
allow_sign_in: boolean;
|
|
86
84
|
allow_connected_accounts: boolean;
|
|
87
|
-
}, yup
|
|
85
|
+
}, import("yup").AnyObject, {
|
|
88
86
|
user_id: undefined;
|
|
89
87
|
id: undefined;
|
|
90
88
|
email: undefined;
|
|
@@ -93,15 +91,15 @@ declare const oauthProviderCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
93
91
|
allow_sign_in: undefined;
|
|
94
92
|
allow_connected_accounts: undefined;
|
|
95
93
|
}, "">;
|
|
96
|
-
clientUpdateSchema: yup
|
|
94
|
+
clientUpdateSchema: import("yup").ObjectSchema<{
|
|
97
95
|
allow_sign_in: boolean | undefined;
|
|
98
96
|
allow_connected_accounts: boolean | undefined;
|
|
99
|
-
}, yup
|
|
97
|
+
}, import("yup").AnyObject, {
|
|
100
98
|
allow_sign_in: undefined;
|
|
101
99
|
allow_connected_accounts: undefined;
|
|
102
100
|
}, "">;
|
|
103
|
-
clientDeleteSchema: yup
|
|
104
|
-
serverReadSchema: yup
|
|
101
|
+
clientDeleteSchema: import("yup").MixedSchema<{} | undefined, import("yup").AnyObject, undefined, "">;
|
|
102
|
+
serverReadSchema: import("yup").ObjectSchema<{
|
|
105
103
|
user_id: string;
|
|
106
104
|
id: string;
|
|
107
105
|
email: string | undefined;
|
|
@@ -111,7 +109,7 @@ declare const oauthProviderCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
111
109
|
allow_connected_accounts: boolean;
|
|
112
110
|
} & {
|
|
113
111
|
account_id: string;
|
|
114
|
-
}, yup
|
|
112
|
+
}, import("yup").AnyObject, {
|
|
115
113
|
user_id: undefined;
|
|
116
114
|
id: undefined;
|
|
117
115
|
email: undefined;
|
|
@@ -121,26 +119,26 @@ declare const oauthProviderCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
121
119
|
allow_connected_accounts: undefined;
|
|
122
120
|
account_id: undefined;
|
|
123
121
|
}, "">;
|
|
124
|
-
serverUpdateSchema: yup
|
|
122
|
+
serverUpdateSchema: import("yup").ObjectSchema<{
|
|
125
123
|
allow_sign_in: boolean | undefined;
|
|
126
124
|
allow_connected_accounts: boolean | undefined;
|
|
127
125
|
} & {
|
|
128
126
|
email: string | undefined;
|
|
129
127
|
account_id: string | undefined;
|
|
130
|
-
}, yup
|
|
128
|
+
}, import("yup").AnyObject, {
|
|
131
129
|
allow_sign_in: undefined;
|
|
132
130
|
allow_connected_accounts: undefined;
|
|
133
131
|
email: undefined;
|
|
134
132
|
account_id: undefined;
|
|
135
133
|
}, "">;
|
|
136
|
-
serverCreateSchema: yup
|
|
134
|
+
serverCreateSchema: import("yup").ObjectSchema<{
|
|
137
135
|
user_id: string;
|
|
138
136
|
provider_config_id: string;
|
|
139
137
|
email: string | undefined;
|
|
140
138
|
allow_sign_in: boolean;
|
|
141
139
|
allow_connected_accounts: boolean;
|
|
142
140
|
account_id: string;
|
|
143
|
-
}, yup
|
|
141
|
+
}, import("yup").AnyObject, {
|
|
144
142
|
user_id: undefined;
|
|
145
143
|
provider_config_id: undefined;
|
|
146
144
|
email: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-providers.d.ts","names":[],"sources":["../../../../src/interface/crud/oauth-providers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"oauth-providers.d.ts","names":[],"sources":["../../../../src/interface/crud/oauth-providers.ts"],"mappings":";;;cAea,6BAAA,gBAA6B,YAAA;;;;;;;;;;;;;;;;;cAU7B,6BAAA,gBAA6B,YAAA;;;;;;;;;;;;;;;;;;;;cAI7B,mCAAA,gBAAmC,YAAA;;;;;;;cAKnC,mCAAA,gBAAmC,YAAA;;;;;;;;;;;;cAKnC,mCAAA,gBAAmC,YAAA;;;;;;;;;;;;;;;cASnC,mCAAA,gBAAmC,WAAA,+BAAA,SAAA;AAAA,cAEnC,iBAAA,uBAAiB,qBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwClB,iBAAA,GAAoB,UAAU,QAAQ,iBAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createCrud } from "../../crud.js";
|
|
2
2
|
import { oauthProviderAccountIdSchema, oauthProviderAllowConnectedAccountsSchema, oauthProviderAllowSignInSchema, oauthProviderEmailSchema, oauthProviderIdSchema, oauthProviderProviderConfigIdSchema, oauthProviderTypeSchema, userIdOrMeSchema, yupMixed, yupObject, yupString } from "../../schema-fields.js";
|
|
3
|
-
|
|
4
3
|
//#region src/interface/crud/oauth-providers.ts
|
|
5
4
|
const oauthProviderClientReadSchema = yupObject({
|
|
6
5
|
user_id: userIdOrMeSchema.defined(),
|
|
@@ -69,7 +68,7 @@ const oauthProviderCrud = createCrud({
|
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
70
|
});
|
|
72
|
-
|
|
73
71
|
//#endregion
|
|
74
72
|
export { oauthProviderClientReadSchema, oauthProviderCrud, oauthProviderCrudClientDeleteSchema, oauthProviderCrudClientUpdateSchema, oauthProviderCrudServerCreateSchema, oauthProviderCrudServerUpdateSchema, oauthProviderServerReadSchema };
|
|
73
|
+
|
|
75
74
|
//# sourceMappingURL=oauth-providers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-providers.js","names":[],"sources":["../../../../src/interface/crud/oauth-providers.ts"],"sourcesContent":["import { CrudTypeOf, createCrud } from \"../../crud\";\nimport {\n oauthProviderAccountIdSchema,\n oauthProviderAllowConnectedAccountsSchema,\n oauthProviderAllowSignInSchema,\n oauthProviderEmailSchema,\n oauthProviderIdSchema,\n oauthProviderProviderConfigIdSchema,\n oauthProviderTypeSchema,\n userIdOrMeSchema,\n yupMixed,\n yupObject,\n yupString\n} from \"../../schema-fields\";\n\nexport const oauthProviderClientReadSchema = yupObject({\n user_id: userIdOrMeSchema.defined(),\n id: oauthProviderIdSchema.defined(),\n email: oauthProviderEmailSchema.optional(),\n provider_config_id: oauthProviderProviderConfigIdSchema.defined(),\n type: oauthProviderTypeSchema.defined(),\n allow_sign_in: oauthProviderAllowSignInSchema.defined(),\n allow_connected_accounts: oauthProviderAllowConnectedAccountsSchema.defined(),\n}).defined();\n\nexport const oauthProviderServerReadSchema = oauthProviderClientReadSchema.concat(yupObject({\n account_id: oauthProviderAccountIdSchema.defined(),\n}));\n\nexport const oauthProviderCrudClientUpdateSchema = yupObject({\n allow_sign_in: oauthProviderAllowSignInSchema.optional(),\n allow_connected_accounts: oauthProviderAllowConnectedAccountsSchema.optional(),\n}).defined();\n\nexport const oauthProviderCrudServerUpdateSchema = oauthProviderCrudClientUpdateSchema.concat(yupObject({\n email: oauthProviderEmailSchema.optional(),\n account_id: oauthProviderAccountIdSchema.optional(),\n}));\n\nexport const oauthProviderCrudServerCreateSchema = yupObject({\n user_id: userIdOrMeSchema.defined(),\n provider_config_id: yupString().defined(),\n email: oauthProviderEmailSchema.optional(),\n allow_sign_in: oauthProviderAllowSignInSchema.defined(),\n allow_connected_accounts: oauthProviderAllowConnectedAccountsSchema.defined(),\n account_id: oauthProviderAccountIdSchema.defined(),\n}).defined();\n\nexport const oauthProviderCrudClientDeleteSchema = yupMixed();\n\nexport const oauthProviderCrud = createCrud({\n clientReadSchema: oauthProviderClientReadSchema,\n clientUpdateSchema: oauthProviderCrudClientUpdateSchema,\n clientDeleteSchema: oauthProviderCrudClientDeleteSchema,\n serverReadSchema: oauthProviderServerReadSchema,\n serverUpdateSchema: oauthProviderCrudServerUpdateSchema,\n serverCreateSchema: oauthProviderCrudServerCreateSchema,\n docs: {\n clientRead: {\n summary: \"Get an OAuth provider\",\n description: \"Retrieves a specific OAuth provider by the user ID and the OAuth provider ID.\",\n tags: [\"Oauth\"],\n },\n serverCreate: {\n summary: \"Create an OAuth provider\",\n description: \"Add a new OAuth provider for a user.\",\n tags: [\"Oauth\"],\n },\n serverUpdate: {\n summary: \"Update an OAuth provider\",\n description: \"Updates an existing OAuth provider. Only the values provided will be updated.\",\n tags: [\"Oauth\"],\n },\n clientUpdate: {\n summary: \"Update an OAuth provider\",\n description: \"Updates an existing OAuth provider for a user.\",\n tags: [\"Oauth\"],\n },\n clientDelete: {\n summary: \"Delete an OAuth provider\",\n description: \"Removes an OAuth provider for a given user.\",\n tags: [\"Oauth\"],\n },\n clientList: {\n summary: \"List OAuth providers\",\n description: \"Retrieves a list of all OAuth providers for a user.\",\n tags: [\"Oauth\"],\n },\n }\n});\nexport type OAuthProviderCrud = CrudTypeOf<typeof oauthProviderCrud>;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"oauth-providers.js","names":[],"sources":["../../../../src/interface/crud/oauth-providers.ts"],"sourcesContent":["import { CrudTypeOf, createCrud } from \"../../crud\";\nimport {\n oauthProviderAccountIdSchema,\n oauthProviderAllowConnectedAccountsSchema,\n oauthProviderAllowSignInSchema,\n oauthProviderEmailSchema,\n oauthProviderIdSchema,\n oauthProviderProviderConfigIdSchema,\n oauthProviderTypeSchema,\n userIdOrMeSchema,\n yupMixed,\n yupObject,\n yupString\n} from \"../../schema-fields\";\n\nexport const oauthProviderClientReadSchema = yupObject({\n user_id: userIdOrMeSchema.defined(),\n id: oauthProviderIdSchema.defined(),\n email: oauthProviderEmailSchema.optional(),\n provider_config_id: oauthProviderProviderConfigIdSchema.defined(),\n type: oauthProviderTypeSchema.defined(),\n allow_sign_in: oauthProviderAllowSignInSchema.defined(),\n allow_connected_accounts: oauthProviderAllowConnectedAccountsSchema.defined(),\n}).defined();\n\nexport const oauthProviderServerReadSchema = oauthProviderClientReadSchema.concat(yupObject({\n account_id: oauthProviderAccountIdSchema.defined(),\n}));\n\nexport const oauthProviderCrudClientUpdateSchema = yupObject({\n allow_sign_in: oauthProviderAllowSignInSchema.optional(),\n allow_connected_accounts: oauthProviderAllowConnectedAccountsSchema.optional(),\n}).defined();\n\nexport const oauthProviderCrudServerUpdateSchema = oauthProviderCrudClientUpdateSchema.concat(yupObject({\n email: oauthProviderEmailSchema.optional(),\n account_id: oauthProviderAccountIdSchema.optional(),\n}));\n\nexport const oauthProviderCrudServerCreateSchema = yupObject({\n user_id: userIdOrMeSchema.defined(),\n provider_config_id: yupString().defined(),\n email: oauthProviderEmailSchema.optional(),\n allow_sign_in: oauthProviderAllowSignInSchema.defined(),\n allow_connected_accounts: oauthProviderAllowConnectedAccountsSchema.defined(),\n account_id: oauthProviderAccountIdSchema.defined(),\n}).defined();\n\nexport const oauthProviderCrudClientDeleteSchema = yupMixed();\n\nexport const oauthProviderCrud = createCrud({\n clientReadSchema: oauthProviderClientReadSchema,\n clientUpdateSchema: oauthProviderCrudClientUpdateSchema,\n clientDeleteSchema: oauthProviderCrudClientDeleteSchema,\n serverReadSchema: oauthProviderServerReadSchema,\n serverUpdateSchema: oauthProviderCrudServerUpdateSchema,\n serverCreateSchema: oauthProviderCrudServerCreateSchema,\n docs: {\n clientRead: {\n summary: \"Get an OAuth provider\",\n description: \"Retrieves a specific OAuth provider by the user ID and the OAuth provider ID.\",\n tags: [\"Oauth\"],\n },\n serverCreate: {\n summary: \"Create an OAuth provider\",\n description: \"Add a new OAuth provider for a user.\",\n tags: [\"Oauth\"],\n },\n serverUpdate: {\n summary: \"Update an OAuth provider\",\n description: \"Updates an existing OAuth provider. Only the values provided will be updated.\",\n tags: [\"Oauth\"],\n },\n clientUpdate: {\n summary: \"Update an OAuth provider\",\n description: \"Updates an existing OAuth provider for a user.\",\n tags: [\"Oauth\"],\n },\n clientDelete: {\n summary: \"Delete an OAuth provider\",\n description: \"Removes an OAuth provider for a given user.\",\n tags: [\"Oauth\"],\n },\n clientList: {\n summary: \"List OAuth providers\",\n description: \"Retrieves a list of all OAuth providers for a user.\",\n tags: [\"Oauth\"],\n },\n }\n});\nexport type OAuthProviderCrud = CrudTypeOf<typeof oauthProviderCrud>;\n"],"mappings":";;;AAeA,MAAa,gCAAgC,UAAU;CACrD,SAAS,iBAAiB,QAAQ;CAClC,IAAI,sBAAsB,QAAQ;CAClC,OAAO,yBAAyB,SAAS;CACzC,oBAAoB,oCAAoC,QAAQ;CAChE,MAAM,wBAAwB,QAAQ;CACtC,eAAe,+BAA+B,QAAQ;CACtD,0BAA0B,0CAA0C,QAAQ;AAC9E,CAAC,CAAC,CAAC,QAAQ;AAEX,MAAa,gCAAgC,8BAA8B,OAAO,UAAU,EAC1F,YAAY,6BAA6B,QAAQ,EACnD,CAAC,CAAC;AAEF,MAAa,sCAAsC,UAAU;CAC3D,eAAe,+BAA+B,SAAS;CACvD,0BAA0B,0CAA0C,SAAS;AAC/E,CAAC,CAAC,CAAC,QAAQ;AAEX,MAAa,sCAAsC,oCAAoC,OAAO,UAAU;CACtG,OAAO,yBAAyB,SAAS;CACzC,YAAY,6BAA6B,SAAS;AACpD,CAAC,CAAC;AAEF,MAAa,sCAAsC,UAAU;CAC3D,SAAS,iBAAiB,QAAQ;CAClC,oBAAoB,UAAU,CAAC,CAAC,QAAQ;CACxC,OAAO,yBAAyB,SAAS;CACzC,eAAe,+BAA+B,QAAQ;CACtD,0BAA0B,0CAA0C,QAAQ;CAC5E,YAAY,6BAA6B,QAAQ;AACnD,CAAC,CAAC,CAAC,QAAQ;AAEX,MAAa,sCAAsC,SAAS;AAE5D,MAAa,oBAAoB,WAAW;CAC1C,kBAAkB;CAClB,oBAAoB;CACpB,oBAAoB;CACpB,kBAAkB;CAClB,oBAAoB;CACpB,oBAAoB;CACpB,MAAM;EACJ,YAAY;GACV,SAAS;GACT,aAAa;GACb,MAAM,CAAC,OAAO;EAChB;EACA,cAAc;GACZ,SAAS;GACT,aAAa;GACb,MAAM,CAAC,OAAO;EAChB;EACA,cAAc;GACZ,SAAS;GACT,aAAa;GACb,MAAM,CAAC,OAAO;EAChB;EACA,cAAc;GACZ,SAAS;GACT,aAAa;GACb,MAAM,CAAC,OAAO;EAChB;EACA,cAAc;GACZ,SAAS;GACT,aAAa;GACb,MAAM,CAAC,OAAO;EAChB;EACA,YAAY;GACV,SAAS;GACT,aAAa;GACb,MAAM,CAAC,OAAO;EAChB;CACF;AACF,CAAC"}
|