@hexclave/shared 1.0.40 → 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 +3 -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 +1 -2
- 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 +26 -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 +81 -82
- 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 +2 -2
- 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 +11 -11
- 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 +11 -13
- 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 +10 -12
- 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 +16 -17
- 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 +3 -4
- 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 +28 -30
- 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 +14 -16
- 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 +12 -14
- 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 +5 -6
- 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.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 +3 -3
- 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 +1 -1
- 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 +11 -11
- 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/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -0
- 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,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"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as yup$1 from "yup";
|
|
2
|
-
import * as ______utils_dates0 from "../../utils/dates";
|
|
3
2
|
|
|
4
3
|
//#region src/interface/crud/products.d.ts
|
|
5
4
|
declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
6
5
|
id: string | null;
|
|
7
6
|
quantity: number;
|
|
8
7
|
product: {
|
|
9
|
-
free_trial?:
|
|
8
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
10
9
|
client_metadata?: {} | null | undefined;
|
|
11
10
|
client_read_only_metadata?: {} | null | undefined;
|
|
12
11
|
server_metadata?: {} | null | undefined;
|
|
@@ -21,13 +20,13 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
21
20
|
INR?: string | undefined;
|
|
22
21
|
AUD?: string | undefined;
|
|
23
22
|
CAD?: string | undefined;
|
|
24
|
-
interval?:
|
|
25
|
-
free_trial?:
|
|
23
|
+
interval?: import("../../utils/dates").DayInterval | undefined;
|
|
24
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
26
25
|
}>;
|
|
27
26
|
display_name: string;
|
|
28
27
|
included_items: Record<string, {
|
|
29
28
|
quantity?: number | undefined;
|
|
30
|
-
repeat?: "never" |
|
|
29
|
+
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
31
30
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
32
31
|
}>;
|
|
33
32
|
};
|
|
@@ -41,7 +40,7 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
41
40
|
switch_options: {
|
|
42
41
|
product_id: string;
|
|
43
42
|
product: {
|
|
44
|
-
free_trial?:
|
|
43
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
45
44
|
client_metadata?: {} | null | undefined;
|
|
46
45
|
client_read_only_metadata?: {} | null | undefined;
|
|
47
46
|
server_metadata?: {} | null | undefined;
|
|
@@ -56,13 +55,13 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
56
55
|
INR?: string | undefined;
|
|
57
56
|
AUD?: string | undefined;
|
|
58
57
|
CAD?: string | undefined;
|
|
59
|
-
interval?:
|
|
60
|
-
free_trial?:
|
|
58
|
+
interval?: import("../../utils/dates").DayInterval | undefined;
|
|
59
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
61
60
|
}>;
|
|
62
61
|
display_name: string;
|
|
63
62
|
included_items: Record<string, {
|
|
64
63
|
quantity?: number | undefined;
|
|
65
|
-
repeat?: "never" |
|
|
64
|
+
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
66
65
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
67
66
|
}>;
|
|
68
67
|
};
|
|
@@ -104,7 +103,7 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
104
103
|
switch_options?: {
|
|
105
104
|
product_id: string;
|
|
106
105
|
product: {
|
|
107
|
-
free_trial?:
|
|
106
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
108
107
|
client_metadata?: {} | null | undefined;
|
|
109
108
|
client_read_only_metadata?: {} | null | undefined;
|
|
110
109
|
server_metadata?: {} | null | undefined;
|
|
@@ -119,20 +118,20 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
119
118
|
INR?: string | undefined;
|
|
120
119
|
AUD?: string | undefined;
|
|
121
120
|
CAD?: string | undefined;
|
|
122
|
-
interval?:
|
|
123
|
-
free_trial?:
|
|
121
|
+
interval?: import("../../utils/dates").DayInterval | undefined;
|
|
122
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
124
123
|
}>;
|
|
125
124
|
display_name: string;
|
|
126
125
|
included_items: Record<string, {
|
|
127
126
|
quantity?: number | undefined;
|
|
128
|
-
repeat?: "never" |
|
|
127
|
+
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
129
128
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
130
129
|
}>;
|
|
131
130
|
};
|
|
132
131
|
}[] | undefined;
|
|
133
132
|
quantity: number;
|
|
134
133
|
product: {
|
|
135
|
-
free_trial?:
|
|
134
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
136
135
|
client_metadata?: {} | null | undefined;
|
|
137
136
|
client_read_only_metadata?: {} | null | undefined;
|
|
138
137
|
server_metadata?: {} | null | undefined;
|
|
@@ -147,13 +146,13 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
147
146
|
INR?: string | undefined;
|
|
148
147
|
AUD?: string | undefined;
|
|
149
148
|
CAD?: string | undefined;
|
|
150
|
-
interval?:
|
|
151
|
-
free_trial?:
|
|
149
|
+
interval?: import("../../utils/dates").DayInterval | undefined;
|
|
150
|
+
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
152
151
|
}>;
|
|
153
152
|
display_name: string;
|
|
154
153
|
included_items: Record<string, {
|
|
155
154
|
quantity?: number | undefined;
|
|
156
|
-
repeat?: "never" |
|
|
155
|
+
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
157
156
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
158
157
|
}>;
|
|
159
158
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","names":[],"sources":["../../../../src/interface/crud/products.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"products.d.ts","names":[],"sources":["../../../../src/interface/crud/products.ts"],"mappings":";;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgB1B,mBAAA,GAAsB,KAAA,CAAI,SAAS,QAAQ,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAQnC,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 { inlineProductSchema, yupArray, yupBoolean, yupNumber, yupObject, yupString } from "../../schema-fields.js";
|
|
2
|
-
|
|
3
2
|
//#region src/interface/crud/products.ts
|
|
4
3
|
const customerProductSwitchOptionSchema = yupObject({
|
|
5
4
|
product_id: yupString().defined(),
|
|
@@ -9,7 +8,9 @@ const customerProductReadSchema = yupObject({
|
|
|
9
8
|
id: yupString().nullable().defined(),
|
|
10
9
|
quantity: yupNumber().defined(),
|
|
11
10
|
product: inlineProductSchema.defined(),
|
|
11
|
+
/** @deprecated Product ownership is independent of purchase type. Will be removed in a future version. */
|
|
12
12
|
type: yupString().oneOf(["one_time", "subscription"]).optional(),
|
|
13
|
+
/** @deprecated Subscription management will move to a dedicated endpoint. Will be removed in a future version. */
|
|
13
14
|
subscription: yupObject({
|
|
14
15
|
subscription_id: yupString().nullable().defined(),
|
|
15
16
|
current_period_end: yupString().nullable().defined(),
|
|
@@ -23,7 +24,7 @@ const customerProductsListResponseSchema = yupObject({
|
|
|
23
24
|
is_paginated: yupBoolean().oneOf([true]).defined(),
|
|
24
25
|
pagination: yupObject({ next_cursor: yupString().nullable().defined() }).defined()
|
|
25
26
|
}).defined();
|
|
26
|
-
|
|
27
27
|
//#endregion
|
|
28
28
|
export { customerProductReadSchema, customerProductsListResponseSchema };
|
|
29
|
+
|
|
29
30
|
//# sourceMappingURL=products.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.js","names":[],"sources":["../../../../src/interface/crud/products.ts"],"sourcesContent":["import type * as yup from \"yup\";\nimport { inlineProductSchema, yupArray, yupBoolean, yupNumber, yupObject, yupString } from \"../../schema-fields\";\n\nconst customerProductSwitchOptionSchema = yupObject({\n product_id: yupString().defined(),\n product: inlineProductSchema.defined(),\n}).defined();\n\nexport const customerProductReadSchema = yupObject({\n id: yupString().nullable().defined(),\n quantity: yupNumber().defined(),\n product: inlineProductSchema.defined(),\n /** @deprecated Product ownership is independent of purchase type. Will be removed in a future version. */\n type: yupString().oneOf([\"one_time\", \"subscription\"]).optional(),\n /** @deprecated Subscription management will move to a dedicated endpoint. Will be removed in a future version. */\n subscription: yupObject({\n subscription_id: yupString().nullable().defined(),\n current_period_end: yupString().nullable().defined(),\n cancel_at_period_end: yupBoolean().defined(),\n is_cancelable: yupBoolean().defined(),\n }).nullable().optional(),\n switch_options: yupArray(customerProductSwitchOptionSchema).optional(),\n}).defined();\n\nexport type CustomerProductRead = yup.InferType<typeof customerProductReadSchema>;\n\nexport const customerProductsListResponseSchema = yupObject({\n items: yupArray(customerProductReadSchema).defined(),\n is_paginated: yupBoolean().oneOf([true]).defined(),\n pagination: yupObject({\n next_cursor: yupString().nullable().defined(),\n }).defined(),\n}).defined();\n\nexport type CustomerProductsListResponse = yup.InferType<typeof customerProductsListResponseSchema>;\n\nexport type ListCustomerProductsOptions = {\n customer_type: \"user\" | \"team\" | \"custom\",\n customer_id: string,\n cursor?: string,\n limit?: number,\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"products.js","names":[],"sources":["../../../../src/interface/crud/products.ts"],"sourcesContent":["import type * as yup from \"yup\";\nimport { inlineProductSchema, yupArray, yupBoolean, yupNumber, yupObject, yupString } from \"../../schema-fields\";\n\nconst customerProductSwitchOptionSchema = yupObject({\n product_id: yupString().defined(),\n product: inlineProductSchema.defined(),\n}).defined();\n\nexport const customerProductReadSchema = yupObject({\n id: yupString().nullable().defined(),\n quantity: yupNumber().defined(),\n product: inlineProductSchema.defined(),\n /** @deprecated Product ownership is independent of purchase type. Will be removed in a future version. */\n type: yupString().oneOf([\"one_time\", \"subscription\"]).optional(),\n /** @deprecated Subscription management will move to a dedicated endpoint. Will be removed in a future version. */\n subscription: yupObject({\n subscription_id: yupString().nullable().defined(),\n current_period_end: yupString().nullable().defined(),\n cancel_at_period_end: yupBoolean().defined(),\n is_cancelable: yupBoolean().defined(),\n }).nullable().optional(),\n switch_options: yupArray(customerProductSwitchOptionSchema).optional(),\n}).defined();\n\nexport type CustomerProductRead = yup.InferType<typeof customerProductReadSchema>;\n\nexport const customerProductsListResponseSchema = yupObject({\n items: yupArray(customerProductReadSchema).defined(),\n is_paginated: yupBoolean().oneOf([true]).defined(),\n pagination: yupObject({\n next_cursor: yupString().nullable().defined(),\n }).defined(),\n}).defined();\n\nexport type CustomerProductsListResponse = yup.InferType<typeof customerProductsListResponseSchema>;\n\nexport type ListCustomerProductsOptions = {\n customer_type: \"user\" | \"team\" | \"custom\",\n customer_id: string,\n cursor?: string,\n limit?: number,\n};\n"],"mappings":";;AAGA,MAAM,oCAAoC,UAAU;CAClD,YAAY,UAAU,CAAC,CAAC,QAAQ;CAChC,SAAS,oBAAoB,QAAQ;AACvC,CAAC,CAAC,CAAC,QAAQ;AAEX,MAAa,4BAA4B,UAAU;CACjD,IAAI,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ;CACnC,UAAU,UAAU,CAAC,CAAC,QAAQ;CAC9B,SAAS,oBAAoB,QAAQ;;CAErC,MAAM,UAAU,CAAC,CAAC,MAAM,CAAC,YAAY,cAAc,CAAC,CAAC,CAAC,SAAS;;CAE/D,cAAc,UAAU;EACtB,iBAAiB,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ;EAChD,oBAAoB,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ;EACnD,sBAAsB,WAAW,CAAC,CAAC,QAAQ;EAC3C,eAAe,WAAW,CAAC,CAAC,QAAQ;CACtC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvB,gBAAgB,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACvE,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,9 +1,8 @@
|
|
|
1
1
|
import * as yup$1 from "yup";
|
|
2
|
-
import
|
|
3
|
-
import { CrudTypeOf } from "../../crud";
|
|
2
|
+
import { CrudTypeOf } from "../../crud.js";
|
|
4
3
|
|
|
5
4
|
//#region src/interface/crud/project-api-keys.d.ts
|
|
6
|
-
declare const userApiKeysCrud:
|
|
5
|
+
declare const userApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
7
6
|
clientReadSchema: yup$1.ObjectSchema<{
|
|
8
7
|
id: string;
|
|
9
8
|
description: string;
|
|
@@ -101,7 +100,7 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
101
100
|
user_id: undefined;
|
|
102
101
|
}, "">;
|
|
103
102
|
type UserApiKeysCrud = CrudTypeOf<typeof userApiKeysCrud>;
|
|
104
|
-
declare const teamApiKeysCrud:
|
|
103
|
+
declare const teamApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
105
104
|
clientReadSchema: yup$1.ObjectSchema<{
|
|
106
105
|
id: string;
|
|
107
106
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-api-keys.d.ts","names":[],"sources":["../../../../src/interface/crud/project-api-keys.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"project-api-keys.d.ts","names":[],"sources":["../../../../src/interface/crud/project-api-keys.ts"],"mappings":";;;;cAwFQ,eAAA,uBAAe,qBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAC0B,KAAA,CAAA,YAAA;;;;;;;;;;yCACE,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;KAEvC,eAAA,GAAkB,UAAU,QAAQ,eAAA;AAAA,cAGxC,eAAA,uBAAe,qBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAC0B,KAAA,CAAA,YAAA;;;;;;;;;;yCACE,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;KAEvC,eAAA,GAAkB,UAAU,QAAQ,eAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { createCrud } from "../../crud.js";
|
|
2
2
|
import { userIdOrMeSchema, yupBoolean, yupNumber, yupObject, yupString } from "../../schema-fields.js";
|
|
3
3
|
import { typedFromEntries } from "../../utils/objects.js";
|
|
4
|
-
|
|
5
4
|
//#region src/interface/crud/project-api-keys.ts
|
|
6
5
|
function createApiKeyCrud(type, idFieldName, idSchema) {
|
|
7
6
|
const projectApiKeysReadSchema = yupObject({
|
|
@@ -66,7 +65,7 @@ function createApiKeyCrud(type, idFieldName, idSchema) {
|
|
|
66
65
|
}
|
|
67
66
|
const { crud: userApiKeysCrud, createInputSchema: userApiKeysCreateInputSchema, createOutputSchema: userApiKeysCreateOutputSchema } = createApiKeyCrud("user", "user_id", userIdOrMeSchema.defined());
|
|
68
67
|
const { crud: teamApiKeysCrud, createInputSchema: teamApiKeysCreateInputSchema, createOutputSchema: teamApiKeysCreateOutputSchema } = createApiKeyCrud("team", "team_id", yupString().defined());
|
|
69
|
-
|
|
70
68
|
//#endregion
|
|
71
69
|
export { teamApiKeysCreateInputSchema, teamApiKeysCreateOutputSchema, teamApiKeysCrud, userApiKeysCreateInputSchema, userApiKeysCreateOutputSchema, userApiKeysCrud };
|
|
70
|
+
|
|
72
71
|
//# sourceMappingURL=project-api-keys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-api-keys.js","names":[],"sources":["../../../../src/interface/crud/project-api-keys.ts"],"sourcesContent":["import * as yup from \"yup\";\nimport { CrudTypeOf, createCrud } from \"../../crud\";\nimport { userIdOrMeSchema, yupBoolean, yupNumber, yupObject, yupString } from \"../../schema-fields\";\nimport { typedFromEntries } from \"../../utils/objects\";\n\nfunction createApiKeyCrud<T extends string, IdFieldName extends string, IdSchema extends yup.Schema<any>>(type: T, idFieldName: IdFieldName, idSchema: IdSchema) {\n const projectApiKeysReadSchema = yupObject({\n id: yupString().defined(),\n description: yupString().defined(),\n expires_at_millis: yupNumber().optional(),\n manually_revoked_at_millis: yupNumber().optional(),\n created_at_millis: yupNumber().defined(),\n is_public: yupBoolean().defined(),\n value: yupObject({\n last_four: yupString().defined(),\n }).defined(),\n type: yupString().oneOf([type]).defined(),\n ...typedFromEntries([[idFieldName, idSchema]]),\n });\n\n const projectApiKeysUpdateSchema = yupObject({\n description: yupString().optional(),\n revoked: yupBoolean().oneOf([true]).optional(),\n }).defined();\n\n const projectApiKeysCrud = createCrud({\n clientReadSchema: projectApiKeysReadSchema,\n clientUpdateSchema: projectApiKeysUpdateSchema,\n docs: {\n clientCreate: {\n description: `Create a new ${type} API key`,\n displayName: `Create ${type} API key`,\n tags: [\"API Keys\"],\n summary: `Create ${type} API key`,\n },\n clientList: {\n description: `List all ${type} API keys for the project with their metadata and status`,\n displayName: `List ${type} API keys`,\n summary: `List ${type} API keys`,\n tags: [\"API Keys\"],\n },\n clientRead: {\n description: `Get details of a specific ${type} API key`,\n displayName: `Get ${type} API key`,\n summary: `Get ${type} API key details`,\n tags: [\"API Keys\"],\n },\n clientUpdate: {\n description: `Update an ${type} API key`,\n displayName: `Update ${type} API key`,\n summary: `Update ${type} API key`,\n tags: [\"API Keys\"],\n },\n serverDelete: {\n description: `Delete an ${type} API key`,\n displayName: `Delete ${type} API key`,\n summary: `Delete ${type} API key`,\n tags: [\"API Keys\"],\n },\n },\n });\n\n // Used for the result of the create endpoint\n const projectApiKeysCreateInputSchema = yupObject({\n description: yupString().defined(),\n expires_at_millis: yupNumber().nullable().defined(),\n is_public: yupBoolean().optional(),\n /*\n prefix: yupString().optional().nonEmpty().test(\"prefix\", \"Prefix must contain only alphanumeric characters and underscores\", (value) => {\n if (!value) return true;\n return /^[a-zA-Z0-9_]+$/.test(value);\n }),\n */\n ...typedFromEntries([[idFieldName, idSchema]]),\n });\n const projectApiKeysCreateOutputSchema = projectApiKeysReadSchema.omit([\"value\"]).concat(yupObject({\n value: yupString().defined(),\n }));\n\n return {\n crud: projectApiKeysCrud,\n createInputSchema: projectApiKeysCreateInputSchema,\n createOutputSchema: projectApiKeysCreateOutputSchema,\n };\n}\n\n\nexport const {\n crud: userApiKeysCrud,\n createInputSchema: userApiKeysCreateInputSchema,\n createOutputSchema: userApiKeysCreateOutputSchema,\n} = createApiKeyCrud(\"user\", \"user_id\", userIdOrMeSchema.defined());\nexport type UserApiKeysCrud = CrudTypeOf<typeof userApiKeysCrud>;\n\nexport const {\n crud: teamApiKeysCrud,\n createInputSchema: teamApiKeysCreateInputSchema,\n createOutputSchema: teamApiKeysCreateOutputSchema,\n} = createApiKeyCrud(\"team\", \"team_id\", yupString().defined());\nexport type TeamApiKeysCrud = CrudTypeOf<typeof teamApiKeysCrud>;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"project-api-keys.js","names":[],"sources":["../../../../src/interface/crud/project-api-keys.ts"],"sourcesContent":["import * as yup from \"yup\";\nimport { CrudTypeOf, createCrud } from \"../../crud\";\nimport { userIdOrMeSchema, yupBoolean, yupNumber, yupObject, yupString } from \"../../schema-fields\";\nimport { typedFromEntries } from \"../../utils/objects\";\n\nfunction createApiKeyCrud<T extends string, IdFieldName extends string, IdSchema extends yup.Schema<any>>(type: T, idFieldName: IdFieldName, idSchema: IdSchema) {\n const projectApiKeysReadSchema = yupObject({\n id: yupString().defined(),\n description: yupString().defined(),\n expires_at_millis: yupNumber().optional(),\n manually_revoked_at_millis: yupNumber().optional(),\n created_at_millis: yupNumber().defined(),\n is_public: yupBoolean().defined(),\n value: yupObject({\n last_four: yupString().defined(),\n }).defined(),\n type: yupString().oneOf([type]).defined(),\n ...typedFromEntries([[idFieldName, idSchema]]),\n });\n\n const projectApiKeysUpdateSchema = yupObject({\n description: yupString().optional(),\n revoked: yupBoolean().oneOf([true]).optional(),\n }).defined();\n\n const projectApiKeysCrud = createCrud({\n clientReadSchema: projectApiKeysReadSchema,\n clientUpdateSchema: projectApiKeysUpdateSchema,\n docs: {\n clientCreate: {\n description: `Create a new ${type} API key`,\n displayName: `Create ${type} API key`,\n tags: [\"API Keys\"],\n summary: `Create ${type} API key`,\n },\n clientList: {\n description: `List all ${type} API keys for the project with their metadata and status`,\n displayName: `List ${type} API keys`,\n summary: `List ${type} API keys`,\n tags: [\"API Keys\"],\n },\n clientRead: {\n description: `Get details of a specific ${type} API key`,\n displayName: `Get ${type} API key`,\n summary: `Get ${type} API key details`,\n tags: [\"API Keys\"],\n },\n clientUpdate: {\n description: `Update an ${type} API key`,\n displayName: `Update ${type} API key`,\n summary: `Update ${type} API key`,\n tags: [\"API Keys\"],\n },\n serverDelete: {\n description: `Delete an ${type} API key`,\n displayName: `Delete ${type} API key`,\n summary: `Delete ${type} API key`,\n tags: [\"API Keys\"],\n },\n },\n });\n\n // Used for the result of the create endpoint\n const projectApiKeysCreateInputSchema = yupObject({\n description: yupString().defined(),\n expires_at_millis: yupNumber().nullable().defined(),\n is_public: yupBoolean().optional(),\n /*\n prefix: yupString().optional().nonEmpty().test(\"prefix\", \"Prefix must contain only alphanumeric characters and underscores\", (value) => {\n if (!value) return true;\n return /^[a-zA-Z0-9_]+$/.test(value);\n }),\n */\n ...typedFromEntries([[idFieldName, idSchema]]),\n });\n const projectApiKeysCreateOutputSchema = projectApiKeysReadSchema.omit([\"value\"]).concat(yupObject({\n value: yupString().defined(),\n }));\n\n return {\n crud: projectApiKeysCrud,\n createInputSchema: projectApiKeysCreateInputSchema,\n createOutputSchema: projectApiKeysCreateOutputSchema,\n };\n}\n\n\nexport const {\n crud: userApiKeysCrud,\n createInputSchema: userApiKeysCreateInputSchema,\n createOutputSchema: userApiKeysCreateOutputSchema,\n} = createApiKeyCrud(\"user\", \"user_id\", userIdOrMeSchema.defined());\nexport type UserApiKeysCrud = CrudTypeOf<typeof userApiKeysCrud>;\n\nexport const {\n crud: teamApiKeysCrud,\n createInputSchema: teamApiKeysCreateInputSchema,\n createOutputSchema: teamApiKeysCreateOutputSchema,\n} = createApiKeyCrud(\"team\", \"team_id\", yupString().defined());\nexport type TeamApiKeysCrud = CrudTypeOf<typeof teamApiKeysCrud>;\n"],"mappings":";;;;AAKA,SAAS,iBAAiG,MAAS,aAA0B,UAAoB;CAC/J,MAAM,2BAA2B,UAAU;EACzC,IAAI,UAAU,CAAC,CAAC,QAAQ;EACxB,aAAa,UAAU,CAAC,CAAC,QAAQ;EACjC,mBAAmB,UAAU,CAAC,CAAC,SAAS;EACxC,4BAA4B,UAAU,CAAC,CAAC,SAAS;EACjD,mBAAmB,UAAU,CAAC,CAAC,QAAQ;EACvC,WAAW,WAAW,CAAC,CAAC,QAAQ;EAChC,OAAO,UAAU,EACf,WAAW,UAAU,CAAC,CAAC,QAAQ,EACjC,CAAC,CAAC,CAAC,QAAQ;EACX,MAAM,UAAU,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ;EACxC,GAAG,iBAAiB,CAAC,CAAC,aAAa,QAAQ,CAAC,CAAC;CAC/C,CAAC;CA6DD,OAAO;EACL,MAvDyB,WAAW;GACpC,kBAAkB;GAClB,oBAPiC,UAAU;IAC3C,aAAa,UAAU,CAAC,CAAC,SAAS;IAClC,SAAS,WAAW,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;GAC/C,CAAC,CAAC,CAAC,QAI4C;GAC7C,MAAM;IACJ,cAAc;KACZ,aAAa,gBAAgB,KAAK;KAClC,aAAa,UAAU,KAAK;KAC5B,MAAM,CAAC,UAAU;KACjB,SAAS,UAAU,KAAK;IAC1B;IACA,YAAY;KACV,aAAa,YAAY,KAAK;KAC9B,aAAa,QAAQ,KAAK;KAC1B,SAAS,QAAQ,KAAK;KACtB,MAAM,CAAC,UAAU;IACnB;IACA,YAAY;KACV,aAAa,6BAA6B,KAAK;KAC/C,aAAa,OAAO,KAAK;KACzB,SAAS,OAAO,KAAK;KACrB,MAAM,CAAC,UAAU;IACnB;IACA,cAAc;KACZ,aAAa,aAAa,KAAK;KAC/B,aAAa,UAAU,KAAK;KAC5B,SAAS,UAAU,KAAK;KACxB,MAAM,CAAC,UAAU;IACnB;IACA,cAAc;KACZ,aAAa,aAAa,KAAK;KAC/B,aAAa,UAAU,KAAK;KAC5B,SAAS,UAAU,KAAK;KACxB,MAAM,CAAC,UAAU;IACnB;GACF;EACF,CAoByB;EACvB,mBAlBsC,UAAU;GAChD,aAAa,UAAU,CAAC,CAAC,QAAQ;GACjC,mBAAmB,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ;GAClD,WAAW,WAAW,CAAC,CAAC,SAAS;GAOjC,GAAG,iBAAiB,CAAC,CAAC,aAAa,QAAQ,CAAC,CAAC;EAC/C,CAOmD;EACjD,oBAPuC,yBAAyB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,UAAU,EACjG,OAAO,UAAU,CAAC,CAAC,QAAQ,EAC7B,CAAC,CAKoD;CACrD;AACF;AAGA,MAAa,EACX,MAAM,iBACN,mBAAmB,8BACnB,oBAAoB,kCAClB,iBAAiB,QAAQ,WAAW,iBAAiB,QAAQ,CAAC;AAGlE,MAAa,EACX,MAAM,iBACN,mBAAmB,8BACnB,oBAAoB,kCAClB,iBAAiB,QAAQ,WAAW,UAAU,CAAC,CAAC,QAAQ,CAAC"}
|
|
@@ -1,27 +1,25 @@
|
|
|
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/project-permissions.d.ts
|
|
6
|
-
declare const projectPermissionsCrudClientReadSchema: yup
|
|
4
|
+
declare const projectPermissionsCrudClientReadSchema: import("yup").ObjectSchema<{
|
|
7
5
|
id: string;
|
|
8
6
|
user_id: string;
|
|
9
|
-
}, yup
|
|
7
|
+
}, import("yup").AnyObject, {
|
|
10
8
|
id: undefined;
|
|
11
9
|
user_id: undefined;
|
|
12
10
|
}, "">;
|
|
13
|
-
declare const projectPermissionsCrudServerCreateSchema: yup
|
|
14
|
-
declare const projectPermissionsCrudServerDeleteSchema: yup
|
|
15
|
-
declare const projectPermissionsCrud:
|
|
16
|
-
clientReadSchema: yup
|
|
11
|
+
declare const projectPermissionsCrudServerCreateSchema: import("yup").ObjectSchema<{}, import("yup").AnyObject, {}, "">;
|
|
12
|
+
declare const projectPermissionsCrudServerDeleteSchema: import("yup").MixedSchema<{} | undefined, import("yup").AnyObject, undefined, "">;
|
|
13
|
+
declare const projectPermissionsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
14
|
+
clientReadSchema: import("yup").ObjectSchema<{
|
|
17
15
|
id: string;
|
|
18
16
|
user_id: string;
|
|
19
|
-
}, yup
|
|
17
|
+
}, import("yup").AnyObject, {
|
|
20
18
|
id: undefined;
|
|
21
19
|
user_id: undefined;
|
|
22
20
|
}, "">;
|
|
23
|
-
serverCreateSchema: yup
|
|
24
|
-
serverDeleteSchema: yup
|
|
21
|
+
serverCreateSchema: import("yup").ObjectSchema<{}, import("yup").AnyObject, {}, "">;
|
|
22
|
+
serverDeleteSchema: import("yup").MixedSchema<{} | undefined, import("yup").AnyObject, undefined, "">;
|
|
25
23
|
docs: {
|
|
26
24
|
clientList: {
|
|
27
25
|
summary: string;
|
|
@@ -48,10 +46,10 @@ declare const projectPermissionsCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
48
46
|
type ProjectPermissionsCrud = CrudTypeOf<typeof projectPermissionsCrud>;
|
|
49
47
|
declare const projectPermissionCreatedWebhookEvent: {
|
|
50
48
|
type: string;
|
|
51
|
-
schema: yup
|
|
49
|
+
schema: import("yup").ObjectSchema<{
|
|
52
50
|
id: string;
|
|
53
51
|
user_id: string;
|
|
54
|
-
}, yup
|
|
52
|
+
}, import("yup").AnyObject, {
|
|
55
53
|
id: undefined;
|
|
56
54
|
user_id: undefined;
|
|
57
55
|
}, "">;
|
|
@@ -63,10 +61,10 @@ declare const projectPermissionCreatedWebhookEvent: {
|
|
|
63
61
|
};
|
|
64
62
|
declare const projectPermissionDeletedWebhookEvent: {
|
|
65
63
|
type: string;
|
|
66
|
-
schema: yup
|
|
64
|
+
schema: import("yup").ObjectSchema<{
|
|
67
65
|
id: string;
|
|
68
66
|
user_id: string;
|
|
69
|
-
}, yup
|
|
67
|
+
}, import("yup").AnyObject, {
|
|
70
68
|
id: undefined;
|
|
71
69
|
user_id: undefined;
|
|
72
70
|
}, "">;
|
|
@@ -76,63 +74,63 @@ declare const projectPermissionDeletedWebhookEvent: {
|
|
|
76
74
|
tags: string[];
|
|
77
75
|
};
|
|
78
76
|
};
|
|
79
|
-
declare const projectPermissionDefinitionsCrudAdminReadSchema: yup
|
|
77
|
+
declare const projectPermissionDefinitionsCrudAdminReadSchema: import("yup").ObjectSchema<{
|
|
80
78
|
id: string;
|
|
81
79
|
description: string | undefined;
|
|
82
80
|
contained_permission_ids: string[];
|
|
83
|
-
}, yup
|
|
81
|
+
}, import("yup").AnyObject, {
|
|
84
82
|
id: undefined;
|
|
85
83
|
description: undefined;
|
|
86
84
|
contained_permission_ids: undefined;
|
|
87
85
|
}, "">;
|
|
88
|
-
declare const projectPermissionDefinitionsCrudAdminCreateSchema: yup
|
|
86
|
+
declare const projectPermissionDefinitionsCrudAdminCreateSchema: import("yup").ObjectSchema<{
|
|
89
87
|
id: string;
|
|
90
88
|
description: string | undefined;
|
|
91
89
|
contained_permission_ids: string[] | undefined;
|
|
92
|
-
}, yup
|
|
90
|
+
}, import("yup").AnyObject, {
|
|
93
91
|
id: undefined;
|
|
94
92
|
description: undefined;
|
|
95
93
|
contained_permission_ids: undefined;
|
|
96
94
|
}, "">;
|
|
97
|
-
declare const projectPermissionDefinitionsCrudAdminUpdateSchema: yup
|
|
95
|
+
declare const projectPermissionDefinitionsCrudAdminUpdateSchema: import("yup").ObjectSchema<{
|
|
98
96
|
id: string | undefined;
|
|
99
97
|
description: string | undefined;
|
|
100
98
|
contained_permission_ids: string[] | undefined;
|
|
101
|
-
}, yup
|
|
99
|
+
}, import("yup").AnyObject, {
|
|
102
100
|
id: undefined;
|
|
103
101
|
description: undefined;
|
|
104
102
|
contained_permission_ids: undefined;
|
|
105
103
|
}, "">;
|
|
106
|
-
declare const projectPermissionDefinitionsCrudAdminDeleteSchema: yup
|
|
107
|
-
declare const projectPermissionDefinitionsCrud:
|
|
108
|
-
adminReadSchema: yup
|
|
104
|
+
declare const projectPermissionDefinitionsCrudAdminDeleteSchema: import("yup").MixedSchema<{} | undefined, import("yup").AnyObject, undefined, "">;
|
|
105
|
+
declare const projectPermissionDefinitionsCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
106
|
+
adminReadSchema: import("yup").ObjectSchema<{
|
|
109
107
|
id: string;
|
|
110
108
|
description: string | undefined;
|
|
111
109
|
contained_permission_ids: string[];
|
|
112
|
-
}, yup
|
|
110
|
+
}, import("yup").AnyObject, {
|
|
113
111
|
id: undefined;
|
|
114
112
|
description: undefined;
|
|
115
113
|
contained_permission_ids: undefined;
|
|
116
114
|
}, "">;
|
|
117
|
-
adminCreateSchema: yup
|
|
115
|
+
adminCreateSchema: import("yup").ObjectSchema<{
|
|
118
116
|
id: string;
|
|
119
117
|
description: string | undefined;
|
|
120
118
|
contained_permission_ids: string[] | undefined;
|
|
121
|
-
}, yup
|
|
119
|
+
}, import("yup").AnyObject, {
|
|
122
120
|
id: undefined;
|
|
123
121
|
description: undefined;
|
|
124
122
|
contained_permission_ids: undefined;
|
|
125
123
|
}, "">;
|
|
126
|
-
adminUpdateSchema: yup
|
|
124
|
+
adminUpdateSchema: import("yup").ObjectSchema<{
|
|
127
125
|
id: string | undefined;
|
|
128
126
|
description: string | undefined;
|
|
129
127
|
contained_permission_ids: string[] | undefined;
|
|
130
|
-
}, yup
|
|
128
|
+
}, import("yup").AnyObject, {
|
|
131
129
|
id: undefined;
|
|
132
130
|
description: undefined;
|
|
133
131
|
contained_permission_ids: undefined;
|
|
134
132
|
}, "">;
|
|
135
|
-
adminDeleteSchema: yup
|
|
133
|
+
adminDeleteSchema: import("yup").MixedSchema<{} | undefined, import("yup").AnyObject, undefined, "">;
|
|
136
134
|
docs: {
|
|
137
135
|
adminList: {
|
|
138
136
|
summary: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-permissions.d.ts","names":[],"sources":["../../../../src/interface/crud/project-permissions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"project-permissions.d.ts","names":[],"sources":["../../../../src/interface/crud/project-permissions.ts"],"mappings":";;;cAOa,sCAAA,gBAAsC,YAAA;;;;;;;cAKtC,wCAAA,gBAAwC,YAAA,mBAAA,SAAA;AAAA,cAGxC,wCAAA,gBAAwC,WAAA,+BAAA,SAAA;AAAA,cAExC,sBAAA,uBAAsB,qBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2BvB,sBAAA,GAAyB,UAAU,QAAQ,sBAAA;AAAA,cAE1C,oCAAA;;;;;;;;;;;;;;;cAUA,oCAAA;;;;;;;;;;;;;;;cAYA,+CAAA,gBAA+C,YAAA;;;;;;;;;cAM/C,iDAAA,gBAAiD,YAAA;;;;;;;;;cAMjD,iDAAA,gBAAiD,YAAA;;;;;;;;;cAMjD,iDAAA,gBAAiD,WAAA,+BAAA,SAAA;AAAA,cAEjD,gCAAA,uBAAgC,qBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA6BjC,gCAAA,GAAmC,UAAU,QAAQ,gCAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { createCrud } from "../../crud.js";
|
|
2
2
|
import * as schemaFields from "../../schema-fields.js";
|
|
3
3
|
import { yupMixed, yupObject } from "../../schema-fields.js";
|
|
4
|
-
|
|
5
4
|
//#region src/interface/crud/project-permissions.ts
|
|
6
5
|
const projectPermissionsCrudClientReadSchema = yupObject({
|
|
7
6
|
id: schemaFields.permissionDefinitionIdSchema.defined(),
|
|
@@ -98,7 +97,7 @@ const projectPermissionDefinitionsCrud = createCrud({
|
|
|
98
97
|
}
|
|
99
98
|
}
|
|
100
99
|
});
|
|
101
|
-
|
|
102
100
|
//#endregion
|
|
103
101
|
export { projectPermissionCreatedWebhookEvent, projectPermissionDefinitionsCrud, projectPermissionDefinitionsCrudAdminCreateSchema, projectPermissionDefinitionsCrudAdminDeleteSchema, projectPermissionDefinitionsCrudAdminReadSchema, projectPermissionDefinitionsCrudAdminUpdateSchema, projectPermissionDeletedWebhookEvent, projectPermissionsCrud, projectPermissionsCrudClientReadSchema, projectPermissionsCrudServerCreateSchema, projectPermissionsCrudServerDeleteSchema };
|
|
102
|
+
|
|
104
103
|
//# sourceMappingURL=project-permissions.js.map
|